skysight-inc/HackerNews huggingface dataset:
Autolayout (iOS and OS X layout engine) is built on a constraint solver.
Yeah I don't agree on two fronts:

1) To say that Java "passes all arguments by value" implies astonishing behavior if one passes an object and calls a mutator on that object changes it everywhere else that reference is used. If it were truly passed by value, the target would get a _copy_ of the original. Which is NOT the case in Java. So this terminology is misleading!

2) An admittedly weaker argument you imply that a given Java developer has never looked at any other language that doesn't use Java's approach to parameter passing. That's a tiny, tiny audience, my friend.
A pointer in Java

Dog d;

is exactly like C++'s

Dog *d;

Following a pointer and calling a method

d.setName("Fifi");

is exactly like C++'s

d->setName("Fifi");
Automating actuaries should already have happened. Most actuaries will know some programming and nowadays you cannot get hired unless you can use VBA at a minimum or C++.
Your questions are good and relevant ones, I agree. Let me rephrase them a little:

"Hello, coworker! Did you enjoy the cake we both got to eat the other day in the company cafeteria?"

"By the way, I'd like to ask you a question, and don't worry: This isn't an interview or anything, so if you can't answer me right away, or if your answer lacks grace, it's not as if you'll lose your job."

"Anyway, coworker: I found this code, which you wrote while working for my company, under the direction of my company's management, and which solves a problem that my company actually has, and which builds upon my team's platforms, languages, and coding standards, and which might even link directly to my code, and which both of us have had a moment to read and think about and which is right in front of us on this monitor. How does this code work?"

"Also, can you help me debug this code I have here? It builds atop the code I showed you last week, and is written in the same language that we all use, and attempts to solve a problem you've seen before – which is not a coincidence, because you were the person who asked me to solve the problem."

These questions are incredibly relevant to our work, but interviews can't cover them. Candidates are not our coworkers and they share none of our context. Instead, interviews are, at best, an exercise in prediction. In practice, they are often an exercise in magical thinking.

During the workday, people aren't being constantly judged. They don't implement functions on whiteboards without unit tests, solve brainteasers out loud during stand-up meetings, or implement quicksort from memory. They do have to explain code to coworkers, but not to people who don't understand the problem space, the language, the background, or the constraints. These rarely-exercised feats of skill are valuable -- sales is valuable -- and our gut feeling is that such feats are somehow related to relevant job skills. But gut feelings are often wrong. And not every job is in sales.
Discussed at https://news.ycombinator.com/item?id=8077739.
The 2v2 SC:PT and SC:CT online multiplayer was the absolute best. It was asyemntrical, well balanced, and required good communication with your partner.

I've never been able to replicate that experience in another game.

Someone tried to clone it but never took off: http://www.projectstealthgame.com/

Best wishes to OP for the game and (at least) giving me fond memories.
I did some work with W3C Web Crypto and had a similar experience to the author.

It's messy. You can write compatible code, but you need good test suites and some wrappers. A method to probe for supported algorithms would be super useful. You're supposed to get a NotSupportedError DOMException if something is not supported, but actual error results vary wildly.

In terms of getting consistent behaviour, Safari needs an exception shim around its crypto methods because it throws immediately for many failures while other browsers (which conform to the spec) signal failures only via promise.

On the bright side, the IE11 implementation looks "more incompatible" than it really is - in fact you can promisify it fairly simply, and it works more or less like other browsers.

I was doing mostly signing, and found only RSASSA-PKCS1-v1_5 or HMAC were actually usable - all the other algorithms are unsupported in at least one browser (e.g. no RSA-PSS or ECDSA).
You might want to look at vimception[1], an iPython plugin to use CodeMirror's vim mode inside iPython cells. It yet hasn't been updated to work with iPython 3.0.

[1] https://github.com/ivanov/ipython-vimception
Show HN: Create a papercraft book from any ISBN – experiment with React and Node
Absolutely marvelous.

