Google is down. That feels like the Internet is off. That is what was missing to make the year 2020 feel complete.
Category: Internet & Culture
Category: Internet & Cloud. This brand new thing: Internet & Cloud. Even though the technology is around for way more than 30 years, it is a never drying source of news and discoveries. The new channel of communication created a entirely new culture and created new businesses, fueling innovation and creativity.
All those things that clearly relate to something ‘new media’, items and thoughts that would not have been possible without the internet, will go here.
-
Pandemic Potato
A new firmware, Pandemic Potato, for the card10 wristwatch was released. The device was released at the CCCamp19. New features include:
- Improved Bluetooth compatibility (also for iPhones)
- New battery saving default watch face (by @royrobotiks)
- Automatic time synchronization with iPhones
More detail in the twitter-thread.
-
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.
-
EuGH: anlasslose Vorratsdatenspeicherung unzulässig
Breaking: EuGH erklärt anlasslose Vorratsdatenspeicherung für unzulässig:
-
Wet Paint, looped
Irgendwas ist ja immer. Man macht ja nur seine Arbeit. Immer wieder. Natürlich immer Montags.
-
Communication in Software Projects. gif’d.
Everybody in software development knows the feeling. In every position involved, right? Source:
-
Internet Powertoy
Internet of the day. Enjoy the rest of your day. You are welcome.
-
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.
-
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)
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()
-
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.