skysight-inc/HackerNews huggingface dataset:
I agree, the obsession with thinness drives me batty.

My iPhone barely makes it through the day sometimes. I usually have no problem, but occasionally I find myself around 9PM and my battery is down to 5% and I have to plug it in somewhere. This leads me to plug it in more than I strictly need to, just to ward off these moments. This would all become a non-issue if the battery were twice the size. Then my phone might be 10mm thick instead of 7mm thick, and might weigh 300 grams instead of 200 grams. Not a big deal. But instead, thinness is maximized, and everything else is built to be just adequate based on that.
I heard from a couple people that they don't exactly want to learn Fortran. Python stays out of your way and there is a major ecosystem around it by this point.
Indeed, and that was my main point. "Computing" in a general sense is as fundamental as any physical law (if one wants to make a distinction between those). We have reduced computing to its essence, and are now building up complex systems in a "rational" way. The Universe already "knew" about the essence of computing, and just let things happen.
As with everything, it would be about habits.

While you would not get the exact number as quickly, you would soon learn that having a bunch of lights on the right side of the display is "late" given darkness.
No, Let's Encrypt does not work in either Chrome or IE on Windows XP [1]. This is a known bug with their intermediate certificate [2].

[1] https://github.com/letsencrypt/letsencrypt/issues/1660

[2] https://community.letsencrypt.org/t/help-needed-windows-xp-s...
I prefer VanillaJS: http://vanilla-js.com/
Thank you, I'll check it out.
I saw they ran a small "python for data science" intro course this year on edx, so I figure they're definitely behind using the language in some capacity.

https://www.edx.org/course/introduction-python-data-science-...
If they required of you to implement once-and-only-once reliable delivery of messages over a network, then I would argue they don't really understand the problem themselves.

This blog post does a pretty good job of describing the problem:

http://bravenewgeek.com/you-cannot-have-exactly-once-deliver...

I would not feel bad about missing this question. Distributed systems are hard!
I usually keep my subject lines slightly longer than usual to make finding them easier.
> I'd roughly guess that the amount of time a person had to spend with ads in the 60s in a year is about 1/12 of the time he has to waste (!) with ads now.

Perhaps, but how do we measure that?

I was surprised to learn recently that advertising for the past century has only grown at pace with GDP, i.e. it has continued to be about 1.29% or our economy: http://www.bloomberg.com/bw/articles/2014-03-03/advertisings...

But it's still possible that advertisers are buying an increasing percentage of our time and attention. I would love to see a study that attempts to measure that, though it sounds like a tricky task.
I visited a few years ago. Haunting and surreal. Here's a few of my photos, they don't do it justice except to show the craters and pieces of metal like you described.

https://goo.gl/photos/WGePPQWYwNHeCaN37
I said you learn to cope with problems, not that they go away. I also never said there aren't ways to eliminate stressors. The point is that "go out and do something instead of whining about it in a blog" is a shitty thing to say to someone you don't know who is crying for help, and not helpful. "Consider seeing a therapist," who might not only teach you to cope but also help you change things that can be changed, is much more wise.
AFAIK, Ruby doesn't have anything like Python's numpy. There has been some effort to fix that, but not one driven by necessity or an organized movement: https://github.com/SciRuby/sciruby/wiki/The-SciRuby-Manifest...

