skysight-inc/HackerNews huggingface dataset:
Same for the original patch from the mailing conversation above. The original results in (reformatted)

#ifdef CONFIG_PPC32
*data = ((unsigned int *)child->thread.fp_state.fpr)[FPRINDEX(index)];
#else
flush_fp_to_thread(child);
if (fpidx < (PT_FPSCR - PT_FPR0))
memcpy(data, &child->thread.TS_FPR(fpidx), sizeof(long));
else
*data = child->thread.fp_state.fpscr;
#endif

while the final patch is

flush_fp_to_thread(child);
if (fpidx < (PT_FPSCR - PT_FPR0)) {
if (IS_ENABLED(CONFIG_PPC32))
*data = ((u32 *)child->thread.fp_state.fpr)[fpidx];
else
memcpy(data, &child->thread.TS_FPR(fpidx), sizeof(long));
} else
*data = child->thread.fp_state.fpscr;

So there is actually a difference between both solutions. The original has neither the flush_fp_to_thread not the else-condition for the PPC32 architecture. I cannot say which is right/wrong/better but it's definitively a different result.
India succeeds in reducing emissions rate by 33% over 14 years
It makes them money because if you pay attention, apartment prices almost never fall nowadays. They always gradually go up. In a market where supply is constantly being added to meet demand, you would expect costs to go down in cities where people are leaving. For example, NYC's population has remained relatively static or even gone down, but the rent prices sharply go up, far more than inflation.

Keep in mind the majority of the value is in the property too, not the amount made from rent. They can effectively sit on the property and still grow value, then withhold apartments in order to either force legislative changes or force rent to go up. The loss of value from leaving those apartments empty is less than the gain in value from being able to raise rent, which results in perverse incentives.
Don't worry. Apple already installs spyware on their devices for the Chinese market. It's called iCloud.
One solution is to follow the northern European approach and remove criminals from broader society and teach them how to live in homes together with basic life skills and responsibilities (with no escape from the island).

The US could set up an internal Australian where people are sent to learn to live proper community life away from distraction.

This of course would be after institutionalizing the mentally ill.
Knowing the people or knowing the rules?
This was the question I jumped on today to ask.

Not aspergers/autistic, but neurodivergent, and the thought of working in an office, which my next position is likely to entail, is nauseating.

I don't know if I can function in that environment with people moving around constantly, and am worried that asking "hey, can I be remote only?" right off the bat is a big negative when interviewing.

Thanks for asking this. :-)
No difference as any := interface{}
> Wait a second, they don't do that.

Do they need to do that, in the first place? And, is there a guarantee that they won't?
Can't wait to buy one!
Can't wait to buy it!
>> to recognize a looming availability of human workforce which might be useful for some (other) business opportunity.

In other words: a cheap labor force of people now desperate enough to accept lower compensation that their previous employment. If these later employers were able/willing to pay a similar wage, they would have already been doing so. Predicting a forthcoming a wave of despite people as a business opportunity, a chance to pay people lower wages tomorrow than you would have to today ... that is a dark sentiment. I think twitter is going to fail, but I'm going to wait on launching my new startup until the market is flooded with x-twitter employees willing to work for peanuts. Dark.
This is quite nice - the biggest quality of life improvement on it for me would be to take that monthly totals from the "seasonal" button and make a little sparkline with it to put in that initial box (where you are only showing the mean annual depth)
Hello Everyone
Harsh here from Noice by Creatosaurus.

Do you usually struggle to find suitable free icons & illustrations for your designs?

Worry No more, We are excited to unveil the Noice - 11,876+ Free CC0, Open Source Illustrations & Icons library by Creatosaurus.

Do you need any other category of illustrations or icons for your designs, then comment your category and illustration requirements on this HN post and we will make it available to everyone for free within 2 weeks.

You can use Noice assets for Free. The library has illustrations, Clipart, Vector SVG, and 3D assets for your designs, UI, and social media are available to download in PNG and SVG.

