Better HN
topnewbestaskshowjobs
Log inSign up

LarsKrimi

151 karma · joined Jan 27, 2025 (1y ago) · 93 submissions

Submissions

comment 1d ago · link · parent

If you have infinite time, a HDL will likely produce better results than a HLS system.

The idea of HLS is that you get decoupled from the hardware and can concentrate on high-level types and the algorithm design instead. A good HLS compiler will be able to make a near optimal mapping of that for pipelines, for example using SAT solving.

In DSP algorithms things like rounding and saturation is absolutely terrible to write in HDLs if you want to do it with sufficient clock speeds. With untimed HLS it's a breeze.

In short it's a tradeoff, the right tool for the right job. If you need accurate timing or absolutely want a specific structure or to take advantage of FPGA primitives, sure an HDL is probably the right choice. If you need it quickly, with high performance and free of bugs go with your favorite (and preferably homemade :)) HLS

comment 4d ago · link · parent

AI has been great at finding loopholes. And who's going to find out what loophole they used in 250k pages?

comment 3w ago · link · parent

Okay. Good point, that is quite a bit shorter than I first thought of

A rough benchmark of a version of that against the original shows it to be close to twice as fast for unpredictable input with GCC (4.5 ns vs 2.72 ns) on my old machine. With predictable input where x values often are the same the original version is quicker

    int sparse_8_jump(int x, int val) {
        unsigned int idx = (unsigned int)x >> 3;
        if (idx > 5)
            return 0;
        if (x & 7)
            return 0;
        
        switch (idx) {
            case 0:
                return f0(val);
            case 1:
                return f1(val);
            case 2:
                return f2(val);
            case 3:
                return f3(val);
            case 5:
                return f4(val);
            default:
                return 0;
        }
    }

comment 3w ago · link · parent

> The switch in sparse_8 could be simplified by dividing x by eight before the jump. Interestingly, gcc doesn't find this simplification.

It could not because that would ensure that 7 values for each case would be handled by function calls instead of the default case - 0/8 is 0, but 3/8 is also 0

comment 1mo ago · link · parent

There are some unconfirmed rumors going that the maximum password length for the API was 8 characters...

comment 1mo ago · link · parent

Privatization

It was run by DXC Technology, the Danish branch of a US software house.

When doing a contract on such programs the Danish government must take the cheapest offer by rule

comment 1mo ago · link · parent

When you change your address you can click a checkbox saying you want a protected name/address. This means that companies that have you as customers/clients won't be able to get the new address, mail won't be redirected, etc

I did it accidentally during my last move and it was a pain in the behind

And it expires after a year by default so it feels rather pointless

comment 1mo ago · link · parent

Altman at it again?

comment 1mo ago · link · parent

More moving parts would mean a much more complex system which would heighten maintenance cost and likely lower successful interceptions per working system significantly.

I'm sure the Ukrainians can draw two curves and see where they intercept

comment 1mo ago · link · parent

Opposite for me. Late 30s but I drink more or the same.

But I don't drink my go-to Zinfandel anymore as it has a big ass flag printed on the box. It's embarrassing feeling the cashier's judgemental gaze. They know I'm a drunk of course but I don't want them thinking I support the US

Tell the wine makers to stop putting that flag on there and maybe exports may pick up again

comment 2mo ago · link · parent

I guess it's the only con that will take money to have DHH give a keynote about some sycophantic BS

comment 2mo ago · link · parent

I'm curious what you think that may be.

The situation you're imagining is one of a global all encompassing depression caused by a single government.

Not unthinkable, but the Americans would feel that deeply. Do you think they want to?

comment 2mo ago · link · parent

We agree that China won't care long term. They cannot lose in the current setup

In my view the worst that can happen for China is that Trump gets limited by anything. He's hurting US relations more than he's hurting China short or long-term. Relations take longer to build than trade

"Don't interrupt your opponent when they're making a mistake"

comment 2mo ago · link · parent

Stability and sanity is not happening whether the conflicts stop in Yemen+Hormuz or not. At that point it's just going to go back to tarriff wars and new terror campaigns that the US admin will start somewhere else

comment 2mo ago · link · parent

It uses Direct2D which most of the post is about.

They added the support by slopping a Direct2D emulation layer together.

comment 3mo ago · link · parent

Neat idea in its core but its still tailscale underneath

