Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thinkharderdev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
61.
▲
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
62.
▲
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.
63.
▲
by
thinkharderdev
1y ago
I feel like I could have written an article like this at various points. Probably while spending two hours trying to figure out a way to represent some protobuf type in a sane way internally.
64.
▲
by
thinkharderdev
1y ago
As far as I understand, the backing assets aren't on-chain. I give tether $100, they create and issue me 100 USDT on-chain. But they can take my $100 and lend it out. Now whoever Tether loaned the $100 to has $100 and I have 100 USDT s
65.
▲
by
thinkharderdev
1y ago
> (1) can't they be taken to court? Yes, they can be and are being but it's not much comfort to know that the courts will decide a deportation was unlawful after you've already spent 6 months being tortured in an El Salvad
66.
▲
by
thinkharderdev
1y ago
Yes, this is an excellent rule. I read an essay years ago (which I can't find now) about technical debt whether the author separate tech debt into two flavors which he analogized to a mortgage (good) and credit card debt (bad). Basical
67.
▲
by
thinkharderdev
1y ago
I agree with the saying as such but I think it's actually a counterpoint to the "do the simplest thing that could possibly work" idea. When building a system initially you want to do the simplest thing that can possible work,
68.
▲
by
thinkharderdev
1y ago
> I mean both sides are guilty. ‘08 saw us bail out banks and now the likes of Fannie Mae and Freddie Mac are GSE’s. George W Bush (also a Republican) was POTUS in 2008 and it was his administration that oversaw the bank bailouts (the pr
69.
▲
by
thinkharderdev
1y ago
It is definitely not good advice for all things. For workloads that are either end of the CPU/IO spectrum (e.g. almost all waiting on IO or almost all doing CPU work) it can be a huge win as you can get very good L1 cache utilization,
70.
▲
by
thinkharderdev
1y ago
> It just refuses to work with non-UTF-8 files at all -- is this less sloppy? You can debate whether it is sloppy but I think an error is much better than silently corrupting data. > The best approach is to treat data as opaque bytes
71.
▲
by
thinkharderdev
1y ago
Yeah, I've always found it a bit puzzling how companies like OpenAI/Anthropic have such high valuations. Like what is the actual business model? You can sell inference-as-a-service of course but given that there are a half-dozen S
72.
▲
by
thinkharderdev
1y ago
> I've regularly wondered how much of the slow battery degradation in these car battery packs is "cheating". Using the word "cheating" has a very negative valence, but it's not exactly a secret that EV batte
73.
▲
by
thinkharderdev
1y ago
How well does the expression detection scale with number of columns? If I am reading Table 4 correctly FastLanes is ~10x slower at encoding than parquet+snappy (which seems a reasonable tradeoff for the better compression and scan times) bu
74.
▲
by
thinkharderdev
1y ago
I think in practice this would just lead to a class of staffers who actually ran everything.
75.
▲
by
thinkharderdev
1y ago
You don't trust people who run a massive-scale streaming video platform to have the technical chops to generate random numbers?
76.
▲
by
thinkharderdev
1y ago
Yes, absolutely. Just like I'm willing to pay for due process for everyone charged with a crime in this country.
77.
▲
by
thinkharderdev
1y ago
You are confusing two separate things: 1. What to do with people apprehended entering the country illegally and who then claim asylum. 2. What to do with people already inside the country who are suspected of being here illegally. The first
78.
▲
by
thinkharderdev
1y ago
Deporting people who are in the country illegally is in line with the constitution. Deporting people without due process is not.
79.
▲
by
thinkharderdev
1y ago
> But that is not representative of a real app Many, many real apps process millions of events per second. You may not have worked on any of them but that does not mean they don't exist.
80.
▲
by
thinkharderdev
1y ago
My wife started snoring pretty badly while she was pregnant so ended up buying these earplugs https://www.amazon.com/dp/B0DPH7HNT1 . I've never been able to sleep in the foam earplugs as they either fall out or the
81.
▲
by
thinkharderdev
1y ago
The CIA triad is a framework for threat modeling, not a threat model in and of itself. And what those specific terms mean will also be very system-specific.
82.
▲
by
thinkharderdev
1y ago
That seems a bit circular to me. Of course you distrust someone you think is lying to you or manipulating you. That is what distrust means isn't it? The question is why you think you are being lied to or manipulated to begin with.
83.
▲
by
thinkharderdev
1y ago
I think the answer is obvious, no? Because there may be products that can make your life better but you don't know about them. It's a bit like asking "why would you ever want a medical treatment you didn't know existed?&
84.
▲
by
thinkharderdev
2y ago
For me, the killer features were the metaprogramming abilities (both type and macro based). Not so much because I used them directly but because they allowed library authors to create extremely expressive libraries.
85.
▲
by
thinkharderdev
2y ago
I think the use case is mostly dev servers, either remote machines running in the cloud or docker containers running locally. I don't use VSCode much, but the one thing I do use it for is when I need to do something linux-specific. I s
86.
▲
by
thinkharderdev
2y ago
I spent 10 years or so mostly writing Scala and now am entirely using Rust. I found the transition really easy. Where I work now has historically been a Scala shop and is moving more and more towards Rust as the default. In my experience en
87.
▲
by
thinkharderdev
2y ago
Asking if the implication is true that having more dependencies is on net bad for security for a complex system. The alternative being reimplementing whatever you would otherwise pull in a third-party dependency for. On the one hand, you re
88.
▲
by
thinkharderdev
2y ago
Is it? You know for a fact that there are bugs in some of your dependencies. But how many bugs would the code you wrote from scratch instead of adding a dependency have?
89.
▲
by
thinkharderdev
2y ago
If there were a multi-billion dollar industry of scammers always trying to trick them into taking the screws out of things so they could steal from them, then no I probably wouldn't buy them anything with visible screws.
90.
▲
by
thinkharderdev
2y ago
I read the Einstein biography. Highly recommended. But to the parents point, I came way think Einstein was a huge asshole, especially given his pop culture representation as a kindly old grandfather type.
More ›