skysight-inc/HackerNews huggingface dataset:
At this point I think you're making an argument about software evolution more than programming languages. "Just keeping it working" is fine for software like Vim, which has a natural monopoly on the small niche of longtime programmers who have memorized the keystrokes and like it the way it is. (I am not insulting Vim users: I am one of them!) It does not work for software like browsers in a deeply competitive market, which have to cater to a large audience of hundreds of millions who constantly demand increased stability, security, and performance.
>I don't understand what would be difficult to believe about this.

It seems like it could instantly react to the car in front drastically changing speeds (read: colliding with the car in front of it), and brake immediately. But predicting seems like a different issue, with far more false positives (Tesla hitting the brakes when it anticipates a potential collision). Is that happening?

You could be right, but this video certainly hasn't convinced me.
My Nexus 6 did this quite often, as does my wife's HTC One M8. It definitely could be an Android issue, but I think it would have to be a particularly egregious and obvious mistake.

If it is software, I'd strongly suspect something at kernel level, since quite a few times in my experience, the shutdown is too quick for a safe shutdown. Userspace seems to get a notification that battery is low because it usually gives the "shutting down" alert, but then just shuts off in a suspiciously short amount of time.

I'd be more likely to think it's probably something in the battery/power stack that's not managing or reporting the power well. Discharge/voltage curves are not at all linear, [1] [2], so it's logical that issues with immediately available voltage might start to affect the device around the 30% level. Additionally, as another commenter has mentioned, the discharge curve is dependent upon temperature [3], so a sudden drop in ambient temperature will eventually have a direct effect on the reported voltage.

I'm not exactly sure what kind of metrics are commonly used for reporting battery percentage, but I am about to read a few (okay, maybe half of one) Arxiv papers that came up in a search. [4] Presumably, it's strongly based on some voltage modeling and I can imagine that would have a hard time coping with external factors beyond its measurement capacity, like ambient temperature drops. I don't suppose a user would be happy to see their reported battery percentage drop like a rock immediately upon stepping outside.

I really don't know where I was going with all that, except I guess to say that my gut says Battery "percentage" is a bit more an art than a science. That is to say, there are psychological reasons not to report based on voltage directly (it may go up if you step into a warmer room; "Wat?"), and I can imagine any metric is going to have its strengths and weaknesses, because you really can't account as much for user behavior that changes important physical conditions of the battery.

[1] http://www.powerstream.com/AA-tests.htm

[2] http://www.ibt-power.com/Battery_packs/Li_Ion/Lithium_ion_te...

[3] http://www.ibt-power.com/Battery_packs/Li_Ion/Li_Ion_DiscTGp...

[4] https://www.google.com/search?q=battery%20percent%20site%3Aa...
If you want to go down that route; feeding them raw and making their cat food would be for the best. However there is nothing wrong with dry food supplemented with other food.

We all have limitations on the amount of time we can spend with our loved ones (animals included). Making sure they are fed is very important, but sometimes you can't be around when they need their food.

This seems exactly like the best solution to the individuals problem.
Other peoples poor driving shouldn't make you drive worse. In the Drivers Ed classes I've taken, the recommended advice is that if someone is tailgating behind you, you should leave EVEN MORE space in front of you so that if you need to hit the brakes, you won't have to hit them as hard and thus won't be as likely to be rear ended.
I think that relational databases made a huge leap forward. It's built on top of a solid foundation presented and accessed using a 4-gl language that describes intent.

But I guess as a database, it's just a continuation of the hierarchical databases, general storage, and cards and index cards before that...
Most of the supposed difficulties with social security and medicare are entirely manufactured by politicians to push some specific agenda for an industry who would benefit directly from particular changes, if not privatization.

FICA is essentially just an automated savings program, it's not particularly complex.
That's an awesome site, but it's not the one I failed to remember. That one had a few pages for each language showing you lists and the like.

Will bookmark this, though.
Microsoft Word for Windows Version 1.1a Source Code (2014)
Are you saying that, in spite of high CO2 emissions _for energy_, Poland's per capita emissions are on par with the rest of Europe?

