skysight-inc/HackerNews huggingface dataset:
In the normal case. When you start a test it loads from fixtures into its own database.

Any test can make use of what is in that database. So you tend to put a bunch of stuff that is useful for most tests.

If a specific test needs an unusual setup, then it can do whatever is needed to load data. Generate data, load extra fixtures, etc. You can do this on a per test basis, or a group of tests, etc.

An option is to reload everything between each test. Not recommended.

Normal usage is to rollback any changes a test did, so that each test has a clean slate. This tends to be plenty fast. Parallelism can usually be done.

If speed is still a concern, you can get fancy and load up multiple databases with fixtures and divide tests between them. Maybe have 2-8 sets of tests running at same time.

It's been a few years, but I've inherited test suites that take 14 hours and been able to get them down to a few minutes with above techniques.

Something like Guard can be setup to automatically run tests relevant to what you're working on. So you don't have to run full suite each time.
>ban polyester clothing

I'm sympathetic, but I'm afraid people don't realize just how incredibly difficult this would be. Polyethylene terephthalate, colloquially "polyester", has completely transformed the textile industry. You want mold-resistant carpets and kitchen towels? Polyester. Water-resistant lightweight warm clothes? Polyester. Ultra-light athletic clothes? Polyester. Bathing suits that don't chafe? Polyester. Durable, stain-resistant upholstery? Polyester. Fuzzy blankets? Polyester. Cheap suits? Polyester. Gore-Tex? You bet it's on polyester.

Lyocell can pick up some of the slack in terms of durability, and if we ever nail down artificial silk it can insulate pretty well, but for water and mold resistance, pretty much everything else you can use will also leave behind microplastics. We're talking big downgrades in the quality of everything. Rumplestiltskin never seemed so real.
sounds interesting

i’m working on Typosaur, which is a spell-checker that can check websites (or any structured document really) for spelling mistakes, grammar and style issues and suggest corrections

link: https://typosaur.com/

maybe you’d be interested in integrating Typosaur-powered spelling suggestions into your offering?

if so my e-mail is linked in profile
Same not working + some google features!
Settings has the UX polish of my high-school VB6+Access project.

And you can't uninstall their garbage, either. Siri, Facetime, Messages, Maps, Photo Booth, Music, Podcasts, TV, News, Stocks, and a whole bunch of other junk. This is a work machine, I don't have any need for any of that stuff (and I have even less of a clue why an average Joe would be forced to have Stocks installed).
> which in reality is mostly unachievable

By what metric? Here's a company that sells dry and wet closed loop water cooling systems that are > 500kW.
Yeah instead take half the dose with three- or four-hour intervals.
I don't know anything about that case, but "oldheads" is typically a term of endearment
This was meant as a catharsis, not anything to legitimately "cure" boredom. In retrospect, I should have dropped the "permanent" portion of the post.

I can't say I reflect well with meditation and prayer, but I'm now aware that it's bound heavily to my personality. Or, it could be that I don't think I spend a single day not having a niggling awareness of our inevitable end. Either way, it's not my scene.
> In this sense, I suppose TFA isn't arguing against multiprocessing per-se, but against the specific type that implicitly includes all of the current process state (which has both up- and down-sides).

You don't have to suppose anything, TFA specifically says that you should use posix_spawn or immediately exec() after forking.

It doesn't imply or hint, let alone say, that threads are superior, it only mentions them because they interact badly with fork() and that's the issue they'd hit. It's not like threads are the only thing which interacts badly with fork.
I think you’re getting it backwards.

Because these are very large and important durable goods there is a robust post-sale monitoring infrastructure to fix problems if they arise afterwards. That’s a good sign, not a bad one. It is moreover a system which does not exist for all products.

Separately, there is no quality control process in the world which would guarantee that this kind of product is totally free of any defect which might reduce safety.
How do these chemicals get into the body and into the sperm/urine?

