skysight-inc/HackerNews huggingface dataset:
You can keep a very comfortable degree of separation between logic and presentation with React, and there are multiple ways to do so, such as using Container Components for state-management and stateless Presentational Components for the actual appearance of your app, using Higher-Order Components, or the "Render Prop" technique that's been making rounds lately . I am working on a React SPA and I have no problem at all keeping things such as data fetching, local state and what not separate from the presentation, either in my codebase or in my head.
Only yesterday there was this discussion [1], in which the general consensus was that the safe way to do things is to put the 'smart' goal-oriented driving stuff on top of the 'dumber-but-reliable' technology to handle specific dangers. It is the latter that has produced most of the statistical evidence justifying the claim that automation makes us safer.

I am very skeptical of your claim that this is a less safe way of doing things. There is, in fact, communication between the two systems: the safety system 'says' to the driving system, "no you don't", and that should not be up for negotiation any more than it is when a human is driving. As was pointed out in the other discussion, if the driving system cannot find a way to work within the restrictions of the safety systems, it is doing it wrong.

[1] https://news.ycombinator.com/item?id=16681611
> middle code has no idea that there's this new exception and leaks resources

You misunderstand how `finally` works. The whole point is that it runs regardless of exception type. So the resulting code in the middle layer doesn’t need to know anything about the code it calls, and doesn’t leak resources, even when calling or called code changes: It’s not brittle.

> or you're wrapping pretty much all function bodies with try-catch-finally-rethrow.

No need for `catch` and rethrowing. And in the case of C# and modern Java, no need for the rest either: You only need to wrap resources that you allocate into `using` (C#) or `try` (Java; but not `try…finally`! [1]). Sure, it’s more verbose than RAII in other languages with automatic storage duration (like C++). But it effectively performs the same.

[1] https://docs.oracle.com/javase/tutorial/essential/exceptions...
The press release was live-streamed, with the unveil of the car being around this time[0]. The main points is that it's an all-electric SUV, and Waymo has the ability to order up to 20,000 of these to add to their fleet.

[0] https://www.youtube.com/watch?v=-EBcpIvPWnY&t=5m40s
Deanonymizing zcash's shielded transactions requires breaking the preimage resistance of sha256.
In contrast, every woman I've been with, with one exception, has been unable to take hormonal birth control without crippling side effects re: mood and mental health. I can't comment on what it feels like, but the side effects are emotionally taxing for male partners and are really good at killing relationships.
How to use CF to configure auto scaling for Amazon DynamoDB tables and indexes
I too instinctively run `w` whenever I log into a machine, and that instinct helped me land my current job.

One hour long component of a (now deprecated) SRE interview loop was for the candidate to SSH into a series of EC2 instances and debug issues which got progressively harder as the interview wore on.

I had wasted a substantial amount of time on the first and easiest problem by really overthinking it, and not trying the simplest of debugging techniques first. By the time I got to the final, hardest problem, I had just over 5 minutes remaining. The interviewer gave me a pass to skip it, but I was having fun, and really wanted to take a crack at it.

The final problem was to try to figure out why logging into a particular machine with SSH was slow. While I sat waiting for a prompt, I had a number of thoughts. Is a reverse DNS lookup timing out? Is there a huge i/o load on the machine? Am I going to have to wire up strace to `sshd` and log in again?

When I finally get to a shell prompt, I instinctively run `w` and it just hangs. I hit ^C, `strace` it, and discover that it's blocking on:

fcntl64(5, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) ...

I look up a bit, and discover that file descriptor 5 is /var/run/utmp. So `w` is trying to get an advisory lock on utmp and failing. Then it hits me, `sshd` is likely also trying to acquire a lock on utmp, failing, and then eventually timing out.

A little bit later, I've found and killed the the rogue program that held the lock, and SSH logins were fast again. Solving that last problem so quickly really boosted my spirits, and gave me the energy to push through the harder interviews that came later in the day.

