skysight-inc/HackerNews huggingface dataset:
There's a big difference between someone looking over your shoulder and forcing you to explain what you're thinking, and someone working with you to collaboratively solve problems. In the latter case, you can ask lots of questions and throw out lots of dumb half-baked ideas, and actually get a meaningful, useful response from your partner/pair in response. If you're whiteboard interviewing, good luck getting your interviewer to meaningfully engage with you, since they don't want to "give away the answer".

The best interviews I've had were legitimate pairing interviews, where the two of us were tasked with solving a problem in a real codebase that the interviewer hadn't solved before.

(The best best interviews made it an issue in an open source project, so it can be a not-canned interview without you writing potentially production-ready code for a for-profit company without being paid)
This was submitted because it is interesting :)

The quote you quote (sic) is from the American Numismatic Society, which is one informed opinion but can hardly be taken as the unequivocal truth. The hypothesis from the Maine State Museum historians (which requires reading the entire article since it is at the end :-) is more constructive than mere dismissal as a "hoax".
I am reading it as the creation of an entirely new industry which will spawn sub-industries, hundreds or thousands of firms, and a million jobs over the course of the next 20 years.
> One of Rust's goals is being as fast or faster than C. Not ballpark, but actually competing.

I was talking about them in aggregate, and not all of them seem to have that goal.
What a ridiculous rating. Colombia is 31th. I'm sure if all countries from later places (ie. most of the world) would become just like Colombia the world would become a much better place.
The whole thing looks like meaningless metrics with weights fitted in so that highest places look reasonable.
It's almost as if HN's policy of obstinately replacing user-submitted titles with original site titles is sometimes misguided...
If this doesn't repeat websites and categorizes them in a neat manner it would be amazing. My obsessive bookmarking led me to throw this up: http://goo.gl/WNw5OG

I look forward to seeing what you come up with.
The two things I like about Julia are actually using it and all the smart people I have met who are also using it. It's awesome. After playing with this particular problem a bit, I do see how it is a pathological case for R due to the recursive nature of the value function. I still think I could do better than 500x slower than C++.
The appeal is in infinite possibilities, sport and teamwork. Single player games don't appeal to me as an adult, the outcome is scripted and the characters are hollow for the most part. It's entirely passive and a film or book gets to the point quicker for me. Violent multiplayers though- Counter Strike or Battlefield- give rise to fluid, human, tense stories. Stories in the context of violence sure, but real and non-scripted. It's yours and not the developers'.
Interesting, I have no such feeling of 'casual reading of it leads one to believe that Google is engaging in Censorship'.
I actually disagree. We live in a world where so much of what we do is recorded permanently, and that's a very new thing. I absolutely support the idea that we have a right to be forgotten.

This execution, however, is absolutely awful.
This is like the third time I've been accused of being fictional.
I disagree, large portions of the people traveling through airports are hopeful optimists going on vacation, honest ordinary people trying to play by complex, impenetrable rules, few of them are trying to game the system.

The real problem is the enormous numbers of false positives and the results on the unwitting victims
The IRS is also concerned about corporations intentionally spinning off projects for the purpose of sheltering some of their activities from taxation.

What red flags you normally for things like that is explicit connections to the for-profit (shared officers, board members, highly paid employees, etc.)
Yes, all ORM's build their SQL using string concatenation, BUT the good ORM's won't use string concatenation on user data, instead they will use bind parameters.

This way the query sent to the server looks like this:

SELECT * FROM whatever WHERE email = :1 AND user_name = :2;

And then the parameters are passed to the database server separately to bind to the above placeholders.

This way the database server knows what is user provided data and what is part of the SQL, and no special quoting is required since the database server handles that internally. It's much safer in that SQL injection becomes impossible at that point.
Would be better with HTML5 than Flash.
Also, if you like Lua, the LOVE library is excellent for writing games, and someone has recently started porting it to the browser - pretty impressive I think:

"An attempt to replicate the LÖVE API in the browser using moonshine." https://github.com/TannerRogalsky/punchdrunk
Hackers Find Open Back Door to Power Grid With Renewables
Sure, if "maintaining a work" counted, the standard would be pretty easy to meet!

But it's not just "works" but "public works." As in, "a broad category of infrastructure projects, financed and constructed by the government, for recreational, employment, and health and safety uses in the greater community." http://en.wikipedia.org/wiki/Public_works (Yes, it's Wikipedia, but this definition is about right.)
I would agree with your opinion if the American visa system wasn't a total mess.

"Having visa taken care of" is an incredibly easy thing to say but a very hard thing to do in reality without legal assistance, or more generally without a s*load of time or money resources to throw at it. Unfortunately many of us don't have these kind of resources available.
It's funny that this article states that it originally came from the IndexTank blog, and the creator of IndexTank just responded to an AskHN questions a few hours ago.

