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
The "X is Turing-complete" Iceberg
aztek.github.io/turing-compl…
201
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.
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 👇
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...
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.
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.
Palindrome programming is easy if you hide the "mirrored" code in the comment. Here is a palindrome Haskell program that print its own source code.
1
3
But what if you don't allow yourself to use comments like that? I came up with this monstrosity of a quine palindrome: gist.github.com/aztek/def775…
1
Evgenii Kotelnikov retweeted
Hmm, I didn't know you could do this in #Python:
>>> float(bytes([51, 46, 49, 52]))
3.14
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.
Evgenii Kotelnikov retweeted
Happy Halloween. 😱
trojansource.codes/
Evgenii Kotelnikov retweeted
Some real Neal Stephenson shit
wired.com/story/malware-dna-…
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
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.
Evgenii Kotelnikov retweeted
Unusual music trivia (via math.stackexchange.com/quest…).























