skysight-inc/HackerNews huggingface dataset:
If people look at creating a Mars colony as a voluntary extreme sport, like climbing Everest, BASE jumping, or wingsuit flying, with their corresponding death rates, you might understand the motivation of the people wanting to go to mars a bit better. For those types of people risking death to do something extreme is fun and going to Mars would be both very high risk and extreme.

A safety first attitude won't build a spacefaring civilization, but hopefully the Elon Musk anti-hype squad does not stop people from using their own resources to try and build one.

You won't know the what the severe issues are till you are there and trying to stay alive will be a great motivator to solve problems quickly. Simulating Mars gravity on Earth is impossible so Mars is going to be the best place to build a working model of a Mars colony.
In my personal tests, it's not at all orders of magnitude faster than GNU grep. In fact, for single file, non-unicode greps (most of my usage) the difference is so small as to be imperceptible when interactively using it.

Even for multi-file scenarios, the difference is nowhere near close the difference between GNU grep and BSD grep. This means that compatibility with GNU grep takes priority for me and it's not worth switching over to ripgrep.
Personally, I find the intense focus on API/ABI stability and legacy support in the software world to be a major blockage on the road to great software. I'm ecstatically happy every time a new version of Swift makes big breaking changes, because it means that people care a lot about making Swift excellent, and as somebody who has used many different languages and frameworks, I can tell you that care is acutely felt in the experience of writing with Swift and Apple frameworks. I'm paradoxically kind of disheartened to see it reach stability. I wish this went on for a couple more versions.
For what it's worth, the US system under the ACA has many of these (probably in large part because Switzerland has them, as our system is modeled in part on theirs). We don't do strong price controls, but we do mandatory insurance, with mandatory coverage levels, that can't be denied or repriced based on age, and public funding subsidizes a large fraction of the insured.
By keeping a narrow focus and avoiding feature creep, the technical debt has been pretty minimal, and they've been able to pay it down easily. There's at least something to learn from the approach.

It does also help that there is a certain type of developer that sees such things as a personal challenge and will go through hell and high water to come up with more and more efficient ways to do things.
>I realise it's just a concept test for future missions, but this doesn't seem like a particularly rigorous test.

It worked for Boeing.
That doesn't sound very performant having to switch back into userspace just to get another buffer, then back into kernel space to continue completing the read.

Though as far as I can see you could get close to what you wish by doing 1 byte reads.
Polari: The Lost Language of Gay Men (2016)
Possibly, but I feel behavior is probably the biggest tell for dogs.

Their owner starts acting funny right before a seizure comes on.
Sorry, I guess on a second reading you were specifically talking about situations in which you want to do things async. In that case, I can see that everything being async from the start is preferred.

