skysight-inc/HackerNews huggingface dataset:
This is absolutely true.

Pro tip. If you're buying a car with cash, decline to state how you're paying for it until you have already negotiated the price and gotten it in writing. They will ask. Tell them you'll work out finances with their finance person.

If you tell them you're paying in cash before you have the price in writing, your price negotiations will go poorly.
Like NULL, confusion over EOF is a problem which can be eliminated via algebraic types.

What if instead of a char, getchar() returned an Option<char>? Then you can pattern match, something like this Rust/C mashup:

match getchar() {
Some(c) => putchar(c),
None => break,
}

Magical sentinels crammed into return values — like EOF returned by getchar() or -1 returned by ftell() or NULL returned by malloc() — are one of C's drawbacks.
That sucks. Reminds me of when Microsoft deleted over 15y of Hotmail emails.

Free-ish cloud.. while useful, can't be fully relied on because ultimately, the cloud is someone else's computer.
For some, 'shit becomes real' when it happens to a 'virtuous' celebrity, in absence of them personally knowing of any other victim. It fits comfortably into emotional contagion, and the manufacture of heroes through martyrdom.
You didn't need to switch over to Python 3.0 in 2008, though.

Yes, 3.4 was still not smooth but also not a disaster. I still don't use pipenv, mypy, poetry or dephell and life is fine...
A) FDA has some authority over food and drugs, not "products".

B) No one is selling unapproved products.
> Unlike influenza viruses, these viruses don’t mutate in a way that would cause their recurrence every year.

https://en.wikipedia.org/wiki/Human_coronavirus_OC43

https://en.wikipedia.org/wiki/Human_coronavirus_229E

Both of these viruses do exactly that. They're among the many that give us colds.

"Coronaviruses have a worldwide distribution, causing 10–15% of common cold cases. Infections show a seasonal pattern with most cases occurring in the winter months."

Consider the possibility that your source is full of it. It happens to the best: https://rationalwiki.org/wiki/Nobel_disease
Why bother? Drone evacuation would serve the same purpose.
True, but the cloud is sold as convenience, and backups and magic.

The reality is the cloud is putting your data in someone else's computer. Your data is technically without a permanent home.
It was for me in Chicago. Door to door service I could use my commuter benefits on.
“Flattening the Curve” is a deadly delusion
\r \n (0x0a 0x0d, or just one of them, or the combination of them, depending on your OS) is EOL

^D (0x04) is EOT and 0x03 is EOText: https://www.systutorials.com/ascii-table-and-ascii-code/

So, kinda, but somehow I'm happy it never got turned into a weird combinations depending on the OS.
Mostly reasonable, but shortsighted it seems to me.

How do they expect to enforce these requirements on the manufacture of the IoT crap sold by the vendor “Best Security Happiness Store” on AliBaba, and the unnamed (or outright counterfeit named) Chinese manufacturer they bought it from?

And conversely, they could obviously easily apply this to the UK based Raspberry Pi foundation, but who’s responsible for enforcing the “no way to reset to a known factory password” for the pi:raspberry login from a stock Rasbian install? (Or do we just hand wave that away and say “that’s not a consumer device, even though we’ve shipped over 30 million of them!”?)
It absolutely is a power move.

That's why when Cuba is struck with a hurricane, they reject American aid [1], despite being a relatively poor country who could obviously benefit from it.

[1]https://www.npr.org/templates/story/story.php?storyId=943791...
Also, first cars. The usual advice for new drivers is "get a cheap used car and drive it for a while, instead of dumping (equivalent of) a couple thousand EUR into a newer (used) one, and then crashing it into a gate".
https://formulae.brew.sh/formula/sl

whenever you mistype ‘ls’ as ‘sl’, you can have a steam locomotive run across your terminal with the above installed
Wikipedia supports this:

> Character 26 was used to mark "End of file" even if the ASCII calls it Substitute, and has other characters for this. Number 28 which is called "File Separator" has also been used for similar purposes. [1]

I think today we would think of character 4 (End of Transmission, Ctrl-D) as the end of file/input marker, but historically Character 26/Ctrl-Z was used, even on disk.

