Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions

mqudsi on most sites.
Submissions

comment 1y ago · link · parent

We have a maintained alternative to storing encrypted secrets in git, but don’t store the (wrapped) encryption key there, thereby avoiding the biggest downfalls seen here. And a first-class api and tooling in multiple languages to obtain said secrets.

Here’s the GitHub link for the rust version of SecureStore: https://github.com/neosmart/securestore-rs

comment 2y ago · link · parent

Absolutely not; in fact, I was commending them for it.

comment 2y ago · link · parent

Egypt is not allowed to bring any cargo into Gaza, at the behest of both Israel and the USA. They are rewarded for their compliance with international aid.

"The Rafah Border Crossing is the only crossing point between Egypt and the Gaza Strip. It is located on the international border that was confirmed in the 1979 Egypt–Israel peace treaty. Only passage of persons takes place through the Rafah Border Crossing; as such, the Egypt–Gaza border is only open to the passage of people, not of goods. All cargo traffic must go through Israel, usually through the Israeli-controlled Kerem Shalom border crossing on the Gaza–Israel barrier."

https://en.wikipedia.org/wiki/Egypt%E2%80%93Gaza_border#:~:t....

comment 2y ago · link · parent

But that's what the court itself is for! You get plausibly charged with a crime, you go to court, and the case is determined one way or the other.

What happened in this case is that Israel beseeched its allies to lobby the court not to look into what was happening [0]. And the UK demanded hearings to impede the ICC warrants from being issued (purely politically, as this was done under Sunak and then Starmer/Lammy dropped the objection, but the delays were already underway).

[0]: https://www.axios.com/2021/02/07/israel-icc-political-pressu...

comment 2y ago · link · parent

The PA routinely arrests Hamas members. On the daily. Locks them up or hands them over to Israel to lock them up for years. Isn't that already evidence?

comment 2y ago · link · parent

You are correct. But given the normal position people take when it comes to Palestine, I don’t blame GP for misinterpreting! :)

comment 2y ago · link · parent

Haniyeh was a noncombatant and a political leader, living in a US-allied country with the blessing of the USA (and now the other political leaders have just moved to Turkey, a NATO member to boot). Being a noncombatant affiliated with a group that your country has deemed a terror organization does not, under international law, give you carte Blanche to assassinate them.

comment 2y ago · link · parent

For context, this is only possible because the state of Palestine pushed hard and persisted for years to become an ICC member and thus give the ICC jurisdiction over crimes committed on Palestinian territory, whether by Israel or by Palestinian factions. The USA is still mad at them for doing it.

The full account is worth reading, it includes considerations by the various resistance factions that they’d also be subject to ICC jurisdiction and realized threats of punitive measures by the USA and Israel if they continued to push for ICC membership: https://palepedia.org/wiki/International_Criminal_Court%27s_...

comment 2y ago · link · parent

It is indeed ridiculous that Lebanon didn’t join the ICC, one has to imagine that Hezbollah played a role in that decision. Which is funny because all the Palestinian resistance factions actually pushed for ICC jurisdiction to the extent that they called for it to apply to them and Israel equally! The hoops the Palestinians had to jump through to join the ICC were crazy, including (reified) threats of heavy punishments from the US if they did.

Here’s the full story if anyone is interested: https://palepedia.org/wiki/International_Criminal_Court%27s_...

comment 2y ago · link · parent

I’m sorry but this brazenly wrong and a form of propaganda; you need to provide evidence for your claims. Hamas-employed Gaza police shoot at gangs that rob the aid containers with the implicit protection of Israel. Many videos have been posted spuriously claiming without any evidence that the individuals highjackimg the aid “are Hamas” when all documented evidence points to the very opposite.

Just two days ago: Gangs looting Gaza aid operate in areas under Israeli control, aid groups say

“Officials said criminal looting has become the greatest impediment to distributing aid in the southern half of Gaza, home to the vast majority of displaced Palestinians. Armed bands of men have killed, beaten and kidnapped aid truck drivers in the area around Israel’s Kerem Shalom crossing, the main entry point into Gaza’s south, aid workers and transport companies said. The thieves, who have run cigarette-smuggling operations throughout this year but are now also stealing food and other supplies, are tied to local crime families, residents say. The gangs are described by observers as rivals of Hamas and, in some cases, they have been targeted by remnants of Hamas’s security forces in other parts of the enclave.”

‘An internal United Nations memo obtained by The Washington Post concluded last month that the gangs “may be benefiting from a passive if not active benevolence” or “protection” from the Israel Defense Forces. One gang leader, the memo said, established a “military like compound” in an area “restricted, controlled and patrolled by the IDF.”’

https://www.washingtonpost.com/world/2024/11/18/gaza-looting...

comment 2y ago · link · parent

You’re right, there are notable exceptions in the form of western nations that have backed the enforcement of international law to put an end to the mass killings and starvation taking place in Gaza. Ireland, Spain, Norway, France, Switzerland, Slovenia, Denmark, and Belgium come to mind, ranging from “supporting the independence of the ICC and not commenting on proceedings” to “welcoming the investigation and the end of the killings.”

But while the US (not an ICC member) simply insulted the court and the notion of holding an Israeli leader accountable, it was the UK that demanded hearings on the legality of pursuing arrest warrants against Netanyahu and Gallant. Aside from Germany’s staunch and unconditional support for Israel, other Western countries that heavily criticized the decision included Hungary, Austria, Czechia, Canada, Australia, and Italy - important to note that some of which also mentioned that despite their long list of misgivings and outrages they nevertheless respected the independence of the court.

