skysight-inc/HackerNews huggingface dataset:
Magnets stick to the top of the pan but not the bottom, i've checked. There's a dividing line across the middle of the pan separating the bottom from the top. From what i've read, they'll make the bottom of some steel pans aluminum because it'll help the pan heat up quicker than steel alone.

>I suspect that the only reason why it has to be magnetic is that the stove uses the magnetic properties to detect that there is some cookware.

I could see this. My main experience with an induction burner is with a single burner hot plate, but it seems to be pretty heavily safety oriented. It defaults to a timed mode when you turn it on unless you select otherwise, you can't leave it on high heat for longer than a certain time or it'll shut off automatically regardless of the setting, and it shuts off after about 30 seconds when you take the pan off or when you put non-magnetic cookware on. For something that produces no heat itself and seems to lack many of the fire hazards of normal burners it sure seems designed to ensure you're going to burn your house down.
What you call a feel is what I call a skill. It's a different skill to cook on electric coil vs gas or induction, and I find it more difficult on electric could, because you cannot do away with the inertia (beside removing the pan from the heat completely), and it is difficult to understand small changes in heat input, because of the lack of immediate feedback.
No, there is no concurrent garbage collection happening. When a process is running user code, it is not being garbage collected and vice versa. It happens at an individual process level, but the process is definitely paused while its heap is collected. It has similar benefits to concurrent garbage collection such as the fact that there is never a stop-the-world-pause, and short pauses (since the heaps are typically very small), but it is not the same and means different trade-offs and tuning may be required at the extremes.
My guess is that lead time for the volumes they'd need is about a month if buying from overseas - and that's assuming a foreign supplier could absorb the extra kit volume.
I don’t know if there are any user-visible side effects, but the phone does knows the difference between official and unofficial batteries. Here’s a photo I took of my iPhone 7 showing the internal battery stats immediately after an official replacement during the discount program a couple years ago: https://i.imgur.com/Wo5fSFj.jpg
Doesn't seem that way looking at the numbers regarding the US.

The US has and is handling it the best.

The administration shut down travel earlier than any other country.

There are much fewer cases than other countries even though we have a larger population, economic trade, and travel.

There was already a travel ban from Iran to the US. This morning they just banned travel if you've ever been in Iran, so they don't come through Canada.

Maybe Canada should shut down flights from Iran.
Thank you for an honest and good answer
I just gave it a try and now apt is installing a bunch of new kernel .img files. So for me, yes, this seemed to be required before 64bit kernels were installed. I'm feeling surprised. I'm 40% of the way through the install and hoping it reboots okay in the end.

Edit: to be more clear, I also run 'apt update' afterwards
Covid-19: First US death confirmed; travel restrictions Iran, Italy and S.Korea
don't know why you got downvoted. I have yet to see the opinion of a doctor explaining why this virus requires specific measures compared to other types of flu-like viruses ( hint: friend working in a hospital recently told me doctors there are amazed by the frenzy on this topic, that looks to them exactly the same as other kinds of flu).

It seems politics are forced to take the same kind of exceptional measures as in other countries for fear of being accused of not being responsible.

I won't mention the other topic, but it's the second time i've found HN lacking scientific rigor the same way the general public does. I guess it's the downside of being more popular..
> C++ and the shortest, simplest possible quicksort

wk_end was talking about "functional pseudo-quicksort" on immutable linked lists. You're presumably talking about a proper quicksort on mutable arrays. That's comparing apples to oranges.

And even if you weren't, how is that an argument? Person A says "X is faster than Y", then person B says "Actually I just ran X and it took 10x longer than Y" and then you say "Well Z, which isn't even part of this discussion, is 1000x faster than both X and Y, so your argument is invalid". How does that follow?
Indeed $79 is a number you can't compare because it's a battery and a battery replacement job.