1: https://en.wikipedia.org/wiki/Substitute_character
Pls read what's known about this virus survivability outside of hosts body before you assume that item touched by infected person is "tainted" forever.
Thermal cameras already give you temperature output, you dont need fancy AI for that. Throw OpenCV tutorial Face Recognition code and you get the same result.
No, that wouldn't be so. The Dead Sea Scrolls refer specifically to those found in the Qumran caves, believed to be the writings of one particular enclave of Jewish settlers near the Dead Sea. They're not foundational texts by any means, as I understand them. They add detail to existing texts — some of the fragments are clearly different versions of well-known texts — and add to our understanding of Jewish culture in Palestine at the time. It's true that they're some of the oldest texts we have from the Old Testament.
Girlfriend works in hospitality, and her entire team was laid off today. That makes it feel pretty real.
You're right, it doesn't. However, that doesn't mean it doesn't achieve its intended goal. If users use less of their internet to avoid hitting the bandwidth cap, it stands to reason that congestion would decrease because overall network usage is down. Of course, it's not perfect as it wrongly penalizes some edge cases. For instance, someone who downloads/uploads terabytes of data, but only on off-peak hours (overnight).

That said, I don't see how the competing solutions are better. You could do QoS, but that gets flak because of net neutrality. You could divide the available bandwidth evenly across all users, but that would penalize infrequent users. A gamer who doesn't use much bandwidth most days, but has to download huge patches every month would get the same speed as someone who watches 4K streams every night.
They are extremely good at focusing on “the hard stuff”, of shaving tenths of a cent off production costs. To a first approximation, nobody cares about anything except price in the low end of gadgets.
it all depends on your stty settings.

since I am more used to Windows where ctrl-c is copy, I followed other people's suggestion and mapped ctrl-x to do what ctrl-c usually does, with:

stty intr ^X -ixon

This is because X and C are very close, and I couldn't sacrifice ctrl-v (paste) or ctrl-z (background) while I seldom use ctrl-c

I'm sure you could do the same with ctrl-d if you really wanted to.
Awesome. Can't wait to see it in Eclipse Che.
Eve Online has a separate server for mainland China than for the rest of the world. Presumably it's subject to government monitoring.

Does WoW have China hosted servers?
Show HN: Merge – combine multiple processes in one terminal window
Sound logic leads to garbage conclusion when it starts with false premises.

Who knew it's really worth to learn about things you'd like to talk.
When the resubmission is very soon, they are collapsed. After some time, the new submission lives. The exact time is not officially available, and the mods may tweak it from time to time without warning.
He hasn't been involved in the day-to-day for so long that it wouldn't matter much. Once it was clear Satya Nadella had righted the ship, Bill was free to step away. It only looks bad if he starts selling shares quickly.
I don't know if it's true, but my impression is that the same people who got really into complicated crypto trades also got into complicated option trades once it became accessible via app.
because the hospitals could become overloaded, that means a lot more people with other medical problems would be getting triaged than just coronavirus. not only that but this exponential curve can be blunted saving thousands of lives, including your own elderly acquaintances.
But after a year or two, it does mean he's no longer an insider.
No, at this point you get a "relax, Nancy". No step in the process of manufacturing surgical masks involves anyone breathing on a mask; they have machines. Masks are never shipped by air; they're too bulky. Even items that are shipped by air take several days on the ground to be shipped from factories and to end users. Your innate fear of Chinese people has sent you off the deep end.
“Evolving Erlang into a modern statically typed programming language”
We can’t. That’s pretty much how government works in the best case. In the worst case we’ll get both mandatory worse security _and_ a rentseeking monopoly granted to donors and ex politicians to supply/enforce it as well.
That's such amazingly american way of thinking. Like straight from cold war.
I think people get confused with fusion power being 50 years away if we focused and through resources at it, and it being 50 years away in reality.

