skysight-inc/HackerNews huggingface dataset:
I enforced the AGPL on my code, here's how it went
If Microsoft did this in windows, or Google did this in chrome, would we see so much defense of this strategy? Or could it be those rose coloured glasses that HN tends to view Apple through.

Or more like "users are literally brain dead and cannot be trusted to change the channels on their TV" coloured glasses. If you only trust your users to watch TV, then get into TVs instead of computers.

We don't fault the maker of a drill when a careless user drills a hole in their hand. We fault the user for being careless. At what point do we start doing the same for computers? The advantage of physical power-tools is that their mechanism of operation is readily apparent, open, understandable, predictable. If Apple really cares about their users, they should start investing in making software open, understandable, predictable. This is a much harder problem, and probably less profitable, than just building another TV, but I'd rather live in that world than this one. I don't need another TV.
Chrome exempts Google properties from rules? Unacceptable!

macOS exempts Apple apps from rules? Protecting users!

Seriously, it's my machine. I should have top permissions on it, not Apple. If I chose to run an app that intercepts traffic, I want it to intercept _all_ traffic. What's next, making it impossible to hook a debugger to Apple services? Or did they already do that?

As much as I love Mac & iPhone UX, stuff like this will keep me off them and keep me from recommending them to anyone either.
Minimalism and low complexity if you are just learning to program: start with "programming from the ground up" and move onto "learning forth".
It’s a bit surprising to me that modern processors don’t have their own special handling for recognising and speeding up these copies. But maybe that’s too hard to do.

I’m also surprised that Linux can’t use a vector based copy function (at least for any moderately large copy) as it seems saving a few avx registers would be much cheaper than the copy.
> Intuitively, printing money can't be the only cause

Theoretically it certainly can be. To take the simplest idealized example, if the production of goods and services is unchanging, and people's needs are unchanging, the only possible source of price changes is a change in the money supply.

In the real world, of course, the quantity of goods and services does change and so do people's needs. But that just means the price system now has a genuine function: to inform people about the changes in supply and demand through changes in prices. Messing with the money supply just obfuscates those price signals with an arbitrary quantity of noise. So while it's true that messing with the money supply isn't the only cause of price changes in a real economy, that's certainly not an argument that printing money is okay.

> If all the wealth currently currently squirreled away in places that banks can't trivially lend out (art, real estate, etc.) were instead cash in the hands of the lower and middle classes, I would expect a lot more money to be chasing those goods and services against which we measure inflation.

That would depend on where the cash came from. In the case of real estate, for example, if you want a mortgage, the government will print most of the money (all but the three percent or so that banks in the upper reserve tranche have to put up--but IIRC even that minimal requirement was waived by the Fed fairly recently). So turning real estate into cash (by, say, taking out mortgages to buy homes from lower and middle income people who have more house than they want or who would rather rent instead) just means the government prints more money. Which will indeed increase average prices, but that's just an example of what I was talking about.

If, OTOH, you're talking about something like auctioning off expensive art works and using the money to start a business that employs people, so those people now have more cash to spend, that just means a transfer of cash from whoever buys the art works. That won't affect average prices at all; it will, however, increase the price of art works (assuming that the supply of those is basically static) and decrease the price of whatever things the people who bought the art works would have bought instead. Those two changes will cancel out on average.
> I've never seen a website with a specific shut down time

Me neither, but I think it's a wonderful idea.
> Apple should expose services in Control Center instead of making you use the terminal.

Especially given how obtuse launchctl is to work with compared to it’s Windows and Linux counterparts.
The glory of an automated solution...With the spreadsheet in hand, I wrote a script that chopped my raw videos into smaller clips based on a CSV input

And right there folks, is why spreadsheets will never die.
I will absolutely use this unironically on Linux, and I can't wait. Edge has all (most?) of the features of Chrome and isn't tied to Google's services. Somehow the world has twisted to where I trust Microsoft more than Google, even if it's just to not shut their stuff down on a whim. I'm trying to get all my services off Google, and if it weren't for Voice... You ought to unironically try it.
Discussion of this exact issue over at https://lobste.rs/s/h5dfjo/why_mmap_is_faster_than_system_ca...
Nim is in the GC category (and its documentation says you should use a refcounting GC rather than turning it off). Zig does not use GC.

Memory management is one of the more important aspects of systems programming so it is useful to be clear about what is the main strategy used by each language.
That isn't the point, mind you.
I must agree, and I have been a PAN evangelist for a couple years. That said, my only other NGFW experience is with Firepower and I always feel gross after working with those. The only good thing I can say about Firepower is that my billable time gets padded to the stratosphere due to how long it takes to do anything in there.

