Pinned Tweet
Idea: a Linux shell that shames you if you did more arrow ups than it was of characters to type the command
So I've asked o1 to compile my date validating regexp into C directly, and compare the method to other C methods, well it's the fastest:
```
Starting benchmark with 10000 random date strings...
Method 1 (Custom match): 0.178 ms
Method 2 (POSIX regex): 0.290 ms
Method 3 (strptime): 0.836 ms
Method 4 (sscanf): 0.701 ms
```
Now you know: if you want to validate a regexp very fast you can always ask a LLM to translate it to C for you
81
So I've had o1 write for me a regular expression that validates every date between 1900 and 2199 (including 29ths of february), then to benchmark it against other common methods. Turns out that the regexp is 10x faster than most options, the only thing actually faster is Numpy
62
The thing with 10x developers isn't that they write code 10x faster. Rather, they find ways to write 10x less code for the same feature.
1
30
It was a lot harder than I expected, but here we are with the EasyLeasy DSL for time sets manipulation. pypi.org/project/easy-leasy/
31
By far the most important news of the day
📢BREAKING NEWS! WinRAR 7.10 beta version has been released... and it may have dark theme! Check it out today!
win-rar.com/download.html
2
71
Old post coming back up my TL. I wonder what's the status on this now? Also, given that there are not so many ways to transpose a matrix, I wonder what would Google v. Oracle say about this?
Replying to @github
@github copilot, with "public code" blocked, emits large chunks of my copyrighted code, with no attribution, no LGPL license. For example, the simple prompt "sparse matrix transpose, cs_" produces my cs_transpose in CSparse. My code on left, github on right. Not OK.
25
It's interesting that marketing 101 tells you to push forward the merits of your own product instead of trying to discredit others. Yet politicians spend their time trying to discredit others and wonder why they are losing elections... If you stand for "everything except X" you stand for nothing?
38
I don't understand how there are so few ORMs that have a decent migrations system. Are people thinking that managing the DB schema is easier than writing a SQL query or something?
28
It's thrilling that AMD makes AI chips, but what would be even more thrilling is if my screen stopped flickering stupidly
1
25
GitHub now provides a RAG on all repos, including your private ones. Kind of on-the-fly documentation for the project. That's gonna be helpful.
29
Today I wrote a jQuery "component" for the first time since... Many years. It was a weirdly adequate solution for what I had to do.
1
30
til there is a str.partition() method in Python which does exactly what everyone awkwardly tries to do with str.split()
1
32
Évariste Galois - About 200 years ago, he laid both the fundations of digital telecommunications and the wife of an artillery officer. He died at 20 years old after being shot in a duel. Doesn't get more epic that this dude.
40
The only thing not thinking big in my life is my bank account
The best thing about @elonmusk is that he makes me question if I’m thinking big enough with my life.
62