With Noice, our vision is to support every maker, creator, founder & designer to express their stories with a universal design language which is open and accessible to everyone.

Stunning free elements that will make you say, Noice!!!
I mean, it is a very neat and easy-to-use platform at this point with relatively good privacy. I hope that doesn't entirely go away and I hope Apple will move some of the restrictions they make in the App Store into the OS. I really like that apps have to disclose what personal data they process and that apps can't just use private APIs for unlimited spying (two things I'm sure Instagram and my bank would love to get around, and I can't realistically do without either). Also hope I won't have to manage 12 different app stores because every large brand will try to force their own. I'd be happy enough with just side-loading apps I write myself, as Apple will doubtless add some scary messaging, so Meta et al won't be able to use it for their apps.
I think that’s also Jonathan Blow’s approach in a way.

Figure out a fun mechanic and build a game around it. He even had a talk where he discussed several game prototypes that had mechanics he initially thought could be fun, but after implementing weren’t great so moved on to different projects [0].

———

[0]: https://youtu.be/ISutk1mauPM
I mean I don't know a single apple user that trusts apple but maybe I understand the concept differently than what you're implying. I love my iphone but that's in SPITE of apple's app store meddling, not because of that.

The one exception I can think of is apple forcing twitter to keep the block functionality.
Or the best of both worlds: put your numpad on another layer at the home row. Press a modifier key with one hand, and enter numbers with the other.
Maybe! I am definitely not here to defend the English roast dinner, just to survive it when it's plonked in front of me.
Author here. Thanks for your nice comment. I added a note to say it does work with autoformatters too. Actually someone in a comment below said he or she prefers the autoformatted syntax.
How do we know we are not in feudal system right now? Propaganda machine is telling us we are in a democracy, but all I see is oligarchy controlling the system.
Starving for Gucci!
I recently got a Keychron Q11 split keyboard. The quality of the keyboard is so good that I think the people involved in making these keyboards must be truly keyboard lovers.
Essentially. And then have:

Object.prototype.pipeTo = Object.prototype[PIPE_TO]

or some other name instead of `pipeTo` should there be a conflict.

JS already has a few well-known symbols like Symbol.toPrimitive that allow one to modify an object's behaviour (in this case what happens when `valueOf` or `toString` is called), so there's precedent.
My point is that I wouldn’t say that that labor comes for free. In any case, that triangle would then not apply in a commercial setting, where you have to pay those doing the labor, in addition to it taking time.
Thoughts on different fonts for different languages in a text editor
It would be nice if text editors could select different fonts for different languages.

Suppose I have a nice font that only supports latin characters but the codebase I work with contains symbols and strings in both English and Japanese. At best, my editor will render my font's supported characters and fall back to some default for everything else. At worst, any characters not in the font won't be rendered at all. Wouldn't it be nice if we could select one font for English and a different but matching font for Japanese?

I'm not aware of any text editor that has this sort of feature. Does anyone share a desire for this?

I'm thinking of contributing work on this for some editor but I'm not sure how welcome this would be.
No wonder Apple has been adamant in keeping 3rd party devs away from executable memory :)
> I want to run Firefox on my phone. The actual thing. With containers and extensions. Let Safari compete on the merits.

