skysight-inc/HackerNews huggingface dataset:
America is also the country that gave us 'stick it to the man', 'tune in, turn on, drop out', 'make love, not war'. America is a big country, big enough to find a space somewhere to l9ive your life almost any way you like and pobably find others who want to do the same too. In fact I'm hard pressed for think of any other nation on the entire planet that is more diverse. Anyone care to name one?

I speak as an outsider (a Brit) that's visited the US several times and has many friends and acquaintances there.
"It's always something." (as opposed to being mystically causeless) is a catch-phrase of mine when assisting new coders. I usually pull it out again after we find the mystery bug to reinforce the memory that mystery bugs are solvable.

In my many years of coding, I can't count the number of times that completely baffling bugs have eventually been traced down to errors that were concrete, understandable and usually embodied in just a tiny amount of erroneous code. My many, many experiences with this outcome gives me the confidence to keep digging even when I have no clue where to look. Without those experiences, what I do every day would seem like an unending stream of hopeless situations. That's why it's important to share that confidence with new coders --to help prevent them from failing due to despair just long enough for them to succeed.
> `malloc` isn't free

I see what you did there. :)
an article from recode.net - really? a fox news of tech.
It seems like the AOT compilation could be scheduled asynchronously after install. You don't need to prolong install wait for the user. If they don't open the app right away, then the first run will be fast because AOT should have completed by then. If the user tries to open the app before AOT has completed, then the first run will have to block for AOT to complete.
> The nation with the longest life expectancy is the workaholic Japanese culture so disparaged by the author!

