skysight-inc/HackerNews huggingface dataset:
Yeah and the risk of damage is also baked into the retail price. However, I think in most retail settings, the marginal COGs of a single item will approach the actual cost of that item. If it's a pain to clean up, then I'd say a little extra cost would be fair.
They’re right. Mozilla is ‘the Firefox company who imagines themselves otherwise’.
Aren't those the same thing? <type> typedef <name>

My c is pretty rusty, admittedly.
I totally agree. It's like we've forgotten what browsers and HTML are meant to do.

Back in the day we used to rail on Flash websites because while they looked nice, they weren't accessible to screen readers etc, sites weren't consistent, links didn't turn purple, and the back button didn't work.

Now we've done that again with HTML and React.

Flash is dead, long live Flash.
You ignored all of my comment. The point is, people here want to eliminate more educated, more likely to have financial backing candidates for their jobs. But they would bristle at the suggestion of any such thing for business success, college admissions, academic awards of any kind, etc.
BMW to build $10M center to pioneer new EV battery recycling method
>- local retailers offer better jobs, and often better benefits.

Is this backed by empirical evidence? I've also heard that small local companies have worse labor conditions, because they're small and fly under the radar compared to multinationals. One incident of an Amazon delivery driver peeing in bottles (even if they're technically working for a local subcontractor) is enough to show up on the New York Times. The same isn't going to be true for some local firm. Moreover, it's possible that "local retailers" targets a more upmarket segment compared to national chains. When I think "local retailers", I think small boutique shops in gentrifying neighborhoods. Obviously those stores will have better working conditions than Amazon, but it's not as if we got rid of Amazon, it'll get replaced by boutique shops, or that most people would be better served by them.
It is an area where I am still learning, but as far as I know, the badness of things is relative. CPU-GPU communication is the major thing to avoid. In my CUDA llama3.c fork, making changes to reduce CPU-GPU communication generally increases performance. That means combining kernels and reducing cudaMemcpy and cudaMalloc calls. CUDA graphs likely could give further reductions, but I have yet to run out of ideas for more normal methods for getting them.

To give a concrete example of CPU-GPU communication in a tight loop being bad (much like what you were planning to do), when I initially moved softmax to the GPU, I had been invoking the kernel in a host side loop (since attention calls softmax multiple times per pass), and it slowed down inference by a few tokens per second versus the CPU softmax. I eliminated the host side loop by using the grid dimension so that 1 CUDA call did all of the loop iterations implicitly and inference became a few tokens per second faster than the CPU softmax.

As for branches, avoiding them on the GPU where possible can be beneficial, as long as you are not doing something more expensive like CPU-GPU communication in their place. For example, in my softmax kernel, rather than do a branch to calculate the maximum value inside my loop, I use fmaxf(). This is better since there is no branch, and fmaxf is incredibly cheap since it is a single PTX instruction (which presumably maps to a single SASS intruction).

GPGPU grew out of work for having programmable shaders on GPUs and a big part of that was branching. As long as you are minimizing branch divergence and only using necessary branches, you are fine as far as branching on a GPU are concerned.
Depends where your boundary for "100% Anything" is I suppose. It seems to use GPU accelerated kernels written in Python via the Taichi library for most of the physics calculations. At some point, sure, the OS+GPU driver+GPU firmware you need to run the GPU accelerated kernel are not written in Python (and if you run it on CPU instead it will be slow, but more because you're using the CPU than you're not using C or something). There is a bit of numpy too, which eventually boils down to some non-Python stuff (as any Python code eventually will). I'm not sure that's a useful distinction or that the choice of language in defining the kernels makes a meaningful difference on the overall performance in this case.
US egg industry kills 350M chicks a year. New tech offers an alternative
Found it in the Wayback machine, had to go back a few years:
https://web.archive.org/web/20150111121618/http://www.rattra...
This is unfortunately very common for OHRMs. Once your heartbeat approaches your running cadence (~180 bpm), physical movement becomes confused with the color change of your blood that an OHRM relies on. Tightening your wrist strap can help, but if you want accurate heart rate data for workouts, a chest strap is the way to go. Garmin makes a very good and very inexpensive one.
It's called "community" and our generation has no idea what that word means or why there is value to it.
Why are fruit pickers hanging from trees at all?
One of my old managers told me the story of how McDonalds was doing tests to improve their coffee. They asked people to taste-test the McDs coffee, but the cup disguised the fact that the coffee was from McDs. The ratings were generally good.

When they did another taste-testing but the coffee came in McDs-branded cups instead, the ratings were bad.
It will have more business people asking about robots, other than that I doubt it will. Amazon don't even care if the packages are late because of this, they still get your purchase.
Companies That Spent Billions on M&A Are Now Selling for Peanuts
Another alternative is GhostText, which I like for long-form editing - it syncs your text editor with a field, so you can work in your editor. Supports vim & nvim, Sublime, and a few others.
All I want for Christmas is a good LSP for SQL ! Ideally one that would be customizable enough to allow SQLPage functions and parameters.
"Thee" isn't the informal form of "thou", it's the oblique form, ie "the bell tolls for thee", you'd never say "the bell tolls for thou", no matter how formal or informal.
Are they run by the same charity, Catholic Charities ?

The 2 Catholic hospitals I referred to were run by 2 different Catholic Orders, one based in Quebec and I think the other was based in the US. Those 2 "merged" and then they were purchased by the third, then later on became that one became owned by Tufts sometime within the past couple of years.

Now I would not be surprised Catholic Charities is the only one left. Also these days seems all charities have started chasing "profits" too.
I was going to suggest the same thing. I'm on Monujaro, and it has really altered my relationship to food. My cravings have gone way down, and I can stop eating them. For example, I had an American-size sandwich at a restaurant the other day, and when I got halfway through it, I realized they didn't need to eat the rest of it, so I took it home.

These drugs are truly superb and I hope they find a way to deal with the cases of blindness it seems to trigger.
For profit is probably a good theory to explain why American health care is so expensive, but it is not so good as an explanation for why the cost is increasing.

If you look at per capita health care spending over the last 50 years in the US and other first world countries what you see is that spending has increased at roughly the same rate in most of them.

That suggests that the increases aren't due to peculiarities of individual systems (e.g., the heavy dependency on for profit providers in the US) but rather due to something common to most health care systems.
Keep Higher Order Perl for later. It's great but far too much for a 2nd book when getting started. The camel book Programming Perl is still a great start which adheres to the layered aspect. Don't read all of it, just a few parts as needed. I recommend to add Perl Cookbook early, to look things up as you go - it gives idiomatic-ish ideas of how you might do X in Perl. Perl comes with a mountain of very complete and useful man pages: you start with looking things up in the camel book, then transition to looking them up in the man pages.
> Every generation of programmers typically only has a certain window of knowledge

That's true, of course, but I think the disconnect he's pointing out is: a) deeper than that and b) new. I grew up a ways before he did and my first serious computer was a commodore 64. Like his 286, there was nothing you could do with it _except_ program it, and programming was hyper accessible. I immediately understood C's pointer syntax when I first came across it because the only way to show graphics on a C64 is to write to a specific memory address and the only way to intercept keypresses is to read from one.