For phones with user replaceable batteries you'd still need to buy batteries. And there job cost was only a small part of the $79.
Yeah I want to use it 1-2 years more, I’m not a power user and it’s still a perfectly fine phone, runs really fast and gets updates, so why throw it out?

Also as I said below if you replace the battery yourself TouchID will stop working as the security chip thinks the phone has been tampered with, so if you wanna keep using that there’s only the official route I think. Not sure about FaceID but it might have the same problem.
.25 cpb (1cycle/32bit) for xorshift and pcg with avx512 in here: https://lemire.me/blog/2018/06/07/vectorizing-random-number-...
It's not good enough to test only the people who have already passed a similar test. It's easy to get a nonsense negative correlation, like more experienced people performing worse in their job, because the people with less experience that nonetheless got hired must have had some other factor that made up for it. That can result in a negative correlation in the already-hired pool even if there's a positive correlation in the potential-hire pool.

This is the same problem you see with people claiming that GPA or GRE scores have no or negative correlation with academic success.
The way I'd implement it is exposing the compiler/build tooling as a library and then a command line front end on top of it. So any tooling that can exec a CLI would be able to build for the language, but you could also compose a script that imports the tools as a library. The hairy ness is that you probably don't want arbitrary code execution in the build scripts themselves, I know there was the idea of executing the pre build scripts for rust projects by compiling to WASM and executing in wasmer or another sandboxed runtime to deal with that problem.

But in my ideal language you'd probably have a repl or virtual machine that could be sandboxed and used to execute the build scripts, including invoking the compiler as a library.
It's hero worship. Dyson was an innovator and very much an outside the box thinker. He was also fond of what rationalists call "magical thinking".

"What the secular faith of Dysonism offers is, first, a hypertrophied version of the technological fix, and second, the fantasy that, should the fix fail, we have someplace else to go."

https://www.theatlantic.com/magazine/archive/2010/12/the-dan...
Is it just me or are those results clearly based on using her name (from the ID she provided as part of her CCPA request)? To have zero false positives, and multiple different hair colors, etc ... strains credulity that is all based on face matching only.
Based on the limited supply of test kits, and ability to use them in an rapid manner, I believe we are entering a phase where symptoms should warrant an immediate self-quarantine.

Waiting for a negative, or declaring that only those that may have traveled or contacted someone who was in china is test worthy is foolhardy. This thing dies after 9+ days in the environment, if we reduce exposure of those who may be infected; It is possible we can wait this out.

Companies without work from home policies should revisit them immediately. Forcing someone who is under the weather or feeling off to come into your office is risking your whole company site.

Also tell your co-workers to go home when they are sick! An office is not an ambulatory pneumonia wing of the local hospital. Sick people should be home!
Look at the timeline of the outbreak in China:
https://en.wikipedia.org/wiki/Timeline_of_the_2019%E2%80%932...

- Patient 0 falls ill on December 1, 2019.

- Patient 1 falls ill on December 8.

- 8 total cases by December 18.

- 45 cases by January 16, 2020.

- 121 cases by January 18.

- 1,287 cases by January 24.

- 11,791 cases by January 31.

- 24,324 cases by February 4.

- 44,653 cases by February 11.

- 70,548 cases by February 16.

- 79,251 cases by today.

Right now, South Korea and Italy are basically where China was in late January and the US and most of the rest of the world reporting their first infections are where China was in mid January. The next few weeks are not going to be pleasant.

It's important to note that the Hubei lockdown started on January 23, and China is only recently seeing new cases plateau as a result. It's hard to imagine what the stats would be had they not taken such aggressive action to contain the spread, but we may find out given that the US, Europe, and most of the rest of the world seems to be taking a wait and see approach as opposed to prompt action.
not really a tech tool but anki is one of the most awesome learning tools ever: https://apps.ankiweb.net/
I gave them my busted 6S with a huge crack in a corner and they replaced the battery without issue.
DO you mean "why get an official battery" or "why do it at a certified store"?