I want to run AnkiDroid. So I bought a phone that runs it. I don't have an opinion on this EU decision - but what precludes you from purchasing a phone that supports Firefox if that's what you want. Isn't the classical argument that the market would push users like you away from an Apple device, and that market pressure would be the tipping factor in Apple deciding whether or not to allow Firefox?
Nothing will change in your use case. Just keep using the App Store. No one is going to force you otherwise.
So should OTF become OpenTofuEnterprise ?
https://github.com/leg100/otf
Whats stopping you staying inside the existing Apple tools, after they open things up?
func doSomethingSomeWay() *SomeError {

Yeah, you'd never return a concrete error like this -- clear red flag in any code review.

For precisely the reason you're demonstrating here! (Among several others.)
Makes sense, but then my next question is - what happens if you don't happen to have this network already? If someone didn't go to a technical university or moved countries and their old networks aren't useful anymore. How do you create networks if the stroke of luck didn't favour you?
Your enthusiasm for collecting and buying keyboards isn't considered unhealthy; it's akin to periodically upgrading a car. At best, it's comparable to exclusively sticking with sedans or small compact cars.

Mechanical keyboards or building custom ones, especially those with Cherry MX keys, are where the excitement lies.

You might not have had the chance to explore them all yet; there's an abundance of various types available.
I've contributed to an open source project after wasting hours of my time diagnosing a bug, diving into the code, and making a fix. The project was in an area I was trying to get a job in, and the contribution would have given me rapport with the FOSS-supporting companies I was applying for.

Instead of taking my fix, the maintainer spent a month making drastic changes to the architecture to address my problem and fix. There was a major version increase and people left using the old version of the code either had to deal with breaking changes to adopt the newest version with the fix, or use my fork. The whole thing was non-sensical and I came away thinking the maintainer was an absolute idiot.

No one likes their hard work going to waste so I don't know how a rewrite under someone else's name could ever be justified. Wanting to get credit for your work is only natural and sometimes career changes are hinging on being able to build your resume in this way. Even from just a reputation aspect to get more sway when attempting to tackle more ambitious changes.

When credit is robbed from someone for no good reason, it's just wrong imo. It's crazy this even has to be explained.
Dont train AI using works from the writers.
Hey!
Could you give any insights as to what would make it easier (from your perspective as an engineering manager) to work with AS employees?

Social skills aren't the issue here, just inability to function in a noisy / motion-filled environment.
Sublime with no windows open: 410mb of memory

CotEditor with no windows open: 80mb of memory

BBEdit with no windows open: 85mb of memory

In the Activity Monitor.
Kotlin as a predefined language... Good news!
I think in a side to side test it should be subtle but clear
Apple should open up the boot loader and let you install an alternate OS.

Can’t get any more open than that.

But I think we will find people actually want access to Apple’s audience and dev tools for free. I’m loathe to stump for megacorp like Apple, but in the same vein as iMessage, I don’t think we should drag iOS down to Android’s level just because Googles messaging strategy has been a turd for a decade.
Once, I learned that someone wrote a "security patch" for another project that embeds mine. They focused solely on the part where their fuzzer caused a crash, they wrote a patch that, in their mind, fixes exactly the problem they found. But the patch made no sense - it added a check mid-loop for something which was an invariant. The actual wrongness was in an entirely different file, it was passing invalid initial values, and checks needed to go there instead. I fixed the issue in my project correctly, and in the changelog I gave credit to the original person for both discovering the security flaw and providing a patch... that I didn't use.

In another situation, I was using an emulator and it didn't read a file correctly. I read its source code for the first time, I fixed it, in what I thought was the right way. I supplied the bug report and the patch. The maintainer thanked me and fixed it a different way - a way that wasn't obvious from their code, but was a better fit.

In another situation, I found a library that sticks out like a sore thumb and doesn't accept values that other libraries do (the standard they're all aiming for says the value is "implementation defined" so this is technically allowed but it annoys me). I raised a bug. I offered a patch. The maintainer had a bug up his ass about this particular value and told me he was changing nothing. Not much I can do about that.

In conclusion:

FOSS maintainers aren't endless fonts of personal validation for you. Some of them don't even want contributors. They already gave you the software for free, _and_ the legal means to fix it yourself. You can patch it, you can fork it. Your fork might be better than theirs!

