skysight-inc/HackerNews huggingface dataset:
When you start from such a low base, there is enormous room for growth. The question is what can they export? Cigars? Medical personnel?
We have unit-testing for framework-level code, which is more often written by a senior developer. Continuous integration builds happen every half-hour I think, so we quickly pick up if someone pushed something that breaks the compilation or build process. Though, at that level, I should point out that quite a lot of our business code is written in python, so even basic syntax errors go through further than they should. In this department, I'm pushing for getting lint-checking via Sonarqube integrated into our CI process, which is almost production ready, but delayed.

As for code-review, well to be honest, we don't have a formal process at all. It's simply been that way since before I got here. But in my unit we've managed to get buy-in from the high-ups to start off with it in the next project. So I hope that helps us quite a bit. At least, it'll help me out as I'm currently the only one that reviews code. Every once in a while when I've got down time I go through the commits, and add TODO's and comments all over the place. I've found that it makes it quite obvious to the developer if he sees such comments abundant in their code. If it's seriously bad, I speak to them personally and explain things in detail including the "why"s.

I'll definitely see if we can maybe push for unit-testing for our business code. I'd guess that that, and the incoming code-review processes will help a bit. Perhaps they'll not fight it too much when they realize that it'll increase their quality as well as their overall skill.
Steve Jobs Introduces WebObjects [video] (1996)
Those are awesome. Spot on, mate! Although I admit I have "recycled" some VC speakers for events I've put on in the past :)
I didn't mean it's a bad thing, it was a reply to some blanket statement.
No, I don't have rewards cards, etc. Aside from my grocery store, I don't shop at any one store regularly enough for the savings to overcome my queasiness about the information gathering. I have had so-called Loyalty Cards in the past, but they didn't increase my loyalty. My opinion is that the stores are instead ripping off the people who don't have them.

There's no need for my grocery store to know that I, personally, use a particular type of condiment or toothbrush. The aggregate sales should be enough to determine what they need to buy and advertise.

None of this should suggest I'm some kind of altruist, except in the sense that I believe in level playing fields. Also, I'm human so some irrationality or self-interest is sometimes OK.
Testing a Google Polymer Project Using InternJS
>>Google could be far more evil than it has been.

This is the bar they have to clear? Pretty low standards if you ask me.
It works for plenty of people. That's why professional celebrities like Kim Kardashian can become successful "fashion designers" based on their fame alone. The only caveat is that you do actually have to have good taste to be successful.
Optimal Layout[1] works pretty well as a tiling window manager (or close enough) for OS X. I've been using it as an essential part of my workflow for 2+ years. I also make heavy use of emacsclient and tmux[2] sessions and windows in conjunction with iTerm2[3].

When I have some time to experiment, I'd like to look at replacing Optimal Layout with mjolnir[4] or one of the similar tools listed in mjolnir's README, under Mjolnir vs. other apps.[5] Amethyst[6] looks like another option worthy of consideration.

[1] http://most-advantageous.com/optimal-layout/

[2] http://robots.thoughtbot.com/a-tmux-crash-course

[3] http://iterm2.com/

[4] https://github.com/sdegutis/mjolnir

[5] https://github.com/sdegutis/mjolnir#mjolnir-vs-other-apps

[6] https://github.com/ianyh/Amethyst
Super easy server monitoring
Keep living in the past with the BlackBerry Classic
Show HN: Material Palette - Material Design color palette generator
Notice a pro-union/pro-mercantilist/pro-nationalist comment is at the top, while this comment was flagkilled. It is very possible some entity outside of the community hivemind is intentionally crafting a narrative... and this isn't the only thread they are targeting. Why? Because this post isn't even on the front page anymore.
The way this article uses the word "humanist" had me quite confused for a few paragraphs. It doesn't match the use of the word that I'm familiar with.[0] I think it's using the word as in "academics involved in the humanities"; hopefully my note will help some other people who had a similar initial reaction.