If it's a matter of controlling what we eat, then hitting the gym isn't enough. We'll have to curtail and adjust diets as best as we can, start being more careful around what sprays/treatments are used in vegetables and what anti/pro biotics the animals are fed with. We'll need stricter nutritional breakdown on this. We might even need to cut out certain foods if, by default, they are harmful to us past a certain quantity. We will have to switch from using the plastics we use in bottles and food storage containers to safer ones. Would fasting help here, even?

If it's a matter of quality of air, we'll need to install better indoor filters (assuming we spend most of our time indoors). Outdoor air pollution is something we can't really solve on a dime, so to speak, as it would need greater intervention by Big Government et al to put into motion (good luck with this). So we'll have to do the best we can on our own, limited budgets, that we can to reduce the impact. For those who can afford it, living in an over all healthier outdoor-air-quality place is the way to go.

Does it permeate from/through the clothes and through the skin?

Feel free to add more of this sort of thing as a reply. At this point, having seen what I've seen, all bets are off that anyone other than ourselves will actually lift a finger to solve this, so we'll have to do it by ourselves, for ourselves.

So keep lifting.
It's no problem posting your blog posts to HN so long as you post a lot of articles from other sources. If you only post links from your domain you'll get banned.
Practice copywriting with a free copywriting prompt generator
It's hard to guess, but based on this press release guessing is all that we can do, so..

The UI for sports is currently terrible, by and large. The best you can do - despite the fact that everyone has a computer attached to and/or in their TV these days - is stream a linear broadcast channel. With this deal, Apple can show you a dashboard of all the games currently playing so you can pick a close and/or intresting one. You could choose a different audio channel - say, crowd noise only or a mic attempting to pick up what a manager is shouting at their players. Picture and picture if a goal is scored in another game. Probably way more than all of this.

From this POV, buying content is merely the price of admission to using technology to completely change and improve the sports viewing experience. Like I said, I'm just guessing at what Apple is thinking, but it stands to reason they have some technology angle on this if they feel like they are the right people to mount an attempt at improving this experience.
Doxxing? You can see anyone's comments by clicking their username then "comments".

I didn't mean the question as an ad hominem. I just thought it was interesting.
I think people's socioeconomic background strongly affects their beliefs on how other people should behave in order to become successful (or in this case, perhaps simply: not homeless.)
Current SE with a product/entrepreneurship background. The main reason I took the role was to exercise the discovery/talking to customers muscle, which I feel has improved a lot. Mid-term, I see myself going back into product management and startups.
Thank you, I was wondering what it was. To me MLS is a real estate thing.
Correct. They didn't even increase a minimum punishment, they just expanded the possible punishments, so you could still get the old, light, punishment.

Also of note, these changes will be reviewed after three years to see if they are too harsh.
I realize that posting that comment wasn't too helpful on my part, but people being dismissive of ADHD is probably the quickest way to get a rise out of me.

Sorry for being snarky. Not sorry for calling out destructive, unscientific bullshit.
The solution is political action. You're describing a workaround that only a few of the most concerned people will be willing to use.
Excellent. Since it was released, Plasma 5 has been my Linux desktop environment of choice and, truth be told, it keeps getting better and better.

Nowadays I can't stand an environment without the sane defaults and powerful customization capabilities we can find in Plasma/KDE.

A big "thank you" to all KDE contributors.
Discussed at the time:

Fork() without exec() is dangerous in large programs - https://news.ycombinator.com/item?id=12302539 - Aug 2016 (101 comments)
I used to play NetHack a lot and the only thing that bothered me in the gameplay was the monsters' AI. They were basically a huge heap of mindless creatures that lived with a single objective in mind: to destroy you.

I think there is a lot of opportunity to make NetHack even more amazing by having smarter monsters that come up with new strategies, often as a group, to beat the player.
That's cool. It looks like they used the same idea for the engine as I coded for Abomination [1]: 2D isometric background with 3D characters.

