Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anitil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
601.
▲
by
anitil
4y ago
What a fantastic idea! I have so many half baked things that some idiot (me) built without documenting the underlying API. This will make life so much easier
602.
▲
by
anitil
4y ago
Yeah I was very impressed with the Bloom filter as well. I didn't mean it as a criticism, I was just interested
603.
▲
by
anitil
4y ago
This is an interesting project. It looks like a wrapper around an API allows you to send a (md5/sha1) hash and it'll return information that it has about the file, including sources that have that file. I've run in to a simil
604.
▲
by
anitil
4y ago
Wow that was incredibly satisfying to watch! The flipping sound made it all the better
605.
▲
by
anitil
4y ago
> Just 33G target folder, the compile time is only around 2 hours and 30 minutes on my mac on release mode Finally, technology has reached the point where I can do 2, 3, even 4 compilation cycles in a single work day!
606.
▲
by
anitil
4y ago
I enjoy your hot take on Rust, but now I want to hear about what you've seen
607.
▲
by
anitil
4y ago
Ah thankyou I was looking on his page and could only see Spotify/Apple Podcasts
608.
▲
by
anitil
4y ago
Can I recommend a podcast called 'Stuff the British Stole' by Marc Fenell (aka 'That Movie ... Guy'). It looks at exactly this, including situations where an artefact only exists _because_ it was stolen. http:/
609.
▲
by
anitil
4y ago
Other comments have mentioned _how_, I figured I'd mention a couple of scenarios that this could create. Programs that fork/exec will typically close all their open file descriptors, so if a close fails (like an EINTR) it's p
610.
▲
by
anitil
4y ago
I don't think I would have the self confidence to sit there quietly thinking.
611.
▲
by
anitil
4y ago
Thankyou!
612.
▲
by
anitil
4y ago
I believe it doesn't vacuum by default so you can potentially reduce the size back down again by running vacuum. I believe it is slow but I've never used it
613.
▲
by
anitil
4y ago
Do you have a recipe you can recommend? I'd love to try making some fresh
614.
▲
by
anitil
4y ago
I honestly eats most people's "big data" for breakfast. Combined with datasette for turning your ad-hoc queries an api of sorts it's like a superpower.
615.
▲
by
anitil
4y ago
Oh fantastic thankyou! And thank you for jless! I was running 0.7.1 rather than 0.8.0, so will upgrade now Edit: Works great!
616.
▲
by
anitil
4y ago
You career will be decades long, and you're in an industry that pays pretty well. Short term ups and downs are much less important than the general trajectory. Some people take years off to have kids, other (me) took 5+ years just bein
617.
▲
by
anitil
4y ago
We've got space for 26^2 2-letter commands... > for d in $(echo $PATH | tr ":" "\n") ; do ls $d | grep "^..$"; done | sort -u | wc -l > 52 I can fit a few more in (edit: I can't work out ho
618.
▲
by
anitil
4y ago
I've generally found it a bit hard to get an initial query going, but then it is as fast as anything I've thrown at it. Generally something else (probably my code) falls over before I even notice jq's impact.
619.
▲
by
anitil
4y ago
I use jless to manually find what I'm looking for and then using the result as a starting point. Unfortunately I don't know how to get that query in to the paste buffer yet so there's a manual step in the middle
620.
▲
by
anitil
4y ago
Do you know a way to copy the current selection in jless to the paste buffer? I find myself narrowing down a query for jq using jless but then having to manually remember the query to then jump to my terminal.
621.
▲
by
anitil
4y ago
That's a really interesting suggestion, similar to how AWK uses $0, $1 etc.
622.
▲
by
anitil
4y ago
Where can I sign up?
623.
▲
by
anitil
4y ago
Maybe you could add that the where condition needs the name of the authorising user? Start with "WHERE stmt AND AUTHORIZED_BY='Anitil'" then strip the AUTHORIZED_BY. If they're smart enough to do "WHERE 1=1&quo
624.
▲
by
anitil
4y ago
This would be so useful to me right now. So often I'm flying blind making edits and just praying I don't ruin someone else's day
625.
▲
by
anitil
4y ago
Interesting. Out of interest, what would an SQL-aware proxy give you? On-the-fly rewrites? Automatic caching?
626.
▲
by
anitil
4y ago
That is a fantastic use case! I'd have never have thought of doing this
627.
▲
by
anitil
5y ago
I'd be interested to hear people's use cases for parsing SQL. The link talks about exploring sql history, but has anyone else got some interesting uses? A couple of times where I've needed to parse SQL I would typically write
628.
▲
by
anitil
5y ago
I started in C and generally when people say 'rewrite it in Rust' I just roll my eyes, because I know how hard that is. But seeing it happen on a sophisticated project has made me take another look. Obviously for the embedded worl
629.
▲
by
anitil
5y ago
This is the first time I've felt that Rust is starting to eat C's lunch.
630.
▲
by
anitil
5y ago
I use datasette almost daily (thanks simonw!) for ad-hoc queries and for validataion. Often I'll have two APIs from different systems, which I may or may not have access to directly. Typically I'll need to denormalise the data and
More ›