skysight-inc/HackerNews huggingface dataset:
The author linked to an article in his story:

"To a certain degree, Slim has been applying this train of thought to his own businesses.
According to the Financial Times, Slim's phone company Telmex has implemented a system where workers on a collective labor contract who joined the company in their late teens can retire before they reach 50, and can continue to work for full pay four days per week."

While he could probably be doing more, he is working on it.
Hah! Yeah, that would freak me out, too.
haha, good point. Guess he is waiting for someone else to lead the way.
A fun little caveat of that fact is that if you were able to make a 100% incompressible material you would violate causality. If the glass in your marbles did not compress at all then the "information" that you inserted your marble would reach the other end before it actually happened (faster than the speed of light)
it's research and it's still valuable, even though yours truly might not yet be able to buy it at fry's yet.

some research might become available on the end-user, some won't. Often HN worthy stuff isn't really end-user though.

For me personally, it's good enough if it manages to inspire and interest others.
This article explains how to control the space around the original image when cropping using automatic face detection. The Zoom image transformation parameter of Cloudinary can be added to dynamic image delivery URLs with on-the-fly cloud-based manipulation. Sample code included for Node.js, PHP, Ruby on Rails, jQuery .Net and other frameworks.
Fellow introvert here. I find that on days I go to the office, I am just done dealing with humanity long before the end of the day. All of my energy and will to socialize is drained from me, and it's wasted on largely meaningless interactions not of my choosing. When I work from home or another quiet place, I'm much more likely to pursue social interactions in the evening.
Dell sells servers with 96x64GB RAM. There is a huge (7x) premium for the 64GB DIMMs instead of 32GB, so it runs around 500k, with almost the entire price going to RAM.
At the 1991 referendum, even in Crimea a majority voted for independence. I'm sure that that referendum was a lot less rigged than last year's one.
Philosophy Ph.D. here.

Your friends are right to despise philosophy, if by "philosophy" you mean the kind of thing that most students learn in college. I once taught a course like that, too, and I'm not proud about it at all. In order to appreciate the value of philosophy, you need to define it in a different way.

Philosophy is not a collection of knowledge, but a way of life that never tires of asking "why?", uses the power of reason to figure out the answer, and tries to live according to that answer. In other words, the life of a philosopher is a life of criticism. It is a life of reflection, a life dedicated to developing and refining the one faculty that distinguishes us from all other animals.

I honestly don't give a shit about any of the dead white guys that we call philosophers. Because the point of philosophy is not to learn who they were and what they said. The point is to learn the way of life that those people exemplified. The content doesn't really matter; most of that is wrong anyway. The methodologies, however, are worth learning. How to spot a fallacy, how to construct convincing counterexamples, how to go about dissecting a tightly woven rhetoric so that it collapses as spectacularly as possible.

I think philosophy is to the mind what exercise is to the body. You don't become an athlete by memorizing trivia about famous athletes; you become one by emulating their daily routines. Similarly, you don't learn philosophy by memorizing what Descartes said; you become a philosopher by learning to think like him in everyday life and practicing it until you're good at it.

STEM fields also help you train your mind, but usually in more specific ways. Philosophy is more general. It's like maintaining a generally active lifestyle vs. training specific muscles.
Probably, the most succinct way to articulate this is that: a given piece of C can be translated in countless ways into just one assembly language, and not all those ways may behave the same as each other or as what someone expects. Then, it can also be translated into other assembly languages, including an unlimited supply of imaginary ones. None of the translations define the behavior.
So much negativity on this thread! I'd rather figure out what this guy did right and take steps to implement some of those things into my life. It's easy to take pot-shots at people and harder to admit that someone might have found a better/more interesting way to live than you.
I remember trying a few, but ... I don't know, I wanted to have an independent isolated component.
>Isn't this the definition of how science should work.

