skysight-inc/HackerNews huggingface dataset:
It makes sense when you consider that white people were wringing their hands because they were convinced of their total superiority.

While obviously more benign, there is inherent bigotry in the “X sucks and the better solution is Y or Z and why won’t they catch on?” mindset. Surely this next technology will take over from the unacceptable popular one.

(Edited because QuickPath has a long way to go before it’s as functional as Swype)
I can really recommend Introduction to statistical learning by James, Witten, Hastie and Tibshirani if you are looking for something that covers the theory without going into too much detail.

There is also Elements of statistical learning by the same authors if you are looking for something more rigorous. I haven’t read very much of it but it is supposed to very good too.
> Instead, the ads give the impression that Wikipedia is in dire need of funds.

while "dire" might be a bit of an overstatement, I agree with this impression because it is in part why I donated once or twice.
Right, Go uses green (userspace) threads.
Linux/CFS has an isolcpus feature that can be used to tell the kernel to never schedule things on a given CPU. This is useful when latency matters.
Hire young junior employees and give them broad responsibilities.
Yes I agree with you. I shouldnt have been cynical/dismissive in my original comment.
How to Write Email That Gets the Response You Need
This blogger has questions and answers:

[40 Statistics Interview Problems and Answers for Data Scientists ](https://towardsdatascience.com/40-statistics-interview-probl...)

[Amazon’s Data Scientist Interview Practice Problems ](https://towardsdatascience.com/amazon-data-scientist-intervi...)

[Microsoft Data Science Interview Questions and Answers](https://towardsdatascience.com/microsoft-data-science-interv...)
I can only say what I know doesn't work.

Powerpoints lunch-n-learns and confluence pages.

Whatever it is it has to be there front and center with the day to day work. Enforcing good commit descriptions, a code review process where a project manager is part of the merge to capture things usually lost in the technical minutia would be my best guess.
Senior Full Stack Cryptology Engineer
On any architecture, you may need to reduce the amount of stack space allocated for each thread to avoid running out of virtual memory

http://www.kegel.com/c10k.html#limits.threads
Keep saying “no thanks” and stay strong. You don’t owe them a reason or anything. You know you’ve got a good idea and you’re on the right track when everyone wants to simply ride on your coattails!
Below 0.5 bpp, both HEIF or BPG [1] and AVIF performs quite a bit better than JPEG XL , XL shines in 0.8 bpp. At least in initial testing.

[1] https://bellard.org/bpg/
3M Tech Bulletin – Respirators and Surgical Masks: A Comparison [pdf]
Reading the comparison to a classic, I took the minimalist philosophy to manifest as a reduction in complexity, but I had to stop at the moment they mentioned having a smartphone for gauges.

I get that this is probably a cost cutting measure, but putting enough electronics in a car to make a smartphone an important component of it doesn't fill me with confidence in the minimalism (and robustness, accessibility, repairability) of the computers inside, straying from a chunk of what made classics in the 20th century classics.

EDIT: seems that my post was misunderstood. I'm all in favor of cutting cost and not having speakers or a radio, or gauges. But I seriously doubt that minimalism is the leading idea in this car, if it has enough electronics to drive a phone. The more electronics, the less minimalistic, and less repairable an object is. I would not consider very minimalistic a vehicle that has any digital electronics apart from the maintenance port mandated by law.
Not starving or being homeless are great motivators. But yeah, why didn't they just get $250k FAANG jobs like the other 300 million Americans?
Come on, throw their competitor under the bus!

I'm guessing it was Akamai. Every change we need to make to our Akamai distros is an up sell conversation with them. It's obnoxious. I much prefer Amazon CloudFront.
In the long run, economical and industrial progress is still better for the environment. The key is new technologies. There is no pollution that cannot be cleaned up, the question is only in the cost, and that depends directly on the tech.

Ultimately, any piece of trash or a dangerous chemical can be separated into atoms (e.g. with a plasma burner) that can be separated into pure chemical elements that then can be used to create products or chemically neutralized. The problem is only in the cost of energy, and that's, again, a question of tech. With fusion reactors, we'll have a way to solve world's pollution problems easily. So yes, developed countries ARE moving towards a clean environment. The solution is to move faster, not try to slow down the progress in economy, industry and technology with greenie measures that achieve only temporary pollution slow-down while postponing the real future solutions.
This arms race is inherently violent.

People are buying heavier and bigger cars to offset life risk onto other drivers. Less risk for one driver equals more risk for somebody else.

And it's not a "zero sum game". Pollution and energy usage increases and so the risk for pedestrians.
Show HN: Function/Crate for Plotly Plots in Rust Notebooks
So you're saying OpenSSL might still be using side channel vulnerable AES code, all these years after there was a big row about it?

This ARMv8 impl according to comments is constant time: https://github.com/openssl/openssl/blob/master/crypto/aes/as...

There are also other ARM AES implementations in the tree:
https://github.com/openssl/openssl/tree/master/crypto/aes/as...

AFAICT one is for the hardware AES instructions, and one is a bitsliced (so constant time) impl for 32-bit ARMv7, and one is for low end ARMv4. The latter sounds like it might still be vulnerable to timing sidechannel attacks but no idea if it is still used by default in any configuration...
I'd also suggest the manual/book for gawk[1] which introduces the language from the basics, covers newer features and also mentions which features are unique to gawk

[1] https://www.gnu.org/software/gawk/manual/gawk.html
Until the car is too old and the app is either upgraded to be no longer compatible with the car or abandoned and becomes no longer compatible with modern phones.

Android APIs change a lot over time.
Paraphrasing the famous Greenspun’s Tenth Rule, any home-made threading library for C++ always ends up being “an ad hoc, informally-specified, bug-ridden, slow implementation of half of” Intel TBB. (Been there, done that.)
Over 80% of covid-19 cases have been mild or asymptomatic. Stop spreading fear.
The trick is that you wouldn't take it onto roads where people go over 30mph.
https://archive.vn/mmd80 is also good
I'm actually a little excited to see where JavaFX goes today. Gluon just announced substrate [0] which uses Graal to turn JavaFX apps into native binaries.

[0] https://github.com/gluonhq/substrate
In light of Surgeon General tweet [1] demanding Americans stop buying masks because they’re not effective, to save them for healthcare workers who need them, here is some info from the manufacturer:

> In conclusion, surgical/procedure masks are intended to help put a barrier between the wearer and the work environment or sterile field. They may help keep spit and mucous generated by the wearer from reaching a patient or medical equipment. They can also be used as a fluid barrier to help keep blood splatter from reaching the wearer’s mouth and nose.

> However, surgical/procedure masks cannot provide certified respiratory protection unless they are also designed, tested, and government-certified as a respirator. If a wearer wants to reduce inhalation of smaller, inhalable particles (those smaller than 100 microns), they need to obtain and properly use a government-certified respirator, such as a NIOSH-certified N95 filtering facepiece particulate respirator. If the wearer needs a combination surgical/procedure mask and a particulate respirator, they should use a product that is both cleared by FDA as a surgical/procedure mask and tested and certified by NIOSH as a particulate respirator. Such products are sometimes called a "medical respirator," "health care respirator," or "surgical N95."

Includes decision tree highlighting potential considerations for the selection of respirators verses surgical/procedure masks.

1. Tweet text:

Seriously people- STOP BUYING MASKS!

They are NOT effective in preventing
general public from catching #Coronavirus,
but if healthcare providers can’t get
them to care for sick patients, it
puts them and our communities at risk!

https://twitter.com/surgeon_general/status/12337257852839321...
http://archive.vn/GDEDj
Why Won’t the CFTC Let You Take a Position on the Election?
On a server running heterogeneous CPU-bound tasks of various users it is hardly a realistic expectation, but on a single-user device with a single application in the foreground I would say it is realistic, since most of these running processes are blocked on something most of the time. Hundreds of mostly-idle resident processes are insignificant to a one that puts the CPU through its paces.
While I accept your point that very wealthy people do not appear to be acting rationally if uncontrolled climate change will cause as much damage as the forecasts assume, I have two counterpoints:

1) People do act irrationally, even well informed people.

2) I don't actually agree that "they can order the government to do as they please". Saudi Arabia killed one of Bezos' employees and hacked into his phone. What has he been able to compel the US government (headed by someone who hates him) to do about it? Barack Obama did attempt to change US policy on climate change and was not able to because no single person has the ability to move US policy that way.
Threads are very expensive if you start throwing C++ exceptions within them in parallel. You see the overall time to join the threads increases with each thread you add. There is a mutex in the unwinding code and as the threads grab the mutex they invalidate each other's cache line. I wrote a demo to illustrate the problem https://github.com/clasp-developers/ctak

MacOS doesn't have this problem but Linux and FreeBSD do.
Another inefficiency of JPEG is that each block (8x8 pixels in size) is compressed independently[^]. This means that the correlations between pixels that are adjacent across a block boundary are not used. If I were to take a JPEG image and randomly flip its blocks (mirror them along x and/or y axis), the resulting JPEG would have a very similar filesize, even though it's a much less likely image.

Brunsli and, IIUC, Lepton, make use of these correlations.

[^] the average color of blocks is not compressed strictly independently, but the space used on those is small compared to all the rest of the information about a block

Disclaimer: I've worked on Brunsli.
This thread is about the performance of threads, which we have established can be a high cost for some. In our case we don't run on Linux or Windows, but you can still do the same on Linux afaik, although you will have to write a kernel object for some things.
Usually insurance is included in the lease plan
The Hedera Hashgraph [pdf]
The formula hinges on defining what a market is so you can calculate market share. That’s the part of the process that seems most subjective and error-prone. Big companies are always seeking to define their monopoly markets as merely a segment of a bigger market with tons of competition.

The formula here gives you a precise number, but it’s based on imprecise inputs, so it feels pretty unsatisfying to me.
I don’t think those people had a binary choice between starving and a Ph.D. program.
That number seems incomplete at best .... if leasing is purely a financial transaction it seems odd it would cost €6,000 but lease for just €20\month unless there is a large up front downpayment required anyway. That would be a 25 year payback just to cover the initial cost.

You certainly can't lease an existing €60,000 car for €200\month
I like the fact that they just designed one door and one front/back.

It looks like this really reduces costs because the price is so low.
what does “exists” mean? We made the whole thing up.
Consider this. As we know, Tim Berners-Lee developed the first web browser on a NeXT computer, with Display Postscript to render HTML (and print it, too). Two years later, Marc Andreessen and Eric Bina developed the NCSA Mosaic web browser for the X Window System and Microsoft Windows. Another 2 years, and Brendan Eich made the Netscape Navigator web browser programmable with JavaScript.

What if Sun had open sourced NeWS in the early 90s? Could NCSA or Netscape have used an open source NeWS to build a web browser that renders HTML using NeWS on X11 or Windows? With no need for JavaScript or CSS, just Postscript?

Don Hopkins? Is it plausible that we’ve had 25 years of JavaScript hell because Sun management didn’t open source NeWS? Or were there insurmountable technical obstacles as well?
They have even less regard for the environment. China's soil is polluted and eroded with callous farming practices, their animal life has been nearly exterminated thanks to their primitive beliefs in traditional medicine, their air and water are polluted with heavy metals (and whistleblowers are persecuted). This absolute disregard for the environment is one of the reasons China has become the world's industrial powerhouse in the first place: they literally chose to be a toxic wasteland to win the world's investment money.
Zune HD user here (albeit it's been sitting on my desk lately...)

I'm definitely going to try it
Malicious Charging Cable
What is the problem with politely declining or just not answering? Or ask directly about the added-value that those cofounders would be bringing to the table. You will be able to filter out the majority and might learn something from the rest.

You seem to know this but avoid people that promise vague “strategic” advice.
If that’s all your undergrad CS courses did, you should’ve gone to a better school.
She’s got a cough, temperature, body pain. Other prisoners are keeping away
Newton Temperature Scale
other smartasses runs sites that block firefox with "unsupported browser" message while the site's working perfectly fine
Because people go into graduate programs as an educational opportunity, not as a job search?
If you're not careful, you're training your algorithm to continue promoting a bias... Perhaps one that you're not even aware of... Or perhaps someone else's bias imparts a bias on your algorithm (like turning your chat bot into a Nazi sympathizer -- an extreme example, but it could also be someone else's refusal of loans to minority groups, and your algorithm might look at debt ratio as a factor)

You can't keep assuming your inputs are always good... and while it may be okay to do some automated retraining, you really need a skilled person to revisit the inputs/outputs...
Could you explain why that's true? - get that it works but don't understand why
It's €2,644 and then €19.99 a month [0]. Super misleading.

[0]: https://news.ycombinator.com/item?id=22438418
Also not to be confused with probabilistic inference.

There are too many overloaded words in statistics and related fields.
IT doesn't exist in a vacuum. This sounds like bad business practices are causing the billing chaos.
Doesn't have real windows. Maybe the Korean version does but not the EU version.
Wow, I wouldn't have guessed that! Nice data!
I don't think so. I believe Flutter is the new Flash.

They are clearly trying to attract the "brand first" marketing crowd by stressing fast graphics rendering, animations, full customization, etc.

I bet we're going to see a flood of Flutter based retail, fashion, food, sports, motor and lifestyle apps very soon.
It says it has the gauges, the phone is for extra info like range and navigation. But I agree, having a car with no inbuilt radio/speakers will be strange.
I wrote my master thesis on putting raft inside the RPC layer exactly for that reason. We arrived at the conclusion that this was indeed a very good way to easily provide distributed consensus to the application layer.
Look at what they've been doing, especially around construction. Part of it goes towards interest payments on bonds they issued to pay for new buildings. Part of it goes towards the staff and maintenance of those buildings. Part of it goes towards administration. Whatever is left is used to the benefit of students. Now, when I see a campus with construction projects, or planned construction, I don't think that's great I see it as another expensive boondoggle university administrators are engaging in.
The default speed limit in New York is 25mph, now. I don't know if NEVs are legal. Cars driven primarily in New York lead a hard life. The low cost, small size, and low maintenance of NEVs could work for New York. Electric bikes are popular in New York, which could indicate an opportunity.
In two years followed by "Why we are switching from Intel to RISC-V" and two years after that "Why we are switching from Intel to POWER".
You can still give them feedback. Damn, you should, regardless of grades.
>All Democratic governments include a way to do exactly that - by definition. There's room for debate over how effective it actually is at removing underperformers compared to the free market, but saying it has no way to get rid of them is just untrue.

You are either young and naive, or an idiot. Sorry, name calling is the only way to call out ignorance. Things simply don't work the way you think it does. In theory 'democracy' promises you a lot of things, but you get very little. Most democracies for most part are sophisticated form of oligarchy where the masses are essentially fed what to think, by propaganda, 'debates' etc.
Concerned with your safety, or the safety of others around you?

We seriously need to de-escalate from this mentality in the U.S. There's nothing inherently dangerous about everyone driving smaller and lighter vehicles, and if we find the political will it'd be easy to put society on that trajectory. Convincing people of the damage they're doing to our environment by driving unnecessarily large vehicles is probably the place to start.
Curious how the author got better at communication. What are good resources or books for doing so?
Vatican opens archives on history's most controversial pope
Nice! A few suggestions if I may:

* please consider using the same prompt for all examples, a few of them start with `code` while some others start with `awk book` and some do not have any prompt at all

* split long chapters into smaller sections plus add section headings as links at the start of chapter

* please please please avoid parsing ls [1] you could either reuse `sales.csv` or create another sample file instead of using `ls` as source of input... for example, your `ls -l | awk '$NF ~ /c/ {print}'` example will not work if a file is name `code xyz` (note the space)

Also, I have a similar example based hundreds of gawk one-liners [2] tutorial, which I'm currently working towards publishing as a book this month with better examples, descriptions, new regex chapter, etc

[1] https://unix.stackexchange.com/questions/128985/why-not-pars...

[2] https://github.com/learnbyexample/Command-line-text-processi...
For a bootstrapped business who is talking about their ~$250/month outgoings it is. The problem is that the expenditure doesn't grow linearly with growth so there will be a window of growth where the company starts achieving "diseconomies of scale". This may or may not be factored into their business plan.
According to this post on Blind [0], she left Facebook to become a Principal Engineer at Lyft.

[0] https://www.teamblind.com/post/Successful-career-stories-of-...
NIMBYism in Santa Cruz has resulted in a massive increase in prices over the past few years.

Additionally, the students at this campus voted with an 80% majority against the prior contract that the union had negotiated on behalf of grad students at all campuses simultaneously. Students at other campuses with lower cost of living are not squeezed nearly as much.
Dart has some annoying traits that hurt productivity with it. For example, the lack of union types or some kind of sealed classes is fairly annoying when the language is actually statically typed.

There's some work being done to overcome this but so far no solution has seen the daylight in practice.
Here's a version that at least for 64 bit might be faster:

bool isPerfect(uint64_t x) {
int ctz = __builtin_ctzll(x);
return ((0x40051056 >> ctz) & 1) && ((x >> ctz) + 1) == (uint64_t(1) << (ctz + 1));
}
Fix Google Maps routes before selling your house
There is a reason why everyone uses LaTeX (or similar) when it comes to professional content delivery - it actually saves you time not fighting the editor.
Activist Investor Reportedly Planning to Oust Twitter CEO
Good point! Still cheap.
Not making a jab at what you are saying, but to me “running out of virtual memory” has always sounded like a crazy thing, like running out of address space. Sure, given enough disk space, your program might get (quite) a bit slower, but it should still chug along just fine. Yet, running out of virtual memory is indeed still a thing, especially in Windows (a workaround being using memory-mapped files).
> If you're a home user (gamer, programmer), is there any reason to buy Intel today?

There's definitely not much. I believe absolute peak single-core performance can still be slightly higher on Intel which is important for gaming, but maybe the last few AMD chips also killed that. And there are also some tools that are not well optimized or don't yet fully support AMD yet. For example:

https://github.com/mozilla/rr/issues/2034

This year's release of Zen 3 looks very promising. Hopefully RAM manufacturers wake up and we also get a bunch more ECC options that aren't so overpriced and slow.
Technically that may be true. But if one must deflect responsibility or go to extremes to hold power then it's likely they are not the ones who should be in power to do the other things.

EDIT: meat to say "may be true" not "is true"
This isn't for comments directly on the source code, it's for higher level stuff like "These are the three services that interact to provide such-and-such functionality. Here's their basic architecture, their dependencies and some basic troubleshooting knowledge/tips."
All of this seems to be justifying a lack of a decent standard library. However its appears to be written from the point of view of someone who's never had the joy/pain of a decent standard library.

The problem with lots of tiny modules is consistency and power.

Sure its "open source" but each one of these modules are in various states of decay. better to lump them together in sets of functions, so that more eyes can be concentrated in the same place.
If you are rational about cost and downside risk of version compatibility, at worst, this puts about $50 at risk, which is the price of a cheap tablet or second hand phone. That's less than the cost of replacing a remote locking fob.
That might prove to be a good measure of image compression 'efficiency'.

Present to a user two images, one an image compressed by image compressor X, and one compressed by the same image compressor with a single bit of output flipped.

In an ideal image compression scenario, the decompressed images would not be the same, but a user could not tell which was the 'correct' image, since both would look equally realistic.
It's an electric car it really only needs 2 gauges: range and speed. Everything else is optional information. Hell, even for ICE cars with automatic transmission getting a dashboard with a tach was considered a factory option.
This is not about coming up with a thread library. The described scenario can be realized entirely with standard Pthread primitives and calls like pthread_setaffinity.