skysight-inc/HackerNews huggingface dataset:
That depends entirely on the runtime, and its WASI implementation.

wazero [1], which I'm most familiar with, allows you to decide in a relatively fine-grained way what capabilities your WASI module will have: command line arguments, environment variables, stdin/out/err, monotonic/wall clock, sleeping, even yielding CPU… Maybe more importantly, filesystem access can be fully emulated, or sandboxed to a specific folder, or have some directories mounted read-only, etc; it's very much up to you.

I've used it to wrap command line utilities, and package them as Go libraries.

For one example, dcraw [2]. WASM makes this memory safe, and I can sandbox it to access only the single file I want it to process (which can be a memory buffer, or something in blob storage, if I want it to).

Notice in [3] how you provide an io.ReadSeeker which could be anything from a file, a buffer in memory, or an HTTP resource. The spaghetti C that dcraw is made of won't be able to access any other file, bring your server down, etc.

1: https://wazero.io/

2: https://dechifro.org/dcraw/

3: https://pkg.go.dev/github.com/ncruces/rethinkraw/pkg/dcraw
Impetus is certainly more artistic and thought-provoking, but is there anything that makes Impetus a greater technical achievement than Street Food? From my (very) non-expert perspective, Street Food seems much more technically impressive.
>> X is the tech we have used since the dawn of time. It was released in 1984 and so the architecture is not suited for the way modern desktops operate.

X is a mature architecture which Just Works Fine. I don't know why it's considered "not suited for the way modern desktops operate", because as an X(org) user, all my desktops operate Just Fine whereas whenever I try Wayland my desktops do not operate Just Fine.

>> Wayland is a modern replacement, but it is not a drop-in. That is because it has a completely different architecture and approach.

Wayland is a newcomer and alternative to X(org) - the authors of Wayland want it to take over from X(org) and for X(org) to die off. I hope that X(org) stays.

I still don't understand the hate for X/Xorg [0]. It must be a generational thing. Maybe I'm just being a grumpy greybeard? Who knows. But I do know that whenever I try, say, KDE Plasma (Wayland) I get problems, for example, playing games with WINE, and other annoying glitches and hitches which I don't get using MATE/Xorg.

And no, I don't care if Gnome works great with Wayland - I have a visceral contempt for the modern iteration of the Gnome desktop (and had nasty experiences with the Gtk toolkit way back when which put me off developing with it forever.)

[0] https://old.reddit.com/r/linuxmemes/comments/175chou/linux_b...
That was such a great channel. The voice was paired with pitch perfect writing as well. The script had exactly the sort of flow that an Attenborough BBC program would have, plus it was actually really informative.

He really should re-dub the entire series with a unique AI generated voice and repost. They wouldn't be as good, but still pretty close.
Your brain is a structure for learning structures.

It doesn't need to have a built-in module for recognizing faces; it wires up a face-recognition system on the fly, from visual data.
But with Wayland you don't actually have to do anything to get flicker-free, tear-free output because Wayland was designed with these goals in mind.
Many jurisdictions use weighted voting. It’s not some US-only thing.
If you want to go there, you could say that natural languages are error-correcting codes -- somewhat robust to corruption (typos). https://en.wikipedia.org/wiki/Error_correction_code
It is suspected that "fiction spreads faster than facts" on social media.
It is also suspected that "when you present the facts to someone who wants to be believe a lie, that person will hold on more strongly to their belief in the lie".
You didn't read the article and you say you haven't looked into it much but twice in this post you've made assertions about legally questionable/illegal actions.

Your posts here are a perfect example of why we need to fight disinfo so strongly because people will parrot random things they hear all over the place and by second level it becomes truth to many.
https://www.npr.org/2022/03/17/1087047638/the-truth-in-polit...

> While the Federal Trade Commission regulates truth in commercial advertising, the FCC does not do the same for political ads.

> Some have called for a "neutral government regulator" to oversee political speech, but there's no broad, serious movement in Congress for something like that.

