skysight-inc/HackerNews huggingface dataset:
In theory, anything can be used for Android development.

In reality, the cost of JNI bridging, reboxing objects and the fact that Android APIs heavily use Java objects as parameters makes usage of any non-JVM compatible languages horribly ugly, clunky and rather pointless performance and code-quality wise.
A new gasoline or diesel "engine" (whatever that means) costs nowhere near $10K. Even at a standard to high shop rate, that cost is on the high side. Also, an "engine" is really a collection of components, unless we're talking about simply the "engine block".

Source: Family of petrol-heads.
AngularJS Education
Yes. Type classes is a way of doing polymorphism in Haskell, the central point of OO.
Your comment about peak current confuses me. Was that just meant to address normal cars? Because the starting current for a Prius comes from the high-voltage battery, not the 12V battery.

As for topping off the 12V battery every so often, I don't think there would be much point. Most people drive their cars at least once every couple of weeks. If they don't, a cheap trickle charger will keep the 12V system happy while it sits idle. No point in adding equipment to solve a 0.01% case that's easily solved by the people who need it.
The ship was saved, as well. http://www.marinetraffic.com/en/ais/details/ships/563329000
Thinking about this more, I'd agree with this too. That and mediation. Back in my insomnia years, I got so bored of lying there awake that I took up meditation. I found that when I meditated (sometimes up to an hour) I found that I needed even less sleep.
Creating optical cables out of higher density air
They're not childish--they're a signal of membership in a cult.
Since the car was under warranty, why is $0 cost so great? Isn't that completely standard for warranty work?
I always considered it a mild anti-theft measure. "Hey, that's my ..."

[meaning sticker combos should be pseudo unique]
I have one "sticker" on my Mac. A piece of gaffer's tape over the glowing logo.
i've it as a sticker.
Come to ZA please!
Wi-Fi security tool takes aim at drones
We do this at my company, https://trackif.com. More than products (for instance we'll track rubygems, npmjs & github). I just haven't gotten off my butt to write a blog post about it since I figured "price tracking" wasn't a topic that'd interest the HN community.
Firstly, firing the intern doesn't make sense - it was a mistake waiting to happen and he just happened to do it at the wrong time.

Secondly, the punishment meted out should be:

1. Proportional to the degree of carelessness (in this case not that much since he accidentally hit a wrong key adjacent to the right one, didn't mow down anybody while driving drunk)

2. Inversely proportional to the likelihood of the error (in this case the likelihood was very high since the reset key was a. uncovered/single-press b. right next to single reset key).

3. Proportional to intention (this was a completely unintentional error)

If you say, that the punishment should also be dependent on the degree of damage, I would say that the responsibility of managing the risk of such damage wasn't his but of the person responsible for implementing such a high risk design. If such a person is not around, find the person who approved such a design. Government departments are usually very good with paper trail.
Agreed. I've used Tower since one of the earliest releases and was ready to pull out my credit card before even reading what the new features were.

Meh.
I've been working with new contributors for some years now. Here are some advices:

- find a mentor. It will helps a lot (use http://www.joshmatthews.net/bugsahoy/);
- for the first bugs, writing code is not usually the hard part. Understanding bugzilla and writing tests are;
- ask for a commit access level 1 early to have access to the try servers (to run the tests);
- finish what you start. Bug is fixed when it lands, not when a patch is attached;
- mozilla hackers are nice people, ask questions on IRC. There's no stupid questions (we all started from zero too);

Everything will get much easier after the first bug fix. And motivation grows a lot once you have finally landed some code :)
Yeah, Disney to D looks good but the Nike to Nke transformation is terrible.
Agreed. Ubuntu people are just as crazy as Mac zealots.
Even without that flag enabled, you can restore all tabs when closing/reopening Firefox.
History > Restore Closed tabs.
Radio waves bouncing off each other is a simple and straightforward consequence of applying the Poynting vector and the Poynting-Heavisde theory of electromagnetic energy flow to superpositions of electromagnetic waves. They "bounce" in the sense that a forward propagating wave exchanges energy with a reverse propagating wave. The waves pass through each other, but the energy recoils elastically or "bounces." See http://arxiv.org/abs/1407.1800 for more technical details.
I'm talking about languages evolution. PHP5 got a Javaesque Object System, closures, generators. The idioms that will emerge will be close to other language with similar features, and what made php php is becoming less and less so.
It depends on your definitions of "a lot" is. It can scale pretty high by default, but when you're doing hundreds of millions of objects in a short window, you can actually measure pauses in the app domain while GC runs. These have a pretty decent impact on requests that hit up against that block.

The vast majority of programmers need not worry about this, but if you're putting millions of objects through a single app domain in a short time, then it's a concern you should be aware of. This applies to pretty much any managed language.
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.

It IS impressive to be doing this, at least once you're past the stage of having a few guys doing customer support.

Building an integration between a CRM and a backlog/bug tracker has some complexity. Maintaining that over several years and proactively contacting requesters back is impressive. At least in my world. :)
The more I play with this, the more I like it. There's some potential for mischief here as well:

$ sudo su
$ killall sshd
$ fiu-run -x -f "/tmp/sshctrl" $( which sshd )
$ ps aux | grep sshd
root 5177 0.0 0.0 56272 1256 ? Ss 14:45 0:00 /usr/sbin/sshd

nothing visibly wrong in ps output

$ ssh root@localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established. (...)

works, we haven't messed with it yet

$ fiu-ctrl -e 'posix/*' /tmp/sshctrl-$(pgrep sshd)
$ ssh root@localhost

hangs; sshd process stays at 100% until it is killed or gets posix/* functionality back
I've not worked in a company that sells an end-product, I've only worked building websites themselves. Like you say, i'm sure their issue tracker does most of the legwork for them, but it's still a big deal that they actually do this.
A little bit off topic but... can someone please remind me why does Apple continue using this horrible thing called QuickTime Plugin?
What about OOP in Django? Controllers are just functions on module level, models are just "poor" records for storing data (no behaviour), ORM is singleton-based. So I would say it's procedural, not object-oriented, at least, not in Java sense.

Strongly disagree. The internals of Django are full of inheritance and mixins (a form of multiple inheritance), and so are the class-based views and the forms.

The CBV class hierarchy is complex enough that someone had to make this site to help everyone keep them straight:
http://ccbv.co.uk/

If you only write FBVs and implement your own views and forms from scratch you can keep your code fairly procedural, but I would say that Django heavily [ab]uses the OOP features of Python.
You probably are angry at the "length" of the dependency chain, but I see no conceptual difference between the two bootstrapped tools.

Of course, I am looking at this far from the battle-field, so maybe I am being too non-chalant.
Does that even work for memory usage by native code?
Debugging Xtend is straight forward. On a normal JVM you can even switch between generated Java and original Xtend source during debug, depending on what level you would like to step through.
On Android you need to decide using a compilation flag whether you want to step through the generated Java or the original Xtend source. This is because Dalvik doesn't support JSR-45 which Xtend uses by default. So it basically just works.
How 3D can boost your crowdfunding campaign
I would add, sometimes the "private API" that you would like to debug is the one that you are creating. I have found Charles to be essential whenever I'm asked to enable CORS so that browsers can make cross-domain Ajax calls to the server where I'm creating software. For complex requests (and any PUT or DELETE) the browsers will do a "preflight" OPTIONS request to see if the request is allowed. Strangely enough, the CORS spec actually encourages browser-makers to hide (from the Javascript client) the OPTIONS request. FireFox hides the OPTIONS request completely -- and so this is one of the few times that FireBug failed me. FireBug never sees the request, so it is unable to tell me about it. Getting CORS right usually means seeing what is in the OPTIONS request, and what your own response is (I mean, the response of the server software that you are writing), and I found Charles extremely useful for that bit of debugging. (cURL will also fail you in this case, as cURL is not limited the way Ajax requests are limited -- the cURL request will always work, so it won't tell you why your Ajax call is failing.)
> Figures recently published by Ofcom said that nearly a quarter of all UK downlaods [sic] were of pirated content.

Also from that Ofcom report :

> The research also showed that those who pirate content were likely to spend more money on legal downloads. Over a three month period piraters spent £26 compared to £16 from those who refrained from infringing copyright.

> 1.5 billion downloads of media that infringes copyright

So if that's nearly a quarter then over 4.5 billion downloads per year of media are copyright free or paid for in the UK with an online population of over 50 million - 90 such downloads per person per year - one free/paid for d/l every 4 days and 1 "illegal" d/l every 12 days.

Also consider that people download far more "illegal" files than they actually end up using.
I actually just wrote a lengthy email about what we're planning for storage on one of our SQL clusters...perhaps I should echo it verbatim as a blog post? I'm not sure how many people care about that sort of stuff outside our teams.

Yes! please yes. The occasional real world gem like that is what makes scrolling past a thousand javascript-framework/obscure-language/alternative-datastore posts here worth it (for me).
It's also important due to it helping one understand everything that's going on under the hood in whatever high level language one's using
What's wrong with Git Extensions?
I used to suffer from that overanalysing of situations too, always delving in worst-case scenarios. So I decided to do something about it and started myself into zen buddhism.

Meditation has really helped me in that department, I'm now happier, anxiety is basically gone, and live better now.

If you haven't heard about this book, let me recommend it to you: Zen Mind, Beginner's Mind - Shunryu Suzuki (this is how I entered myself into this buddhism thing).
Startup Lessons: Selecting the Right Tools and Processes
Kotlin looks amazing! I'm about to try it out.
"We decided to pass on the annual service. The alignment had already been performed when we installed the new tires. System monitoring? We were just there in May when Tesla took care of a laundry list of items. Plus, they were already installing the firmware upgrade as part of the "Courtesy Inspection." Hardware upgrade? Any critical part should be (and was) covered under warranty. More on that later. So the only thing we were missing out on was the AC filters and the wiper blades, not worth $600."

I love how they (and most) rationalize skipping this service (aka maintenance is for suckers). The more time a trained mechanic spends under, in, on and thinking about your car the better. Especially when it's a techno-feast such as the Model S.
A significant portion of the population finds it completely acceptable to plaster their political beliefs on their bumper, both via stickers or their license plate itself. You might find it distasteful, but it's hardly rare.
Show HN: We visited 250 startups to show you what it is like to work there
The Very Serious Business of Building The Fastest-Growing Company in America
You can use libraries instead of frameworks to avoid reimplementing/reinventing functionality.
> The article felt like it was trying to rationalize something, like Android needs a Swift.

Android probably doesn't need a Swift as much as iOSX did, but there's still a lot to be gained from having a less verbose programming language (and corresponding platform API). Objective C, despite its older features and unfamiliar syntax, was more expressive already than Java was. With Swift, they removed the legacy and made the syntax familiar.

But I don't think this is the answer. If you debug Scala on Android at least you don't have to make a mental mapping of what the corresponding Java translation of your function would look like. A true new language with good features and 'light' syntax would be great. Google already has such a language: Dart.

But Google has already said that at IO 2014 that Java is the language for Android and it will stay that way.
I really appreciate that the Broad keeps a lot of attention on basic (or at least, pre-clinical) research. That kind of work is critical to making big discoveries but it's harder to defend for funding in a world where we want to put drugs on shelves. I still want to see drugs on shelves, but starting at the clinic isn't the best way to make discoveries that lead to real therapeutics.
If I were to pick any language to do Android dev that wasn't Java, it would be Kotlin. It's a great language with a great IDE. I haven't done Android projects with it, but if I were hell bent on not using Java, that'd be my choice.
Actually the correct answer to "how many hours should I sleep?" is: it depends.

I spend several hours a week breaking down my body by lifting extremely heavy weights at the gym each week. I don't feel good with 7 hours of sleep. My body needs to repair itself.
I agree with the general sentiment of the article. I have used Java since the beginning and I have written many books using Java for the examples in the books.

I mostly use Haskell and Clojure (with little text utilities in Ruby) now, but I still do find that Java is sometimes the best language for some projects. Off topic, but Java 8 streams and inline functions made the language better.

That said, I no longer use Java in any sort of "standard" way. I stopped using getters/setters years ago in favor of public instance variables. I also write a lot of static methods ("functions"). Basically, I try to make my Java code as concise as possible.

I also have turned my back on large server side frameworks. For web services, embedded Jetty and a JSON library is often all the library support that I need.
Interesting - I guess the amount of time spent and the degree of common goals, amount of common successes/failures do have a bearing on the strength of sense of belonging to a group. Maybe the experience you were getting in the meetups etc, wasn't scoring high on those points. E.g. you may be only spending 2 hours on the weekly football you play with your friends, but the sheer intensity of the shared experience in such a short time might give you more satisfaction than other activities you may be doing more frequently.
While most smartphones, theoretically, could get their time from GPS... do any use this method? As far as I know, my Android handsets get their time via NTP.

Ironically, often a misconfigured NTP server screws up GPS fixes (it somehow seems to be necessary for assisted GPS, which relies on the cooperation of the mobile network or Internet to faster acquire a GPS fix).

http://stackoverflow.com/questions/8308412/gps-how-ntp-time-...
Add a a Donate to Gaza ribbon to your site
$1300/month w/ a 3 year commitment is $46.8k over the lifespan. Which is more then 4x more then the actual hardware cost. Your ROI on a physical server with the same stats at that price tag would be 8 months.
"I definitely feel my best"

A careful read of the article indicates its from the perspective of maximization of lifespan and maximization of short term productivity. Why must they both be the same or have anything to do with each other, beyond numerological coincidence?

You're talking about a completely different metric, which is quality of life.

From personal experience in .mil my "combat effectiveness" for uncle sam probably was maximized by only being able to sleep for about three hours per night. I would not wish that hell on anyone.

There should be more to life than merely making someone else richer at the fastest rate you're capable of, or being the last guy in your cohort to die, while suffering in agony.
U of Iowa School of Social Work did a project where grad students wrote papers on pseudo-additions to the DSM diagnostic manual, to illustrate the process which influences later diagnosis.

http://www.dsm4tr.com/whatis.html

http://www.dsm4tr.com
Social Point Raises $30M in a Round Led by Highland Capital Partners Europe
That example doesn't apply here. The utility covered the cost by selling bonds. Municipalities use bonds to fund the building of toll roads and other long term projects without tax dollars.
Buyable does a similar (identical?) thing http://buyable.me/
Show HN: Angular.js API Browser
Nvidia  Shield tablet
I actually have a different problem. Java developers that are IDE jocks and dont have any kind of understanding of what is happening underneath the API. Take these guys outside of the IDE and they dont even know how to compile the code.
I lift most nights but by the time I get home from work and to the gym it's like 7pm. Workout for 1-2 hours and it's nine. Trying to come down from that before midnight doesn't work. Then it's up at 6ish again.
I bought Tower before I found out about Sourcetree, and while I enjoyed using it, I found that Soucetree was way more feature rich. Can anyone give me a reason why I should fork over even more dough for an app that I'm not even sure I'd end up using?
Identifying back doors, attack points and surveillance mechanisms in iOS devices
Overall the Tesla seems like a Range Rover (owned one, wife worked at dealership). Amazing technical features, but with all that bleeding edge technology comes high maintenance needs. Don't get me wrong, Range Rovers are amazing vehicles to own, but you have to accept that you'll be using that loner-Rover a handful of times each year.
That is why I mentioned to put a watchdog on it. At some point if you ntp server can't be reached, and you have clouds, and don't want to invest in an expensive atomic or maser based clock, you just don't get nice time sync.
The language has some very poor design decisions baked into it (read: no functions) but the biggest problem with Java is that it's the lowest common denominator enterprise programming language, and managers have used it to lower the bar in their attempt to commoditize programmers. As a result there are lots of Java programmers on the market, with low salary expectations, and the code they produce is of commensurately low quality. As Paul Graham put it, Java is a language you learn to get a job. Do you want all your company's code to be written in a language that your programmers only learned because they needed a job?
Hey everyone,

I've been a proud member of HN for over 6 years and am happy to get to post a Show HN again (has been 780 days since the last one).

This is the second attempt to post today (the last attempt was marked as duplicate post as a Show HN done on this domain years ago).

We spent the last 5 months building this product from complete scratch, we visited 250 startups across Europe. I would very much appreciate everyone's critical feedback.

For those who are at startup school next Saturday in London, come find the guy in a Tyba tshirt.

All the best,

Eiso
What can Python learn from Haskell?
Kotlin for instance doesn't support something similar to active annotations aka compile-time macros. This is a very powerful concept. Here's an example of an annotation from the Xtendroid project (https://github.com/tobykurien/Xtendroid/blob/master/examples...)
I don't have any sources but for a lot of people this seems to decrease with age. I'm 28 and I can still sleep for 10-12 hours if I don't have any reason to get up, which is rare. However, I don't think my dad can actually sleep more than 8 hours if he wanted to.
> I'm thinking it'll be a very expensive used car to keep on the road, which will limit it to collectors or rich people and/or severely impact the resale value.

I think $100k cars are already limited to rich people.
> But I don't think this is the answer. If you debug Scala on Android at least you don't have to make a mental mapping of what
> the corresponding Java translation of your function would look like.

Again, this is also not the case with Xtend.
See this screencast : https://vimeo.com/38425995
You might want to try f.lux. Since the problem with electronic devices seems to be blue light, changing the hue of the screen to a more reddish tone seems to prevent the serotonin production inhibition associated with blue light.
Yeah, I can't tell you how much pleasure all those demos have given me over the years, so the opportunity to thank someone directly is really satisfying to me. Thanks again. :)

I recognise your/those names from other releases (like quad, and haujobb). And like you said, others may have been more impressive technically, but it's the threestate ones that have always stuck with me, for that amazingly perfect (IMNSHO) combination of technical impressiveness, visuals, and audio.
I still have nightmares from this buggy mess. To add insult to injury the shop didn't want to take the game back afterwards.
I'm seeing lots of researches being cited here, but, were those people healthier because they got less than 8 hours of sleep, or was there some other factor causing them to get / need less sleep which also helped their health?
> There is no objetive reality, only subjetive. The "real world" is what your senses and knowledge tells you.

I was never sure how to deal with this postmodernist crap. When someone deliberately confuses the map and the territory, what can I say?

Let us just observe that sometimes, I believe something, and then, I see something else happen. That tend to give me a sense that something is going on outside of my mind. http://yudkowsky.net/rational/the-simple-truth

This generalizes to the entire humanity, by the way. Most people believed in a Young Earth, then we discovered fossils. Most people used to think the Earth was the centre of the universe, then Copernicus, Kepler, and Newton, proved otherwise.

> The important is to accept we are wrong when evidence arises, and change our mental model.

That I must agree with. On the other hand, I'm not sure how this can help those who believe in magical thinking.
I don't think for psychiatric research we should start with the presumption the end goal is necessarily "drugs on the shelf".

it might or might not be a good goal for some conditions.
This shows some data from one study: http://www.american.com/archive/2010/june-2010/are-there-mor...

Men are overrepresented at the tails of the IQ distribution, women are overrepresented in the middle.
The internet’s turbulent next decade
Kiralık Forklift
This has been done before (2010): http://pleaserobme.com/
Perhaps Tesla does or should give a rebate for sending back the old part who can then turn around and refurbish it.
This is in all apps in OS X, that's the standard keymapping.
^ this; I find waking up after 7.5 hours (ish) to be easier than at 8 hours (ish). Half an hour makes quite some difference.