Skip to main content

Suche

BeitrΓ€ge die mit Python getaggt sind


 

Don't kill your sorceror neighbour's pet snake. Just don't.


I'm not going to shout "witchcraft!!!111one" because, sometimes, unfortunate coincidences do happen.

Worth noting that a 2 meter snake cannot be venomous. It must have been a constrictor. #python #weird #weird-news #snake #witchcraft #tragedy #Kenya

 

Introduction


Hi all! I'm #newhere on social.isurf.ca to give Friendi.ca a whirl as a potential destination for this Google+ refugee. I actually registered a few days ago, at about the same time as I joined Diaspora ( @Murray J Brown ), where many other refugees have gone. I've been drawn back upon favourable comments made by @Shelenn Ayres.

First Impressions:
I like the broad interoperability Friendi.ca has with both the Federation (e.g., Diaspora) and the Fediverse (e.g., Mastodon, where I also have accounts: @mjb ).

The look & feel of the Friendi.ca user interface is somewhat more familiar and intuitive (to me, anyways) than Diaspora, with many features the other lacks, a... mehr anzeigen

 
Full list of #FOSDEM devrooms published. Happy that #Decentralized #internet and #Python devrooms got accepted. Probably spending most of my time around those, in addition to any possible #Feneas activities. About 3,5 months to go 👍

* .NET and TypeScript
* Ada
* BSD
* Blockchain and Crypto Currencies
* CAD and Open Hardware
* Collaborative Information and Content Management Applications
* Community devroom
* Containers
* DNS
* Decentralized Internet and Privacy
* Distributions
* Free Java
* Free Software Radio
* Free Tools and Editors
* Geospatial
* Go
* Graph Pr... mehr anzeigen

 
There are many things of my #Python #federation that I would change if I had the time. But there are also things I like. Like the #protocol agnostic high level incoming and outgoing functions to allow apps to not care who they are sending to. And the entity mappers which basically are responsible of taking in a protocol payload and returning a list of entities. In this case the entities are the library entities, ready to be consumed by the app, irregardless of the protocol they came in with.

While building #ActivityPub support for the mappers I'm basically just copying the #Diaspora mapper tests, marking everything with @skip and then adjusting the the input parameters and mapper code one test at a time to make them pass while keeping the same assertions. This ensures the same end result of the mappers, irregardless whether the protocol payload was activitypub or diasopra.

#devlife

 

A Python Library to extract tabular data from PDFs

A lot of open data is stored in PDFs, which wasn't designed for tabular data. We're open-sourcing our library to easily extract data tables trapped in PDFs.
Article word count: 1207

HN Discussion: https://news.ycombinator.com/item?id=18199708
Posted by leenasoni99 (karma: 47)
Post stats: Points: 119 - Comments: 17 - 2018-10-12T06:39:11Z

\#HackerNews #data #extract #from #library #... mehr anzeigen

 

Asterisks in Python

HN Discussion: https://news.ycombinator.com/item?id=18196561
Posted by ingve (karma: 88740)
Post stats: Points: 146 - Comments: 69 - 2018-10-11T19:57:17Z

\#HackerNews #asterisks #python
Article content:

There are a lot of places you’ll see * and ** used in Python. These two operators can be a bit mysterious at times, both for brand new programmers and for folks moving from many other programming languages which may not have completely equivalent operators. I’d like to discuss what those operators are and the many ways they’re used.

The * and... mehr anzeigen

 
Hey everyone, I’m #newhere. I’m interested in #android, #climatechange, #debian, #doctorwho, #dragon, #linux, #opensource, #opensuse, #programming, #python, #raspberrypi, #science, #siduction, and #tesla.

Well, this has perked my interest. Let's see where it goes. There seems to be a few alternatives to G-Plus, but pluspora seems to be the most active.

 
Hey everyone, I’m #newhere. I’m interested in #android, #climatechange, #debian, #doctorwho, #dragon, #linux, #opensource, #opensuse, #programming, #python, #raspberrypi, #science, #siduction, and #tesla.

Well, this has perked my interest. Let's see where it goes. There seems to be a few alternatives to G-Plus, but pluspora seems to be the most active.

 
Hey everyone, I’m #newhere. I’m interested in #android, #climatechange, #debian, #doctorwho, #dragon, #linux, #opensource, #opensuse, #programming, #python, #raspberrypi, #science, #siduction, and #tesla.

