skysight-inc/HackerNews huggingface dataset:
The desire to “stay close to vanilla” is truly inexplicable. Browser JS APIs are unpleasant and irregular to say the least. The DOM is an object model that was designed for markup documents and bluntly shoehorned to accommodate applications. The only
good thing about vanilla JS is that you don’t have to learn anything. I honestly can’t help but think that people who enjoy vanilla JS/web dev are either truly gifted, ignorant, or have low aspirtions. The average person like me cannot succeed with vanilla JS. React is popular because it democratized the possibility of success.
Same here! I've never trusted it at all.
Life is short risk the embarrassment.
I respectfully disagree about iOS being mainly airtight. The biggest problem is probably that new iOS updates frequently destroy battery life. Also there have been bizarre problems with the spell checker. But I do agree that macOS is worse.
2018 will be an interesting year for decentralized exchanges and atomic swaps.
I would rather pay 30 dollars for ios 10
I'm afraid you don't really understand licenses. A license like BSD gives you the rights to distribute the software subject to certain provisions. It does not give you the right to change the license. I can't really spend any more time on this but I'm sure people around you can point you in the right direction.
How long ago did you updated your kit from Amazon? I did days of research and did not come up with any seller with genuine quality batteries. Since two mildly exploded and one bloated to triple the size destroying the phone (mostly the case), I would be careful putting Amazon $25 batteries kit into expensive phone.
It is progress, and it is very impressive but the title is a bit misleading.

I think there is still a gap between what is being demonstrated to fully "play piano again", in the context of playing piano professionally as a musician.

For composition it can be still very valuable.
I never understood this behavior. Opera presto had a dedicated "fill with saved credentials and submit" button in the toolbar (or ctrl-enter). Problem avoided. Autofill never made the overall process faster. On the contrary, if I want to use different credentials I have to manually clear the form first.
People who constantly re-charge their batteries (more charging cycles) are more likely to have the problem.
Sounds like a 2017 exclusive problem.
Use of shared accounts eliminates individual accountability if humans are using them.

Unless you have an system with its own auth and audit capability connecting as root, shared accountability is bad. People do dumb shit, including illegal shit.
Won't work in Europe without a lot of friction in the UX.
Was nice to read. Would love to read more of this "After sinking 10-20k hours into a single MMO and accomplishing a lot of unbelievable things within the confines of its gargantuan ruleset"
The Winkofloss brothers stores their codes right to prevent these type of kidnappings. They distributed the keys across states and bank vaults.
The attacker can still do things like

- attach to an existing screen session that has an existing process under sudo inside it

- edit .bashrc to alias sudo to something that records the password, then come back later

- spawn a background process that waits for the user to run sudo, then opens the pty and uses TIOCSTI to type commands at it

Also, if the attacker actually has control over the sysadmin's local machine, they can do a lot more damage, like any of the above locally, or

- send an email from the admin's account to the team saying "Hi, I'm trying to run this command but I left my RSA token at home, can anyone help?"

- add a browser extension that rewrites all <pre> tags to include a https://thejh.net/misc/website-terminal-copy-paste -style attack

- commit to code or configuration-management repos adding a back door and trigger a deployment

