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
A short post from our JS neighbors: Angular is too complex, it's harder to use it than not to use it, let's just switch to vanilla JS with a little bit of jQuery.

#programming #fragmework
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