Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,595 karma · joined Dec 4, 2013 (12y ago) · 4,861 submissions

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

comment 8mo ago · link · parent

> On a 34" ultrawide monitor, it was too easy to put YouTube running on the left side

This has zero to do with an ultra-wide monitor and all to do with a lack of self-discipline.

I bought one of the first 38" ultra-wide monitor that came out from LG and, ten years later, I'm still rocking on it every day.

You know what? My main computer doesn't even have sound. You read that correctly. No sound. So no Youtube vids. No games. Not that I'd be tempted: but because I've got actually zero need for sound on that machine.

And I'm no luddite: I've got two servers at home, more in datacenters, countless Pi's, NUCs, and laptops. But on my work machine: it is no sound and a 38" ultra-wide.

If you need to use a monitor the size of a stamp to make sure you can't run youtube vids at the same time you're working, the issue is you, not the monitor.

comment 8mo ago · link · parent

> The Commission loves to have little deals away from the public where everything is quietly smoothed over ...

And there's money spent lobbying in Brussels (where the EU Commission is) than lobbying in the entire US.

And corrupt eurocrats are known to be very cheap whores.

comment 8mo ago · link · parent

Exactly the same. Moreover my main work machine, the one I call my "workstation", doesn't even have sound. No videos. No meetings from that one. And that's the machine to which the Yubikeys are hooked.

I've got plenty of machines, including that one shitty laptop I trust even less than the rest. Arguably the only way to operate securely is to consider that most devices in your house (and at work) are compromised and hostile, that most networks are trying to fuck you up (for example not HTTP at my home: simply none, it's not allowed) and that they're really out there to get you. And, yet, to have a setup that works.

Same things with my phones: I've got one real phone, with two apps I added to it. Country's mandatory EID app and brokerage's 2FA app. And that's it. Nothing else. Nada. Zilch. One phone, two apps. No email account. Nothing.

Then I've got another phone, with another subscription, where I've got Telegram, that app to see the targets at the shooting range (long distance shooting: there are webcams in front of targets so you can see where you hit), the home automation apps, etc. All those shitty phone apps developped by clueless devs: they go on that phone. The email? Some throwaway email account I don't care about. You can 0-day that phone: I wouldn't give a shit. And I tell people: "My name on Telegram ain't my real name" and they love it. Non-technical people: they begin to understand and they love it.

People are going to need to step up their security game big times now for I think we're in for quite a wild ride.

I know it's bad but I'm not going to say there's not some schadenfreude seeing what happens to those who were calling others "paranoid".

I mean: we're talking about people "quickly installing software (as admin/root)" on their main machine.

The road is going to be long for it's an entire shift of mindset that's now required.

Convenience vs security: you pick. Video call vs major project compromised: you pick.

comment 8mo ago · link · parent

Don't know about that research but I certainly have read many HN comments made by those who drank the AI kool-aid (and I write this as someone using Claude Code CLI daily) where any semblance of logical thinking was gone.

comment 8mo ago · link · parent

> Just like Doom-in-a-PDF, this is in equal measure incredibly impressive and utterly horrifying that it's possible.

Yes but at the same time we now have options... For example it's now totally possible to do the following:

    - intercept any PDF downloaded
    - send it to a sandboxed app before opening
    - open it from withing the sandbox
    - headlessly screenshot every page to images
    - pull the pictures (one per page) out of the sandbox
    - reconstruct a similar PDF from the pictures
It's not hard and it can literally be vibe coded in a few prompts (because it's really not hard).

Some people are going to say: "But PDFs aren't supposed to be PICTURES, it has to be searchable, so we want our Turing-complete, exploits-ridden, 2 GB big PDF readers running as admin/root and we insist, we repeat INSIST, to have our ability to open any unkown PDF from any proprietary PDF readers for that is the way!".

Thing is: we know have tool that can extract text from pictures too and they work perfectly fine.

So, yup, the surface attack PDFs have is utterly horrifying but we're already at a point where we can just honey-badge any potentially evil PDF into a well-behaving one.