I was talking about the general case of everything being async in JS. That's frequently touted as a benefit of JS, but it's utterly maddening to workaday web developers. You want your requests to be served async (which should just be handled by whatever framework you're using), but inside of a single request you mostly just want to write synchronous code, even when you're dealing with IO. It's a lot easier to reason about.
A Simple Explanation of Gini Impurity
The Apple Card is a perfect example of Apple’s post-iPhone strategy
I don't think I've ever seen these before

You've...never seen an iFixit teardown before? Much like discovering the alt-text of XKCD years after you started reading it, you've got some back catalog to catch up on.

And if you ever get the DIY itch, they'll sell you every tool they use. Decent quality kit, too.

(EDIT: and to those of today's 10,000 with regards to XKCD, I am so, so sorry. Enjoy the rest of your non-productive day!)
I agree in principle but I still think you’re being over-optimistic and glossing over details.

The bar is (sadly) very low for people to say “this voting system is too complicated, nobody will understand it!”

You say “Condorcet” as if that’s a complete solution, but there could be a preference cycle with no way to break it. You’d need to pick a specific method, like STV, and every method has flaws.

This is a very intense situation, where many people feel like they’re under intense pressure, with very short deadlines. On top of that, it’s being done in public, and everybody is juggling multiple concerns (doing the right thing in the short term versus long term, helping the country, helping their party... Being seen to help their country and/or party, protecting their own careers, etc etc)

Overall I think it’d be very difficult and risky for Parliament to adopt even a slightly novel voting system at the last minute, even to resolve a major crisis.
You are snarky, but I don't think it's warranted. Any examples of non-reentrant or thread-unsafe system calls in POSIX?

There are a few library calls that have a cousin with an _r suffix in POSIX, but these are not system interfacing calls. Just don't use them if they don't match your requirements. Most of them aren't even non-reentrant or thread-unsafe, but simply lack an additional parameter for some use cases (the use cases mostly come when you program in object-oriented style).

The one offender (not a system call, either) that I know from the top of my head is strtok() which is of course terrible, but why would you use it?
There are times when sarcastic/combative comments contain sufficiently good material that they are upvoted in spite of their flaws, but I think in this case the content was pretty minimal/obvious. The comment by swah

https://news.ycombinator.com/item?id=19522802

contains essentially the same content, and it did fine.
The first day of trading is not even halfway done. Please do not post sensationalized articles.
A very interesting read, thanks for posting this here. I'm not that well educated on Russian politics, so maybe the community here can help me find an answer. Is the threat to disconnect Russia from the global internet real at any point? Is it even technically possible? I know Putin likes to throw threats around but ever since they annexed Crimea I don't think he makes idle threats anymore.
I don't really care for the pros and cons of veganism or their youtube channels or whatever, but what kind of friend uploads a video that they know will tank their buddy's youtube career?
kitty has image support
Timbuk2 - Division Laptop Backpack

https://www.timbuk2.com/products/1849-division-laptop-backpa...
Yea, this is the most likely explanation. Or at least simplified to what a developer would use the commit message of "Appease the insane demands by the Legal Dept".

Most aren't technically save and realize that things like no select or no right click are super easy to bypass. Heck, I'm sure 99% of HN readers could simply open up the inspect panel and edit the HTML directly. Screenshot and BAM, look.. Disney TOS "hacked".
Yes, prior to the ACA, which included sweeping reforms to prevent this from happening.
Might be a bit premature to write these headlines? The day isn't over.

At least that's a benefit of printed papers.
They took samples after/during seizures.
As a person who is developing a free software project out of my own passion and will, I wonder if this is what I will think and feel several years from now on if my project gains traction. In a way, isn't this the kind of fate I coin for my own self now?
And they are down 5% from that $87.24 pre-market price.
mlterm's emulation of it is better.
https://github.com/saitoha/xserver-SIXEL
I haven't tried that but issues tell that even mouse works with Firefox in terminal.
This is a Quebec bill.

Would be like talking about an Illinois bill as an "American bill".
I often search for the etymology of words. I used to overthink it when trying to find the right search terms but eventually realised that "[word] etymology" gives pretty much perfect results every time ('vaccine etymology' gave the answer on Google and DuckDuckGo without even needing to click any links).

Just mentioning this for other people who like looking up words. And yes it's obvious... unless you're one of those people who sometimes overthinks search terms.
Practicalli Clojure
The page says "all active ads" more than once. Perhaps the mention of political ads is just for emphasis?
have you already maxed out your company 401k and IRA contributions?
This is a goal post move. I remember when this 47% was claiming Seth Rich was the DNC leaker.

I think the media did a pretty good job describing the facts of the SCO investigation.
I don't know, I was just asking for clarification to the question, because you did not provide any information on the distinction of the two methods in the question "why do I need to find the first file with ...".

Your reply here could of been a great reply to the original question.
It does not. ripgrep does not use Boyer-Moore in most searches.

In particular, the advice in the OP is generally out of date. The "secret" sauce to ripgrep's speed in simple literal searches is a simple heuristic: choose the rarest byte in the needle and feed that to memchr. (The "heuristic" is that you can't actually know the optimal choice, but it turns out that a guess works pretty well most of time since most things you search have a similar frequency distribution.)

The SSSE3 optimizations come from Hyperscan, and are only applicable when searching a small number of small patterns. e.g., `Holmes|Watson|Moriarty|Adler`.

In other words, for common searches (which are short strings), it is much better to spend more time in a vectorized routine than to try to skip bytes.
So, your first link was to some antisemitic conspiratory blog (and your 'Nuland-Kagan' slip shows a bias).
And your Wikipedia links clearly showing up the Russian attempts to instigate separatism in Crimea in 90-s (interestingly they've went to crush the same Chechen separatism later).

And as for 1917 - Kharkov was _captured_ by Russians. And they've continued to annex rest of the Ukraine.
Is there such thing as robot.txt for folders that could be implemented by programs/apps? There are plenty of things that create folders of thumbnails, ui/ux sprites, etc.
I totally agree. I don't like the feeling that comes from being babysat by code that tells me how I need to do everything.

But I don't know a better way to guard against all the things I might not think of. I've seen entirely too many cases of people doing something wildly unsafe and reckless because it seemed the easiest to them at the time and their tools didn't handle things for them. Use serialized objects to communicate between systems? Why not? We have Avro schemas, those will keep us safe as we deserialize random data from the network, right?

As much as I don't like being treated like a child by a bucket of bits, I also recognize that Clojurian minimalism requires me to think of literally everything. I have to know everything that's dangerous, how it's dangerous, and how to guard against it. That feels like even more load on my brain than being babysat - and I'm a security specialist!
Probably just to lower the 'supply' on the supply/demand curve for possible things that could embarrass Disney.

The things that go viral on Twitter are not quite controlled by anyone, they're like waves of interest and outrage that build up and quell down.

For example, some utterly random, innocuous thing might, in an instant be considered 'out of bounds'. La Sorbonne's enactment of Greek tragedies with Black and White masks are now facing charges of racism, for example. It's a rhetorical stretch, but so many things are today. It just took the right combination of voices to make it 'a thing'. In one of the pamplets, an actress was wearing black makeup, apparently not part of the performance, but that imagery was the fodder for the virality and verbal arguments (i.e. 'they wear masks not makeup) has less value.

By simply removing the cut and paste, you cut down on the number of casual bloggers, viewers etc. who grab the data and jam it in a tweet or something else.

Obviously, anyone who really wants it can get it, after all it's public.

But I can see why from a PR and legal perspective they did this on purpose, it's not hard to fathom. It also might simply be the choice of the dev. And it's odd that it's a discussion point as well!
Watching my daughter struggle with some difficult course choices that she made in high school, I find it troubling how our entire grading system works.

We shouldn't be punished for choosing difficult courses, and actually learning the material, even if it is slightly behind the pace of the course itself. Unfortunately, doing so has implications for your entire future in the United States (unless you have the money to buy your way into college, of course).
It is probably to have no more of those six-wide seats across type strollers.

Okay, probably really only three, I've never seen six across actually. But when you encounter them, they take up multiple pedestrian lanes and are difficult to get around.
>Logging a lot of flight time with the actual hardware is a really bad idea, sort of like "testing in production."

We test in staging environments set to mimic production 100% (or as close as possible) all the time.

After an initial period where they're under development, un-maned aerial vehicles should obviously be tested a hell of a lot in actual end environment, with their whole actual hardware, too.
Alternate headline (for those who were confused, as I was): Disney has disabled user selection of the 'Park Rules' text on their website [link to page in question]
Lyft City Works
My understanding is that Fulcro is a frontend framework that also helps you build the communication between the browser and backend server: http://book.fulcrologic.com/#FullStack, http://book.fulcrologic.com/#_going_remote.

Of course, you can also use Fulcro to communicate with any sort of backend server, and still take advantage of Fulcro's normalized client-side database: http://book.fulcrologic.com/#Networking, http://book.fulcrologic.com/#_the_secret_sauce_normalizing_t...
I watched rawvana her videos occasionally for some recipe ideas.

My wife and I are not vegan, but vegetarian. It sounds like a bad idea to strictly follow a YouTuber without checking in with a nutriologist or doctor when you are full vegan though.

I would still watch her videos though even after this drama. She has some tasty recipes :)
You said 'was a professional Clojure developer'.

Are you not doing Clojure development anymore? If so, why?
The bigger question will be how Lyft handles the markets longer term, whether it continues to rise or faces the "Snap" effect.
So what, plausibly, do you think they might be doing?

It's LifeHacker, consider the source:

https://lifehacker.com/how-to-recycle-your-airpods-183357932...

"In a phone conversation, an Apple spokesperson confirmed that these AirPods are then distributed to recyclers who specialize in electronic waste along with instructions on how to break apart the components."
Segment (YC S11) Is Hiring Software Engineers in San Francisco
No, it was a question.

Edit: I should clarify. It was a low effort question to another low effort question. I should state that I have no experience with the API in question. I was just asking a question of the difference between the two, and the poster above me answer in another reply that the answer is that FindFirstFile is used to initialize / reset the query, where FindNextFile is use to continue the query.

To further answer the question I was replying to above, I think another function that could be paired with a hypothetical FindFile would be a method to initialize the query.

I do not know what would be a better API.
Wait, you can favorite comments on HN? How?
> There is a tendency to fixate on the bug that caused a crash to the extent that you introduce new more new bugs than you had before.

Exactly this. It can't be both required for safe flight and disabled at a moments notice during the most dangerous portion of a flight (takeoff).
Simply Thinking About Coffee Gives Your Brain a Boost, Study Suggests
Url changed from https://www.technologyreview.com/the-download/613240/watchin..., which points to this.
Yeah that is quite strange :s
Yes, that’s the tricky bit.

There should have been an election already. I think it was dishonest not to bring down the government in the recent vote of No Confidence, since it was and is blatantly obvious that absolutely nobody has confidence in Theresa May’s government. But they feared letting Labour in.

Edit to add: I would have thought some emergency compromise might work, eg a moderate Tory who backs the consensus plan as PM, maybe Corbyn as deputy, maybe Keir Starmer as Brexit secretary. Get the Brexit process on an even keel now, agree to call an election later.

That’s probably unthinkable on all sides, though. I feel like Corbyn in particular doesn’t actually care much about Brexit either way, and is much more focused on just winning an election and getting a Labour government in.
I would think the boxes have to be spec'd to contain the suspended weight of whatever is inside them anyway. I doubt they can depend on always being supported from the bottom throughout the whole delivery chain.
will do, thanks !
argh... non-paywall anywhere?
Headline is unclear: I originally thought "rules text can't be selected by Mouse" == "Mickey Mouse is not allowed to make the rules." :)
Sixel is nice (and I use it all the time), but we do have better nowadays.

iterm's image handling [1] is superior: it just encodes a modern and more efficient image format and sends it inbound to be decoded by the terminal. png was always at least equal if not more efficient than sixel at indexed colormaps. You can send jpegs for drastically more efficient true-color images.

The "OSC1337" is not unique to iterm. mlterm also supports it, and I do remember a few others as well. You can use "ranger" to have image previews on a remote server without having to jump through hoops.

[1] https://iterm2.com/documentation-images.html
Rust has finally outgrown me
A lot of Xen is built in OCaml
>Honestly, I'm not sure how to get over this one. I don't believe some sort of fine and move on is really sufficient in terms of contrition. It won't bring those people back, and it seems a bit too "cost of doing business"-like to successfully act as a deterrent to future malfeasance.

>Breaking up maybe? Clearly competition in the sector seems to have devolved into a duopoly to some degree.

You can't really break up a company like Boeing; they aren't even vertically integrated anyway. Just like a carmaker, they get their components from other companies. They don't even make their own engines (those come from Pratt & Whitney, GE, Rolls Royce, etc.) the way car companies do.

How we "get over" this is simple, though I don't see it happening in Trump's America any time soon: you prosecute Boeing executives and engineers (the PEs) for criminal negligence, and throw them in prison. The company goes under, and gets bought out by one of its competitors.

As for duopoly, that's currently the case, but China's aircraft manufacturer is working hard on getting their aircraft certified, so if that happens there will now be 3 big competitors in the market, which is generally the sign of a mature but competitive market. If Boeing gets bought out, it'd probably be 2. But I'd feel much safer with Airbus using Boeing's facilities to build Airbus-designed airplanes, which have been properly certified by European regulators.
Azure Blob Storage lifecycle management generally available
Yeah sixels look really nice. I usually use gnome-terminal which doesn't seem to support it, which is why I never really built sixel for myself in the first place. But it looks worthwhile to build support in for it.

Considering I already have a framework to support both Braille and normal ASCII art, I think it should be possible to work in sixel support with graceful fallback to Unicode and ASCII. I think the way I have it set up, only the termgraphics library would need to be changed, without needing to change the visualization logic.
The headline definitely is an important element in the success of this story.
Ironically, the bootloader is still assembly with C++. Then again, maybe that is not the interesting thing to do in OCaml.
You can also do `brew install grep --with-default-names` to avoid having to alias.
Similar discussion from yesterday: https://news.ycombinator.com/item?id=19512431 .
I understand a Martian colony as a kind of romantic dream. I understand a longish-term Martian outpost for scientific purposes. I don't get a Martian colony as a serious proposal for pretty much any reason. It's like 1000x more expensive, dangerous, and inconvenient than colonizing any number of very-inhospitable places on Earth.

To survive planetary disaster? Well 1) Mars is already worse than most imaginable post-disaster Earths would likely be, and 2) you could build a couple highly-survivable emergency bunker-habitats and pay people to live in them (in shifts, say, so there are always enough inside to ensure survival but they're not stuck in there full time) for, surely, less money than Martian colony establishment & maintenance would cost. You might still screw it up and they might not succeed if things really got that bad, but I'd bet their odds are better than any Martian colony we're likely to manage to put up in the next 100 years.
Yes because it’s always been the Democrats who’ve opposed making healthcare better.

And the Democrats who started those wars.

And the Democrats who give tax cuts to the wealthy.

And the Democrats who get indicted for corruption constantly.

The idea that the Obama administration is as left as we can get is some seriously revisionist history which disregards which party was continually blocking any attempt at progress the other party made.

The Democrats never blocked Supreme court nominees for a year, or stone walled any attempt at legislation put forth by the other party.

No Democratic Senate Majority Leader ever said “our only goal is to make this guy a one term President”. And during the Bush years there were many examples of bipartisan initiatives which went forward.

That all ended after Obama’s second year as President when Republican’s won the House and Senate and decided the only thing they would be for was being against Obama.

You’re placing the blame on both parties for the Obama administration and yet only one party is to blame for the abject lack of forward progress during that administration.

And despite that, under Obama millions and millions of American’s gained healthcare, gays got the right to marry, the United States came out of an absolutely tremendous recession, the US scaled back it’s wars in the Middle East, and the US regained some of the respect it lost under the Bush administration.

And yes, I, and the US as a whole absolutely produce tremendous amounts of culture, technology, science, and research.

No idea where you think Hollywood movies come from, or many of the advances in healthcare, or silicon valley came from.
I think this is a must read for new developers: https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost... (yes it's from 2004)