skysight-inc/HackerNews huggingface dataset:
> Since C++ uses deterministic destruction and freeing, there has to be clear responsibilities defined. In particular, it has to be clear which thread is ultimately responsible for running the destructor.

Ownership itself is an abstraction that is very useful for manipulating ephemeral resources, and which is very difficult to express in languages where garbage collection is the mandated universal solution for resource reclamation.

> Point being, writing code that would otherwise be "abstract" in Java-land implies (but rarely explicitly defines!) some rigidity in design with respect to how long objects need to be around for different threads to use them.

When you care about ownership, “who frees this object” isn't an implementation detail or an abstraction leak. It's a part of the interface.

> Since objects are values in C++, you need to know the size of things much more often.

Pretty sure everything is a value in ML and Haskell, and I don't recall every having to worry about the size of anything when using those languages. C++ programmers tend to wrongly conflate “value” with “a physical copy of the value”. It's better than what you get in Java (no user-defined values at all!), but it still leaves a lot to be desired.
> I'm going to ignore your implicit rhetoric that there's nothing that can be done to help this and offer a potential suggestion

There is no implicit rhetoric. It was quite explicit. I saw a list of possible explanations of why foreign students cheat more. I pointed out those seems like leaning toward a justification, and invited a list of policy proposals based on those explanations.

So far we have "do more during orientation". Trust me, as an exchange student, albeit at just one university. This was made very clear during orientation. There were no maybes, or ambiguity there. But you are right there, it was something that should be done, but it is already done. Maybe force all to sign a paper saying "I will not cheat". Will that help solidify the idea? Perhaps...

> how many people in the world you really think are law-fearing as opposed to law-abiding?

I honestly don't know. I lived in 2 countries so far for long periods of time and people have very different attitudes towards law and authority in both. I wouldn't be surprised if the same people are law fearing for some law (getting caught speeding) and then also law-abiding (they wouldn't steal even if they know they'd never get caught) for others.
Yep, and http://government-contractors.insidegov.com/ is pretty easy to use.
> Is there anything inherent to the language that makes this global lock thing difficult to be without in Python, but not in other languages?

Both language and interpreter design. I was wanting to give a talk or at least write about some of the internals of the interpreter and language and how to do it better next time.

In case there is interest for this I might actually get around doing that for once.

