HNHacker News
TopNewBestAskShowJobs

oxff

812 karma · joined January 12, 2022

submissionscomments
oxff··on Software development topics I've changed my mind on after 6 years in dev
I guess it used to be more of a problem before languages started shipping their own linters and code styles (like Rust does), or agreed to use a single tool. Kind of a legacy artifact.
oxff··on Germany to Rethink Nuclear Shutdown as Energy Crisis Deepens
Maybe I chose the wrong word. It is intentional result of the policies, so how can there be a 'crisis'? Everyone knew where the path would lead, so how can there be such a thing as surprise, as if it were an accident?
oxff··on Germany to Rethink Nuclear Shutdown as Energy Crisis Deepens
"Crisis" is the wrong word to use when the actions taken by governments and endorsed by the democratic voters logically lead you to the obvious conclusions.

Sure, we have a hilariously rocketing energy prices. But this is not an accident. It was easily predictable result of their actions.

oxff··on To download from Google Drive, you must enable third party cookies?
Can't do that when Firefox simply isn't good enough. Vivaldi beats it in features and what I need from browser as a power-user.
oxff··on FCC: TikTok is unacceptable security risk and should be removed from app stores
Of course the rules don't get applied to Western companies, that is a ridiculous proposition: to ask a state to limit its own power.

> The problem should be that the data is collected and provided to the government whenever they want

Maybe in someone's ideal world that doesn't exist this could be the problem formulation. In real world, TikTok is not strictly under control of EUSIAN blob so it's a threat and it's natural for state to restrict its influence.

oxff··on Ask HN: Is having a personal blog/brand worth it for you?
> Personal

Not in this day and age when you might lose a job if they find out you support Trump or aren't on-board with progressive egregores. Too much risk.

oxff··on The slow march of progress in programming language tooling
It is underrated how hard it was Microsoft with VSCode that made e.g. Language Server a mandatory / must have for any non-joke language.
oxff··on Bayes Rules – An Introduction to Applied Bayesian Modeling (2021)
The 'hardest' part is realizing that basically everyone reasons this way unless taught otherwise. The books do a lot of hard work to cover this up.
oxff··on I've started using Firefox and can never go back to Chrome
I use Vivaldi, it is slowest of them all, but it is the best browser overall ime.
oxff··on Ask HN: Does HN do anything to prevent AI-grade bots?
Trivial steps to reduce most of the spam / future spam:

1. Make the HN accounts scarce

2. And / or make them cost some bitcoin

oxff··on Ask HN: Do Interns Create Value?
I doubt companies would hire interns (here, internships are paid at roughly junior wages) if they didn't create value.
oxff··on Ask HN: What is best way to do hands-on practice for system design?
Build a system. That's how you learn.
oxff··on Looming natural gas shortages has the EU scrambling for solutions
> The expectation that the result of "letting it happen" ...

EU and USA are letting it happen though: there is no military deployment to Ukraine to protect it, and (my guess is) there will not be.

oxff··on Rust should not have provided `unwrap`
Sometimes you don't want to use `?` though, not every function is made to return a Result / Option.
oxff··on Looming natural gas shortages has the EU scrambling for solutions
I am not credentialed, I am a Bad Person (I have my own Thoughts); as for "intel", I have none either.