They should be saying "fusion could be x years away if we tried for it."
When the Museum of the Bible, which is funded by Hobby Lobby, was created, they went on a huge, decade-long spending spree, buying up Christian artifacts all over the world. This created so much increased demand that sellers worldwide jacked up their prices, and it also created an opportunity for forgeries and outright theft. The Guardian has a fascinating article about it that focuses on Dirk Obbink, an American papyrus scholar at Oxford University who seems to have been selling papyrus fragments from the collection he was supposed to be cataloguing.

[1] https://www.theguardian.com/news/2020/jan/09/a-scandal-in-ox...
Only if you are way past symptomatic and have bilateral pneumonia. The CT scan wait time is extra.
https://outline.com/Ma9nV7

Or just stop the page loading when it shows the full text, before it gets hidden by the JS popup.
Hello Zack! Thank you so much for working in this space. I am a recovered opiate addict, who benefited from medication-assisted treatment a few years ago. I have come a long way from being homeless and living on the street in Austin, Texas for 2 years. I am now a good father and husband, and I have a pretty damn good job too. It was truly a life and death struggle, against HUGE odds, and I'm definitely one of the lucky ones.

You're correct that this is a tough space. I've been in and out of the "recovery community" for a couple of decades, and I think you may have only scratched the surface of how complex this market is. I would love to chat. I think I may have some good ideas for breaking through those barriers you're facing. I've created this burner to respond (re:stigma)and I've also created a burner email. Hit me up at the mail service of proton with the name "30days1000nights"
2 weeks from now when just the _known_ infections number in tens of thousands the opinion of "Society of Thoracic Radiologists" will matter very little.
New Zealand is doing great right now, Jacinda is easily one of the best leaders on the planet today.

Denmark is of course doing well, as are Sweden and Norway.
>I don't think you understand what oversubscription means, tiered network topologies' links increase in performance nearer to the IX, and that someone, usually the large ISP themselves, often owns the network all the way to the IX.

Getting to the IX doesn't mean you're home free, though. Your transit providers are also oversubscribed and links further down the chain could get congested.
A whole lot of us got into programming as kids because of VB. What do young people have today like it?
yeah, this author doesn’t know the history. Unix I/O was defined in opposition to practices in other OSes, that no longer exist
By my math, a chest CT is about 10x the dose from a flight. However, there is no “safe” level of ionizing radiation. There is only acceptable and unacceptable risk.
If they're paying a competitive wage then they're losing out compared to companies that just pay competitively and don't have the cost of training up apprentices.
No further mention of rav1e from Mozilla/Xiph/Vimeo, which seems like the more relevant benchmark comparison than libaom.
You're making a lot of assumptions about the setup. Granted they are all mostly standard.
Look at it from the other angle. If you are to blame someone for doing XYZ I assume that you are sparkling clean. If however you are doing the same thing simply get lost. You have no moral right to blame someone for doing exactly the same thing you do.

It is not "Classic Chinese / Soviet tactic (TM)". It is a friggin natural sense of justice that normal people possess.
I've often wondered how long it will be until other countries have to give the USA aid.
I'm just impressed they managed to go from 3.6.5 to 3.6.6 during a leap year, in fact not too far off from Feb 29.
Right now, 99% of active cases are outside of China. If you're worried about shipments from China, you should be 100x as worried about shipments from Europe. Or, for that matter, a different state in the US.

Another point: if you're also an Asian living in the United States, spending all day whipping up anti-Chinese sentiment online is not going to help you. If you succeed, you're going to be treated just as badly as me, because they can't tell the difference between us. If you think you can get away free by just being really, really American, you're hopelessly naive. I'm excessively American myself, and it hasn't helped me one bit.
Keeping everyone safe and antiseptic while you move a possibly COVID patient in and out of a CT scan will make the whole thing way more complicated and slow.
It's not a great snark given that the C standard considers the signedness of char to be implementation defined, making -1 a valid option, sometimes.
Assumptions help the world go around. :)
For small teams and small projects, sure. But you'd do well to have a settlers team behind your pioneers, rewriting in something more scalable.
The psychology behind why toilet paper, of all things, is the latest panic buy
Most of it is difficult to read nowadays, it’s mostly about spreading the idea of communism to the outer space and coping with the ideologically immature alien nations. But there are some gems, of course. Strugatsky brothers as a fine example, they started to write on early 60s and even thought their early prose is full of communism ideology, the overall quality is amazing. Check their “Hard to be God” book, it’s one of my all time favorites.
It used to have that and the service got discontinued.

