skysight-inc/HackerNews huggingface dataset:
They're using Java "The Good Parts", the subset of Java that is platform neutral that most people use. By the time Android was launched, Java on the Desktop was already dead. Practically zero people write Java desktop apps not care about compatibility with them, the vast majority of Java code prior to Android lived in the cloud.

What makes Java valuable to most developers is byte-code portability, the widespread use of the language, the core APIs (not the GUI), and the developer tool chain.

The Sun licenses for Java go back to a time when they had a dream to displace Windows on the Desktop with all native desktop apps written in Java. That reality was delusional, but Java succeeded brilliantly on the server.
So, what about i.e. java.lang.Iterable, java.lang.Exception or the boxing classes - APIs which are directly referenced in the language specification?
Oh, hi!

I'm Charlie, the guy behind this.("This" being the idea and the web page encouraging you to honor the girls with a donation to help build a school. I'm not a part of Building Tomorrow, who actually coordinates the building of schools in Uganda.)

To those who have shared the link, thank you so much. To those of you skeptical about the motives / approach? Thank you for thinking hard about things like this. There's a lot of darkness in the world, especially with this situation. I'm grateful to all of you hoping and working to make it better.

Let me know if you have any questions, and I'll hopefully be able to answer them quickly.
This is an especially exciting time for container visualization, considering Docker has their first 1.0.0 release candidate. (Docker 0.11)

I hope the CoreOS team manages to reach what they would consider a "stable, and production ready version of CoreOS" sometime around (after, but around) when Docker 1.0.0 lands.
Since you discovered Gould and the Goldbergs, I have two comments.

First, I personally find the original 1955 version almost unbearable. I love his playing, but the mono sound is exhausting. Then I discovered the Zenph Re-Performance recording. In one word: stunning. Especially with the binaural tracks, it sounds like Gould is playing right there in your living room. Give it a listen. http://www.amazon.com/Bach-Goldberg-Variations-Performance-R... — Neat technology behind this, too.

Second, try Murray Perahia's version. Gould and Perahia are my favorites for piano Bach.
Agreed, we found that property really nice too - optimistic updating and rolling back on error were similarly easy
If you don't mind spending a bit more I've had one of the older versions of this: https://mrspeakers.com/product/mad-dog-leather-alpha-pads-co...

I had Sennheiser HD595 prior and these are even more amazing. I've listened to a pair of Beats and they pretty much were only bass drowning out everything else. You can also check out www.innerfidelity.com as they have reviews that are not only subjective, but objective.
Seven Ways to Brainstorm a Business Idea Now
Beat By Dre: The Exclusive Inside Story of How Monster Lost the World (2013)
Sure, I'll just grab my M16 and buy a plane ticket to Nigeria.
Cython actually shows the cost of interpretation quite well. Even without added type declarations it speeds up a quicksort of a list of integers by anywhere from 40-50%.

https://github.com/psoberoi/stepanov-conversations-course/tr...

I certainly don't see Cython as anything but a quick way to get efficient C code in to Python module though... you typically get the worst of both worlds with compilation + dynamic typing.
In Om, components can still look at the global state without using a cursor if they want. You could have a top level "authors" key in the data store that the ArticleItems would have hardcoded into them. They could look up the author themselves as you describe by looking up the "authors" key in the global data state.

Alternately, you can pass multiple cursors[1] to a component. In your example, you could pass each ArticleItem a cursor pointing to the right article, and a more general cursor pointing to the author store. This would eliminate the hard coding of "authors", but it would require ArticleList to pass along some sort of "additional-data" cursor.

[1] https://github.com/swannodette/om/wiki/Cursors#using-multipl...
This is already happening with fast food industry competing on price - lower-priced items at McDonalds or Pizza Hut are chemical variations optimized for longer shelf life.
(Re)Designing Firefox
In Accelerator Wars, the Teacher Becomes the Student
Use .get() instead of [] to avoid setting the default value.
These aren't component methods so they don't get autobound -- arrow functions would of course work here though.
The Dark Side of Why I Write Software
The group Boko Haram believes that girls should not be educated.
Charlie here (the guy behind it).

I would love to hear any ideas you have that will help the girls in Nigeria. Not being sarcastic there. Would really love to hear them.

