Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thinkharderdev
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
thinkharderdev
10mo ago
> It's good to know that OOTB duckdb can replace snowflake et all in these situations, especially with how expensive they are. Does this article demonstrate that though? I get, and agree, that a lot of people are using "big dat
32.
▲
by
thinkharderdev
11mo ago
This depends a lot of what you are using exceptions for. I think in general the branch on Ok/Err is probably not meaningful performance-wise because the branch predictor will see right through that. But more generally the happy-path&#x
33.
▲
by
thinkharderdev
11mo ago
Happened to me. Bought a house with wood floors in the basement. We had some flooding which ruined the wood and when we ripped it out to replace, turns out the wood floors were installed over the original asbestos tiles. From what I can tel
34.
▲
by
thinkharderdev
11mo ago
Yes
35.
▲
by
thinkharderdev
11mo ago
Trump is definitely the most egregious by a very wide margin, but the pardon power has been abused by every President in my lifetime. It's a truly insane feature of our constitution that needs to be changed.
36.
▲
by
thinkharderdev
11mo ago
I interviewed with Amazon a few years back. The whole thing turned me off. A recruiter reached out and I was interested (it was late 2020 and the money was tempting). But before the first phone screen I had to have a call with the recruiter
37.
▲
by
thinkharderdev
11mo ago
> Also, does it use doubly linked lists or graphs at all? Those can, in a way, be safer in C since Rust makes you roll your own virtual pointer arena. You can implement a linked list in Rust the same as you would in C using raw pointers
38.
▲
by
thinkharderdev
1y ago
How does this work in two-party consent states. IANAL but as I understand it, you need to permission to record someone in California. As an aside, I don't consider myself a particularly paranoid person (relative to the median HN commen
39.
▲
by
thinkharderdev
1y ago
Sure, any program can have bugs. The point though is that it is "just a bug" and not UB.
40.
▲
by
thinkharderdev
1y ago
> doesn't mean you're not stomping on in-bounds neighboring data I don't see how you would do that in safe rust though. The point of the arena would just be to solve the lifetime issue. It just moves the ownership problem
41.
▲
by
thinkharderdev
1y ago
The main reason is that arrow files are not compressed at all. So storing everything as Arrow would increase storage size by 10-100x (depending on data)
42.
▲
by
thinkharderdev
1y ago
I took the article to be saying that mpmc queues are not queues so we can use bags instead because bags are faster. The second claim seems dubious to me though. I checked out the repo which led me to https://alexsaveau.dev/b
43.
▲
by
thinkharderdev
1y ago
> As long as the audience accepts the framing that ergonomics doesn't matter because it can't be quantified, the hand-waving exemplified above will confound. I interpreted the parent to be saying that ergonomics IS (at least pa
44.
▲
by
thinkharderdev
1y ago
I read this article earlier today and ended up going down a rabbit hole trying to figure out what Xanadu actually "is" (on a more technical level) but haven't really been able to find much. Does anyone have a good resource fo
45.
▲
by
thinkharderdev
1y ago
The basic tradeoff is that you are paying an extra tax on all requests that are not served by the cache, so you something like this would help if you are reading the same data repeatedly. So, for example, a database built on object storage
46.
▲
by
thinkharderdev
1y ago
I'm not a fan of tipping in general, but as an American who has spent a lot of time in Europe, my experience is that the level of service in American restaurants is quite a bit higher than in European ones on average. That's not t
47.
▲
by
thinkharderdev
1y ago
Is this also the case for senior executives?
48.
▲
by
thinkharderdev
1y ago
> I can have the call in the background while looking at something else without it being impolite. I can eat, drink, or use the restroom at will. This works great when you are one of a dozen anonymous people on a zoom call. less so when
49.
▲
by
thinkharderdev
1y ago
> I think at some point, it's just inevitable that C-level management takes decisions based on the assumption that people are replaceable and that the difference between a great performer and a poor performer is essentially irreleva
50.
▲
by
thinkharderdev
1y ago
My personal pet theory (based on no evidence other than personal experience) is that, if your job is in senior management then your day-to-day work is going to meetings. And spending 8-10h on zoom meetings every day is unbelievably soul-cru
51.
▲
by
thinkharderdev
1y ago
Yeah, back when I used to swim a lot I could never find anything that was any good at tracking swim distance either in a pool or open water.
52.
▲
by
thinkharderdev
1y ago
I'm not hypochondriac and don't use any of the health monitoring features. What I use it for: * Notifications (imessages mainly, but anything that sends a push notification to your phone can also notify you on your watch) * Quickl
53.
▲
by
thinkharderdev
1y ago
Sure, you just have to balance that against the cost of a poorly specified API interface. The errors because clients aren't clear on what is really required or not, what they should consider an error if it is not defined, etc. And of c
54.
▲
by
thinkharderdev
1y ago
> Philosophically, checking that a field is required or not is data validation and doesn't have anything to do with serialization But protocol buffers is not just a serialization format it is an interface definition language. And no
55.
▲
by
thinkharderdev
1y ago
> Then it's not really required if it can be ignored. It can be required in v2 but not in v1 which was my point. If the client is running v2 while the server is still on v1 temporarily, then there is no problem. The server just igno
56.
▲
by
thinkharderdev
1y ago
But this is something you should be able to handle on a case-by-case basis. If you have a type which is stored durably as protobuf then adding required fields is much harder. But if you are just dealing with transient rpc messages then it c
57.
▲
by
thinkharderdev
1y ago
If you need to deserialize an old version then it's not a problem. The unknown field is just ignored during deserialization. The problem is adding a required field since some clients might be sending the old value during the rollout. B
58.
▲
by
thinkharderdev
1y ago
> I don't actually want to do this, because then you have N + 1 implementations of each data type, where N = number of programming languages touching the data, and + 1 for the proto implementation. I think this is exactly what you e
59.
▲
by
thinkharderdev
1y ago
Support across languages etc is much less mature but I find thrift serialization format to be much nicer than protobuf. The codegen somehow manages to produce types that look like types I would actually write compared to the monstrosities t
60.
▲
by
thinkharderdev
1y ago
Yeah, as soon as you have a moderately complex type the generated code is basically useless. Honestly, ~80% of my gripes about protocol buffers could be alleviated by just allowing me to mark a message field as required.
More ›