Fun bit of trivia: Hadley Wickham (of R's ggplot2 and dplyr fame, among many other things) said that if R hadn't been around when he first got into statistical programming, Ruby would have been his next choice, because of Ruby on Rails. He says now, his choice would be Python or Julia ("or maybe JavaScript"):

https://www.reddit.com/r/dataisbeautiful/comments/3mp9r7/im_...

Fun to imagine ggplot2 in R...or as a competitor to D3 in data visualization.
As well as the packages that people have mentioned, there are nice bundles like Anaconda or Canopy which makes it easier to get started.

Certainly working with people who know data but don't necessarily know much Python (even if they know it they might not know tools like pip, or want to spend time understanding the versions of their tools) it's way easier to say "just install anaconda" than "install python and all these packages we use".

I don't know if other languages have these bundles but Python's are very good.

Additionally, the jupyter/ipython notebook environment is very good, but I'm not sure that's converting people, I still see many researchers working in plain text editors.
Screens are getting bigger, and more title can be visible.
> Well as the article points out, adding modules involves taking out the battery

Are those modules hot-swapable? If the hardware and/or software does not support hot swap, there is a distinct possibility that they intentionally designed it this way: i.e. you have to power down before replacing modules. It would not be much more difficult to switch to "push-to-eject" battery mechanism which would make powering down optional when changing modules. Food for thought.
I have s4 and i love its plastic build. It's a phone with 2-3 year life, with $5 scrap value at the end. No a Rolex.
GRPC. It's really the only practical choice if you have Go, Node.js, and PHP apps that need to consume one central service. It also has a lot of the benefits that Mux brings.
Right, I guess I never considered that since I live in a place that has public healthcare.
I don't know. I consider this actually a good thing that we continue to push the envelope of technology. Yes it is technically difficult now to add a supercap. But who knows? Enough research and we might be able to do it easily. A lot of the phone technology we have right now is due to consumers asking for stuff regardless of feasibility. Sometimes it is better not to know the details but to dream.
You can define a function setMap such that if you setMap any function f from a -> b where Set a and Set b are valid types, then setMap f lifts f to a function Set a -> Set b. setMap will also satisfy the functor laws (or law, if you understand the parametricity derivation of the second law, which I don't :) ). Or in other words, setMap id = id.

In fact, the mapping is absolutely obvious. Haskell slightly brain damages us by assuming that setMap would have to apply to all a->b functions, which can't be done because a and b need to be Ord.

Although apparently it _can_ be done in GHC 8. ish.

https://gist.github.com/ekmett/f783ea6af2e041b7b887
Haven't we had those articles about 3 times a year over the last 20 years?

I worked from home for two years. The biggest issue for me was not being able to influence decisions and create relationships with the various stake holders. I like to be involved in more than just writing code for some corner, i.e. I don't enjoy just being a cog in the machine. We had one of those funny remote presence robots but that isn't really the same thing.

For me the social aspect was not an issue. My wife and kids are home (homeschooling, the future of school is also home). I would go out for lunch with friends and I have other activities.

Being able to occasionally travel and work from somewhere else was great. Owning my work environment, having a standup desk, an office, my choice of gear, was also great. Not so great was the expectation (mostly self imposed) that you're always available online.

I also managed people from home. Some in the office. Some also remote. That's also very difficult, making sure they didn't feel left out like I sometimes did. Trying to gauge contribution without seeing them working physically and trying to care less about how much time they're putting in and whether they're always available :) I.e. trying to be a good boss.

Now I work from home two days a week. It seems like a reasonable balance. Could probably even do 3 day a week. The office is in the same city vs. a different country so coming in when needed is easy.

In the not so distant future I think you'll be able to put on your VR system and be in the "office" or in a meeting, take it off and be at home. If everyone was in that system I think this could be a good solution.
I've tried using this on and off for a few days and have run into all sorts of issues just trying to get the blink program uploaded to an Arduino. The documentation and issues on Github aren't particularly helpful, either.
There is nothing about the Virtual Reality deal with Facebook? Is Facebook a non-removal builtin app with the S7?
The demo is down, but here is a fork https://github.com/afang/hyperlapse.js of their original github project https://github.com/TeehanLax/Hyperlapse.js/.

Working demo can be seen here: http://codepen.io/afang/pen/GpxqLQ
I'm among those not in agreement with the rant. In the case of the battery swapping, there are plenty of obvious ways to get around the phone turning off while swapping batteries (i.e., capacitors or smaller batteries). Why does it seem that unfeasible to you?

People should be very thankful for these feats of technology, but their wants literally drive the innovation there. Until truly impossible desires start to become the criticisms, I honestly don't mind them.
I would estimate that less than 5% of computer science is directly related to programming languages and paradigms. Not wanting to learn a new programming paradigm still leaves open 95% of the other avenues of learning. At least 99.9% of the industry and 95% of academics don't use pure-functional languages, and they don't find this to be limiting in any way. Add to that the fact that the advantages of PFP are rather theoretical at this point while the learning curve is steep, and you get that of all things you can learn in CS, this one is probably one of the least cost-effective among them.

Personally I find those that equate learning new things in CS with learning new programming paradigms (while common on HN/Reddit) to have a very skewed understanding of what computer science is about.
> Was that the original?

Yes. It was 30 years ago so they have probably improved the protection since then.
I think its good of LG to design a phone that is good for the environment in the sense that users can swap the battery and upgrade the storage instead of having to buy a whole new phone when those run out of capacity.

Global warming dictates that we as consumers not only our politicians are responsible for the future we create. If manufacturers can help make devices that last longer I´m going to choose such a device the next time I buy a phone.

I think its bold of LG to think differently and stick out of the crowd of similar phones.
Like that you can upgrade the storage capacity via MicroSD cards.
On the off-chance that you stumble upon this again:

How would one contribute something to a feature that is EE only? Is that a scenario that you had in the past? How does that work?
By that logic, you shouldn't be online at all...

I don't quite get fundamentalists like you. I cannot see how people can deny that the New York Times, Wikipedia, or even HN, Reddit & XKCD add something valuable.
I meant method calls
In the past, I had a phone with wireless charging, but mostly found it a pain. Putting it down slightly in the wrong position often caused the phone to not charge overnight, and the charging was just too damn slow in the morning when I realized that it hadn't charged overnight.
I gave up fish before I gave up meat for reasons of sustainability (there are only so many fish in the sea).
You probably should have a try at golang concurency management with channels, and you'll see what i mean.

GCD isn't much more than a low level job launching and scheduling library. It doesn't provide advanced patterns for resource sharing.

Concurrency goes further than parallelism, it's also a way to manage concurrent memory access (although golang does let you shoot yourself in the foot if you want to with low level mutexes as well). There's a great talk from rob pike on the subject http://blog.golang.org/concurrency-is-not-parallelism
This used to be an issue, but, in the past 2 years pretty much all the most used libraries have added a python 3 version.
I don't disagree that the H1-B system is fairly broken, but you could have found another company to transfer it to, correct?

The once a year lottery for H1-B visas makes it nearly impossible for both employee and employer to forecast and to plan. While I'm not defending their actions, how long before moving here did you interview? I'd guess the "real" problem is that they didn't tell you as the date got closer that they weren't in great shape and maybe you should reconsider...
They are going to run out of adjectives.

I was in a drug store recently and the cold medicines that used to say full-strength or maximum-strength now say "extreme". They are also going to run out of adjectives.
14 Words for Horse: The Linguistics of Game of Thrones
This "solution" seems a bit naive. If H1B's were actually auctioned off at market rates, the companies involved would lobby even harder to increase the number allowed, in order to drive the prices down.
numpy, scipy, scikit-learn, matplotlib, pandas, biopython, sage, ipython and ipython notebook — now jupyter — (with both matplotlib and clusters management integrations), non-C accelerators (numba, cython), anaconda (a science and engineering semi-proprietary bundling & package manager).

Many of these have their roots in the late 90s or early 00s. I guess Python got its fangs (haha) into scientific computing at the turn of the century, from the late 90s you find articles mentioning the introduction of scripting languages as glue in scientific pipelines variously mentioning Perl, Python and Tcl, and by and large it seems to have slowly accreted around Python.
Kids today, eh?
Seivan, thanks for your gist. I also tried to make controllers more protocol oriented, but it didn't help much with nice DSL for filters. Let's keep trying, maybe something beautiful will born soon. I would love to see you Swifton fork with your experiments.

I think Ruby is both strength and weakness of Rails. From my 10 years experience with large scale and large codebase Rails projects I can say that Ruby dynamism helps in web development. But for sure it comes with really high price tag.
And now i remind myself that these thin phones are often a right pain to hold.

If i let it sit deeply in my palm, the outer joint of my fingers protrude over the edge of the device, and get in the way of using it.

But if i shift my grip so that the fingertips are resting on the side of the device, the only contact points are those tips, and the thumb area of the palm.

And holding it like that seems to always be on the verge of slipping.
The example $15/month figure is what we would need in the example to reach revenue parity if 5% of the users paid for the service and 95% did not use the service any more (no advertising revenue). A more accurate figure of each users monthly value would be $1 per user.
I have no idea if he is or isn't, frankly. And, apparently, having an assumption on HN is now worthy of downvotes.

<goes off and randomly downvotes people for assumptions>
OK, now compare that to "literally everything else" in python.
The screenwriters meeting with Willis Ware at RAND reminds me of how Steve Jobs would call up various S.V. legends in his youth.

It pays off to make that call!
I like to include enough information in the subject line so that the recipient can make a reasonable judgement as to what the email is about and how much time they will need to read and answer the email. That gets harder with people you (e.g.) work with closely as the depth of the issues increases.
What is not fair is how the weak and vulnerable in society subsidize everyone else. Online advertisement is riddled with malware and ads from companies that is evading advertisement law by spending money on the online versions rather than the more regulated offline versions.

Since we are talking about fairness, how is it that publisher takes no responsibility when their website is used to distributing malware? Where is the responsibility when the advertisement on the website pry on the elderly, stealing their personal information to sell to call centers that target elderly people with fraudulent subscriptions and other schemes?

My ad blocking stays on until the advertisement market start to behave online as they have to in the offline world. That never happened for email, and my spam filter is always on as a result, and I doubt it will happen for the web.
At most, I think you mean specifically this year, for android phones. The iPhone 6S had some cool (hardware) updates, and I'd venture a guess that the iPhone 7 will, too.
But that's just presupposing that it is correct to do so.
Wouldn't that have depended on that charger the placement and number of coils it had?
Sorry to sound harsh, but why is this news?

Chrome has had this forever.
You're misunderstanding the example. Advertisers do not pay $15 per user, that's the amount we would need from 5% of our users to replace the revenue lost from no advertising. The example puts the value of each user per month at $1, which is what advertisers pay.
Interesting phone, horrible article. Typical of the modern Engadget, the article is light on facts and heavy on superlatives. For instance, I had to head over to some random Android website (androidHeadlines) to find out that yes, it does have Micro SD card support, and that it has 32GB of built-in storage (pathetic, Engadget). I do really like the idea of extensive expandability, but I wish it could be standardized somehow (admittedly difficult in a mobile form factor). I think this would encourage the creation of interesting devices by interesting startups, which is something that would probably get everybody here excited.

If you want a decent article by a respectable pub, check out the Ars version (linked below). It has all of the technical info that Engadget missed, minus the comments on how 'fantastic' the device feels.

http://arstechnica.com/gadgets/2016/02/lg-g5-hands-on-lg-may...
Side note about the author: Steve Dower from MS has also been helping out core Python development. He's done great work on improving how Python gets built, maintained, packaged etc on Windows.

Although I'm not a Windows user, it has been great to see the progress made in that area recently.
What? Does anyone have any ideas for why they would do this?
StageXL – API for impressive 2D content like games
Steve Jobs on the critical need for privacy [video]
Why can't it be both? If the language is easy to adapt to then that's a plus to anyone.
United States v User Experience
Wow! Thanks for this link. For those that didn't click through: all the big tech firms combined only took about 5000 of the 85000 H1-B applications in 2014. Tata/Wipro/Infosys etc. each took more than 3000 a piece (Tata alone did more than all the big tech firms combined).

Still it seems like an auction isn't necessary, just a higher fixed fee upon selection. If it was say $10k, that's a pretty big chunk of the $45k to $90k that PayScale reports for software engineers at Tata Consultancy Services.
>but by and large it helps them more than it helps the rest of us.

Correct. If you have 10,000 employees and you could replace 5,000 of them with 'computerized smarts' you shift a huge amount of liabilities. They don't require health insurance that seems to go up in cost every year. No retirement fund is needed. In theory the costs of using AI will go down over time per unit of work accomplished.

As for an individual it is difficult to see how AI will decrease our workload, increase our happiness, or increase our wealth.
Thanks for explaining and clearing things up. I'll read up.
Because with uWSGI you can mix a number of threads and processes (recommended because more processes than cores wastes time with context switches, and a low number of threads per process is a waste of cycle. uWSGi is an event loop (not unlike node) which makes dispatching requests to threads and processes very easy.
How are you then defining general-purpose?

I'd say a language is general-purpose when it has not been tailored to a specific scenario or area of problems, but to work well for most. Isn't that, to a great extent, true for go?
Looks good, but I think the technical term for this is Gantt Chart.
A few years back, I was looking in a road atlas for a spot to go picnicking on the weekend with my wife, and I found a little island about 20 miles away that looked promising. On the map, it's criscrossed with charmingly-named little streets like Anderson Road, Ferry Street, etc., but when we got there, it was surrounded by a razor wire perimeter with armed guards at the gate. Looked it up on Google Earth later and all of the charming streets were lined with bunkers. According to Wikipedia: "Indian Island is a major U.S. Navy munitions handling facility..."
>What behavior would a cockroach have to exhibit before you treat it like a human?

Human behavior. Awareness of social context. Learning, speech, and advanced decision-making and planning skills. Is that just a poorly-thought-out question?

Humans who lack these skills tend to get boxed up, put in cells, and treated like cattle, too.
Theory: Casual emails have been canibalized by Facebook and messaging products, leaving just the presumably more long winded emails that are more serious in tone.
tries

It seems Khosla and his legal team plucked $30M from where the sun don't shine. I hope the state does use eminent domain to restore the public's access to one of California's most beautiful beaches.

Some background: http://www.hmbreview.com/news/martin-s-beach-now-open-for-a-...
"that's the kind of stupidity that brings down governments" - Do you know who David Cameron is?

That John Delorean is some weird business. Not sure how it pertains to extradition re: gag orders.

I think when it comes to laws around murder, drugs, and other organised crime it quickly becomes clear that cooperation is important and most countries would support a mutual extradition.

I believe that when it comes to laws surrounding political issues; freedom of speech, privacy, removal of encryption (for all phones without warrant or guilt) etc., some foreign companies may not feel obligated to partner up as it were. And rightly so.

You can say 10% of the phone is created in China with 30% of the R&D in Poland and 5% design in LA and so on. That division of labour doesn't really matter and it's not really the point. If the company that owns and sells the product remains outside of the UK then I very much doubt the gag order portion would be enforceable. In fact, you would just need to schedule technology to prevent the sale of none compliance. We do that in all other industries and it would be the easiest way to go.

You could argue that tech companies would still comply with warrants and you could even argue that the they could eventually add backdoors BUT you can't say the gag order would be enforceable. Companies like Samsung and Apple sell to countries other than the UK.

tldr; UK Gov demands a backdoor in the iPhone. Apple reject the gag order and backdoor. Why should the UK demand foreign companies weaken foreign technology sold domestically that would globally affect not only the sale of the product but the trust of consumers in other countries where privacy is paramount. And how or whom do they arrest when nobody complies? ;)