> In fact, various courts have repeatedly upheld the First Amendment right of candidates to essentially say what they want on federally regulated broadcast channels. Local broadcast television stations (think ABC, NBC, CBS) can't reject ads, even if they're blatantly false.
Evaluations are crucial for AI app development
More like you converted information you had about energy powering your muscles into that one - resulting in less total information for you in the end.
It's always interesting to me when people bring up Franklin in this context because the aphorism is usually completely misunderstood.

The audience and context was the colony of Pennsylvania deciding to accept an offer from the Penn family to provide a one-off detachment of mercenaries to patrol the colony's western border in exchange for a perpetual ban on taxing the Penn landholdings.

The safety was border defense. The liberty was the colonial government's authority to pass law. In context, Franklin is saying "The government that cedes its taxation authority over the citizens for a temporary boon from its richest citizens deserves neither the boon nor the authority."
Why is a private company calling the shots on speech in a free society to begin with?
> caught up in the surgeon's desire to make a name for himself.

Clinical trials often give people a ray of hope and I would imagine this trial was done without coercion. Remember that insulin, coronary bypass surgery and literally every medical treatment today was once experimental.
Your job is your art.
5 more karma and you can retire ;-)
A typical method of ensuring free and fair elections is to have free press, international observers and so on. Whether you trust the OSCE observers or whatever is of course up to you but let's just define a free and fair election as one held in a stable democracy and recognized as free and fair by the international community and international observers. There is no other useful definition, so you can just as well use that one. If it doesn't meet your standards, then there aren't any free and fair elections. But you just made the term useless for no good reason then.

> what does it change? their evidence could even be anecdotal: human error at their polling station.

Here is the thing: there are irregularities in ALL elections. But that doesn't make them unfair. All that's required for a "free and fair" election is that the irregularities don't affect the result in any meaningful way.

If people saw one person vote twice, they can accuse that person of voting twice. And the legal system will deal with that. But that is not a good reason to call the integrity of the whole election into question unless you have reason to believe there are systematic irregularities. Free and fair doesn't mean "without irregularities".
Why would Weird Al try to pass off his albums as being from the guy who stole his songs?
> I don't see a solution to this

It's actually simple. Take David Attenborough's name out of the picture.

"A generic British guy is now narrating my life" isn't as funny as implicating a known celebrity, which is where the legal issues would arise. A generic British guy isn't going to sue you.

Hell, you might even be able to get away with "A generic British guy who sounds like David Attenborough is now narrating my life."
I'm really craving dango now. Well done.
Should have ended after he gets put in jail. But no, Spielberg had to Spielberg and shoe horn a happy ending.
If i can give you feedback on your lp: The asset under the calendar is hiding the text + the pricing page is not centered. Those tiny details will make your lp better and serious! otherwise the name is cool!

And what makes you different from google calendar ?
I don't think the economics of this work because an Ethernet network is probably much more expensive than SAS and network configuration is more complex (you could make it zeroconf but that's also zero security).
I'm not sure that tracks (although this entire thread has nothing to do with the article). I'm having difficulty coming up with a hypothetical situation involving a "fist fight" that ends in a "major terrorist incident", but only if the plane isn't turned around. I'd love to hear one.

I think the "zero tolerance" analogy may be a good one, in that it absolves people on the scene from making decisions.
You're completely flipping the burden of proof - which is where your confusion is coming from. Elections are designed to be fair with about a million safeguards in the leadup to voting day, the way votes are handled, and then the post-election activities. You need substantial evidence that broke some of the safeguards to say they weren't fair -- and you need to point to either coordinated methods of impropriety to claim they were rigged.

Otherwise you get into this stupid "it's impossible to know what is true" freshman year philosophy nonsense that is both inaccurate and completely devoid of the ability to falsify.
Yea, got that. The folks who had a vested interest in the system basically picked the president and they found a reason to do so (the chads and close results). Have our leaders ever shown restraint in any of the power we have given them? How does this HN community constantly and correctly bemoan our increasing security state but looks past the rapid gerrymandering, vote harvesting and other funny business because of the wrong letter after a persons name? At this rate, our politicians are most likely going to fix or attempt to fix an election at some point. It might have happened, it might have not.
I feel like you might be (intentionally or not) combining these two things:

https://en.m.wikipedia.org/wiki/Argument_from_ignorance

https://en.m.wikipedia.org/wiki/Thought-terminating_clich%C3...
> In January 2022, the routine use of antibiotics was banned in the EU, and preventative use was restricted to exceptional treatments of individual animals

EU law is pretty strict about labelling meat coming from the EU/outside the EU so that could be one way.
Notion announces Q&A: get answers using AI
Parsing cobol is actually not bad. The grammar is pretty simple; the "rail road" diagrams correspond to the recursive descent parser very directly.

https://www.ibm.com/docs/en/cobol-zos/6.1?topic=division-ide...
> the Linux on desktop community will be hurt as users would move to the Apple ecosystem, despite the non-free nature.

That's an odd thing to say given given GNU/Linux runs on more architectures than any other OS. For example there is a Chromebook, which is (or is slated to become?) a skin over GNU/Linux. That includes using Wayland. If you want access to the full GNU/Linux stack, Chromebook's provide Crostini.

Your point about Apple pulling off a step change with the M series is correct of course, and Asahi Linux notwithstanding we don't have full access to it. But other hardware vendors see that as an opportunity - if they can produce an equivalent they can take advantage of the fact that Apple produces a premium product most of the world doesn't want to pay for. When they do, GNU/Linux users will be among the early adopters.

It's difficult to see how be GNU/Linux could get left behind. AMD/Intel on the other hand are likely shitting themselves. They've now had years to catch up, but has been very little sign of it. That mountain of technical debt created by the necessity of backward compatibility is proving very hard to move. The are starting to look like dinosaurs that are pretty safe in their niche, but the world has moved on and that niche is shrinking.
Thread about that tweet (or should I say xeet) from SamA: https://news.ycombinator.com/item?id=38274427
With slugs, at least you can stomp a few of them into paste and gain a pyrrhic victory. Birds? You're the old man and his son in that Simpsons episode shaking your fist at the sky, upset because you can't shake harder.

That being said, 1000s of slugs is practically insurmountable unless you plan to salt the Earth (figurately and literally) or kill the entire neighborhood with fire. Both have...consequences beyond the initial issue. ;)
I haven’t been specifically following the updates, but I haven’t seen the executive vs legislative distinction challenged or decided in any court. I assumed it would be but I haven’t seen anything. The linked article seems to be about a technicality related to envelope formatting, not about who can change the election process.
Fair is subjective, but I personally wouldn't consider human error to be unfair, especially if it isn't significant enough to impact the result of an election.

I think you'd be hard-pressed to call the landslide victories of Regan, Nixon Roosevelt, etc. unfair based on undocumented cases of human error.

Elections have documented processes that are followed by poll workers in terms of counting (and in cases of suspected errors, re-counting). That's the basis for "free and fair", that the process is documented, certified, and public.

It's fine to raise questions, but if all you have are questions, then not many people will believe you until evidence starts to emerge. But yes, any group has the right to ask whatever questions they want.
Ask HN: Docker for a Mac App?
Hi folks, I'm building a Mac utility to extract and process data from local PDF files. I use Python for crawling PDFs and Java for processing the data. I'd like to be able to share this program with other computers (mostly Macs and a couple with Windows) that don't have Python or Java installed. I've heard Docker might be a solution, but since I've never used it before, I'd like to ask you all if Docker is the right tool for this task or if there's a better one I should consider studying. In any case, it will be my first experience with containers. All hints are very welcome, and thanks!
Organic meat generally implies no antibiotics, for example under the USDA label.
My toddler understood that places to buy things were called stores and understood eating - so restaurants were deemed 'eating stores'. And we just went with that for a long time and now they are grown we still call them eating stores for fun sometimes. :)
> Work output never changes one's status as a slave.