None of these are technically difficult attacks. Requiring a separate sudo password might slow down a script kiddie, but that's about it.
That's an interesting point. Are there any examples of "alternatives ways of controlling the behavior of their customers spending" which do not result in the customer feeling motivated to withdraw from the relationship?
That page claims to be docs for OpenSSL. Is that incorrect? If it actually is docs for OpenSSL and not for LibreSSL, where's the LibreSSL-specific docs gbrown_ was talking about?
Sure, but Apple continued to sell the 5s until 2016.
Where have you seen iPhones "billed as … long-lasting"? I'm tuned into the Apple ecosystem and I've seen "powerful", "magical", and water-resistant, but I can't recall ever seeing the devices advertised as either long-lasting, or affordable.
Shameless pedant kneejerk: 'inline' has semantics in additional to the optimization-hint. e.g. inlined functions won't trigger multiple-definition link-errors, even if they're left as ordinary functions in the executable.
Drum is irrationally invested in the lead-crime hypothesis. There's a strain of white, technocratic US liberal with a creepy investment in the idea that programs like urban renewal (bulldoze minority neighborhoods and stuff the residents in miserable housing projects) didn't fail, but were failed by those minorites. Back in the day, they were the ones who would mutter about generic differences in intelligence and The Bell Curve not getting a fair hearing when they thought the audience was sympathetic.
How many people actually program software for the Mac? Not develop on the Mac but program for the Mac? It’s my experience that those who program on the Mac versus FOR the Mac have different opinions on the quality of the OS :(

I know from experience that we deal with a ton of Mac specific issues that are annoying and frustrating and are due to either low quality or they just won’t fix cause it will be obsolete soon. So many items.

I’m OS agnostic but I will say that in terms of OS specific issues we’ve had to deal with many more Mac spaecifc issues then Windows specific issues. All kinds of random stuff just not working that should be. I can’t speak for Linux distros cause we don’t support Linux directly, but in terms of OS specific issues we’ve had to implement many a workaround to Mac specific OS bugs. Like things just not working. In some cases Apple stated thue had no intentions on fixing it. Not esoteric bugs but big ones that required big workarounds.

Anyways I suspect the results would be the same her between people who develop on a Mac vs those that develop FOR the Mac :(
What to Look for in an ICO? Covered In-Depth
3.3 years on the iPhone 6 charging it once a day is 1000 cycles, well above 500..
You mean like this? https://www.youtube.com/watch?v=8bj_-9t89Bk#t=04m12s
Funny, I got where I am today by speaking in the manner I was being spoken to in interviews. They seem corporate - I speak corporate. They seem informal - I speak real. It works for me.
WAAAY too lenient.

This is typical Apple bullshit. Whether it's nefarious or not, it's certainly consistent with their mania for hiding critical information from the user. They've implemented logic to detect a compromised battery... THEN THEY DON'T ALERT THE USER. There's no excuse for it.

Instead, they implement an overly complicated workaround that doesn't actually fix the problem. But... what is the real problem here? Apple may be lying about the rationale in the first place.

They claim they're trying to prevent random shutdowns, but those shutdowns were happening on relatively new phones too. The fact is that they probably never figured out what was causing the shutdowns, so they're throttling performance as a workaround in situations that seem to be correlated with them.

Another embarrassment for Apple is that they're contributing to this problem with their idiotic campaign of ever-smaller battery volume. The "thinness" excuse is long-played-out and just insulting at this point; not to mention that the iPhone is an ergonomic failure for being TOO thin anyway.

Maybe the problem is a defective thermal sensor. Search for "iMac randomly sleeps" or shuts down; Apple is telling people that this is a defective thermal sensor on the logic board and charging $600 to fix three-year-old top-of-the-line computers that are now useless.

It's time for everyone to face the fact that Apple is now peddling schlocky merchandise. Glued-together computers with soldered-in RAM, asinine gimmicks like the "touch bar," music-centric phones with no headphone jacks...

What does a company have to do to drive customers away? Apple seems to be exploring as many options as they can.
Battery performance is just one of the ways your phone becomes useless. Apple is notorious for pushing iOS updates that basically make a phone useless.

Apple has been trying to trick me into upgrading to iOS 11 which will make my phone useless junk.
Apple apologizes for iPhone slowdown drama, will offer $29 battery replacements
Honestly, I just pay the money for the trackpad. I've never found a laptop from anyone else that had a usable trackpad. I think the differences between OSes these days are almost entirely superficial, and CPUs, disks, and RAM speeds are all firmly in the "more than good enough" category. The only things that matter are the amount of RAM, the display, battery life, and the trackpad. You can get 32 or 64G of RAM for anything, and higher-end machines mostly all have nice screens and similar battery life. But nobody else seems to know how to make a decent trackpad.
Being 5 miles from Windsor castle and also from Eton college might have something to do with it. Heathrow is only 15 miles away on motorway.
Bray has about 300 millionaires and Windsor around 900 [1] (few other villages from that list are also just short drive away).

[1] http://www.telegraph.co.uk/finance/economics/10054043/Top-te...
With all the hype around Bitcoin, cryptocurrencies and Blockchain, I thought it would be a good link to share.
I think the question is:

"Hey you're battery is going bad. Do you want to [keep the performance] or [shutdown the phone]?"
You have no idea if coal, gas, or nuclear is used. You just made a guess that they use more coal?

According to Wikipedia there are two gas fired plants in Shenzhen: https://en.wikipedia.org/wiki/List_of_major_power_stations_i...
The desire to “stay close to vanilla” is because it's fast.

There are many great things about React. Like its ability to scale.

But for a small application -- Zam + VanillaJS is the better route.
YC-backed companies get precisely two perks on HN: https://news.ycombinator.com/jobs and https://news.ycombinator.com/launches.
> It’s also a waste of human labor to throw away devices when they could still be made useful with some simple repairs.

Are you sure? Assembly line production is highly efficient, that's why warranty service usually means "throw way the old one into the refurbish or recycle pile and give you a new one", not "fix your old one"
I'm not sure this would work. The pixels of the sensor are capturing a whole square of incoming light, not just at a single point. Moving the camera 1/3 of a pixel over would just cause 1/3 of the light to bleed over to the next pixel, but it wouldn't increase the achieved resolution.

Oh, wait, maybe this could work. There might be a neat way to take the old and new values of new values and calculate what the in-between area's color must have been, based on how much the bigger blocks changed with a small movement? Either way, you'd need to be pretty far from the subject, but it might work for a landscape?
https://www.citylab.com/environment/2015/06/where-electric-v...
I'm with you. The iPhone X is the best iPhone I've ever used.

The headphone jack uproar was a tempest in a teapot. Apple saw the stats that either a) people use the headphone that come with the phone or b) they upgrade to wireless headphones. The small group of people using expensive wired headphones can afford an additional $7 permanent attachment.

