codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph) header
codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph) profile picture

knowledge engineer

๐Ÿ‡บ๐Ÿ‡ธ
Joined April 2021
Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)Photo by codegraph ๐Ÿ‡บ๐Ÿ‡ธ (@codegraph)
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
sick video from mastercam on the carmelite monks in wyoming using 5ax machines to build a gothic monastery imagine rolling up to the shop and your programmer is brother peter thomas youtu.be/wLJa410KTsg?is=pun-โ€ฆ
33
84
19
1,257
25,677
Just got moved to the 6th round of interviews at a company. What are we learning at this point?
477
57
32
2,817
139,174
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
now that we're interpreting monosemantic neurons it's time to bring this up again. fast memory recall & mechinterp are the same problem. let's figure out activation-triggered indexing. i think it's doable
imo e2e mechanistic interpretability has the highest chance of leading to e2e memory recall by providing activation-triggered indexing and search
1
3
70
2,849
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
these qwen neurons are insane like wym i poke its brain and now it's an alien named Extrali who's been guiding civilization for 3000 years lmfaoo
71
146
44
2,751
62,976
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
The perversity of hot dog vending must be refreshed from time to time by theology and geometry.
2
3
1
5
570
If you're a non-technical founder, you actually need another non-technical founder with good product and sales experience more than you need engineers.
2
11
578
the space of thinkable things is limited by our ergonomics. if there's some capacity we don't have at all we couldn't even name it. every problem looks human shaped because we're humans.
3
213
Morale will continue until beatings improve.
5
280
Rich buys things. Wealth buys time.
2
122
Urbit invented again in real time
Replying to @skeptrune
Only solution is building your own programming language and only run local software, nothing leaves the computer!
4
19
619
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
Given all the ridiculous security exploits going around, I thought Iโ€™d repost my fuzz testing skill. Most of these bugs could be caught using this kind of testing. Of course, itโ€™s better to just use memory-safe Rust instead!
If you're making software that is designed to parse complex, diverse data, especially when YOU don't control the data, and it is generated in varied ways by thousands of different organizations or users, then there's really no substitute for what's known as "fuzzing" tests. Fuzzing is a testing technique where you try to intelligently generate a huge number of varied inputs to your program, with the goal of finding parsing bugs that you'd be unlikely to come across if you're only testing with a fixed set of valid inputs. A naive approach to generating random inputs would be wasteful, since most inputs are trivially invalid and can be quickly rejected. What you really want are inputs that are pathological; ones that are nearly valid but have some bizarre issue that can confuse your parsing rules and trigger code pathways that you'd normally never traverse. Fuzzing used to be a somewhat esoteric approach used by security-focused engineers in high-stakes, sophisticated applications. But now anyone can use it. I have a skill specifically for fuzzing you can try here: jeffreys-skills.md/skills/teโ€ฆ It's part of a series of testing-related skills that also includes metamorphic testing, conformance harness testing, golden artifact generation, end-to-end integration testing, etc. The skill works across many popular languages and automatically installs the needed tooling for you, instruments your application for fuzzing, and then mounts extended fuzz testing campaigns. You can see an example of one in the screenshot, where it's been working for many hours, subjecting three different parsers in my hedge_fund_data_tool to torture tests. For instance, my elaborate parser for SEC insider trade forms (i.e., Forms 3, 4, and 5), which is thousands of lines of Rust, has been called over 780 million times, each invocation with a different, optimally selected input designed to best explore all the different possible code paths within the parser. There aren't that many forms of this kind in the history of the SEC's EDGAR database, across all companies. The only way to do something like that is with fuzzing. And now you can!
6
5
98
4,463
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
How I sleep at night with all these security exploits floating around because I built nearly all the libraries I use myself in strict memory-safe Rust. Just say no to dependencies.
More and more, Iโ€™m realizing that the use of external library dependencies in Rust projects is an anti-pattern. Most libraries are one-size-fits-all, with scope creep and sprawling dependency chains that lead to you depending on hundreds of different projects and people, any one of which could suffer from a supply-chain attack. They also often rely on C or C++ libraries, which defeats the benefit of the strict memory safety that is the major selling point of Rust. This usually results in complex and annoying build processes that create headaches when you want everything to be cross-platform. And even when they donโ€™t use C or C++ libraries, they almost always make liberal use of unsafe code. If you donโ€™t make strict memory safety a basic requirement, itโ€™s easy to slip into bad patterns out of convenience or a sense of misguided pragmatism. Perhaps worst of all, they are just not performance-optimized the way things can and should be today, with special tricks to optimize performance specifically on Apple silicon or on high-core-count AMD processors. Those two platforms have very different performance characteristics and need specialized designs to even approach the point of saturating the hardware. For my FrankenSearch project, which is the core of my cass tool and also used in various other projects of mine like agent mail and eidetic engine, I have been using the Tantivy library for fast lexical search. Tantivy is sort of a Rust descendant of Lucene, which is the core search system used in Elasticsearch. I realized recently that many of the things that annoy me about FrankenSearch come from Tantivy, and I hate the feeling that itโ€™s a walled-off dependency that I donโ€™t want to change for the obvious reasons. Since for my newest projects (e.g., FrankenOCR, FrankenMarkdown, FrankenSim, and FrankenGraphDB), I have a strict โ€œno outside dependenciesโ€ rule other than my own projects like Asupersync and FrankenSQLite, I decided that I should start applying a similar standard in my older projects. Thatโ€™s why I decided to create my own specialized lexical search system optimized specifically for FrankenSearch. Iโ€™ve made the plan for it and the implementation work is already far along. You can see the plan here: github.com/Dicklesworthstoneโ€ฆ This will reduce the number of dependencies by 41 crates, increase safety and security, and dramatically increase performance. And because this module will be part of the core code of the system, it will benefit along with the rest of the projects from my endless continuous performance optimization campaigns, so it will keep getting faster and faster. As the plan explains, the biggest wins come from not paying the โ€œgenerality tax.โ€ By not trying to be all things to all people, we can do just what we need in the absolute optimal way possible.
28
13
4
336
8,427
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
So basically, today PHP got two critical bugs that let anyone run code on your server without even logging in, which is bad, and then the details leaked before the patch was even out, which is worse, and it works on WordPress and MediaWiki and Magento and Joomla and Laravel, and Censys says like 1.5 million servers are running a version with no fix, so the NSA was like "take your system offline," and the FBI was like "take your system offline," and CISA and the UK and CERT-EU were all like "take your system offline," and then the Prime Minister of Japan, the actual Prime Minister, posted at 5:55 in the morning telling 48.8 million people to take their system offline, so everyone took their system offline, like the Dutch cybersecurity agency took its own website offline, and the Dutch parliament went offline, and the Port of Rotterdam went offline, and Finland and France and Denmark started pulling government sites, and Wikipedia went down, and Archive.org went down, and Asana and GOG and Something Awful went down, and the University of Vienna's webmail went down for some reason, and that's just PHP. Because GitLab also dropped a CVSS 10.0, which is the highest score they give out, for a bug that's been there since 2014, so that's every self-hosted GitLab for twelve years, and then LiteLLM 1.107.0 got hijacked and shipped a credential stealer and a remote access trojan in every single wheel and the Docker images, including latest, and you didn't even have to import it, just installing it was enough, and it's the second time this year, and then Railway paused every deployment on the entire platform because someone got into the environment variables, so now everyone has to rotate every secret they've ever stored there, and TiDB Cloud said someone was walking around inside with stolen credentials for basically a month and an extortion group says they took 10.6 terabytes, and Zeabur got breached for the second time in two months and is just shutting down, like the whole company, and Node.js patched remote code execution and a TLS bypass, and CISA says Plex is being actively exploited, and someone took over 300 Tor exit relays to steal SSH passwords, and SafePay ransomware has hit over 600 critical infrastructure orgs, and India's biggest bank filed a data loss incident, and Japan has been in an official state of emergency in cyberspace since October 9, which honestly explains the 5:55 AM post. Oh, and eMudhra, a certificate authority that's issued over 60 million certificates, whose entire job is proving websites are who they say they are, was supposed to be using private keys that are random numbers over a hundred digits long, and one of them was 4. Just 4. And the others were like 66 and 237. Anyway, it's Wednesday.
1,076
8,935
1,654
69,399
4,197,177
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
Replying to @poteto
1
15
1,404
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
Pretending it would be for warmth was optimistic.
187
1,283
116
16,747
296,521
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
Replying to @Liv_Boeree
They want a different civilization than ours.
26
6
1
272
6,489
Need a story in the vein of camp of the saints about a global conflict called 3rd World War
1
2
124
Every founder I know is jacked.
2
125
codegraph ๐Ÿ‡บ๐Ÿ‡ธ retweeted
Turns out the future does have flying cars
47,966
99,882
32,768
833,917
79,468,632