skysight-inc/HackerNews huggingface dataset:
What I've found works for me is to have prepped ingredients handy, and not buy junk food (snacks, sodas, cookies, etc.) in the first place.

When the easiest meal available is a salad because it takes two minutes to put all the precut ingredients (lettuce, cucumber, bell pepper, tomatoes, onions, olives, feta cheese) in a large bowl, toss it with lemon juice, olive oil, and put a bit of salt and pepper on top, then it's pretty easy to eat more of it.

For example, in my fridge right now, I have containers with cut bell peppers, tomatoes, onions, feta cheese, mushrooms, cucumbers, carrots, and a tub of spring mix. With that already prepped, a lot of weekday meals are easy to make. Toss some onion, mushrooms, bell peppers and some tomato sauce into a pan for a delicious pasta sauce. Or some onions, mushrooms, bell peppers, and some eggs to make an omelette. Or cucumbers, tomatoes, feta, olives, and red onions for a Greek salad.
You could argue they're so advanced they no longer have war, death, or drama. So they come to watch us unfold. Maybe they watch closely to get odds on what will happen next on an interstellar Las Vegas board.
> What use case do you have to make screenshots without user knowledge, that benefits the user?

Headless browser testing. Network admin at a corporate site. For starters.
Question for you since you seem knowledgeable about React state management. When I did a lot of back-end programming in Java we frequently coded to interfaces where we could swap out back-end implementations for ORM for example if needed. There's an ongoing joke where nobody actually did that.

Is there something like that in React? My understanding is that there's a lot of coming and going of state management frameworks, and it would seem to me committing to thr API methods of a particular framework would be risky. Or am I thinking at the wrong abstraction level?
Yes, the word "entitlement" is mainly used in response to widely acceptable behaviors, and is almost always a passive-aggressive escalation.

I may not be entitled to be listened to when I speak, but it's still reasonable for me to speak with the expectation that I will be listened to. If I do speak, it's not an aggressive claim that I'm entitled to speak and you must listen.
Obligatory Tom Scott video on the Scunthorpe problem

https://www.youtube.com/watch?v=CcZdwX4noCE
Photographer Sues Google, Says YouTube Ignores Copyright Theft
It's more like a foundation for other types of material such as the theory of programming languages (which helps in understanding things like ML). Just about every paper or textbook in PLT relies on logic-based notation and concepts.
I was going to use stronger language, but let's just say "this is magical thinking".

1. People don't like paying for things, especially when they can get that thing for free with some work on their part.