The map's color-scale is not ideal. Germany and France look similar, but Germany's emissions are 500% higher than France. In contrast, Poland is just 35% worse than Germany, but looks like the Death star on the map. It would work better with a single one-color gradient, rather than a green-yellow-black.
I have a N5 (ya...), and I've found that somedays I'll be getting ready to go home from the office (where I sit like 20ft from a WiFi AP), and find my phone down to ~20-30% battery life - and a quick look at battery stats will happily tell me that my WiFi somehow used up like 50% of my battery. I have no idea whats going on with that... sometimes I can notice while I'm using the phone doing some pretty low power stuff (playing some music...) that the back will just start getting hot. Andddd there I go turning off my WiFi. I have no idea how much this is helping, but I certainly feel dumb having to baby my smartphone like this.
Some cats will pig out, even if food is regularly available and not scarce. You don't want to overfeed them. This gets way more complicated as the number of cats increase.
This happens on my iPhone and everyone else's that I know.

Literally fluctuates between 40%, 1%, 31%, off and don't get me started on how it changes when it gets cold outside.
This sort of thing does not belong on a forum. It belongs in a wiki or official documenation.

It is a fantastic guide, as I have always been hesitant to trust the "passed" of the SMART test.
Most Intel technologies are not for consumers initially. Eventually, consumers may wind up with a product that incorporates the technology after a while. For example, the laptops in the Lenovo announcement that triggered the Anand piece are all in the SMB to Enterprise segment. A person can't walk into BestBuy and walk out with a ThinkPad T4xx.

So I agree that to a first approximation, the critical factor in the consumer space is how well the browser performs. Hitting the hard disk doesn't matter and that's why smartphones and tablets can ship with 16 or 32GB of total mass storage.

What this will might eventually do in the consumer space is to allow competition on total storage size in a way that's cost effective for manufacturers, even a 256GB SSD is a significant fraction of a $350-$500 typical consumer laptop.
Think about what I've actually suggested here and not the comparisons you're leaping to. As I said, I didn't avoid those comparisons by accident. What I'm suggesting is not the same thing.
I am not sure I have worked on a project where gathering requirements was a problem. But, most of the time my work has been on systems that have been a work in progress as they were actively being used. The needs are normally abundantly clear. I am not sure I have worked on a product not currently in use.
What would a friend recommend someone using a SparkFun Thing? Any good replacements (it has a JST battery connector, among other features.)
> From what I've seen, your suggesting that slicing further will eliminate the predictiveness of race doesn't seem to be true... The idea that we can avoid these ethical questions by slicing data in the exact right way is probably not true

Are you taking the position that some races are genetically pre-disposed to these behaviors - that their race is the root cause of them?

I personally don't think so, not because it would be an unpopular position (popularity has little place in a discussion of truth), but because I have seen little compelling evidence of it.

If you agree, then you must also agree that slicing data around causes would necessarily provide better predictive metrics. In this day and age of intense data collection, I find it hard to believe that we can't do better than "Oakland" or "Asians" or "Blacks". You'd probably go bankrupt pretty soon while your competition does real data analysis.

Still, it is undeniable that race - the way society is currently structured - can provide easy and useful proxy to a whole host of predictable behaviors. If we were econobots, concerned only with maximizing immediate economic gains, we'd maybe use it.

But this is an old idea. We know we are paying slightly in short term economic benefits, for human social benefits, as well as long term economic benefits.

That's why we have affirmative action, and mix low income housing with rich housing, and similar programs: because we discovered that ghettos are self perpetuating, and make it more difficult to change one's standing. So we pay a little now in economic effeciency for a better aggregate economic future.
SwiftMailer 5.4.5-DEV RCE CVE-2016-10074 PoC Exploit Unpatched
> Keep in mind obesity was practically nonexistent 40 and 50 years ago.