https://news.ycombinator.com/item?id=7977188
Thank you for these links! I love programming history and the many things you can learn about your tools.

I am stuck on a few projects at work using Groovy/Grails. Groovy itself has been fine and I regularly switch between Groovy, Python and JavaScript with little more than a Google to double check syntax.

However dealing with Grails is a damn nightmare. I recently ran into a bug where grails parsed a parameter query variable containing a nbsp symbol. Instead of giving me a string with an nbsp character, it inserted an "A" with an accent mark in addition to the ndbsp character. Two for the price of one!

The best part was, this only happened after I compiled the app to a war file so it didn't show up in development.

This is the 3rd parsing bug in grails I have found in the last few months alone.

Another one was the when using "render as obj as JSON" shortcut for controllers. The parser was converting "</" characters into a single Unicode character. Causing the HTML string I was trying to render break. However doing the conversion to JSON manually in a service class and setting the right response headers then returning the JSON string worked fine.

The third one was XML builder. Errors are thrown if I have empty leaf nodes (at a minimum I need to add {} to the end of leaf nodes). Only works in dev however as gain when I build the war it does not work at all. Instead I just build my XML string manually.

The final thing I don't care for is the GORM. We have never gotten DB auto reconnect to work with any MSSQL server or DB2 in the last 2 years (that we have been actively trying to get it to work) across 4+ applications.

tl;dr

Groovy is OK but Grails is a total PITA.
With all the paranoia over privacy right now, I don't think too many people will buy into it.
Ask HN: Big Data / Machine learning books for biologists?
Dear HN,
I have a Ph.D. in Biophysics and am currently working at a large international health care/research company. I would love to learn more about big data and machine/deep learning but "without the hot air". As a molecular biologist I always preferred knowledges driven approaches but perhaps I might use big data related methods to generate hypotheses.
I'd prefer a book written in a nice engaging way but a good study book is also welcome. Moreover, a focus on hospital work flows and pathology is welcome but certainly not necessary.
Do you have any suggestions?
Thank you so much for sharing this. Look at it this way, many companies are missing great talent because of their interviewing practices and for trying to imitate Google or Microsoft. More innovative companies (think Moneyball) can take advantage of this pool of talent and target people like you. I'm trying to think how to make it easier to identify this talent. Any ideas?
So, here's the thing.

We're going to be letting big data and whatnot into health. Every heartbeat you have, every milliliter of blood drawn, even your base pairs will be cataloged meticulously and shoved into a database. So, that amount of privacy/care is gone, never to return.

There are two things that are really worth asking:

Are patients or practitioners the ones who own collected data?

What is the utility of data leaks of non-billing information, truly?

For the first, I rather think we're doomed if we don't legislate that patients own all of their own data and license it back to care providers--basically, treat labwork and everything as works-for-hire with copyright belonging to the patient.

For the second, I think we're going to continue to treat all the health data as super mission critical, which will in turn only cause "security contsultants" to line their pockets further and justify the miserable busybodies in hospital IT that get in the way of progress under claims of "but but but the terror^H^H^H^H^HHIPAA".

We already give away gigabytes of data every year about everything else, so it's kind of silly/sad that we're so protective about arguably the least harmful/most useful data we have.
This still allows domain hijacking, just with more lag, and it has the failure mode "You are screwed for a year." As far as I can tell, this essentially makes touching DNS at all more onerous, but does not make theft particularly onerous compared to the burden added onto everything else.
Overprotecting intellectual property is as harmful as underprotecting it. Culture is impossible without a rich public domain. Nothing today, likely nothing since we tamed fire, is genuinely new: Culture, like science and technology, grows by accretion, each new creator building on the works of those who came before. Overprotection stifles the very creative forces it's supposed to nurture.
-- Alex Kozinski
Well that was my entire point: that Google was doing everything it could to fight the EU's "right to be forgotten" short of simply deciding (like they did with China) to stop operating a search engine in EU's jurisdiction.
I don't agree with the parent comment bringing some random unrelated twitter drama into this thread, but c'mon, "SJW" is not a "slur".
Can someone explain how this is going to work? They are going to send a handful of representatives to washington - what is the guarantee that those representatives won't change their stand once they get elected (or the money dries up)? And who choses which candidates to support?

Also, isn't 12 million (assuming they raise that much) too small? May be it is a good start.

Not trying to be negative, just trying to understand what their plan is.
Maybe if I am in a similar position, I should demand compensation for my time. That way I'll at least get to visit friends and see scenery around Austin. I wonder if a demand for compensation (besides airfare and stuff) would fly...
Yeah, I noticed just today that it doesn't record everything! Very strange. Could turbolinks-alike implementations be throwing it off?
Call me crazy, but I'm alright if some unsavory characters have an easier time staying anonymous if at the same time it makes it harder for states to censor the internet (they go hand in hand).