Thanks w!
On top of wean_irdeh's comment, Ill add you might have apps running in the background that can still do work (esp networked) or just shut down cleanly. There can even be a keyboard sequence for that.
The current solution benefits drivers sufficiently to entice them to do it over a different job. I’m not sure why people feel that the current situation must be changed.
Actually the most recent is when congress lowered the price of stamps juuust as USPS had finally built up the pre-fund.

Which of course points to one of the many problems the USPS has which is that they're expected to be self sustaining but have almost no control over their business model (and yet miraculously they manage to make it work for the most part).
From

https://blogs.biomedcentral.com/on-health/2017/04/05/vasalge...

AB: Are studies being conducted that focus on the reversibility of Vasalgel? If so, does the data seem promising?

EL: Yes, preclinical studies focused on reversibility are promising, but not conclusive in larger animals. Preclinical testing of Vasalgel in a rabbit model resulted in rapid and durable efficacy of the contraceptive. Vasalgel was then flushed from the vas deferens with a sodium bicarbonate (baking soda) solution, which restored sperm flow.

However, in larger animals (baboons and dogs), reversing the contraceptive effect in a similar way has not yet been successful. Research is ongoing to clarify the issues and optimize the procedure, and additional preclinical studies will be conducted before testing reversal in humans.

---

It looks like the reversability is only theoretical as it has failed testing in larger mammals and has not been tested in humans.
I don't think so: https://trends.google.pl/trends/explore?date=all&q=%2Fm%2F02...

From that you see that interest in Java is slowly declining since 2004, release of Android didn't even move it up a bit.
The real problem with self-driving cars
Is GimpShop still actively maintained to keep up with the latest Gimp (the Gimpshot site is a little vague on these details)?

Didn't that provide a decent migration path for PhotoShop users to GIMP?
Out of curiosity, why don't you think you can delete Facebook? I have a few friends whose jobs are in new media spaces and have thrown out a couple reasons off the cuff. After talking through those scenarios though, we concluded it's entirely reasonable and practical to delete their Facebook accounts, and it wouldn't negatively impact their livelihood as much as they originally thought.
That's a good point, these markets are still in their infancy and windows of opportunities will open up. This is the upside to all this "distruption".
Actual propaganda is used to propel an agenda, ideology or belief system. None of those things are part-time considerations.
Lenin, Stalin etc. did a terrible job.

I'm open to being wrong, but I don't think anyone can do a good job.

No one has yet invented a way of distributing resources more efficiently than markets. I'm not sure if socialism can be real socialism if markets are involved, but I know there's no existing solution to feed and clothe people without them. You might argue for Ptolemaic Egypt, but they had a huge advantage with the Nile, and starvation was rampant in drier years. Every 20th Century example of trying to eliminate markets either led to mass starvation or a quick return to markets once it was clear you couldn't grow an economy without them.

Sweden, Denmark, Norway and most other big government countries socialists like to point out still rely on markets to provide the economic growth needed to pay the taxes for their social programs. They also have the advantage of strong allies and needing to spend only a small fraction of their tax revenues on defense.
This comment coupled with your original is a fine explanation.

As an adjacent point, I think the same reasoning can be applied to professional-cultural disparities in general. Such as my gradual distancing from swathes of career software developers in that I'm no longer able to construct a scenario where I wouldn't care about things like well-being, culture, why and what I'm putting out into the world.
The link you provide is only for the first three quarters of 2017 and the add up to $25.9B. The NYT article indicates Uber's 2017 losses are $4.5B. If their losses amount to 10% of gross bookings that would imply 2017 gross bookings of $45B, which implies 2017 Q4 gross bookings of ~$20B, is that correct?

Where does the author make this "math error"? I don't see it. I think the error he makes is just asserting that the "real cost" is $10. I have no idea where the author gets the notion that $10 is the real cost and Uber is charging half of it, but it doesn't appear to be backed out of the financials as you imply.