Even in 1962 (54 years ago) the prevalence of adult obesity was 13% in the US -- and it has increased steadily since -- so it was very far from "practically non-existent" 50, and even moreso 40, years ago; to the extent you might have some legitimate point, ludicrous hyperbole like this tends to obscure it.
> The way I see it, either you're a responsible citizen or you're not, politics is way too important to leave it to professional politicians.

The whole topic is a lot more complicated. It's rather hard to found a party: 2009 before the parliamentary elections I have been was sometimes at the regular meeting of the at that time new-founded Piratenpartei. Many attendees were paying for the election posters themselves (you can only get aids (Wahlkostenhilfe) when you already got many votes in a previous election - a chicken-and-egg problem) and were (in my opinion) working really hard alongside their regular job.

Also for most parliaments in Germany there is a so-called 5% barrier. That means that if you don't get at least 5% of the votes, you will get no seats in the parliament (except perhaps direct mandates - but for these you need a relative majority of votes in your district, which is even harder - nearly impossible for a new party). The 5% barrier means that you will need a program that attracts many voters.
But a combustible, rather than an oxidised, one.

Incidentally, while searching for a reference to the assertion that CO2 is and methane is not included in a carbon footprint, I found the opposite:

https://en.m.wikipedia.org/wiki/Carbon_footprint

(Methane emmisions are expressed in terms of the equivalent CO2 effect and added with actual CO2, the unit is then written as CO2e.)

My original quibble is therefore much less important.
I'm the author if you have any questions
I really want to get a Pixel, but I can't justify it because after replacing the battery on my Note 4 it works as well as the day I bought it. A friend of mine had a very different experience, his Note 4 slowed to a crawl and there was no sorting it out. He went back to Apple.
Wow.. This certainly goes to show, the more "secure" you try to make things, the easier they'll try to make it and ruin your security.

www.insecam.org/en/view/386702/ - Somebody's RSA keyfob with automatic button presser.
Police want to know what an alleged murderer’s Amazon Echo heard
In nature, the cat would wonder and "forage" to find prey to eat.

Years ago we rescued a barn cat, she would wonder all over the area to find food (few mi radius): birds, mice, etc.
My Galaxy Note 4 did the same thing. But this was after about a year of use. And hey, after replacing the battery it works fine again!

And as an aside, I dropped my Note 4 recently and broke the glass. I was thinking about the possibility of getting a new phone. But after looking at this season's options I'm heavily leaning toward just replacing the glass. One reason is that no top-of-the-line smartphone seems to have a replaceable battery to avoid these problems.