They might accept your bug report. They might review your patch. They might accept your patch. They might mentor in you how their project works. They might devote all their time to contribution management and never have time to write their own project. Each of these takes their time and energy. They don't owe you any of that. Not every project is a popularity contest, not every project wants your help. This is all OK.
Windows Kernel-Mode and Python Scripting for Ultimate Control
Created ksh for fun: A kernel-mode Windows driver, paired with Python, showcasing advanced OS controls.
Open to PRs for more features.
If there's interest, I'm considering a Windows driver tutorial. Dive into OS internals with me!
40 years is not that long ago. Have we really learned anything ?
I mean, we're not talking about contributors who implement a whole new feature which you hadn't planned and want you to merge it, we're talking about bug fixes, which are generally short, and their value should be easy to gauge?
This will improve driving safety.

Currently any recognized address is an advertisement for Apple Maps in the App Store (which I can’t use due to how dangerously inaccurate it is in rural areas)

This makes the copy paste activity opening google maps, etc. much more likely to go away.
Jeans. I think the reason I don't have to do it much any more is I work from home now so don't have my phone in my pocket almost every day.

For PCs, laptops, tablets, e-readers etc I can't see this ever being a problem. It's not just phones, remember.
Nothing, HIP is essentially API compatible. That gets you nothing because CUDA nVidia optimized code will perform quite abysmally on a Radeon/Instinct.

And furthermore nVidia has a bunch of proprietary libraries AMD has not cloned either.

Normal people use Tensorflow, Keras or PyTorch anyway, not raw CUDA or even its libraries.
The one place that is the stronghold of raw CUDA is molecular dynamics simulations because it's been written ages ago by some researcher who has never heard of Tensorflow etc. And probably uses cublas and/or cufft for which the AMD replacement is a joke and incompatible API. Situation there is slowly improving finally with Magma.
I’m intrigued to see what kind of problems it’s going to be good/bad at. I think it’s going to be tricky to evaluate though because it has probably memorized all the easy images to eval it with.

Eg anything pulled from Google Images (like that Pulp Fiction frame or city skyline photo) is not a good test. It recognizes common shots but if you pull a screenshot from Google Maps or a random screen cap from the movie it doesn’t do as well.

I tried having it play Geoguessr via screenshots & it wasn’t good at it.
Gotta love you supportive people. This is what makes HN a great community.
The best is when you actively avoid Google products for almost a decade but Google buys a product you already bought into and craters it, e.g. Nest.
> EU industry chief Thierry Breton today publicly called on Apple CEO Tim Cook to open the company's ecosystem of hardware and software to rivals

That's what happens when you call the wrong people.

Should he asked NSO Group CEO, he would have found out, that Apple is a very open platform where you can install anything. /s
> It's basically crying that someone else is doing something better than you.

That "someone else" used state power to beat you, imprison you and starve your family if you dared to organize with other workers.

Meanwhile, literal conspiracies of factory owners had full legal protection and the ability to write laws, including laws that gave the death penalty for machine breaking.
It has a changed quite drastically but I (n=1) was raised on Julia Child cookbooks, so tasty (and rich!) but subtle could probably still describe my palette. Traveling France, everything I ate out seemed so familiar and wholesome but it took a lunch of duck to realize why in a lightbulb moment. Child was so influential I doubt I’m alone.

I’d eat mutton in a heartbeat (now and as a child) though maybe more because the Hobbit and dwarves did too!
It isn't really the flavour of lamb (I will smother it in any and all condiments available to me), it's that it doesn't turn to liquid as I chew it, and slowly all the actual tasty stuff dissolves away and you're left having to force yourself to swallow. I understand that you and others in this thread will say it's been cooked incorrectly, but we seem as a nation committed to having it this way. My point is that it's not always easy to demand vegetarian options in every social setting, so I've had to train myself to force it down.
Yeah sorry, I mostly wanted to make sure the B didn't get dropped in any replies to you
Get an off-the-shelf Arisu layout keyboard from a reputable manufacturer. You don't have to worry about the billion options. The Arisu layout keyboards are the closest mechanical keyboards you can get to a MS Natural keyboard layout, IMHO.

Keychron has several models of different sizes that give you good options on size vs. function vs. price: V8/V10, Q8/Q10, K15 Pro, etc. They sell on Amazon, their own site and some mech kbd vendors as well. Their own site is the only one that carries the entire product line, however.