https://youtu.be/M58w8_fh2JQ?t=197
Trouble Afoot at YouTube?
Comments not loading for me. :)
the opsgenie api is really bad though if you want to manage it as code/declaratively
It's not ADT, it's strict types. The reason you can't do "parse, don't validate" in C++ is because you can't assume anything is valid at the point you use the data.

What ADT does is give you enough flexibility so that a strict typing system doesn't suck.
I bet quite a lot, probably at least 10-50 per second without doing anything special for performance, i.e. multiple queries per alert, calling different APIs, things like that. I don't know of many places that are dealing with alerts measured in "per second" as a unit.

Not to mention that having multiple components doesn't mean it's "scalable" by default, it could happen that some part of the pipeline doesn't like multiple instances of something.
I agree: capitalism is good for businesses but not designed to consider the welfare of employees, environment, neighborhood, etc. Those tasks must be taken up by other organizations. History has shown that a system or interlocking organizations and laws can work, although there are inefficiencies. [There may also be social structures used in other countries that are more efficient for both corporations and workers but that is a story for another day.]

Amazon has shown us once again that despite best intentions, given a chance, employers will squeeze employees for all they can and that employees need protection. Otherwise, to a corporation a worker is just a part, a cog in the machine, as replaceable as a beam of wood or a piece of pipe or an item in a spreadsheet, to be used up and discarded once worn out.

Amazon might as well be one of the coal-mining companies from the union-busting era (like the movie "Fire In the Hole"). The only part missing from the original story are the gun thugs, and even here Amazon is trying (as was done before) to use police and political influence to coerce workers.
> Spend your time how you want. Time is never wasted. If you don't want to do something, and you have no good reason to do it (friends, family, etc.), don't.

Yes! I try to optimize for doing as little things I don't enjoy as possible. If I feel like spending 10 hours watching some Netflix show all weekend, I consider that a perfectly good use of my time. On the other hand, things like cleaning/cooking/shopping, I consider them a waste of time and try to spend as little time doing them as humanly possible.
It's a gamble, because as of now they're not even the most popular soccer league in America let alone the world.

Liga MX (Mexican soccer) ratings destroy them for the obvious reasons (the league the US's largest most passionate soccer fanbase is most passionate about), EPL ratings beat them pretty handily as well (English Premier League, the highest profile and probably best of the European leagues).

Given the money and momentum behind MLS though, there is at least a chance by the end of this deal that they have become one of the top soccer leagues in the world and Apple looks extremely clever, which is not something you can really say for a lot of leagues with actual better soccer than MLS has right now.

It is weird that Apple, one of the biggest companies in the world, now has a vested interest in globally promoting a specific soccer league. MLS is probably thrilled with this compared to their current situation where ESPN+ does dump pretty much all the games onto streaming as content, but is generally disinterested in promoting it too heavily because of their vast prtfolio of already more popular sports.
Email is often "production data" -- it contains personal data, IP, business relationship information and so on. Sending an email from an @coinbase.com is certainly a production action.

It is only fairly recently that locking people out of the office didn't implicitly remove their access to email, memos, letters and so on.
Ah yes, the old "oi m8 I watch proper footy down the pub" archetype. MLS is "rigged," top Euro leagues like the one Bayern has won nine consecutive times are "not."
Love this! It would be amazing if you added a date query string so that you could share this link with a friend you think is wasting their time! :)
I think this turns out to be a tangent, but at least superficially it is possible for a C program to "do" shell pipelines without use of fork or vfork (directly) but rather by posix_spawn. I suppose "portable go" does not directly wrap posix_spawn so this option may not be on the table for you.

Basics: https://gist.github.com/ec8469273c7808d46c7285cd056d0104

Typical use: `./a.out seq 3 2 9 -- cat -n` is similar to `seq 3 2 9 | cat -n` except that the return value is nonzero if either side's return value is nonzero.

that said, I wouldn't be surprised if there's something important I'm overlooking here.
It's not a perfect solution, but you can get filters for your washing machine to capture microplastics put off by clothes (though it's more for preventing it from going into the water supply; uncertain if it would help for those inside the house)

