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 7mo ago · link · parent

Same. Pixel-perfect Terminus for the win in my terminals and in my beloved Emacs.

comment 7mo ago · link · parent

> One of the reasons for starting to use Linux was using high quality fonts with the terminal.

Yes! Speaking of Linux, I'm personally very font of Terminus.

I like it so much my main coding font is a modified, pixel-perfect (no AA at all) version of Terminus since forever (I modified a few letters like the 'l' and the 's' and took a few glyphs from a pixel-perfect Monaco font [like %, &, @ and modified those a bit too). I did it so many years ago I don't remember the process (but I've got notes about it, so I could redo it).

I'm on a (non-retina / non 4K) 38" ultra-wide display that does 3840x1600 natively (and it's the resolution I use). I love it for I can have three 1280x1600 "columns" side by side (but I'm using a tiling WM so I've got many preset layouts anyway). YMMV.

comment 7mo ago · link · parent

> kinda ironic you can clearly see signs of Claude, as it shows misaligning table walls in the readme doc

This one is such a gigantic clusterfuck... They're mimicking ASCII tables using Unicode chars of varying length and, at times, there's also an off-by-one error. But the model (not Claude, but the model underneath it) is capable of generating ASCII tables.

P.S: I saw the future... The year is 2037 and we've got Unicode tables still not properly aligned.

comment 7mo ago · link · parent

It's sad but I'll forever remember them for having the best tagline ever on their frontpage:

    "Send messages, not metadata"
We all know who this is directed at: the project(s) pretending to offer privacy but that need to collect your cellphone and that'll happily be able to know who you exchanges messages with.

Project(s) whom, moreover, have often weird shills that, if you squint your eyes just a little bit, suddenly look like xxxINT moles.

So if only for that tagline, thanks a huge lot: metadata are more important than the content of the messages themselves and you have no privacy if your phone number and contacts are known.

comment 7mo ago · link · parent

> VGA was pretty common on 286, I even had an SVGA card on my own back in the day. And it also had protected mode but was still 16-bit.

Oh that's intriguing. Well I still have one, so now I'll have to find a VGA card and see if my code even works on a 286!

comment 7mo ago · link · parent

It's an old MS-DOS .EXE. Actually it compiles with the ".286" directive too. So I don't use protected mode.

It requires a VGA card and those were more common in 386 IIRC and, anyway, performance-wise to run at 60 Hz it needs a 386. I never tried to run it on a 286 with a VGA card: don't know if that was a thing.

It's funny looking at that old assembly code and see ax, bx, cx, dx registers and not the eax, etc. ones.

The utilities I've compiled to .EXE so far are self-contained in one file and I just use UASM to create directly the .EXE:

    uasm -mz myutil.asm
UASM v2.57 does the job in my case (note that I compile from Linux: UASM exists for several platforms/OSes):

https://www.terraspace.co.uk/uasm.html

I haven't tried yet to compile the entire game yet: that one is more involved as it implies many files.

comment 7mo ago · link · parent

> The 20 most-changed files in the last year. The file at the top is almost always the one people warn me about. “Oh yeah, that file. Everyone’s afraid to touch it.”

I've got my Emacs set up to display next to every file that is versioned the number of commits that file has been modified in (for the curious: using a modified all-the-icons-ivy-rich + custom elisp code + custom Bash scripts I wrote and it's trickier than it seems to do in a way that doesn't slows everything down). For example in the menu to open a file or open a recently visited file etc.: basically in every file list, in addition to its size, owner, permissions, etc. I also add the number of commits if it's a versioned file.

I like the fix/bug/broken search in TFA to see where the bugs gather.

comment 7mo ago · link · parent

> I really enjoyed the demoscene back in the 90s. Was never a part of it but I was always fascinated by the effects and music and ascii art that these guys created.