The only thing that convinces me that tailscale isn't a CIA op is how badly it works for real uses

comment 5mo ago · link · parent

I don't think many will.

But I think they should. Not only for the practical reason, but because it leads to better software in my opinion

Limitations foster creativity. Abundance kills innovation.

In my company: - All computers are refurbished and at least 10 years old. - Cloud deployments use Hetzner or self hosted machines. - All hardware in general is a bit dodgy. Our main CI/CD setup is on a very unreliable network with varying availability and bandwidth

It can be annoying once in a while but it reflects our customers reality. And it catches a lot of usability and performance bugs that we wouldn't otherwise catch

I can only recommend it

comment 5mo ago · link · parent

Great thing the US regime can just make a computer their scapegoat. It wasn't the navy or the air force who just fired the weapons, or the commander in chief who ordered it.

It was actually Grok who mistakenly included the girls school

Not concerning at all

comment 5mo ago · link · parent

Congratulations to the US. I'm sure it must be nice to have a trillionaire

I wish my country had a trillionaire. That would give my day to day life meaning

comment 5mo ago · link · parent

It seems very good at understanding human language clues even in a 4-bit (Q4_K_S) model, similar in feel to E4B but a great incremental improvement.

Interesting for my 8GB VRAM system, but the system RAM requirement seems to balloon quickly, and it starts misspelling words. Also token/s drops off quickly it seems

comment 5mo ago · link · parent

This feels like a stupid idea, but it's not my tax money being wasted on it (yet).

An AI being used for offensive purposes would be so easy to counter due to Brandolini's Law. A much simpler AI could probably easily create dumb honey pot systems that looked like real systems with holes in them to lead more advanced and expensive systems on a wild goose chase.

Suddenly an AI creating security vulnerabilities is a core part of a future cyber defence strategy. Surely someone must be doing that already

comment 5mo ago · link · parent

It's not about the US vs Iran.

It's Iran turning the strait into a wedge between US and the rest of their previous partners. The US has enough oil for themselves, but the hurt is felt everywhere else. And the cause of that hurt points in one direction (the US)

comment 5mo ago · link · parent

Elon is a true genius, up there with Euler and Feynman. So when things don't go perfectly with his initial idea surely it must be a conspiracy to get him down

comment 6mo ago · link · parent

Maybe just search for it and pick a source you trust. Take the search term "kill people based on metadata" and no noise comes up, just tons of articles about General Hayden's interview and related

comment 7mo ago · link · parent

What would instead have been a reasonable punishment?

Either he truly believed that the kids at Sandy Hook were actors, or he was using it as part of his grift and making money of it.

As far as I can tell he has not reversed his stance on it

comment 7mo ago · link · parent

That's the funny thing of course. I don't understand who this show really is for

comment 7mo ago · link · parent

I'm a resident of a country regularly mentioned by the commander in chief who has recently bombed a head-of-state and his family with AGM-114 Hellfire missiles, and captured the head of state of a neighbouring state by military means.

All without congressional approval. And apparently without the US population knowing about it.

Why risk using US tech?

It costs more, and the people running it likely may not be my friends

comment 7mo ago · link · parent

I can tell you why. It's not the cost (even though it certainly helps)

For my company it's about the "pulling the plug" usecase. We create a SaaS product for semi-critical infrastructure - we don't need 99% uptime but more than a few hours and it's problematic.

Sure, most cloud/VPS providers have sites in the US as well, but worst case only those places would be affected if the US decided to do a Special Military Operation on Greenland for example.

comment 7mo ago · link · parent

It's impossible to know right now. Some are saying Pakistan messed up by not specifying properly to both sides what would constitute a cease fire. And US (Israel's proxy) is probably a bit unreliable in how their military command and political leadership separately interpreted the agreements as well

/S trying to highlight how stupid it sounds when you try to retrofit sense into this conflict

comment 7mo ago · link · parent

This project seems to have a serdes block which seems to wrap whatever is in the PDK. Didn't look too far down but from a cursory glance it looked like it was built for an internal clock of 50 MHz (clock default to 20 ns) with an oversampling of 8: 400 MHz

If those numbers are at all right it puts it in useful territory. Very much so for a first spin

For a first spin it looks overall pretty useful. The only nitpick I have would be that `operation` on the DSP tile should be from fabric instead of config (hardcoded in bitstream) otherwise I don't see a convenient way of resetting the accumulator(?)

1234