Tor lets people access things that their government doesn't want them to. Sometimes that means porn and drugs, but in much of the world that can simply be a news report.
You need to prioritize things based upon importance. If being in the US is vitally important to your company and your career, then that should take precedent over leaving the country until you get your visa situation resolved. Federal immigration services are tasked with making sure that people obey the laws of the country. A 'snafu' does not lift the burden of you handling your own responsibilities, and being an entrepreneur shouldn't matter to them.

The system needs to be reformed, but until it is you need to abide by its rules.
"...where you stated an absolute, then proceeded to follow it up anecdotal evidence."

If this is about the "similar things happen..." part of my comment, I guess you're right. I changed it to "similar things can happen...". I'm trying to point out that the fact that she had a visa problem could also have been due to a technical fault (though it sounds like it wasn't, in her specific case). It still doesn't change the feeling of intimidation and unwelcomeness that is most apparent at the CBP.

"...As former visa holder, this never happened to me, and I moved between countries all the time."

By their nature, such incidences are going to be rare. If this was the experience of every person at immigration, it would change pretty quickly. In fact the problem is that because it is relatively rare, there tends to be an air of disbelief towards people who speak up about it.
The fact that the Red Cross considers other (similar) charitable organizations as "competitors" sounds very weird to me. Does competition exist outside of the world of for-profit organizations?
I'm guessing because there is potential they could find a hire. Even though you can choose to be anonymous, if two people hit it off there is nothing preventing them from exchanging contact info. Seems like somewhat long odds unless the candidate is willing to relocate anywhere.
Those were definitely the two things that kept me from really considering it in the past. Both of those have now changed for the better and there's a more active community building up again. I think the facebook use of D has also brought some much needed attention to it to the point where the language itself is starting to accelerate changes to move forward. The DMD reference compiler still has some restrictions on the backend of it I think but because of the frontend being available there's now LDC and GDC that are LLVM and GCC versions of the compiler that do much better at optimizing and are fully open source anyway. It's also seemed to help find bugs in both the language spec and the DMD backend from what i've read on the news groups because they've got three very different implementations of the language now that are all mostly compatible (the DMD version is always a little ahead since the other two are essentially ports of it to LLVM/GCC).
Tinder's Forgotten Woman: Whitney Wolfe, Sexism, and Startup Creation Myths
I wonder what the effect would be if everyone submitted removal requests for all articles on prominent politicians (let's take the UK Prime Minister David Cameron as an example).

Methinks the law would be quickly changed. Especially with an election coming up next year.

Of course I am in no way encouraging anyone to do this, or condoning such behaviour.
Not sure what language that is supposed to be, but in all the functional languages I've used, you would specify that T implements close and write an implementation for a TcpConnection and a SerialConnection, letting the compiler figure out which one to call when and obviating the runtime exception entirely.
I dont believe we know enough facts to assess the competence of the officers - but I'm not defending their actions nor was I trying to legitimize them. The purpose of my comment was to make people aware that in general they see the world very differently than the typical entrepreneur. Not how I would like it to be, but it does seem to be a general fact.
Skip Traditional Virtualization: CoreOS on OnMetal
Indeed. As if one needed more proof that the TechCrunch <-> PR industry loop is rotten to the core:

During the three months [the $15,000 per month PR firm] were working with us, their most important achievement was a piece of news that generated lots of traffic, leads and job applications, namely this TechCrunch post. It ended up being a very positive article filled with product images of Lookback. One could argue we could've achieved that post ourselves but I'm not so convinced. We had submitted news tips to multiple sites previously but to no avail.
If Chuck Norris does nothing for two minutes he is being productive; he is not killing those who produce.
Giroptic Talks Kickstarter Campaign, Local Manufacturing and How to Get Press.
It's the "immanent" that's important. Advocating violence is protected speech.

https://en.wikipedia.org/wiki/Imminent_lawless_action
It's also Zynga, though. They've gotten flak before for not being the most considerate toward their employees. Maybe that attitude extends to candidates as well?
The 'source for data' is very poorly written. USA has a negative for culture, yet we export the most culture of all. Most of the world watches Hollywood movies/TV or has heard American recording artists. Why was it a big negative? No answers given.
I was surprised to see no mention of Ubuntu in this article, they did exactly what's being imagined with the phone switchable to full-featured desktop.
“Internet Famous”: Visibility As Violence On Social Media
This is what the grandparent is missing. Google is doing this because it exhausted all options of appeal and was forced to do this by law. I have no doubt that Google doesn't like being told what it can or cannot show in its search results.
Thank you for posting this. As an a guy who's about to turn 27, it's very interesting and useful to hear about possible life paths.

Is there a way to contact you via message that you could share (perhaps a throwaway email)? I'd like to ask a few follow up advice questions that may not be appropriate to put publicly.
Great, I'm glad to hear Mustapp can help you :)

It's free for all public projects (published on GitHub), but to connect with your own git or a private repo (GitHub or BitBucket), it's 29,99$ (in-app purchase, to pay only once to build as many projects as you want).

The Mac AppStore would not accept Mustapp Server because it cannot be sandboxed. But I should mention it in the FAQ, you're right!
So let's look at some of the existing ones like Wikimedia or Apache. What are they doing to claim that particular exemption?
>Reason and logic, empathy, trust--all these seem suppressed with particular vigor

I'm pretty sure that empathy and trust are removed as part of the training process.
Angel Studios released Resident Evil 2 in 1999. Non-violent you say?
Love it, but you know you can get the ducky's tenkey-less too?
Can't upvote this enough. I see that EU (and in wider sense, many private advocates wrt. discussions about Facebook, et al.) wants to go the way of denying and removing facts, which is both hurtful for the society and not going to work anyway.

The real problem are not teenager's criminal record or photos from drunk partying - the problem are the people who judge others by things like that, many of which are done by everyone else anyway. And if this is the majority of people, maybe we should finally admit that this is a society-wide problem.
A few things jump out at me here.

1) You're making some incredible generalizations; this happens "every time"?

2) You started out by claiming "feminists" do that and when pressed, you immediately retreat to "Radfems". So it turns out that even by your own admission, it's not feminists who scream rape every time; it's only the radical ones.

