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
I know that many of you do stuff like Advent of Code. Many others (me, for example) are too busy lazy for this stuff. Well, Peter Norvig (Research Director at Google) is not that case, so he has this cool repo full of ipynb's with problems, solutions, nice graphs and illustrations. And you'll find much more than just AoC there!

#contest #cs #repository
App cloning. It seems that this strange yet interesting feature can make its way into Android 14. It allows you to have several profiles in a single app, even if the app itself doesn't allow this.

#android #os #update
1
I needed something weird - to fork and modify TLS lib. During research I stumbled upon this nice site: comprehensive description of all the records for TLS 1.2 and TLS 1.3 client and server send to each other

#network #tls #protocol
1
I often see copyright year in source code or LICENSE files. I've always wondered, what's the rule for this thing? Should I keep it up-to-date? Can I omit it? Thankfully, the answer's found me all by itself. For code it doesn't really matter. You can safely omit it.

#oss #license #law
Yet another collection of ChatGPT prompts. There are some pearls in it for sure, but I don't quite get why so many prompts in different categories start with "Write a marketing campaign outline using..."

#ai #chat
Usually we don't need stuff like that, but it may be tedious to google it when we do. Awesome macOS Command Line: a bunch of useful commands and scripts to take more control of the system when it's needed.

#macos #terminal #tool
Ladies and gentlemen, please welcome JEP 430: String Templates!
They've decided to bring something like string interpolation to Java, but to do it BETTER than everyone else.
The result is, well, quite surprising:
String s = STR."\{x} + \{y} = \{x + y}";

#java #language #jep
Check out this strangely nice thing. Have no idea why would I need it, but looks interesting!

#keyboard #hardware
I've decided to dedicate this whole week to this wonderful series in prose. Enjoy!

Reversing the technical interview

“That’s not a list,” the interviewer says. “That’s an if statement.”
“What else are lists,” you reply, your eyes flashing


#interview #humor #fp
Hexing the technical interview

“We’re, uh, we’re not doing IO here. Just an in-memory list.”
Agree politely, but delete nothing. Never apologize for who you are.


#interview #humor #fp
😁1
Typing the technical interview

“You’re… defining the natural numbers by hand? Why?”
“Haskell is for mathematicians,” you explain. “We always define our terms.”


#interview #humor #fp
Rewriting the Technical Interview

“People always complain,” you murmur. “That Lisps have too many parentheses. What they really mean is that their positions are too far to the left.”

#interview #humor #fp
Unifying the Technical Interview

“You absolute madwoman,” Aisha chortles. “You can’t remember how to balance a binary tree, but you memorized µKanren?”

#interview #humor #fp
And a little bonus à la fanfic.

Typescripting the technical interview

“Okay, that looks like a correct solution, but the code is quite hard to follow, and it’s not very concise.” he asserts, wrongly.
“Oh it’s mostly just TypeScript boilerplate. I think you’ll find once it’s compiled down to JavaScript it’s perfectly concise.” you reassure him.
Invoke the compiler


#interview #humor #fp
👍1
AI coding assistants. Why are they important? How did we get here? What are the problems in this area? There's a bit of ad in the end, but it's definitely not a usual marketing BS kind of post. A nice overview, so to speak.

#ai #ml #code
Very nice! ThumbHash - yet another algorithm to display a blurred image preview while the actual image is still loading. Code is already available for several languages.

#image #algorithm
New post from Bartosz Ciechanowski. This time about bicycle. It's a long-read, but totally worth your time. Those interactive animations are a big deal!

#bicycle
🤯1