Evgenii Kotelnikov (@aztek) header
Evgenii Kotelnikov (@aztek) profile picture

I write programs, prove theorems, and write programs that prove theorems

Amsterdam
Joined November 2007
Photo by Evgenii Kotelnikov (@aztek)Photo by Evgenii Kotelnikov (@aztek)Photo by Evgenii Kotelnikov (@aztek)Photo by Evgenii Kotelnikov (@aztek)Photo by Evgenii Kotelnikov (@aztek)
Evgenii Kotelnikov retweeted
Duck typing? You're thinking too small. With AI, we can finally take Guido van Rossum's dream to its logical conclusion
57
136
23
1,579
105,567
Evgenii Kotelnikov retweeted
What is the difference between the two urls? one has an @ and one doesn't. But also the first downloads version 15 of postgres from GitHub and the second one resolves to v15 dot zip domain which can also downloads a zip file that sure doesn't have postgres in it. You see, URLs with @ in them are split into two parts, anything before @ is user info and anything after it is the host name, however this rule is broken if what comes before @ are forward slashes. The second URL includes a character encoded like forward slash but isn't really the real forward slash, which URL parsers ignores making anything before the @ as user info and treating whatever comes after it as the real hostname. While this can happen on any domain, the zip domains makes it more likely to happen. When you click on a link that ends in zip especially if it looks like from GitHub you won't think twice about it. Read the full blog from Bobbyr below.
38
721
69
3,092
540,999
Evgenii Kotelnikov retweeted
I'm speechless. Not peer-reviewed yet but a submitted paper. The 'presented images' were shown to a group of humans. The 'reconstructed images' were the result of an fMRI output to Stable Diffusion. In other words, #stablediffusion literally read people's minds. Source 👇
475
3,427
1,635
20,218
6,545,964
Evgenii Kotelnikov retweeted
This weekend I built =GPT3(), a way to run GPT-3 prompts in Google Sheets. It's incredible how tasks that are hard or impossible to do w/ regular formulas become trivial. For example: sanitize data, write thank you cards, summarize product reviews, categorize feedback...
316
2,718
734
19,972
Evgenii Kotelnikov retweeted
The mark of a great programmer is not doing exotic stuff. It is writing code that anyone can understand and see is obviously correct by inspection. Once a year you might do something extreme--and then write a giant comment explaining why it was unfortunately necessary.
5
30
2
171
Evgenii Kotelnikov retweeted
An underappreciated aspect of functional programming is that it's different from other styles because it arose from a historical context where the foremost goal was to formally reason about semantics, not to accomplish programming tasks on existing hardware.
8
78
8
392
Evgenii Kotelnikov retweeted
emacs on a remarkable 2, wireless edition
64
443
105
3,128
Evgenii Kotelnikov retweeted
Hmm, I didn't know you could do this in #Python: >>> float(bytes([51, 46, 49, 52])) 3.14
12
18
3
189
Evgenii Kotelnikov retweeted
When your code fails 997 out of 1000 tests, it will probably take a lot less time to fix than when it fails 3 out of 1000 tests.
4
8
2
126
Evgenii Kotelnikov retweeted
Happy Halloween. 😱 trojansource.codes/
7
10
3
26
Evgenii Kotelnikov retweeted
Some real Neal Stephenson shit wired.com/story/malware-dna-…
23
168
67
949
Evgenii Kotelnikov retweeted
Theoretical computer scientists make up a computer and get mad at it
4
50
3
478
Evgenii Kotelnikov retweeted
“Can you explain this gap in your resume” yeah I made it in LaTeX and I don’t know how to make the paragraph breaks smaller
112
3,519
249
39,724
Evgenii Kotelnikov retweeted
No One: Academics: It’s a shame this conference is online… I would much prefer the State fund and fly me to an otherwise cost-prohibitive conference at the Hilton in NYC, where I’ll present my research for 12 mins to nobody, and then drink wine with my buds for five days.
107
582
288
11,096
Evgenii Kotelnikov retweeted
Unusual music trivia (via math.stackexchange.com/quest…).
4
19
1
78
logic_gate.jpg h/t Fipi Lele
22
260
47
1,917
Evgenii Kotelnikov retweeted
in cursed news: today I wrote some Kubernetes YAML that is *also* valid AT&T syntax x86_64 assembly (both print hello world)
56
767
132
2,593
"()() is not a palindrome, but )(() is."
62
756
166
4,694
Assuming this all works out, the image in this tweet is also a valid ZIP archive, containing a multipart RAR archive, containing the complete works of Shakespeare. This technique also survives twitter's thumbnailer :P
141
3,067
647
6,378