skysight-inc/HackerNews huggingface dataset:
I posted this because this was basically me about six months ago. Modern JavaScript is almost as nice, for me, as peak Ruby is, and the smart, functionally-oriented decisions in React/Preact beat all hollow everything that used to be the case (which was when TripAdvisor was using MooTools...in 2012...).
I don't spend a lot of time on either site (HN or FB), and zero on Reddit. However, HN is apparently more engaging, since I make more comments.

My FB stream mostly consists of inane things that other people have clicked "like" on, and if FB thinks those are the things that interest me the most, they are failing big time.
Warriors Who Once Feared Elephants Now Protect Them
Also see: http://dailycaller.com/2017/08/19/congress-considering-valid...

I've been expecting digital currencies to be co-opted (or at least, try to be co-opted) by centralized authorities for a while now. Looks like we're seeing the first genuine attempt.
9 Eclipses, 4 Continents, Never Tired of the Spectacle
Web Gui Lets You Learn About Subtractive Synthesis
PG and others have posted here several times saying they definitely do this. (And of course, what incubator or VC wouldn't.)
> Uber passengers were paying only 41% of the actual cost of their trips
https://www.nakedcapitalism.com/2016/11/can-uber-ever-delive...
> There are major state update issues and the team had opted to assign IDs and data to the DOM elements and use those to look up state in the redux store before modifying it.

This sounds awful and seems like an anti-pattern. I don't think this anything to do with React (other than perhapps that React gives you the freedom to do things wrong). Your devs don't have a proper understanding how React (or Vue) works. Define state model, define view, modify/interact with state, let React modify view. That way you'll never need dirty hacks like fetching state from Redux by using the DOM ID.
Anger, Anxiety, Resentment, Stress, and Basic Humanity
Looking at the answers here the common point is, expectedly, overwork. It is obvious why this causes burn out but there are a couple of reasons why you should not overwork that are not so obvious.

To handle stress and not burn out, you need:

1) A sense of self. You need to not just understand but to feel that no matter what happens at the office, and even if things go wrong, you'll be OK. You do this by having a life outside of work - friends and a social life not connected to your workplace or even industry, hobbies or side projects that give you confidence outside of your professional life, and people who care about you for non-professional reasons.

2) To compartmentalize. Work is work, and just part of your life. While it cannot be completely so, what happens at work shouldn't affect your outside life in too large a degree. Success at work should bring you some kind of satisfaction, and failure should make you reconsider your choices, but not to a too large extent. You can only compartmentalize if you have the things in 1); you need more than 1 thing that is important to you in your life.

If you overwork, you can't have 1) because you simple don't have the time or energy to cultivate it; you can't compartmentalize and leave work at the office, and work pressure will cause negative stress in all aspects of your life, resulting in burn out.

Even in high-level positions you should aim to stick to a 9-5 schedule as much as possible because otherwise you won't have the mental energy to be effective.
Not yet as far as I know.
I suppose the quality of what you see in FB depends greatly on what sort of people you are connected to and how you relate to them. Perhaps I'd have found those discussions interesting too, but they aren't part of the open web, and my FB experience is completely different.

On the other hand, what you see in HN is what everybody else sees, it's not hidden and you can selectively read and comment about what you find interesting.
I know right

Strong opinions, loosely held
Well put. I hope the new CEO reads this.
As an interviewer, I don't ask questions like these.

By a very large margin, for most of the time you are actively developing as a full time employee at a large tech company, you're working on integrating systems, either through a build language or extending your software to use an already existing API.

What are the most useful skills for these tasks? Being able to communicate effectively, feeling comfortable asking questions, feeling comfortable admitting when you don't understand something, and being kind and friendly with those you interact with.

Therefore, when interviewing new hires, I do not ask many technical questions beyond a general competency question.
It’s their backend that’s just slow.

Thankfully, iOS 11 AppStore is much faster for everything.
He started with the conclusion, then went and tried to look for reasons to support it. Problem is he came up short.
How did Al Gore's pals get a billion federal dollars to fund their dumb Solyndra idea? This kind of stuff is as old as the federal government itself.
That usually only works well for really small components. Once you're serious about your web app, you'll end up using the whole developmnet Webpack environment in short time anyway.
I know your point wasn't strictly pertaining to boilerplate, but for an apples-to-apples comparison, the most succinct way to change a member of an array immutably would be something like:

arr = arr.map((e,i) => i === 3 ? 'new content' : e)

That said, idiomatic or not, functional patterns in JS are a boon for debugging (especially with Redux devtools & time travel). To your example, even if mutability is more succinct, using map() lets me chain all sorts of methods together without storing intermediate values in vars.