Well, this has perked my interest. Let's see where it goes. There seems to be a few alternatives to G-Plus, but pluspora seems to be the most active.

 
Hey everyone, I’m #newhere. I’m interested in #android, #climatechange, #debian, #doctorwho, #dragon, #linux, #opensource, #opensuse, #programming, #python, #raspberrypi, #science, #siduction, and #tesla.

Well, this has perked my interest. Let's see where it goes. There seems to be a few alternatives to G-Plus, but pluspora seems to be the most active.

 
Hey everyone, I’m #newhere. I’m interested in #babylon5, #linux, #lovecraft, #minisix, #python, and #ttrpg. I'm another refugee from Google+ looking for the right alternative.

 

Python is becoming the world’s most popular programming language

But its rivals are unlikely to disappear
Article word count: 391

HN Discussion: https://news.ycombinator.com/item?id=18182003
Posted by miohtama (karma: 381)
Post stats: Points: 107 - Comments: 130 - 2018-10-10T04:41:55Z

\#HackerNews #becoming #language #most #popular #... mehr anzeigen

 
Hallo Diaspora,

wie vermutlich momentan hunderte andere #googleplus User bin ich #neuhier und auf der Suche nach einem für mehr als nur ein paar Jahre lebendigen Sozialen Netzwerk.

Zum Einsortieren: #gplusrefugees, #bauingenieurwesen, #engineering, #cad, #fotografie, #photography, #googleplus, #hochschulebochum, #python.

Bisher: https://plus.google.com/u/0/+MartinVogel
Auch noch: https://twitter.com/wirklichewelt

 
Hey everyone, I’m #newhere. I’m interested in #movies, #programming, #python, and #react.

Do posts get replicated to other nodes or is all content going to stay on diasp.org only?
Thanks and nice to meet you all!

 
Округление чисел в #Python

 

The Python Unicode Mess

Unicode has solved a lot of problems. Anyone that remembers the mess of ISO-8859-* vs. CP437 (and of course it’s even worse for non-Western languages) can attest to that. And of course, these…
Article word count: 472

HN Discussion: https://news.ycombinator.com/item?id=18154667
Posted by psibi (karma: 3344)
Post stats: Points: 67 - Comments: 49 - 2018-10-06T11:54:24Z

\#HackerNews #mess #python #the #unicode
Art... mehr anzeigen

 

How to build your own neural network from scratch in Python

A beginner’s guide to understanding the inner workings of Deep Learning
Article word count: 985

HN Discussion: https://news.ycombinator.com/item?id=18145622
Posted by vikingo9 (karma: 137)
Post stats: Points: 151 - Comments: 21 - 2018-10-05T03:53:07Z

\#HackerNews #build #from #how #network #... mehr anzeigen

 

Physical constants in Python

You can find a large collection of physical constants inscipy.constants. The most frequently used constants are available
directly, and hundreds more are in a dictionary physical_constants.

The fine structure
constant

α is defined as a function of other physical constants:

Bild/Foto{.aligncenter
width="100"}