Do you and your genius brother still write code?
Hmm, I am glad to know so many people stop at the boundary of compiler's restrictions and abstractions. btw, please do not misuse and misinterpret John's blog sooo, he is one of my most respected professors.
Prolog isn't a numerical constraint solver.

I once had to write a menu system in Turbo Prolog. Not fun. Totally the wrong tool for the job. Prolog isn't that useful when you have to cause an action, as opposed to computing a result.
You can actually upgrade the storage quite easily with an SD card.
Nude.js – Nudity Detection with JavaScript and HTMLCanvas
@dang why was this thread censored?
I think there is an argument to be made that pretty much the entire health insurance industry is a bullshit industry. It's led to the price of medical care spiralling absurdly high; it spends a lot of the money it siphons out of the process on getting lawmakers to resist removing it from the equation entirely. And when that catastrophic accident or illness comes they will find every excuse they can to avoid paying out.
And I guess now there's a Chrome extension that lets you just run Ubuntu (or whatever you installed) in a browser tab?

It's interesting that this is nearly what I've naturally arrived at with my current work MacBook. I got so tired of trying to get various Linux-y things running (and through OS updates) on OS X that I just created a Vagrant box that I can wipe and re-install at my leisure. Now 90% of my actual work is done on a virtual machine.

I'd have to figure out how to get port-forwarding working, and probably a few other things, but I'm willing to bet this new Pixel would make a darn good work machine.
At first I thought its just another vim emulation extensions/plugins that don't really work and are almost useless because you're so used to your customizations.

But then I noticed it mentioning that it can use my vimrc!

Wow! Now you have my attention!
Now is a golden opportunity for Canada to take action on the laundered money in Vancouver. Xi Jinping is taking major steps to stomp out corruption in China and would likely be a partner.

The problem is that there is likely some corruption and bribing going on in Canada as well, thus nothing is being done about this issue.
There's no simple list, really...it's just highly domain specific. I can give you an example though.

At work, we have a very large set of data representing individual "runs" that has to be "scored" (given various different numbers) in an ever-growing list of complicated ways. Originally these scorers were written in Python. This proved to be very difficult to maintain, and we recently moved to writing these in a Prolog-like language (not Prolog, but close enough for this discussion). At the end of the day it feels kind of like a much more powerful SQL (which makes sense, as SQL is a "relational" programming language and quite similar in concept). The facilities of logic programming perfectly fits this use case.

Similarly, you might take a look at anything people use "miniKanren" (an embeddable logic DSL) for. The fundamental thing to realize about Prolog, imho, is that while it's Turing-complete and has GUI facilities I wouldn't really call it a general-purpose programming language. It really works best as something like a DSL when you have tasks that require lots of logic and searching.

edit: Actually, writing this, I have a list for you. Do you need to perform a search and compute a result over a big data set, sort of like (in theory) you would with SQL on a relational DB? Then that's where logic programming languages shine.
Context matters there, IMO. If an image that someone finds incredibly disturbing is printed at 4x8 feet and hung in the lobby of a building a student has to enter every day to get to classes, it's not unreasonable for them to ask that it be moved. If that same image is in an exhibit in a gallery of the campus museum where it can be easily avoided, it's unreasonable to ask for its removal.
There is an official way. Turn on developer mode, open a shell, run "sudo crossystem dev_boot_legacy=1", then reboot and hit ctrl-L to boot a PC BIOS (SeaBIOS) that can install Linux. Then install and run any Linux distribution you like.
...and now go figure if this (read: the truth) is newsworthy:

Never Will Happen Ever. In fact, they (the majority) will always kill the messenger...
Like I am dating them. Visit them again and again to learn more about them and what makes them tick.
Perhaps english isn't your first language, but your grammar is so painful it's hard to know what you are asking.

