skysight-inc/HackerNews huggingface dataset:
https://travisjeffery.us4.list-manage.com/subscribe?u=1e3ff7...

via his comment history :)
I still regularly need to write portable scripts, but it is niche, and not nearly as easy as it should be.

Several of our "grunt work" servers run macOS. So you're either left with a seriously outdated set of utilities, or need to write wrappers to first attempt to use gX versions first, and then fallback to standard names.

The options I'm trying to use aren't GNU specific, and can be found across the BSDs. But Apple is old, so you can't fully count on POSIX.
> Every American should really learn about the post civil war reconstruction period before making any claims about moral superiority.

Was the pre-civil war period a shining bastion of morality? Pre, post or during the civil war, you can choose any time period and see unwarranted self-righteousness. I can't think of any period in US history where we could genuinely consider ourselves the moral superiors. But you don't get to be the wealthiest and the most powerful nation on earth by being morally superior.

> It’s far less comfortable to see the rule of law subverted by southern KKK and militias and northern moral fatigue in the decades that follow.

"Northern moral fatigue". That's cute. You make it sound like the north was any less racist.
>where Apple Pay is designed in such a way that Apple can not tell who you are spending your money with.

source on this? AFAIK apple doesn't share it, but they definitely have access to the data.
Any service that claims to be "free" and doesn't have a very obvious business model gets me very suspicious. I usually start reading the service's privacy policy.

This website's "Privacy Policy" states:

> We collect [personal information] by fair and lawful means, with your knowledge and consent. We also let you know why we’re collecting it and how it will be used.

Yet personal data is collected through Google Analytics without being mentioned anywhere and without my consent. The policy is also the linked privacy policy for the Android and iOS app. It doesn't let the reader know why personal information is collected and how it's used, as it claims. Is that different in the actual apps? Also, what data does the website and the app collect?
maybe can be suitable gig hires to turn out quick cheap startup ideas.
Can you recommend a good source to learn more about how options trading works in real life?
Id like to know how you guys generate trading ideas, come up with bet size, study market sentiments etc
My first programming job was on a telephone exchange system that was 50k lines of sed, awk, and korn shell.
"In reality there is no clean code as we would like there to be"

Sure there is. You want clean code, here you go:

https://en.wikipedia.org/wiki/Clean_(programming_language)
Why does IT suck with computers? (2019)
> Humans are much safer than people on average

This makes zero sense and isn't how "average" works. For the same 1000 hours on the road, a Tesla car with Autopilot will have fewer accidents than a car driven for 1000 hours by humans. This changes as driving conditions get worse, and humans outperform Autopilot.
Tin Kam Ho (who introduced the random forests ML technique) should be on the list too. https://en.wikipedia.org/wiki/Tin_Kam_Ho
Although I recognized the name I did not know she did qubes os. It is a really cool idea, thanks for the link, she did and does inspiring stuff.

edit: apparently she now works on the Golem project: https://golem.network/
Am a woman. Fucking thank you. So tired of hearing about the same people over and over again.
It’s like a real life Oregon Trail game.

“Your kid has dysentery.”
Well, mission critical software has to meet latency requirements, but it has to do so in a way that's provably bounded. In some ways, it's actually worth being a little slower if it's easier to prove you meet latency requirements.

Point being it's not entirely orthogonal to "performance".
“There were no women on the staff” - says it all
Need to add Ann Wollrath to this list. (Primary author of the RMI whitepaper.)
With the caveat that LSP is still violated in the given example, I think it's important to note that when talking about "all" instances of a given class you might not have much information about the exact value of a string.

Their notions are informal, but on some level it's just the experimentalist's interpretation of LSP -- much how some physicists (loosely) argue that if you can't make measurements to prove a theory wrong then the theory doesn't matter, it might similarly be reasonable to ignore LSP with respect to properties that you don't care about (where that definition is fuzzy and hard to pin down but should represent a definitive class of things within any given single program). E.g., most people don't rely on toString() doing much more than giving a bit of human intuition into the type and properties of an object, so any implementation which respects that behavior satisfies a realist's LSP.
Across a wide range of topics, yes, that is actually how it works. Having a particular clearance level doesn't automatically give you access to all materials classified at that level; it just allows you access to those materials if your superiors deem it necessary to give them to you.