Akkogear has a model (ACR Pro Alice Plus) that's quite affordable and good build quality.

Feker Alice boards from Epomaker are another good choice.
Same could be said for Android. Moreover, exploit brokers are paying more for Android exploits than iOS ones [1], and that could be used as a good counter argument against Apple's security and privacy fearmongering.

[1] https://www.zerodium.com/program.html
We also no longer have exile as a punishment.
Good thing I rarely enter more than a few digits :)

Having a "tenkeyless" means my mouse position is aligned with my shoulder, with a full width keyboard my arm would be rotated constantly, leading to pain.
Same..

It’s just so reliable too. If I’m feeling off.. I just do 15 minutes of cardio (or enough to get me in that zen-like sweaty breathing state) and then I take a hot shower and switch to cold water before getting out.

Those 30 minutes are enough to keep me feeling really good for hours - or the whole day.

It’s become my secret weapon. I do it after work on especially hard days, I do it before dates or other social gatherings. Works like a charm.
> the end of the spectrum that you are standing up to defend, I claim is currently, universally, getting all the attention, so deemphasizing it would right now be an unalloyed good

While I fully support the idea that we should expand our thinking in areas we’ve neglected, how is intentionally deemphasizing a recognition of our relative smallness “unalloyed good”?

For many, this recognition is a primary source of awe and wonder, and has no tension whatsoever with a recognition of the importance and usefulness of smallness. If anything, this recognition of smallness is exactly the thing that highlights how rare and interesting we seem to be. Our “insignificance” is also the source of our significance.

We also seem prone to binary thinking and false dichotomies. Very few things are purely good or purely bad. Recognizing our smallness doesn’t have to be synonymous with concluding that we are unimportant.
>> how many people are in jail or lost their kids due to something that didn't actually happen.

Thousands upon thousands. By some estimates upwards of 10% of incarcerated individuals. The situation is just accepted. The general consensus is always that locking up too many people is better than than too few. It is on defense attorneys to check on the system.
And if I want the better UI that comes with Apple, why should your stockholm-syndrome keep me in prison with it?
This is probably one of the reasons why there is finally talk in some countries of moving on to a four-day week.
No mention of the cost of regulation? Getting compliance with federal and DoD standards can take a small team and months of work, even if you hire a consultant to walk you through it. The investment just to get to the table is high, although you can try to walk the dangerous line of paying lip service and hoping nobody calls you on your shit
Out of curiosity, why do you think it's vastly superior?
Nice and detailed demo. What will take this from toy to a product to daily driver?

I love the idea of all application windows being able to be moved into tab groups. Are there window managers that do similar things?
Not really. Development of the virus is the hard part. Ping is straight forward and widely available.

As soon as the virus is developed, it can be used by other departments within the government easily with proper approval, and purposes other than intended.
Oh cool, didn't know that. Thanks.
Why would I help improve something I'm not getting credit for? Especially while others are? It would feel like I'm helping an ungrateful community
Is it different for other types of cookware? If a wipe with a paper towel removes all traces of the food, is that good enough?
I almost feel that people might be surprised if they knew just how extensive and diverse the world of custom keyboards truly is.
I'd argue the differences are not just style changes and even "just style" changes are not trivial. The kernel style guide specifically mentions to avoid using conditional compilation where possible, and as a result, Michael Ellerman's patch is far cleaner.
Why would they need to lock up items to keep the store looking good? What is making those products move and leave the store without payment except social disorder?

I was just in (bigger) US city where the pharmacy was picked over for what I wanted but none of it was locked up except the razor blades or whatever you'll find locked everywhere. They didn't feel the need to put plastic barriers up. They also didn't have a security guard at the front. In SF, I know you need both because I have seen dozens pile into the residential Walgreens at once and clean it out. But yeah, it's all theater and just marketing to make SF look bad.

I understand SF Bay Area residents are embarrassed of what they created, but denying the problem isn't helping.