skysight-inc/HackerNews huggingface dataset:
I feel like this overlooks one of the more fundamental problems to Android development. It's not an issue with Java, it's an issue of Android being a cathedral of complexity. There are four dozen ways to accomplish the same tasks, each of which utilizes a different (but ultimately incompatible) piece of the API. You can build your Activity and embed your Fragment in it which houses a ListView to display your--- wait no maybe I should override ListView. No, people say that's a bad idea. Okay I'll override this object which ListView displays. Okay that kinda' works well enough. I'll figure out how to style that later. Okay now I need this thing to go to this other activity when cli-- maybe I should just replace the Fragment, since we're kinda' using the same data. No wait. I'll change the activity. Okay it looks like there's no function to do that. I'll go back to changing the Fragment to something else. Okay, that's giving me an exception. Lemme find where I can change the Activity... Oh, I have to do it elsewhere. Well I can hack my way around that.

It doesn't end.

"Button is actually a special type of view with extra properties." Great, so everything is a... You know what, I don't care. I feel like I did in the mid 2000's with game development: there are a thousand libraries which each are so complex that it's impossible to get good work out of them. Instead, I always ended up falling back to the simplest home-rolled solution. Except in the case of Android, there's really nothing more fundamental. I can (and do) use PhoneGap because it makes my life _significantly_ easier in many respects, but I think Android really needs to be restructured on a more fundamental level.
Time sync is very important because such games are typically played across clusters of machines, not just a single machine.
I really want the pixelated rainbow apple... Good memories.
* An elevator is basically an open door to a building.

* Every lift has mandated modes that allow an operator to take full control and override any building access controls.

* The security on these modes is poor.

* Don't do dumb things with elevators

I'd encourage you to watch it in full, as it is interesting and contains more detail than the above suggests.
You are far from crazy, it's just the opposite - you're doing exactely as one should. For (very) detailed explanation I warmly recommend "Good sleep, good learning, good life" [0] by dr Piotr Wozniak.

[0] http://www.supermemo.com/articles/sleep.htm
Kite – Self-hosted app platform built with Docker and Meteor.js
FWIW when I was researching Git GUIs for some CLI-averse team members, I came to the same conclusion. Sourcetree is the best and most feature-complete GUI out there for Git (Tower was one of the others I looked at).

Plus it is free.
Can a cinematographer explain to me why the Apple logo (or even the whole laptop) doesn't stay centered but shifts a few pixels now and then?

Would the clip look too polished (not real) if the logo remained at exactly the same position for the duration of the clip?

There must be a 'movie-technical' reason for this because it deviates from an otherwise pixel-perfect Apple ad.
This is a knockoff of a years-old site http://pleaserobme.com/
I'm not sure about over there, but here in the US I feel most of the remaining landlines are used by the elderly, which just so happen to be the desired targets of many robbers.
> This is something that the education system could fix. I believe that we should be teaching kids, starting in elementary school, things like binary and boolean logic, simple circuits with gates, etc. and then move up to memory, instructions, basic CPUs. Everyone should be exposed to some Asm programming. Higher-level langauges, OOP, etc. can be left to those who choose to go into computing as a career, but I think that due to the massive reliance that society has on computers and the influence they have on our lives, everyone should at least have a fundamental understanding of how these machines work.

I think this is backwards -- the high level understanding needs to be more universal, and the low-level left for those who seek to make a career out of it (though I think the high-level part that needs to be universal is even higher level than actual programming and is more basic system analysis, though combining it with some programming, including basic DB implementation, would be a good way to make it concrete.)
I was under the impression that 7.5 hours was optimal because it falls within the recommended 7-9 hours and occurs at the end of a sleep cycle, which should help you feel more refreshed and alert upon waking.
The evidence presented is IQ scores from 1932. Given historical gender biases this not persuasive. Culling scientific evidence from conservative think tank Op-Eds is probably not a best practice...
Seven things I really hate in database design
Tata Consultancy Services Partners with MapR Technologies
Bigger, Cheaper Batteries Will Eliminate Power Outages
Is this actually true for Scala? I was under the impression that statically typed languages run basically the same as Java on Android. Granted it has some other issues (such as running in to limits on the number of classes).
Surveillance provides knowledge.