(I have played around with a different from of GIL-less execution a few years back that was based on independent interpreters and message passing thread bound objects but I ran into so many issues with the interpreter :()
So I get several downvotes, but not a single response so far, neither to this nor here:

https://news.ycombinator.com/item?id=11839033

Also not one word about what might be wrong about what I said or asked. This is quite incredible.

And even if more substance comes forth, which I hope -- and I mean that, because it's not that I don't believe the claims at all -- that precedent kind of remains. When I say I find this, in the way and excess it's done, wrong even assuming the claims are true, I do mean that -- and if you disagree, then you should argue the point, ignoring and downvoting me just substantiates it.
THAT PINK SITE! Is that some sort of statement?
I am an Indian, do I need to read a foreign paper to know about my own nation?

You are confusing two different topics, we are not discussing the concept "Hindu", we are discussing whether there was an entity "India". The paper you linked says nothing about that. I have told you how the concept of India is very old using the citations in your cited paper. The blog post I linked proves my point so I don't know what you are talking about.

What do I have to be defensive about? Do you think I have identity crisis because some random person on the internet has some beliefs? lol
The problem with that is that, if you as a malicious third person can MITM the http connection for updates, you can push an older signed package with known vulnerabilities.
also worth mentioning:

http://vuo.org - intended as a replacement to quartz composer and cross platform later on.

http://www.bigfug.com/software/fugio/ - cross platform and came out this week.

"Fugio is an open visual programming application with support for Oculus Rift, timeline based media playback, OpenGL, OSC, MIDI, Arduino, and much more!"
Not exactly true. If you as a malicious third person can MITM the http connection for updates, you can push an older signed package with known vulnerabilities.
H-1B is a dual intent program. From https://en.wikipedia.org/wiki/Dual_intent :

Dual intent is a United States immigration law concept. It generally
refers to the fact that certain U.S. visas allow foreigners to be
temporarily present in the U.S. with lawful status and immigrant
intent. This allows those visa holders, particularly H-1B
professionals, to enter the U.S. while simultaneously seeking
lawful permanent resident status (green card status) at a port
of entry. Otherwise, visa holders may be presumed to have
immigrant intent and can be kept from entry (summarily excluded)
as a matter of law.
I suppose the main rebuttal is that, if the program enforced an earning requirement of > $100k (or so depending on state) regardless of position, it would not affect a net increase in the available labor pool for a large section of workers.
Has nobody thought to ask the Bosnian guy _why_ this ancient (which it isn't either) civilization would create these balls? Every archaeologist I have ever met, and I've met a few, would tell you what it is based upon what it would be used for. Not the other way around. If he's just going to blindly speculate then it might just as well be a Minotaurus Humungus's testicle.
Dear MRAs, please try to lift the entire debate to a 20th century understanding, you are making me look bad.

To give a short primer,

Patriarchy: A social structure, which in modern discourse is largely influenced by work of Zetkin and Luxenburg around the WWI and leans on an analogy to Marxist classes. As such, it is notably not a conspiracy theory. The claim that there is no conspiracy is as uncontroversial as it is a straw man.

Gender: Social roles usually assumed to be correlated with biological sex. Note, if you want to claim gender does not exist, then you have to explain why Black Widow does wear high heels in the latest Marvel movie, while Iron Man does not. (Notably in the article the author confuses gender and sex, they are not synonym. One is about biology, one is about society.)

Toxic masculinity: To give an example, more men die in battle because the role of a warrior is clearly gendered as male. (That is, it is more acceptable for a man to become a soldier than for a women.) So there are aspects of expectations of man that are not helping. Another example is, more men die in car accidents because a man is expected to drive more aggressively than a woman. I have yet to see an interesting argument about toxic masculinity, that was not more eloquently argued by feminists in the 70ies. So stop whining about an unfortunate word choice. (See what I did there?)
CRUDding data in small chunks locally, pre-working 1% of data locally to assess the extension of your domain or uploading in the cloud in a parallel manner are the starting techniques.
Then you haven't looked. When I visited China I saw lots of people deficating in the streets, parents encouraging children to do it etc.

When a man's gotta go...
Interesting that it's the informational equivalent of 109 bytes, which is around the same order of magnitude as some of the earliest computer viruses that did nothing but replicate.
wetworkremotely.com
“NOOB Tested, Guru Approved”
Angels vs. Yankees, Monday, June 6th, Las Vegas Sports Betting, Baseball Odds
That's hardly surprising given that they wouldn't exist without the possibility of revenue. I'm not sure why you think this should be disturbing to anyone though.
Just to nitpick, we're not only interested in curing cancer in humans. From elsewhere in this thread, a transmissible cancer that threatens an entire species, for which attempts have been made to find a cure or vaccine:

https://en.wikipedia.org/wiki/Devil_facial_tumor_disease
Why did a straightforward factual answer, with citation, get downvoted? Y'all confuse me.
Muhammad Ali,A man of inspiration both outside and inside ring
But you’ll end with more self-documenting code and more clear internal APIs. It’s a fair tradeoff IMHO.
If you do not need any housing (or maybe am ok with a very remote small room)
wetwerkremotely.xxx
"then TS would remove that syntax."

So there is no hard promise of TS backward compatibility ?

Sorry but whole TS looks like another EEE - MS will/can argue on some further JS changes for/against based on existing TS codebase. I hope I'm wrong here though.
You end up basically returning a dump of an SQL query
Right, that check-list is actually useful in any dynamically-VS-statically typed decision scenario.
Do you have any numbers at all to back up your belief that proximity to the Golden Gate Bridge somehow increases developer productivity?
How to name CSS classes
Mitsubishi Outlander hybrid security bugs exposed
Two reasons:

1. Agencies often buy from distributors and integrators, not publishers. In this case, original manufacturers may appear in the variable `descriptionofcontractrequirement`.

2. Spelling may differ. Variable `dunsnumber` is be a better indicator for uniqueness.
How Many Times Should You Shuffle a Deck of Cards? [pdf]
WordPress Web Design for Dummies
Most of the Python implementations other than CPython use GC rather than reference counting. PyPy does. Iron Python did.[1]

There is a version of PyPy without a GIL[2], but it runs much slower on ordinary code and is still under development. The developers are looking for financial support.[3] The approach is to identify large blocks of code as transactions, and run them in parallel. If they try to access the same data, one transaction fails and is backed out. It's like database rollback.

But you have to write your code like this:

from transaction import TransactionQueue

tr = TransactionQueue()
for key, value in bigdict.items():
tr.add(func, key, value)
tr.run()

[1] http://doc.pypy.org/en/latest/cpython_differences.html
[2] http://doc.pypy.org/en/latest/stm.html
[3] http://pypy.org/tmdonate2.html
>How do we fix that?

Its really quite simple: Stop taxing income. Start taxing spending.

Income Tax is a heinous enslavement mechanism. Spending-Tax is far, far more fair and just.
I honestly think e-democracy would work everywhere after a few years of total chaos.
Regarding the first class definition with TS (sayer):

You can shorten the it by declaring the public variable within the constructor: constructor(public this.what: string) {}. Thereby you can eliminate the property declaration as well as the assignment inside the constructor.

And regarding the non-nullable example for Typescript: I think there is an non-implicit-returns option or something similar for the compiler which would have warned you that the function is incomplete. Of course it wouldn't help if you manually return null/undefined (which is valid).
> What's to make them believe me now because I have some anonymous piece of paper.

I don't know anything about policework, but entering in a place illegally (I assume Jake or one of his friends doesn't have legal free reign in random German hotels) to intimidate someone into doing something is quite a thing. I could imagine the police caring enough to try to get fingerprints off of the piece of paper and perhaps come to the hotel room to check video footage and other fingerprints.

I'm not saying I don't believe you, but someone mentioned something that caught my eye as well, so I commented on it.

Up until now I hadn't doubted Jake's legitimacy. I also didn't agree with everything he said (having heard him speak and answer questions in multiple places, and briefly talking to him personally), but I figured it's just normal not to agree with everything someone says. Your article made me realize I should listen better and judge whether the good intentions are really there, and it made me much more hesitant when it comes to Jake and the Tor project in general (another comment linked an article with similar things about the Tor project as a whole). So thanks for sharing this.
Both systems are really great, however, when adding typechecking into an existing codebase, flow does offer more flexibility thanks to weak checking and annotation comments. You can really progressively add typechecking by just dropping the tool in the codebase. Also, if you subscribe to Facebook's tooling (Nuclide especially), you will end up with great tools (jump to def, integrated checking, ...). However if you just start the project and you use VSCode, TS seems to be a strongest choice. Depends on what you do, but both tools are great, whatever you choose, typechecking is worth in javascript if you need more reliability and maintainability.
Did Harvard Scientists Secretly Discuss Making a Human from Scratch?
I was answering the question "Why not use Messenger?"

To answer that question, I opted to list personal reasons why I don't use it; reasons I'm sure are shared by many. Your response is basically telling me my experience and opinions are wrong.
NEXT 2016: Fast. First. Viable
There certainly is, and it's a bit insane. My email is in my profile. Hit me up if you ever wanna hit the beach with some beers, talk tech/code and bon fire. :)
Criteo | Software Engineers and Research Scientists | http://criteo.com | ONSITE Palo Alto, Ca - Paris, France

Frontend/Backend/Everything in Between. Data Scientists, Machine Learning Experts. The Criteo Prediction Engine analyzes 230Tb of data every day.

Criteo is a performance-based internet advertising company. We historically focus on display ads with an emphasis in retargeting strategies.
Criteo does not have a large presence in the USA, but we're a rapidly expanding global company with Software Development hubs in Palo Alto and Paris.

Here's some stats to put our footprint in perspective:
- 15 datacenters across US, EU, APAC (8 with computing capacity + 7 dedicated to network connectivity)

- 740bn+ ads served in 2014

- 1.06bn unique users globally on the desktop (comScore MMX, March 2015, Age 15+)

- One of the largest Hadoop clusters in Europe with close to 40PB of storage and 30.000 cores

- 8,500+ advertisers across 75+ countries

In case you missed the significance, there's about 2 billion internet users, and half of them saw an advertisement placed by Criteo last year.

I'm an engineer here at Criteo, so feel free to reach out to me for info on our tech stack, what life is like at the company, and any other questions. Also I can put you in touch with a recruiter directly if you contact me (I'm not sure where the jobvite submissions go).

