The other day I was working on some sample code to test out an idea that involved an object with an internal nested array. This is a pretty common pattern in PHP: You have some simple one-off internal data structure so you make an informal struct using PHP associative arrays. Maybe you document it in a docblock, or maybe you're a lazy jerk and you don't. (Fight me!) But really, who bothers with defining a class for something that simple?
But that got me wondering, is that common pattern really, you know, good? Are objects actually more expensive or harder to work with than arrays? Or, more to the point, is that true today on PHP 7 given all the optimizations that have happened over the years compared with the bad old days of PHP 4?
So like any good scientist I decided to test it: What I found will shock you!
JMAP is the developer-friendly, open API standard for modern mail clients and applications to manage email faster.
It’s official! JMAP has been published by the Internet Engineering Task Force (IETF).
Yopass is a project for sharing secrets in a quick and secure manner*.
The sole purpose of Yopass is to minimize the amount of passwords floating around in ticket management systems, Slack messages and emails. The message is encrypted/decrypted locally in the browser and then sent to yopass without the decryption key which is only visible once during encryption, yopass then returns a one-time URL with specified expiry date.
There is no perfect way of sharing secrets online and there is a trade off in every implementation. Yopass is designed to be as simple and "dumb" as possible without compromising on security. There's no mapping between the generated UUID and the user that submitted the encrypted message. It's always best to send all the context except password over another channel.
Demo available here. It's recommended to host yopass yourself if you care about security.
- End-to-End encryption using OpenPGP
- Secrets can only be viewed once
- No accounts or user management required
- Secrets self destruct after X hours
- Custom password option
- Limited file upload functionality
Signal recently published a new, post-quantum secure, version of their X3DH protocol called PQXDH. As with any new cryptographic protocol, it is important to precisely analyse its security properties, especially for something as important as Signal.
404 pages and illustrations
Here’s the best printer in 2023: the Brother laser printer that everyone has. Stop thinking about it and just buy one. It will be fine!
Seriously, ask around or just look in the background of Zoom calls: there’s a black Brother laser printer sitting there. Some people have the bare-bones Brother HL-L2305W, which costs like $120. We have the $270 Brother MFC-L2750DW, which adds a sheet-fed scanner, because my wife is a lawyer and scans things for judges or whatever she does with it. It doesn’t matter. We only bought that one to replace our previous Brother laser printer that we lost in a move, and even then, I didn’t even look at the model numbers. It has been connected to our Wi-Fi for like six years straight, and I have never replaced the toner. It prints Amazon return labels from my phone without complaining, and it does not feel like the CEO of Inkjet Supply and Hostage Situations Incorporated is waiting to mug me or enable DRM at the slightest provocation.
MARATHON PLUS
- LE PNEU INCREVABLE. Le modèle Schwalbe actuellement le plus vendu. Il s’agit non seulement du pneu offrant la meilleure protection contre les risques de crevaison mais aussi les caractéristiques suivantes :
- RÉSISTANCE AU ROULEMENT. Comparée à d’autres produits génériques, la sous-couche brevetée SmartGuard de 5 mm d’épaisseur a déjà prouvé qu’elle amenait un très net avantage en matière de résistance au roulement.
- RECYCLAGE. SmartGuard intègre dans sa fabrication une certaine proportion de matériaux recyclés à partir de produits latex usagés.
- EFFET «ANTI-ÂGE». Les flancs bénéficient maintenant d’un traitement spécial prévenant l’apparition de microfissures disgracieuses lorsque le pneu est utilisé avec une pression d’air trop faible.
- E-BIKE READY. Grâce à ses caractéristiques uniques, Marathon Plus représente l’option idéale pour les vélos électriques (E-25). Les dimensions les plus courantes sont homologuées pour des vélos électriques pouvant rouler jusqu’à 50 km/h.
Increvable avec Marathon Plus.
Seul Marathon Plus peut vous garantir un véritable système anticrevaison. Sa sous-couche de protection de 5 mm vous protège même des punaises.
Le caractère typographique Luciole a été conçu spécifiquement pour les personnes malvoyantes. Ce projet est le résultat de plus de deux années de collaboration entre le Centre Technique Régional pour la Déficience Visuelle et le studio typographies.fr. Le projet a bénéficié d'une bourse de la Fondation suisse Ceres et de l'appui du laboratoire DIPHE de l'Université Lumière Lyon 2.
The Free Software Media System
Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached. Your media, your server, your way.
Media center
null has a controversial history. It's been called "the billion-dollar mistake" by its creator. Most languages implement null, but those few that do not (such as Rust) are generally lauded for their smart design by eliminating a class of errors entirely. Many developers (myself included) have argued that code that uses null or nullable parameters/returns is intrinsically a code smell to be avoided, while others (also myself included, naturally) have argued that is too draconian of a stance to take.
The genesis of B612
In 2010, Airbus initiated a research collaboration with ENAC and Université de Toulouse III on a prospective study to define and validate an “Aeronautical Font”: the challenge was to improve the display of information on the cockpit screens, in particular in terms of legibility and comfort of reading, and to optimize the overall homogeneity of the cockpit.
2 years later, Airbus came to find Intactile DESIGN to work on the design of the eight typographic variants of the font. This one, baptized B612 in reference to the imaginary asteroid of the aviator Saint‑Exupéry, benefited from a complete hinting on all the characters.
A localization system
for natural-sounding translations.
Something beautiful
All natural pine, faux fur and a bit of soho vibes for the classy minimalist.
Tig is an ncurses-based text-mode interface for git. It functions mainly as a Git repository browser, but can also assist in staging changes for commit at chunk level and act as a pager for output from various Git commands.
ConfigCat is a developer-centric feature flag service with unlimited team size, awesome support, and a reasonable price tag.