In the meantime, keep in mind that it isn't a zero-sum game. Helping kids in Uganda to get a solid education is far from the "saddest thing" about this.
What? So only banks have those problems? No other industry has similar issues that have not been figured out? How does any company with hundreds of employees and dozens of people on any one project ever get anything done?

Seems to me the article supports my thought that these people are just not that good at managing people and projects.

If I were of a conspiracy thinking mind I would suspect that the labor pool is kept artificially low to keep income levels high.

And if we're only talking a few big deals a year then how is it that people are working 100 hour weeks constantly?
http://www.avoiceformalestudents.com/progressive-boko-haram-...
My friend wrote this post and it was too good and thoughtful not to share here
There is support in Cython for doing the compilation transparently:

http://docs.cython.org/src/tutorial/cython_tutorial.html#pyx...
Beach song in Thailand
> the saddest thing is that the action suggested in this article is not even about saving those girls, or protecting other girls, or punishing/dismantling the terrorist organization who did this.

I wish there were fewer negligibly informed people shouting about those things and more people doing (probably) positive things like this.

In fact, I'm very open to other ideas for usefully offering support / solidarity / funding, rather than demanding Saving Private Ryan style military incursions.
Gosh, I don't have a litmus test but this seems like one worth making an exception for.
As far as "classical" music goes, I can definitely live without the synchronized audience coughing between movements. Or the fact that you can only applaud at the end of the piece, no matter that a prior movement might have ended on an energetic forte and the last movement on an introspective pianissimo. Or the upraised eyebrows you inevitably draw if you're under 70.
Ask HN: Partnership agreement for new idea?
Hi -

I intend on working on developing an idea into a product with a partner. We don't want to incorporate yet, we want to develop our idea first.

I am wondering what type of agreement people put in place when they don't want to form a business yet, but want to have some sort of governing document for their partnership.

I intend to involve an attorney to develop formal paperwork, but I like to be informed before I do so.

Thanks for your insights.
I want to be an engineer: First steps 1
until you do that, at least don't pretend like you are helping to solve one problem, by helping to solve a different one.
Well, this is the problem with our society as a whole. In particular, and most importantly, the problem with intellectuals. They tend to gloss over the inexplicable things like consciousness and the mind. It's just too hairy and scary to try to tackle and try to understand. I think that's why we've distanced ourselves, ironically, from ourselves for so long.

We need to really take a long look at ourselves and try to understand what's going in our mind.

Modeling and measuring are different from genesis. Where is the mind? Should we even be asking "where"? What about "why"? Can we even ask that? Do we even know which questions make sense to ask about the mind? Maybe we can't use language to talk about it. After all language seems(again we have no real empirical basis for this) deeply coupled with the mind so we're going to use the mind to understand the mind? It's microscopes all the way down then I guess.

It is mystical simply because most people haven't really shed much light on it. So the mind remains a mystery. The mind just really, truly does not make sense. It baffles philosophers, scientists, biologists, lay people, etc. We'd rather tackle something like the inner-workings of quarks or the interactions of black holes with dark matter than even attempt to answer the question: what is even allowing me to communicate with myself and answer any of these other questions? Why do I think?

We can talk about personalities. We can talk about the brain. We can talk about language. But how do we work backward from those attributes of the mind to get to the point of genesis; where is the mouse in the wheel creating the thoughts writing this sentence.

No one knows. We don't kinda know. We, truly, have no fucking clue. We think it's related to the brain. That's it.

I don't take it as a personal attack because honestly our understanding is mystical nonsense.
I believe that's only for Congress. Your local Mayor can go to prison for insider trading just like you and me.
U.S. 'net neutrality' plan faces heat from venture capitalists
Haskell tutorial for C programmers
Worthless. Useless. A disaster. Flatly, on Windows XP SP3 with one of the latest versions of Firefox and Flash, the site essentially doesn't work. So, I clicked, and clicked, and clicked, and waited, and waited, and waited, and clicked, looked at the system monitor and saw no activity on either network data or CPU, waited, clicked, waited, clicked, had much of the screen content go off the screen, kept lowering the screen magnification, clicked, clicked, clicked, and finally did hear the Toccata but couldn't hear or get any other content, not voice or text, etc.