If I burned a vendor every time they sent someone a mean letter, I would probably have nobody left to do business with.
NASA mission successfully touched down on asteroid Bennu
Where is “learnt” used instead of “learned”? It looks so weird to me.
Yes, the more accurate title would be "Why is it faster to read data from a file via mmap() than via the read() system call?"
Interesting that this is just now coming to light. I wonder if it was in Catalina from the start, or just in a recent point release.

Also, is it still like this in Big Sur?
Studies Point to Big Drop in Covid-19 Death Rates
Absolutely not, installing a CA makes attacks which weren't previously possible now possible. A host firewall isn't doing anything a network provider (read: your ISP, coffee shop, vpn provider, etc) couldn't already do. At least you can possibly look at what the host firewall is doing.
I did, I followed the right wall all the way (I think, unless I made a mistake).
KDE's search is very, very fast and at least on the latest KDE, just works.
I think it does if they do not occupy the exact same space. It's only objective that they have the same velocity from their point of view (but then parallel lines concept hardly makes any sense).
I've used C++ since the 90s and it's only ever been presented as a Serious Language for Real Applications. I feel that until recently, C++ stood alone and there were almost no serious threats to its position, except maybe Java. If you were planning on writing commercial programs (or even more so a collection of programs) that have good performance and huge featuresets, like an operating system or a browser, what else could you have possibly used?

I agree that in practice maintenance has been pretty bad for C++ programs, but I think I understand the kind of reasoning that led so many organizations to pick C++, even if I don't agree with it. It was not about ergonomics or productivity, but about control. The language grants an unprecedented level of power to a small group of elite programmers inside every organization, who author the standard library and headers that all the other programmers use. They're building the smart pointers, the memory allocators, the IO libraries, and the build systems. It's imperative (to them) that their good decisions don't get snowed under the mountain of application code that the more mediocre programmers are going to be producing by the truckload. So it's important to have powerful encapsulation, compile-time checks, and metaprogramming capabilities. Doesn't matter how safe by default or how slow it all is, because the elite add guarantees themselves through the abstractions they write, and don't have to compile a full application very much, if ever.
It's possible, just uncommon! Congrats, you're uncommonly good at wall-following.
>>But Julia is strictly superior to Python in everyway
>That is until you use the debugger.

Or stumble into the first example in JuliaPlots, which doesn't work.
> I'd be skeptical of a definition of intelligence that had no correlation with IQ scores. If you managed to put forth and defend such a definition, then that could turn into a valid objection; but that would then run into the "psychological trait heritability" prior.

Its hard to measure a correlation between a set of numbers and a set of NaN’s. However the prior here is that 50% of psychological traits are not heritable, so our prior is that we have approximately equal chances of a trait being heritable or not. What is likely is that some aspects of intelligence are heritable and some are not, and if the statistics that indicate heritability are measuring anything, they are measuring that part of intelligence that is measured by tests AND is heritable. Which is obviously poor evidence for those being the only relevant aspects of intelligence.

> It's kind of arbitrary and has a lot of "noise" in it, but on the other hand there is enough signal that it is measuring something real.

The “something real” is “how people respond to tests”, the assertion that “how people respond to tests” is positively correlated with “extraversion” is a claim that needs evidence. Mere assertion is not sufficient.

> If you need to turn it into a binary classification, you choose a cutoff number, which will again be semi-arbitrary and make errors, but again can be good enough to draw useful conclusions.

The results of a research program are more often useful to the person who is credited with conducting the research than they are useful to the person who is concerned with making accurate predictions of the real world phenomena allegedly represented by tests.

> You can then apply that measure to, say, biological siblings who were both adopted, or (best) to identical twins separated at birth vs fraternal twins separated at birth, and see if genetic similarity correlates with similarity of your measure. From that kind of data, you can get a vague idea of heritability.

Yes, you can get a good idea of the heritability of how a person responds to tests. However the program you described does nothing to validate the responses on tests to any real-world phenomena.

> If the thing you're discussing isn't measured by existing tests, fine. If the thing you're discussing has a logical definition and is important, but you think there can be no tests to produce even a vague measure, then I would guess you just haven't tried very hard.

Perhaps one has tried hard enough to realize that the problem is less tractable than you suppose. One could also observe that “intelligence” is socially constructed and does not in fact have a logical definition that is based solely on objective factors.
Scientists Discovered a Mysterious Organ Lurking in the Centre of the Human Head
>Google pays off phone manufacturers to sign onerous contract preventing them from installing other app stores or displaying other options on the home screen or during the setup process

GOOD

Here's the problem. You want to make it illegal for google to stop phone manufacturers from installing even more crapware than they do already? How would that be a win for anyone besides Samsung/LG/Sony/etc? Encouraging even more fracturing of the Android ecosystem and the lack of updates? Google is protecting consumer welfare. This should be encouraged, not looked at skeptically.