It was quite something... I take it there are quite a few hotshots on HN who used to be in the top groups. I was in a group and we were writing small intros for BBSes with a couple of friends and then we'd get infinite leech/upload ratio on those BBSes. Best memory was driving through Belgium / the Netherlands / Denmark / putting the car on the boat / Sweden (Uppsala) with our computers (Amiga, Atari ST and PCs) to participate at a demo compo. Forgot its name but in the PC category we tied first place with Future Crew (we would have been first had I not screwed the sound playback routine which crashed half-way the demo), before they had their big breakthrough on the PC demoscene. I think that was in 1991.

Cops/customs stopped us as the boat arrived in Sweden and thought we were dealing drugs: they tore the car apart and had no idea what we were talking about when we were explaining them in broken english that we were going to participate in a demo compo :-/

I still have a few effects as executables but I don't have the code anymore for these.

Thankfully I still have the entire source code of a game I made in assembly (for PC / 386+) in 1991 (never published but it's how my career started, long story) and lately I've been having a huge lot of fun trying to compile it again with Claude Code CLI / Sonnet. I'm using UASM, which is compatible with MASM which I used to use. I managed to have all the utilities I wrote back then (picture converters / sprites extractor / etc.) compiling and running (in DOSBox) but haven't managed to compile the main game yet. A few more hours with Claude Code CLI and I should get it running.

FWIW it's hilarious to go back to code from 1991 and see comments in my code talking about this and that bug and asking the LLM: "Find where that bug could be" and the LLM manages to find it. It's also insane the lack of version control: version control was copying entire directories. Copy/pasta code everywhere. And then 10 000 lines of code per source code file.

What an era. Diving in that old code of mine brings me back: the decades they've been flying.

P.S: funnily enough by lack of luck a macro I had used back then happen to become a reserved keyword/macro in assemblers later on. I had named back then a macro "incbin" and that was preventing my code from compiling in UASM: Claude Code / Sonnet 4.6 found that issue instantly.

P.P.S: 0x777 in hex gives 1911. RZR, legendary: probably the most legendary of them all. Probably still have a few 5"1/4 floppies (both C64 and Amiga for I had an Amiga with a little software mod to read 5"1/4 floppies as if they were 3"1/2 for the 5"1/4 were way cheaper) with Razor 1911 "cracktros" (even if they weren't called that yet) still working (back in 2020 quite a few of my floppies were still reading: maybe half to 2/3rd of them). I know it won't last, nothing will.

comment 7mo ago · link · parent

Tangential question...

Seen that many are already moving to QC-resistant cryptography and that more are shifting by the day... I've got a question: what are the implications of quantum computers going to be if we consider that the entirety of cryptography will have moved to quantum-resistant cryptography?

In other words: I only ever read about quantum computing when it's to talk about breaking cryptography. But what if all cryptography moves to quantum-resistant scheme, all of it... Then what are the uses of quantum computing? Protein folding? Logistics?

Basically, so far, quantum computing research has the effect of many companies and projects adding quantum-resistant cryptographic schemes.

If, say, we've got a $10 million quantum computer that can break one 256 bit elliptic curve key in an hour... Great, EC is broken. But what if browsers, SSH, auth, etc. just about everything moves to PQ schemes...

Then what are those quantum computers useful for?

I understand that breaking even a single EC 256 bit key in a few hours on a $$$ machine is a very big deal.

But what else are they going to be useful for? For breaking ECC doesn't help humanity. It doesn't bring anything. It only destroys.

EDIT: for example I read stuff like: "Estimates are about three years to break a single 256 bit EC key on a 10 000 qbits quantum computer". What's a 10 000 qbits quantum computer going to be used for when everybody shall have moved to quantum-resistant algos?

comment 7mo ago · link · parent

> Given that for a number of these benchmarks, it seems to be barely competitive with the previous gen

We're not reading the same numbers I think. Compared to Opus 4.6, it's a big jump nearly in every single bench GP posted. They're "only" catching up to Google's Gemini on GPQA and MMMLU but they're still beating their own Opus 4.6 results on these two.

This sounds like a much better model than Opus 4.6.

comment 7mo ago · link · parent

> Given the limited transaction throughput, migrating all vulnerable coins would take years ...

How? I just googled: about 55 million addresses with bitcoin in them, about 144 blocks per day, about 3000 to 5000 tx per block.

In something like 100 days all the coins would be moved to other addresses.

I gotta say it'd be hilarious if to speed up that migration-to-quantum-resistant-addresses process, the Bitcoin community were to finally allow bigger blocks.

EDIT: I take it if the network had to have full blocks for 100 days, then "shit would happens". Maybe they should force an orderly move: e.g. only addresses ending with "3a" are eligible to be moved in a block whose hash ends with an "3a", etc. to prevent congestion?

comment 7mo ago · link · parent

> On linux, if I can't build and run software with just my user account, that software has some explaining to do.

Yup same. The software I install as root are those shipping stock with the distro. Others I compile and run from user accounts (like Emacs, which I always compile from source).

comment 7mo ago · link · parent

> It’s truly strange that people keep citing the quality of Claude code’s leaked source as if it’s proof vibe coding doesn’t work.

It's not a proof vibe-coding doesn't work. It's a proof it's shitty, rube-goldberg, crappy code. It doesn't mean there aren't other shitty products out there (the heavy turds Microsoft produced throughout the years do comes to mind for example).

But when you've got a project upvoted here recently complaining that people do run into issue while quickly cut/pasting from Claude Code CLI to, say, Bash to test something because of Unicode characters in Claude Code CLI's output... And when you realize that it's because what Claude Code CLI shows you in the TUI is not the output of the model because there's an entire headless browser rendering the model's output to a webpage, which is then converted to text (and changing at that moment ASCII chars for Unicode ones), you realize that some serious level of fucktardery is ongoing.

It's normal that at times people aren't going full agentic and shall want to cut/paste what they see. I'm not the one complaining: I saw a project complaining about it and people are affected by that terribly dumb ASCII-to-Unicode conversion of characters.

When you can produce turds by the kilometer, a near infinity of turd is going to be produced.

We're not saying it's not working: I pay an Anthropic subscription and use it daily... We're saying it's a piece-of-shit of a codebase.

Shit that works is still shit.

If anyone from Anthropic is reading: STOP FUCKING CHANGING THE CHARACTERS THAT YOUR MODEL DOES OUTPUT.

(now of course it's just one issue out of thousands, but it'd be a nice one to fix)

comment 7mo ago · link · parent

Common... I've got tools I "inherited" from my grandpa that are still fine (brothers and I basically inherited the house and the tools where in the shed and whenever I go there on vacation, I use those tools to fix the house). I've got a screwdriver which I definitely remember using as a teenager, in the late 80s (and which I used for a variety of DIY jobs ever since) to assemble the trucks on my skateboards. And that screwdriver is a prized possession of mine: it's got a story. Hammers, saws, stainless steel scissors, hoses (to water the plants), multi-tool tools (don't know if they're stainless steel but they still look good), etc. Plenty of stuff still totally usable decades later.

You cannot compare tools that can outlast humans (like my grandpa and now myself) with an Apple watch that's going to be junk in a few years at most.

Even for oil that needs changing, things that needs lubricating once every blue moon (like, say, a mechanical watch): it's quite different to drop a tiny bit of lubricant inside a mechanical watch that's already 30 years old compared to having to update the firmware of whatever Internet-of-insecure-and-shitty-Thing gizmo that's going to be a thing of the past in a few years.

And if you really let a nice mechanical watch idle for decades, at least someone can do this:

"Restoring a Vintage Rolex Submariner with the Original Box, Paperwork... Even the Receipt!"

https://youtu.be/WsImSuG-dLY

While I'm really not sure there are going to be people out there keeping a connected wristwatch from 2026 going in the year 2066 (not sure about the value of that either).

comment 7mo ago · link · parent

$15 B gains... Just to put things in perspective: France has a GDP of about 3.5 trillion USD and a public debt of 117% of that amount. $15 B is not even a drop in the bucket.

To add to France's problem: in 2024 the PIB growth was 1.2%, which doesn't even counter inflation. And it's been like that since 2008: inflation adjusted in USD, no growth (while both the US and China's GDP inflation-adjusted skyrocketed).