Worst Web page programming on the planet.

Sorry 'bout that.

For Bach, which I nearly worship, devoted a significant fraction of my life working to play Bach on violin, back to my CD collection, YouTube, etc.

Looks like some really good music totally train wrecked by some absurd Web site programming. I'd have no idea how to make such a mess out of some Web pages -- maybe have to use JavaScript to do that. So, ditch the JavaScript.
Introducing Owaves – The World's First Wellness Planner
Owaves makes it easy to plan health and wellness goals into your day.

Eastern and Western health experts agree there are five main ingredients for a long and healthy life:
1) Sleep
2) Nutrition
3) Exercise
4) Mindfulness, Meditation, Yoga, Managing Stress
5) Love and Social

Owaves is the only day planner in the world designed to let you prioritize these activities alongside work, play and miscellaneous errands.

Visually colorful and vibrant, with a novel 24-hour clock, the planner is fun to use and lets you see your day in a whole new way.

Oriented to sunrise and sunset, Owaves guides you to a balanced lifestyle and healthy circadian rhythm.

The planner incorporates input from thought leaders in chronobiology, mindfulness, and professional sports.

It's Visual. It's Fun. And it's Easy-to-use.

Key Features:
- Design-a-Day
- Save Routines
- Add Notes
- Localized Sunrise and Sunset

Aloha!

Questions? Comments? ola@owaves.com
That's not a strawman. It would be a strawman if the GP characterized the original comment as suggesting that, but it's not. It's saying that even this facetiously extreme example still would not disqualify the content of the post from being useful/interesting/whatever.
Oops, haha!
3 - 4 hours a day.. It's too much, but also i am kind of social shy and new in this dev world., so, surfing HN is a big help to understand the community, what's going on around, and who knows that would get me out of this strange shyness i have..
The problem is that every fundraising appeal comes bundled with people who believe it's worth making an exception for. There's a whole big wide Internet out there; HN doesn't need to be all things to all people, and it's probably not a good idea to adopt an informal standard of which issues are important enough to exploit HN as a channel for attention.

Later

After reading the thread, I'm convinced this shouldn't be on the front page of HN, and flagged it.
Hi! Thank you for asking that.

Absolutely. Anything you can donate will go to help build a school. Thank you so much for considering it.

And for those of you who can't donate — I totally understand! It'd be great if you could help get the word out about it, though!
This comment was killed -- mods, why? It's the only comment in this thread mentioning image occlusion, a hugely powerful anki technique. I've reproduced it below in it's entirety.

"""
Medical student here. I've tried many flashcard programs (StudyBlue, Quizlet, gFlashcard, MentalCase, and more), and Anki is by far the best for my needs.

One thing that puts Anki in an orbital beyond the other programs is the ImageOccusion editor add-on [1]. This lets you screenshot an image, draw rectangles over labels within that image, and then generate a flashcard for each label. This works insanely well for learning anatomy.

I remember about a month ago where I had two hours to learn the names of all the tracts and nuclei inside of the brainstem for a readiness quiz. It took about 10 minutes to create flashcards for them all, and an hour to memorize. I passed the quiz. Days later fellow classmates were still struggling to remember the same information.

1 - http://tmbb.bitbucket.org/image-occlusion-2.html
"""
The problem I have with the DevOps label is that it is trying to lump yet another task on the overwhelming heap that is your average system administrator's task list - namely, doing the actual coding and developing of the system you're managing.

In my 20 years of experience, the two roles of developer and admin have had very conflicting purposes in that one is encouraged to change and expand systems, while the other is encouraged to stabilize and reliably maintain. The conflict can only serve to make one role suffer over the other, or provide poor quality results for both.
You realize the entire internet was fostered along from its infancy by that very government.

I think the takeaway is that good government is good, bad government is bad. I'm not sure why this is so difficult.
After booting up a new CoreOS cluster with build 310, it looks like there's a locksmith systemd unit:

cat /usr/lib64/systemd/system/multi-user.target.wants/locksmithd.service
[Unit]
Description=Cluster reboot manager
Requires=update-engine.service
After=update-engine.service

[Service]
EnvironmentFile=-/usr/share/coreos/update.conf
EnvironmentFile=-/etc/coreos/update.conf
ExecStart=/usr/lib/locksmith/locksmithd
Restart=always
RestartSec=10s

[Install]
WantedBy=multi-user.target

...and also a new locksmithctl binary that has options for setting and unsetting locks among other things. I guess you could create a systemd unit that unlocks any set lock, and run it 10 minutes after boot with a systemd timer, as a start.
He probably wouldn't be too happy about the site's ability to handle the HN effect either ;)
While the idea seems interesting, a quick read of this post reveals no connection whatsoever to Tesla. I'm baffled by the title.

I wonder if this idea could also be applied to other types of work-intensive designs that simply were ahead of their time and could be resurrected with today's tech, such as car design.
Site's rate limiting. Can anyone describe what this is?
There's a TodoMVC example that you might find helpful: http://facebook.github.io/react/docs/flux-todo-list.html

It'd probably be worth having a barebones starter kit though.
Saying X isn't worth discussing but something worse than X maybe would be isn't a strawman.
I had the opportunity to test 4-5 headphones without paying a single penny. I also got to try out a pair that was a slightly better model than my old ones I had on hand and found the differences too minimal to think it was worth upgrading to. It was pretty obvious that there were differences between all the headphones. In other words, I disagree with the "You're not missing anything" statement.

I don't know what your definition of spending too much money is, but you can still appreciate good sounding headphones without going crazy and spending an insane amount or constantly getting different gear. I had my last set of headphones for at least 5 years or so until I blew the driver and all the bass was screwed up.
Hi! Absoulutely! Anything you can donate would be phenomenal. Thank you so much.
Jaunt VR – We are hiring – Palo Alto, CA
Jaunt VR - http://www.jauntvr.com/jobs/ - Palo Alto, CA

Recently out of stealth mode, we are experiencing an amazing volume of traction with our complete cinematic VR solution.

This is still an early stage opportunity to come in and make a huge impact defining the future of VR.

We are currently looking for all levels of software engineers with solid C, C++, python, multi-threading. Any experience with openGL, app development, mobile apps, Game consoles, server development.

Jaunt is an early stage startup located in downtown Palo Alto, 1 block off of Caltrain.

Feel free to email me directly, scott@jauntvr.com or apply directly on our website.
Not sure they have the foresight to see the blowback that will result from their actions.
Poking around it looks like they are hosted on Vimeo and that the default is HTML5/H.264 with fallback to flash. Assuming that iceweasel has H.264 support (IIRC there is a way to get it through ffmpeg) you can probably it could just be that they are doing UA sniffing and don't recognize your browser.
wow, those are seriously desirable features.. Regarding point 2 - this feature is already available in chrome which syncs your bookmarks and extensions in whichever system you use..
Creative And Defensive Programming
That's sad. They should do tuples and top-level functions and solve it naturally.
What was that iOS styling software that was on HN the other day?
It was v2 of the app, I can't remember the name of it for the life of me.
Cache http://webcache.googleusercontent.com/search?q=cache:http://... Edit: The pictures are still loading even though the blog is down.
I'm not sure what you find honest about this behavior, but you're right that it isn't welcome on Hacker News.
This modified version of #2 might help clear things up. I've only added print statements. In general, when issues like this come up, printing the id()s of identifiers can help:

Edit: Added some extra blank lines because lines were getting joined together.

# class_variables.py

class A(object):

x = 1

class B(A):

pass

class C(A):

pass

print "Initially, A.x, B.x, C.x and their ids:"

print A.x, B.x, C.x

print id(A.x), id(B.x), id(C.x)

B.x = 2

print "After B.x = 2, A.x, B.x, C.x and their ids:"

print A.x, B.x, C.x

print id(A.x), id(B.x), id(C.x)

A.x = 3

print "After A.x = 3, A.x, B.x, C.x and their ids:"

print A.x, B.x, C.x

print id(A.x), id(B.x), id(C.x)

And the output:

>python class_variables.py

Initially: A.x, B.x, C.x and their ids:

1 1 1

30519808 30519808 30519808

After B.x = 2: A.x, B.x, C.x and their ids:

1 2 1

30519808 30519796 30519808

After A.x = 3: A.x, B.x, C.x and their ids:

3 2 3

30519784 30519796 30519784
Best site for coding interview practice?
I'm spending most of my off hours with any number of dev stack technologies - RoR, Angular, Meteor, Python, R, D3, etc - basically anything that looks moderately interesting. I've developed a razor-thin knowledge layer of each. Not enough to impress a hiring manager, but enough to keep going.

I've invested in all the right books (O'Reilly & Pragmatic probably love me), have spent time on a few e-learning sites, and read cloned GitHub repositories late into the night.

There's little chance of using these tools in my day job. (Dilbert has NOTHING on that place.) Building toy apps that gather dust in a forgotten corner of GitHub is fine - but they don't tell me whether I'm any good.

I've heard of companies using InterviewZen to screen applicants. Can anyone recommend a good site for self-testing?
Hi! Charlie (the guy behind the webpage) here.

Your skepticism is great. Happily, Building Tomorrow has a great track-record, and has made being transparent one of their core principles. You can read more about it here: http://www.buildingtomorrow.org/zeta/about-us/transparency/

You can also check out third parties who've reviewed them, http://givinglibrary.org/organizations/building-tomorrow and http://www.guidestar.org/organizations/56-2614329/building-t...

Thanks!
I have to disagree. When listening to a recording, you hear all the music. A more fitting analogy would be tasting and eating the food without seeing the chef prepare it.
I wouldn't feel any moral qualms about downloading the torrent (still huge) if I had the box of discs on my desk. The swapping of discs isn't as bad as the tagging. Is the set tagged on Musicbrainz?
Fab.com Mobile App Checkout Redesign
GoboLinux 015 released
It's possible in some languages, but it often involves serious messing around.

For example, in C, this would involve function name aliasing which is usually a compiler specific extension.
This might give you name compatibility, but to get struct-level compatibility, you'd have to copy the exact layouts due to padding issues.

In C++ it's even harder, due to when vtables are emitted, etc.

My java knowledge is old (java 5), so i don't know if they made it possible.

Objective-C, I believe it would only be possible if you used the runtime reflection methods directly. I don't think you can easily do it with just headers (corrections welcome!)
etc
URL invalid error for every url i try... :(
I believe this is a shortcoming of the default viewer that comes with PDF.js. 'coz as you say saving the file on disk has nothing to do with PDF.js itself. Bare in mind that PDF.js works in older browsers ( IE8 and 9, and even older versions of Opera, Firefox, ... ) so this might drag down the default viewer a bit.

Beside, if you know before hand that you want to save the PDF, surely you can right/Cmd click the link and save the file right away.

Anyhow, if we - Opera - decide to use PDF.js as the default PDF renderer for the Desktop browser, we will roll our own viewer which can use fancy pancy features like: <a href=# download>Save</a>
All that code and one bug? Either the original programmer is a genius or Dart isn't as great as it seems.
Enjoying a place where you can learn about new technolgy, join interesting discussions and be mildly, intellectually entertained at the same time?
Oh, don't believe me?

http://www.nationalreview.com/articles/314025/how-did-harry-...

http://www.realclearpolitics.com/articles/2014/04/24/harry_r...

http://nevadanewsandviews.com/archives/2975

http://www.thedailybeast.com/articles/2012/08/15/harry-reid-...

Take your pick.
Python is a strong dynamically typed language. Unlike JavaScript, which is a weak dynamically typed language. In Python `'1' + 0` throws a `TypeError`. While JavaScript attempts to figure out what you meant.
I'm ignorant on IC designs, but this whole post sounds like a big "solution in search of a problem" to me. Could someone enlighten us on whether there are really enough abandoned IC designs that are economically viable?
It is relevant because it speaks to Boko Haram's ideology. Are they anti-Western culture? Or are they particularly excited about issues involving children, such as education? This group previously worked hard to stop vaccinations in the North (of Nigeria) as well.
I would say the most effective thing would be to use the internet and social media to raise awareness, thus forcing western governments to get involved. Not knowing where you are paying taxes, I can assume you probably contribute money and legitimacy to some armed forces who can fight this terrorist organization.

This is the only way.