For me I'd do it at the store because it's the only way to make sure you get a good battery. Most cheap batteries are crap (or at least you won't know if it's crap until it's too late).

If it was possible to get a battery that was 100% known to be original, and I could save a few $ by taking it to a corner shop to have the work done, I'd definitely do that for a phone out of warranty. But in my experience this just isn't possible (which is perhaps a better complaint to direct towards apple than the battery hatch complaint: I want to be able to buy original parts in any shop anywhere).
It's utterly trivial to engineer a waterproof phone with a user-removable battery. It's not remotely difficult. I have about a dozen watches that are seriously waterproof; I can change the battery in any of them in 5 minutes.

There's only one reason Apple batteries are not user-replaceable: Apple makes more money this way because it encourages people to buy new phones.
Right, so drop is useless :) We can drop things fine without it. Since of course it's scope/ownership based and not something that's explicitly called.
Sentinelese
I dunno, every time I interact with anything SAP or Oracle I am reminded of the fact that the software itself is bad.
You're right. The problem is people in their thinking silo and try to differentiate to claim that not everything is political - when in fact, someone who only is interested in earning money is inherently impacting politics.
My whole family had that same bug in Feb (in So Cal). It was nasty.

I have never worked at a company where one could call in sick without consequences. My last employer (which was evil) had a policy of five sick days per year, and more than two days consecutively needed a doctors note.
I’ve replaced batteries on 3 different TouchId iPhones and never had that problem.
I don’t think so, I think the battery might have a one year warranty but it’s considered a “wear part” like a tire so I don’t think you can get a free replacement if it wears out in an expected way.
Disclosure doesn’t hang anyone out to dry. Any advance notice to a vendor before publication is a courtesy.

You are not obligated to keep any secrets about your own research into a product that has been publicly released for everyone to do research on.
You should also note that there are no known odd perfect numbers, period. Any that do exist must exceed 10^1500.
I like your comment; I liked the Humility, Respect and Trust Framework from “Debugging Teams” a lot as well.

However, what I also found is: geeks don’t care about the value they are creating/not creating all too often.

If you are on the “other side of the table tasked to extract value from an engineering/science team” the amount of disrespect that you are facing from geeks is sometimes almost unbearable.

As much as I hear things like “education or opinions do not matter - but facts and data and demonstrated competency” this only lasts as long as the people saying it feel it’s a waiver to demonstrate some “tolerance and openness as long as it means they got to do what they want”.

What a lot of geeks don’t understand: yes, management also figures out “who is more results and product driven” and will shy away giving the “most impactful tasks” to the condescending folks...

A lot of managers would enjoy their work more having a bit more technical expertise; but the same is true - and even more so - for geeks.
Here's the problem relying on slate (I've used it and all the others [quill, ckeditor, etc etc]) -- you are also relying on Ian Storm Taylor and he's known for going on a streak and re-writing things in a breaking manner. IMO you should just build the entire thing yourself.
I wish the admins would put a ban on these stories over here to be honest. I haven't seen anything interesting come out of these threads, just the same surface level fear-mongering you can find on reddit and elsewhere. I don't really see how any of this "gratifies one's intellectual curiosity". "If they'd cover it on TV news, it's probably off-topic", well, about that...

I don't know if the hysteria is warranted or not, but at this point I'm convinced that it doesn't make for good HN discussions. People who want to discuss every development of this epidemic can find tons of places to do that already, including a plethora of subreddits focusing on various aspects of it.
Paranoid drivel. Why on Earth would these brave maverick scientists of yours choose to remain part of scientific and university communities that are so corrupt? Surely if they’ve any principles they’d be first out the door!

It’s not like they need to fight for academic grant money when they can go tap Big Oil any time they like. Also plenty of governments who’d like to hear everything’s fine, nothing to see, business as usual.

Heck, even climate scientists, being purely pragmatic, would like to be wrong. After all, they live on this rock too, so it’s not like they want this for their kids.