The EU, and the eurozone in particular, is totally losing the plot: 1 company in the top 50 companies by market cap, ASML (and it's not french).

One.

comment 7mo ago · link · parent

> ... and the mix of ingredients that doesn't trigger any reflux

Ah reflux! I drink way too much coffee since forever and recently asked my doc about it: he told me that if I had no reflux, then I simply shouldn't worry about it. Some people have reflux with coffee, others don't. I drink more coffee than 99% of the population and I get zero reflux. Since decades.

It's a cool article but in a way many coffee became instant coffee: as my coffee machine is often already warm (wife btw she's also a heavy coffee drinker), it's actually more instant to have my full auto coffee machine ground the beans and make a coffee than it'd take to boil water for an instant coffee. Same for the people doing the (very costly compared to beans) capsule coffee thing: it's ultra quick (and one of the reason capsule coffee like Nespresso conquered so many).

P.S: I'll try your mocha trick!

comment 7mo ago · link · parent

> And so the paradox is, the LLMs are only useful† if you're Schwartz, and you can't become Schwartz by using LLMs.

It's exactly the same for coding.

comment 7mo ago · link · parent

> ... my experience with trying to get them to sort out any kind of issue with their services makes me reluctant to spend any money with them.

When you pay for Google Workspace you are the client, not the customer and they do answer phone calls for support. The only two times my wife and I needed them for our SMEs, they picked up the phone and helped us resolve our issues. Super professional too. Haven't needed to give them a call in something like 8 years now.

