Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
On potential memory leak caused by double brace initialization (something along the lines of 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. 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
Excellent post that shows only some part of text rendering hardship.

#text #font #rendering
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
A short post comparing io and nio in Java.

#java #io #nio
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
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
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
😁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
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
My man is breaking 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
A short humorous essay on the state of our industry.

#humor #rant
Turns out, to write a file to disk correctly is a hard task by itself. And don't even get me started on working with different filesystems in different modes.
Let's thank @dimsuz for the link.

#linux #os #io
A dive into how files are stored on disk, what the heck is inode, and how to access all of that manually.

#linux #os #file
A short piece on a serious task of updating a single constant at a serious corporation.

#humor #rant
New standard - Li-Fi. Nice! Put a lamp above a table and enjoy good connectivity.

#hardware #network
Russ Cox's post about implementing coroutines for go. Yep, coroutines, not goroutines. The main idea is to allow running something on demand, concurrently, but not in-parallel. I don't really understand the use case yet, but can recommend the post, interesting reading.

#golang #coroutine
A bunch of links about DNS have piled up, let's start with them. The 1st one - a talk on what's DNS, how it works, how to poke it, and what the request and response look like.

#dns #network #talk