3) Since you're presenting this hypothetical anecdote and using it as evidence, I'll introduce my own and point out that I just checked the faculty list for my old school (5th grade to 12th) and the teacher faculty was maybe 40 percent male. Thinking back to when I was in middle and high school, the current ratio seems about the same as it was back in the early 2000s. So I'm not seeing your claim about the absence of male teachers or babysitters.
I meant for a language :). The ones like Kotlin and Idris have no suggestions at all.
Any ranking that has Ghana 6th for Prosperity & Equality has some serious problems with it's methodology.
hmmm, privacy?
>> ..which will in turn only cause "security contsultants" to line their pockets further and justify the miserable busybodies..

You obviously don't understand how utterly appalling the security of a lot of software is. My job title is "security consultant" and the last test I did was on a medical related application that tracks medication administered to patients in care facilities. All the sensitive patient data can be read and updated completely unauthenticated. They implemented ALL of their permission checks in the thick client which simply talked to a webservice - anyone with a decompiler and half a brain could alter patients drug doses with no record. This is a large application used in a large number of places.

Maybe we need more security consultants in the medical industry.
This is not quite on point. But thanks for sharing.
The stochastic growth model is the workhorse of a narrow subfield of economics. It is not in any way representative of the research we do. Further, you will not find any examples that are better suited to compiled languages or less suited to using R than the one in this paper.

To my knowledge, value function iteration isn't even used much in this area of research, so the claim that the stochastic growth model is a "workhorse" is a bit misleading - the stochastic growth model gets used, but it is not solved very often using the methodology in this paper.
EUROPA – EUROPA – Euroopa Liidu kohta
Many of the bioinformaticains I know use R. Not knowing how to use it properly wouldn't surprise me in the slightest. I struggle to get some of them to indent their Perl code.
First thing I thought of once I started reading this was Neil Stephenson's 'Anathem.' In it there is a monastery of sorts with gates separating different areas. There are gates that open once a year, once every ten years, once every 100 years, and once every 1000 years. There is also a giant clock in the center of the monastery that is wound daily by four individuals.
That's actually not simple at all because it assumes an implementation, that is, a machine with RAM that changes.

For instance, what does = mean between domain and email.split ? Who is equal to who? That question is a question that students sometimes have. You have to explain that Time is implicit in the code, and that an equal sign works by making the thing on the left equal to what the thing on the right was just before this line. So now there's a concept of Time and that's how things start to get very complicated, because it is implicit in your code.

Then, what does ".append" mean? I mean, you call append, but now you don't assign the result to any variable? And what would it mean if you said domains = domains.append(domain), then we really need to have a talk about the hidden Time.

So it only seems simple because it's familiar to you; so in fact I believe it's not simple at all.

But this I believe it's simple, and my fishing boat engine above would've benefited from this:

https://www.fpcomplete.com/tutorial-preview/4217/4k7kq6jGUE

If you look at that code (you can also click play to run it) and then look at the explanation again, could you please tell me what doesn't seem simple?

Edit: let's not forget your Python example uses a map, disguised as a for loop. That for is a keyword, but backstage it's just map where email is the element, emails is the list, and everything you write inside that scope is the function that gets passed the element each time (except in your case the function (i.e. the loop body) can also see the whole list, which is prone to bugs).