And no, it's not at all clear that Uber could breakeven by raising prices by 10%. For that to be true you would have to assume that the price increase wouldn't affect demand, an unlikely outcome in a market where Lyft is competing aggressively.

Stephen Hill's article is a joke, it's poorly reasoned and has scant supporting evidence, but I don't think he made a math error, I just think he didn't do any math at all.
Another good tool is DuckDuckGo's tracker blocker. Facebook got a lot of attention, but google, comscore, twitter, and others are doing the exact same thing.

https://techcrunch.com/2018/01/23/duckduckgo-adds-tracker-bl...
Show HN: March Madness for Disney/Pixar Movies
> There is nothing fair about taking a copyrighted work verbatim and using it for the same purpose and function as the original in a competing platform

Someone should appeal and bust their case that claims that APIs are copyrightable. And don't forget those who supported this crookedness - Microsoft.
And back then many of the people saying stuff like...

> If it didn't upset you before why would it suddenly upset you now?

...were probably putting down the people who were upset by saying they were being paranoid.

I think the fuel that's driving the intensity of this scandal is the evidence that the "paranoid" fears were broadly correct and the trust people placed in Facebook was misplaced.
"In a successful socialist state neither party elites or bureaucrats should exist."

So to paraphrase, there has never been a successful socialist state.
let's just walk right past THAT straw man and get to the meat of the issue: "Developing nation" as a slur.

The World Bank has said that "developing/developed" duality isn't fitting anymore and now breaks nations into 4 catagories: Low, Lower Middle, Upper Middle, and High income nations based on citizen income. The UN says that there's no specific metrics for a Developed vs Developing nation, and uses the terms for convenience.

There's no set specific definition of what a developing nation is, but generally it's assumed that the types of things I mentioned in my last post (higher quality of life, more money, as well as higher life expectancy, lower birth rate) are associated with Developed nations. MOST people agree these things are good, and MOST people assume that the absence of them is therefor bad.

The point of the title of the article is that deregulation has allowed a Developed nation to contain pockets that look more like a less developed country with less regulation, more exploitative labor, lower overall income, and little regard for the health of its citizens. A quick way to say that would be that it looks more like a developing nation.
You don't have to measure responsiveness. You could create a tip sheet with some best practices to promote better engagement and, I guess, link to it in every email.
Mark was invited and he declined. What's really wrong with that?

His wisdom and personal belief (including legal and lawyer suggestions) tells him that coming over to the invitation would not do him (nor his company) any good.

And, given with all the information he has supposedly with people, he may already have some knowledge of the personality of the MPs who are going to grill him that he may think otherwise that appearing before them would tantamount into a gong show.
Yep - I really don't understand the failure of sympathy towards cab drivers themselves.

Was the medallion system bad? Yes. Creating good jobs by enforcing random scarcity in a handful of markets is a ridiculous system.

But the people who bought these medallions didn't implement that system - they wanted to provide a service, and likely would have driven outside the medallion system if they could. Now they can, but they're broke because they happened to be in business while the government stopped screwing up their industry. They're victims of stupid regulation, not perpetrators.
Unique color selector if you can't think of colors to use
There's probably 2-3% of the population actively trying to conceive at any given time, and at least another 2-3% for whom sex is but a distant dream.
Doubt it if they still want the JVM. Sure Java the language is gone, but Kotlin on the JVM relies on the very non-Oracle-approved Java stdlib implementations that are at the root of this suit. If you want to argue Kotlin Native + NDK, sure, but it is very young (though I like it and have used it myself).
By the early years of Google applets were already pretty much dead:

https://www.javaworld.com/article/2076251/core-java/applets-...

(Note that the article is from 2000.)

Remember that Google was already doing AJAX in Gmail in 2004, years before V8.
I am still on Sierra and a few weeks ago found a fix for a problem that Apple introduced apparently in "good faith". I had been wondering for a while why my mid-2015 maxed out Macbook Pro Retina didn't perform well when doing programming in XCode etc. So finally on a weekend I decided to find out the problem, and saw that "kerneltask" is using 500% CPU ...