comment 8mo ago · link · parent

Since a few years now I only ever use SSH private keys safely hidden behind a HSM with a tinier than tiny attack surface: Yubikeys do it for me (but other vendors would work too). My SSH keys do not have a password but when I log in using SSH, it requires me to physically touch my Yubikey (well one of my Yubikeys).

comment 8mo ago · link · parent

I didn't see in TFA --although I may have missed it-- where it said it was replacing the ISP's router/CPE. Anything routing traffic is a router.

At home I've got both a CPE given by my ISP and my own router that routes and bridges traffic between two LANs of mine (192. and 10.).

Moreover the lack of IPv6 inside our own LANs is, for many of us, a feature. It doesn't mean we don't have an IPv6 address: it just means we have the choice and did choose to have our own LANs on IPv4 only. And, no, I don't care that it makes some programmers at some megacorp' lives more difficult to "reach" inside my networks.

I'm the boss at my home and my router is IPv4 only.

And I've got that in addition to my ISP's CPE.

comment 8mo ago · link · parent

So to look at the "unreasonable effectiveness of cash transfers" to raise a country's average, we are supposed to look at an experiment in Kenya, which is 168th in the world in GDP per capita!?

Instead of, you know, looking at how, say, western countries did actually raise the standard of living?

comment 8mo ago · link · parent

> I suspect it's not very significant: we're flushing a 20+ year backlog, and generally the rate at which vulnerabilities are created is lower today.

The thing is: if these new AI tools can find a backlog of old bugs, these tools can very obviously be used on code that hasn't been pushed yet. And they'll find potential bugs there too. And so the rate at which new vulns are created is soon going to be even much, much, much lower.

Now of course I'm talking about serious projects like the Linux kernel in TFA: real stuff that powers the real-world. If we're talking about OpenClaw who decided to launch a startup based on a "Write me a clone of MySpace but with a Web design from the 2020s" prompt, then all bets are off.

The nice thing with using AI tools to find bugs is that there's not much ambiguity: a bug, if proven to be a bug, has to be squashed. It doesn't matter how it was found: even the AI doubters can accept there's a bug and that something has to be done about it.

Using AI tools to fix bugs in the Linux kernel is IMO much more impressive than "Write me the 10 000th MySpace clone but using a Web design from the 2020s".

comment 8mo ago · link · parent

TFA's author is literally saying it may happen. He's using AI so he already caught the wave. He's augmenting himself with AI tools. He's not saying "AI will never surpass humans at writing programs". He writes:

" At this particular moment, human developers are especially valuable, because of the transitional period we’re living through."

You and GP are both attacking him on a strawman: it's not clear why.

We're seeing countless AI slop and the enshittification and lower uptime for services day after day.

To anyone using these tools seriously on a daily basis it's totally obvious there are,

TODAY*, shortcomings.

TFA doesn't talk about tomorrow. It talks about today.

comment 8mo ago · link · parent

This reminds me of Linus Torvalds about Git, criticizing that SVN did present itself as "CVS done right" for... "It's impossible to get CVS right". Which I found incredibly funny and witty.

Is the second coming of Wordpress what we really need?

comment 8mo ago · link · parent

> These are just TUIs that call a model endpoint with some shell-out commands.

Claude Code CLI is actually horrible: it's a full headless browser rendering that's then converted in real-time to text to show in the terminal. And that fact leaks to the user: when the model outputs ASCII, the converter shall happily convert it to Unicode (no latter than yesterday there was a TFA complaining about Unicode characters breaking Unix pipes / parsers expecting ASCII commands).

It's ultra annoying during debugging sessions (that is not when in a full agentic loop where it YOLOs a solution): you can't easily cut/paste from the CLI because the output you get is not what the model did output.

Mega, mega, mega annoying.

What should be something simple becomes a rube-goldberg machinery that, of course, fucks up something fundamental: converting the model's characters to something else is just pathetically bad.