The following code shows that the fine structure constant and the other
constants that go into it are available in scipy.constants.
import scipy.constants as sc 

    a = sc.elementary_charge**2 
    b = 4 * sc.pi * sc.epsilon_0 * sc.hbar * sc.c 
    assert( abs(a/b - sc.fine_struct
... mehr anzeigen

 
Die Library zum Bereinigen von HTML-Inhalten beseitigt zudem im aktuellen Release einige Probleme im Umgang mit HTML-Tags. #HTML #Mozilla #Parser #Python

 
Consistent #Python code with #Black · Matt Layman

Code is read far more than it is written. By using a consistent style, the readability of a project can improve dramatically. This post focuses on Black, a code formatter, how it can improve your project's code style, and how you or your team can use it.

https://www.mattlayman.com/blog/2018/python-code-black/
Bild/Foto

 
Die Interaktion der Programmiersprache mit Linux ist Thema des 2-tägigen Seminars am 22. und 23. November in Nürnberg. #Linux #Python

 

Molten: A modern Python (3.6+) web framework

Release v0.5.2. (Installation, Changelog, Discuss, Source Code)
Article word count: 501

HN Discussion: https://news.ycombinator.com/item?id=18107818
Posted by dternyak (karma: 69)
Post stats: Points: 137 - Comments: 38 - 2018-09-30T19:17:49Z

\#HackerNews #framework #modern #molten #python #web
Article content:
... mehr anzeigen

 

Django-ForRunners


Man kann nun auch #DjangoForRunners unter Windows installieren und benutzten... Ich hab dazu eine Batch Datei fertig gemacht.

Kurzfassung für Windows:

* Download + Ausführen von: https://raw.githubusercontent.com/jedie/django-for-runners/master/boot_django_for_runners.cmd
* Starten/Doppel-Klick auf: "C:\Program Files\Django-ForRunners\Scripts\for_runners.exe"
* Benutzername/Passwort angeben

Kurzfassung für Linux:

* Download + Ausführen von: https://raw.githubusercontent.com/jedie/django-for-runners/master/boot_django_for_runners.sh
* Starten/Doppel-Klick auf: "~/DjangoForRunnersEnv/bin/for_runners"
* Benutzername/Passwort angeben

(Das sollte auch für MacOS funkti... mehr anzeigen

 
#python #script #plumbum

 
According to the Tiobe Index for September 2018, Java, C, and Python are the most popular programming languages in the world. C++ has just lost its third-place spot in the rankings to Python. Tiobe noted that this is the first time in history that Python has entered the top three programming languages in the Tiobe rankings. Python is becoming increasingly ubiquitous, having conquered universities
... mehr anzeigen

 
Ich habe einen #MastodonBot in #Python gebaut, der euch jeden Tag fünf Ereignisse aus der #Geschichte vorstellt, die sich am gleichen Datum ereignet haben: https://chaos.social/@Wikibot

Mehr Infos und Links zum source code auf dem Profil.

Vielen Dank an @bexxi für die tolle Idee!

 
Know #python & #databases?

Apply to this sweet job with ImpactStory, a very cool nonprofit that works on open scholcomm.

The job is the lead dev on Unpaywall, the index of all the free-to-read scholarly papers in the world.

#Job ad:

 
♲ Blort@social.tchncs.de:
Love #FOSS and #privacy, but are still using #GoogleTranslate?

Give an open equivalent, #OpenNMT (Open Neural Machine Translate) a try! There's a live #translation page (similar to Google Translate) at:
https://demo-pnmt.systran.net/production#/translation

...or contribute at https://github.com/OpenNMT/OpenNMT (comes in #Lua, #Python and #TensorFlow variants)
[l]

 
Love #FOSS and #privacy, but are still using #GoogleTranslate?

Give an open equivalent, #OpenNMT (Open Neural Machine Translate) a try! There's a live #translation page (similar to Google Translate) at:
https://demo-pnmt.systran.net/production#/translation

...or contribute at https://github.com/OpenNMT/OpenNMT (comes in #Lua, #Python and #TensorFlow variants)

 
Love #FOSS and #privacy, but are still using #GoogleTranslate?

Give an open equivalent, #OpenNMT (Open Neural Machine Translate) a try! There's a live #translation page (similar to Google Translate) at:
https://demo-pnmt.systran.net/production#/translation

...or contribute at https://github.com/OpenNMT/OpenNMT (comes in #Lua, #Python and #TensorFlow variants)

 
Nuitka is a Python compiler I never heard of. It just achieved 3.7 compatibility. Cool!

> Right now Nuitka is a good replacement for the Python interpreter and compiles every construct that all relevant CPython version, and even irrelevant ones, like 2.6 and 3.2 offer. It translates the Python into a C program that then is linked against libpython to execute in the same way as CPython does, in a very compatible way.

> It is somewhat faster than CPython already, but currently it doesn't make all the optimizations possible, but a 258% factor on pystone is a good start (number is from version 0.3.11).

#python #programming #compiler #softwareengineering

 
Nuitka is a Python compiler I never heard of. It just achieved 3.7 compatibility. Cool!

> Right now Nuitka is a good replacement for the Python interpreter and compiles every construct that all relevant CPython version, and even irrelevant ones, like 2.6 and 3.2 offer. It translates the Python into a C program that then is linked against libpython to execute in the same way as CPython does, in a very compatible way.

> It is somewhat faster than CPython already, but currently it doesn't make all the optimizations possible, but a 258% factor on pystone is a good start (number is from version 0.3.11).

#python #programming #compiler #softwareengineering

 
Learn Python programming the easy way with EduBlocks - EduBlocks brings a Scratch-like GUI to writing Python 3 code #python