If you are seeking a mentor for programming, join an IRC channel dedicated to your current favorite language and start listening, learning, and asking questions. Over time, a mentor will emerge.
Here's a possible cure for user-facing Government bureaucracy - you should never have to tell the Government something it already knows. This requires that government agencies get their data interconnection act together. Most companies already do this.

It's basically what Salesforce does.
Tech school at what ATC base?
VM's, mostly. Compilers, secondary. Blender, Inkscape. And then there's the big builds I do: the Linux kernel, rootfs, MOAI .. this all adds up and is quite space-filling.

If all I was doing is produce Word .docs and a few spreadsheets, I'm sure it'd be fine. But if you're a modern developer in the F/OSS world, 128gigs is barely enough to get rolling ..
Satire, sewers and statesmen: why James Gillray was king of the cartoon
That would presume we are all collectively interested in reducing complexity and work. Too often these complexities exist to benefit a small minority at the expense of the majority. For example: http://techcrunch.com/2013/03/27/turbotax-maker-funnels-mill...
Howeverm we did not test on any other browser technologies like flash or java. I cannot guarantee that there is no possibility to access any VRAM from within a browser.
ChromeOS is apparently the very first operating system to only run apps targeted to it.
1. For the knowledge worker, employment should be measured in results (not time).

I have achieved work-life balance by predetermining what I will deliver and when. My manager has buy off and he consequently doesn't care what hours I work.

2. I fundamentally reject the principals of this article. If you feel oppressed by trading your products or services for a wage then please feel free to never take in a wage.

In America you are responsible for how much you work and how much you earn.
Longer than a year. RLD released a proper after 424 days.

Inquisitive minds wanting more information should be directed to StarForce.RE.Tools.ReadNFO-RELOADED - http://www.glop.org/files/rld-sfrt.rar (sorry for the hotlink!) - for a detailed technical analysis published concerning the StarForce 3 protection. A fine piece of work, if I may say, though I shall not identify the authors.

StarForce 3 was really quite intrusive, including secretly-installed ring0-access device-drivers. Flaky and damaging to the security of your system and very widely complained about.

I would not say such a monstrosity is an achievement UbiSoft should be proud of: indeed, they actually apologised, although I would not say they were genuinely sorry in any sense.

I would like to thank the developers working on the actual game, of course. I feel sorry for them that the publisher had such strong opinions about that.
RGB.Today – Share interesting things about design
This! Yes, it is a "netbook," but 64gb is becoming my minimum requirement for a mobile phone. Even a 128gb option would be appreciated.
In my experience the wisdom "GIN is slower to update than GiST" is mostly obsolete nowadays. At least that's what my benchmark results suggest http://blog.pgaddict.com/posts/performance-since-postgresql-...

It's also a bit shortsighted to look at the index maintenance in isolation - when your workload is 99% reads, and queries with GIN indexes are way faster, it's probably more efficient to use GIN indexes.

Moreover, there are often more expensive parts when inserting/updating data (either inside the database, or in the application), so the index maintenance is not really the main problem.

I'm sure there are workloads where it's still true, though.
How music labels are trying to kill off Spotify’s unlimited free streaming
does it support systemd and docker?
You're right. In hindsight I think I meant to type "the west of" Vancouver. West Van seems to have a bit of an absentee problem as well.

To be more accurate, there are large Chinese communities in Richmond, Burnaby (near Kingsway), the western side of Vancouver, etc.
This has to be the best DB error I've ever read:

"User 'lutheran_insults' has exceeded the 'max_questions' resource."
Ask HN: I am a golang developer, looking for part/full time job
Hi,

I am looking for a part/full time job as a golang developer. I will graduate in May 2015 and would like to join immediately. I am proficient in C/Java/Python too but golang is just too awesome. I have experience in Distributed computing, Software Defined Networking and Linux systems programming.