Nobody wants climate change. Nobody likes climate change. But the best science says that’s what’s happening, so deal. Or ignore it; your choice. But don’t lie about it; because, honestly, you’re absolutely rubbish at it and fooling no-one but yourself.
Since I work from home, I haven't had to do interviews in a long time, but back when I did, I did always ask one programming question, but it would be only one step harder than trivial.

I'd say use whatever language you want, even make one up, so long as you can explain parts where I might have questions. I didn't care about syntax, or performance, or cleverness -- just does it work. If they can't do that, you don't want them for a coding position.
Definitely sounds insane to me. Stop reading the news mate.

>80% of cases are mild symptoms. A mild cold. Under 50 has a fatality rate of less than 0.5%. Almost all fatalities are over 70 or people who are already severely ill. You are about 25x more likely to die of the seasonal flu at this point.

This is media hysteria in a post fact world where all information from all sources is equally valid. Everyone is trying to be heard to make their case.

If you are 70+ or severely ill this IS pretty bad because, unlike the flu, their is literally no defense. If you don’t fit that profile it’s just a bunch of FUD.
It's not helpful when scientists share their views outside their specialty and get things wrong. As much as I appreciate and respect Freeman Dyson, I wish he would have kept his views to himself on this particular issue, as he was remarkably ill-informed and stubbornly so. But that said, there's a difference between sharing your view and going on a crusade, which he didn't really seem to do. Now, if he had gone on a crusade, that'd be a different matter.
The NSA literally dug a hole in the ground via Level 3 to get into that network.

That isn't collaboration.
Or from dealing with more recent digital watches that do know about the year.
Especially considering that a battery replacement at Apple is around 75€. While thats a lot cheaper than buying a new phone as soon as the battery goes bad, its a lot more expensive than opening up the cover of your phone and simply swapping the battery.
A few years ago I had a LG G3 with a removable back. It was a great phone, but had quite a few problems. One of them was a non-oled QHD panel that drew the battery like crazy. I just bought another battery for 15€ and swapped them when necessary. That was a lot more convienient than carrying around a bulky USB powerbank.

Of course, that is a very specific problem to have. But having a user-removable battery is still one of the things I miss the most from older Android phones.
True, I do agree with you and the more practice I get, the easier it gets. For the first few times I would take the pan off the burner like an electric coil burner. I did learn to just lower the temperature instead eventually and I'm sure i'll get more comfortable the more I practice with it.

Honestly, I'm sure in the end, there's people who could argue the pros and cons of all three and they'd probably all be right. Personally, if I could have a dream kitchen I'd just have all three available and use whichever seemed most suited to what I'm cooking.
Do you have a threshold for how much a project should make each month?

My project has $30 in profit a month, but hey, that’s more successful than most! (And more successful than any other project I’ve launched!)
I can think of a reason she isn’t getting the credit she deserves.
Thanks for registering WinRAR. <3
"Statistically" means, in this case, based on data. The data we have right now is EXCEEDINGLY poor. The US just hasn't been testing many people, and the CDC has mandated that only people who travel abroad and those they contact should be tested. It's obvious based on these new cases that Covid-19 is being spread through communities, rather than by single carriers who've travelled abroad.

Statistics based on bad data (which we know is bad at this point) is analogous to guessing, and when guessing it's best to guess with the more cautious point of view. Is it still more likely, at this point in time, that a person with flu-like symptoms has flu? Probably.

Given the transmission rate from Chinese data (also bad data, but not as bad as ours), the US likely has more flu carriers than Covid-19 carriers. But how much more likely? No one knows, and no one can know, until we get a reasonable sample population tested.
> Instead, you seem to have many academics promoting their own ones

I suspect that large part of the problem is that there are not all that many academics in the field, promoting their own or otherwise. Ultra high speed PRNGs are just a bit of a niche, and the widely used stuff is already good enough for many industry uses.
Yes, it is worse than the flu: busting the coronavirus myths
I ran into this already on January first. Someone in the last 4 years changed/created a function in a MUD that I now maintain, to convert Unix timestamps into iso8601 strings for MySQL.