Though what I earn from work does change how much the feds take as their cut. If you don't own the earnings from your labor, you aren't a free person.
What's New in Flutter 3.16
Wait, I’m old enough to remember when IntelliJ used Swing. They wrote their own GUI toolkit since then?
I found this to be pretty true while Living in Australia. I was always surprised at how cavalier doctors were about giving these out. I think it stems from two things - one is what they quoted in the article, that there's a "cultural expectation in Australia that there’s a pill or a tablet for every problem". People who go to the doctor expect a solution.

I suspect the other thing is how often Australians go to the doctor. Americans tend to be pretty hesitant to see doctors due to pricing of health care. In Australia, if you're sick, you go to the doctor. This is true even for common colds. Some stats, in 2010 Americans saw the doctor on average around 3.9 times a year (and this number is on a downward trend from the previous survey)[0]. In Australia this number is a bit harder to break down. Some politicians have cited that on average people see a doctor 11 times a year. Medicare stats breakdowns put that number at somewhere closer to 7[1]. Either way, it's a significant increase in comparison to Americans. It's more common to go see the doctor.

Unfortunately the article doesn't cite their sources here. One thing I'd be very curious about is what percentage of doctor visits result in antibiotics when comparing Australia vs the United States. My hypothesis is that despite cultural pressures, it may actually be that prescription rates per visit are quite similar between the two countries, and it's just that Australians seen the doctor more often.

[0] https://www.census.gov/newsroom/releases/archives/health_car...
[1] https://www.servicesaustralia.gov.au/sites/default/files/doc...
“People who are really serious about software should make their own hardware.” - Alan Kay
They're searchable and self-explanatory so they're not bad.
Revisiting some JavaScript I wrote to manage buffs/gear/stats/data in games
I think it's a neat way to prototype rpg systems. Still some of the cleverest code I've ever written, for all the good and ill that implies. Curious what other people think.
>HN has a really problem with quantifying risks.

Humans, in general have a real problem quantifying risks, especially risks involving low probability events. I don't think this is unique to HN (although, it seems like there may be a disproportionate amount of confidence discussing these risks).
Yes. Political spending during major elections makes up a huge part of advertising revenues so financially it makes sense to err on the side of permissive.

Even general government advertising projects are extremely profitable for online advertisers since in almost all cases the only metric tracked is how much was spent by the project/department not how effective it was so you can get away with showing it to lower valued traffic(high bot chance for example) and still make the same amount.
Well compilers are good and dumb at the same time.
Yes you’re being a grumpy graybeard. Does X work? Yes. But so does my 32-bit Pentium III.

Wasn’t trying to shit on it I’m just telling it as it is.

I also dislike Gnome. I run KDE on Wayland on a 5K display and everything is fast, low latency and gorgeous.
The electoral college isn't unfair, it is one of the few things ensuring fair treatment of smaller states. You might value the equal value of each vote (which is its own kind of fairness to be sure) more highly, but it is flat out disingenuous to claim that elections aren't fair due to the electoral college. The electoral college is making different fairness trade-offs than you would prefer, but that's not the same as being unfair.
Presumably Microsoft won't be making the chips, I guess they will also be made by TSMC.
This comment will be added to your LLM.
Brief moment in time. Look on the timeline a little bit longer than drive to survive.
This is likely to be cyclical though. Fast cars[1], large amounts of processing power[2], access to cryptographic algorithms, are all things that started out expensive to be on the cutting edge, some still are expensive on the cutting edge, but then became more affordable for the consumer over time. AI has already had explorations on training models with limited resources. It's feasible, just has tradeoffs that will hopefully get better over time.