[0] https://en.wikipedia.org/wiki/Humanism
Backup53: Backup Amazon Route53 DNS to JSON
STM doesn't buy you much compared to locks - the transaction boundaries are the harder part (database or otherwise).
Glycemic index shouldn't concern people without diabetes
I find keyboard-driven grid-based window flingers to be Good Enough.

On OS X, that's SizeUp (or Divvy, ...) with a custom grid to suit my screen and then I never have to use the mouse to move/resize windows.
Humans weren't 'given' earth - we evolved from the survivors of the last mass extinction event, alongside and in competition with everything else here. We have no more right to survival than a termite, say, but we have the same right to shape our landscape to suit our needs. Expansion beyond earth is a logical and necessary manifestation of the survival strategy our species employs: applied intelligence.

Enlightened self interest requires that we treat other forms of life on earth better, but only because that same applied intelligence shows us how connected our own survival is to theirs. Equally, that same self interest should encourage us to study and preserve indigenous life on other planets, since it may provide knowledge which assists our own survival on those planets.
Was anyone claiming that she remains even remotely sane?
OK, I guess that is a distinction.
Baseball players.
I don't have these troubles in FF or Chrome (on linux). Any plugins that could be interfering?
Not sure why Google sanctioned Zlio, but the Techcrunch article hints quite heavily that Amazon did it to clear the way for their own competitive offering, aStore.

Update: We haven’t heard from Amazon, but Zlio looks to be in direct competition with aStore, a new service from Amazon. See Centernetwork’s coverage here from late last year. Zlio actually launched the same day as aStore. That still isn’t a good explanation as to why Amazon has shut them off, however.
About errors that can be found in student lab work tasks posted at Pastebin.com
That was already the case, except it was with Venezuela. http://www.businessinsider.com/cuba-didnt-have-a-choice-anym...
2 centuries? I think you may not be including the availability of coal, from which oil can be produced.
>tiling
>rust

edgy as fuck
My apologies if this is a really naive question, I don't really do this kind of low level systems programming. Do most projects of this sort not have tests, or are they just hard enough that they don't really pay off?
Haskell is used for just one of them. https://wiki.archlinux.org/index.php/Comparison_of_tiling_wi...
>"2. The stated goal of ChangeTip, as seen in their videos and materials, is to replace advertising and other indirect ways of monetizing content with a way to directly express support for creators."

Was this not what Flattr was all about? How is this service better/different to that one? I haven't tried using either service, yet
The way to think big is to think small. You can't go head to head against Amazon all at once. You need to pick a very small area and specialize.

Can you be the best site for selling pewter figurines, plumbing supplies or bowling equipment? I think you can!

By niching down you can develop a reputation, have a custom-tailored search and navigation setup, etc. As you start getting more customers and income, you can broaden your offerings.

For instance pewter figures -> fantasy art -> fantasy books -> board games.

Amazon started with books before it started selling everything else. You could try the exact same strategy.
According to the article, she's the one who keeps making the comparison.
When I was in Cuba, a lot of people I talked to were obviously in favor of lifting the embargo, but others expressed misgivings about what it would do to their culture and society. Cuba is an indescribably weird place where almost everybody is (on paper anyways) poor, yet education, health care and the arts flourish. Violent crime is virtually unheard of, say what you will about how they achieve that. They are very proud of their resilience in the face of a half-century's worth of crippling U.S. sanctions--in particular the period after the collapse of the Soviet Union. Normalization will lead to a rise in the Cuban material standard of living, and with it will come all of the attendant social woes that we have here. That's neither totally good nor totally bad, and it should be up to the Cuban people to choose their own path, but I can see why you might oppose this for other than purely selfish reasons.
The rise and fall of the lone game developer
How I Became an Unwilling Conscript in the War on Christmas
SpaceX Is About to Land a Rocket on a Platform in the Ocean
Beautiful women.
ShiftIt is a nice free alternative to SizeUp and Divvy.
Sorry, added it now! http://things.gnod.com/smartphones/4836
> Have to agree. What does Obama have to lose by just going out on a limb and ending a horribly failed policy?