There are two problems. First is the easy problem which is that #3 doesn't always happen. The data gets slightly cooked, the study gets redone, explanations are given as to explain away the results. The way it is done can be from outright dishonest to quite acceptable.

But the bigger problem is that there are some hypotheses that are not thought up or tested, or are done so in low numbers. Namely ones that would be political/career suicide, but even those that could hurt funding or that would have biased a person from ever becoming a researcher. For example, say you wanted to test an experiment that gay women were more violent to their domestic partners that straight men, straight women, or gay men.

Finally, even when results may be found, they will be attacked as being untrustable because the author must've been biased to even go looking for such results.
Are you suggesting cloudflare should hook into HN to check your reputation, I'm not sure they have the engineering capacity to extend this to all sites.
could you live an albeit different life on 60% of your pay and work three days a week?

Yes. It consists of a tent, eating ramen and the occasional squirrel.
And if your data doesn't fit into the RAM of a single machine you can buy a few more and use vSMP (http://www.scalemp.com/) to create a shared memory single system image.
Would forcing the integer result fix this problem? Something like:

def f(a, b, c, d, e, f, g, h, i):
return a + int((13 * b * i + g * h * c) / (i * c)) + d + 12 * e - f - 11 - 10

If I try it like this, I still have the same number of solutions...
Maybe I'm missing something..

