Do It by Code
54 subscribers
710 photos
99 videos
14 files
1.24K links
We uhhhhh... do things by coding them.
Download Telegram
Forwarded from Worren
noobs
Forwarded from Worren
tldr: python org related dev used his gh token for higher ratelimits in some test script, then removed it and pushed the container image, but the token got saved in the cached bytecode
Hyrum's Law
An observation on Software Engineering

Put succinctly, the observation is this::
With a sufficient number of users of an API,
it does not matter what you promise in the contract:
all observable behaviors of your system
will be depended on by somebody.
God object
https://en.wikipedia.org/wiki/God_object

In object-oriented programming, a god object (sometimes also called an omniscient or all-knowing object) is an object that references a large number of distinct types, has too many unrelated or uncategorized methods, or some combination of both. The god object is an example of an anti-pattern and a code smell.
https://developer.mozilla.org/en-US/docs/Web/API/EventSource

Event sources are like websockets but they are only open from one side (the server). You usually use them to implement like a small version of a webhook where u don't want a bidirectional communication all the time. This can really help with your server costs since it uses less resources.

#frontend #backend
From NodeJS

We're encouraging all users to temporarily downgrade to Node.js v22.4.1 due to a bug in v22.5.0.
Forwarded from vx-underground
Today CrowdStrike pushed out a botched update.

It has resulted in outages in Banks, Airlines, Emergency hotlines, ???

It's 6am on a Friday and CrowdStrike cooked the internet
Forwarded from vx-underground
As we continue to do our daily news check up, we can confirm that CrowdStrike has performed a colossal oopsie and has done catastrophic damage.

We have never witnessed an oopsie of this magnitude