This is nice! A tiny function for our
#adb #cli #tool
~/.zshrc (not sure whether bash will accept it or not) that wraps adb calls and shows an interactive picker when more than one device is attached.#adb #cli #tool
Madness again! Regular expression (rather simple, elegant even!) to check whether a number is prime or not. Number has to be converted to a bunch of 1s (e.g. 5 -> 11111).
#regex #math
#regex #math
More from Vitalik. There's this interesting data structure: Merkle tree. The post is about Verkle trees. Similar thing, but with much more compact proofs.
#datastructure #crypto #cs
#datastructure #crypto #cs
A very nice post criticizing an old announcement of a "perfect" Go GC. Basically, my man describes, what are the difficulties in this area, why it's always trade-offs and how configurations are usually chosen. 13 stop the worlds out of 10!
#gc #golang
#gc #golang
There's this Gradle plugin that generates type-safe and named formatters for string resources. How hard does it hit build time, I wonder. But hey, looks cool!
#localization #resources #gradle
#localization #resources #gradle
On potential memory leak caused by double brace initialization (something along the lines of
#java #memory #leak
new HashMap<>() {{ ... }}) in Java. I believe I had to fix several such leaks in our app long time ago.#java #memory #leak
π1
A bunch of macOS native CLI tools.
#macos #cli #tool
networkQuality is nice, had to install speedtest for that. say is awesome too! say -v Yuri "So Long, and Thanks for All the Fish"#macos #cli #tool
Oy vey! Restoring private key from video footage of flickering of a power LED in a phone or a hub. Filmed on another phone or a regular security camera! Let's thank @istima for sharing
#cybersec #camera #hack
#cybersec #camera #hack
When your file is "written on disk", it's sort of written, but not really on disk. Lord, the time has come!
#linux #os #io
#linux #os #io
An interesting example of what's possible with modern compilers. The post is about Dafny lang, it can prove or disprove in compile time certain assertions we add to our code.
#compiler #language #cs
#compiler #language #cs
You have been using JavaScript for 10 years. Itβs time for your test. You are sitting in front of a computer. The test is simple: you have to open a package.json file and read it. The package.json is full of pain. You have to read it all.
#humor #js
#humor #js
π1
There's this vulnerability in macOS that allows to rather accurately get first name of a user. In this post you'll find an explanation and a live demo to try it yourself.
#cybersec #vulnerability #macos
#cybersec #vulnerability #macos
This one is funny. Instagram Terms of Use being read with a soothing voice to help you fell asleep. They also have a TikTok version!
#humor #meta #instagram
#humor #meta #instagram
My man is breaking
#java #string
java.lang.String. To make a String not .equals to itself and stuff like that. Amazing! Just imagine maliciously adding code breaking e.g. interned "id" to some popular lib.#java #string
Some will advocate new unique DI frawemork. Others will tell you about the APIs to glue any DI approach with the Android framework. I'm with the others.
#di #library #framework
#di #library #framework