s.verhasselt@criteo.com
I got one job without needing to meet them. Another company invited for local interviews, and I used the 4 days I was there to also interview at 2 other companies that I was already interviewing on skype with and also got another offer.
Hey Dan, thanks for responding. I think the key point you may be missing (or perhaps I missed a flag somewhere) is that I want relative requires but I don't want the intermediate js and sourcemap files cluttering up my project (and assuming I have an existing babel/webpack stack I'm happy with -- I just want the type checking).

I want the ability to convert any existing js file within the project to ts without having to touch a single other source file. I also want the type checker to assume that if I don't have a type definition for a package, that I don't want the use of that package to be type checked (without being forced to rewrite my ES6 imports to commonjs).

I was able to do this with flow but not typescript.

Is there something I'm missing?
Donald the dumb trump
What's wrong in it when Govt does the same?
http://www.bloomberg.com/news/features/2016-05-30/the-untold... http://paste.ubuntu.com/16869423/
Unfortunately code quality tends to be on the bottom of customer happy list.

I also had the "pleasure" to work in a few projects where it wasn't even on the list, beyond a few powerpoint presentations.
Us, software engineers, start to sound like spoiled kids when it comes to interviewing.

We don't like writing code on the whiteboard, we don't like mind teasers, we don't like programming puzzles, and so on. We complain about everything.