Someone with, say, Top Secret clearance, who works in a relatively small area, will have access to a small quantity of Top Secret materials. For the most part, across the wide breadth of possible materials, they will have a similar level of knowledge as civilians and uncleared service members. They'll only have an edge in their particular area.
This is on the money. All the overreaches of the US government can be viewed as what happens when the world's hegemon actually is constrained by people, and has limits to its authority. Its what a country with its power and influence does, when its restrained.

Imagine the overreaches of a hegemon without those restraints. If the CCP were to replace the US/western alliances, as the dominant power - the catastrophe would be unimaginable.
> I assume that special care will be taken and the cars themselves will be quite risk-averse.

Bold assumption that's already got a counterpoint: https://en.wikipedia.org/wiki/Death_of_Elaine_Herzberg
significant mastery ahead!

This is a success story and a teaching document.

.. have to point to this : "Now that I’ve seen Go strings… holy hell, Python 3 unicode strings sure look like a nasty botch in retrospect. " (!)
What I never fully understood is why the staging area isn't simply a commit that gets amended repeatedly as files are staged into it. Maybe just a tree pointer, since the rest of the commit data isn't available until commit, but you could fill in some placeholders. ("(staging)" for the message, current times for the timestamps, etc.)

(Note that index doubles for other functions like merging/conflict resolution, but I never thought that was a good thing, and could be separated out.)
An incredible journey fueled by a father's dream
Hopefully the novel part isn't that it acts like the Spanish flu and thrives just as well in the spring and summer and lasts years.
As an adult, my neck doesn't bend in a way that would allow me to look out the window no matter where I sit. I wouldn't have any interest in a simulated view, but a large screen with a camera feed would be great. I am increasingly anxious about flying, but I haven't lost my interest in seeing outside. Seeing nothing but the interior makes it worse.
And nothing will happen because no one in the US government has the cajones to do anything about it.
This would be amazing. It's one of the last holdouts of why I develop on Chrome - I need to be able to see the failed request to debug what's getting sent and what isn't!
Sexist
Oh wow. What technical background do you need to get a job literally in Hell? :(
This is an area of law which is still emerging.

In my opinion, it is emerging very foolishly and nonsensically, but it is still emerging, and so much of it is not completely settled.

Oracle V Google, for example, raised and then incompletely answered some questions like these
Thanks for the tip, I just changed it.
> I honestly love Apple Pay, but I don't use it super often because it makes me self-conscious. I feel like a bit of a dick for some reason. If you try to do something "weird" and it doesn't work, people get annoyed, or it feels like an imposition.

1. Get an Apple Watch. In the following, I will assume you wear this on your left wrist.

2. Set up Apple Pay on the watch. Keep the card you have set up as your main Apple Pay card in your left pants pocket.

3. When you wish to pay with Apple Pay in a situation where you feel self-conscious, reach into your left pocket with your left hand and get your card.

4. Move the card toward the terminal, at the same time using your right hand to double-click the side button on the watch to bring up Apple Pay.

5. Continue moving the card toward the terminal as if you are going to swipe or insert it as appropriate, but while doing this bring the watch near the place you would for Apple Pay.

6. If you get the haptic feedback that indicates a successful Apple Pay, great. Put your card back in your wallet, and no one is the wiser.

7. If you don't get the haptic feedback, go ahead and finish with the actual card.

(If you are worried about terminals that are a little slow with Apple Pay, and so you might get an Apple Pay response after you have gone ahead and inserted the card, you could modify step #7 to be pull the left hand away while using the right hand to continue with the physical card).
Yeah, I would expect any data reaching the drives to be encrypted by Backblaze, with the key newer reaching the disk.

You could even have keys per disk and wipe them when a disk fails.

Either way, you should be fine to RMA the drives as for an external observer without the keys they just contain random noise.
Try and market this shit
I just tried buying some today. It was tough to find any that didn’t seem like garbage. I found 2 cotton washable ones on amazon for way too much money. But I have a trip to Korea on Monday. So I figured it would be prudent.

My understanding is that masks offer only minor protection against getting it, but help a lot against spreading it. They don’t stop a virus but they catch the snots.
If I was super wealthy, I'd prefer to fly like that over having my own plane. No matter how much money you have, the pilots are probably better, and it would feel like you were economizing.
Heads up. Apple has an animation application called Motion.

https://www.apple.com/final-cut-pro/motion/
Upwork charges 20% of the first $500, 10% of the first $10,000, and then 5% onwards. Limits are per freelancer, client pair.

If you're spending >$10,000 on an individual freelancer it seems it might make more sense to hire someone?

(Getting started working with ~$500 webdev contracts on Upwork recently so very familiar with these numbers)
Coronavirus Visual Explainer
source: "Apple doesn't retain any transaction information that can be tied back to you—your transactions stay between you, the merchant or developer, and your bank or card issuer."[0]

0: https://support.apple.com/en-us/HT203027
It's not an issue. See here: https://news.ycombinator.com/item?id=22303220
I got out around 23rd Jan when I started hearing about Corona virus spread in China. Market went up and it looks like I left 10-15% of profit on the table. But as I live in Asia and I see what is happening economically in many countries now I still think it was a good decision. If the market doesn't drop in the next few weeks it will once the 1st quarter results come out
Yet miami has the same flu season as Minnesota. AFAIK.
When we set the upper limit of PC-DOS at 640K, we thought nobody would ever need that much memory. — William Gates
> I don't understand how vim works beyond the base conceptual level

How much time have you spent trying to figure out how to change the font size in Vim, rotate text 90° in Vim, recalculate a formula in Vim, or insert an image into a document you're editing in it? If the answer is “none”, you probably have a pretty deep understanding of the data model Vim manipulates, even if you aren't aware of it.
Someone could do a study of schools with broken ACs. That might be an easy way to study it.
I would read that book.
The Navy Now Wants to Retire Its Troublesome Littoral Combat Ships
The last I heard from Reuter, China was trumpeting an April date for this to end. I don’t know why they would pin a date when you are just extrapolating a graph that was in itself wildly inaccurate due to testing limits
Really who cares except some jingoist defence industry neocon who still thinks the cold war is a thing , also the Chinese don't do drone strikes or invade other countries.
Here's another experience report: I ported a small 1 KLOC PHP project to Go this week (in some spare time between large C++ compile times). The primary goal was to reduce the number of supported languages we use.

The port happened in the mechanical line-by-line way, copying each PHP file to a *.go and fixing all the syntax. The project was small enough that automation wasn't interesting.

I agree with the "1/3 time spent debugging the result". Another complicated facet was the lack of insertion-order preserving maps, that PHP applications end up relying on heavily. The error/exception impedance mismatch was not a problem in practice at all.

According to cloc, the original PHP project (excluding vendor) is 1.0 KLOC, the resulting Go application is 1.2 KLOC. I imagined Go would have been more verbose than this, but actually most lines remained 1:1 conversions, and the Go standard library happened to cover a lot of small utility functions that had to be separately written in PHP (e.g. for string suffix matching).

Another interesting point is the number of comment lines in cloc appeared to drop dramatically, since real type annotations are much less verbose than PHPDoc.
Web dev with a lot of consumer traffic.
"Interesting. I'd have expected more than a 50% code expansion going to Go, maybe even 3x or 5x."

This has been my extensive experience as well. I wouldn't be able to use Go if it was that much more verbose than Python. It certainly isn't as succinct as Python by any means, but it's not the night-and-day nightmare a lot of HN posters seem to think it is... provided you actually learn the language.

In fact, one of the questions that I've found coming up in my head is... if you take the huge, huge pile of features that Python or other languages bring to the table that Go doesn't, and all their corresponding disadvantages in terms of having to learn them all, and how they all interact, etc.... and that's all you get in real, production code... is it really worth it? Because let's not mince words... it's a long list of features, all of which superficially seem awesome. And I can craft one-liners that would be a dozen lines or more of Go... but usually those one-liners have a lot of single-letter variables in them to focus on all the awesome syntax and features. When I get into real code with real variable names, the advantage fades fast.

I find this to be food for thought. I still haven't fully integrate it into my worldview. But I can definitely say I feel like the cost/benefit matrix I had in my head even three years ago has shifted a lot. Perhaps it would be fair to say I haven't necessarily lowered my estimate of the benefits of all the fancy features, but my estimates of their costs have gone significantly up. A lot of them are really cheap in the moment you're writing them down for the first time and using them, but carry hidden long-term costs that I feel like younger me was not accounting for properly, especially if you are not the only developer.
Ask HN: Trouble with Next Career Move
Throwaway account. Right now I'm struggling to get some advice on what to do next. So far in the last 15 years I've co-founded a startup, been a CTO at a company and grown it to north of 20M in revenue, and coached several startups at early stages. Right now I really want to build something new, ideally from scratch with the right people. The issue right now is the spaces I'm most interested in are quite saturated with other startups, and strategically I think that would be a bad way to spend ones time.

Does anyone have any ideas around how to go find inspiration, problems, and maybe ways to do work that let those things happen, without feeling like you're wasting your time?
It's a good question. They don't interoperate now.
They happen about 3-5x month. I typically read the once that are most relevant to my role.
> Unlike passwords, fingerprints are not protected by the 5th Amendment

what's the threat model here? that law enforcement will force to make apple pay transactions? that law enforcement will request fingerprint data from apple?
None of these is similar! The off the shelf dataset won't help you achieve nothing commercially, maybe learning or tinkering at best.
Social Engineering Through Social Media – Christina Lekati
FYI on Firefox mobile (preview and stable) your site overflows horizontally by a few hundred px. Also your testimonials made me laugh and admire your chutzpah, which may not be the effect you're going for :)
I don't know if it is so now. When the feature was introduced, Chrome synced with my account automatically when I logged in to one of its services. I found it so bold I've never used any Google service inside chrome again.
Why would Apple pay $57B for something they can develop (a whole lot better) in less than a month? I really cringe when I see people use Shopify. But I understand why mom and pops use it. The same reason why they used to fork over hundreds a year just to register a domain with a low effort generic website.
Apple probably requires fully authenticated bi-device on-line transactions making the risk much smaller.

The EMV part requires the merchant device to be online or the process won't happen and the phone part requires user authentication; you'd have to break both at the same time to abuse it. Probably still possible, but much harder than stealing a card and using it until you hit the limit or get flagged.

Probably also why EMV contactless without PIN and EMV contactless with PIN have different limits (amount of transactions and transaction amounts).
> Please let the "FISA court is a rubber stamp" myth die already

Maybe if there were more transparency, it would.
Any idea of the cost of the final approach they used for the “success” case? E.g. if the rand errored 1/100, would the cost of returning that union object outweigh the exception?
Rise in sulfur dioxide could be sign of mass cremations in Wuhan
When a building is burning, often, people's first reaction is to ignore the alarm and carry on with what they were doing. The first people to leave look like worry-warts. Those who make it out, though, are the ones who think for themselves and realize there is a problem, before the herd stampedes. Insurance is cheap before there's a problem, but impossible to get after. What is my "cost" and "risk" from having chloroquine? I'll probably never take it, so almost nothing. What is my upside? Maybe nothing, maybe everything.

I hear a lot of "it is just the flu." Maybe. The Spanish Flu was horrific, though. And when was the last time a city the size of london was quarantined for the flu?

I believe in data-driven fear. Care to go over the data?
> An incorrectly predicted branch is one of the slowest things you can have happen on a modern CPU

Per Agner Fog, misprediction on Ryzen will cost you 18 cycles. On Haswell family, 15 to 20. Floating point division can cost you more cycles, both in latency and throughput. Even just plain old L3 latency can be worse than misprediction.
I'm going to jump in here.

Trading options is extremely risky and a lot of people teaching it, teach it because doing it is normally not profitable and they have already lost their money.

Unless you have some huge edge, which no one does, options are the last place to spend your time and blow your money.
There is no Atari cash, there is no Atari, just few dudes with legal rights to the brand and borderline scam (lying multiple times) crowdfunded half a laptop pretending to be a console with no games.
Who are “they?”

The state is not a monolith. It’s barely top-down. It’s a collection of people in many different departments with their own ideals and relations. The people who decide what dictators to arms are NOT judges, nor come from the domestic judicial branch.
Why ‘unlimited background processes’?
But "trying to decouple, modularize, and choose the right tools for the job" for your applications seems applicable at any scale.

EDA requires a change in testing methodology, in software design, and a bit of reading, but calling it a "google-scale thing" is pretty fallacious. The idea that a monolith is easier to maintain or that synchronous inter-component communication is easier to reason about also seems fallacious.

I'd love to see a chart of developer's perceptions of event driven microservices and their personal operational expectations.
I've heard that argument, but I'm not convinced by it. I think the shift to being male-dominated was well underway by then. The Algol-60 committee was all male, for example.
Its more of an Ouya.
I could probably send you one as the start of my experiment.
You ignore C++ template metaprogramming, that performs computation without applyit any functions :-)
What has a shell got to do with it?
It would literally take less bandwidth than opening any newspaper.
How do you verify what you have is what you are told it is?

Free software / hardware doesn’t solve espionage.
It's also basic human nature that men will chase high paying jobs with far more intensity than women.

There... may not be a conflict here. Just different ways of saying the same thing.
Let's say you had a problem stated as follows:

You have several thousand documents in HTML, with roughly similar content (to a human) but not entirely consistent in the ordering of the sections, or the formatting, or the names, or the language and structure. But each document describes an entity of the same class (to a human) and very nearly all of them have a section that summarizes the document. They have a lot of parts in common, but they are fundamentally not designed to line up with a structure for data processing.

Is there any practical way to find that summary? Sure, something obvious that takes no time to script is to look for something like "Overview" but you quickly get bogged down in exceptions.

Maybe this seems very mundane and simpleminded, but it is the sort of thing that many people would assume is best done by a human. Is there anything current or in the near future that would be significantly easier than a human reading all of them?
When I wrote news, I meant news for me as a researcher (which I figured can be gleaned from context), ie new papers, conference announcements, etc. Not much disinformation there...
> I don't know if the FISA system is abused or not

You do now:

https://www.washingtonexaminer.com/news/fbi-director-carter-...
US: It's not right the Chinese spy on telcos

FVEY: It's right for us to spy on Belgacom
I followed the link and didn't see where it said they used all his facts.
> No need for any special hardware, any special software

Umm, except for the whole Apple device...
I think it is fine when people are doing rewrites on their time and dime. It is certainly better than situation where language fans just make drive-by comments to authors on github etc to rewrite stuff in xyz-lang because it is so much better.
Wednesday: In the Lions’ Den
Yang just dropped out.
Yeah though chloroquine is fairly mild stuff - they used to give it to all travellers going to malarial places but have mostly stopped because malaria mostly became resistant. I'm not a medic but reading the letter to nature I'd put the odds of it protecting you in real life at say 50/50 so if you're getting exposed it could be a reasonable risk reward. Even if it didn't stop infection it could make the illness less severe.
New Instagram Features: All the Instagram Updates
New Storybook addon to fetch real data easily