Categories
Business & MBA Internet & Culture

Von Cobol nach Java

Facebook arbeitet an einer KI, die automatisch Code von einer Programmiersprache in eine andere übersetzen kann. Das Feld ist nicht gänzlich neu, es gab schon Versuche, KI zu verwenden um beispielsweise statische Analyse und damit Code-Qualität zu verbessern. Wenn eine Maschine zwischen Code übersetzen kann, werden eine ganze Reihe von Banken jubeln, endlich nicht mehr auf unersetzbare, uralte Cobol Programmierer angewiesen zu sein, die auch noch unfassbare Stundensätze aufrufen.

Es ist eine Gelegenheit, schwierigere Probleme anzugehen.

Categories
Internet & Culture Security & Privacy

EuGH: anlasslose Vorratsdatenspeicherung unzulässig

Breaking: EuGH erklärt anlasslose Vorratsdatenspeicherung für unzulässig:

Categories
Internet & Culture

Wet Paint, looped

Irgendwas ist ja immer. Man macht ja nur seine Arbeit. Immer wieder. Natürlich immer Montags.

Categories
Internet & Culture

Communication in Software Projects. gif’d.

Everybody in software development knows the feeling. In every position involved, right? Source:

Categories
Internet & Culture

Internet Powertoy

pointer pointer

Internet of the day. Enjoy the rest of your day. You are welcome.

https://pointerpointer.com

Categories
Internet & Culture

168 AWS Services in 2 Minutes

Forrest Brazeal took a deep breath and sang 168 AWS Services. In two minutes. I’m not sure what’s more impressive. Mentioning all those in a song or the fact AWS offers so many (and more) distinct services.

Categories
Internet & Culture

usermanagement with django allauth.

usermanagement with django allauth: It is common for bots to register with a website. Often enough there are users instances in the user base that have registered at some point but did not verify their email-address.

Fortunately enough, for users of django and the excellent django-allauth, there are easy ways to manage these users.

First, the django ORM comes with an easy way to identify these users that did not verify their primary email:

>>> from django.contrib.auth.models import User
>>> unverified_users = User.objects.filter(emailaddress__verified=False, emailaddress__primary=True)
Bot User Management with django allauth
Mobile Phone User – Munich

The ORM allows simple filtering for unverified email addresses through a “relationship lookup”, that is emailaddress__verified=False in the above snippet. Of course, you may want to limit users for which the primary email address is unverified. That is the 2nd keyword argument to .filter() here: emailaddress__primary=True. The filter operator ANDs together these two conditions.

To identify users that not only have unverified, primary email addresses, but also appear to be idle, you may limit users that didn’t login through .exclude():

>> import datetime
>> old_unverified_users = unverified_users.exclude(last_login__gt=datetime.date(2020, 1, 1))

Will only give you users that have logged in after Jan 1st, 2020. Of course, the argument to last_login can be modified to match your requirements.

Finally, you may chose to either email these users and re-ask to verify their email. That would be a separate task, though. In our case, we simply delete these, since they are obviously not interessted in using our site:

old_unverified_users.delete() 

Categories
Internet & Culture

DNS Flood Root Servers

Chrome is to blame for about 50% of all DNS requests to root servers. The requests originate from Chrome’s mechanism to detect environments with catch-all DNS resolvers.

Categories
Internet & Culture

Cloud down.

Forbes, and many other, report that GMail had an outage. Now I hear vast parts, in particular the security and privacy fraction, of the social bubble start crying “the cloud ain’t a solution”. Self-Hosting has sure benefits over managed offerings. This attitude ignores the fact that managed hosting, and multi-tenant (cloud-) applications in particular have one huge benefit over single instance solutions. This foremost means economies of scale. Any moderately successful cloud solution can serve plenty of users, and at a large scale, set a much higher standard for operations and security than the self-hosted application could have.

So while Google was off, it’s still much better available than most hobbyist projects.

My POV.

Categories
Internet & Culture

Internet in Bayern

Real Life Glitch

Der Spot eines Niederländischen Internet-Providers zeigt, wie sich das Internet in weiten Teilen* Deutschlands anfühlt. Und spätestens seit Homeoffice populär geworden ist kann die Mehrheit der Bevölkerung wahrscheinlich mitfühlen.

* hier, z.B., Großraum München, sind nach wie vor nur 16Mbit/s verfügbar. Sämtliche dazu von mir befragten Lokalpolitiker vertraten bei der letzte Kommunalwahl den Standpunkt, das wäre mehr als der Landesdurchschnitt. Und damit ausreichend.