Don't know about Pixel phone and Google One subscriptions but for SMEs Google Workspace is a godsend: it's incredibly cheap per employee and it's the way out of the Microsoft mediocrity. Everything only requires a browser, no matter the OS (wife works from Linux and now added a Mac Mini, for example): Windows can, at long last, get the middle finger in SMEs.

I'll forever be thankful to Google for allowing me to help many people get rid of Microsoft products, including Windows.

comment 7mo ago · link · parent

> They're going to try to gradually push laws to make it so that you'll need a government issued signature to do anything.

And in the EU it's already nearly the case. The dystopian horror that KYC/AML has become for honest citizens is beyond belief. And they're of course hiding behind the excuse that "bad guys are laundering money": but going after actual drug dealers, of course they're not doing that. We now have articles wondering if Belgium (where most of the EU institutions do live and where all these totalitarian laws are passed) has become a "narco-state" (where criminals make the rules).

People's life can be ruined when some employee, somewhere, decides he wants to bumps his SAR quota (Suspicious Activity Report): you can have a real-estate transaction fail (and have hence moreover to pay a 10% penalty to the other party) if either a notary, bank employee, real-estate agency employee decided that they've got the nostalgy of the Gestapo-time and decided to act like a good little nazi (yes, Godwin's law: for we're literally talking about totalitarism).