Knowledge is power.

Also oversimplified, but I'm pretty sure that's the line of reasoning. I'm not convinced that it's wrong.
7hrs is completely consistent w/ my current, quite sustainable, sleep pattern.
It always seemed to me that this apparent divergence might have more to do with ambition or society than with brainpower. The physical differences between male and female brains are pretty subtle, hormonal and social differences are much more pronounced.

And if there were single gene changes for raising or lowering intelligence I expect they would have spread through the population even faster than adult lactase. Though I suppose you could argue that this is happening continuously and that's why we have the Flynn effect, but in that case you wouldn't find the relative IQs of national groups tracking their relative wealth in the way we observe even in response to plainly exogenous factors like Communism in East Germany.

I expect that there are some genes that increase IQ but have side effects[1], but I expect most genetic causes of variation in IQ rest on combinations of genes.

[1]http://www.iovs.org/content/45/9/2943.full
Sometimes I wonder if the reason "we" are creative is not that we're blessed with preternatural creativity, but that we don't lose it in adolescence. Children are unskilled, but creative. Most adults are skilled but not creative. They learn that it's better for their jobs and social status and peaceful way of life to sacrifice that creativity and conform.

We don't become conventional, boring, and uncreative because that life isn't an option. (Some mentally ill people destroy their creativity in other ways, but that's another story.)

It's those of us who have absolutely no hope of winning the compete-to-conform game (we're going to lose if we play, so why try?) that keep our creativity intact. We need it if we're going to have a chance.
As someone new to both programming and Android development, I think the biggest help is not some easy language but the questions and problems that have been asked on sites like StackOverflow. You can replace the language but how do you replace that whole stack of help articles written for Java for Android.
Too bad we can't patch IE.
And they can absolutely use it as a fallback for HTML5 video.

Using WMP Plugin, RealPlayer plugin, QuickTime, Flash, etc. is so... 2007.

MS also has(had) Silverlight but at some point they just stopped using it and most of the videos I've seen recently on their site(s) are HTML5 (no plugins required).