[1] A 1970 Corvette 427 has a 0 - 60 mph of 5.3 seconds (src: https://www.caranddriver.com/features/g15379023/the-chevrole...) and cost around $44k inflation adjusted dollars. You can buy a 2008 Nissasn 350Z Enthusiast that will do it in 5.2 (src: https://www.zeroto60times.com/vehicle-make/nissan-0-60-mph-t...?) for around $13k today.

[2] I'm too lazy to calculate relative cost / cycle in old warehouse computers vs phones but it's gotten _better_.
Fixing bug 109595 makes MySQL almost 4X faster on the Insert Benchmark
Some of the moves seemed to change what an individual function might do. For example they suggested pulling an if from a function to the calling function.

Could the compiler figure it out? My gut says maybe; maybe if it started by inlining the callee? But inlining happens based on some heuristics usually, this seems like an unreliable strategy if it would even work at all.
Automagic Linear Issues by Seemore.tv
At the end of the day people will find a means of measuring profit

which is why i specifically mentioned both. it's not just getting rid of money but the concept and need for profit as a whole. i am not suggesting that this should be done, or that it even can be done, but that it would be necessary if we want to remove any motive of people profiting from collecting and analyzing private data.

and therefore legal protection and punishment, severe punishment, are the only means that at this point can be practically implemented.
SharePoint lists and tables work very well with Access and Excel. Linking them all together is trivial but appears to others as if youve created a magic kingdom of data. Ive gotten far in my career using these oft laughed at tools.
Obviously because that would require people cut back on meat consumption. I was struck by a recent study indicating most men would rather die young than stop eating meat: https://www.menshealth.com/uk/nutrition/a36261605/red-meat-h...
>What's your experience being employed in one

A very close family member had a 27 year career as a corrections officer until they retired.

But pretty much point you on here is stupid beyond belief. Do you think anyone at any job wants to do anything if the other option was getting paid for doing nothing?

The workers at low levels in these organizations are treated like shit, just like every business that has low paid, low skill jobs. Why in the living hell would you think that a corrections officer is "part of the system". I'd say, "Hey go get one of those jobs and you'll see", but it sounds like you're eliminated from the category.
Violations of campaign laws absolutely happened, by all parties, just as they happen every election. That doesn't address the point, though. The point is -- where is the evidence that the outcome of the election was rigged?
"as is our custom" had me on the floor laughing
> "Rigged" can mean lots of things, including something being illegally stolen. Such as a rigged boxing match.

Perhaps this is just my ignorance of boxing but I dare say that example didn't enlighten me. I can't think of any case in sports (or elsewhere) where I've seen "rigged" to mean illegal conduct. I thought that's generally called something else, like a foul.
I should have said 'half-baked theories' or 'unfounded beliefs' instead of 'superstition'. Sometimes it's hard to find the ideal word.
>Unfortunately, very few people opt-in for organ donation.

Wait, really?

This always seemed like a no-brainer to me. Why would people be opposed to this?
No, compilers (correctly) prefer correctness over speed, so they can optimise “obvious” things, but they cannot account for domain knowledge or inefficiencies further apart, or that “might” alter some global state, so they can only make optimisations where they can be very sure there’s no side effects, because they have to err on the side of caution.

They will only give you micro optimisations which could cumulatively speed up sometimes but the burden of wholistic program efficiency is still very much on the programmer.

If you’re emptying the swimming pool using only a glass, the compiler will optimise the glass size, and your arm movements, but it won’t optimise “if you’re emptying the correct pool” or “if you should be using a pump instead” - a correct answer to the latter two could be 100,000 times more efficient than the earlier two, which a compiler could answer.
An older reference for hacking hard disk drives: https://spritesmods.com/?art=hddhack

There were some firmware bugs on Seagate Barracuda SATA drives that could be worked-around w/ serial console. I don't remember the specifics though.

If you some search-engining on hard drive manufacturers and "serial console" you'll find indexed pages. (Presumably the really interesting stuff is buried deep down in forum posts, etc.) Just doing a couple quick searches got me some stuff.
The fisherman scene in that film looks a lot like Guilin, China. Could be based on Vietnam also.
I'm thankful I live in a country where opt-out is the norm.