I recently had an notary's employee bother my brother for the source of funds when he bought an apartment... A quarter of a century ago. A quarter of a century ago and he was talking to my brother as if he was a criminal for he didn't have access anymore to the bank wire transfer from 25+ years ago. It's crazy for the exact same controls had already been done 25+ years ago when he bought the apartment. And the notary's employee fully knows that. (regarding that case my brother is currently looking into the national federation of notaries and he's going to file a complaint: he's got emails from that notary's employee that are totally out of line).

The problem is way too much power over the lives of others is put into the hands of petty people: petty bank employees, petty notary employees, petty public servants. The same kind of people who were all too happy to out jews during WWII and who were making sure trains would leave on time.

I previously had a folder where every single money transfer of more than 10 K EUR was saved: I know do it for every transfer below 5 K EUR. And these are to be kept forever for I know that me or my wife or my daughter shall invariably meet motherfuckers asking them "proof of the source of funds from 30 years ago when your father bought that collectible car" (worth less than 20 K back then btw, but worth 6 digits now).

Just fuck these systems and fuck anyone working on it and fuck all the nazis participating in it.

comment 7mo ago · link · parent

> What use is there in display frame rates above 60 fps?

On a CRT monitor the difference between running at 60 Hz and even a just slightly better 72 Hz was night and day. Unbearable flickening vs a much better experience. I remember having some little utility for Windows that'd allow the display rate to be 75 (not 72 but 75). Under Linux I was writing modelines myself (these were the days!) to have the refresh rate and screen size (in pixels) I liked: I was running "weird" resolutions like 832x604 @ 75 Hz instead of 800x600 @ 60 Hz, just to gain a little bit more screen real estate and better refresh rate.

Now since monitors started using flat panels: I sure as heck have no idea if 60 fps vs 120 fps or whatever change anything for a "desktop" usage. I don't think the problem of the image fading too quickly at 60 Hz that CRT had is still present. But I'm not sure about it.

comment 7mo ago · link · parent

I had a machine (an AMD 3700X with 32 GB of RAM and a fast NVMe SSD) on which I used to run Debian. Then about 2.5 years ago I bought a new one and gave my wife the 3700X: I figured out she'd be more at ease so I installed Ubuntu on it.

I couldn't understand why everything was that slow compared to Debian and didn't want to bother looking into it so...

After a few weeks: got rid of Ubuntu, installed her Debian. A simple "IceWM" WM (I use the tiling "Awesome WM" but that's too radical for my wife) and she loves it.

She basically manages her two SMEs entirely from a browser: Chromium or Firefox (but a fork of Firefox would do too).

It works so well since years now that for her latest hire she asked me to set her with the same config. So she's now got one employee on a Debian machine with the IceWM WM. Other machines are still on Windows but the plan is to only keep one Windows (just in case) and move the other machines to Debian too.

Unattended upgrades, a trivial firewall "everything OUT or IN but related/established allowed" and that's it.

comment 7mo ago · link · parent

> I wonder what adaptations will be necessary to make AIs work better on Lisp.

Some are going to nitpick that Clojure isn't as lispy as, say, Common Lisp but I did experiment with Claude Code CLI and my paid Anthropic subscription (Sonnet 4.6 mostly) and Clojure.

It is okay'ish. I got it to write a topological sort and pure (no side effect) functions taking in and returning non-totally-trivial data structures (maps in maps with sets and counters etc.). But apparently it's got problems with...

... drumroll ...

The number of parentheses. It's so bad that the author of figwheel (a successful ClojureScript project) is working on a Clojure MCP that fixes parens in Clojure code spoutted by AI (well the project does more than that, but the description literally says it's "designed to handle Clojure parentheses reliably").

You can't make that up: there's literally an issue with the number of closing parens.

Now... I don't think giving an AI access to a Lisp REPL and telling it: "Do this by bumping on the guardrails left and right until something is working" is the way to go (yet?) for Clojure code.

I'm passing it a codebase (not too big, so no context size issue) and I know what I want: I tell it "Write a function which takes this data structure in and that other parameter, the function must do xxx, the function must return the same data structure out". Before that I told it to also implement tests (relatively easy for they're pure functions) for each function it writes and to run tests after each function it implements or modify.

And it's doing okay.

comment 7mo ago · link · parent

AIUI in that thread they're saying "0.51x" the perf on a 96-core arm64 machine and they're also saying they cannot reproduce it on a 96-core amd64 machine.

So it's not going to affect everybody both running PostgreSQL and upgrading to the latest kernel. Conditions seems to be: arm64, shitloads of core, kernel 7.0, current version of PostgreSQL.

That is not going to be 100% of the installed PostgreSQL DBs out there in the wild when 7.0 lands in a few weeks.

comment 7mo ago · link · parent