Well, hiring is a difficult problem, and nobody has a universal solution yet. But the truth is that if I want to get a job, I will need eat the humble pie and get out there and try to perform as good as I can to whatever I am asked. If I don't, somebody else will.

However, remember that interview is a two way process, if I don't like the employer's process, then maybe I will not even interview for them. In this case though, I cannot expect them to give me an offer, just because.
I don't know what the solution to hiring is, but I don't think it is as simple as just talking to people.
While I have not been involved in too many new hires, I have known many people that come across as knowledgeable in conversation but produce pretty terrible code.

I think coding challenges provide some value,
but it can be a but much to expect candidates to spend hour's of their time early in the process
Isn't that what my university degrees were supposed to be for dammit!

/ha ha only serious
צימרים מומלצים בצפון – פסטורלי
When to write setters
I am not sure Mars is the easier target given how much further it is up the gravity well, but certainly Elon is welcome to focus on whatever he wants. I was just making the point that the Moon is able to be used as a source of rocket fuel if so desired and in my opinion it is a worthy target.
Indian regime is trying to protect Bania hegemony http://www.livemint.com/Leisure/3u2QUPuXBEFPaBQXU2R8mJ/When-...
Pickle is used in Python's multiprocessing library to communicate with other Python processes over a pipe. Seems sensible to me.
I've been a huge fan of Margaret Hamilton for a long time. Her story is in many ways what can be wonderful about great design and creation by really smart and able people, and so disappointing about our not-quite-a-field. (And if you want a tough computer to code and make a great system for, look no further than the Apollo Guidance Computer!)

I think that a mainframe computer like the B5000 (or more conventional mainframe) was just too much machinery back then to overlap much with the needs of Apollo). Hamilton realized that a really good notion of "module" would help tremendously with integrity, and that the OS should have an active "overlord" to dynamically assess and deal with real-time conditions and needs for resources. I think this was just amazingly brilliant work for that time (and any time). NASA did give her a major award (but where was the ACM?).