Fast forward to the 21st century. My son is a smart kid - graduated valedictorian of a competitive high school - but he grew up with "computers" that hid the programming interface down so far that most of his experience with actual programming has been through emulators so the whole thing feels (and is!) artificial. He still struggles differentiating between what's "real" and what's emulated and I can tell from interacting with other programmers his age that he's not alone.
Isn't Mozilla worth half a billion dollars? Perhaps they are "independent" in the sense that they are technically a different organization than google, but usually when I hear independent it evokes images of some "plucky upstart" looking to take on some giant superstructure. I'm talking about independent movie theaters, or independent coffee companies. Things like that.

Calling Firefox an independent browser is kind of like calling Internet Explorer an "independent browser" - it very well may be a different organization, but Microsoft is hardly independent as some kind of thin, agile, and flexible upstart looking to "take on old man google".
The literature does not always put the “tracing” in front of the “garbage collection”.

For example, nobody says that Objective-C is garbage collected just because it has ARC. Nobody says that C++ is garbage collected even though shared_ptr is widespread. And systems that do tracing GC just call it GC (see for example https://www.oracle.com/webfolder/technetwork/tutorials/obe/j...)

To think clearly about the tradeoff between GC and RC it’s important to acknowledge the semantic differences:

- GC definitely collects dead cycles.

- RC knows exactly when objects die, which allows for sensible destructor semantics and things like CoW.

- it’s possible to use RC as an optimization in a GC, but then you end up with GC semantics and you still have tracing (hence: if it’s got tracing, it’s a garbage collector).

It’s a recent fad to say that RC is a kind of GC, but I don’t think it ever took off outside academia. Folks who write GCs call them GCs. Folks who do shared_ptr or ARC say that they don’t use GC.

And its good if this fad dies because saying that RC is a kind of GC causes folks to overlook the massive semantic elephant in the room: if you use a GC then you can’t swap it for RC because you’d leak memory (RC would fail to delete cycles), and if you use RC and swap it for a GC then you’d leak resources (your destructors would no longer get called when you expect them to).

On the other hand, it is possible to change the guts of an RC impl without anyone noticing. And it’s possible to change the guts of a GC while preserving compatibility. So these are really two different worlds.
> I’ve never seen a charge for talking to ins co.

You don’t see the cost of the electricity on your bill either, but it’s going to be passed on.

Doctors can’t directly bill anyone for this time so they simply bump up other charges to compensate, the same way they cover rent or the office phone bill.
Compared to average workers, software engineers are specialists. H1B holders are often brighter than their citizen counterparts by at least one objective measure: advanced degrees holding. It's very hard to find US citizens with advanced degrees who can code well and understand computer science.
I use something similar with y’all’re (= you all are).
This is a fair question. My youngest is 11 now, so the "Santa" days are behind me. It was part of my upbringing, it's fun, it's a big part of the culture, the share of kids who truly get nothing (which is absolutely heartbreaking) is small and invisible to those of us with any level of privilege.

Their mother and I didn't ask ourselves "should we do this?" -- we just did. Not everything in life is (or has to be) a rational decision.
There are plenty of other situations in English where the masculine plural is gender inclusive (probably because so much of English is borrowed from romance languages). For example, "actors" can refer to both male and female actors, "actresses" cannot.

Identity politics has resulted in certain groups making concerted efforts to try to eliminate such usages, but it's still an ingrained part of our language.
I’ve heard other parents say this exact thing.

Where does this concept of Christmas parenting originate I wonder!
Oh awesome, so that's why Logitech mice work so much better than other mice in macOS. Cool project:

https://sensible-side-buttons.archagon.net/
Being broke is naughty. Being broke is naughty?

I can't decide if that's the question or the statement.
Hmm I think two, since Google pays (paid) Apple to be the default search engine on iOS, it could’ve been said that WebKit and Safari development might have been partially financed with this money.

But I guess that falls apart when we treat Safari as dependent on Apple, which it is.
None of anything you said indicates demand elasticity.

Healthcare is notably inelastic. Do people eat more 8x more paracetamol in the the Netherlands than in Switzerland, because it's a better deal? No I suspect they both take it for pain when they have pain. That's demand inelasticity.
Becoming deeply bitter is a very normal outcome of dealing with literally anything, in any year. It has very little to do with US company hiring processes and a lot to do with someone’s attitude and outlook on life.

Both of my dads (father and FIL) got cancer this year. My mom almost did.

You don’t have to become deeply bitter, no matter what your situation. Many people do anyway, and that is by no means a moral failing of any kind, but it has very little to do with the individual events that precipitated it.
ah that makes more sense!
React and similar frameworks are still generally better for accessibility compared to Flash, but at the same time can be worse because pages may behave sporadically and in unexpected ways, whereas Flash would be a blindspot for many screenreaders and related software.
Also, it makes sense to target this show at complete beginners, because experienced programmers rarely change their tools.
> And you really think the local shopowner kept all the profit in their community? E.g. they didn't send their kids to college in another state?

Imagine spending money and having that money allow people in your local community to afford college.

Then imagine thinking that’s a bad thing.

Obviously it’s complicated, but the gist is longer money stays in a local area, the better off that area is going to be.

It’s better for money to leave my town so that my neighbor’s kid could go to college than it is for me to get two day shipping on a new game console.

A pathological case could be made that every dollar that you keep in town is a dollar someone spends outside of the town.
That’s a valid argument in theory, but in reality that doesn’t happen.

People go to local businesses and spend money. Local bars, specialty markets, farmers markets, etc.
Biographical vs. Aspirational Startup Values
"... train AIs in morality."

What is morality?

My opinion --- morality is enlightened self interest. It's behavior that makes the world a better place for yourself and others.

Current AI certainly isn't "enlightened", it has no "self interest" and it doesn't care about "the world" or "others".
I feel like my ADHD brain creates a bunch of sticky notes that then get attached to a page in a notebook, which is then unceremoniously shoved into a backpack with its cover open so that the sticky notes come off of the pages and fall into the backpack and get crumpled.
Santa brings kids what they deserve. In other words: https://en.wikipedia.org/wiki/Just-world_fallacy
WeChat Account Create
Can anyone share his WeChat QR code? I am badly in need of connecting with some Chinese. So I hope someone can be here to help me create one.
I'm assuming you're talking about the newer USB-C laptop chargers, instead of the old traditional "barrel plug" laptop chargers.

The main reason a data connection of some kind is necessary, is because it allows for universal chargers (the U in USB means "universal", after all). The same charger can be used for a laptop charging at 36V and 5A (https://frame.work/blog/framework-laptop-16-deep-dive---180w...), and a phone which cannot tolerate anything above 5V and needs less than 3A. Even old "barrel plug" laptop chargers often already had some kind of data connection (for instance, old Dell chargers, which output a fixed 19V, could tell the laptop whether they are a 65W or a 95W charger, you can see it on the BIOS screen).

And for compatibility, the USB 2.0 wires (the negotiation described above happens on the separate CC wire) are also necessary. The way old USB-A phone chargers told the phone (which usually had a micro-B plug) they're a charger was through the USB 2.0 wires. The standard way of doing that is shorting both USB 2.0 wires together, but there are proprietary alternatives which do something else with these wires. A USB-C charger can charge these old phones through either a USB-C to micro-B adapter together with a USB-C cable, or a USB-C to micro-B cable.

> How do you approach this security threat? Or do you not do anything about it at all?

Frankly speaking, the security threat I'm more worried about is a low-quality or damaged charger accidentally putting unfiltered 127V AC into the USB port. The best way to protect against that threat, which also protects against the "charger is a malicious USB data device" threat you're worried about, is to carry and use only your own high-quality charger, together with a portable surge suppressor (which has a MOV with a fuse).
Epistemic Akrasia (2013) [pdf]
They do in fact have "alternative revenue streams" and HN complains about the existence of every single one of them. Every threat about Pocket or Mozilla VPN or Lockwise etc. etc. is full of the refrain "Why don't they just focus on Firefox"

There's no "alternative revenue stream" that would bring in that quantity of money without requiring significant investment that would detract from Firefox engineering, which people would then also whine about endlessly.
Reminds me of this (slightly melodramatic) article: https://www.oldtimestrongman.com/articles/the-iron-by-henry-...

Lifting has definitely played a changing role in my life. As a kid it definitely did instill the idea of working for results. It was extremely rewarding to see that when I worked out consistently and with a plan, I was stronger than my friends who went inconsistently or with poorly planned workouts. As an adult now it's more therapeutic - so much of my day is ambiguous, out of my control, or searching for how to apply my leverage instead of actually just applying my leverage. So it's very nice to have an hour of my day where I decide what I am working towards, and be able to hit clear goals largely by putting in blind effort.
True, not by itself.

But concurrent GC is the basis for making deterministic GC, since it gives you the option of scheduling GC work whenever you like rather than pausing the world.

Some concurrent GCs are also deterministic while others aren’t. I’ve written both kinds.
What's the problem? Just do a Vickrey auction with your insurer, where you bid how much you're willing to spend to stay alive, and they make a counter-bid.

If you win, they spend their bid to keep you alive; if they win, they pay out your bid to your next of kin when you die. A perfectly Pareto-optimal solution of revealed preferences! /s
README suggestions:

Put the animated gif at the top

Add subtitles to the gif explaining what you're doing.
Show HN: Movie Iris - Visualizing Films Through Color Extraction
I saw someone post these on reddit 4 years ago, and I really wanted to make them. I was surprised they didn't open source their code, so I rebuilt it.

Lots of things I would do differently now haha, but anyway, figured someone here might find it interesting.
DoJ would be right if it was illegal, which it probably ain't. (although maybe that's breaking some laws around monopolies, but I doubt it)

The right governmental department is likely the FTC instead.
People think the child like wonder and awe in the supernatural like tooth faeries and Santa are cute. Personally I remember the day I realized the Santa farce and I was quite disappointed and honestly felt betrayed. I never told my parents this but swore to never present Santa as anything other than a symbol if I had children.
I agree wholeheartedly. But unfortunately, my snarky streak says "to buy the government of your choice and suppress the opinion of those that disagree with you"
You really want to live in a world where anyone with $10k can start prescribing medication? It'd be nice for the heroin dealer down the street, as the no longer have to worry about the cop. Just pay your yearly fee and start slinging Oxy. No downside to that, right
The responses here are pointing out structural problems in the industry, but I think this potentially misses a larger point: this article shows stats tracking healthcare spending without accounting for healthcare needed.

Yes, price discrimination, lack of pricing transparency, excessive administration costs, etc all add to spending. But at the same time we know that a lot of chronic diseases are increasingly common, that we have a large number of aging boomers, and that new, effective but expensive drugs (e.g. semaglutide) are being prescribed to both people that need them and perhaps some that "need" them, so there are simultaneously good reasons to expect healthcare spending to go up.

If we can't track both the price and the care delivered, we can't really see if the efficiency of care delivery is getting worse (though it probably is). If we don't have metrics that compare care delivered to care required, we can't tell if we're failing to care for our population ("Bob needs X but can't get it because he can't afford it") or over-prescribing and testing ("Alice may not need Y but her GP put her on it to cover bases").

The system is broken. The players are corrupt. But measuring spending only does not really illuminate the issues.
Exploiting McDonald's APIs to hijack deliveries and order food for a penny
"I'm not talking to you, I'm talking to you".
Kids talk about the best gifts they got for Christmas, regardless of whether the name "Santa" was on the tag.
Sometimes.

Some things are easier to verify than to generate.

LLMs can often make a distribution of generated outputs that is much closer to a good answer than other methods.
this is why I dislike the modern web so much. I love to find websites that are nice and simple, load fast, and have no JS bullshit to render "modern" UIs. But yeah, old man yelling at cloud and stuff... but you know what, I'm fine with that. And I do have the hopes of building something useful and successful that gives the middle-finger to all these "modern" frameworks.
But they don't need to know the actual COGS, they just need to threaten to drop the vendor.
And the tech would be enough to make a 2012-era James Cameron drool.

Sometimes tech is amazing.
No normal humans are against those simple ideas. Problem is that congress is so easy and cheap to bribe that humans influence less than a majority of the votes in congress.
To be fair, the Rust thing was really great.

All the lackluster AI, VR, and other toys have been wasted efforts though.