2. Metering by download is obviously problematic (notwithstanding #1) because now every time your CI job runs yarn install, it gets charged. Meanwhile someone packaging a dependency in a binary that they sell to 1000000 people gets charged once.

In my experience the only way to get people to pay for software is to arrange that they simply can't run that software without paying you. This is obviously in conflict with the concept of OSS. Perhaps you can do something if you can get governments to make it illegal to use OSS without paying, but good luck with that.
> When I ported individual sections of functionality, the Swift source typically measured 30% the size of the corresponding C++ code.

This is impressive.
At best, waitgroups are to the structured concurrency as gotos are to loops/ifs(structured programming)--you can implement the latter in terms of the former but the structured part is better (even if/because it is less powerful) as the history shows.
Certainly I can't bring up my penchant for unionization in a job interview, nor would I dare bring up my values as an ethnic minority: I don't want to face avoidable prejudice.
The issue with many staffing shortages being due to the baby boomers demographic is that we should expect it to worsen for a minimum of 8 more years.

And some degree of this age bracket and the workforce also correlates with health issues, disability, and recent decreases in life expectancy (not excluding the opioid epidemic and covid impacts).
I understand Have fun at work...but Friends in high places seems like an odd one. Curious what was your motivation behind recommending this one. Appreciate if you can share.
> If it did happen, that's another problem to be fixed.

Adding problems disguised as solutions is exactly the issue I'm speaking to. You don't actually satisfy needs in this model, you just end up chastising your subjects with "look at what we've already given you, shut up and take it because there are others who need help too". This incites division and factionalism because you've constructed a market which forces people to compete against each other for charity.

Charity is injustice, as Chris Hedges says, because charity demands a cost from the recipient. Beyond this competition, we also can be confident acknowledging that charity develops dependence, which is again the opposite of sustainable self-determinism.
Shoutout to MobX-state-tree
"all we have is average ratings of everything, from tv shows"

IIRC IMDB shows mean ratings, but Rotten Tomatoes shows the % of ratings above a certain threshold. I find the latter more useful.
It goes a bit further than that even, it's not just sums of nth roots it's all formulae involving just sums, products and roots (basically any of the familiar algebraic operations). This includes nested roots etc.

Of course you can write them as a limit of such operations, but that's true for all numbers.
Two high level abstractions that compile into another high level abstraction called SQL.

Why increase the complexity of something that's already a high level abstraction? Abstractions are about simplification. An orm and sqlc are not it.
Like I said: jank.
I'm also glad it exists but have never figured out how to use it on MacOS. I believe I somehow imported my entire /pictures folder at some point, producing many thousands of images in a film roll; I just downloaded 4.0.0 and have spent some time trying to figure out how to reset the film roll, or darktable altogether. Or how to create a new library. There's no typical top toolbar on MacOS.

In clicking around, I've selected "add to library," and darktable is now beachballed. CaptureOne will continue to be my default.

(Before someone points this out, let me acknowledge that the apparent problems with darktable are undoubtedly my fault in some capacity and that I'm Using It Wrong, or that I can't properly read the manual, or that I should watch more videos on how to use darktable.)
That's what I proposed but there's a new designer that wants to use shiny tech. I'm just an advisor for a nonprofit, they ask me because I do it for free basically.
You misunderstand. Law is about persuasion - which is to say it's a combination of marketing, power plays, intimidation, theatrical performance, bureaucratic procedure, and politics.

The logical (verbal) reasoning element is only relevant in those situations where it can be used as a tool of persuasion. It's not the only tool, and it isn't even the most powerful one.

It is absolutely nothing like coding in any sense at all.

For example - term limits seem like an obvious solution. But how would they be administered? For whose benefit? Who chooses replacements? How often, and in what circumstances? How would recalls and impeachments work?

Legislation would have to cover all of those details and more. And the people writing the legislation would be lawyers.

Because you can't just wave a hand and say "term limits, yeh?" and expect that to solve anything.
Could US-Supplied Nasams Protect Kyiv, Ukraine from Russian Missiles? [video]
That’s fair. In my question, I was think more about the Enron/REDACTED scenario commented on below - so thank you for the nudge.
The name "Darktable" is a play on Adobe Lightroom, since "lightroom" is a combination of "light table" and "darkroom", both concepts from film photography.
Let's see if this changed anything.

But my previous experience with editing Sony RAWs on Rawtherappe and Darktable wasn't good.

The color science is missed up in Darktable and in Raw therappe, I just couldn't get something decent out.

I would be editing for an hour and end up with a weird looking image, while in lightroom I would be done in 10 minutes.

People might say that I'm just used to lightroom but I'm not, I was using Capture one, then didn't shoot anything for multiple years, then just went pack to Lightroom and could edit photos without major frustrations and get decent results quickly.

Creative apps in general are a very weak point of the Linux desktop, and when they exist, that have many weird requests and problems that just using them on windows is easier(Davinci resolve requiring the crappy closed source AMD drivers)
I mean a decent pair of pants is at least $100 and a shirt is $15-20. Throw in a few shoes and jackets and $4k is very reasonable, depending on the weather.
Is ‘ads’ considered something that should be censored by anyone?

I come from a land where ‘arse’ is probably more common, so may be missing something.
Donations for individuals
Eg. install AppName donate $10.00

But for companies and governments it should be a subscription
Eg. install AppName sub $10/year
> However, the study also found that reactive movements were less accurate than intentional ones, and that the increased movement speed did not make up for the initial delay.

This makes some game theoretical sense I think. If the first mover is allowed to take his time he will hit and win. The second mover rushing denies this, it creates the opportunity for a lucky hit. Now the first player adapts by aiming a little less than he would want, also creating a possibility of a miss-miss.
At first I was skeptical, then I thought "wait, this was done by a physicist, so it must be reproducible".
Without technology, you'll never see mechanical engines powered by chemical energy, either.

Neither option I gave requires impossible technology, only improbable and unlikely technology.

I don't think FTL is such a barrier if you accept that general relativity isn't a perfect model, even by current known standards.
No. Consider drills (and building habits more generally) as compressing knowledge into preconscious processes. The first gunslinger could be just as engaged as the second. Because they don't have to devote brain calories to the draw, they are focused on other things actively in conscious thought.

I think the "OK Corral" analogy breaks down here because life isn't like gun duels. But the first gunslinger is given freedom to approach with "higher-level thoughts" just as the second is. Requiring some kind of stimulus to react to doesn't pass the sniff test here.
The new, horrible and completely unchecked spam problems Twitter has
This Fediverse thread describes a recently-encountered spam-amplification attack being used on Twitter.

I'm aware that most of the thread requires clicking through "Show More" buttons to read. You'll have to enable JS for the host in question.

That misfeature is itself a long-standing gripe of mine with Mastodon, I feel your pain.
Lost around 150k of stock from my fidelity brokerage account (ACATS Transfer)
Ryzen supporting ECC memory really does make the old Xeon argument futile.
> Actually, it appears to be a real term and not a mistake. I'm finding "medireview" in a lot of places on the web in place of the more traditional "medieval," even in university and college catalogs.
> Interesting.

This is the funniest forum thread I've seen in ages
You could try to build a bluetooth / wifi audio receiver (!) with push buttons for Play, Pause, Forward, Rewind, etc.

I always wanted to try this for having bluetooth to aux in my car, but I never finished it.

Here is a project, that tried to accomplish this:
https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audi...

And my personal notes and scripts:
https://github.com/sandreas/raspberry-bluetooth-receiver
I use Python extensively for my analysis projects - and while Pandas is my go-to library for many things, I feel it's just very slow. I know that just doing stuff in numpy instead speeds things up considerably, and that's way before doing other optimization, but are there any other libraries out there similar to Pandas, but made for higher performance?
Padding work is hard and the benefits are often marginal.
Your seriously broke both the Show HN guidelines and the site guidelines with your post here.

https://news.ycombinator.com/showhn.html

https://news.ycombinator.com/newsguidelines.html

We ban accounts that break the rules like this. If you wouldn't mind reviewing them and sticking to them in the future, we'd appreciate it.
In this house we obey the law of general relativity and forces over c⁵/4G will not be tolerated.

But could someone please explain a little? If I have a widget that does c⁵/4G watts of work when I turn it on, what happens when I turn on a second one? Nothing? Distance between widgets doesn't matter?
This worry causes me to write less documentation than I probably should. I tend to see every line of documentation as a liability because I need to track whether future changes changes will make the doc out of date.

I would love some kind of dependency chart that goes from code to documentation where I can easily see what docs may need to be updated when I change a function.
Your argument is that the 1st Amendment is not one of the strongest legal protection of speech in the world?

I'm not well versed in other nations' approach as it pertains to free speech. Can you enlighten me in terms of how other countries provide legal protection for speech in a way that you perceive to be "stronger" than the U.S? I can't imagine a functioning code of laws that allows for yelling fire in a crowded theater whose nation isn't straight up incapable or corrupt.
Kyoto project is moving from GitHub to Sourcehut
My theory is low fertility rate is the "cost" of equality and women being in the work force. It becomes quite difficult to have a career if you have more than 1-2 kids. And balancing two full-time careers with even 1-2 kids is very stressful.

Either way we should definitely worry about it, we should try to find ways to reach an equilibrium. Whether that's more subsidies for families or not I don't know. In Sweden, free (pre)-school, college, 18 months maternity/paternity leave, free healthcare and dental care up to 18, plus monthly allowance per child has not had much effect on the fertility rate as compared to the US, so it seems that doesn't quite work. But maybe there's something else/more we can do.
English only :-)
Living as a starving student had a pretty strong impact. By the time I'd graduated college, few of the high-priced packaged goods had any appeal at all. And I knew how to do some basic cooking / meal prep.