comment 2y ago · link · parent

What a funny time when Monty Python and not the various stories of Ming Arthur is how people might be most familiar with “the lady of the lake.”

comment 2y ago · link · parent

thread_local is usually considered the hack to make unthreaded code littered with static variables useable from multiple thread contexts. It has overhead and reduces the compiler’s ability to optimize the code as compared to when parameters are used.

Also, until very recently, a lot compilers/platforms were unable to handle thread_local variables larger than a pointer size making it difficult to retrofit a lot of old code.

comment 2y ago · link · parent

I have been a huge ZFS fan since the Solaris days and have had a bad experience with btrfs, yet I’d be remiss if I didn’t point out that (the last time I dove into it) the btrfs for Windows project was in a better and more useable shape than the ZFS for Windows one.

I still dream that this will one day be useable. ReFS has a few interesting ZFS ideas, Windows Storage Spaces incorporates yet some more, but fails to do so in a way that actually gives the sysadmin any confidence or visibility into the underlying layout and misses out on a whole lot of zpool goodness.

comment 2y ago · link · parent

Wow, this took a long time to come after the application for the warrants. 185 days compared to 23 days for Putin's arrest warrant — but then again, one was against the wishes of the USA and the west while the other was at their behest.

comment 2y ago · link · parent

This isn’t really a deep dive into the tech, it’s just an SEO placeholder for a company that sells memory modules.

That aside, people usually learn about RDIMM the hard way when they need to get ECC unbuffered RAM for something like HEDT/workstation or tower server Xeon/i3/Ryzen with ECC support but buy the cheaper RDIMM instead of the ECC UDIMM modules only to figure out they don’t work!

comment 2y ago · link · parent

Forget the dinosaurs, we can't even preserve the glaciers themselves these days!

comment 2y ago · link · parent

You clearly don’t know what a Maine Coon is…

comment 2y ago · link · parent

I’ve got an IIS instance pushing eight years of uptime… auto pool recycling is disabled.

comment 2y ago · link · parent

Am I the only one that was disenchanted with the article? It was basically and advertisement for Elmor Labs and everything was “swap out a part for an Elmor part configured to do the same thing”.

The cooling was basically for show given the temperature- and voltage-independent scaling wall; the proper place to go would have been an ARM-based development house to use the debug tools, they’re certainly available.

I’m not a Pi guy and I don’t know if the dev samples/hal/device trees have been released yet, but another option is to set up a bare metal environment and bring up the clock buses one by one to a different multiplier and see if you can reproduce it manually executing neon instructions in a tight loop.

comment 2y ago · link · parent

Mine died a few months ago (I'm pretty sure just the onboard electronics died, not the cells) and I miss it.

comment 2y ago · link · parent

YouTube now has a new feature to replace copyrighted background soundtracks with free ones automatically, using some AI magic to edit the movie while preserving views, links, likes, etc.

Very nice feature, though I haven’t used it myself to say if it works as labeled. It should be an option now when you get a violation warning.

comment 2y ago · link · parent

I don't mean to be dismissive, but this would have been caught very early on (in the planning stages) by anyone that had/has experience in system-level development rather than full-stack web js/python development. Quite an expensive lesson for them to learn, even though I'm assuming they do have the talent somewhere on the team if they're able to maintain a fork of Chromium.

(I also wouldn't be surprised if they had even more memory copies than they let on, marshalling between the GC-backed JS runtime to the GC-backed Python runtime.)

I was coming back to HN to include in my comment a link to various high-performance IPC libraries, but another commenter already beat me linking to iceoryx2 (though of course they'd need to use a python extension).

SHM for IPC has been well-understood as the better option for high-bandwidth payloads from the 1990s and is a staple of Win32 application development for communication between services (daemons) and clients (guis).

654.

Claude 3.5 Haiku Released(anthropic.com ↗)

18 points · by ComputerGuru · 2y ago · 4 comments

comment 2y ago · link · parent

To get this thread back on topic:

The article has this as part of their reasoning:

> That’s because the method a voter chooses often speaks to whom they voted for. Since the issue of voting by mail became highly politicized in the 2020 election, most mail votes nationally have been cast by Democratic voters, while most in-person Election Day votes have been cast by Republicans.

But this year R have focused on both early and mail-in ballots in a reversal of their traditional approach of eschewing or even attacking these voting options and it seems the general consensus is that for the 2024 elections as of last week, more Rs than Ds had actually opted for early and mail-in voting:

* https://www.newsnationnow.com/politics/2024-election/early-m...

* https://www.nytimes.com/2024/10/22/us/politics/trump-republi...

It seems a curious thing for AP (which has published pieces on this new trend) not to at least mention a disclaimer at this point? It seems like an obvious “what would people attack us for?” answer.

Disclosure: not an R or a D myself.

comment 2y ago · link · parent

Naive, invalidation-unaware caching is a very poor hack that can work mainly for requests that are probably not your core feature, and therefore probably not your bottleneck.

comment 2y ago · link · parent

It sounds like a clone of Cloudflare hyperdrive and others:

https://developers.cloudflare.com/hyperdrive/get-started/

comment 2y ago · link · parent

The wrong syntax notwithstanding, this doesn't let you recursively use querySelector(All), e.g. to find children of a node like document.querySelector("#foo").querySelectorAll(".bar")
1
212223
277