Jason Friedrich

Thoughts, Links & Moods

I never thought I would be getting used to Visual Studio Code after I used Sublime Text 3, a native macOS application with Python backend. But here I am. It performs better than Atom, is soon to be compatible with the Apple Silicon and has a lot of powerful plugins. Don't want to live without GitHub Codespaces or without developing in Remote Containers anymore.

#misc #editors

I guess I have to finally learn how to properly use npm, if I really want to invest in writing my own (micro-)blogging software. The django-tailwind package seems to use it to manage the css framework. So far I was able to avoid any of that software that surrounds the dumpster fire that is NodeJS. Fuck me.

#development #npm

Just tried to search for some Django modules in pip and got a very nasty surprise.

ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 224, in _main
    status = self.run(options, args)
  File "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/search.py", line 62, in run
    pypi_hits = self.search(query, options)
  File "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/search.py", line 82, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "/usr/local/lib/python3.8/xmlrpc/client.py", line 1109, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python3.8/xmlrpc/client.py", line 1450, in __request
    response = self.__transport.request(
  File "/usr/local/lib/python3.8/site-packages/pip/_internal/network/xmlrpc.py", line 46, in request
    return self.parse_response(response.raw)
  File "/usr/local/lib/python3.8/xmlrpc/client.py", line 1341, in parse_response
    return u.close()
  File "/usr/local/lib/python3.8/xmlrpc/client.py", line 655, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: "RuntimeError: PyPI's XMLRPC API has been temporarily disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.">

Python's status site has more nasty details:

Update — Dec 15, 20:59 UTC The XMLRPC Search endpoint is still disabled due to ongoing request volume. As of this update, there has been no reduction in inbound traffic to the endpoint from abusive IPs and we are unable to re-enable the endpoint, as it would immediately cause PyPI service to degrade again. We are working with the abuse contact at the owner of the IPs and trying to make contact with the maintainers of whatever tool is flooding us via other channels. Monitoring — Dec 14, 17:46 UTC With the temporary disabling of XMLRPC we are hoping that the mass consumer that is causing us trouble will make contact. Due to the huge swath of IPs we were unable to make a more targeted block without risking more severe disruption, and were not able to receive a response from their abuse contact or direct outreach in an actionable time frame. Update — Dec 14, 17:30 UTC Due to the overwhelming surges of inbound XMLRPC search requests (and growing) we will be temporarily disabling the XMLRPC search endpoint until further notice. Identified — Dec 14, 15:09 UTC We've identified that the issue is with excess volume to our XLMRPC search endpoint that powers pip search among other tools. We are working to try to identify patterns and prohibit abusive clients to retain service health. Investigating — Dec 14, 09:41 UTC PyPI's search backends are experiencing an outage causing the backends to timeout and fail, leading to degradation of service for the web app. Uploads and installs are currently unaffected but logged in actions and search via the web app and API access via XMLRPC are currently experiencing partial outages.

Damn, had to happen one day I guess. Single point of failure, infrastructure provided by volunteers and goodwill. Hope they can resolve this soon.

#python #development

After Bandcamps hey.com app update was not approved in the Apple App Store, Kosta Eleftheriou shared his story on how ridiculous and arbitrary Apple's guidelines are.

Nilay Patel already summed up his thoughts on the Apple App Store back in December.

Ich habe ja schon immer mal darüber nachgedacht mich selbstständig zu machen. Für alle die auch darüber nachdenken, ein Erfahrungsbericht von Aaron Siller bei Golem.

“A Cloud Guru” on how they optimized their multi-million 💵 cloud bill

Everyone and their dog are now offering ARM system in their portfolio. Amazon now, too. I think these are only really useful with certain workload types like AI, ML, these sort of things. Wondering how much demand there really is for these kind of systems, and if they make a profit for Amazon 🤔.

A great guide by Catalina Turlea on how to achieve a clean GIT history. How to avoid pitfalls, gotchas and bad habits right from the start. Especially useful for people (noobs) like me, who do not have a development background.

Owen Williams explains why Fortnite is more than a game for many people, it’s a place where not only gaming, but a whole lot of social interaction takes place.

Dan Abramov on why clean code can be overrated and why one should avoid becoming a 'clean code zealot'.

Enter your email to subscribe to updates.