https://planetcare.org/
Because Nethack and video games remove most of the reasons that GOFAI failed; for example, everything hard about perception from pixels is removed when you have a little parsed text grid of cells presented to you or are hooked into the game engine and query objects directly. (The real world is not made of a clean little grid of discrete high-level objects like 'dragon' or 'black jelly'.)

Moravec's paradox again: humans find perception easy but things like Sokoban hard, while GOFAI approaches find Sokoban so trivial that it's common to use it (or Sudoku) as a toy problem introduction to constraint solving. Nethack literally has levels which are just Sokoban and which are important to solve; GOFAI can push the boulders around perfectly, even though it would be unable to recognize a photograph of 'a boulder' or use the word 'boulder' in a story.

Then you have the extensive hand-engineering of expert knowledge which goes into ascension agents and the symbolic winners, above and beyond merely plugging in a Sokoban solver. There are increasing experiments in making DRL agents exploit or initialize from pretrained language models (https://arxiv.org/abs/2005.07648#google https://arxiv.org/abs/2201.12122 https://arxiv.org/abs/2204.01691#google https://ai.stanford.edu/blog/DrRepair/ https://arxiv.org/abs/2005.07648#google https://arxiv.org/abs/2009.03393 https://arxiv.org/abs/2204.00598 come to mind) or reading manuals (https://arxiv.org/abs/1401.5390 all the way back in 2012!), and of course, a DRL agent can learn a tremendous amount without actually doing any playing by offline and off-policy and imitation learning, but while it is exciting and things like Gato look like the future, there is a long way to go from feeding in a dump of the Nethack wiki which mentions offhandedly "you can do X" to an agent recognizing an opportunity for X in the wild and executing it. (Which is something that symbolic approaches also don't come anywhere close to doing, because they just cheat by the capability being given to them by hand-engineering rather than having to autonomously read, understand, and apply.)
It'd be great if this worked well with podgrab[1]. I'll have to check if the folder structure it creates will work with this.

[1] https://github.com/akhilrex/podgrab
What does this have to do with the posted link? Are you piling on your own (barely related) baby project? What does this add to the discussion?
There's a reason I don't align with the political party that's full of shit - because they're full of shit! It didn't used to be this way - I used to be a Republican (I'm no spring chicken, I've been around the block a few times). The Republican Party has earned my repudiation! And hey, the Democratic Party may earn my repudiation also but due to Duverger's Law (https://en.wikipedia.org/wiki/Duverger's_law) I'm pretty much stuck with being a Democrat until they become the worse option than the Republicans. At this point I don't see that happening for quite some time.
Thanks for the link.

This is an earlier report about the progress of the chemical analysis of the asteroid samples, at a time when they had identified only 10 amino-acids and when they had not identified yet the glutamic acid and the valine.

Unlike in the news report, here the relevant information is present.

However the results do not contain any surprise. As expected, there are equal quantities of left-handed and right-handed amino-acids (unlike in living beings) and all the amino-acids are among those simple enough to be synthesized spontaneously, in the absence of life.
Quite early on in the GBAs lifecycle, there were third party backlighting solutions. I fitted a few back in the day for myself and my friends. Even now you can get decent IPS LCD screen replacements from places like AliExpress.
>if you can’t get therapeutic effects at a dose low enough to avoid a “brutal” comedown, you should be looking for alternatives.

Agreed, this is why I no longer use it to treat my condition. The point I am making is that parents need to be aware of these potential side effects, because a child isn't necessarily in a position to articulate the fact that they are experiencing adverse effects like this. The medication is a CNS stimulant first and foremost. These effects aren't exactly rare.
It differs from country to country. This is one system: https://en.wikipedia.org/wiki/Carbon_emission_trading
It's nice and were I to use a standard desktop environment I'd be all over it, but I'm too attached to tiling WMs and bismuth doesn't quite cut it compared to i3/sway.

As a non default environment for most distros, I think this is the problem they face. Once you get into the people going into the customisation sphere, everyone has their own little dealbreakers like moving a window left repeatedly with keyboard hotkeys not wrapping into the next monitor, or the amount of spacing on titlebars or the way the dark theme handles the settings app
Discussed (a bit) at the time:

We Will Never Have Enough Software Developers - https://news.ycombinator.com/item?id=24910949 - Oct 2020 (10 comments)
I saw this as well as someone who hired from "Bootcamps" graduates for a couple of years. The people that got into bootcamps came from all sorts of professions. Most of them had a Bachellor degree (this is in Mexico) and had already worked in their profession for some time.

There were people from Tourism, Law, (non-software) Engineering, Biologists, Chemists, Philosophy, among others.

Most of the people in those areas were burned out of REALLY being overworked, underpaid and being treated like trash (you should see how Law firms treat their interns).
> The keen-eyed among you may notice that although, it had a .pdf extension in assetutil info, I’ve given it here as a PNG. I was confused by this too, but upon closer inspection I believe the PNG is what ships with the OS. Although the .car format is not documented, you can still open it up in a hex viewer and learn a bit about what it contains. Looking through it, there appears to be some metadata for each file, followed by the image data itself.

I reverse engineered the asset catalog format for a bit recently, hoping to be able to unpack and repack existing ones to create system appearances (themes/skins — these also come as .car files, and you can load one as an NSAppearance object and then apply it to your app/window/view).

If it says it's a PDF, then it must be an actual PDF as a "raw data" rendition. I did successfully extract some with nothing but my own code. But, there are no PNGs present in .car files; as of Monterey, bitmap images use a proprietary undocumented compression format called "deepmap2". I wasn't able to exactly reconstruct how it works because my skills of native code reverse engineering are lacking (or am I not using Ghidra correctly to get at least somewhat sensible code out of it?), but I did find the related functions in the vImage framework inside Accelerate.framework.
Why would anyone DDoS a website insignificant enough to be using a free CF plan?
This has strong IT Crowd vibes - https://www.youtube.com/watch?v=pGFGD5pj03M
One of the stated reasons one of the houses in the article was eliminated was because it let a nonstudent crash there, and my own house constantly had issues with the administration over the same thing.
This is exactly what Zillow provides, but with the obvious caveat that the tenant doesn't decide which apartments use Zillow's application/tenant screening features. $29 gives you a 30-day window to apply to however many apartments you would like.

https://www.zillow.com/z/rental-manager/rental-applications-...
Ask HN: Windows recovery CDs without original computer?
I found a set of 6 windows recovery cds in my mother's effects that I made on Jan 6, 2008 on a Compaq mini tower. The original computer is long gone.

So I bought another mini tower of the same vintage, trying to recover, and received a message like "these disks were not made on this machine"

Compaq support was no help and MS support has an open ticket since Nov 2021.

I've looked at the disks on another machine and its unclear what's going on. No info on the format, structure, etc appears in my web searches.

Does anyone know how to get to data off them and or someone or some place who does?

Thanks!
Ideally you would have a platform where you could enable or disable filters for spam, hate speech, etc (independently)... to make sure that they don't filter out stuff that you want to see.

Privacy is a completely different topic though...
please someone fix the internet... I don't want to see any cookie popups on each site and accept / decline each cooke first only so I can see the content I want.
I don't care about all these cookies and this should be managed by a browser. I hope what Firefox did is the beginning of such a fix.
It's still valuable for finding people who are arguing in bad faith. Here's another one: make sure that the person you're arguing with about taxes understands how marginal tax rates work.

People feel confident repeating things they've heard often, with a sarcastic smirk, because the ubiquity of the thing they're repeating gives them some security that if they're called on to defend those things, someone more knowledgeable will probably show up and help.

The most depressing and ironic thing is when a self-proclaimed socialist cites the "crowded theater" thing, which was used to jail socialists speaking out against a war.