Anyone from Anthropic reading? Get your shit together: if you keep this "headless browser rendering converted to text", at least do not fucking modify the characters.*

comment 8mo ago · link · parent

> I can't imagine the pain of removing each paper sticker and have it shred into various tiny bits and while leaving some sticky gum behind.

One product many have at home (if they've got a wife or if they're a woman): nail polish remover. This is a magical tool for it's ubiquitous. Sure, you can go and buy the proper stuff: but this one many already have some at home.

It works also should sticky stuff fall from trees on your car's windshield (do not use it on the car paint). It's really miracle stuff.

I also "steal" my wife's nail polish itself: I love to put marks on components so I know where they should be plugged. Even on my guns: there are pins that go one side but the other (say the two pins to take apart the lower and upper receiver of many rifles), so I mark them with nail polish from different colors. Cables on motherboard? Color code with nail polish: both on the mobo and on the cable.

Now you don't it to attack the plastic of the box: quickly wipe the sticky gum then clean it with some water.

Besides that from TFA:

> The first thing I did was get rid of every opaque container I owned. Every toolbox, every parts organizer with little pockets, anything I couldn't see through.

I saw a friend of mine doing that 25 years ago and immediately adopted that technique.

comment 8mo ago · link · parent

> ... drones

Regarding drones they are, by definition, not very sturdy: for they're drones and not B52 bombers or bunkers.

What's very likely going to happen is that, just I can take a Browning B525 Sporter balltrap shotgun and shoot any civilian drone from afar because the gun shoots an expanding cloud of tiny, cheap, pellets, armies are now going to come up with systems to both defend and destroy drones.

I'm not saying the drones used in war are the same as DJI drones: what I'm saying is that with the proper tech, they're much less expensive to take down than, say, a ballistic missile or an aircraft carrier.

Anyone seeing this conflict and thinking that the militaro-industrial complex isn't hard at work working on solutions to take down drones is smoking heavy stuff.

Ukrainian and Russian did it already (although it's nothing serious, it's just an example): here we were talking about actual tiny drones, carrying explosives, and running towards vehicles. As a cheap defense measures, they started immediately adding metallic "spikes" (not unlike hairs) to the vehicles, so that the drone wouldn't reach the vehicle's body and instead explode when hitting the mettalic spikes.

War has always been about "tech x" / "anti tech x". This time is not going to be different.

> Though I do worry about the possibility of a more sophisticated opponent being able to launch swarms of drones and missiles at aircraft carriers.

China. They're demos of thousands of drones fully synchronized in the sky at night making nice 3D patterns with everybody on the ground going "aaaah" and "wooooow" is a display of military capability.

I'm not saying it's not a concern: but it's not as if the US (and others) were going to sit and think "oh drones exists, the concept of war is over".

comment 8mo ago · link · parent

The part of TFA that does it for me: "Every bash command runs through 23 numbered security checks in bashSecurity.ts, including 18 blocked Zsh builtins, defense against Zsh equals expansion (=curl bypassing permission checks for curl), unicode zero-width space injection, IFS null-byte injection, and a malformed token bypass found during HackerOne review.".

AGI is definitely around the corner. Or not.

comment 8mo ago · link · parent

Then you've got ecosystems like Clojure where many projects are just considered done and used by many. You can pin these (and be warned if a new version still comes out, say for an actual security fix). There are Clojure projects so stable, without any know exploit (we're certainly not talking about daily npm exploits here), that haven't been updated in years because they are... Done. Simply done. Perfection.

Something to reflect upon too.

comment 8mo ago · link · parent

> but raw.githubusercontent.com would be as it doesn't allow data to be submitted to it

But raw.githubusercontent.com still contains code and now the attacker can publish the code he wants no!?

Don't get me wrong: I love the idea to secure as much as possible. I'm running VMs and containerizing and I eat firewalling rules for breakfast, my own unbound DNS with hundreds of thousands (if not millions) of domains blocked, etc. I'm not the "YOLO" kind of guy.

