Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dgb23
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
181.
▲
by
dgb23
10mo ago
Switzerland taxes wealth instead of capital gains (except for professional investors). In some ways taxing wealth is quite simple, because wealth is already meticulously recorded via contracts and owners go out of their way to estimate the
182.
▲
by
dgb23
10mo ago
This might sound stupid or obvious to some, but I found a way to read books more frequently: Read multiple books at once. For some reason, I read more often and am more motivated when I can switch between books. When I tried to focus on jus
183.
▲
by
dgb23
11mo ago
Galvanizing!
184.
▲
by
dgb23
11mo ago
> I mean do plumbers have an advent of plumbing where they try and unblock shit filled toilets for fun? Yes, plumbers and other types of craftspeople and technicians do also have these little fun competitions. Why shouldn't they? I
185.
▲
by
dgb23
11mo ago
Not just the economy. We usually deal with these busts and crisis collectively through the public sector as well. There's also a hidden opportunity cost in regards to hype cycles. So much energy, attention and money flows into the hype
186.
▲
by
dgb23
11mo ago
Boom and bust hype cycles have always been a feature of capitalism, especially for advanced technology. Perhaps the only way to know the limit is to overshoot.
187.
▲
by
dgb23
11mo ago
The pipe operator example omits the typical way you would write this code in any language: simply by introducing temporary variables or by shadowing. The url parse example is not being compared to the builtin parse_url function that is just
188.
▲
by
dgb23
11mo ago
Typical users of this likely don't care the slightest about whether anyone considers it an anti-pattern, because you use those in order to write utility scripts. And those who care would use tooling to detect issues like that anyways.
189.
▲
by
dgb23
11mo ago
Many of the newer features have this problem. Like the match keyword, enums, closures etc. They are half-baked versions of what could be powerful and expressive features. Meanwhile it seemingly abandoned features and unique selling points,
190.
▲
by
dgb23
11mo ago
PHP has introduced breaking changes, deprecations etc. in a somewhat rapid fashion. PHP doesn't prioritize stability, but language features and cleanup. It's an impressive technical endeavor that has its merits, but comes with a t
191.
▲
by
dgb23
11mo ago
GDPR is not a cookie regulation it is a tracking regulation.
192.
▲
by
dgb23
11mo ago
We had a do-not-track header that has been deprecated. Simply enforcing the header legally and having it on by default would suffice and it would be much easier to test, because it's not bespoke from the client side of things.
193.
▲
by
dgb23
1y ago
It has in a way! See: https://github.com/ziglang/zig/blob/master/lib/init/src/main...
194.
▲
by
dgb23
1y ago
You can set read and write timeouts on TCP sockets: https://linux.die.net/man/3/setsockopt Zig has a posix API layer.
195.
▲
by
dgb23
1y ago
This is the only explanation here I can intuitively understand!
196.
▲
by
dgb23
1y ago
I second that, having just relatively recently used the native browser APis for image processing. While it felt a bit awkward to use, it served its purpose pretty well. If I needed more, I would probably not use Go anyways, but a sharper to
197.
▲
by
dgb23
1y ago
A knife that both slices and toasts the bread at the same time would be even better!
198.
▲
by
dgb23
1y ago
I‘m not against coping strategies, they are useful. I‘m against scamming and dishonesty. I also don’t think ignoring the actual problems is the way to go, on the contrary.
199.
▲
by
dgb23
1y ago
If we're thinking of the same picture: That kid is real, it has a severe condition that needs medical attention. It's not the general case, but an extreme one, but that doesn't make the problems any less urgent.
200.
▲
by
dgb23
1y ago
That's not the "root" of the problem but just a coping strategy. The root of the problem has something to do with the scammer.
201.
▲
by
dgb23
1y ago
If „select *“ breaks your code, then there‘s something wrong with your code. I think Rich Hickey talked about this. Providing more than is needed should never be a breaking change. Certain languages, formats and tools do this correctly by d
202.
▲
by
dgb23
1y ago
Or just generate them in bulk and take them from a list?
203.
▲
by
dgb23
1y ago
The workers website looks extremely based. Love the evocative animations and it manages to still be readable and well organized.
204.
▲
by
dgb23
1y ago
Now there is a difference from what the article is talking about and what you are talking about and I think that's quite important, because we tend to mix these things up often. The article describes domain modeling, what you describe
205.
▲
by
dgb23
1y ago
Not OP but I think the insight was to treat them as first class objects that are interacted with directly. The implementation itself seems secondary.
206.
▲
by
dgb23
1y ago
That’s not true at all. Over 25% of the population are foreigners and over 40% of citizens have a immigration background. Immigrants often become more Swiss than traditional residents, whether they are from Albania, Italy, Turkey or Germany
207.
▲
by
dgb23
1y ago
Well said. Yes, direct democracy is the most cherished part of our politics. It also contributes to stability and decentralizes power as you said.
208.
▲
by
dgb23
1y ago
As a counterweight from a Swiss: Yes, Switzerland is in many ways liberal, but I think there are other major factors that the article misses. For one, our infrastructure is in large parts owned by the public. Energy production is owned by c
209.
▲
by
dgb23
1y ago
They actually taste like tomatoes. Unfortunate that they can be a bit difficult to grow. Very weather dependent.
210.
▲
by
dgb23
1y ago
My wife doesn’t let me buy tomatoes in winter. And even summer tomatoes are bland in comparison to the ones one would get in a mediterran region or the ones she grows in our garden. It’s not even the same ballpark.
More ›