For example, https://screenshotscdn.firefoxusercontent.com/images/[guid-l...
It is now, and people should follow emergency orders...now? Was what FB did against CA emergency state orders or guidelines?
OpenTable Restaurant Performance Data
Ask HN: How do email/SMS and SMTP servers work?
Tonight I wasted ~4 hours trying to run a self-hosted email platform locally and see if I could email myself.

I am really frustrated, but I have to admit I learned a great deal about how complex mail server operation is compared to, say, something like HTTP where you can just expose & tunnel.

It seems like a lot of the complexity stems from the fact you need multiple components for a mail system to function properly (SMTP Server, MTA/MSA, Mail Store, Delivery Agent, IMAP/POP server). And from what I gather, it seems as though ISP's can choose to block the traffic regardless, which is entirely out of your control?

Is there anyone who might be able to explain how these things work, and what the bare-minimum requirement would be for an HTTP API that could only send outbound emails?
And... the Devil's in the details.
I wonder what the analogy of this breakthrough would be in terms of software. Seems like a sort of replicable testing/prototyping environment for further breakthroughs in the analysis of the virus rather than treatment itself. Hopefully this covid-19 crisis will trigger a re-evaluation and optimization of drug testing and cost-effective universal healthcare.
National security threat is US military not owning aircraft carrier worth of medical supplies while at the same time owning multiple actual aircraft carriers.
What was it Rahm Emanuel said? "Never let a serious crisis go to waste."
It's basically never worth replacing the old stuff. Only adopt new stuff if the future use cases are so huge (10x the old system) that the old stuff becomes a small afterthought that you can easily afford to throw it away (and lose its value) or pay the cost of rewriting it (which mostly cancels out it's value)
VB6 was my first too. It really flexes your mind when you go from VB6 to C!
Editing "of the Bible" out of the original headline makes this HN post clickbait.
Windows itself can do this. Win+V will now will up clipboard history.

I had no idea it existed initially, but until i disabled it there was a nice easy-access list of all of my recently used passwords. I assume other programs can't access that. But I don't want Microsoft syncing all my clipboard history to the cloud. No thanks.
During record low interest rates. Saving $80/mo isn't exactly life changing if you're paying $500/mo on $50k in loans. Better than nothing, but where is the rent and mortgage relief? Suspension of evictions?
Using genetic algorithms to generate negative training data
Again, they don't have to accept your demands, but they do have to negotiate rather than just telling you to buzz off. It's illegal for a business to "refuse to bargain collectively with the representatives of its employees". Many people do argue that this gives unions the ability to extort companies with impunity - it's one of the main reasons companies often fight so hard against having a union form.

(If you literally only have 2 employees, the employer might not meet the threshold to be covered under the NLRB.)

cite: https://www.nlrb.gov/rights-we-protect/whats-law/employers/b...
A big one for me is “What is the community like?”. Especially for open source technologies. Do the contributors spend time answering questions? What is the general tone in the community, welcoming? Confrontational?

All the best technology decisions I have made have come with a strong friendly community.
I'm sorry you don't find it great (I still do). Integers are not characters.

Integers are numbers like -1337, 0, and 42.

Characters are things that compose strings of text.

These are not the same kind of thing at all. Just because APIs may be leaky, and some of these APIs are held in very high regard doesn't change that fact.
It kinda is.

Because algorithm improvements can dramatically exceed execution time improvements, working in a language that facilitates rapid development and iteration is a path to better final performance than early optimization for execution speed, which is then difficult to modify.

That said, premature coding is also a negative - it pays to evaluate and refine the algorithm before coding - but sometimes executable pseudocode helps in that process.
BitUSD had a different mechanism as it only allowed its own token as collateral.