Anyone willing to hire?
I wonder why the drivers don't do this on startup. Judging by the specs, most GPUs have enough memory bandwidth to clear all of their memory in less than one second.
Device Tree for Dummies [video]
Must be hard-coded to 95. rimshot
I would guess they want the ability to take off and land on relatively short runways, and, as indicated, they want to reuse existing engines.
Silicon Valley spars with Obama over 'backdoor' surveillance
Looking back at when I was a kid, these games and products felt like something that simply always existed as though they were a force of nature, something created by a huge faceless team that knew what they were doing.

Being in the industry myself now, what amazes me most is almost every one of these great forces of nature was actually the result of one leader burning themselves right to the ground in order to get it done. In some cases, it's a small handful of people, but even then there's usually one that takes the whole thing on their shoulders even above the rest.

It helps further the old saying "if you want something done right, you have to do it yourself."
This isn't true at all. I am fairly "in demand" in my local development circles. There are a few companies that regularly call me up or email me when they need some work done. In the last year I've worked over 40 hours 3 times, none over 50. Most weeks I work between 35-40. Do good work and set appropriate boundaries.
Observium: An auto-discovering network monitoring platform
And it only took, what, four or five centuries? I would say something snarky here about the amazing moral leadership on display, except that this actually does seem to be slightly faster than average for a major religious sect as old as Lutheranism.
Silicon Valley Trailer 2
Seattle is objectively a much better place to live right now if you can. It has cheaper housing (at least for now), more and higher-paying jobs, especially in tech. But Vancouver is a beautiful city and has better Asian food. Every once in a while my wife and I drive up there on the weekend to walk around the city and eat some fantastic Chinese food. We fantasize about living in Vancouver, but in the end it just doesn't make any economic sense.
I concur, 8bit style art is fascinating to me.
I probably use Semantic X more than most people do and I absolutely never understood RDF/OWL/whatever. My use case: I run a fairly large wiki, we have Semantic MediaWiki installed, and literally the only thing we use it for is setting "facts" on pages that you can use as a search engine to find the pages that satisfy queries. It's just metadata for pages, essentially.

I don't think I'm alone in this. None of Semantic Web stuff ever really made sense to me.
This has also been my OSX experience. I bought a Toshiba CB2 a couple months back to see if ChromeOS could handle my workflow; It does. I want a pixel bad!
no, he isn't:

> "To go out and buy new engines for the B-52, you'd have a really hard time fitting that into our program, but that's why we're interested in a public-private partnership, which would be a different way to amortize those engines over time and pay for them in the savings that they actually generate, instead of paying for them out of savings that you hope for.

This sounds like a Private Finance Initiative as the GP mentioned
5 Tips for Staying Effective When Working on Multiple Projects
Mars One Delayed 2 Years, CEO Releases Video in Response to Criticism
I agree with you that this type of technical interview is a great way to fail to hire ideal candidates. I've experienced this myself. I was commenting only on the specific complaint about "terminology," and that one should be able to see through unfamiliar terminology in an interview, not that such an interview is the best way to hire excellent developers.
I'm still holding out hope for an analysis of the Denuvo DRM scheme, which has only been defeated with unwieldy and slow emulators after five months. As far as I know it doesn't use any invasive kernel modules like StarForce did.

Probably won't happen though...
Whenever I find myself asking this question the answer is always "too late". Cool idea.
I know plenty of people who loved "The Peripheral", but despite some clever contrivances in the settings, I found it to be a completely boring book. The plot unfolded with no help from the protagonists and nothing unexpected ever happened.
Ask HN: Big ambitions, poor execution.  What do I do about this?
I have very big ambitions, but poor execution. I am focussed in one sense - I am able to keep coming back to wanting to execute on the same ambitions and the things I want to execute on have obessed me over the last few years. But, this obessession to execute on the fixed set of ambitions have not translated into the intenisity of effort and the requisite amount of effort needed to accomplish something meaningul.

The pomodoro technique has been very helpful to reach an improved level of execition. Are there other techniques out there?