Between the spread operator (...), immutable array methods (slice, reduce, map, filter, and even sort if preceded by .slice()), immutability in native JS ain't half bad.
create-react-app and vue-cli are both good tools.
It's a mystery. They do have a nice app for hailing their taxis, but so does my local "legacy" taxi company.

Similarly: Why is Blue Apron a tech company? Their business model is putting food in a box, and then shipping it to people. That's great, but my local grocery chain does that too?

And then there's Juicero, who's only claim to being a tech company seems to be they printed QR codes on the packaging, despite the QR codes being entirely unnecessary to their core business. If Kraft puts a QR code on a box of mac and cheese so you can scan it and get a cooking instruction video on your phone, do they become a tech company too?

It's just branding.
LOL, which is why he's spent the last 60 years of his career in Omaha, Nebraska. And doesn't "trade" anything.

Do you even know what insider trading is, and anything about the laws surrounding it?
This is exactly it. Thanks for laying it out clearly.
Yeah thanks Microsoft. They apparently never thought of someone playing mp3's from a network drive!! It drove me nuts for months, until I figured out exactly what you just posted.
(Disclaimer: I work on Flutter.) As skybrian says, accessibility support is work-in-progress. But if you try an existing Flutter app (e.g. the official Hamilton App) you'll note that most aspects of the app are accessible to VoiceOver, just not quite everything yet. We're actively working on improving our iOS and Android accessibility integration.
Tech news from around the web with no toxic comments
If he still is shorting the credits he's at risk of being forced to cover at a massive cost. He could get short squeezed really hard, and which is why other wall street players are shorting his refineries stock.
Ask HN: What is the best specification you ever read?
A few days ago there was a discussion of John Carmack's "Quake C", and how it got people started programming.

I looked it up, and the specification/reference for it was incredibly readable.

So I'm curious: what were the best specifications (of the above type) that you've ever read - that really got you started with a new technology, or got it into your head very quickly, or simply were good for any other reason? What stands out as a technology or language standard or specification?
I use both iOS and Android on a daily basis. In my experience the Play store is consistently faster.

I'm not surprised, Google is better at these kind of things.
Reference [21] is written by the same author and is a much more detailed thesis about the theory of "Reconciling Perspectives".

I haven't read all of it, but it's available on the University of British Columbia website:

https://open.library.ubc.ca/cIRcle/collections/ubctheses/24/...
localbitcoins was a thing long before you could use exchanges in lots of countries.
I think we already select for those people. Remember, F=M*V^2 just from V^2 100 vs 102 mph = 4.04% more force. Except if your adding tissue the Mass now increases because the arm has more weight on it.

IMO, a more likely mutation is smaller bones in the arm as they are not really needed. However, genetic changes or say a missing pinky finger are unlikely to show up as the number of pitchers with a real shot at the top is a small subset of humanity. Further, the ball is not going to get lighter so again heavy diminishing returns.
Maybe the people around you just aren't as interesting as the people who wrote the things you are reading.
I have a sneaking suspicion that the overall exercise in society has dipped or at best stayed level (recent research indicates dipped afaik)

That is the nice and easily measurable 17million racers in marathons are most likely office workers who train in off hours as opposed to farmers walking hundreds of miles across fields or builders carrying bricks.

Our work has become so much less demanding that taking up racketball does not compensate and marathons barely.
Additionally, there's Elm which compiles to JS and its most memorable claim to fame is that it's a JS framework where "runtime errors are always a compiler bug".
The best game for mobiles and tabs
Hmmmmm.

