HN user

maybeOneDay

258 karma
Posts0
Comments78
View on HN
No posts found.

According to looking at a 1,000 line code file on my machine right now, a million lines is about 48mb. You think > 10 million lines of code are required for security in an app?

Tangentially related - I recently picked up a retro gaming handheld from Aliexpress for the meagre sum of £50, which is capable of playing consoles from gameboy to snes to playstation 1, and apparently even a smattering of N64 and dreamcast (with poor performance).

There are a dizzying array of options (game boy form factor, horizontal, clamshell design ala the advance SP), and although I'm sure the build quality leaves a lot to be desired, for my personal circumstances of "I'm travelling a lot but can't quite justify a steam deck right now" it has truly been an utter delight. There's a scene of various custom firmwares to install, and apps for these firmwares to add various functionality.

I'd encourage anyone who feels a desire to play some emulated games check out /r/SBCGaming to see what's out there!

Just don't ignore the warnings that these devices don't negotiate USB C charging correctly, and also buy yourself a very small weak charger...

I'd love to see an analysis of proposed reforms since 2010 that have tried to do anything other than move the NHS towards not being socialized medicine. I suspect the list would be vanishingly small.

Maybe this is me "weaponising" the NHS but you're going to have to provide a bit more evidence if you're making such a bold claim.

I agree there should be a military and a defense industry which is _different_ from our current system. I believe anyone working for the _current_ system is likely to be causing harm greater than the good they also cause.

Malevolent implies intent. I'm sure that there are non evil people who are working for BAE. I'm also sure that the vast majority of them have facilitated far more innocent death than worthy defense of life.

casualties suffered by our armed forces in combat would be far higher

I have not supported any of the military action my nation has taken in my lifetime and any casualties are primarily a result of the greed (for power, votes, or wealth) of those in power. The lack of equipment has acutely caused casualties, but the existence of the military industrial complex has caused the wars in which they take place.

I'm not saying I have the great solution to end all war and create world peace. But I can't see a reason other than naivety, apathy, or propaganda that someone could work for BAE and think they are doing good in the world.

Sure. I do not argue that we should abolish the military and all defence industry. I _do_ argue that the military industrial complex is by and large profit driven and motivated by greed not the desire to protect its citizens. I do believe that anyone working for, for example, BAE systems is on average making the world a (much) worse place. I don't believe the individuals involved are necessarily morally bankrupt themselves.

I do indeed make the choice to not work in the defence industry as opposed to helping building such systems. So in effect, yes I do nothing. I can't argue that the military does not to some level protect me - I do believe that in my (western EU) country the military and the arms trade is almost exclusively, right now, dedicated towards either atrocities, proxy wars, or selling to Saudi Arabia et al. Call me naive and argue that without these things my loved ones and I would be at risk, but I could never personally support the current system we have, and I question the degree to which those who believe they are doing good, on average, are in fact doing so.

Name a country that develops high tech weaponry and doesn't do one of the two:

- Use it for evil purposes

- Sell it to other nations that then use it for evil purposes

Anyone involved in the defence industry is complicit in the death of innocents, your third option is a fallacy.

I agree that DRM isn't ideal either.

Well, it's not that anyone is necessarily perfect. But the other major console players certainly seem better - if I bought a PS4 game a few years ago then I can reasonably expect to still play it on PS6 and probably onwards. X360 games have been brought back to life by MSoft.

Steam is generally pretty good yeah but it doesn't have the issue of consecutive consoles to deal with.

Do you have a source on your claim that 7k of sporadic and slow walking is categorically worse than a 5 minute walk that is fast?

I think that is a rather counter intuitive claim, 7k steps is about 5-6km whereas a 5 minute walk even at blistering pace is an order of magnitude less.

Anti-patterns are rarely as absolute as you're making this out to be. Sure, I agree, lots of times it's better to store xml or json literals not in code. But for something three lines long it's perfectly fine, more readable, and trivial. This new proposal makes it elegant to do so, the only issue is that the @"" syntax should never have been used and unfortunately now we are proposing a third string literal syntax. That I don't like.

You've perfectly demonstrated one motivation for this proposal: your string literal is incorrect. Verbatim strings in C# require " to be escaped, your string should be:

    var xml = @"
        <element attr=""content"">
          <body>
          </body>
        </element>";

Don't get me wrong, this is some absolute BS from MSoft, but no it's not accurate to say you can't use whatever default browser you want. It's that there are a very few select things that force you into opening a link in edge - as far as I'm aware this is functionality mostly limited to just websearch from the start menu. So if you prefer to Google/DuckDuckGo your shit by first opening a browser, this won't really affect you. It's important philosophically and as an indicator of Msoft's behaviour/strategy, but doesn't considerably affect users too much.

Caveat - I haven't used Windows 11 so I'm unaware if they've enhanced the number of places that these edge specific links are used. In windows 10 I haven't even bothered to implement some workaround because I never want to search the web from my start menu

Source on dev machines being more powerful?

I wasn't aware that was common practice. I assume this is for ease of playtesting a game before any optimisation phases have happened? I wonder whether it has a setting to convert down to actual PS5 power levels.

And you can get away calling it 'runs on ps5'.

Of course. Sigh...

This may be a noob question - how do you go about filling in the other side of that abstraction in the JS (presumably) post transpilation? Is it just that you had a set of files in JS developed separately and the build/deployment system could inject those files in specific expected areas?