masflam (@masflam) header
masflam (@masflam) profile picture

quant dev

Amsterdam
Joined April 2014
Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)Photo by masflam (@masflam)
huskies are the best
1
3
1,687
holy shit i just realized you actually *can* find the longest common prefix of two suffixes of a string in O(1) with O(n) preprocessing
1
1
112
(Kärkkäinen-Sanders => O(n) suffix array => LCP's of lexicographically subsequent suffixes => four russians method sparse table)
72
hot take: from what i've seen of it, i don't really like Jai that much
1
1
177
listening to people who don't know what a game is talk about game theory is funny again, reasoning about the world without rigorous mathematical definitions just feels like wandering blind in the dark
2
1
7
495
this $2B valuation actually makes more sense than 90% of all the AI startups combined
Farmer pays $5–$8 per cow per month. A New Zealand company puts a solar-powered smart collar on cows. It tracks location 24/7, health, temperature, chewing activity, breeding. Farmer just opens a simple app and draws a line on the map. That line becomes the fence. As cows approach the boundary, the collar beeps and vibrates. With one tap, the whole herd moves to fresh grass or the milking shed. No physical fences. Less labor. Huge cost savings for farmer. Already on 700k cows across New Zealand, Australia, and the US. and now in talks to raise at a $2B valuation led by Peter Thiel.
91
this happened before, i remember. US military bases were located by OSINTers scanning strava data
🚨🇫🇷 NEW: The location of the French aircraft carrier, FS Charles de Gaulle, has been given away by a sailor using Strava whilst jogging on the ship deck [@lemondefr]
59
as an industry we have failed to provide regular people with office software that isn't complete dogshit
2
49
i hate these kinds of installers with a passion yeah let's just download code and run it with zero verification whatsoever, that sounds like a great idea!!! add sudo for good measure no checksums, no signatures, don't even save it to a file so that you know what you executed
Let's just all agree that curl -L <url>.sh | bash is just the best way to install any software. It's not even worth to discuss. No one wants to use the shitty package manager especially linux users just already make a script and make a dns redirect to github. That's all.
1
2
73
+ it doesn't matter if you trust the author, if it's a website or a github link, those get hacked all the time. and all it takes is one rm -rf ~ from a script kiddie and you're fucked
41
does this mean my armpits will be like 1/√2 |wet⟩ + 1/√2 |dry⟩ or what
40
huskies still rock
huskies are the best
30
followers on linkedin is an antisignal
46
wtf why is the train station suddenly czech
48
needed to parse lambda calculus, ended up writing a parser combinator library
1
44
wait but that means... regex
Why does my Greenlandic textbook have finite state automata bro I’m scared
76
i remember how Numberphile was a culture shock to me when i saw a 1•5 that meant 1.5 and x.y that meant multiplication
So we drill into children's heads that multiplication is ×, then a couple of years later we're like "welcome to algebra, we've got 26 letters to choose from, but we're choosing 𝑥 as the first symbol to use. good luck". It feels like the kind of trap FromSoft would come up with.
46
hyperagglutinative languages tickle my 'tisms lol
Why does my Greenlandic textbook have finite state automata bro I’m scared
72
full respect for @ebarschkis result (why wasn't he tagged, btw?) but despite what this post might seem to imply, it has nothing to do with ECDLP
Enrique emailed me a few weeks ago to casually chat about the elliptic curve DLP. We tested many of his ideas using models and Aristotle. I am very proud of him: in the breaks between high-school classes, he carved his way into the mathematical frontier, at the age of 17! My advice consisted of only modest hints and encouragement. Enrique deserves full credit for his daring and passion. Good luck, man-reach for the stars!
47
>be me, wants to try bazel this time instead of cmake >oh wow this looks so cool it's well structured and all >wait i want compile_commands.json for clangd lsp >ok everyone does this thing, cool ... doesn't work. it doesn't fucking work. and no LLM or github issue can help
1
58
(i'm just gonna roll with cmake i guess)
31
ricky gervais is a funny bloke
27
(unironically) we don't have enough types of brackets
how come we don't have any great programming languages? honestly, it shouldn't be that hard. you just need a language with: - proper dependent types - full type inference - easy to use and learn - powerful - high-level (i don't want to manage memory) - full control over memory layout - access to CPU intrinsics - fully portable to any architecture - fully typed code generation - stdlib covering every use case I have - modern and evolving stdlib - stable stdlib - linear types with full duality - laziness but not everywhere - produces small binaries - binaries don't have any external dependencies - optimises code very well - compiles fast - built-in support for Balls - full IDE and AI integration - lightweight tooling - opinionated code formatter - custom version control system - image based deployment - support for writing code running at multiple versions - includes distributed systems runtime ala erlang - has no runtime - has great built-in tracking and memory and cpu profiler sounds like a weekend project to me
1
38