Either that specific test (I didn't make it, to clarify) or Chromium has a bug.

Depending on how I fiddle with the browser, the test either takes 134 seconds or 6 (!!!) seconds.

Of course when I ran the test for the first time I did it a few times. I think the repeated tests may have triggered these bugs.

If I go to the test page, click the (i) to the left of the domain, hit Cookies, select the domain (the root of the tree listview) and Remove (to remove the IDB, WebSQL and localStorage bits the page sets up) and then run the test, I consistently get 6 seconds.

My suspicion is that, the page is creating 1000 items in localStorage, THEN adding my 10000 on top of that. That would explain the crazy delays.

However, this does not explain why, when I visited the page for the first time in several months, it completed in 6 seconds without any tinkering required.

Note that the page re-fills localStorage on each load - clearing it after the page has loaded is key.
Great point! This comment provided more incite that the whole of the article.
Great article, I love Carl Icahn stories. He's an unrepentant SOB, and massively OCD. He's a smart guy who is right a lot, usually thinks clearly about the long term, and that makes this story so compelling he's put his own nuts in a vise over such a trivial benefit, while relying on an idiot "friend". I mean Icahn should not be this dumb, ever.

Great quotes in the article as well.

"But, in reality, many New York financiers considered him a buffoon. In 2015, Lloyd Blankfein, the C.E.O. of Goldman Sachs, greeted the suggestion that Trump might run for President by remarking that the notion of the former star of “The Apprentice” having his “finger on the button blows my mind.”

"In 2010, Trump again found himself in trouble in Atlantic City. But this time Icahn was his antagonist. Along with a Texas banker, Icahn was trying to gain control of three Trump casinos. When a lawyer asked, during a deposition, whether Icahn intended to rebrand the casinos, he said that a consultant had deemed the Trump name a “disadvantage.” In an interview, Trump shot back, “Everybody wants the brand, including Carl. It’s the hottest brand in the country.” But in Icahn’s opinion the only real downside to shedding the Trump name was the expense that would be associated with changing all the signage"

"In court papers, Icahn’s lawyers suggested that Trump’s name was no longer “synonymous with business acumen, high quality, and style.” Icahn told the Wall Street Journal, “I like Donald personally, but frankly I’m a little curious about the big deal about the name.” If the Trump brand carried such cachet, he asked, why did Trump properties keep going bankrupt?"
Big Data Analytics Is a Survival Tool for Many Organizations
> without the genetic modifications

I wouldn't be so sure now that we identified bolt as better "feature"
9 Horrible Success Myths You Need to Stop Believing Right Now
I would not expected anything less.
Insider trading is an agency problem. You're in trouble if you have a fiduciary duty to someone else (either overtly or implied, directly or indirectly) and you take advantage of insider information to trade against their interests.

Using information only you have to trade in the market is not "insider trading" by itself; in fact, it's the only way the markets can actually function!
My guess is that it's "cool" to be a tech company. It gives an excuse to not be profitable. Get wider range of talent.

My current and my previous company is a traditional business, both more than 20 years old. They sell a product or service that has existed for decades. But damn they both tried to say we are a startup, we are a tech company, etc etc.
Why Action Matters
I love the Unicode documentation, such as UAX#15 http://unicode.org/reports/tr15/
Even less lucky: coding in vanilla JavaScript. In the days before Definitely Typed, I still got a lot of mileage out of types in my code alone. It felt immensely more apt then using JSDoc to document types everywhere.

In my experience, even if you don't have types for a third-party library, you can get away with adding types for the interfaces you care about.
Where do people get time to write posts of that length?
I make $10,000+ a month freelancing. This is how I do it
Real-Time Noise Filtering for Light Simulations – Two Minute Papers
Is there any sort of free open source internet search project? Similar to OpenStreetMap for open map data. Searching hasn't found any.
Frrole: Predictive analytics and deep consumer insights for marketers
reminds me of the whole Bayesian perspective of ML
"It's an inevitable future"?

I'm assuming you mean it's something that will happen within the next 50 years?

I just don't get how this isn't a super-hard social/political issue that we haven't even begun to address as a society. Maybe spending significant resources on this now, is not optimal.
If we're comparing platforms, Xcode (Apple's IDE for iOS/macOS apps) runs pngcrush on all PNG assets by default.
Also, the amount of open source software libraries for search is disappointing.

Somewhat strange, because searching is one of the pillars of CS.
closecallsports.com. While the site is heavy on umpire ejections there are many, highly-detailed discussions about interesting calls. Here's one about what is and isn't batter-runner interference http://www.closecallsports.com/2017/07/case-play-2017-8-batt...
It is easy to create a crypto currency that is not vulnerable to sybil attacks; define a central authority. The source of the sybil weekness is not being a crypto-currency, but rather being a peer to peer system.
> It is usually better for a program to crash than for it to continue having corrupted its data

And it's even better to no let this program get corrupted data in the first place, which languages with a weak type system (such as Go) allow to happen whenever you use `interface{}`.
FLAC to MP3 Mac 2.0 Converts FLAC Audio Files to MP3 and Other Formats on Mac
Great post, and I totally agree on having UBI as one of the potential solution. What’s your vector of attack? Does it mean that you’d need to be involved in political activism or are you considering building tech which would make UBI possible?

I personally think that with the current rate of automation, jobs would be eventually elemntated pretty soon and we need a viable solution, besides creating more meaningless jobs.
> We find a similar story in the NBA with Shaquille O’Neal. O’Neal was the first 7-footer in the league who retained the power and agility of a much smaller man. Neither a beanpole nor a plodding hulk, he would have been an athletic 200-pounder if scaled down to 6 feet in height.

That's not really true. Wilt Chamberlain was taller than Shaq, was a highly competitive track and field athlete in high school and college, was often the fastest player on his NBA team, had the strength to pick up or throw around other NBA players sometimes with just one hand, and had an incredible vertical leap as well. And, unlike Shaq, he did all this playing every single minute of every single game.

Like Shaq, however, Wilt Chamberlain's dominance led to rule changes, including widening the key.