EDIT: code formatting...
look at the bright side, it's still a fraction of what you'd get if you were to build your own thing. :)
The idea is more that when you process data, if you can fit it all in memory (and you don't need lots of CPU power, etc, etc, etc) then just use one machine and don't worry about "clusterising" it.

If you're expecting growth in the size of your dataset (beyond growth in RAM size availability), then, well, maybe don't just use a single machine. Same goes for a whole bunch of similar "it's too large for a single machine" considerations.

Storing data should probably still be persisted to disk, and backed up.
"So defection from the electrical grid will remain well out of reach for most Americans, and even those who manage the feat will waste a lot of capacity thanks to solar panels and batteries that are rarely used to their full potential."

Once again a news outlet (deliberately) fails to see the long-term strategy for the sake of a click-baity nay-saying headline. Just like the Tesla vehicle itself, which is still outside the reach of 99% of Americans, the point is to aim for the luxury market first and through scale and process optimization gradually lower the price so that it is within the reach of most Americans.

The luxury market is why Tesla is now able to develop a mass market vehicle, why solar panels are reaching an inflection point where in many parts of the world it will no longer make financial sense not to have them, and why home batteries will eventually be in the reach of everybody.
I hope I'm not reading what you wrote uncharitably, but, by rewarding people with positive results, we are inevitably encouraging people to either design their experiments in ways that confirm their hypothesis, or at worse, to falsify their data.

Thankfully, I've seen very little of the latter, but I've seen quite a bit of the former. Even unconsciously, people are afraid to design experiments that would give a black and white answer and falsify a cherish theory.

People with lots of positive results are not necessarily better scientists. They are just as often less scrupulous and better salesmen - Peter Thiel noticed that as well.
I am on a Moto X, but also had a Moto G as a backup phone. If you want to do basic stuff (call, e-mail, calendar, IM), the G is easily fast enough and can be had for little.

(The only problematic app seems to be Facebook, which is a bit hard on the 1GB RAM.)
I wouldn't call it a pitfall. Boost is written by C++ experts who like to push the boundaries of what can be done with the language. This doesn't mean that you have to debug their code or overuse templates yourself and there is nothing in the language that encourage this. For common cases such as in the standard library, templates are pretty easy to use and trivial to debug with modern compilers.
Not true, 8x16GB costs as much as 1x256 on Amazon. The issue here is that Amazon is hilariously expensive in general. Hetzner will rent you a 256GB server for €460 per month. Or you can buy one from Dell for $5000. These are not high numbers, in 1990 you paid more than that for a "cheap" home computer. For the price of a floppy drive back then you can now get a 32GB server.
That's actually the point I'm trying to make. A low-end-hourly-wage-slave IT desktop support tech, is the type of person that overtime wage laws are supposed to protect - yet they don't in Silicon Valley. At the same time, there are likely a lot of Professional salaried tech employees in rural areas of California, for whom $85K is considered a good salary.

I'm just noting that creating a California wide over/under for overtime is going to result in some discrepancies.
SQRL is worse in many respects. While it uses public key cryptography, which helps in the MITM scenario, it suffers from only weakly addressing the complexities of spoof protection (A malicious site, or a trustworthy but compromised site, can display a QR code for a different website or session). UNLOQ avoids some of this because it relies on direct notifications from the server to your phone (hopefully over TLS, which makes MITM unlikely)
Lots of mocking going on in the comments, and I'm not sure why.

If you're a software developer in the first-world, you're making, what, $75k/year or more? If you spend wisely, you can live quite comfortably on $30k/year, at least before housing costs.

Personally, my plan is to work full-time for the next ~10 years, putting every dime above the $30k/year mark into my mortgage and my retirement fund, and cut back to part time after that---I'll own my house, and with a couple decades of compound interest, my retirement fund will be set, too.

Most people in our position won't do this, though---they choose a higher standard of living (a new car every three years, a house at the very highest end of what they can afford, etc.) over working less. If that's what you want to do, that's fine---but don't pretend it would be impossible for you to cut back.

That's what I get from the article: the author's suggesting you do whatever it takes (including living on less money) to work less.
We've just sent today the iPhone app for review. Hopefully we'll have it in App store in a couple of weeks.
I believe that iPhones have a reputation for better power management and therefore better (or at least more consistent) battery life, hence the iPhone mention.

On a side note, because there are more of them, there are also more options for external battery cases, just as there were extended battery options for some of the more popular Android phones when removable batteries were standard.
I didn't get that at all. In particular, he lists several regrets that those dying experience about their lives. My impression is that many of those regrets stem from spending too much time on things that others, rather than the self, find important in life.

Speaking for myself, there was a time in my life when I wanted to create and raise a family, wanted to own a house, because that's what people told me I should do. Yet here I am in my 30s. I have a happy relationship that for various reasons isn't aimed at having kids or owning property. I rent an apartment in a co-op community which, while it certainly offers its own challenges, also brings rich memories that I may not have had were I living in my own house in the suburbs. I'm bootstrapping a software company, which is significantly easier without a mortgage and 2.5 additional mouths to feed. And I'm happy. I wake up when I like, put in 20 or so hours per week of real work, then spend time reading or exercising or working on fun projects. That's not to say I'm better than anyone else, and not everyone has the luxury to choose as I have. But I'd likely not be here, with the freedoms and lack of stress I have had I chosen the life others said I should, which is what I took away from reading this. And it's not all easy. Sometimes I look at those of you who are younger and have done more in your 20s than I could ever imagine, and question my choices. Then I realize that my life brings its own rewards, and it's good to externally be reminded of that sometimes. There are certainly plenty of other reminders that someone with my talents could likely be raking in lots of money right now if they pursued a different path, and sometimes those are hard to disregard. :)

Also, as someone who has chosen to not pursue the rat race, I often feel pushback and criticism from those who have chosen it, as if my choices directly threaten their own. If an article seems more boastful than maybe it should, perhaps it's a reaction against having one's personal choices questioned, dissected and ultimately put down by someone working 80 hours a week with a family to support and a mortgage to pay, attacking others with the Gaul to not have taken on those obligations. Again, nothing wrong with our individual choices, and I don't put anyone down for making them. I just often find that not everyone shares that view.
> Rich people don't deserve to be rich, this is a fact.

How can someone deserving (or not deserving) something possibly be a fact? Who decides who deserves something and who doesn't? Or is there an objective measure of deserving something, so that it may be a fact?

Regardless of whether or not I agree with you, your argument makes no sense.
Not bad for a guy I never heard of before...

I'm working towards this myself. Homesteading is an easy way to move in this direction without needing such riches. It's not as much work as everyone says - though the work there is, is mostly physical. Your math/programming skills will help immensely if you want to build and automate everything yourself, which will make your life even easier in the long run.

Your dollar buys much more when you grow all your own produce, dairy and meat. Seeds are cheap, a couple of cows, a couple of pigs and a handful of chickens will cost you far less than your annual meat/dairy bill and give you all the meat/dairy you could want indefinitely. The only thing that's prohibitive is growing enough wheat for flour - and only prohibitive from a space standpoint; but flour is cheap and making your own bread is easy. You don't need to live off Ramen and Squirrel. Rabbits breed like... well, rabbits and they're pretty tasty, cheap to keep, pretty hassle free and their manure is great for compost. Of course, slaughter isn't a pleasant experience, it's not all sunshine and light.

I'm just an average guy, with an average income working an average 40 hours a week with a family. If I can afford it, then I'd wager that a decent portion of HN readers can afford it too. Life can be expensive if you let it, but there are many ways to live cheap and have a fulfilling life.

If city life is too expensive for you to have a good work/life balance, you're living in the wrong place and working in the wrong job or working for the wrong company... unless you live to work, if you do, then more power to you.
There is even a European Spreadsheet Risks Interest Group: http://www.eusprig.org/
They're the only major internet provider I know that consistently has difficulty providing adequate service to Tor browser users in the common case.

They've even acknowledged that they're doing an unsatisfactory job of it, but still haven't gotten around to improving their system in several months.
10 pieces of advice for startups, from successful female founders
Not heavy use, but I'm not shutting anything off.

Here's a link for the Z3C benchmark, which reflects my experience[1]. It benchmarks 2 hours longer than the Samsung S5 in continual use, or roughly doubles the Nexus 5 life.

Here's a screenshot of my batter usage after a day at work[2]

[1] http://www.phonearena.com/news/Sony-Xperia-Z3-Compact-batter...

[2] https://dl.dropboxusercontent.com/u/156715/Screenshot_2015-0...
Indeed, ignorance of the history of ideas leads people to miss that "common sense" arguments were once revolutionary ideas, thought up and explained, or at least distilled, by a single person.
It all depends on which false dichotomy you're looking at. Correct me if I'm wrong, but you seem to see the choice as being between the code being tied up in a proprietary project and being readily available in a popular Free Software project. Given those choices, I'll readily chose the later option and avoid the MIT license.

A different false dichotomy, though is whether you'd prefer to see your code buried in a proprietary project or to have every copy and back of your code burned before your very eyes. Is it worse for some mooch to make money off your hard work or for all your hard work to be wasted and no one benefits.

The vast majority of the code I've written will never earn me a single penny. I've come to terms with that. There's a couple of pieces that my vanity has convinced me have potential and they're licensed under the GPL. The rest, though, is fully MIT licensed. If they wind up in a proprietary software project, that's wonderful, because it means that someone is actually using it. That's pretty much my best case scenario and far superior to the likely outcome where the project fades into obscurity and the code benefits no one.
I believe its Kutsuplus: https://kutsuplus.fi/home
"I was born into favorable circumstances. 10/10 would be born into these circumstances again, highly recommend."
Out of curiosity, whereabouts do you live/work?
Also note the dates: Tomb Raider's TressFX happened in 2013 while Crysis 2 and the 'flat-surface tessellation' happened in 2011 (with Patch 1.8 I believe).

Not something one can call a start.
What makes you think the only other option to your lifestyle is choosing a higher standard of living? I have 4 children from two different marriages. I didn't choose a higher standard of living.

Living off of $30k/year here in Oregon is a fucking pipedream for a family of 4.
Being a bit paranoid, how do I know you won't login as any of my users without their permission? Or in other words, if your systems get compromised, how can I be sure that my system won't get unauthorised logins?
> What does that have to do with my core point of AMD sitting back and complaining?

AMD: here is the code, optimize it.

NVidia: there is the binary blob (you can't look at the code), feel free to make your card exhibit the same performance characteristics as our geforce reference cards without infringing on our patents. No, you can't change the code. You could hot patch game executables though.

AMD is not allowed to look at the source.
How can you be sure the cars behind you aren't even more compressed than they otherwise would be if you're leaving so much space in front of you like that? One thing I hated about that article was that the author assumed he was doing such a great service for everyone by "smoothing out" the traffic waves by leaving a buffer, but he never really proved it; he just waved his hands and said that it looked like the cars behind him were doing fine. (How can you see more than one or two cars behind you? Are you driving in a literal ivory tower?)

In reality it could be just the opposite, someone behind you could be blindly accelerating because he sees the cars next to him doing so, then realizes you in front of him aren't accelerating along with them and has to tap his brakes, causing more traffic waves. And by definition the traffic behind you is more compressed than it otherwise would be, because you're hogging tons of lead space all for yourself. So you're dampening the waves in front of you by making the waves that develop behind you even worse!

Given that the minimum amount of lead time drivers are comfortable with is constant, if you pour tons of cars into a highway at rush hour, traffic necessarily must slow down because there's too many cars per mile of road to accommodate a safe lead time for each car at high speed.

So if everyone tried to smooth out traffic waves by leaving extra space in front of them, they'd effectively be making the number of cars that will fit in a mile of road even lower by artificially requiring more space for themselves. This will always make traffic become slower overall. Say what you want about the benefits of not having to stop-and-go traffic but you shouldn't be under any illusion that it makes the commute faster overall.
Working link for those not on mobile: http://www.extremetech.com/extreme/187746-by-2020-you-could-...
Arguably, hn should break up long "words" outside of "code"-blocks. Just stick in a few zero width space[1] U+200B/&#8203; or soft-hypens[2] U+00AD/&shy;.

[1] http://en.wikipedia.org/wiki/Zero-width_space

[2] http://en.wikipedia.org/wiki/Soft_hyphen
The article starts with the words "Imagine you want to try the service offered by a site, but you have to log in to be able to do it." That's a problem statement, and the solution is clear: Let users try your service without forcing them to log in. That's it. It's that simple: Offer a demo. No third-party two-factor-authentication-by-people-who-don't-understand-what-two-factor-means stuff needed.

Once you have people hooked, they will gladly open an account if they intend to return.
Because Carlos Slim's 3 work day a week philosophy is supported by other people working 5 or 7 day shifts.
Not pessimistic about technology, but about exaggerated article titles :)
This is good marketing, but you know what would be even better marketing? Give me access to that server for a week. Let me setup a demo of my biggest customer, and then run my tasks. We've started (and are in progress) of investing thousands of dollars in moving to Azure. A server this large is not something I can buy, and experiment on easily. Hard numbers would convince my superiors that its a better solution, but they're not going to give me $10k to do the experiment.
I wonder how many other apps are leaking like sieves?

According to the top-secret document, the agencies
discovered that the UC Browser app was leaking a gold mine
of identifying information about its users’ phones.

Does anyone know how it was leaking? Was it just neglecting to use SSL?
I love and miss RegexBuddy! If only they had a Mac/Linux version :( I've had thoughts about switching back to Windows while developing complex regular expressions.
I think the issue is that the licensing of GameWorks, which HairWorks is part of, prevents the game developer from sharing it's source code with anyone other than other licensees. That means AMD has to reverse engineer it if they want to optimize their drivers for it.
That isn't the case for TressFX, which is freely available to anyone and allowed Nvidia to quickly add support for it after Tomb Raider released.
Apple Rejects 'Breaking' App Due to One Small Mention of Android in a Screenshot