Pollan himself is pretty awesome as well.
Postgres migration script: Heroku to Crunchy Data
Ok let me make a probably very unpopular comment here: their 3rd point lists "companies benchmarking against all regional or global companies" but in fact what they mean is "companies benchmarking against the highest paying US tech hubs".

I assure you "all regional or global companies" also include Vietnamese companies paying junior devs $300 per month - what is the advantage of the European engineer that is worth paying >=10x as much?

If you're comparing globally you can't cherry pick only the best paying regions because these are not your only competition. And there are a hell of a lot more Bangladeshi, Vietnamese & Nigerians than there are people living in SFBA or Seattle, and if you're truly competing globally you're also competing with them.
If this was so important to get done, Obama would have gotten an actual law passed to give the EPA authority to do it. His party had a filibuster proof majority in both houses of congress, and he was the president.

Instead, he decided to pursue it in a very undemocratic and unpragmatic way, by wildly reinterpreting laws. Such arrogance.
I've used TLA+ extensively when designing distributed systems. It's a mathematical logic language for describing systems and verifying their properties.
I would argue this with: Should the existence of such a font mean, when fonts can be user-configured in a browser, that all subsentence censorship can be opt-in?
If you try to produce more power than c⁵/4G at a single point, a black hole horizon appears and will make exceeding the limit impossible.
> If it was some app that a few thousand people were using, no problem.