Shaquille O'Neal was undoubtedly more powerful than any other center of his era, and almost any center of all time with the possible exception of Chamberlain. He was also relatively lean early in his career, but especially after he went to the Lakers, he increased his strength and body mass at the expense of his speed and agility.
Don't bother, this poster is just trolling and moving the goal posts is one method to do so. You could bring up how spirited and competitive the World Baseball Classic was. How it featured teams from all over the world and was watched and understood by fans all over the world.

Or how there are multiple professional leagues on multiple continents. Each with their own followings and eccentricities.

You could also point out that baseball is in fact back in the Olympics. Precisely because it now has an international following.

But none of that matters. Because this poster is in a race to prove how they are more euro-centric than Americans are USA-centric.
That’s not quite the case, it’s insider trading if you’re using non public material information no matter what account it benefits.

https://www.sec.gov/fast-answers/answersinsiderhtm.html

> The SEC adopted new Rules 10b5-1 and 10b5-2 to resolve two insider trading issues where the courts have disagreed. Rule 10b5-1 provides that a person trades on the basis of material nonpublic information if a trader is "aware" of the material nonpublic information when making the purchase or sale.
I don't know what to make of that analogy, but why not stick to the historical example I gave, Bell Labs has invented a good deal of things, as has the military (which I guess can be thought of as a utility of sorts) and the telecommunications sector.

For fundamental and 'deep' research the public sector is doing a pretty good job. I'm skeptical about selling every chat app and toy as "innovation".
You have it - if a stack address can be leaked, and you can follow the control flow to figure out the difference between the address you leaked and the address you're going to be dumping your ROP chain into, then you can just xor the gadget address with the stack address, and then do the math to xor any down-chain gadgets with the calculated stack address if the gadgets you want to use happen to have this xor instruction injected into them.

But you don't always have stack address leaks. Presently, in order to ROP you need (a) a leaked address to the space where your gadgets live and (b) the ability to write your ROP chain somewhere where the program will return into it. With this scheme, you now also need (c) the exact address where you are writing your ROP chain.

Not all info leak vulnerabilities leak arbitrary memory of the attacker's choosing. If they did, stack canaries would be pretty useless. So for those cases where a stack address leak is unavailable, this raises the bar against ROP.
a lot of times, new idea is just merger of two
Some people are simply born with the name for the occasion. See Andrew Bird
I don't agree with your statement about Buffett. I am curious about one thing though. Buffett prefers to buy businesses during a recession when the books aren't looking so hot and Berkshire Hathaway can get a good deal. What sort of insider information could be useful in that scenario?
I was mostly addressing the moral question ("what is the harm..."). And also equivocating all the way down the line, if you didn't notice.

A federal law that results in some states allowing the possession and sale but not the production of certain goods sounds strange to me, do you have any examples?
According to the actual text of the rules, both are particular to preexisting agency relationships (really, to insiders of public companies).

Are you just pointing out that the SEC will come after you even if you're not trading against the interests of your shareholders/clients/whatever?
Tommy John surgery isn't an elective performance-enhancing surgery--it's a treatment for a ligament injury.

One surgical procedure that is performance-enhancing, and never gets cracked down on, is LASIK: http://www.slate.com/articles/health_and_science/human_natur...
Good. I'm glad MIT finally fired him.
Anecdata: Office 365 will put you on an APAC CDN instead of an AU CDN if you use Google Public DNS from Australia, but not so if you use local ISP DNS (like, say, Telstra's).
I believe this reflects more on you than the platforms. The phrase "Great minds discuss ideas; average minds discuss events; small minds discuss people" seems applicable to HN (ideas), Reddit (events), and Facebook (people).

That sounds a little arrogant, but is my general experience. I see this in the submissions and comments where HN demands thought out posts. Jokes or comments that do not contribute are rarely at the top and often removed, while the opposite is true of jokes on Reddit (in general)
> It does to convert from Bitcoin to Fiat currency.

Why do that if everyone accepts bitcoin?

And in any case, no you don't. Not as long as cash exists.
Yes, it is the opposite.. which is my point.
That analysis is speculative at best. It ignores all of the costs that aren't part of providing Uber ride-sharing, including a large number of side businesses, and it's massive investment in international growth. The financials simply don't provide detail to break down the actual costs of ride-sharing when it's mixed in with so many incidental operations and costs.
and that is?
Still a company like Soundcloud had 420 employees before layoffs.
Spotify: more than 1600
Watching how the big tech operates is a bit like reading 1984.

"Diversity"

Age discrimination.

"Net Neutrality"

Bans sites/apps/books/content for arbitrary or undisclosed reasons.

"Labor shortage"

Replaces current staff with H1-Bs.

War is Peace.
Tonal: A functional music theory library for JavaScript