I've never had the pleasure of talking with her, but I have a feeling that NASA could also have done something to encourage her ideas to be more communicated and put out into the open.
Am I the only person who is totally fine with just texting people? I mean, given this is HN, maybe all of you people use Android and have no idea how amazing iMessage is.
BISON
Business Intelligence Services Over Network
Slide 12 is incorrect. TypeScript does catch this with a "not all control paths return a value"
I worry about the bus factor of rust. I was at the fosdem rust meet up / devroom and it was 95% Mozilla folk
Considering he's beaten Lee Sedol and Gu Li, who knows how this will play out.

But no doubt he'll talk to Sedol about his take away from playing AlphaGo, especially since part of playing against any computer is reverse engineering its decision tree.
This is a realy great submission... thanx!!
well let's say you want to create a minute by minute report on URL's visited in an ecommerce site that has a large amount of usage. Every minute I want to process all those URLs and decide if I want to create a flash sale on the site. Since this was an example I just thought of, let's imagine that there are 400k URLs visited every minute.

That would be a decent definition of what I meant by large amounts of data. Sorry for not making that clearer before.

Your friend's example is pretty good. Curious how they work on the data in memory.
New Business Intelligence software is coming soon, get free trial now http://thebison.io
Introducing Runway, a distributed systems design tool
Why Facebook Will Start Sharing Revenue With Its Content Partners
Please, Don't Just “Do” DevOps
I actually found the opposite was true in our project - TypeScript was easier to add into the code than Flow. The biggest reason for this was that Flow demands null/undefined checking and null was used extensively throughout this code base. With TypeScript, on the other hand, the changes to make it work initially amounted to sprinkling a few "any" notations and making some explicit object interfaces at various points.
In this instance, WASM shares JS' sandbox and security model down to the implementation, so the added risk is extremely limited. The only part that could be dangerous is the parser.
Do people applying for other roles get treated to tests like this? Seems peculiar to IT afaict. Having worked in IT for > 25 years, I would have thought my track record would speak for itself, but still I'm treated as though I've been lying and cheating my way through my career. It's not like just asking questions, either: it's a test of basic aptitude and (like the author) I'm at the stage of refusing to do them.
I heard somewhere, that TS class syntax diverged somewhat from the spec. Can anybody who has insight into the TS tell me what the situation is?
I followed the sub-interpreter thread with great interest, but after the implementation went in I haven't seen anyone build the kind of multiprocess tooling that it was designed to enable. Have you heard of anything?
15 signs you’re doing agile wrong
Right, so a perfect starting place to test things out, instead of going to mars straight away
Why Honolulu if you live on Maui?
You're not your programming language. When people are expressing distaste about a language, it's (usually) not an attack towards its users.
I'm guessing that AlphaGo has been doing more learning. Studying Sedol's games is probably a good platform but certainly not a plan to win - Jie needs to go in expecting the unexpected. Just look at how different the games were between Hui and Sedol.

To answer your question more directly: giving AlphaGo more hardware would only give it more CPU cycles to work with (faster decisions, not necessarily good ones). The true improvement will likely come from the very same source that humans get it: practice and mastery.
One will note that you didn't respond to my first point, which is that your actual argument (about unequal resources devoted to policing cheating) is wrong.

So if you are going to argue the point that there is bias against foreign-sounding names, enough bias to explain a 5x gap, you'll need more than roundabout inference and implication. Extraordinary evidence means direct evidence, not links to employment-related articles.
Von Braun wanted to go to Mars too, but ended up choosing the Moon as being the more viable option.
Well then it's a good thing that the Bay Area gives you more than one city to live in if you don't like SF. Many cities are cheaper and a lot of them have good access to the train (CalTrain) and the 'subway' (BART) so if you want to hang out in SF after work, you can.
Is Tomcat an Application Server or a Web Server?
There were some games with Gu Li? Could you point me to them? I can't seem to find them.