This is not the MS in the 90s situation where manufacturers couldn't install Linux instead of Windows. This would be MS saying you can't install BonziBuddy and sell it with our logo and services on it.
In my view, cryptocurrency is the only real use case for blockchain tech. It's an incredibly important use case though. It's a great store of value.

Because of its scarcity, a cryptocurrency soaks up surplus currency created by banks and prevents it from being wasted on creating less-than-useless startups and jobs which harm society. It also stops surplus currency from being soaked up by corporate monopolies that are eroding our personal freedoms and society.

Also, PoS and DPoS cryptocurrencies consume very little electricity and don't require specialized hardware so they store value very efficiently.
Because Edge will sync all my stuff across all devices. I use Linux, and OneNote, and OneDrive and all the above.
New insight brings sustainable hydrogen one step closer
Maybe Bell Labs was only foundational due to timing?
I can't read this because of the paywall.

Is it saying something along the lines of how the entirety of the public sector seems to be forcing Teams and Office365 down our throats?
Why would "a developer" have access to every company secret?

Does "a developer" know Facebook's long-term goals, its interim strategies, or details of its relationships with operations like Cambridge Analytica?
Really, we can blame the politicians and mass media for this, as there are merits to discussing the viability of herd immunity, what it would entail, and weighing its merits compared to shutdowns and social distancing. Discourse has become so inflamed (on purpose: it drives clicks), there's a tendency to look at science through the lens of politics.

