friendica (DFRN) - Link zum Originalbeitrag

A classic bug for a leap day: At work, colleagues discovered and fixed a bug in a lesser used tool that only occurs on February 29th. It did trip up the tests, so no one got to merge until it got identified and resolved.

The source file in question hadn't been touched in over 4 years. Last leap year, the 29th was on a Saturday, so likely no one noticed.

What was annoying is that the logic had been clearly written with the intent of handling leap years. A leap year check condition was present, validated only on a February > 28th, but had to get inverted.

You may wonder why we wouldn't have used the languages' standard library date functions to validate the date - unfortunately the language in question doesn't have such a sophisticated standard library (language omitted to protect the innocent).

friendica (DFRN) - Link zum Originalbeitrag

Holiday in Peru


friendica (DFRN) - Link zum Originalbeitrag

friendica (DFRN) - Link zum Originalbeitrag

#TIL:

prompt injection, which is a form of cyberattack that exploits [an AI's] natural language processing abilities.
#TIL

friendica (DFRN) - Link zum Originalbeitrag

@Retrocomputing Forum


Liebe Freunde des gepflegten Alteisens! Kommendes Wochenende ist Vintage Computing Festival Berlin 2020 vcfb.de/2020/), und ihr könnt das alle besuchen, ohne auch nur einen einzigen Fuß vor die Tür zu tun. Ich bin dieses Jahr leider nur passiv dabei. Schade finde ich insbesondere, dass dieses Jahr die Fotografiererei auf der Strecke bleiben wird: flickr.com/search/?user_id=529… #vintagecomputing #retrocomputing #vcfberlin #vcfb

friendica (DFRN) - Link zum Originalbeitrag


Weil es mal echt an der Zeit ist:
Danke an Euch alle, die Ihr das Netz mit Euren Instanzen verschiedenster freier Software auch und gerade in dieser Zeit so nützlich macht.
Danke für alle Helfer und Maintainer des freien Internets. Danke #Fediverse
#floss #bleibtwachsam #decentralisation

friendica (DFRN) - Link zum Originalbeitrag


#UltimaThule is the first primordial contact-binary ever explored up-close by a spacecraft, meaning it was once two separate objects that are now bound together. It is a pristine specimen, preserved as it was formed. Other similarly shaped objects have been modified over time due to their closer proximity to the Sun. Learn more about this distant object explored by our New Horizons spacecraft: pluto.jhuapl.edu/News-Center/N…

#UltimaThule is the first primordial contact-binary ever explored up-close by a spacecraft, meaning it was once two separate objects that are now bound together. It is a pristine specimen, preserved as it was formed. Other similarly shaped objects have been modified over time due to their closer proximity to the Sun. Learn more about this distant object explored by our New Horizons spacecraft: