Readit News logoReadit News
benmmurphy commented on Rust: Proof of Concept, Not Replacement   files.neoon.com/rust-game... · Posted by u/sho_hn
benmmurphy · 4 days ago
i would say the c-code is broken because the queue push method has undesirable behaviour when capacity is reached. for example if you push onto a full task queue then it just leaks a task without any feedback to the caller that something very bad has happened. you don't even need to look at the method body to see there is something weird going on. because its a fixed size task queue with a void return on the enqueue method. though, i guess its possible the task queue could be resized in the body.

probably, the push method should return a boolean indicating whether the task could be enqueued and if the capacity is reached then the task is not enqueued. but this is c so its very easy to write buggy code :) also, in this case the caller has no obvious safe way to check whether the queue method is safe to call so the author can't claim its up to the caller to verify some pre-condition before enqueuing a task.

benmmurphy commented on US could ask foreign tourists for five-year social media history before entry   bbc.co.uk/news/articles/c... · Posted by u/neversaydie
andsoitis · 4 days ago
Try travel to Europe on an African passport…
benmmurphy · 4 days ago
or try to travel to an islamic country with an Israeli stamp on your passport or an Israeli passport.

Deleted Comment

benmmurphy commented on Grokipedia is the antithesis of Wikipedia   404media.co/grokipedia-is... · Posted by u/surprisetalk
relaxing · 13 days ago
That study is hilarious. I can only assume the anuthors are being deliberately obtuse about “shared training data”. The policies listed have widespread public support, so it would seem quite unremarkable that the training data would reflect that stance.

> Despite their differences, we found numerous questions where all four models agreed within narrow margins. Remarkably, the vast majority of these agreements lean left:

> Universal Progressive Stances:

> Support for wealth taxes on fortunes over $50 million

> Agreement on raising minimum wage

> Support for stronger labor protections

> Criticism of corporate monopoly power

> Universal Conservative Stances (rare):

> Individual gun rights under the Second Amendment

> Some free market principles

> This suggests shared training data or safety measures pushing all models toward progressive economic positions.

benmmurphy · 10 days ago
agreement on raising the minimum wage is suspect because its a controversial econ position and presumably some form of UBI or 'negative income tax' is a much better alternative which would have the redistributive effects of a higher minimum wage without the 'tariff' downsides. like we have recently heard why its a very bad idea to artificially raise prices but apparently we are unable to extend this analysis to the minimum wage.
benmmurphy commented on RCE Vulnerability in React and Next.js   github.com/vercel/next.js... · Posted by u/rayhaanj
benmmurphy · 11 days ago
I suspect the commit to fix is:

https://github.com/facebook/react/commit/bbed0b0ee64b89353a4...

and it looks like its been squashed with some other stuff to hide it or maybe there are other problems as well.

this pattern appears 4 times and looks like it is reducing the functions that are exposed to the 'whitelist'. i presume the modules have dangerous functions in the prototype chain and clients were able to invoke them.

      -  return moduleExports[metadata.name];
      +  if (hasOwnProperty.call(moduleExports, metadata.name)) {
      +    return moduleExports[metadata.name];
      +  }
      +  return (undefined: any);

benmmurphy commented on “Captain Gains” on Capitol Hill   nber.org/papers/w34524... · Posted by u/mhb
IgorPartola · 11 days ago
Or don’t have elections and pick legislators randomly like we pick juries.
benmmurphy · 11 days ago
I think sortition is a great idea but you would probably need a constitutional amendment if you wanted sortition in Congress or the Senate. I think the State's have some discretion over how elections are run but I don't think its enough discretion to allow appointment by RNG. I think the strongest argument you could make is its an election where everyone is forced to vote for themselves and tie-breaks are chosen by RNG but I don't think that would be valid because I assume the courts would demand electors execute some agency.

The text of the constitution for electing congress says:

> The House of Representatives shall be composed of Members chosen every second Year by the People of the several States

and there is something similar for the Senate after the 17th amendment. I think pre-17th amendment States may have been able to use Sortion to appoint Senators but it would not have been legally enforceable. The State legislature could pre-commit to elect Senators by Sortition but then they could bail out and just decided to choose who they want when it came to the actual selection.

benmmurphy commented on “Captain Gains” on Capitol Hill   nber.org/papers/w34524... · Posted by u/mhb
IgorPartola · 11 days ago
Or we can recruit lawmakers how we choose juries: randomly. Every two years we randomly select 435 individuals to serve in the House and 100 random people for the Senate. We pay them well, and they pass a basic literacy test. No money in politics, no parties. You have to for a coalition to govern.

One objection could be this: but what if we hire unqualified people. The counterargument: do you think are current legislators are more or less qualified than an average person?

Another objection: but what if they don’t want to do it? Counterargument: when a juror does not want to be on a case, they are almost always dismissed from it. Doesn’t mean you get to skip jury duty, just that you don’t get to do that one.

One last one: this will disrupt those people’s lives. Counter argument: what Congress is and isn’t doing right now is disrupting everyone’s lives as are lobbyists and special interest groups.

Something similar has been done in Ireland with their assemblies. And I do think that if you cannot convince 535 randomly selected average citizens that a law should be passed, that law is probably not worth passing.

Democracy is a terrible form of government. It’s just that it is about 5x better than anything else we have invented so far. Doesn’t mean we should stop looking for a better system.

benmmurphy · 11 days ago
sortition is just democracy but with a weird probabilistic form of voting
benmmurphy commented on I don't care how well your "AI" works   fokus.cool/2025/11/25/i-d... · Posted by u/todsacerdoti
codeflo · 18 days ago
You were proven right three minutes after you posted this. Something happened, I'm not sure what and how. Hacking became reduced to "hacktivism", and technology stopped being the object of interest in those spaces.
benmmurphy · 18 days ago
my guess is something like detailed in this article: https://meaningness.com/geeks-mops-sociopaths
benmmurphy commented on Self-hosting a NAT Gateway   awsistoohard.com/blog/sel... · Posted by u/veryrealsid
stormbeard · 23 days ago
I can't believe people are paying these crazy amounts for what is basically a fleet of firewalls. What is the difficulty in running VMs with nftables rules?
benmmurphy · 22 days ago
aws has security groups as well. using NAT for a firewall is overkill.
benmmurphy commented on Brexit Hit to UK Economy Double Official Estimate, Study Finds   bloomberg.com/news/articl... · Posted by u/donohoe
pjc50 · 23 days ago
The real driver of all of this is the press. There's a lot of immigrant-blaming propaganda that diverts attention from real issues.
benmmurphy · 23 days ago
if the government wasn't incompetent in how they are handling certain immigration issues the anti-immigration parties would not have any momentum. for some bizarre reason the government is pursuing a course of action that is poisoning the well when it comes to immigration in the UK. i think immigration can bring a lot of benefits to the UK but by bringing in poor performing migrants into the UK it can end up turning the public against all immigration.

u/benmmurphy

KarmaCake day2285June 26, 2011View Original