I have a few friends working on startups/solutions to this (non-sensationalist reporting, fact-checking apps, etc.), but I personally think the cat's already out of the bag.
If you can get to HDMI somehow (might be tricky with a VCR, but I'm pretty sure there are RCA to HDMI converters out there), there are a number of devices out there that'll take in HDMI and output class-compliant USB video (as though they're a webcam). That should work on Linux without too much cajoling.

Just going with hardware I've personally used, Elgato's got one (the Camlink 4K). Blackmagic Design actually has a few options; the ATEM Mini line all output video over USB, as will their Web Presenter.
No, I actually mean proactively pursuing national public health policies that allow all of us to lead fuller, shorter lives. A disproportionate amount of medical spending is incurred in the last three years of the lives of Americans.[1] For many, those last years are spent in pain, or in a hospital, or in a sedated state, at astronomical expense.

Anecdotally, many people will tell you that they wouldn't want to live forever, that mortality is what gives life meaning and urgency. No one wishes to go on...

[1] https://www.healthaffairs.org/doi/full/10.1377/hlthaff.2017....
“Many hypotheses proposed by scientists as well as by nonscientists turn out to be wrong. But science is a self-correcting enterprise. To be accepted, all new ideas must survive rigorous standards of evidence. The worst aspect of the Velikovsky affair is not that his hypotheses were wrong or in contradiction to firmly established facts, but that some who called themselves scientists attempted to suppress Velikovsky's work. Science is generated by and devoted to free inquiry: the idea that any hypothesis, no matter how strange, deserves to be considered on its merits. The suppression of uncomfortable ideas may be common in religion and politics, but it is not the path to knowledge; it has no place in the endeavor of science. We do not know in advance who will discover fundamental new insights.”

Carl Sagan, Cosmos
Do any allocators use anything else these days?

D's std.experimental.allocator module is helpful for building allocators bit by bit even for eventual use in C++ or C.
Friends/family are getting destroyed by Covid conspiracies its pissing me off
Hi, I just got off the phone with my family after debating/shouting about how irresponsible they are believing and sharing conspiracies.

In the past I explicitly told them to only read research papers for touchy subjects (Does it have a DOI? Good.) but I cant blame them, that they always seem to fall back to easily digestible YouTube videos and sensationalist news articles.

In the past it was harmless debates like, is raw garlic good? How good? In this call they threw things like big pharma, Bill Gates and mandatory masks/vaccines activism crap. (At least no vaccine nanobots)

I tried to send them some articles to get them to read some legit research sources. But then after I hit some paywalls, even for covid research :(, I came to the HN community to ask for any suggestions.

Question:
Any thoughts, or links for material (other than teaching them to use sci-hub) that will let them keep up to date with research?

Thanks
It is true that Jax cannot differentiate through C code. But it can differentiate through python code that was written to accept Numpy.
Anyone comment the obvious low hanging fruit?

Compile CPython in release mode, as most everyone uses the debug version.

Doing this gives a rough 10% performance increase.
I see this a lot on forums, blogs, Reddit, etc. but after having interviewed many candidates, I have yet to see someone that incompetent.

My company is not a hot Silicon Valley tech company either. It's a dull, boring, investment bank. I am generally not impressed at the quality level of most of the candidates we get when we hire. But still 100% of them are able to code more than well enough to pass FizzBuzz.

Now throw anything beyond the easiest of leetcode easy level questions at them and the majority will struggle. But that is still a level above Fizzbuzz and the like. And most come from backgrounds where the last job they were hired for did not leetcode them, but rather relied on language/framework trivia type interviews.
I think that confluence can just as easily be replaced by gitlab. Keeping documentation as markdown files in a git repository seems like a great idea. Personally I think it is even better considering ideas like automated checking for outdated documentation and such.
I remember being at a blockchain for government event in 2018 and one of the speakers said "anywhere you use a database now, you could use blockchain".

I think this was a great example of how people missed the point of how blockchain added value to bitcoin, got excited about the wrong things, and caused the boom/bust we saw: bitcoin replaced anti-counterfeit measures with the blockchain itself, and centralized transaction processing with distributed miners. It didnt replace a database, it used a decentralized database for a new purpose.

Other new ways of using blockchain have clearly not emerged, but I feel like the rollercoaster of popularity came from people completely misunderstanding how it added value to cryptocurrency and looking for the wrong kind of applications. Distributed tasks (bitcoin is uber for transaction verification) are where it's at, not a database.
If you need direct access to the host, it’s probably a non production environment or you’re doing containers wrong. Kubernetes clusters provisioned with Terraform, for example, should almost never require ssh access to workers nodes.
Disclaimer: This is for a quite particular set of positions, and it's not in the US (so I have no reference on US GPAs). The EU supply/demand situation is also different from the US, so your FAANG mileage may vary.

Here are a few (at a level of detail that I'm comfortable sharing):

- Outstanding (in either direction) performance in certain subjects in school is a very strong predictor.

- Cover letters are mostly noise, but incoherent, overbearing or careless ones don't go very far. Lack of curiosity and interest is also a negative predictor (but these are of course easily feigned).

- Relevant extracurricular engagement and/or industrial experience begets more well-rounded engineers.

Let me be clear though that we consider applications on more than these factors. These are just predictors, and sometimes they are wrong. I have interviewed actuaries that couldn't calculate dice roll probabilities, C++ programmers that were confused by the class keyword and C# programmers that hadn't heard of virtual.
There are so many small variations in titles that one probably couldn't rely on that alone, but it's a good idea.
Yup - I (and lots of other people : ) have considered that option, but equipment isn't readily available, so it's a bit of DIY needed there, and when working with old, brittle film, this adds to the risk. I suspect the process would be very time-consuming, and generate huge amounts of data.

An easier / cheaper way that seems fairly popular is to buy an old projector, set it up square to a good screen / wall in a very dark room, and just record that. The quality loss is probably going to be modest, given the low-quality of the original material in any case.
Back up about 20 years and you could say the same thing about the (IPv4) Internet as a whole. I stayed in plenty of hotels which had zip for connectivity back then, but here we are now.

Things change...
The software enables these excessive policies. Blame Palo Alto.
Tesla to Release FSD Beta to Early Access Program (EAP) Members Today
Michael is an interesting guy. He has a super-indexed laptop with everything just a search away. Writes fortran programs to do sequence analysis. But he's probably not helping with his analyses.
They have just decided to sell all their stuffs on all their places, instead of pushing Windows. PCs are losing their place so they've decided not to go down with the ship. But, they have no need to replace Windows, that's still a large bastion of sales for business, and a tremendous lead in for Azure and Office 365. That would only lessen if they moved to something they controlled less.
I feel right there with you, a few years behind, but also feeling adrift post-graduation. It feels as if there's been a "junk foodification" of digital bytes (pun intended), with our relationship with digital content becoming more ephemeral. For all the miles we scroll and all the paths of URLs we travel, there is very little that allows us to create maps, way-markers or any form of bread-crumbs for us to follow later.

Because we don't have good ways to store away content for later, it sometimes feel like we are cursed to wander aimlessly, creating files and bookmarks here and there, with no real aim or purpose. On the one hand, the world of cyberspace is almost seductive for its incredible vastness and on the other, it is almost paralyzing to explore without a proper set of tools.

I am anxious for tools designed to assist in forging paths through digital ecosystems, establishing a map over digital landscapes that enable me to understand the land, and how to travel through it. Without these, it feels that whatever I do will radically fall short of what I could do.
We've come full circle back to IRC: no registration required, guests get a guestXYZ generated username.
There's actually dozens and dozens of such instructions on x86 and x86-64. So the question shouldn't really be if there is an instruction, it's whether the one you're using is the most performant for your given CPU. Old Linux kernels would actually calculate CPU speed, and whether 16-bit, 32-bit, FPU, MMX memory copies were fastest and pick one for the kernel to use.