But I don't understand what's that different between raw.githubusercontent.com and github.com? Is it for exploits that are not directly in the source code? Can you explain a bit more?

comment 8mo ago · link · parent

OK thanks to you all... Oh well I guess you can't have it all but for casual use I take it from the comments here it's still the way to go.

comment 8mo ago · link · parent

For a cheap (about 500 EUR) enclosed 3D printer, what would HN recommend? I know two persons with the Bambu P2S and they seem happy with it. One of them is printing stuff daily since forever. He also showed me incredible prints using filaments with carbon inside and the result is jaw dropping (but it costs something like 6x the price of regular filaments).

Is one brand better than the other? Are they all pretty much the same by now?

comment 8mo ago · link · parent

> Uses em dashes (--), smart quotes, Unicode characters that break parsers

Re- the Unicode chars that are a major PITA when they're used when they shouldn't, there's a problem with Claude Code CLI: there's a mismatch between what the model (say Sonnet) thinks he's outputting (which he's actually is) and what the user sees at the terminal.

I'm pretty sure it's due to the Rube-Goldberg heavy machinery that they decided to use, where they first render the response in a headless browser, then in real-time convert it back to text mode.

I don't know if there's a setting to not have that insane behavior kicking in: it's non-sensical that what the user gets to see is not what the model did output, while at the same time having the model "thinking" the user is getting the proper output.

If you ask to append all it's messages (to the user) to a file, you can see, say, perfectly fine ASCII tables neatly indented in all their ASCII glory and then... Fucked up Unicode monstrosity in the Claude Code CLI terminal. Due to whatever mad conversion that happened automatically: but worse, the model has zero idea these automated conversions are happening.

I don't know if there are options for that but it sure as heck ain't intuitive to find.

And it's really problematic when you need to dig into an issue and actually discuss with "the thing".

Anyway, time for a rant... I'm paying my subscription but overall working with these tools feels like driving at 200 mph on the highway and bumping into the guardrails left and right every second to then, eventually, crash the car into the building where you're supposed to go.

It "works", for some definition of "working".

The number of errors these things confidently make is through the roof. And people believe that having them figure the error themselves for trivial stuff is somehow a sane way to operate.

They're basically saying: "Oh no it's not a problem that it's telling me this error message is because of a dependency mismatch between two libraries while it's actually a logic error, because in the end after x pass where it's going to say it's actually because of that other thing --oh wait no because of that fourth thing-- it'll actually figure out the error and correct it".

"Because it's agentic", so it's oh-so-intelligent.

When it's actually trying the most completely dumbfucktarded things in the most crazy way possible to solve issues.

I won't get started on me pasting a test case showing that the code it wrote is failing for it to answer me: "Oh but that's a behavioral problem, not a logic problem". That thing is distorting words to try to not lose face. It's wild.

I may cancel my subscription and wait two or three more releases for these models and the tooling around them to get better before jumping back in.

Btw if they're so good, why are the tools so sucky: how comes they haven't written yet amazing tooling to deal with all their idiosynchrasies?

We're literally talking about TFA which wrote "Unicode characters that break parsers" (and I've noticed the exact same when trying to debug agentic thinking loops).

That's at the level of mediocrity of output from these tools (or proprietary wrappers around these tools we don't control) that we are atm.

I know, I know: "I'm doing it wrong because I'm not a prompt engineer" and "I'm not agentic enough" and "I don't have enough skills to write skills". But you're only fooling yourself.

comment 8mo ago · link · parent

> What does Sylve provide that proxmox doesn't?

A Un*x system that doesn't use systemd as an init system.

comment 8mo ago · link · parent

> They explain a lot of things but I can't see the advantage over prox other than they wanted to use it.

