Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,596 karma · joined Dec 4, 2013 (12y ago) · 4,865 submissions

email: I'll add a suitable email one of these days
Submissions

comment 2y ago · link · parent

> it’s fucking depressing when even the fucking bare minimum form of regulation is followed to the letter and no more, because every company out there fucking hates you and would sell you out to make a bit more money if they legally could. and even if they couldn’t, who’s going to stop them?

Certainly not any government. If you think the EU's regulation are of any help to the consumer you are gravely mistaken. The EU is quickly becoming a fucking nightmare to live in. "The more corrupt the state, the more numerous the laws". The meme that goes around atm is that while Elon Musk created Tesla, SpaceX and Starlink the EU managed to get everybody to now have plastic bottles who do not close properly anymore: due to some regulation that mandates that bottle caps must hold to the bottle, weird only partially-functional mechanism have been created and it's a PITA to either drink from a plastic bottle or, worse, try to lay it horizontally in a fridge.

That's what the EU is: probably that some politicians or bureaucrats with enough brain cells to recognize a bottle cap on the ground thought "I've got an idea to make the EU better, let's mandate every bottle to have a cap that cannot be separated from the bottle".

As a result you lay horizontally a plastic bottle of sugary drink in your fridge (because you've been used to do that for decades) and now all your fridge is sticky due to the bottle leaking.

It's all that is wrong with the EU bureaucrats in one example.

Also hailing the EU as the savior vs Microsoft when our lives becames miserable with EU consent cookie popups virtually everywhere is a bit thick.

comment 2y ago · link · parent

> People seem to get stuck on mantras that simple things are inherently fragile which isn't really true...

Ofc it isn't true.

Kubernetes was designed at Google at a time when Google was already a behemoth. 99.99% of all startups and SMEs out there shall never ever have the same scaling issues and automation needs that Google has.

Now that said... When you begin running VMs and containers, even only a very few of them, you immediately run into issues and then you begin to think: "Kubernetes is the solution". And it is. But it is also, in many cases, a solution to a problem you created. Still... the justification for creating that problem, if you're not Google scale, are highly disputable.

And, deep down, there's another very fundamental issue IMO: many of those "let's have only one process in one container" solutions actually mean "we're totally unable to write portable software working on several configs, so let's start with a machine with zero libs and dependencies and install exactly the minimum deps needed to make our ultra-fragile piece of shit of a software kinda work. And because it's still going to be a brittle piece of shit, let's make sure we use heartbeats and try to shut it down and back up again once it'll invariably have memory leaked and/or whatnots".

Then you also gained the right to be sloppy in the software you write: not respecting it. Treating it as cattle to be slaughtered, so it can be shitty. But you've now added an insane layer of complexity.

How do you like your uninitialized var when a container launchs but then silently doesn't work as expected? How do you like them logs in that case? Someone here as described the lack of instant failure on any uninitialized var as the "billion dollar mistake of the devops world".

Meanwhile look at some proper software like, say, the Linux kernel or a distro like Debian. Or compile Emacs or a browser from source and marvel at what's happening. Sure, there may be hickups but it works. On many configs. On many different hardware. On many different architectures. These are robust software that don't need to be "pid 1 on a pristine filesystem" to work properly.

In a way this whole "let's have all our software each as pid 1 each on a pristine OS and filesystem" is an admission of a very deep and profound failure of our entire field.

I don't think it's something to be celebrated.

And don't get me started on security: you know have ultra complicated LANs and VLANs, with a near impossible to monitor traffic, with shitloads of ports open everywhere, the most gigantic attack surface of them all and heartbeats and whatsnots constantly polluting the network, where nobody doesn't even know anymore what's going on. Where the only actual security seems to rely on the firewall being up and correctly configured, which is incredibly complicated to do seen the insane network complexity you added to your stack. "Oh wait, I have an idea, let's make configuring the firewall a service!" (and make sure to not forget to initialize one of the countless var or it'll all silently break and just be not be configuring firewalling for anything).

Now though love is true love: even at home I'm running an hypervisor with VMs and OCI containers ; )

comment 2y ago · link · parent

> Power suppliers don't like this because it favors cheaper sources of power that push their more expensive legacy generation out of the market.

Meanwhile a common scam in several EU countries consists in having the power supplier that is either fully state-owned or officially a private company but actually state-ran behind the scenes and... They force you to give back any excess power for free to the grid.

At the same time ofc they pass crazy laws mandating most of the energy generated to be sold for pennies on the dollar to other state ran companies, while then reselling it based on the price of... natural gas. It's quite the wonderful state-ran scam. Some politicians denounced that scam when electricity prices skyrocketted in France etc. a few years ago.

So not only do they steal people's produced energy but they also make sure to resell it at an inflated price, while their little friends in fake privately owned companies are lining up their pockets (the scheme is very probably complete with illegal kickbacks to the politicians).

I know not one but two person who have powering on on-demand... Cryptocurrency mining equipment (for some GPU based ones)! This way they make sure to not give back for free electricity to the state. Sucks but it's what it is. Wouldn't be that way if these people were paid for that excess energy.

They simply don't want to encourage this government ran electricity scam.

comment 2y ago · link · parent

:(

comment 2y ago · link · parent

Others who know that better than me and commented but... First time I read that, as a kid, here was I plugging my headphones into the input jack of my parents' soundsystem and, sure enough, it worked as mic (although at as super ultra low volume but I clearly remember it worked).

comment 2y ago · link · parent

Oh that's interesting: can you tell a bit more? What does it do better than Portainer? Or is it precisely because you can do it all from a terminal that you prefer it?

comment 2y ago · link · parent

So it's not unlike Portainer, but in a terminal?

comment 2y ago · link · parent

> I need to experiment and learn with a lot of stuff, this includes OCI containers

OK understandable ofc.

> Running virtual machines on OpenBSD is really limited, running programs headless with one core and poor performance is not a good incentive to work at staying sharp.

Can someone explain this a bit more? I mean: I also run both VMs and OCI containers (well, Docker really atm) but what's that about "headless with one core" OpenBSD thing?

OpenBSD can run a VM but it's limited to one core and there can be no GPU passthrough? Is that what she means? That she can only access the VMs through the network?

No GPU passthrough would indeed be kinda a deal breaker for me too.

> I moved from OpenBSD to Qubes OS for almost everything

(a bit of a rant but it's related to TFA from a "what a dev may need" point of view)

I like that Qubes OS focuses on security, something which, for example, Proxmox seems to have an interest approaching about zero. Sure you can contenairize and virtualize but the Proxmox host itself, the "hypervisor" has countless ports open by default "because you'll need them for insecure lots of insecure protocols here and the entire Proxmox security seems to rely on only the firewall. Firewall which, moreover, sometimes resets by itself to "ACCEPT" everything by default.

I run Proxmox on a server and I did a proof-of-concept, running Proxmox as my desktop, using GPU passthrough from a VM to my main display (requires quite a bit of setup and settings and may or may not work on some hardware, but it's darn sweet when it works: one GPU for the host, one GPU for the guest(s)). It works. I know some are using that setup (including some Proxmox devs) on their workstation. But, sheesh, does the Proxmox team seem to care more about a shiny UI than security.

So, basically to be too far from TFA: leaving OpenBSD (considered to be ultra secure) for QubeOS... Does QubeOS really deliver more on security compared to another efficient alternative, like Proxmox? (don't get me wrong: I know that QubeOS is meant to be a desktop, which Proxmox not so much... I just wonder if QubeOS is really secure compared to OpenBSD).

In this day and age of AI models (for those who want to run some locally) requiring fat GPUs and lots of configuration on the software side and with the pace at which new models are coming out, I think nothing beats an hypervisor and VMs using GPU(s) passthrough. This way you can quickly test new models, install tens of them, backup working VMs or containers, etc.

I can see how OpenBSD is negatively affected by that: a 4090 or 5090 (or two in the same machine FWIW: a friend of mine runs just that, two 4090 using GPU passthrough) is quite something. The world, atm, shifted towards GPU. That's why NVidia is enjoying such a market cap.

Although Bluetooth and gamepad do not matter, it looks like OpenBSD may be missing something here if the GPU and GPU passthrough story is subpar.

In a "the world is moving" way.

At least in my case, after reading a TFA like this, I don't see why I'd run OpenBSD... Except as a firewall in front of my Proxmox machines (which badly need that) ; )

P.S: don't mistake this rant for me not loving Proxmox. It's just that I wished they cared less about "shiny" and "convenience" and more about not opening every single port and service under the sun on the host. Something which QubeOS may be better at.

comment 2y ago · link · parent

How old is that article? (not that it's bad but it feels a bit old)

It references very old Linux kernels, Slackware 10 (released in 2004), old hardware with little RAM, it talks about iptables (it still exists and the syntax is fine, but it's just now mostly an abstraction/compatibility layer on top of nftables) and there's no mention of IPv6 (if I'm not mistaken on most stacks now DNS queries are made for both IPv4 and IPv6).

comment 2y ago · link · parent

"born secret", maybe. But by a US government program? Lately besides corruption and inefficiencies, the government didn't have much to show. NASA go trounced hard by SpaceX.

The Kamala "broadband" project did cost $42 billion to taxpayers and not one home has been connected with this new program. In nearly four years. Zero. Meanwhile StarLink is actually connecting people.

Be it NVidia, OpenAI, Meta, Google, etc. all the models are coming from private companies. The government metastasized and seems to be unable to do anything besides create more pointless public servants.

They could spent 1 trillion on this (what's 1 trillion when you spent $42 billion to not connect a single home to broadband? and what's a trillion when you're already 36 trillion in debt), I still don't think the US goverment could beat private companies. Too much bureaucracy. Too many people with the sole goal of making the government ever bigger.

Now on a positive note (I guess), I'll grant everybody that it's even less likely that AGI would from the EU bureaucracy.

comment 2y ago · link · parent

> The FireWood backdoor, in a file named dbus, is the Linux OS continuation of the Project Wood malware... > The analyzed code suggests that the file usbdev.ko is a kernel driver module working as a rootkit to hide processes.

Where is the backdoor coming from? If there's a backdoor, something is backdoored. An unknown exploit installing a rootkit and using a modified file, like usbdev.ko, is not a backdoor.

Which pakage / OS ships with the backdoor?

Or doesn't the author of TFA know the definition of a backdoor? Or is it me? I mean, to me the XZ utils exploit attempt was a backdoor (for example). But I see nothing here indicating the exploit they're talking about is a backdoor.

It reads like they classify anything opening ports and trying to evade detection as "backdoors".

Am I going nuts?

comment 2y ago · link · parent

> The core of Christianity is a worldview that sees itself as the default—morally superior, culturally “pure,” and universally applicable. This mindset has left us with a moral infrastructure that treats anything outside its narrow lens as a deviation or a threat. Ideas around sexuality, gender roles, family structures, and “American values” all trace back to a code written centuries ago, designed to control rather than to adapt. The effects are everywhere: in the way laws still echo puritanical standards, in a foreign policy that often disguises cultural dominance as benevolence, and in a public education system that insists on whitewashed history while marginalizing everyone else’s stories.

Where do you draw the line?

I draw the line when I see old men wearing skirts and nylons, reading stories to kids in school, while pushing for little boys to have their dick cut off (without the parent knowing) as soon as they don't feel well ("oh you don't feel well, that's because this dumb society tells you you're a boy, but deep inside you, see, I know you identify as a girl"). I see that as a treat. This kind of reading happens every in the EU. Some are even famous "performers".

But where do you draw the line? Old men wearing skirts and nylons reading stories to kids in schools (often without the parents knowning) is totally fine?

OK... Another one.

What about a performance where kids were brought to see a naked man, spreading his anus while crawling among vegetables, as part of a performance to "explain biodiversity to kids" or something like that. Happened in France. Parents weren't exactly thrilled and the "performer" was, of course, a misunderstood artist.

Still no line drawing?

OK another one. What about people in southern america, centuries ago, who used to torture kids for as long as possible to extract as many tears as they could from the kid, before sacrificing them to their god?

Is that a line you're willing to draw? Torturing kids for as long as possible to extract tears?

What about natives in northern america and Africa who were eating other humans?

Want a more recent one? What about a terrorist calling his mom, all ecstatic, explaining her he just strangled several jews, including kids, with his bare hands? Certainly that's totally fine because jewish are oppressors?

But, yup, evil white man and evil Christ (I'm no christian but I can recognize that one prophet as a figure of peace: I'm not saying that everything made in the name of christianity was/is peaceful but Christ is at least a figure of peace... Which is definitely not the case for all prophets of all religions btw, so pick your fight wisely).

Fuck your moral relativism.

comment 2y ago · link · parent

> Christine Lagarde has chosen to issue an extraordinarily vivid warning: Europe’s social models are utterly unsustainable.

This was known since decades. Even before the common Euro currency was introduced. I remember chinese economists (and China ain't exactly a pro-freedom, 100% capitalist country) making fun of europeans explaining that their wellfare states were totally unsustainable.

These social(ist) models are built on creating ever more debt to grow ever bigger, ever more inefficient, public services.

It is coming to an end. And no amount of state-bred, state-fed, state-raised, state-loving Piketty economists coming up with ultra-simplistic formulas while being paid by the money won by others are going to change that.

Has there ever been one country where socialism didn't grow too big of a government and, eventually, "run out of the money of others"? (I think it's Tatcher who used that phrasing)

I'm from the EU and we have zero mag 7. No StarLink. No SpaceX. From 2008 to 2023 the US economy grew by 50%. The EU? I don't even want to know.

It's a mindset and with that mindset we're fading into complete and total irrelevancy.

comment 2y ago · link · parent

Biden is a puppet. He was on vacation while the authorization (bypassing congress) to use western-gifted long range missiles was given to Ukraine.

comment 2y ago · link · parent

> However, why would they invite mutually assured destruction now, when the incoming US administration is likely to give them most of what they want?

That's the thing: there are people who are desperate to start a full-on war before Jan 20. So they're doing everything they can to tease Putin into breaking before Jan 20.

If I had to go all-in with my money, my bet would be that's it's the exact same group of people who conspired to do the assassination attempt on July 13.

In addition to that the amount of money that has been laundered and the kickbacks happening with the Ukraine war funding has to be beyond imagination too. Zero accountability.

So yup I don't buy the whole "Ukraine (despite having ancestors from Kiev and ukrainian roots: my mother has an Urkainian name) all good / Russia all bad".

comment 2y ago · link · parent

> It should be pretty fun when WW3 starts ...

Which may happen as some people just got Biden to authorize (honestly I don't think he can do that by himself), without congress approval, the use of long range missiles by Ukraine.

Some people are really hard at work trying to start WWIII.

I don't think it's the russian who severed those cables.

Russia knows that if WWIII doesn't start until a few more weeks, Trump is probably going to stop the US aiding Ukraine and stop the US giving its approval for total nonsense (like allowing these long range missiles weeks before handing over the presidency).

So why would Russia severe those cable?

I think there's a very high probability the bad actors here are the same that used Biden as a puppet to give Ukraine the greenlight to fire long range missile on to Russia.

comment 2y ago · link · parent

Is this an algorithm in the family of "2D bin packing"?

As for packing sprites for games... I remember the fun on very constrained devices where many of the sprites where actually more round than square. So it was about packing both rectangles (for tiles and "rectangle" sprites) and packing circles too. The size of the spritesheet had to be kept small but in memory things were okay'ish (as in: a "round" sprite could be extracted from the spritesheet in its own rectangle).

Thankfully thing is: this can be done with a much more powerful machine than the device the sprite sheet shall eventually be on.

comment 2y ago · link · parent

Are the screen more sturdy than on the MacBook Air M1? I really didn't like my M1 dying overnight after 13 months, when the base warranty had just expired and apple asked me 67% (!) of the price of what I paid the M1 to fix the screen. I didn't and I use it as a desktop since then, hooked to an external monitor.

For comparison, my LG Gram can be casually thrown down concrete stairs [1] and shall happily keep working.

I'm not asking for something as incredible as that LG Gram's screen (from a reliability point of view) but I'd like to know if these newer MacBook laptops have screens less fragile than the first M1 laptops.

[1] Not my vid but it's my experience with that laptop. Cat can jump on it, previous owner did step on it while waking up: do that to a Mac M1 laptop and it dies instantly. But my "MILSPEC" LG Gram: you cannot really damage that laptop (look at 35 seconds):

https://youtu.be/herYV5TJ_m8

comment 2y ago · link · parent

> How do you deal with lack of types?

Not GP but I'm using Clojure for both the front-end (ClojureScript) and the "back-end" (server running Clojure), sharing Clojure code between the two.

Clojure is not typed but I use Clojure specs. It's not a type system but it's really nice. You can spec everything, including specc'ing functions: for example you can do stuff like: "while in dev, verify that this function returns indeed a collection that is actually sorted everytime it is called". I'm not saying: "no types + clojure specs" beats types but it exists and it helps to solve some of the things types are useful for.

https://clojure.org/guides/spec

comment 2y ago · link · parent

File over online app. I'm all for it.

But I'm not concerned about the ability to read this or that obscure file format in three decades: just look at the retro community accessing files in old formats for the C64 or whatever old machine.

In a way we know have "app as file": be it a container build file or a complete VM, we can emulate pretty much anything and everything as long as it doesn't depend on something online.

Any app, on any OS, as long as it doesn't require a proprietary online server, can be emulated or virtualized.

I can run the old DOS programs I wrote back in 1990 or so, decoding weird picture file formats. I've got an emulator running on a Pi hooked to an adapter in my vintage arcade cab emulating thousands of arcade games.

If anything it is easier to access all those old apps and file formats today then back in the days, because you can manipulate them from a much more powerful system.

Rant done, off to Proxmox to create a container installing QEMU to emulate a Raspberry Pi 2 (it's more convenient to test in an emulator and then deploy later on on the real thing).

comment 2y ago · link · parent

> We have finite resources, if the effort to correct is minimal what's the harm?

That mentality at Boeing as, literally, costed many lives.

The harm is that nobody knows why there's a memory leak requiring a reboot (or if it's even a memory leak). What happens when that very same issue is combined with a rare case and causes the death of hundreds of people?

"Have you tried to turn it off and on again" may be fine for a $20 Internet-of-insecure-and-shitty-Thing bought on alibaba. Not so much when lives are at play.

comment 2y ago · link · parent

Back when cars had hardly any anti-theft mechanism, we'd put hidden toggle switch(es) that'd cut off the fuel pump and other stuff. In the 90s we'd get fancier and use (in addition to hidden toggle switch(es)) stuff like custom made transponder thinggies: we'd have a female port installed on the dashboard and the corresponding male "jack" on our keychain. These took a few hours to install and would shut some wires at different points.

They were "dumb" in a way (it was obvious looking at the dashboard that a car had such a system installed) but not easy to remove: you had to follow the wiring for a long time to find where the various cut-off points where installed.

Funnily enough after 30 years or so many of these transponders (?) start failing and it's a very common cause of youngtimer cars being stuck on the side of the road. While a dumb hidden toggle switch shall pretty much work forever (but is easier to neutralize as you only need to find the switch).

A toggle switch is literally less than $5 and trivially installed.

For added fun you can also add stuff directly on the fuses: they're easier to find but there are more advanced kits (for example you plug it on an important fuse and then you've got a remote on your keychain to "unlock" the mechanism).

I mean: yup, you can look into cryptography and install this and that software countermeasure.

Or, you, know, you can install (or have installed) a $5 toggle switch.

P.S: this made me think... I'll probably install a fake toggle switch, obvious to be found, linked to the highest non legal alarm I can find on alibaba. So if anyone tries to steal the car, he'll toggle the switch and trigger the alarm. That's dumb as heck and yet may work just fine.

comment 2y ago · link · parent

I saw a turntable at a shop recently and my inner classifier went: "Oh a DSTOM turntable, that's sweet!"

https://www.project-audio.com/en/product/the-dark-side-of-th...

I was kinda expecting the model in your picture to make the link with the album cover.

comment 2y ago · link · parent

> Having an internal monologue (thinking in words/sentences) is actually a minority thing.

I'm often in robotic mode but as soon as I "think", it's internal monologue (either in french or in english and, maybe maybe maybe, sometimes in code!?).

But I don't have that "stock market ticker tape" thinggamagic: never happened to me to visualize words like that.

comment 2y ago · link · parent

In "Wipeout" on the original Playstation there's the famous "Firestarter" song by Prodigy. It's the, slowed down, amen break too I think:

https://youtu.be/V_b5-RWOfMo

EDIT: yup it's in TFA, facepalming myself.

comment 2y ago · link · parent

> The FBI is NOT an organization that’s dedicated to keeping Americans safe.

The new Attorney General just said that if the FBI doesn't now begin to serve the interest of the american people, he'd get rid of the FBI altogether.

So using the FBI for political targeting may very well soon.

comment 2y ago · link · parent

Some still haven't seen this picture:

https://en.wikipedia.org/wiki/Operation_Overlord#/media/File...

I don't think we can really comprehend how big an operation that was. A movie like "Saving Private Ryan" was incredibly good (especially the scene on the beach front) but didn't come anywhere close to show anything resembling that picture.

comment 2y ago · link · parent

> I'd love to actually buy music and store it myself...

Qobuz. For a start they only do lossless: no mp3. We're soon a quarter of a century into the 21st: gone are the Napster days of needing to stream mp3s.

Then Qobuz often has albums in higher quality than 44.1 kHz / 16-bit stereo. Not that you'll hear the difference: but artists/sound engineer going to the trouble of offering higher sample rate / bit depth typically do care about producing good sounding music so there's that.

Then Qobuz allows you to do precisely what you want: you can buy individual tracks or full albums to download, no DRM.

I've got both a collection of audio files I ripped myself from my own CDs (which I keep too), in a 100% bitperfect / lossless way (verified with an online DB of people who also ripped their CDs) and a Qobuz subscription.

The one criticism about Qobuz would be that music discovery ain't the best out there: the UI is actually quite bad. But it's good stuff for people who care about quality and who love to own their music.

Most network streaming devices now support Qobuz: for example I've got a fully integrated Yamaha amp that contains a network streamer (Yamaha R-N1000A) and MusicCast (Yamaha's music streaming app, like Sonos I guess but Yamaha) supports Qobuz (and Tidal and Spotify).

You don't just rent temporary access to an online service that may disappear under your feet or remove songs you used to listen to: you can actually buy and own individual tracks.

Check the plans they have: depending on how many songs you buy, one may be better than the other.

IIUC Spotify, under the pressure of both Tidal and Qobuz, announced they'll be moving to lossless streaming. It's 2024. At fucking last.

1
757677
163