Apparently, Apple has programmed kerneltask to grab available CPU resources when it determines that the CPU might overheat due to other tasks stressing the CPU too much. In my case though, there was no danger of overheating (running somewhere between 55 and 60 degrees), but kerneltask just reacted to my 4K monitor being plugged in in addition to me using the internal laptop retina display. As soon as I would unplug the monitor, kerneltask would release CPU resources and go back to < 10% !!

So basically, shitty programming on Apple's part had rendered my laptop unusable for quite a while.

Luckily, I found this article which worked in my case also: https://www.davidschlachter.com/misc/kernel_task

My laptop is now a joy to use again, but I can't believe that something like this remains unfixed for so long. I've seen many people on message boards running High Sierra with the same problem, so this just doesn't seem to get fixed.
Ah yes, but the article paints a picture of him actively not doing so because he's trying to help exactly those who are caught in this 'raising nationalism'.

More than once I've caught myself leaning into or at least not challenging views that I strongly disagree with when talking to someone espousing them, because I felt it would not really be helpful/productive. I can see Peterson doing the same, and avoiding outright condemning the 'alt-right' in the way you desire because he might feel it would not lead to a desirable outcome.

I'm uncomfortable giving him this leeway, but I have to admit that I respect Scott enough to not write what he did without a decent degree of thought.

For myself, at least, I can't tell if this is the right approach. But at the very least I can say it's not as simple as always expressing my 'true' beliefs. That would be lazy.
>But that thinking was based on the assumption that we would always be holding the big end of the globalization stick.

"We" being owners, not workers: https://hbr.org/resources/images/article_assets/2016/05/W160...

If fossil fuel was priced accurately (with regard to its harm) this might have never been an issue.
>Many ecosystems haven't gotten past the "single dependency file and lock file" system where an entire project has to use a single version of each dependency.

Perhaps they shouldn't go past that.
Vasagel has had no reversibility studies so they cannot make a firm claim that it is reversible. It would take many additional years to prove that. They're targeting demonstrating that it is safe first, releasing to market, then studying reversibility at a later date.
Non-Disclosures, Non-Competes, No Way?
Things that seem interesting to me:

- No longer have to do funny hacks getting 64bit gcc to produce 32bit .o files to play with m32/l32 version

- The press release suggests per-core-minute pricing now available.
Should you sign non-compete or non-disclosure agreements? We discuss everything from saying "heck, no" to turning them into an initial business agreement test.
71% of the world's population lives on less than $10/day. You won't be getting a pension if you happen to be born black in South Africa in 1950. The world is still experiencing constant improvement. Every day across the world some 130k people achieve basic food security for the first time in their lives. The UN estimates extreme poverty will be gone across the globe by 2030. Not to mention improvements in healthcare, human rights, etc.
OneSignal is looking for a Frontend Developer
The part where it goes off the rails is limiting the number of cars. This is why taxi's are so expensive, it's not a truly fair market.

Also, I strongly disagree with the author's sentiment that more people using uber vs public transit is bad. Shortening people's trip time sometimes as much as 1 1/2 hours to 20 min is a huge benefit. Transit could be better, but it won't be if it doesn't have to compete with a genuinely good experience.

Additionally, consider the number of people who have not driven drunk because uber is cheap enough that they are willing to do it. Transit doesn't run as much at night, and people are not willing to either wait the 2h to take night transit if it exists, or pay $50+ a ride for a taxi. We can argue all night about whether or not people should do these things rather than drive drunk, but the cold hard reality is that services like uber have actually reduced the number of drunk drivers by making efficient transport affordable.
>or giving up full agency over your life and freedom to care for the surprise child you will be shackled to for the next 18 years?