A huge, totally obvious, advantage is that FreeBSD isn't using systemd. I'm now nearly systemd-free, if not for Proxmox. But my VMs are systemd free. And, by definition, my containers too (where basically the entire point is that there's a PID 1 for the service and that PID 1, in a container is not systemd).

So the last piece missing for me is getting rid of Proxmox because Proxmox is using systemd.

I was thinking about going straight to FreeBSD+bhyve (the hypervisor) but that felt a bit raw. FreeBSD+Sylve (using bhyve under the hood) seems to be, at long last, my way out of systemd.

I've got several servers at home with Proxmox but I never, on purpose, relied too much on Proxmox: I kept it to the bare minimum. I create VMs and use cloudinit and tried to have most of it automated and always made it with the idea of getting rid of Promox.

I've got nothing against Proxmox but fuck systemd. Just fuck that system.

comment 8mo ago · link · parent

> This way I can focus on coding and less on tweaking my environment.

I made myself my own pixel-perfect perfect font, more than 10 years ago. I simply copy it from one system to the next one when I upgrade (either the machine or the OS).

It's basically a modified pixel-perfect Terminus font, but with some elements mixed from an old pixel-perfect Monaco font and some modification of mine.

Something I cannot live without is a tall pipe symbol. And my pipe symbol must have a hole in it in the middle (and it cannot be mistaken for an exclamation mark).

I've got the following as a quick test. The reason for a,b,c,e is to verify that <>,{},[], etc. all perfectly align vertically.

Everything is correct, to the pixel.

I don't believe in anti-aliasing for a coding font, not even on a retina display, and I love my 3840x1600 pixels 38" monitor and it's pixel size is perfect to me.

    RA $|-sSTtf the little fortran

    gqy z2Z s5S 8B CG6 DO uv ;; these should look different (8 / B is difficult to get right)
    a!?aA!    [a]
    b!?b      {b}
    c?!d      (c)
    c?c       <e>
    c!c

    if ( a && b || c & d) { [0x88, 0x42, 0xFA, 0xdeadcafebabe]; }

    *if ( a && b || c & d) { [0x88, 0x42, 0xFA, 0xdeadcafebabe]; }*

    ;; found somewhere
    lnt foob1x -= {(0)} "'foo'bar";
    int foOblx == ((0)) 'foo`bar`' `"':
    |nt f0obIx += {{o}} '"O08! LIl1i!!| 7?
the lowercase 's' has a shorter upper bar and the lowercase 'l' is stylised.

The thing is: I obsessed for days, creating my own pixel-perfect font. And I don't need to tweak it anymore: it's perfect (to me, YMMV) and I use it ever since.

Can't share it as I reused both Terminus and chars from Monaco.

FWIW I had more than 10/10 eyesight (once you get at 10, there are additional tests) and in my entire life I've never seen one person beat me at the "read sign on the highway". Pixel-perfect font, no AA, custom made font for me. YMMV. Haters gonna hate.

comment 8mo ago · link · parent

> The perfect machine back then was a 100MHz Pentium, in a slimline desktop case. At the time, the Pentium III was the current desktop chip, so you'd have a pile of early Pentium-class machines to use. And even a 10mb ISA network card (3Com if possible) would have plenty of power for the internet connections of the day.

I was doing the same. Router and firewall on old Pentium CPUs. I don't have these machines anymore but I still have HDDs from back then with post-it notes on them saying stuff like: "Linux firewall / HDD 120 GB". For whatever reason my HDDs adapter that can read just about everything doesn't have the correct pin out for those HDDs. Would be a blast if they were to still boot: at some point I'll just buy a compatible adapter and see what I can find on those HDDs. I was very likely also saving some backups there.

But really my best memory was years (I think) before 120 GB HDDs became an affordable thing, in the super early Slackware days, on a dial-up connection: I had a 486 desktop computer and I'd share the Internet connection to a very old laptop (!) using... PLIP. A printer cable and the Parallel Line Internet Protocol. Amazing hack: my brother and I could then both use Netscape at the same time and to us this felt like a glimpse into the future.

comment 8mo ago · link · parent

Harsher sentencing doesn't work? This is provably false.

From 6600 homicides in 2015 (108 --one hundred and height-- per 100 000 citizens) to 82 homicides in 2025 (1.28 -- one POINT 28 per 100 000 citizens).

That's a 98.8% reduction in homicides in 11 years. By going hard on criminals:

https://en.wikipedia.org/wiki/Crime_in_El_Salvador

These are actual numbers.

A 98.8% reduction in homicide rates (98.8 for the population was slightly lower in 2015 than in 2025: the 98.8% figure is correct) is not something that can be dismissed.

But in the west the left thinks we should be all nice and gentle with criminals. The problem is that being all nice and gentle with criminals is being evil to all the woman raped and the family of those killed.

A recent example is that young ukrainian refugee woman who fled war in Ukraine only to be killed in the US by a repeated offender on which lefist judges had been repeatedly extremely soft.

I'm sorry but I vote for the Nayib Bukele's El Salvador solution and not for Bloomberg/book authors/west uni teachers' "let's soft on crime" / "we must go past blame" (SBF's mom) etc.

Criminals should be taken by the scruff of the neck and the state should show them who's got the monopoly on violence.

comment 8mo ago · link · parent

> I'm also shocked to see how prolific FGM is too (230 million women?!)

And talk to any gyn doc in the west: it's happening among those communities in the west too (but on a lesser scale). In several EU western countries the most common gynelogical surgery act is re-building the hymen (so that the woman can pretend she's a virgin once she marries, often forcibly by her family). You may not have gyn doctors friend but I do. And midwives. And they know.

"... surveys show that the practice of FGM is highly concentrated in a swath of countries from the Atlantic coast to the Horn of Africa, in areas of the Middle East such as Iraq and Yemen and in some countries in Asia like Indonesia, with wide variations in prevalence. The practice is almost universal in Somalia, Guinea and Djibouti, with levels of 90 per cent or higher, while it affects no more than 1 per cent of girls and women in Cameroon and Uganda"

Now from Wikipedia:

https://en.wikipedia.org/wiki/Religious_views_on_female_geni...

"FGM is practised predominantly within certain Muslim societies,[13] but it also exists within some adjacent Christian and animist groups.[14] The practice is not required by Islam and fatwas have been issued forbidding FGM,[15] favouring it,[16] or leaving the decision to parents but advising against it."

Let's call a cat: of these 230 mutilated women, a vast majority are muslims. There are 900 million muslim women on earth and nearly 1/4th of them have been mutilated by their community.

Ponder this.

comment 8mo ago · link · parent

> All the infrastructure that runs the whole AI-over-the-internet juggernaut is essentially all open source.

Exactly.

> Heck, even Claude Code would be far less useful without grep, diff, git, head, etc.

It wouldn't even work. It's constantly using those.

I remember reading a Claude Code CLI install doc and the first thing was "we need ripgrep" with zero shame.

All these tools also all basically run on top of Linux: with Claude Code actually installing, on Windows and MacOS, a full linux VM on the system.

It's all open-source command line tools, an open-source OS and piping program one to the other. I'm on Linux on the desktop (and servers ofc) since the Slackware days... And I was right all along.

comment 8mo ago · link · parent

> The problem it solves is efficiently calculating the height of some wrapped text on a web page, without actually rendering that text to the page first (very expensive).

But in the end, in a browser, the actual text rendering is still done by the browser?

It's a library that allows to "do stuff" before the browser renders the actual text, but by still having the browser render, eventually, the actual text?

Or is this thing actually doing the final rendering of the text too?

comment 8mo ago · link · parent

Apple is disgusting from that standpoint. I have my MacBook Air M1's screen break overnight (the "bendgate"), without any reason, after 13 months. I didn't buy the extended two years warranty. I was one-month off warranty. On a MacBook Air M1 I paid something like 1000 EUR VAT included (don't remember the exact price but in that ballpark), they were asking 700 EUR to fix the screen.

I still just ordered a MacMini M4 (I know the M5 is coming but we've got something like 20 computers at home, including servers, NUCs, laptops, desktop, etc. so I may not mind buying a M5).

Still... Apple, from the bottom of my heart: FUCK YOU.

1
343536
163