Have other HNers faced this themselves and overcome it?

I have the feeling that I have great potential and yet I am throwing my life away due to a lack of focus.

Your help and advice is much appreciated.
The Pez Outlaw
Shallow advertisement.
I think what you're saying is compatible to what I meant to say. In my last sentence I was thinking later that "censoring" would have been a better word choice than "avoiding". If I'm in a social environment with a friend that I know has had a certain trauma, then of course I wouldn't have a problem with avoiding certain topics. But I wouldn't agree with censoring those general topics from a lecture (assuming the topics would be presented professionally and not flippantly).
Agreed - this will not be that easy to fix, but still if we want to fix it than we need to think about reducing the complexity.

I have also a very tentative idea that this might actually lead for more democratic organizations - because removing the inefficiencies that come from the complexity will bring a lot of advantage for the companies that would do it - and this will require more creative thinking and good will from everyone in the organization. This is just like science would not thrive in a too autocratic institution - so the universities had a lot more internal democracy than for example production companies. And today production companies will have the same need for creativity and good will as the universities had in the past.
I realize that it can look that way. But what could I do to have a fair chance to refute something that is made to be hard to disagree with, as most opinion pieces are? Where the subject is also something that I and the audience are inexperienced with and where the audience share the emotion being expressed in the article.

Regardless, here is my on-topic opinion. Colleges are one of the few places in society where you can experiment with different ideas. If those ideas always have to be holistic in regards to the schools well-being or in-line with that the NY times thinks they will very easy be limited. Wildly disagreeing is a good thing, including disagreeing with what, how, when and where you can disagree. Say you weren't able to try to censor something, then few people would see the importance of free speech.

If there's anyone who should be criticized, to the extent they are guilty, it's not those who express their opinions, but the schools themselves. They are the "referees".

The article of course on purpose disregards the fact that these kind of groups, regardless if you agree with them or not, often have very well-thought out arguments, stories and reasons behind their actions.
What are TOP 5 hackers attacking countries?
I assume:
1) China
2) Russia
3) USA
4) Irak
5) Iran

True or false? Asking for past and present.

THanks for info.
Illiquidity and Bubbles in Private Share Markets: Testing Mark Cuban's Thesis
Does not work well on an Android phone.
The whites living in West Van seem to be alright, but I have not lived in West Van. The places in Vancouver I am familiar with are North Van, Surrey, Richmond, Burnaby, Vancouver, and the UBC area. Again, I mispoke when I referred to "West Van," but you guys leave no room for mistake. I actually prefer to stir the pot a bit, makes me happy. Nothing that's said on here will change anything anyways. This is humour for me.
It's really not a black-and-white issue, so I think it's perfectly OK to be on the fence about it.

I might roll my eyes at the phrase "trigger warning" sometimes but on the other hand I recognize that the whole reason why this concept exists is because there are forms of abuse and violence that have been pervasive in our society all along, they've just been swept under the rug, their victims intimidated, silenced and shut out of the public discourse. It's not a reason to censor the media, but it also wouldn't kill us to have a little sensitivity when discussing these topics.
I just want to say you are one of those rockstar programmers right now. I was talking today with a co-worker about JRuby and your research, and even he was impressed.

I am just starting to get back into programming, and because I need credit coursework I have to start off with Java this time. 1yr to 6m ago, I was dreading that prospect. But your work, other JVM languages like Clojure, and the undefeatable power of JVM web stacks on things like Tech Empower benchmarks make the uphill battle to understand Java so long, but seem so much more fruitful than when I would look at Java prior before I read so much cool Java research and practice on HN, Reddit, and elsewhere in that time.

So thanks for your work. I one day hope to understand at least 1% of Java internals and understand your Graal and Truffle work.

I will check in next decade when I am ready. :-)
What not to expect: for her gender to never be mentioned or never used as a trump card.