Pas de Code – Telegram
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
Outstanding bug! Someone has spotted a ~49.7 days period in the count of used CPU cores. Spoiler: integer overflow. Go read what has actually happenned!

#time #programming #bug
Epic fuckup: ads network was installing apps directly to users' devices using certain system-level apps, even when the users tried to close the ad banner. Highly recommend to check the post and the comments.

#vulnerability #cybersec #ads
In this post author reasons about how does it happen that developers pass novice and advanced beginner levels in terms of dreyfus model, then reach expert beginner and stop learning.

#developer #learning
Check out this post on building a type safe bundleOf function. The bundleOf part here looks to me like we're trying to solve an imaginary problem, but the trick itself is kind of nice.

#bundle #type
There are many peculiarities in our line of work. This here is an attempt to parse XML with regular expressions. You can look at it like it's a regex deep dive, but I prefer to just stare and silently become horrified.

#regex #xml
Do you remember Android Asset Studio by Roman Nurik? Back in the day I've used that thing a lot. I'm curious, does anyone use it these days? So, there's a new project by Roman: IconKitchen, app icon generator. Check it out.

#icon #design
TIL: Sleep sort. For an array of length N we can launch N tasks that'll sleep for some time (based on the sorting key) and then emit their value. Wait for all tasks to finish and woohoo, we have a sorted array.

#humor #algorithm #sorting
Unbelievable! A resume with points like:
- Expert in JavaScript, ..., Mia Khalifa, ...
- Led team of 6 engineers to mine Ethereum on company servers
- Spread Herpes STD to 60% of intern team
was good enough for companies like Reddit, Dropbox, Atlassian and others.

#hr #interview #humor
A short post on crash that'll happen if we invoke startForegroundService and then it'll take us too long to invoke startForeground. This guy's solution is to wait for the main thread first and only then to launch the service.

#service #thread #crash
Offtop, but it's worth it, I promise.
In this post author explains why japanese web is so different and so outdated, compared to what we have here.

#design #localization
In Vietnam COVID pass system used weak cryptography, which allowed researchers to get private key (and ability to generate valid QR codes) using several AWS instances, 9 hours and $250. Factoring as a Service indeed.

#cybersec #vulnerability
Inspirational talk about hacks and tricks The Ancients used to run awesome and complex games on NES.
- How to save progress if all you have is a read-only storage?
- How to perform physics calculations if you don't have fractions or division?
- How to generate a random number if you don't have a generator?

#talk #gamedev