Has no one else done a write up on this besides Vice that we can read instead? I guess it's interesting hearing the perspective of someone who is barely old enough to have sex, but they wouldn't be my go-to source for journalism on the topic.
Logic and presentation are not mixed. The logic is inside the Class methods and the presentation is inside the Class render(). You can also move the logic outside of the Class component (that's one reason to use Redux).

And you can also create stateless components without any logic, eg.:

const Header = () => <h1>Hello World</h1>
Without FDA approval, they are not allowed to market it as treating almost anything medical.
> It's about deterrence. Make the next Schlitterbanh's owners think thrice about safety and engineering.

If the current owners of the water park had been afraid of jail, they would not have built such a dangerous contraption.

If jail is supposed to be about deterrence, this gives a (Darwinian) advantage to people who do not care about getting into jail. Is this what you desire?
Dupe https://news.ycombinator.com/item?id=16685270

Even thought I wonder why noone commented yet on it...
because of some pretty blatant Islamophobia, nothing came of it

The Persians and Lysistrata were written and first performed during mortal conflicts with the Persian Empire and the city-state of Sparta, respectively and do not vilify the enemy. The Athenians were more advanced than the citizens of Colorado, it must be said.
What do you do with the futuristic tech that allows one to read all of the possible data written to a given hard drive?

Your point is highly hypothetical.
The problem I have with it is it appears to be generally used to describe a wide group of people that don't really exist, at least not in the numbers that "SJW-haters" claim they do.

Rarely do I see people sincerely espousing what self proclaimed anti-SJWs claim they are. Rarer so do I see it in droves, as a generally promoted claim versus one person or a small group of people.
This sounds like something the NHS (or similar) could fund. $5-10m is not a lot of money if this actually works - they'd probably save that in reduced unwanted pregnancies.
Doesn't lowering testosterone reduce the male sex drive?
Well I guess that makes it only a more effective birth control agent.
It's not a contract, but there are other mechanism in the law to give effect to this intuition: https://en.wikipedia.org/wiki/Estoppel
No, it's literally your problem, if there are things happening with the data that are causing you problems.
> Even if communication between the two were possible, I'd still imagine that just having a single system operating the care would be much more desirable.

If I had a Volvo XC90, I would want to operate it with two systems: the collision avoidance features plus an advanced system of muscles, eyeballs and brain. The whole point of collision avoidance is to operate in conjunction with a driver. Self-driving should be more or less just another driver.
I've gotta be honest, I feel a bit clickbaited. This piece just provides the standard resolutions to a misbehaving company with a few specifics about Uber but doesn't mull too long on it's title. Why is it that we even expect a leadership change to substantially alter a company? We've created a system where there is no real accountability for the direction of a company, even it's leaders are bound to shareholders[1] and it's shareholders are dispersed with their demands either hidden from the public eye in the case of VC/PE or mostly abdicated in the case of the public. In our system a corporation with shareholders is just an automaton marching towards profit and nothing else, leadership won't make much of a difference.

[1] they aren't really but the popular idea provides cover for them to maximize their own gains via the portion of their pay that is comprised of stock
I specifically mean that Arizona chose to allow self-driving cars on their roads with little regulation and that lack of regulation contributed to the death of a pedestrian.
> It would be enough for me if it declined into the confused and nonelastic state Microsoft was in around the times of Vista. That was enough for Android to appear and take over, forcing a paradigm shift.

What? Android and Vista are on two different spaces. You are comparing mobileOS to a desktop OS?

Android didn't compete with microsoft. It competed with apple.
A lot of the problem could be solved with public provision in such a way as to force the price down. A "national housing service" charging break-even rents would make it impossible for private landlords to capture UBI with a raised rent, for example.
Thanks for the screenshot. That's a pretty clear and overt prompt.

...And one I would never agree to, yet my address book is in my Facebook data export. I wonder what previous iterations of that prompt looked like, especially around the time of Android 4.0, which must have been about when I installed the app. Does anyone know if there are old screenshots, or historic versions of the APK available anywhere to check?