"While living in the United States, she promoted Iranian regime propaganda, celebrated attacks against American soldiers and military facilities in the Middle East, praised the new Iranian Supreme Leader, denounced America as the “Great Satan,” and voiced her unflinching support for the Islamic Revolutionary Guard Corps, a designated terror organization."

What a bunch of great individuals! The UN warned, two days ago, that in 2026 the Islamic guards in Iran executed more people already than the average in a year. Some 600 people. That's not even talking about the 30 000+ who were slaughtered for manifesting against the regime.

Does anyone have anything to say to criticize ICE about those removals? I mean, really: what is the argument of those saying that ICE shouldn't deport those who, on US soil, hail the great deeds of islamists terrorists?

comment 7mo ago · link · parent

Studies related to vitamin D supplementation are the most important because in many cases the correlation between low vit D and "lots of bad stuff" is established. But what's not always known is if supplementation helps or not.

Now as I'm a simple man and as I know that there aren't side-effects to vit D supplementation [1], I take my supplements.

[1] except in the mind of intellectually dishonest people who shall take that one case of a person who took 10 000 IU of vit D per day for 10 years and ended having this or that (non-life threatening) issue. But these intellectually dishonest people would have no problem telling you to "be careful while drinking water, for one person who drank 20 liters of water per day got into trouble!", so do like me: ignore these pharma-lab paid shills.

comment 7mo ago · link · parent

The auto-dubbing drives me crazy: I have to reach for the settings to prevent it from happening.

However there's something I'd love and I think we're nearly there (heck, I could probably implement myself by now with all the models we have): real-time accent change. Same language, same sentences, but fix the accent.

There are some english-accent, arguably proper ones (but still unlistenable to), which I simply cannot stand. My daughter happens to be very good at imitating that accent (FWIW she's only ever been to british schools, so she speaks with a lovely british accent) and she knows I cannot stand it. But it comes from a very big country, with many people I admire: a great culture and they make a lot of incredibly helpful vids on Youtube, which I watch all the time. Lots of DIY stuff. But the accent: it's killing me. It's so thick, so bad, so unlistenable to that I'd wish I could have an option to, say: "re-dub that Youtube with a Texan accent" (because why not) or "re-dub that Youtube vid with a british accent". Really: if you're from that country, lots of peace and hi to my friends native from that country. But your english accent basically sucks even more than my french accent: it's totally unlistenable.

Please, for the sake of humanity, help us automatically re-dub english vids made by native french speakers like myself or native speakers from India.

comment 7mo ago · link · parent

> What this paper shows is that their simple technique (SSD)

"Simple Self-Distillation". We had an acronym for Solid-State Drive. Don't know about that technique but the naming sure sound.. Simple?

comment 7mo ago · link · parent

Upvoted because, yup, it's insanity.

However:

> Why on earth would you install something like that has access to your entire machine, even if it is a separate one which has the potential to scan local networks?

I'd say that it's a given that we live in a world when your LAN is infested with compromised and hostile devices: from phones (spying devices) to home automation (spying chinese webcams) to TVs (with the TV's microphone listening 24/7 to everything people are saying) to chinese routers (which, yup, have backdoors for the chinese state) to that corean soundbar to really whatever enshittied device the world of enshittified turds we live in can come up with.

It is a fact of life that compromised, insecure, backdoored and at times all three of these shall find their way to our homes and appartments...

And it shouldn't be an issue.

What I mean by this: machines could be scanning my local networks and even maybe determine that this box at this IP is running Linux and... It still should be able to do exactly jack fucking shit with that information.

We must all learn to secure our devices for the Internet of Insecure and Enshittified Things is moving forward at godspeed. And if you think OpenClaw on its own device on your LAN is bad, wait until all the companies that were already selling enshittifed devices since years realize they'll now be able to enshittify those even more by slapping OpenClaw (or the equivalent) on their devices.

These insecure turds are all going to get a big boost of insecuredness, this time AI powered.

I'd say: bring it on. I'm ready. We all should be.

1
333435
163