Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dgb23
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
601.
▲
by
dgb23
3y ago
She illustrates several (not one) general techniques that can be applied in different situations.
602.
▲
by
dgb23
3y ago
Many have tried, nobody succeeded. Bash scripts are extremely useful and productive for their niche. You'd have to change a whole lot of things to match that.
603.
▲
by
dgb23
3y ago
> I'm also a bit sad to hear that Strange Loop is now finished? I only found them last year or so and it seemed like so many of the talks were exceptional quality. You might want to watch Alex Miller's talk that has been upload
604.
▲
by
dgb23
3y ago
A possibly radical way of fixing the SQL clause order would be to introduce "project" which behaves like "select" but can be put in the right place.
605.
▲
by
dgb23
3y ago
Even if you don't actually track users? > We use Google Analytics to measure how you use the website so we can improve it based on user needs. Google Analytics sets cookies that store anonymised information about how you got to the
606.
▲
by
dgb23
3y ago
Interesting work! I haven’t ever even thought about the issues laid out here in such detail. At first I was scratching my head, but the strength of a sorting guarantee actually might matter a lot more than I first thought. Assuming that som
607.
▲
by
dgb23
3y ago
A somewhat decent analogy of thinking about TCP is a single lane queue with a security guy who's ordering people around and making sure the queue is orderly and doesn't overflow. He has pretty much no respect for families, groups
608.
▲
by
dgb23
3y ago
Looks like they forgot that we are hitting a cache that isn't configured the same way.
609.
▲
by
dgb23
3y ago
In the case of websockets that is already handled for you. I think GP talks about how to think about communication (client server). Stateless request response cycles are much simpler to reason about because it synchronizes messages by defau
610.
▲
by
dgb23
3y ago
Exactly my thoughts! The article and many commenters here all talk about programmer ergonomics, productivity and "correctness". The current research shows that these things are neither improved nor weakened by static typing. There
611.
▲
by
dgb23
3y ago
This argument seems sound. Amazon is not a neutral entity or a public space. It's a private platform with its own interests that are very often in conflict with sellers. There is this weird cultural expectation of platforms and platfor
612.
▲
by
dgb23
3y ago
The separation often makes sense with long lived data. A lot of data is fleeting. For example when you construct a struct out of sub-pieces. Many of those probably just live on the stack or are otherwise temporary. This type of data is pass
613.
▲
by
dgb23
3y ago
I disagree. To me, Discord is a huge barrier. I use it when I have to. But it‘s bloated, slow and complicated. I don’t want to run it constantly because of that, and it takes very long to start up. The machine I use is fairly recent btw. I
614.
▲
by
dgb23
3y ago
As a beginner I treated and understood (SQL) databases as something I have to use in order to store stuff. Later I was excited about the power and expressiveness of SQL and its extensions. There is a ton of leverage and you can make it so t
615.
▲
by
dgb23
3y ago
The maximum url length is typically quite long. Another thing is that you don’t necessarily need to encode uuids canonically. They are just u128’s. It’s relatively straightforward to find a url friendly string representation that is shorter
616.
▲
by
dgb23
3y ago
It’s interesting that the wisdoms of “buy, don’t build” and “NiH” etc. seem to be shifting in general. I think a lot of people have been realizing through the pain of maintenance that dependencies are liabilities and that general, open sour
617.
▲
by
dgb23
3y ago
That comes off as too targeted. This instance shows a few _general_ problems: 1. Compensation is a function of power, not merit. Merit is a secondary, indirect factor that _can_ have an effect on power, but it's not a necessary conditi
618.
▲
by
dgb23
3y ago
Clever! But what problem does this actually solve? When I see a type alias of a string and enumerated variants then why would I pass in arbitrary strings? There are _always_ ways to break assumptions. Putting arbitrary, complex guard rails
619.
▲
by
dgb23
3y ago
You demonstrated that you can deliberately circumvent it.
620.
▲
by
dgb23
3y ago
> So, based on your views, socialists are incapable of genocide? Since it could be an imperialist smear campaign? That doesn't follow does it. Why would you try to assume that I don't understand basic logic? Whether you live in
621.
▲
by
dgb23
3y ago
That's not what "genocide denial" means. This was perhaps wrong judgement in hindsight. Calling this or other things "genocide denial" and similarly extreme terms is a common tactic in order to craft an ad-hominem a
622.
▲
by
dgb23
3y ago
You seem to mix things up? He has been very critical of "socialist" countries, especially towards their underlying political ideology.
623.
▲
by
dgb23
3y ago
That's not true.
624.
▲
by
dgb23
3y ago
Wait that’s interesting and I haven’t formulated it this way. It reminds me of A Philosophy of Software Design: The utility of a module (or any form of encapsulation such as a function) is greater, the smaller the interface relative to the
625.
▲
by
dgb23
3y ago
This is amazing! I've been thinking about writing a debugger (for learning how they work etc.). This series is going to be a massive help!
626.
▲
by
dgb23
3y ago
You can get rid of Docker either way.
627.
▲
by
dgb23
3y ago
The Rust code doesn't handle errors. It just propagates them.
628.
▲
by
dgb23
3y ago
The JVM GC has a generational model. It first allocates objects into an arena like structure. In a second step, it moves (evacuates) long lived objects into a compact region. The first region gets deallocated at once after. Roughly speaking
629.
▲
by
dgb23
3y ago
A very informative article, that brings up important pain points and problems. I didn't agree with this sentiment though: > In a recent benchmark, async Rust was 2x faster than threads, but the absolute difference was only 10ms per
630.
▲
by
dgb23
3y ago
That’s exactly right. And this is not just a “mental anguish” or “skill issue”. It’s a fundamental issue: Hierarchical naming and categorization sucks. In 95% of the cases, you want sets or even graphs rather than trees. You _might_ be gett
More ›