There is a huge unbalance between men and women (which traditionnaly don't get the same chances to work in high pressure environments, and are less subjected to karoshi) and as someone else point Okinawa people won't have the same life expectancy as Tokyo area people.

This is a factor in the juxtaposition of workaholism and high quality of life in the same country.
Maybe auto-updating apps? It could be that the compilation is resource-intensive enough that it would slow down whatever user is currently doing when an app is updated in the background.
Love the small bank anecdote
Even .5% at Wal-Mart scale is a lot. Regardless, it's a bad enough situation that in March Wal-Mart withdrew from a $7.5 billion settlement to continue its own lawsuit against Visa et al: http://www.bloomberg.com/news/2014-03-27/wal-mart-sues-visa-...

I found a few other articles that support the guess that the big retailers are in the middle of an all-out war with their credit card processors (e.g. http://www.csmonitor.com/Business/new-economy/2011/0413/Cred..., http://www.forbes.com/sites/danielfisher/2012/07/24/wal-mart...), so now CurrentC and the rejection of Apple Pay makes a little more sense. I didn't get it before.
I like the emacs key bindings too, but many times I find myself reading the code with one hand used as a stand for my head. Vim's ease of movement across text is what I wish at such times. Of course evil mode come to rescue then, but I understand how so many people come to appreciate Vim's style so much over time. I am finding myself on the same path.
I wrote numbers in dollars for wider audience understanding, I paid salaries in rupees. As you might understand, a business loan from bank depends on collateral security you can offer , I could only give 200k collateral hence the business bank loan got limited there.

One of the most important lessons , I got early on is ,you need developers and staff full time on rolls,right next to you if your business model is dynamic and also you are not sure of staff quality. If you go to skillpages, there will be thousand resumes claiming they know Python , once you hire them you will know the quality, outsourcing works to that kind student quality is like sure shot disaster.

Also I just was not lucky enough to find quality talent to outsource.

About india being good for entrepreneurs , yes and no, depends on what you are working, but just to give up on startup idea altogether is not recommended ,choose carefully plan well and most of all EXECUTE WELL.
How Jerome Friedman Discovered Decision Trees
Even when it was created, Dalvik had a sub-par GC. A bad GC implementation doesn't say much about GC in general.
Nice little tool. Very clean source code too; might have to look into NodeJS myself.
The CEO of Uber Admits He Tried to Nuke His Biggest Rival's Fundraising
Some math: http://fortune.com/2012/05/18/no-facebook-did-not-make-bono-...

So, again, at best Bono gets $43 million.
Or, in other words, just more than Britney
Spears will make for two years of judging
The X Factor. Let alone Paul McCartney’s
reported $1.04 billion net worth. Clearly
Facebook has been good to Bono, but not
nearly as good as is being portrayed…
They are compiling to native at install-time (or on first boot if you're upgrading to ART on an existing device). I'm not sure exactly what overhead is happening on first run that would cause a slow down compared to Dalvik.
As I understand it, retailers use loyalty cards to improve their customer-level data and as a way to act on that data (e.g. targeted coupons), but even the baseline they can extract without loyalty cards is very important to them.

In fact, even after last year's breach, Target clearly isn't happy offloading that nightmare. They're currently teting CurrentC: http://www.dispatch.com/content/stories/business/2014/11/10/...
Sorry but this looks like a huge mess on iOS
One of the things people do when discussing HN topics is share other resources that they feel have some bearing on the topic at hand; it also seems to be a common practice to offer alternative perspectives, complementary ideas and criticisms related to the OP or comments on it.

I do my best to make sure that all my comments, whatever their nature, follow that pattern. So, no, I'm not trolling, or "thread shitting", or anything along those lines. If I didn't think my comments were relevant in some way, I wouldn't make them -- that's just basic HN etiquette. If you don't like what I have to say or think I am in fact trolling, by all means downvote my comments. Also, if my comments really bother you, feel free to implement a little script that filters them from view. You could even make it general purpose, put it up on GitHub and submit it to HN.
Eben Upton explains the Raspberry Pi Model A+'s new design
There was tons of Bitcoin stuff a year ago, but the bitcoin hype is pretty much over now.
Thank you for commenting.

Although I like the new pattern the author presented I almost dismissed it because the performance was significantly worse than the react example.
Presumably the humans writing popular garbage collectors are significantly better at memory management than the average programmer. You wouldn't say that humans shouldn't go to doctors until there are AI doctors.
It does, actually. The fact that good GC implementations are rare means that GC in general is necessarily subject to poor GC implementations and all the problems that go with them. That may change over the coming years but the fact that it's taken nearly three decades to get the state-of-the-industry in GCs to an acceptable level shows what a struggle it's been.

It's a bit like the folks who say that dynamic languages can be just as fast as compiled languages. Perhaps eventually, but in the here and now in the typical case that claim misses the mark by orders of magnitude.
I have a hard time understanding why Protess, Ciolino and Rimland are not under arrest right now. Maybe that's still coming, but destroying the life of a person should not be without severe consequences.
I think that most discussions of bitcoin aren't technical/development in nature, or startup oriented and bitcoin is pretty stable, tech wise. I think an innovative startup using bitcoin could get up on the front page for a while. But stories like how bitcoin is being taxed were up for a while, because that was a significant change for US people.
That image has nothing to do with material design and cards have nothing to do with tiles. It's very far-fetched to even suggest that Material design and Metro UI are even remotely similar.
This 125mph train is fitted with LASERS. Sadly no sharks, though
How does Android's support for 64-bit avoid the memory bloat?
Googling for "Warewolf" is not a pleasant experience.

Step one is to turn off the typo correction to "Werewolf".

Step two is wade through the people who can't even spell "werewolf", e.g. "How can i become a warewolf? - Yahoo Answers"
Google's design guidelines advise using flat buttons "for contexts such as toolbars and dialogs to avoid gratuitous layering". Seems to me there may be cases where they are useful.

http://www.google.co.uk/design/spec/components/buttons.html#...
Is anyone working on pure CSS theme/framework with Material UI?
Indenting/formatting conventions can make such a mistake easier to detect.

Compare

(unless

(member

(package-name package)

'("COMMON-LISP" "KEYWORD")

:test #'string=) ...)

and

(unless

(member

(package-name package)

'("COMMON-LISP" "KEYWORD" :test #'string=)) ...)

If `member` requires 3 arguments, then it's easy to spot the mistake in the latter.
Joking aside, Isn't node.js created for streaming data almost exactly like a mail server should?
How to build a large scale in-house test lab
3-D digital holography of moving objects at a million frames per second
http://ftp.company.com makes perfect sense. It is the http listing of the files stored on the server, linking to the actual files served using FTP. FTP isn't made for dynamic content and the file list is just that. The main role of the domain is FTP serving, though.
Maybe so if you live right in the middle of Cologne city. We live about 20mins north of Cologne, and finds that the language barrier is very real, especially when trying to form social bonds with the local population.

Having visited Berlin once, a couple of years ago. I felt that not being to speak German is less of a obstacle than in other German cities.
You can use inBitmap in order to reuse bitmap instances instead of of allocating new objects.
If it fits your use-case, Glide is a very modular lib that implements inBitmap.
It is true that you will always have to create some objects though. For example with Glide, a DataFetcher is created with each new image request. You should do your best to keep it at a minimum though, with a focus on creating heavy objects only when it is absolutely necessary.

Other than that, lag can come from many things, so if you lag without GC, the only solution is to profile that part of your app.
For people learning to develop with client side frameworks having a real data source is very helpful.
There is, actually; Crossbrowsertesting.com .. it's good.
> Paxos is difficult - all of them, Raft, Quorum, leader election, etc. DO NOT USE THEM unless you are Google, Amazon, Walmart, or what not. Even then, do not use them. Instead, I've solved this challenging problem by developing a new Conflict Resolution system

Just in case anyone else is considering this: it's a bad idea. Developing a correct consensus algorithm is a lot of hard, unusual work. It's also useless until you can prove it correct.

Paxos, Raft and ZAB (Zookeeper's protocol) have already been proven correct. Pick a library for one and use it. Raft is probably easiest to understand and use.
Exactly, if Tor being insecure and therefore your traffic getting you in trouble is your primary worry that's actualy a first world problem. Even using Tor at all is easily sufficient for any truly authoritarian regime to come down hard on you regardless of what your traffic contains.

> we in the west arent that far behind authoritarian regimes such as China, Iran and Russia

In terms of the surveilance capabilities of the state, you're probably right. But e.g. China censors perhaps hundreds of thousands of messages a day and blocks access to vast swathes of the web. It actively uses online surveilance to crack down on activists and civil society groups on a routine basis. I don't like governmental overreach in surveilance and I think their systematic weakening of civilian security and privacy are massively counter-productive. There are also too many cases of police abusein many wester countries. But that's not the same as running a systematic, actively authoritarian police state.
You completely misunderstood me. I'm not saying that you always drive yourself to misery wanting what you don't have, just that human happiness is often a very complicated thing, and not one that should be viewed first through the SV prism of "optimization".

> if you know you're not going to enjoy it when you get it, you can simply stop wanting it.

Actually, Daniel Kahneman has spent the last few decades showing that that's exactly what people do: they want something that they know will make them happy, but once they get it, it doesn't make them as happy as they thought, and they want something else[1]. It is called the focusing illusion and Kahneman summarizes it as "nothing in life is as important as you think it is when you are thinking about it." Stupid, I know, but that's how our particular species of apes actually behaves, and this is a lot more rooted in reality than optimizing happiness.

Aside from the focusing illusion, Kahneman demonstrates that people's tastes change over time, and you might not even want what you want now by the time you get it.

Again, this all simply shows that human happiness is complicated; not that anyone knows exactly how it works.

[1]: http://www.psychologytoday.com/blog/ambigamy/201204/nobel-pr...
They are only fat at the store, the devices only see the .so they understand.

And it isn't that hard to have "APP_ABI := all" in Application.mk. The build just takes a little longer on the CI system.
I absolutely agree! And I hope that a module system will help C++ in improving its compilation times too: templates slow gcc a lot.

Just an example. In the previous months I had to re-write a medium-sized project (~5000 lines of C++), and I chose to use Free Pascal instead of C++. The old C++ code took ~1 min to compile, while Free Pascal only requires ~1 sec! It is so fast that my makefile uses the "rebuild all" switch every times it calls "fpc". In this way, at each recompilation all the hints/warnings are printed again and again, and there is no risk that I miss any of them.

Another thing that C++14 lacks is a decent set of features in the standard library. How can it be possible that the STL includes esoteric features (see "partition", "is_permutation"...), but not a printf-like formatting facility à la "boost::format"? I cannot stand the usage of ios::setw et similia!
For Google, ART seems bigger than just Android. Consider the degree to which their infrastructure depends on the Oracle JVM and the associated strategic risk. As one datapoint, recall the Oracle vs. Google Java lawsuit. How much additional ART development effort is required for correct execution of non-AWT (Abstract Windowing Toolkit) Java applications (essentially, headless server processes)? I know the Java/JVM ecosystem well, but I have not done any Android development. Surely, Google wants control over the destiny of its core software stack.

The article doesn't mention one seemingly huge benefit of JIT compilation: profile-guided optimization:

http://www.slideshare.net/ZeroTurnaround/vladimir-ivanovjvmj...

Perhaps the baby has been thrown out with the bathwater?

Little is mentioned about how ART compares to the JVM. For example, does ART perform escape analysis? Not all object allocations are equally bad. The Sun JVM can figure out which objects may be allocated on TLABs (Thread Local Allocation Buffers) - an optimization which reduces the burden placed on the garbage collector because TLAB-resident objects may be deallocated as the stack is popped. [Please fact-check me as I'm merely a long-time Java developer vs. an expert on JVM internals]
> Which is a problem with how Android updates are distributed, not the principle of doing AOT compilation on byte code. I think pretty much everyone agrees that the push of updates to Android devices sucks, compared to iOS or, to some extend, Windows Phone.

That is why I said:

-- quote

That is the theory, which I preached for a long time as well.

The real life looks a bit different.

-- quote

So one is bound to use the approach that works best, regardless of how it could be.
Looking at the Backblaze blog posts where they break down the cost of building their "storage pods", the $/GB cost of storage has hardly dropped since 2011: https://www.backblaze.com/blog/backblaze-storage-pod-4/.

So at some point storage costs will hit a pretty inelastic floor price and then things will get very interesting for companies that advertise free or very low cost "unlimited" storage as their monthly costs will increase with every extra GB that their customers upload.

It's safe to predict that other photo storage & sharing sites will follow Everpix in going under. E.g., Shoebox (http://shoeboxapp.com/) seems to have the exact same business model as Everpix so I can't see them surviving long-term unless they kill their free plans.

David Rosenthal (http://blog.dshr.org/) also has lots of good info on the economics of long-term storage.
Mercurail support is main Bitbucket feature for me. If mercurial support will be added to GitHub I will switch to GitHub. But I don't think, that GitHub will support anything except git.
Concurrency, locks, actors and software transactional memory in plain English
Reality is generally more complicated than the simple narratives that make sense to people. Binary sexuality is a nice story.

In a similar way, technical contributions often have a more storied history than is really acknowledged. The kinds of people who get credit tend be those who want it.
You'd think that people running hidden services that are commercial and illegal in nature might push some money to the TOR project for these purposes.
It is a quite complicated subject. It is partly a result of colonialism, partly of nationalism, partly of globalization and partly of the way world unfolded after WW2.

Basically, beginning of the century, when Asian countries got 'freedom', all the political leaders who got power were educated in western philosophy. They read western books, spoke western languages as a sign of education and adopted competing western ideologies as the model of society. The old, native one was discarded because it was a memorial of defeat. And people accepted it. You can see that everywhere - Gandhi was a barrister who wore coat before he become a monk (and all his lieutenants, from Nehru to Ambedkar, wore suits), Mao wore western clothes. Korean, Japan - they are the best examples of it. Rich people had become rich by following foreigners, and when foreigners left them alone, these same rich westernized people became rulers. Since then there is a fascination with everything west. There are some poor people who are still clinging to the old system, if they can. But the middle class has almost no option if they want to get rich.

As I said, it is a very complicated topic in sociology and there is no way I can explain it, as much as I understood it, here. I am eventually planning to write a book, starting from a dedicated blog. Will update here when I do.
I agree with this (sort of). I find Entity Framework very usable and it does help you write descriptive and maintainable code, but the SQL queries it ends up writing makes it a performance nightmare. YMMV of course but for applications where performance is important I haven't found EF to perform adequately. As ORMs go all I really want is an abstraction layer and the mapping from query to POCO classes without the performance hit. Currently using Dapper.
>In 1939, Clarke was recruited into the Government Code and
Cypher School

Sickening BBC propaganda, after all this years they still pretend Enigma was cracked in England :/

Yes, this woman cracked enigma single handedly, by enlisting in school in the same year British government receiver FULLY FUCKING CRACKED enigma model and mathematical description from Polish cryptographers (Zygalski, Rozycki and Rejewski).
Well, OpenJDK is getting AOT compilation as well (planned for 9). In addition to JIT.

The SubstrateVM is the AOT compiler for Graal.

And many commercial JVMs do offer AOT compilation.

Also, .NET has had AOT/JIT since the very beginning. And now static compilation is coming as well.
I was happiest 15 years ago working as a raft guide and traveling the world. I had very little money then, but I was very happy. I got to do what I loved every day. I usually made two large purchases per year (the opposite of what this article suggests) - a kayak and a return ticket to my next destination.

I now sit in front of a computer. Earn OK money but not enough to retire on anytime soon (I am in Spain just now, money isn't great here). I guess I make lots more smaller purchases than I did in the old days (though they are usually far less meaningful to me than the large purchases I made back then). I was definitely happier back then.
> One of the things people do when discussing HN topics is share other resources that they feel have some bearing on the topic at hand; it also seems to be a common practice to offer alternative perspectives, complementary ideas and criticisms related to the OP or comments on it.

However, one of the things most people here don't do is use HN as a convenient platform to push their beliefs at every possible occasion.

> feel free to implement a little script that filters them from view.

No. You are the one with the annoying, spamming behaviour. Don't tell me to put up a spam filter. Stop spamming instead.
Still, Von Neumann was certainly not the only one advocating this, the most recent discovery is: Winston Churchill, 1947:

http://www.dailymail.co.uk/news/article-2826980/Winston-Chur...

"A previously unseen memorandum from the FBI’s archives revealed that Winston Churchill urged the US to conduct a preemptive nuclear strike against the Soviet Union to win the Cold War"

"The memo is published for the first time in a book called When Lions Roar: The Churchills And The Kennedys, by award-winning investigative journalist Thomas Maier. It is due to be published in Britain next month."

That insanity obviously wasn't in only one person's mind.
You wrote about the time when you weren't beating yourself for not being productive enough and you described that past experience in a way that seemed to me like you were happy. What made you want to become productive? What did you imagine 'productive' looks and feels like? Could you track down your most internal motives?
“Guess, don't measure” antipattern for performance tuning in action
OVH servers exploited through shellshock
Android's model for 64-bit support also seems superior to all other operating systems, in terms of not adding the "64-bit memory bloat" (which is roughly 30 percent more memory required for 64-bit apps), so in terms of RAM needed 64-bit Android apps should actually require less than 64-bit iOS apps.

Is this actually going to be the case? 64-bit addresses allow the use of tagged pointers, which I understand ameliorate any additional cost introduced.
http://material-ui.com/#/components/dropdown-menu really? how can this be good usability. it's text and an arrow far, far away. this could be anything and does not in any way imply any kind of select action. if this is really implemented after the material design spec of google, than oh man, google really has an issue.
Yes, thank you (by the way I am totally unable to properly quote things here). I understand, yes.
Your old life reminded me of the Mexican fisherman story :)

http://bemorewithless.com/the-story-of-the-mexican-fisherman...