They did the math for which year is a leap year incorrectly, which wasn't the bug that bit us, they helpfully added the leap day regardless of where in the year it was. The tests they wrote targeted the middle of the year and missed it. I just pulled in date2j and related match from postgres, added more test cases.
15 years ago I have observed that gcc on i386 would optimize away unnecessary steps of 64bit multiplication so one would assume that it is capable of doing the same for 128bit multiplication on 64bit platform and that thus it is not exclusively llvm/clang feature.
There are endless ways to phrase "old people who don't know much about something still insist their opinions should be given equal weight as experts" but "ok boomer" is probably the most succinct.
Interesting. Maybe it’s just Apple propaganda then. Still I wouldn’t want to do it myself I think, though I’m sure it’s doable.
Thank you for this. I did not know of this change in implementation in Python 3.8.

Are you a core dev btw? I have a complaint about single threads and processes and how they have absolutely no way to return values back to the main thread except through some shared memory object. Am I too ignorant to understand how big of a challenge it is to do this?

from threading import Thread

def func1(*args):
#something

def main():
new_thread, return_val = Thread(target=func1, args=(1, 2))
new_thread.start()
new_thread.join()
print(return_val)

Instead to implement this, I keep having to use like single process pools that already have return mechanisms encoded. All I need is for a way of starting off a thread (or process) and joining it once my main thread / process is done and retrieving its return value for my use (assuming there is one).
That’s one of the reasons we only rely on Slate for our text plugin. So we could swap Slate for some different rich-text editor in the future if we need to. Though I have to say, we are very happy with Slate.
> The hero ingredient is luck.

There are different ways to look at things, but personally I'm not a fan of the "luck" apsect. I like "uncertainty" much better.

"Luck" might imply that you might get lucky. Framing your mind into getting lucky is really bad as an entrepreneur (personal opinion).

That is why I like "uncertainty" much better, because whatever you do, there will always be uncertainty whether you will succeed or not. Entrepreneurs operate in complete uncertainty, always.

The failures were just as uncertain as the successes, but if you don't try you will never know. And framing successes as lucky is pretty disrespectful if you look at all the shit that had to be done to get there.

As a special bonus on my "uncertainty" framing: you live in constant uncertainty, yet your customers, employees and investors expect certainty from you. Very hard mentally.
Blue thoughts?
Obviously low quality beer and coffee still exist. But these days I can find dozens of craft beers and a wide variety of fair trade, even somewhat recently roasted, coffees at the grocery store.

Cities are comparatively packed these days with higher end coffee shops and pubs/bars with extensive beer collections.
CPAP makes inhaling easier, but it makes exhaling harder. Some CPAP devices have a setting that drops the pressure when exhaling, but not all of them do.

CPAP devices don't require a prescription to buy in many places around the world. You can easily buy them online, and setting the pressure is very easy on many models. A prescription could be useful for figuring out the pressure you need, but it's pretty common for people in countries with shitty healthcare systems to just buy a machine and self-titrate.
It means that speed is not a very interesting basis for comparing them. If you cared much about speed, you would look elsewhere.
China has been shut down for weeks, Japan and South Korea are shutting down, and you're here saying talking about it is a political thing. Truly an idiocracy
Numbers don't mean much. You don't have confirmed cases if you don't test. The same is true pretty much everywhere however, not only the US. You'd have thought we would systematically test people from at-risk region, but apparently not.
https://en.wikipedia.org/wiki/Joseph_Nacchio
the CDC doesn’t want to test just anyone with cold and flu symptoms ... during flu season.

This wasn't just "anyone" though. But someone who tested negative for the usual suspects -- and just came back from a high-risk country.
Product-Led Growth Hub: World's First PLG Academy