But not Apple. Everything (I've seen) on their site is QuickTime.
> How did you handle getting your browser to talk to a server running on a different port? (Cross-origin requests).

He's using grunt-connect-proxy to proxy the API requests through the grunt server so there are no CORS requests in this setup.
Beyond Energy, Matter, Time and Space
> How did you handle getting your browser to talk to a server running on a different port? (Cross-origin requests).

https://github.com/cyu/rack-cors

I used that gem recently, and it fixed my issue. Just added the dev, prod hostnames explicitly in the origins list in my application.rb.
The dependency-injected style is great for mitigating side-effects and avoiding hard dependencies in code.

The problem is that it's a poor substitute for currying and composition.
> StackOverflow shows just how powerful using a fast language can be. Compare the TechEmpower benchmarks [...] (we can assume .Net would achieve comparable performance to the JVM)

Except those TechEmpower benchmarks show .NET is not nearly as fast as Java. I think StackExchange prove that the platform is NOT the most important: it's much more important to make performance a priority in all engineering decisions, to benchmark everything beforehand and develop new technology where there's no good standard solution available. (think Dapper, protobuf-net, StackExchange.Redis)
Mirage v2.0: a recap of the new features
I have been using MakkhiChoose (http://www.kernelinsights.com/makkhichoose)
You could just run the api on /api via an nginx proxy, that way it uses the same domain. I.e. catch all the traffic coming in to /api and route it to the proxy for you rails app.
Wtf does being American have to do with anything? And no, it doesn't make a lick of difference. The given situation was a fighter pilot who shot down a commercial airliner under orders later at some point in his career being given a medal for some completely, 100% unrelated reason. Maybe he deserved to be tried for war crimes. Maybe he also deserved that medal. Can you see that this is not cognitive dissonance?
I sure am glad that I never accidentally pushed an unlabeled and unprotected "get fired immediately" button. If it is important to not have all the workstations on site shut down at once, go to the control terminal and disconnect the keyboard before the system startup employee comes in without any clue as to what is going on and starts his ordinary daily routine. Maybe write a note and wedge it into his keys?

Based solely on the shortened account, it was not appropriate at all to fire him. Convincing him that it was is just doubly inappropriate. There may be more to the story, but as it is, it looks like angry scapegoating against a hapless, lowest-level employee.
Annnnddd... we killed it.
Who are are talking about?
Depends on the what the software does.
Great write up! I wrote a bit[0] awhile back about setting html5mode routing with rails and angular using a similar setup which may be a useful addon to this article.

[0] http://mbell697.github.io/2014/02/04/yeoman-angular-rails-ht...
From the article, "'The problem with these studies is that they give you good information about association but not causation,' said Timothy Morgenthaler, president of the American Academy of Sleep Medicine, which represents sleep doctors and researchers, and a professor of medicine at the Mayo Clinic Center for Sleep Medicine." Yep. It's painfully difficult and expensive to conduct a good randomized treatment-control study of sleep duration with an adequate sample size for figuring out what is optimal as a population central tendency. I think the observation that many people put in a quiet, dark room in daylight hours will fall asleep is one hint that more Americans get too little sleep than too much sleep at night, but there is still more research needed.

When I used to live in the subtropical zone of Taiwan (the latitude of Taipei is about like the latitude of Miami, and the climate is not greatly different), there was still a fairly strongly established cultural custom of taking a nap, a siesta, after lunch. It look me a long time to get used to doing that, but it seemed to make sense, especially in the summer. Sleep patterns vary somewhat by culture and by climate, but the big influence on sleep patterns in the twenty-first century appears to be artificial indoor light, which is much brighter and much less expensive compared to average wages all over the world than it used to be. I always encourage people with sleep problems to get outdoors IN THE MORNING DAYLIGHT for moderate exercise to entrain their bodies' biological clocks. Behavior genetic research shows that the biological clock genes are deeply conserved in most animals, so that basically the same set of genes controls the biological clocks of both fruit flies and human beings. Some flies (and some humans) have gene variants that bring about problems like delayed-sleep-cycle sydrome, but essentially everyone can entrain their biological clock by controlling light exposure.
SE has chat forums now, integrated with the main Q&A forums.
Who Can Save Ayapaneco?
IMO, "price is at lowest" doesn't make sense at all. If I'm are interested in buying something, waiting for a while to save a few bucks would give me more pleasure than knowing what the lowest price of this product ever was.
Why You Shouldn’t Build a Billion-Dollar Startup
I wrote about using Rails + AngularJS in a CORS way -- http://dojo4.com/blog/angularjs-service-rails-api

Hopefully it helps you!
I love GoG. They have one of the best online shopping experiences I have seen yet. And they are the antithesis to Steam: No nagging ads every time I start a game, no pointless “updates” to the client (just so it can nag with even more ads), no DRM. GoG knows how to win customers with goodies instead of forcing crap on them, like Steam does. Seriously, I only ever buy games on Steam if I cannot get them anywhere else. Even Apple's AppStore sucks less than Steam (and it's not easy to suck more than the AppStore).
You might be interested in the Hawala system[0] of money transfer. It has existed for hundreds of years, and allows efficient international money transfers with no central authority.

[0] https://en.wikipedia.org/wiki/Hawala
What stood out the most to me is that some laptops are actually dirty, you can see the dirt on them. Guess they went with the "Ok, get the as raw as you can, we want machines that have been used". Kinda cool, especially from Apple since they are normally so strict and 'clean'
That's fair. I was responding to the critique of the Broad is being not very clinical, and that was a figure of speech.
Are you saying that usability does not need to be considered in the design of critical systems?

Human factors grew out of the need to build safe and error-resistant weaponry in World War II. Poor attention to human factors and user interface design was a factor in the Three Mile Island disaster.

http://en.wikipedia.org/wiki/Human_factors#In_aviation

http://en.wikipedia.org/wiki/Three_Mile_Island_accident#Huma...

With respect, to call this armchair usability and to imply that some users are just stupid is to completely misunderstand what usability is.
Why RAILS::API instead of something like rabl?
The second meeting took place in October 1988 at a summer resort in Western Virginia, sad and grey this particular autumn. The Americans turned up in force. Bill Bostwick, from the Department of Energy was the Chairman, Barry Leiner from the Department of Defense and Vint Cerf were present. The European representatives were thin on the ground: a German and British representative plus François Flückiger.

In 1991, 80% of the internet capacity in Europe for international traffic was installed at CERN, in building 513.

“You can't solve social problems with software.” – Marcus Ranum
Same experience. Nobody even questioned why I was trying to break into a car with a coat hanger at the gas station. Maybe the attendants inside saw me get out of it but one guy actually stopped and tried to help get it open (he admitted he had less experience than me at it). It was at least half an hour on one of our main streets.
Show HN: Create Resumes as data docs, with LinkedIn profile as initial source
The Firefox interface is written in an XML-like language, so you can fix bugs there if you know HTML+CSS.
OO is more general than that, it's just a general paradigm for code reuse. Polymorphism is one of many forms of code reuse (allowing functions to accept multiple type signatures). I wouldn't call it the "central point" because polymorphism can be done without OOP, and OOP can be done without polymorphism.
Better-informed Shoppers Buy Store Brands
The numbers are very impressive - a great case on how multiple cache layers can be employed to provide scale and performance.
It reminds me of Eclipse Plugin development. So maybe it's a Java thing after all :)
Another library worth mentioning in this space is Massive, which uses .NET dynamics a lot (focusing slightly less on performance than ease of use). https://github.com/robconery/massive
> Because it is hard and costly to have a system that does that effectively, and harder and more costly to actually maintain integrity in that system over time.

I don't think this is really true. I implemented it with Redmine for ~12 customer support people in a day or so. Been ticking along for five years without a complaint.
Web Development for Non-Developers
Downvoter: I'll take that as a compliment.
What if I joined Uber out of college? How much is that equity worth now?
Perhaps. I think Parse has done well under Facebook. I hope Flurry does under Yahoo too.
I only have this issue when I run at night. It seems like intense cardio in the morning is a better idea with regards to lessening sleep disruption.
God. UML.
Sure it is. You can sit on a street corner and people will literally hand you physical cash. It doesn't get any easier than that.
Once the component is mounted (there's a componentDidMount callback) you have access to the real DOM node and can access them (or perhaps store them as a property if necessary). The DOM node is also available from event callbacks and such.
> If you call the same number 10 times in a row, or let it ring for minutes, you can be reasonably sure nobody is home.

If it has an automatic answering system, you can't "let it ring for minutes", and if it has the ringer turned off (and there are lots of people who, with an answering, do this by default) then it won't even ring at all (though you'll think it is ringing.)
Super tiny sample size.
> And getting too much sleep—not just too little of it—is associated with health problems including diabetes, obesity and cardiovascular disease and with higher rates of death, studies show

I don't understand how people can honestly report stuff like this. If you are sick, you often sleep more because you are drained and tired. That's plenty to make the data look like that. Sleeping more doesn't necessarily make you sick in the first place. There's no point bringing this up because it would be silly to try to sleep less to improve your health.
Sorta weird how the 2 articles differ from one another about being "fired".

Count to ten article:

> I, naturally, felt terrible and was, appropriately, fired.

Honesty Wins article:

> But, naturally, that day was my last day of work at the American Embassy. But, not because I was fired; although, I might have been fired if that day didn’t just happen to be the last scheduled day of my summer internship.
Net neutrality defenders actually fine if Internet users decide what goes fast
Show HN: Beached – A new TV experience
This is one of the things I really like about SourceTree, that I can do pretty much everything from the keyboard. Several times a day, I type

- Ctrl-shift-+ (add file to index)

- Ctrl-shift-c (commit)

- (type the description of the commit)

- Alt-enter (validate)

- Ctrl-shift-p (push)

No mouse necessary.

The SourceTree people know how a developer works.
Or, write a framework in D.
Hmm. Unless I'm crazy, RABL is a totally different thing for a different purpose. RABL is a tool (as is the analogous JBuilder, the default JSON-rendering-thingy for full-blown Rails) whereas Rails::API is a framework.
"real" to who?
Oh noes, I get horribly tired from this instantly... as in "I just want to finish some..zzzZZZ".
Show HN: Bitcoin ATM
My first sticker on the air happened when I went to Campus Party Brazil. It hosted 8.000 Campers in a high tech environment. My tablet alone had about 100 people. The amount of Apple machines was too high, so I placed a sticker to know which machine was mine... today it looks like: http://i.imgur.com/i6koYyC.jpg
Can I host a Flock server and charge money for it myself? Many people may not like having to sync their data to servers in the USA, even if the data is encrypted.
That is only in the case of OOP as introduced by Smalltalk.

For example, OOP with multi-methods, does not imply such encapsulation.
The worst unix disaster ever? Could you elaborate for non-unix people such as myself?
No, they are general purpose languages that can be used for the web.

Languages like ColdFusion and PHP are web languages that don't make much sense outside of the web.
I agree with your general point, but I believe you need to choose components that have a chance of being fast if you ever want the overall system to be fast.

I didn't notice .Net in the benchmarks -- no .Net languages are listed but .Net is there as a framework. It's still x20 faster than Ruby.
"Sometimes I get to the point where I can't keep my eyes open after 30 mins in which case I pack away the book or kindle and go to sleep. "

Agree and I would add that an excellent way that I have found to get back to sleep (if you wake up in the middle of the night) is to do something similar. Although there are many things that say otherwise, I actually find that I can pull out the iphone, read for 30 to 40 minutes (even with the bright light) and I will fall back to sleep for the rest of the night. (In other words when laying there for 5 or 10 minutes doesn't do the trick.)
Conceivably, you could take your friends idea-- do some customer discovery and the idea morphs into something altogether very different. Where's your friend then? Do what you can to keep him as a bud. But a business partnership with equity requires a different level of commitment.
But good frameworks are essentially collections of commonly needed libraries (to solve whatever problem the framework is concerned with) wrapped in (hopefully thin) unifying API.
How to Sleep Less and Function Better
Why? How did Itoh demonstrate that the company would be better without him than with him?
Not after 5 years of depreciation.
No, if you're reaching for PhoneGap it's because you already know HTML/CSS/JS and just don't want to learn Android's UI. Android's building blocks are simpler and more predictable than HTML/CSS is, so clearly complexity is very much not the issue you are having. It's just lack of knowledge and a lack of motivation to learn it. Which is fine, just not at all what you are claiming.

Android's pieces do force you in to a significant amount of upfront complexity which makes rapid prototyping hard, but that complexity pays off a hundred times over when you start fleshing out the application into a real project. It's very critical infrastructure as the app complexity increases.
Yeah keep going, if it makes you feel good.

The fun part about dealing with people who are attracted to catchy slogans and binaristic thought generally is that they tend to get really touchy when you call them on it.

Which is what seems to be happening, here.
The person in charge of minimizing risk to their internal systems.

Unfortunately, most small companies have no-one who fills that role, or if they do, it's the same person who both has the power to fire others, and is unwilling to entertain the notion that they themselves are at fault.
Alan Cooper's About Face is a great book on interaction design for computers and one of his axioms is "Hide the escape lever". Basically make sure the ejector seat control isn't right next to the throttle.