More generally, this season's phones are also cheap-looking and cheap-feeling. The Pixel feels like a $200 phone at best, with its cheap aluminum shell, fragile-feeling uncomfortable buttons, and ugly plastic/glass/whatever square on the back. I've been losing faith in Samsung's build quality (I've had some issues with my Note 4 and my previous Samsung phone, and the news about the exploding Note really turned me off the company). Even the latest iphone looks uglier than usual (that glossy bezel really doesn't do it for me, looks like a free phone you get when you sign up for a phone plan).

2016 is a really really bad year for smartphones. None of these machines seem like they're really worth their price. The next great phone is probably going to be one that doesn't feel like corners were cut.
Ask HN: Does anyone use x32 ABI of Linux?
Recently I was reminded of x32 Linux ABI [0]. Note: not 32 bit x86, but x86_64 with 32 bit pointers.

I have read about it few years ago when it was being merged to Linux kernel, but not much afterwards. I understand that it did not become popular. It is not better enough to justify the hassle of yet another architecture. Of course there is also the chicken and the egg problem of library support.

I’m wondering if it would be a bit better for older machines. But problems stated earlier still stands. Maybe it would be useful for ChromeOS-like OS (resource constrained and most of the software is 1st party).

Nevertheless, does anyone use it? Professionally or personally?

[0] https://en.wikipedia.org/wiki/X32_ABI
No way. I use semis as a highway safety feature. They can see farther down the road and are much less likely to get in an accident statistically. When visibility is poor, I follow one (with a large follow distance).
Top 9 Deep Learning and Neural Networks Books
I recently switched to an iPhone 6S from a first gen Moto G.

The Moto G was never a fast phone, but a new thing it started to do towards the end of its life was OOM kill the mp3 player if you backgrounded it. At first it was if you did something heavyweight, like start a game. Then it was browsing an ad-heavy site. Then it was if you opened the web browser at all. This, plus the usual Android lag, bad battery life, intrusive Google Botnet stuff.

The tipping point was this. I walk to the coffee shop with music playing. I order, sit down, start reading. There's an amusing line in the book, so I take out the phone to take a picture of it, which kills the music player. Then a Google Maps notification pops up asking me to add the photo to the coffee shop's Maps page.

I think, why the fuck am I still using Android? I know Google tracks me everywhere I go, but do they have to be so obvious about it?
The Difference Between “is” and “==” in Python
What do you mean "unlimited"? It's not unlimited. There's a data cap after 300GB of usage on the Rs. 1999 plan being offered.

I'm not a foreigner. I live in Lucknow, India and this is what my options are right now.

http://www.sikkanet.com/home-users/unshared-plans/

http://www.sikkanet.com/corporate-users/

http://www.techiit.com/airtel-broadband-tariff-plans-lucknow...

In the case of Airtel, "upto 16Mbps" means that maximum 4Mbps due to "technical restrictions."

You're lucky that you're getting that kind of a connection. Hyderabad, Bangalore, Delhi and Kolkata are probably the only cities in India where one can get that kind of a connection without trouble.
Yes exactly, they're an encoding attempt at expressing non-verbals and other tone/emotions.
PyPy.js: What? How? Why? (Python in the Browser) [video]
>You comment describes exactly why this is so amazing - the autopilot executes the same as a competent driver!

I can agree with this. Too bad it isn't the default sentiment instead of over-the-top optimism or cynicism.

I don't think anyone here is surprised that people get into stupid, easily avoidable car accidents all the time. The argument seems to be about where the technology currently sits. In this video the Tesla braked and avoided rear-ending the colliding cars; so did the vehicles with no autopilot in the right lane. This is "impressive" to some people, but it's also the bare-minimum level of acceptability for self-driving vehicles.
Bigpipe implementation for golang
True!! I thought they were aquihired by OnePlus after the CM deal fell through to make OxygenOS
How about Knuth or Planck? Or anyone on this list for that matter? https://en.m.wikipedia.org/wiki/List_of_Christians_in_scienc...
Where is it forbidden for programs written in C to use FNV?

For example https://github.com/haipome/fnv/blob/master/fnv.c
Sure, but it's not a good benchmark. If you can demonstrate that you have blazing fast performance, but only for the exact input data that the benchmark uses, then you haven't demonstrated anything at all beyond an ability to tailor your code to a very specific input. But in the real world, we don't get to write our code for a very specific input (after all, if we knew what the input was ahead of time, we could just pre-calculate the answers instead of publishing the program).

So yeah, if you can come up with a tailored hash algorithm that works correctly and is DoS-immune for all possible input for the program, go ahead and use that tailored hash algorithm. But if your hash algorithm is only correct for the specific input data the benchmark game uses, and would not be collision-resistant under real world conditions, then you really shouldn't use that hash as it does not demonstrate anything useful.
>Facebooks problem is that it does editorialize -- communication and interactions from within a culture, outside of that culture.

How does this apply to Facebook posts made by regular users? It's one thing if Facebook's own news feed is peddling fake news, but if regular people choose to post an article on their wall, why is it Facebook's or the government's job to assess the veracity of the article and take it down?
We probably should remove our rose-colored shades and assume SV - like Hollywood and Wall Street -- are a bunch of hucksters.
I've seen it, but not every time there's a discussion about Android or iOS. Maybe it's just because the always on mic is the sole feature of the Echo, while it's just a feature for phones. That said I feel like a lot of people do criticize the Echo while not realizing the phone in their pocket is capable of the same thing. Especially people saying they wouldn't buy an Echo or put one in their house because of privacy concerns, while they surely have an iOS or Android device on their person.
the Tesla obviously expected a crash due to the small red car changing lanes crossing another small car on the right. Had nothing to do with the SUV i think.
Ebikes: I Sing the Ride Electric
This is also why I don't like to engine brake on the freeway.
Great explanation. Makes sense. Originally thought the name was weird but now it's extra clever.
Show HN: Curated SEO Tools Stash
None of this will show up in your interview, but:

- Strongly typed everything. I get it now, I really do, but I was resistant to compiled and strongly typed Javascript at first and didn't like writing JSDOCs all the time, I'd say 30-40% of my development / code review time came from those issues.
- goog.struct.* instead of <normal JS way on StackOverflow>. There are a ton of internal libraries that improve on basic JS objects and have different APIs than the standard library. So you get used to using the internal version of Map/Array/Set etc., plus a lot of binding, etc. Basically the whole "Stack Overflow the question and adapt the answer" strategy doesn't work quite as well inside here. There's also a fragmentation of front end frameworks, so there isn't a lot of deep documentation or examples in any given framework.
- Readability. Once you've gotten code review from your team members someone with "readability" has to approve your code as conforming to the Google style guide. If no one on your team has readability in the language you are working in (which happens) then you get bogged down in lengthy back and forths which can be stressful when you're under shipping deadlines. Definitely one of my least favorite parts since I prefer to hack a solution together and refine it afterwards.

The interview process is really bad at getting front end engineers, in my opinion. I think the best way to get hired as a front end engineer is to be really good at algorithms and data structures. I was essentially a data engineer on my last 3 jobs and picked all of the front end stuff up on the fly. It would have been much easier if I had known any framework before I came here and hit the ground running.

I think it was a lot to learn but it seems to be expected around here. Work/life balance has been a big struggle with me this year, the perks are insane and it makes it really easy to stay late. I think if you really want to get ahead and climb the ladder at Google you'd better be young, single, and unattached.

Best of luck on your interview, it's a wonderful and strange place.
Building Ford’s Next-Generation Autonomous Development Vehicle
Flickr does use progressive jpegs now. Imo I hate seeing the blurry image first.
Many I know with remote positions had worked at the company previously and then went to move or quit, and was given permission to work remotely. Obviously one needs to be an effective employee for that to be the case, and not mind occasionally traveling.

Otherwise you could seek employment at a place known for having primarily remote workers.

Contract work and freelance is also easy to remote.
Really appreciate that. I will be looking into that tonight, thank you!

My main source will likely be Khan, any sources you like more than Khan? Ie, class room / instructor style (class room is probably good, given the ease of testing math)
Shorthand / Stenography seem like compression without computers.
Working as well as a "competent" driver (which, as we all know, is already a high bar) is a fantastic first step.
The rules provided aren't as clear as they could be:

http://benchmarksgame.alioth.debian.org/u64q/knucleotide-des...

But they say 'don't write a custom hash table', not 'don't write a custom hash function'. Maybe the problem is that the data in this benchmark is just not a good way to exercise the hash tables in a given language the way the benchmark intended. That probably means the benchmark should be modified; the complaint that some implementations use 'laughably bad' hash functions that seem to be measurably decent hash functions for the data at hand seems really strange.
I wrote it's like shared_ptr which is also construct in C++ standard library, what is misleading here? You don't need to use it also in C++ and I did not wrote that you need to use it in Rust also, you disagree with something that I didn't wrote.

PS. Pozdrawiam rodaka.
I'm still using my Note 4 and have been putting off upgrading for no real reason. I was about to buy the Note 7 until they started blowing up, but now I'm probably going to wait until the S8 or Note 8 or some other flagship coming this Spring.
Just today I came across this tweet that describes that exact issue https://twitter.com/jessethanley/status/813904788702183425

Now while I do believe that some tools are better for some jobs than others, I also think that many times people are just exchanging one set of problems by another without realizing it.