I find these given cause-and-effect chains in defense of the sanctions and other actions largely to be magical thinking and hysterical (they'd be less so if they were actually backed by the proof-of-work of deploying to protect Ukraine).

Like, I don't care about the Ruble in itself. I was told that it would be flattened in two weeks. Well it wasn't, so we failed there. Okay, so next goal post is to pretend Ruble going up and down has helped Ukraine's strategic or operational capabilities or hurt Russia's, materially altered the course of the war. Well that's magical thinking, they were supposed to run out of missiles in two weeks somewhere around March, and it was like day or two ago they made their largest missile strike (which have been more or less continuous).

A NATO deployment would alter the outcome of the war, and that single action is not coming.

oxff··on Looming natural gas shortages has the EU scrambling for solutions
It stops when NATO deploys there. NATO will not deploy there.

So, more sanctions I guess. It is immoral if any EU citizen has heating this winter when that could be going to Ukraine.

oxff··on Looming natural gas shortages has the EU scrambling for solutions
> I mean, are you suggesting we go to war with Russia directly? That's not going to help with the natural gas shortage.

I am stating that going to war with Russia is the only way to walk the walk and be provably morally good over the issue. The sanctions are just a particularly expensive form of virtue signaling that does not alter the outcome of the war, but makes EU leaders Feel Good.

> Don't think we should be giving Russia money it can use to pay its soldiers and build more weapons.

And I disagree, my extended family is already in troubles and the proper price increase doesn't even come until winter.

It's not a "don't think" question either. Would I like to be energy independent? Of course. Can I currently? No, not without risking energy security for winter. So I would pay (but EU has decided it is a Moral Bad, and tells me to warm myself with Moral Good).

Suffering ~10%+ inflation and having no guaranteed energy (all depends on Germany) for moral good boy points only helps nobody, and neither of the conditions alter the material facts on the frontline, nor does it make EU resilient either (economical turmoil has generally been a politically radicalizing agent in democracies).

It is just stupid, hysterical politics.

oxff··on Looming natural gas shortages has the EU scrambling for solutions
How are you in charge of not giving or giving some East European watering holes to Russia? Can you establish the set of facts here.

I can tell that a real NATO deployment to D & L would dramatically change the strategic goal setting of Russia, materially alter the outcome, but not sanctions if that's what you are suggesting as deciding the fate of these places.

oxff··on Looming natural gas shortages has the EU scrambling for solutions
The sanctions do nothing to stop this. They're not acting like they're a marketing firm that gets shocked because of some red in the GDP, they're on a war footing. That will only react to, you guessed it, equal force (war).
oxff··on Looming natural gas shortages has the EU scrambling for solutions
It is moralistic because moral hysteria ("goons raping children") is driving the fate of the entire trade block right now, your post was a perfect example.

Poor, lights out EU with 10-20% inflation will not in fact be a 'strong against Russia' or whatever (and this is without EU being in a war of any kind, lmao)

oxff··on Looming natural gas shortages has the EU scrambling for solutions
> Letting Russia take Ukraine would have enormous security implications long term

Yes, I am not disputing that.

I stated that the actions of EU (self-sanctions) have not, and will not affect whether or no Russia takes Ukraine though, this was the entire point of my post. It is part of what makes them so absurd.

An action that would affect would be to deploy there via strategic military action, but which our Moral Leaders are too scared (for right reasons, Russia has lots of nukes) to make. So they do this idiotic self-sanction regime to Feel Good (all paid by the tax payers and lower quality of life by people like me, who live in EU).

oxff··on Looming natural gas shortages has the EU scrambling for solutions
Yeah, so you build nuclear reactors and raise the standard of living in that case, which would be the exact opposite of what EU is doing (recommendations to reduce energy density and carrying capacity, ie. you own nothing and will be happy).
oxff··on Looming natural gas shortages has the EU scrambling for solutions
It is absurd that we're having "energy crisis" when we have the technological know-how to build nuclear energy, literally a solved problem.
oxff··on Looming natural gas shortages has the EU scrambling for solutions
I am not even using hindsight though. Even in Feb 1st you'd have to be ignorant to think the self-sanction regime will do anything.
oxff··on Looming natural gas shortages has the EU scrambling for solutions
I'm not recommending to have a nuclear war over who gets to collect vodka taxes in some East European town. I am pointing out that these people let moral foreign policy run their entire trade block and foreign policy choices, and not a cold rational calculus of any kind. All the self-sanctions have come to nothing: they have not and will not materially affect the end result of the war.

They've made me, as a citizen in an EU country, pay out of my nose for their moral betterness though, when we are not even a party to the war.

oxff··on Looming natural gas shortages has the EU scrambling for solutions
Glad to let moralistic foreign policy drive the entire trade block down the shitter (it is moralistic FP because EU did not nut up and actually deploy to protect the so-precious-Ukraine, but instead threw its own economy and living standards into chaos just so they wouldn't be mistaken to be pro-Putler).

In short, insanity.

oxff··on Lessons from Writing a Compiler
Frontend is very important if you want your language to have good IDE tooling (which most languages do not have)
oxff··on Statements vs. Expressions
Expressions `yield` values, statements don't yield values.

`square = square(4)` is a statement (a definition to be exact) that associates name `square` with the value `square(4)`.

The name `square` itself, when later used, is an expression, because when you call it, it evaluates to a value `square(4)`.

oxff··on When rustc explodes
Well, you are asking about disabling borrow checker here, one of the main selling points of Rust and rustc here so I think that's out of the question.

When you do full comparison of what rustc does, and compare it to what you need to do in C++ project to match it, the compile times aren't actually slow since rustc does more with actual guarantees.

oxff··on When rustc explodes
> The beauty of the rust async stuff is that you can move to a multi-threaded runtime as you desire with minimal effort.

This is also a downside, having multi-thread be the default and not single-thread. It introduces some awkward / accidental trait bounds that are annoying to deal with if you want to do thread-per-core type of stuff IIRC.

← PreviousPage 9 of 15Next →