The Maker protocol doesn't use MKR as collateral, instead it serves as an efficient debt engine for other liquid assets and its holders collects fees on these debt positions almost like a bank. The interest fees collected stream in real-time from those who take debt(yes, this is possible on a blockchain) and a large portion is sent to depositors who hold on to the dollar stablecoin a savings rate in real time too.

Ether is just the first asset being used to perfect the mechanisms needed for fully autonomous banking. Any real world asset can be tokenized to take advantage of this efficient lending protocol right now.
Okay, I ran the simulation for his "parting gift". It creates a message within a box. The message is "FUCK OFF!!".
If someone says sprinting cross-country is impossible; seeing them sprinting away from a beach when a tsunami hits does not undo their claim.

Nearly any arrangement is economically possible for 6 months. The government can implement price controls, enforce unlimited paid vacation and give everyone a million dollars; even that might hold together for a month before people start starving.

Holding together over the medium-long term is a completely different story.
The CPC are the ones who dug the deadly hole in the first place. It's great that one of their billionaire members has some money to spare to help people out, but let's not forget they are directly responsible for this pandemic.
Is this a better .csv?
after this cov thing has surfaced the many, many, many issues the us has, i realise that europeans may not have the same kind of startups, or glory, but instead we have our health and systems to rely on. stay safe and let us know if you need help, as your government and president have failed.
When Your Work Is Classified, ‘Work from Home’ Doesn’t Work
Presumably it got developed as such, and it never got prioritized before release.

"Okay we've finished all the must-haves just in time for our release deadline but the name for our app in our code isn't really configured correctly."

"How long will it take to fix?"

"Maybe a week to update our CI environments and be confident that there aren't any regressions related to dependencies on the thing that we're changing, but we can also fix some other issues in parallel."

"What effect will changing it have?"

"Well it will conform with best practice and won't confuse future developers."

"What user-facing change will it have?"

"None."

"Nope, not worth delaying release by a week for."
I liked this explanation. https://www.linusakesson.net/programming/tty/

When the TTY device takes (by default) Ctrl+C or Ctrl+D, it sends the signals to the program.
The TTY's 'line discipline' (the policy for when the program's STDIN can read from a line of input) can be changed from a default 'cooked' to a 'raw mode'. In with raw mode line discipline the Ctrl+C doesn't send the signal. Presumably that's why e.g. vi or emacs don't just close on Ctrl+C.
Is This Indonesian Cave Painting the Earliest Portrayal of a Mythical Story?
I think everything that you've said is completely true. However, I'll add that it matters a lot more if you otherwise don't have testing capacity available, or if your test has a large false negative rate. China relied heavily on CT-based diagnosis to backstop a lack of available and reliable testing.

Another issue is that modern sanitation standards don't really enable using a CT to diagnose an infectious disease. The equipment is far too slow and expensive to truly sanitize, you would have to be willing to just PPE the patient and hope that works out. Again, perhaps better than skipping any diagnostic testing altogether if you don't have any alternative, but certainly not a first-line choice, and ethically questionable if you risk exposing uninfected people.
No, the maximum upload is fixed and independent of the download speed. I meant they can offer 6/6 Mbps, or 12/6 Mbps, for a 1:1 or 2:1 ratio. Basically as a joke.
> frunk is very cool, and I'm glad it exists, but it gets about 100 downloads a week. The matches macro that we uplifted to the standard library in this release is getting around 20,000.

Indeed, because library authors find it easier to write their own macro to solve the problem. And maybe part of that is that frunk is too hard, but I do think it's also the case that macros are too easy - or rather, that the ease of adding them is not proportionate to the ease of maintaining codebases that use them. http://www.haskellforall.com/2016/04/worst-practices-should-...
Be that as it may, we should accept, and thank him for it. This is not the time for dick measuring contests, and our institutions that were supposed to deal with this (CDC/FDA) have objectively failed.
Powershell is a command interpreter like bash at the end of the day, I say use the best tool for the task. I'd hate to do gui with powershell,vb6 let me build simple UI front ends, probably the simplest ever.