Because "like so many others" he simply doesn't have the power to; it requires Congressional approval. I suppose he could do what you want and unilaterally declare it over, but that would be a very clear breach of power and would result in many moderates and liberals decrying his overreach. It would end up - at the least - the subject of legal action and an injunction and perhaps even spur bipartisan support for impeachment proceedings.

The power of the Presidency is in general greatly exaggerated by the media. The President has broad power to set the agenda (which the rest of the government and the country is largely free to ignore) and has some power over policy/legal execution (particularly within foreign affairs), and over the military, but that's about it. Even within the executive branch the President is not as all-powerful as the media or even high schools tend to imply: even excluding agencies that are altogether independent, the President generally cannot walk in and tell people what to do.
Fewer Ebola Cases Go Unreported Than Thought, Study Finds
Amazon Not as Unstoppable as It May Appear
Agriculture, including tobacco production, accounts for only approximately 4% of Cuban GDP--after heavyweights like tourism (embargo just prevents Americans from going there), gas export, industrial production, and the medical sector. Of greater interest to HN readers than the implications for one trivial luxury good, Cuba has one of the greatest mismatches between literacy (~97%) and telecom development and accessibility (see http://en.wikipedia.org/wiki/Internet_in_Cuba) in the world.
Yes, Google "scraping" search snippets (using wikipedia as an example even though it's CC-BY-SA!), which has been a feature of google forever and has been ruled as fair use on multiple occasions, is a much better standard.
You should check out Google's Doubleclick service: http://www.google.ca/doubleclick/publishers/small-business/

Instead of just serving Adsense ads, you can set up various kinds of bidding (or manually create ads to start with) falling back on Adsense when inventory 'runs out'.

Basically, it will end up being a manageable/overridable layer between your site and Adsense, which you currently use.
Tiling window manager users typically avoid transient windows in much the same way that modern browser users avoid transient browser windows.

For instance, my primary development workspace has four columns: three emacs and one terminal with tab support. I don't open/close new emacs windows or new terminal windows, in the same way that I don't open/close new browser windows: I just use tabs within a single window. Likewise, I use multiple open buffers within my emacs windows, and multiple tabs within my terminal windows. If I need a transient terminal, I switch to a different tab or add a new tab.

Opening/closing transient terminals is pure UX overhead, IMO.
He's making a joke about xmonad
Street view inside of Google data center
Cuba flaunts the US hegemony from right under their noses, but they have great wealth in their geographic location, and their society. Cuba could become the Switzerland of the western hemisphere given the right outset.
Drone Footage Shows Extent of Greenpeace's Damage to Peru's Nazca Site
That's actually closer to their quarterly earnings according to IAC's earnings releases (see search and apps) (http://ir.iac.com/results.cfm?Quarter=&Year=2013).
I don't know, that seems like fighting the last war ("Generals always fight the last war"...)

Microsoft has a 5 year head start and has spent billions on this and they are nowhere close to Google (I'm not even talking tech, just market share).

I think the only way to beat Google at this point is by winning the next war (Yahoo! already missed mobile). Just like no one beat Microsoft at operating systems or productivity software; the world just moved on from caring about those things. Of course, no one knows what the next battle will be.

Of course, beating Google is somewhat of a red herring; they don't necessarily need to lose for Yahoo! to win.
Tiling managers become more compelling on large high resolution displays where running everything maximized is inconvenient and you want to ease the burden of shuffling windows around.
Its highly unlikely that these plants would ever succeed as an invasive species because the energy consumption required to glow puts the plant at a massive disadvantage. I ordered something similar from a kickstarter a few months ago:

http://www.glowingplant.com/

They say that within a couple generations, the glowing feature quickly disappears due to natural selection.
What’s So Scary About A Nuclear-Armed Drone?
Would love to see the API support a POST for creating a new build and passing in the project code (or slug url). This would enable the other git providers (Gitlab, BitBucket, Gogs, etc) and 3rd party services/frameworks (e.g. Factor.io) to provide the integration.
When you have a hypothesis, you have to try making predictions with it and see if it fits real-world data. If it doesn't, then it is wrong. It doesn't matter how elegant or beautiful your hypothesis is, if it does not fit the data then it is wrong.

Your hypothesis does not fit the data.
Shit happens and at this scale it happens big. I wish everyone would provide details like this when the fan gets hit or your security fails. I'm glad I never have to deal with scale like this, it's pretty scary.
What Is the Best Kurt Vonnegut Book?
Without knowing more about your site, it's hard to say. My first suggestion would be to start collecting email addresses and sound out interesting jobs from sponsoring recruiters.

I created a free book of revenue models that might help you think about the possibilities - http://TapRun.com/revenue
Navigating the mobile marketing landscape for devs
Actually, Linus is from Helsinki that's not exactly close to The Netherlands.
There is no intrinsic connection between Finland and The Netherlands. Although the drug laws are still famous all over.
In practice, the semaphores available for many systems are considerably slower than using architecture provided atomic increment operations, which means implementing a bounded buffer with two counters and two mutexes ends up being faster.
The creepiest humanoid I have ever seen
He was the idea guy.
Companies That Want to Charge You for Negative Reviews
The scarcity of data makes history very subtle and interesting. Something we rarely get in schools since we're fed facts and dates (and only partial reasons). When you learn how an historian finally discover by cross referencing antique texts, remains of artwork, geology, etc, it's hard not to be thrilled.
If you believe that this sounds made up you don't have to trust me, check directly with them in the appropriate venues (ie. IRC or mailing lists). Most of the Debian Developers I know are quite sure that how to configure network interfaces is definitely not the most awesome distribution differentiator, and are seriously aware of the big limitations of the current solution.

Also I don't know who you're referring to with "influential players" vs. "smaller people". How such "influential players" are forcing "smaller people" to do things they don't want? Care to elaborate?
I would disagree with your conclusion there.
If you're running Ubuntu then if you

apt-get install xmonad gnome-panel

a GNOME with Xmonad option will appear in your login screen. Then you have to create an xmonad configuration that works with GNOME like so

import XMonad
import XMonad.Config.Gnome

main = do
xmonad $ gnomeConfig

in .xmonad/xmonad.hs and everything will work.
That whole site is fascinating, I just lost like 2 hours of my life. Late 90s threads about TLB strategies from @sgi.com e-mail addresses? F&$% me, I could read that sort of stuff all day. (I started http://www.snakebite.org, for reference.)
> you should probably see a psychologist as you are likely a danger to those around you

Personal attacks are not allowed on Hacker News.
When Banks Become the Lawmakers
Say, which distro is that in the first screenshot?
I work at Streak, where we make a Chrome extension for Gmail. The Gmail team notified some extension developers ahead of time, and then slowly rolled out Content-Security-Policy-Report-Only headers, so we had some time to look into this. The interactions between extensions and CSP aren't well documented so it required a bit of testing.

The content_security_policy property in the manifest is only for the extension background, pop-up, and iframe pages. It does not apply to content scripts or to pages that the extension acts on.

Only one extension can modify a request's headers at a time, so relying on modifying Gmail's CSP headers will cause the extension to break if the user has another extension modifying CSP headers (a few extensions like Tampermonkey modify all request CSP headers!). There is a better solution. Extension content scripts are allowed to bypass the page CSP rules in general, though there's a few cases you noticed that are currently bugged (cross-origin script tags and frames). Though your extension script does not get the ability to bypass CSP rules if it's injected into the page, because then to Chrome it's indistinguishable from Gmail's scripts.

Instead of having your extension content script add a script tag to the page with a remote URL, just do an AJAX request to load the script and then eval the contents. This will cause the downloaded script to be run as an extension content script instead of a page script, and the page's CSP rules in general won't affect its execution. It also means that you don't have to share your javascript context with Gmail or other badly-behaving extensions!

To work around iframes being blocked by the page's CSP rules: it turns out that iframes loaded from chrome-extension:// URIs are never blocked by Chrome, so whenever you want your extension to inject an iframe with a remote URL into the page, instead inject an iframe with a URL to an html file inside your extension (and then that iframe will be obeying the extension's content_security_policy instead of Gmail's, and you can have that contain a full-sized iframe to a remote URL).

Some of the above is discussed on this Chrome bug: https://code.google.com/p/chromium/issues/detail?id=391128
As for the xlib stuff, I can't really write tests for that. But I will write a more extensive test suite for the core components, especially the ones in src/core.rs

For the methods in window_manager.rs, they often depend on the window system, but that shouldn't be a problem as I could simply insert a dummy interface.

Tests will follow. Last weeks were just filled with thesis and preparations for my last exam. So I used the coding for relaxation and kinda omitted the tests. I know, I know...behaviour.
The curvature of the earth is measurable between the bow and stern of this ship. If the ship were perfectly flat and you leveled out the front, I'd estimate the back to be at a 1.8cm higher altitude.
CoolReaper Backdoor Found on CoolPad Android Mobile Devices
How to Block Buttons-for-website.com Referral Spam
Good point. Lot's of opportunity will open up for the people of Cuba and developers in the US if connections are made and firewalls come down.
The triangle logo is the logo of Arch Linux distribution.
Infinity times nothing is still nothing... oh wait, it's NaN.
Meteor + Polymer
Wayland support

Wow, nice to see a tiling window manager working on that.
I will give you Apple and Next, but not Pixar, iPod, and iPhone.
Life on an aquaplanet
Note: Americans could previously go there; you just couldn't go directly from America.
Actually quite a few scientists tried to stop that kickstarter because of the dangers it could prove to the ecosystem:

http://www.theguardian.com/environment/true-north/2013/jun/0...
Technically wouldn't it be everyone profiting since it's going to government? If it was an foriegn business owner like alot of resorts in the bahamas, who would be profiting there? Certainly not the people living on the island.
I was being facetious. It's pretty clear they're running Arch; it says so several times in the image.
Me too. And, more coincidental, I'm moving to Port au Prince in just a couple months!
Using two monitors on Linux and running XMonad changed the game for me. Very organized, productive and efficient interactions with the system grew organically out of it. Even though I tend to use KDE (and KWin) these days on a laptop, that experience helped me drill down into a workflow that I apply anywhere I can. The best thing is that, everybody comes to their own "most efficient" workflow using these tools.
Interacting with OSX/Quartz after that felt something akin to giving up <insert code editor or IDE of choice here> and writing all your code in [TextEdit.app | Notepad.exe | nano].

Also, scratch terminal windows are solved by TMUX and a single terminal.

wtftw is very interesting. I can't wait to give it a shot.
Looking for Node.js+neo4j API engineer (contract, remote)
I'm looking for someone to help grow our node.js + neo4j API stack in the film industry. We're based in Hollywood, but remote candidates are welcome. Contact me for more information!

edit: I'm brian.g.gates@gmail.com
A common pattern (at least getting there) in Scala/F#/Haskell is to have paired types, UserInput and ValidatedUserInput. All the business logic requires the Validated kind. A programmer can be certainly be lazy and just return the supplied value, but this is a conscious choice to do the wrong thing.

You can't accidentally forget to validate form parameters. It won't compile. This is pretty easy to do in Java. On the weaker side, I would assume php and python have something like perl's taint mode. It's such a simple thing and it avoids so many xss problems.
Yes, that's not optimal; the only exception is when there isn't yet a substantive English version of a major story, or something particularly interesting.

I don't think this particular story would have been unduly controversial, but more importantly, thanks for your concern for the quality of stories on HN.
One of the lasting myths emerging from American rhetoric is that Cuba is starting from a low base. In fact the per capita GDP (as well as quality of life) is approximately on par with Panama and far exceeds the Dominican Republic, Haiti, Jamaica, and Nicaragua. Tourism will remain the major source of foreign currency, but I think this change will lead to further development in pharmaceuticals and telecom.
They do have an interest in hosting a re-opened Russian spy facility, just this summer.

http://www.theguardian.com/world/2014/jul/16/russia-reopenin...