Yes, Apple prioritizes size and design over everything else. Removable batteries add size, weight, and likely impact the water proof ability of the device. Even when I had a phone that could easily swap batteries I never bought additional ones because they were not cheap and would be discarded when I got a new phone.

I'll also say that I'm happy with the change Apple did here. They failed at communicating it, but I have been on the receiving end of an older phone that would shutdown/crash with plenty of battery left, and would have preferred it to slow down so I could at least use it.
Marshall Field's Company: 2018 Toyota RAV4 Hybrid LE
Flir app on Android has this feature built-in.

https://play.google.com/store/apps/details?id=georg.com.ther...
There's a bit about flagging in the guidelines -- use your own judgment: https://news.ycombinator.com/newsguidelines.html

I'm not sure how flags are processed by moderators, but for automated ranking they are like a big downvote.
Html Stylesheet (Html)
I agree it's a good response, both marketing wise (the compensation in the form of cheaper upgrade) and technically (the improved health visibility).

Regarding your concerns:

1) The software update that improved the power management was released for iPhone 6 and later only according to the article.

2) They state "Early in 2018". I think this is a pretty conservative, yet realistic estimate, considering they don't want to risk the user experience.
> Assembly line production is highly efficient

The highlevel production may be, but rare-earth mining is incredibly dirty (and some of them, if not sourced from fair trade, directly fund warring groups), and IC manufacturing isn't exactly environment friendly too, lots of nasty chemicals used there.
You don't generally hire your CEO - and if, contrary to all precedent, you were hiring the CEO, you'd probably want someone who could speak convincingly and confidently to the media and investors, while speaking authoritatively, firmly and confidently to employees. That could make the difference between a startup running out of money or succeeding.
How do you know the wage for battery replacement?
If replacing the battery voids the warranty, that doesn't count as 'user replaceable' in my book.
Ex-Soccer Star George Weah to Become Liberia President
After replacing the battery my iPhone 6s is running fast again... can I return this iPhoneX for a full refund?
I once gave a presentation to a board where one of its members was Japanese. That man nodded off about five minutes in, and I later was made to understand this was perfectly acceptable.

