Software engineering

Germany
Joined June 2009
Insidious JSON/YAML bug: - python_versions: [3.7, 3.8, 3.9, 3.10] … results in "Not found: python3.1" 🤦 Correct: - python_versions: ["3.7", "3.8", "3.9", "3.10"]
1
2
On Error Resume Next in JavaScript, 2/2: Unhanded promise rejections will only print out a scary warning with some node versions. Exit code of the process is 0, as if everything worked fine!
1
1
ON ERROR Resume Next in JavaScript, 1/2: fs.writeFile(filename, JSON.stringify(data), e => {if (e) console.error(e)}); console.log('File saved successfully to', filename); In an async function no less!
Philipp Hagemeister retweeted
It be like that sometimes
10
620
59
5,269
Livestreaming website has very annoying ads. First bookmark in the developer's toolbar is: "skip ads". 🙈 Developer tools are great, but make sure they don't hide bad UX!
After a plane crash, the airline industry addresses not only the immediate problem, but also contributing factors. In software we should do the same, with (among others) 1. assertions 2. unit tests 3. e2e tests 4. tools to check & manipulate 5. documentation
5
Me: Why is this page so slow? It's just displaying a log of actions for a test object. Also me: Performed 2257 actions on said test object, resulting in a giant table with details on each action.
Philipp Hagemeister retweeted
Replying to @phihag
I once had a file /dev/null, not helpful if that accidentally overfills
TIL that if you accidentally create a FILE /dev/sda, writing to it will modify that file (in devtmpfs) rather than the thumb drive. Fastest thumb drive I ever had! ls -l /dev/sda should start with "brw-rw----", the b stands for block device.
1
3
Google Safe Browsing blocking a safe domain, scaring customers, with various "antivirus" software still blocking the domain weeks later. Same thing happened to us! google should provide a Dispute button, and also sync false positive reports. gomox.medium.com/google-safe…
1
5
Philipp Hagemeister retweeted
Neue Episode: @phihag, @theuni, @oryon_dominik und @ephes unterhalten sich diesmal über Security python-podcast.de/show/secur… #Python #Podcast
1
4
5
"Hey large content provider, we're not getting good metadata. Customers buy more of your content with good metadata. Spotify got it from you; can we just get the same data?" "We fixed the problem by publishing an update to Spotify. Now they don't get good metadata either."
1
1
10
Philipp Hagemeister retweeted
As anyone who has used youtube-dl knows, it is an extremely powerful and useful tool for format-shifting. It's super popular among archivists and has incredibly broad fair use applications. The RIAA stance here is pretty aggressive and out there.
7
144
17
695
The RGB image is clever and the github/dmca PR is fun, but treating the youtube-dl takedown as a censorship issue misses the point. The problem is that the DMCA §1201 is being used to go after developers of general-purpose tools. Without maintenance, youtube-dl is useless.
6
53
1
276
What raster graphics editor should you use for abstract graphics? Inkscape. No raster functionality at all, everything in vector. But unlike Krita or GIMP, it's easy to create a colored rectangle.
1
1
When you only design and test your frontend with "John Smith". Fix: When showing screenshots to non-technical people, fill in "Marie-Luise Bäringhausen-Hagemeister"
2
6
Philipp Hagemeister retweeted
One thing people don't seem to understand is most big companies are often structurally and inherently slow. It takes 2+ years for a team of 50 people at a big company to build what a highly motivated team of 3 badasses can do in 6 months. This is not an exaggeration.
102
521
116
3,897
Philipp Hagemeister retweeted
10
256
13
860