Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
derriz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
301.
▲
by
derriz
2y ago
Sure, for simple flows-of-control, GC buys you little and an RAII type approach is fine. But RAII really only works if lifecycle and ownership spans are reflected in the lexical structure of the code base. RAII relies on creation and clea
302.
▲
by
derriz
2y ago
I switched back recently (from Kotlin to Java). I'm not 100% happy with the switch. Despite new Java features, it comes nowhere near providing Kotlin's terseness. But a few of the reasons that made me try this switch include be
303.
▲
by
derriz
3y ago
Maybe but it makes much less sense to me. The meaning of “the love of money is the root of all kinds of evil” is very different to “the love of money is the root of all evil”. The former seems like a reasonable claim. The latter is surely
304.
▲
by
derriz
3y ago
Yep - same. My public repos show but not my private one.
305.
▲
by
derriz
3y ago
Investing in the (broad) index doesn’t promise a positive real return. It promises lower volatility than any stock picking strategy. If you want exposure to the Japanese economy, then index investing is still the right choice if you want t
306.
▲
Portland nuclear power startup NuScale hit with investor lawsuit
(opb.org)
2 points
by
derriz
3y ago
|
0 comments
307.
▲
by
derriz
3y ago
Agree completely. Having used a bunch of parser generators (Antlr and bison most extensively) and written a parser combinator library, I came to the conclusion that they're a complete waste of time for practical applications. A hand-w
308.
▲
by
derriz
3y ago
Ok, but I was responding to the OP claim that dividends were subject to a flat 20% rate. This is not the case - dividend income is added to your earned income for income tax purposes.
309.
▲
by
derriz
3y ago
I’ve been a tax payer in Ireland, Switzerland and the UK. Dividends are treated as income in all three. However, from some superficial googling, it seems these 3 are not a particularly representative sample - without fully researching it,
310.
▲
by
derriz
3y ago
Not for people earning more than 50k or so a year. Ireland’s income tax system is progressive in the extreme - those earning over 50k pay over 75% of the income tax collected despite constituting about 20% of the workforce. About a third o
311.
▲
by
derriz
3y ago
Aren’t dividends taxed as income in the UK? I’m not certain but superficial googling seems to confirm it. They certainly are in other European jurisdictions so this “pay yourself dividends” does nothing to reduce tax paid.
312.
▲
by
derriz
3y ago
I had a similar experience. When I had one, I used it frequently but when I lost it, I never felt inclined to buy a replacement. I never loved it. I feel that this _type_ of device may have a mass-market future but we are a few generation
313.
▲
by
derriz
3y ago
Plenty of obvious villains in this story but where was the legal system in all this? 900 prosecutions without any real evidence or just because “the computer says so”? As one of the 3 pillars, isn’t the legal system and judiciary supposed
314.
▲
by
derriz
3y ago
Manufacturing never left the US - at $2.5T of output (2021) it's easily the highest it's ever been - almost 40% higher than 10 years previous[1]. What has changed is the proportion of working people employed in manufacturing - whi
315.
▲
by
derriz
3y ago
I assume it's that I expressed myself poorly. Let me state the analogy directly. Consider the problems as analogous in term of technological advancement: generating electricity and travelling/getting from A to B. The tendency is
316.
▲
by
derriz
3y ago
Henry Ford is reputed to have said that if he had asked what people wanted, they would have said faster horses. I feel that nuclear proponents are stuck arguing for "faster horses". For the last 300 years or so, humans have harne
317.
▲
by
derriz
3y ago
I tried it once but didn't have much joy using bazel under MacOS - has this changed? I've never had an issue with maven on non-linux platforms which is what you come to expect with the JVM ecosystem. Although I've limited ex
318.
▲
by
derriz
3y ago
Not sure what's impractical about a four story building? Without lifts/elevators, four stories hits the sweet spot in terms of density vs accessibility. Of course, if you consider any building older than 100 years to be "imp
319.
▲
by
derriz
3y ago
Unlikely given that Germany has been the biggest exporter of electricity in the world for 13 of the last 15 years. https://oec.world/en/profile/hs/electricity
320.
▲
by
derriz
3y ago
A bit hyperbolic, no? If you consider it "the weirdest ever", I'm guessing that I'm probably older than you. I've certainly been using regex long before PCRE became common. As a vim user I compose 10s if not 100s o
321.
▲
by
derriz
3y ago
I find myself returning to grep from my default of rg because I'm just too lazy to learn a new regex language. Stuff like word boundaries "\<word\>" or multiple patterns "\(one\|two\)".
322.
▲
by
derriz
3y ago
The fundamental issue with git is that it doesn’t have branches. What git calls a “branch” is a misnomer - it should be called a version/commit pointer. In a tree of versions/commits a single pointer does not identify a "pa
323.
▲
by
derriz
3y ago
Fiddling around with FM, I've found it easy to dial in interesting sounds but very difficult to find sounds that are "musical" so it's difficult to actually incorporate them into a piece of music. I guess the wild succe
324.
▲
by
derriz
3y ago
Could you explain. I'd guess "Arschloch"? The translation of "bad language" is very tricky. English is my mother tongue but I live in a German (sort-of, it's complicated) speaking country. I've learned t
325.
▲
by
derriz
3y ago
I’ve done this before, don’t remember regretting it and always wonder why more don’t do it. I’ve even avoided any logging configuration files by configuring programmatically during application startup. I like minimal application configura
326.
▲
by
derriz
3y ago
With vim, "u" always moves back in time through the undo history, CTRL-r forward. "." repeats the last action which changed some text but not stuff like moves or going forward/backward through the undo history. nvi
327.
▲
by
derriz
3y ago
Yes - why are some many strangely dissatisfied with the obvious way to deploy panels - it's just too simple? Panels are cheap, steel frames are cheap and there's plenty of cheap land available. And such a set-up is very cheap an
328.
▲
by
derriz
3y ago
Nuclear is nowhere near as reliable as you are claiming. In 2022, more than half the French reactor fleet had to be taken offline at some stage or another - output over the year was 65% of the previous year. In August of that year, nuclear
329.
▲
by
derriz
3y ago
It's easy to underestimate his erudition and intelligence, probably because of his always seemed to impaired by booze. Decades ago I was on a train in Ireland and he was sitting at the table opposite to him. Like most on the train car
330.
▲
by
derriz
3y ago
He got into Westminster public school via a scholarship but was expelled after a few years.
More ›