Still, quite harrowing if the presentation you're giving is important to you.
I have no problem with the methodology and results of this article, but I think conclusion that "functional languages are better than procedural languages; ..." only applies to bugs; in reality the choices of programming languages are determined by many factors, bug-proneness is not even the most important thing to consider.
Although ordinary functions can be evaluated at compile time without the constexpr annotation, only constexpr functions will raise an error if it _can't_ be evaluated at compile time (irrespective of if the compile thinks it should be). it's a judgement call for when explicit intent > implicit side-effects.
Because you’re being throttled, duh
Yeah the trackpad is so good. I found myself intuitively using it rather than the USB mouse I had plugged in.

Battery was extremely poor on my MacBook though. It was 5 hours (possibly a defect, or maybe the touchbar drained too much of it?).
My previous laptop was rocking a gen 4 i7, 4k screen and it gets 7+ hours.
I do wonder if this will make Apple look at the good old days of phones where you could have a few spare batteries for your phone :)

I know it will never happen because it wouldn’t be aesthetically pleasing to Mr Ive, but ‍️
It’s somewhat of an intractable problem. You have a bunch of khaki wearing executives who have been with the company for 20+ years, whose stock has made them rich enough to not work again. Do they care about building high performance products? Do you care? (Whether you is CEO, board, investors, customers even.) Or is it easier to half ass it and add some useless bells and whistles? Even Steve Jobs, considered to be the ultimate perfectionist, didn’t care about 95%+ of the products his company made.
Depends on where you live. In a place like San Francisco, people will drive to events because mass transistor starts to suck after midnight. A person who knows they will get a free or discounted ride home may take Bart (as an example) to the event.
The story was relevant in July, when they released the 10.2 update. They should have had something in place before they released that update.
Cycles are floats, not integers. It's only a full cycle if the battery is discharged very deeply.

http://batteryuniversity.com/learn/article/how_to_prolong_li...
Who are the members of the LiveEdu Team?
Personally I've always felt the existence of the garage to be an underrated contribution to American innovation.

I don't mean Americans aren't aware of it, I mean that sort of thing never comes up when Europeans discuss how to increase innovation. They will produce 'e-centers' and 'hubs' but I think most of the good stuff just comes from some people screwing around, probably with some things that don't rate much fanfare or seem adequate for a proposal.
That we know of yet... :)
Or evergreen trees that don't shed their leaves, or die during a drought because they're already there, and you water them anyway. Do street lamps really prevent car crashes?
Not necessarily, I'd rather have my phone die at 40% or something, at least I can investigate then, and replace my battery. In the other hand, throttling my system and hiding it from me...
Is there a C++ compiler that doesn't include 'make' and/or a 'make' replacement? There are linkage rules and even a few keywords just to allow linkage with code not generated by the compiler. It's very much part of the language.

'extern const int *table;'

Having a compile-time program create table would guarantee that it's created at compile time. Having a constexpr does not guarantee it would be done at compile-time, it silently degrades to run-time. If verifying requires an assembly listing, I see it less useful than the currently available tools.
Well, because of organisational biases. There are principal agent problems dotted throughout most businesses larger than a single room, and people care more about looking good than being theoretically optimal, and this is recursive. And however bad you think this problem is - it's probably worse. Robin Hanson and Eliezer Yudkowsky have both written good stuff on this subject.
Surviving it. I know that sounds dramatic, but it's the best I can do (I almost kicked the bucket in 2016).

I went through a lot of personal changes over the past 2 years, and I'm still too close to absorb it all.