You’re right, scale is absolutely an issue for companies that sell software or that are very large.

Also important to consider that most companies use software internally instead of selling b2b or b2c. Fewer than 500 businesses in the US employ more than a few thousand employees* (https://fortune.com/fortune500/2020/search/?f500_%20employee...) and there are over 17.5 million businesses (https://www.naics.com/business-lists/counts-by-company-size/).

* I may be wrong in my assumption that the Fortune 500 companies are the largest employers
Titles would be a nice touch rather than a list of bare naked links.
You think so? Read the case. “LinkedIn v. Robocog”. If you think they let us go out of the kindness of their hearts, I’m interested in hearing more of your thoughts

Also, I didn’t say lawyers control settling. I said they’re tools that can be used to achieve an outcome. And the good ones are very helpful. Force multipliers.

Ours were experts in IP law. They knew it well. We used them along with other leverage points to achieve our settlement.
Found via a thread on Bogleheads, https://www.bogleheads.org/forum/viewtopic.php?p=6756717

In another thread the same Reddit poster writes: "I was just told by e-trade that the stocks were sold and the amount was already transferred out to an unknown BOA account."

It sounds like ACATS has absolutely no security whatsoever. If someone knows your account numbers, and has enough information to set up a fake brokerage account in your name, they can pull your money away, sell it, and transfer it out before anyone can stop it.
Wow..this so simply put together. Thank you !! Also kudos for passing on the credit.
That is how I am building mine and have thoroughly enjoyed it. Especially since 1.18 updated support to allow directories / files that start with an underscore.

I am using svelte for the frontend and that was biting me.
A common criticism is that “but you get so much more for your taxes in Europe”.

I have a counterpoint - you get the choice of what you want to buy in the US. I’d rather keep more of my take-home pay and do without certain services, or better yet choose the provider (and quality / expense) of such services if I want them.

Somehow the bureaucracy in the US is still massive, so I can only imagine what far higher tax rates in Europe enable.
> that is not beholden to the president that appointed them, because the justice can simply “outlast” the presidents term

And to ensure they aren’t beholden to the guy promising them their next job. Compromise could be you become a nonvoting member of the Court after a certain age. You can ask questions at trial, deliberate with other members, et cetera. But you don’t sign opinions or dissents.
I’ve packed those wooden jenga blocks during a visit to Kusasalethu mine, which is similar to Mponeng. You can see the older blocks slowly collapsing under the persistent pressure of the hanging rock. Took about 20 minutes working with two miners, squatting in the 120cm high cut of rock leading up to the seam face. By the end of it I was soaked and exhausted.

Even more crazy when you learn that the average age on a South African hard rock mine is approaching 50. I don’t know how the drillers keep at it for a full 4 hour shift (2 hour shaft-underground train-3km hike commute to and from the main shaft entrance).
The question isn't how badly Russia will be affected. It's how badly Germany will be affected. The relative size of the effects are utterly irrelevant. Germany going into a deep recession would be very bad for German citizens and the EU.

You clearly don't.
Quake 4 Xbox Insider Preview
> I'm doing something similar and love it. Do you embed the entire `public` directory and then traverse the embed.FS to access the files in memory?

I've done this in Rust before, I'm sharing it here as I'm assuming that Go has something similar.

I'm basically hard-coding the paths in the backend to also serve static assets, and embed the bytes of the asset at compile time, so when it runs, it's just serving it straight from memory. Here how it looks for style.css for example: https://codeberg.org/ditzes/ditzes/src/branch/master/src-tau...

It'd be trivial to move the structure to something like a map instead, where the URL is the key and another map where bytes, headers and such is stored. Mostly I didn't, because I'm just embedding few amount of files.
To some extent, this was the purpose of the "container/presentational" pattern that was popular for a few years [0]. By splitting your components into "containers", which were responsible for managing data fetching, and "presentational" components, which just received data as props and displayed the UI, in theory you could swap out the state layer someday without having to alter most of the display handling.

But, the community really began over-obsessing about that, and often treated it as a rule you _had_ to follow (to the point of people seeming to panic and asking for help about whether a particular component should live in a `/containers` folder, `/components`, or somewhere else).

Dan Abramov, who wrote the article that helped really popularize that approach, later updated it to say he no longer finds it very useful.

In addition, React hooks push you towards a very different approach, where each component is now responsible for calling the hooks that it relies on for data fetching. That hook may still abstract where the data actually comes from, but the calls are now part of the component itself. I talked about this change in approach in a blog post and conference talk conference talk [1] [2].

Finally, the testing approaches in the ecosystem have changed as well. Instead of "shallow rendering" components using the Enzyme library, the community has moved on towards more "integration"-style tests with React Testing Library. This does require more setup work in tests to ensure you have all the various data providers wrapping the components under tests, and real or mock data being loaded, but the tests themselves become simpler and any state library usage becomes basically irrelevant to the actual test implementation. See [3] and [4] for some thoughts on that.

Soooo... yes, you _can_ write more abstraction layers, split your components by "containers", and even add DI via React context or some other purpose-built library if you want to. You could even abstract out all the UI components you use from a particular library just in case you end up swapping date pickers or something. But as always, it's a question of whether that will actually provide a benefit, now or in the future. And in general, most React apps do not bother with those extra abstractions.

[0] https://medium.com/@dan_abramov/smart-and-dumb-components-7c...

[1] https://blog.isquaredsoftware.com/2019/07/blogged-answers-th...

[2] https://blog.isquaredsoftware.com/2019/09/presentation-hooks...

[3] https://kentcdodds.com/blog/testing-implementation-details

[4] https://blog.isquaredsoftware.com/2021/06/the-evolution-of-r...
War and propaganda go always hand in hand but the main difference here is in capability and scale.
If there is any way for genetics to influence family size, it'll quickly spread. Cultural factors and resource constraints dominated for millennia but we'd now expect things to go the other way.
Because if they didn't treat their customers like crap, they might still theoretically have had customers at some point in the future