Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tasn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
tasn
2y ago
Congrats on the launch! As someone who is ignorant and not following all of the recent releases. Isn't Claude-code a proprietary version of https://aider.chat/ in the first place?
122.
▲
by
tasn
2y ago
https://archive.org/details/doom-play or any of the other ones linked at the bottom of that page.
123.
▲
by
tasn
2y ago
It's not N^Y, it's N^2 as we are talking about the reverse of sqrt which is N^(1/2). N^2 == N*N != N+N
124.
▲
by
tasn
2y ago
Though as I said in the rest of my comment, the 2+2 unwrap only works for N=2. So it's not a general unwrap, but rather a specific example that happens to work for N=2.
125.
▲
by
tasn
2y ago
Because sqrt is the reverse of 2^2 and 2*2 (which is 2^2 unwrapped). Though there's no direct relationship between sqrt and 2+2 other than that it happens to be equal to 2*2. Or put differently: N = sqrt(N^2) or sqrt(N * N) for every p
126.
▲
by
tasn
2y ago
I agree it potentially wasn't a conscious choice, but it's still interesting nonetheless. I wasn't criticizing him for this, but rather fascinated that this is the variant that was chosen.
127.
▲
by
tasn
2y ago
Maybe it's just me, but writing sqrt(2+2) instead of sqrt(2*2) or sqrt(2^2) was such an odd choice. It obfuscates the reason why 2=sqrt(2+2), and unnecessarily so.
128.
▲
Linus on Rust and the Kernel DMA Layer
(lwn.net)
91 points
by
tasn
2y ago
|
59 comments
129.
▲
by
tasn
2y ago
A bit meta, but I love how the AI code generation tools show you the code being live-edited rather than just having a loading indicator. It's very visually pleasing.
130.
▲
Robust APIs Through OpenAPI Generation
(svix.com)
1 points
by
tasn
2y ago
|
0 comments
131.
▲
Svix (YC W21) Is Hiring a Developer Marketer (US Remote)
(svix.com)
1 points
by
tasn
2y ago
132.
▲
by
tasn
2y ago
I had to write (heavily improve? I don't remember) the React Native guide when I release my first RN app there (non RN apps were easy). Though I assume/hope things are better now?
133.
▲
by
tasn
2y ago
Been a happy f-droid user for as long as I can remember (and even published some packages there). Thanks and kudos to the f-droid team!
134.
▲
DeepSeek-R1 and Exploring DeepSeek-R1-Distill-Llama-8B
(simonwillison.net)
7 points
by
tasn
2y ago
|
0 comments
135.
▲
by
tasn
2y ago
One thing I wish redis had is the ability to extend itself beyond its memory capacity. So if I run out of memory, just move some stuff to disk. Or if I'm using persisted redis, just free up some memory. Maybe this is it.
136.
▲
by
tasn
2y ago
Reminds me a bit of a post my colleague wrote a while back: https://www.svix.com/blog/heap-fragmentation-in-rust-applica...
137.
▲
by
tasn
2y ago
As long as you don't literally sell dollar bills, it can actually be quite hard.
138.
▲
by
tasn
2y ago
They are not releasing all of the hostages, only 33 out of 98. Edit: only 22 of the 33 are estimated to be alive, the rest being dead bodies. Not sure what are the estimates for the other 65.
139.
▲
by
tasn
2y ago
I've always wanted to switch to qubes, but it just feels so constraining. It's safer to never leave the house, but I don't want to live in a self imposed prison. On the other hand, the isolation provided by containers and fla
140.
▲
by
tasn
2y ago
OK, I'm convinced. I just installed uv. Thanks for sharing!
141.
▲
by
tasn
2y ago
Back in the day it used to be the way to do it. Web servers would serve example.com/foo/index.html when visiting example.com/foo/ and it was the easy way of not having example.com/foo.html as your URL. Later on Web
142.
▲
by
tasn
2y ago
Not quite. The problem is that when you involve hardware, things are exponentially harder. When you tie it with content streaming, it's essentially a losing battle. Hardware: makes cracking much much harder and out of reach for a lot o
143.
▲
by
tasn
2y ago
The end goal is DRM all the way to the screen. No capture cards will be allowed. It's a cat and mouse game, but I wouldn't discount these efforts as a mere speed bump. Screen enforced DRM will make things much harder. A motivated
144.
▲
by
tasn
2y ago
I explicitly said server side rendering for this reason.
145.
▲
by
tasn
2y ago
I explained why in the rest of the comment. Reusable components, code generation, etc. are a godsend. Copy pasting sections across and within pages, and not being able to generate code is hell. Simple is better, but bare doesn't necess
146.
▲
by
tasn
2y ago
The experience of developing a simple website using React is orders of magnitude better than using html and CSS. Reusable components, loops, and separating data from presentation go a long way even in the simplest of pages. Sure, you don&#x
147.
▲
by
tasn
2y ago
I very much doubt this is the TikTok algorithm. 1. It doesn't even claim to be that. 2. It's over a year old - so even if it was, this is no longer it. 3. There's zero incentive for them to release it, but every incentive to
148.
▲
by
tasn
2y ago
Good utilization of the type system really makes a difference. I wrote a similar blog post a while back: https://www.svix.com/blog/strong-typing-hill-to-die-on/
149.
▲
by
tasn
2y ago
My info is maybe a bit dated, as it's been a while since we wrote this hackery. We also adopted SQLModel at some point but we had to patch it to work well (I think some of my contributions are now in upstream). As for some of the hacks
150.
▲
by
tasn
2y ago
I think you're missing the point of the blog a bit, as the `1 + "2" == "12"` type of issues wasn't it. It definitely also sucks and much more common than you make it sound (especially when refactoring) but it&#
More ›