If there is one lesson I did learn, it's that I really need to stop being a lone wolf. This isn't to say I don't have friends, but it's accepting that I'm only one person, and it's trying to understand who "my people" are, and that's hard to figure out when there are so many wild transitions in location, social, and financial positions.

I've made a lot of tough and firm decisions over the past several months, and it's up to me to hold myself responsible to those commitments. The toughest step will be acting on the knowledge that I can't do it all alone, balanced with the fact that I have to do 90% first, and hand off the final 10% to someone else. In an ideal world, it would be an even split.
> It's a tragedy of the commons problem

It's actually an adverse selection problem, like in insurance markets. It has some similar features as tragedy of the commons, but IMO it's not as apt a descriptor. Totally agree that they have the problem you describe, whatever it's called.

> MoviePass does allow multiple viewings of the same movie

I had seen on reddit people say that they couldn't select the same movie twice.
Like "const", it's so the compiler can produce better feedback for the programmer, not better executables. constexpr will raise an error if a function _can't_ be evaluated at compile-time, just as const functions will raise an error if they do any non-const stuff.
that's the thing, incentives are all wrong in general for media to be accurate.
Google offers plenty of minor services but Maps is in a completely different league than Skype or even Spotify.

YouTube is closer to Spotify but would probably still be impossible without Google's massive investment. Dailymotion is pretty far behind.
I think he refers to https://basicattentiontoken.org
It's more an observation of society and politics in the US throughout it's history.
I will try to elaborate without trying to insult anyone. It might be harsh but I am sure the author can handle it.

First of all look at this sales copy of the book.
https://www.effectiveengineer.com/book

It looks like a weight loss e-book product designed to trick ambitious people into impulse buying. It tries to build credibility by name dropping "google", "facebook", "insert big company here" every other paragraph. Then there are testimonials about how great the advice is from "LeaderLeaderLeader" enterprise hierarchy pattern i.e people with big titles from popular silicon valley companies.

Everything in that page is designed and optimized to make you buy the package. For a price of 250$ you too can know the secrets of effective Engineers.

To sell this content first create and exploit an insecurity in jr.Engineers or fresh job seekers in technology by saying they are not an effective engineer unless they buy this book/package and read the content and then they too will be part of the club and work at a big name brand company. Some people in our work places are exceptionally good at social engineering and not so much in actual engineering. The sales copy co-opted the "engineering" discipline to sell some curated content. This looks much similar to team/company "politics".

I do not think people in "effective engineering" business do this. This is certainly what people in content business do.

Now compare that to some other book for a contrast.
https://basecamp.com/books/getting-real

Engineering is just like any other skill for e.g., like playing chess or piano or swimming etc. You get better by doing it many times and failing often. To be good at engineering involves many factors like genetics, discipline, irrational love and passion for a particular domain, patience, exposure to better ideas and better people. Even you are good at engineering, to be effective at a company/market, you need to know the right people and have right social and financial skills to get name and recognition.

Some how, effective engineering has become synonymous with what happens at big name company teams which I think is very wrong. If you look at the real world, once companies reach a bigger size, they stop doing effective anything. They just buy other small companies which spend more time on making effective products.

This content seems to be analogous to "founders at work" but a better title would have been "engineers at the enterprise".
VNC Roulette is back
It's like 'const' itself -- it's a tool for producing better error messages, not better final executables.
> From what I understood, there is currently nothing to allow both ES5 and ES6 code to be published and let the bundler choose which one to include. Any ideas on how to change this?

Yeah it's mostly a conventional then we have to figure out.

Some people have different "dist" folders like say with redux_- https://unpkg.com/redux@3.7.2/ there is `src`, `lib`, `es`, `dist`.

In package.json, you can specify

"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"typings": "./index.d.ts",

which a bundler like webpack will look at. The problem now mostly is that "module" assumes es modules but not a specific level of ES/polyfills and we want a way to do that instead. Making a yearly "es2015", "es2016" field seems weird and we want one that is up to date like preset-env?