skysight-inc/HackerNews huggingface dataset:
> Your comment calls "code review", the practice, "toxic".

Oh also, I think it should be clarified.

I'm not advocating code review is a bad thing in itself and we should stop doing it. I think it could be done better, by internalizing the impact of a comment and measuring its cost before doing it.

I see doing code review as better than not doing it (because you read other people code). I see being moderate when it comes to decide if something is worth commenting as better than the usual practice of considering comments are cheap and we can just comment anything.
The conformance tests are open source and will be available from day 1 ;)

As far as participating in the design of the standard, are you really saying you'd want everyone and their mother to have their word? I think it's best to leave this to GPU vendors and engine implementers, as they're the ones who know how it can work.
Ask HN: Where would you incorporate your European startup?
Say you had to incorporate an Ecommerce startup that's based in Portugal, currently sells in Portugal and the Netherlands and plans to sell all over Europe? Main issue is tax planning.
It's a visual design issue really, and not just purely usability light the rest. By now, most people are aware of how paginations work.

I agree with you, but I am just stating that at most, it only serves as purely aesthetics. You could replace underlines, with hover with a transition effect or animate on appearance (as going back or forwards), etc.
glReadPixels() forces you to synchronise with the CPU at the point you call it, and stops the driver from carrying on with further GL commands until it completes. Doesn't matter what you're rendering to. So even if it's cheap on the GPU, it stops the driver making forward progress which could be very beneficial to performance.
War crimes.
My guess would be that they wanted to stop this sort of thing before it becomes a real problem. There have been numerous examples of this kind of "sjw" behaviour influencing and even targeting big open source projects, and people become afraid of it (Sarah Sharp is the only name I can remember at the moment from such an incident). I don't know the people involved though.
Could you give an example of niches like that? I'm currently doing all sort of things, ranging from reverse engineering to wordpress websites (yeah, i'm a freelancer...), and I'm super curious to hear what people found out to be "good" niches and what were "bad" niches?
I was in the same boat in 2015, happily using a hacked-together solution of gulp-babel-browserify that took a few days to set up correctly. Than, after hearing about it enough, I decided to give webpack a try.

After a few hours of learning, I've succesfully set up webpack with hot module reloading and some other niceties. It was certainly much more cleaner than my old solution.

I'm a webpack user since than. It's easier to understand and easier to upgrade for me.

I didn't really took time to understand browserify, just enough to get me working, and I was an inexperienced JS developer at that time, which may explain why my first solution was hacky. But I still believe Webpack's architecture allows a cleaner and more understandable solution.
Hawk vs. Quadcopter (video)
Bill for Everything
The Scots language is a good counterpoint - they aren't just speaking "English" with an accent and the odd bits of different vocabulary such as the word "outwith".

And Frisian comes close, e.g. "Bread, butter and green cheese is good English and good Fries", which sounds not very different from "Brea, bûter en griene tsiis is goed Ingelsk en goed Frysk".

https://en.wikipedia.org/wiki/West_Frisian_language
SystemJS is dog slow if you load all your JS upfront. When mostly lazy loading, SystemJS performs reasonably, at least in my case.
We've banned this account for being a long-time pro-Microsoft astroturfer who has plagued this site for years, including making networks of accounts to reply to each other and create the false impression of conversation. We've banned this person or persons many times before and will do so whenever we have evidence of them plying their trade on HN. There are 76 accounts marked in our system as theirs (all banned, of course), and I'm sure they've created many more.

By the way, their bit above about how the HN community makes a 'huge deal' out of Microsoft criticisms while Google and Apple get off, etc. etc., and accusations of voting bias on HN (e.g. https://news.ycombinator.com/item?id=11014741) —all that is highly characteristic of this person or persons. So is their use of HN not only to promote Microsoft but also to bash its competitors, something I predict you'll see if you look through the submission history of this one.

So, a call to all upstanding HNers: if in the future you see accounts that comment like that, it might be a good idea to email us at hn@ycombinator.com so we can investigate. But please don't accuse people on the site itself—that undermines civility, and shouldn't be done without strong evidence. (And let's not forget that HN has many legitimate users who use and like Microsoft products. I'm pretty sure kogir is no astroturfer.) When we do have strong evidence, we act immediately to protect the integrity of this site.

When we discovered this astroturfing campaign in 2013, and saw for how long they'd been plaguing HN, pg said that it made his blood boil. Well it makes my blood boil now.

We detached this subthread from https://news.ycombinator.com/item?id=11011322 and marked it off-topic.
Functional Refactoring in JavaScript
The entire editorial is premised on the fact that some "parasites" shouldn't have access to scrutinise data because the market incentives are reduced.
I think it's nice that science never makes the claim that how it actually happens, only that it might have happened this way, on a priori ground.

Maybe we never really know (the truth as is), but if we can mimic (the truth as if), it's already intriguing and fascinating.
Awesome, but quite standard for major broker dealer banks. Any major market making broker dealer will have tech designed to protect itself from being on the wrong end of trades with better informed market participants. And those better informed market participants may well be market making HFT firms. See recent discussion about BARCs FX trading [1]. Larry Harris' class Trading and Exchanges has an excellent explanation of the microstructure dynamics of markets makers and informed traders [2], which I comment on here [3].

[1] http://www.bloombergview.com/articles/2015-11-18/barclays-to...
[2] https://global.oup.com/academic/product/trading-and-exchange...
[3] https://etrading.wordpress.com/2006/08/31/adverse-selection-...
This seems to solve one of my biggest issues with trying to use individual Dockers to run microservices.

Past experiments proved that it wasn't feasible to match one microservice request to one Docker instance. The size of each Docker required vertical scaling of the microservices per container, which was not ideal.

Good job Iron.io! Might trying playing with these at some point.
Second this. There is no reason not to use TypeScript now that's easier to work with .jsx and add 3:rd party libraries without dealing with type definitions.

Also, make sure to try out atom-typescript by Basarat. It's genuinely amazing and feels like Swift. :)
What if you're creating a proprietary version of yacc, and you're using yacc to parse domain specific language for your clone?

I think that's fair enough?
And why would they make up the data? Not saying they don't - Wakefield certainly did.
What's your full build/bundle time like? May be faster to just bundle the parts you need and build them (and use the compiled output). Also ensure caching is enabled for the stuff you want to cache (deps, I assume).

Cachebusting is possible with systemjs. Looks like this project is a good start:

https://github.com/stealjs/cache-bust

Here's a quick-n-dirty fix for this same problem when working with Aurelia:

https://github.com/aurelia/framework/issues/94#issuecomment-...

Here's where SystemJS devs are discussing adding cachebusting:

https://github.com/systemjs/systemjs/issues/172
Probably off topic a bit - but is there any tool that will automatically analyze C++ code and create sequence diagrams?
mpv grew on me something fierce these past two weeks. Open quick, none of the options I honestly don't care about and open source. Good stuff.
Me to i only worked at one place(subsidiary of Elsevier) that did the mega party thing.

I didn't go to the first two and only attended after that to make nice with teh boss.
I actually wrote an editor just for that: https://github.com/strathausen/qed.bas

I've been setting each pixel by hand using that editor.
ParseHosting, Migrate your #Parse app to a self-hosted server today
A bit could have been flipped in the software or the result of the function (true/false), but in the number itself there appear to be no single bit flips that make it prime (at least in the binary representation).

Edit: A single bit flip could have been used as "semi" plausible deniability in the case of malicious intent.
No, you are awesome. Thank you!
How to Build a TimesMachine
I think the poster would be OK, actually. It sounds like they have income coming from several unrelated entities, have the right of refusal for work and a few other things like that. The only things that indicate PSI are: they probably get paid when for fixing a bug that they created; they are probably paid on submission of a timesheet. But overall, it sounds more like a consulting business than an employment arrangement.
I can fully understand being upset even though I'd probably reject the patch. It's not the content that is being debated that is sad. I don't mind either position, personally I lean towards the "don't care about so called microagressions in codebases"[1]. The way this request was handled would upset me a great deal though so I can understand why he reacted the way he did.
R is cool, sad to see a good member of the community leave.

[1]"exclusionary as all hell" is too religious for my taste. Please change that language.
Chapter Lead | ING Bank | RELOCATION & VISA supported | ONSITE in Amsterdam (the Netherlands).

This IT department adopted the Spotify organization model and is looking for chapter leads (60% hands-on technical, 40% leading/managing other developers). Tech stack is diverse but for back-end we're mostly looking for Java and Scala experience. Bonus points for Cassandra experience. CI/CD knowledge is beneficial. Agile mindset a necessity.

We can support relocation & visa.For more info, contact jan.bernhart@ing.nl
#Rare_Mercedes_Benz #auctions for $9.9M
Just build your sensitive hard coded primes in a separate object file. It rarely needs updating.
HTTP/2 with Node.js
That green shiny lock in your browser is a scam
I have clearly indicated that the project has to think hard in such cases. Not every drama can be avoided in advance. Just make sure that we don't intentionally create and keep dramas alive.
Thanks Oracle/Google. :) Sorry, it is just that I write code that ends up passing hands through multiple entities. Each time one entity has to include an attribution notice, their willingness to include the library drops dramatically.

I'm in the camp of "I'm glad if anybody includes my code", and I still submit bug reports/patches to upstream projects with "public domain" licenses, even though I am not required to. It just makes sense, provided your employer recognizes the value it brings.
Are Internationalized Domain Names the Answer to a Multi-Lingual Internet?
Cool!

By the way: The PLAY command was acting as a pause hack, to limit the speed. It would just block the loop for a few milliseconds. Not sure there's an alternative, I think SLEEP was only for seconds...
Or perhaps it went something like this:

A person who has a long history of creating drama wherever he goes sees a very aptly named argument with siblings which follow the same nomenclature. The person opens a bug report to change the name of said argument because he perceives some grand social injustice with it. This person is rather impatient so he hammers it, effectively spamming with emails the maintainers. But that's not enough, he hammers the mailing lists and contacts directly the (very busy) maintainers just for good measure. He doesn't get what he wants because he is being obtuse and ridiculous, so he decides to elevate this to the head maintainer and emails him directly, insisting actions to be taken to indulge his caprice. Maybe he even posts on twitter to get other people with nothing better to do on his side and exert pressure. Maybe, just maybe, this person feels excited and warm inside as he posts on twitter. He did it again. People will engage in meaningless rhetoric about things that are not really there and he is center of it all. Oh, the hours spent going back and forth and back again and all the ATTENTION.

But the head maintainer sees right through it and will have none of it, so he just blocks this person from stirring drama YET again in the future.

Not saying this happened, just fyi, but it's possible, even probable, one might think. And after all, here we are, creating rhetoric about things of absolutely no significance whatsoever.
I'm going to answer my own question:

https://github.com/animatedb/oovaide
libstdc++, libc++, and MSVC's STL all implement it as a red-black tree.

Even if it's not required to be a red-black tree, it is de facto a red-black tree on every major compiler.

Moreover, this doesn't really change the parent's point. It must be some sort of ordered associative container, meaning that it's not going to have the performance characteristics of a hash table.
Pebble Steel: I like the look and I don't have to pull my six inch phone out of my pocket every time I receive a message.
I'm not an expert either. I have know two successful traders. By successful, I mean they made a living, and were employed. Both barely passed the series 7 exam.

They both used inside information when trading. Both were in denial. Both had a lot of money. A lot of it in the Cayman Islands. I still see a lot of inside information being thrown around. Hell, the only real money my deceased father made in the market was off an insider tip from his father in-law. My father asked me, "Should I do it?" Me, "Dad--you literally broke your back with honest construction work, and only certain members of your family appreciate what you put your body through. Yes--do it, and enjoy the money!"

That said, I'm a little jaded when it comes to stock trading. I basically believe most are cheating. Since I don't believe there are honest traders(not day traders who did well in bull markets), doesn't mean they don't exist?

Why should an honest trader pay more for a stock just because Computer that is physically close to one of the exchanges sees his order?

I don't want to argue with anyone. Preventing HFT trading, or at least the guys who are trying to literally sit on the exchanges seems like an easy fix? I don't know why they don't stop it?
Wow, that looks awesome! Is the code on Github?
On choosing a hypermedia type for your API (2014)
Here is a related lecture from MIT https://youtu.be/56iFMY8QW2k which mathematically proves how it is pretty much impossible to go "happy" from gambling in a club even though intuition says otherwise.
I don't understand the redaction. The title of the journal is partly redacted...how many words can fit in that blank space even if you ignore word length analysis. "Review", "Journal" maybe a couple more. An then they also have a link to nejm.org and a seal that reads "New England Journal of Medicine".

Am I missing something, that redaction is...odd.
EIS & SEIS [1] tax breaks for UK angel investors are a strong argument for the UK. Also R&D investment has tax credits too, so startup salary spend on new product dev is treated well by the UK tax office [2]. Don't know if PT & NL offer any similar breaks for startups & their investors.

[1] https://www.crowdcube.com/pg/seis-tax-relief-42
[2] http://forrestbrown.co.uk/rd-tax-credits-explained/
There is some more information and references here:
http://mathworld.wolfram.com/PolyasRandomWalkConstants.html
Yeah, a full graph would have been nice. Maybe one where you can click a language and it rearranges centred on that.
Browserify also has code splitting

https://github.com/substack/factor-bundle

and hot module reloading

https://github.com/AgentME/browserify-hmr
Gulp-rev-all (https://github.com/smysnk/gulp-rev-all) works well for me.
4 years of salary instead of paying for school is going to end up being pretty close to $200K even if you are paid at the very low end. That's nothing to sneeze at. The downside (as you know) is finding time to study, figuring out what you should study and making sure you stay employed for those 4 years. After that I don't think you're really at any disadvantage compared to a new grad.

I think the major downside to skipping school is that it makes it nearly impossible to immigrate to another country sometime in your life. A degree in a related field is worth its weight in gold in that case.
I think the need for "Previous" and "Next" is overstated. Unless your pagination is pixel-consistent from page to page (and at the top of the page), it's going to be fiddly to repeatedly press anyway, and that's the only real benefit. Normally, if you're scanning the pagination links, you'll reach the next page by number way before you reach the "Next" link (obviously, that's not the case with Previous, though!).

Same for Start and End, really, if you adopt the 'show the last page or two' approach, so this is possibly better:

[1] [2] 3 [4] [5] ... [19] [20]

You can then omit a whole class of concerns and just concentrate on the few remaining elements relating to the page numbers themselves.
I recall hearing/reading that there are sections of the standard which mostly suggest that a tree is the only valid map data structure. I think something to do with iterators and was mentioned in a CppCon talk or blog article. I will try to dig this up.
Hmm personally the majority of people I've worked with are all of at least above-average intelligence and many of them are also very interesting. Met quite a few self-assured smart people at uni (I was one to an extent) but I think most of us grow out of it. Or maybe I've just been lucky where I've worked.
This is a good example of how important it is to work with actual data, representative dummy data, or at least to try and simulate these things. When pagination is built, the fixed-width page number links are often based on a single integer, which of course breaks down once you get more content.

A huge amount of 'bugs' I run into as a front-ender are of this kind. For example, someone designs a nice three-column layout with title, subtitle, and text underneath each other. Each of these columns is fixed-height as well (usually a bad idea in general, but it looks very ugly otherwise).

This works fine in the design phase, where titles are written to fit the element, but once you start working with real data, you run into a problem: one title might be three lines high, while another is only a single line high. Since you want the 'columns' to be fixed height, you now have to add a lot of whitespace underneath the one-line title, so that everything lines up with the three-line title element.

Then you realize that you have the same problem with the subtitle and content, so now you end up with ridiculous amounts of whitespace between title, subtitle and body, depending on the length of the text within.

I've often tried to preemptively address these issues as a front-ender, but aside from this not really being my job (that's where the value of a UX designer comes in, I guess? Or at least a web-skilled designer), I can't always predict these kinds of things either.

So the best solution I've found is to always try to work with real data, or create enough 'random' fake data to fix these kinds of issues.
Similar to mailing lists, IRC might be less mainstream but is still heavily used in niches, i.e. for development and support of open source projects. The simplicity of the protocol makes it easy to use for automation (bots), i.e. CI servers or similar. I've also seen networks dedicated to file sharing.
Ted Cruz erased Trump's Iowa lead by spending millions on voter targeting
I would have listed Lisbon as one of the places I'd choose. Guess not.

Taxes? What about Tallinn?
Startup Lab Workshop: How Google Sets Goals: OKRs GV (2012)
One of the useless posting I have seen in recent times. Is this some kind of a joke? $30 for a slack channel!
No the product is search, it's monetised by advertising.
FiveThirtyEight's Iowa caucus forecast
Browserify is so much easier to understand and interact with, I'm sticking with it as well.
> The graph is not going to tell us anything about that. Profiling will.

What kind of profiling would you employ for a concurrent data structure like the hash map here? Instrumented code or sampling profilers?

I'm afraid both kinds of profiling would yield quite meaningless information, because the individual operations are quite fast and the runtime may vary depending on e.g. cache utilization and contention. Profiling is good for bigger applications but it's not super useful for "primitive" operations like hash map inserts.

If I were to optimize something like this, I'd first reach for the CPU performance counters trying to understand what aspect is the bottle neck.
i was looking at the last issue. it seems inconclusive - I like to serve my js from CDN, so this is very very important.

what is your opinion of webpack in general though ?
For what purpose? Normal corporate tax planning? A neutral entity so you you can raise investment from European investors?

Does Portugal have CFC laws?
Culture and momentum are real and important parts of workforce morale. Killing them off, will actually send the wrong message to employees.

I've been at companies who followed the above and ended first an annual 4th of July party, then scaled back the Christmas holiday party, then started cutting semi-regular, informal, socialization activities over lunches and what not.

There was nothing more damaging to morale at that firm than killing the few times a year we got to have a bit of fun on the company's dime. We worked hard so the CEO could buy another house, and the reward was "no bonuses, no parties this year." I watched the life drain out of that place.

Killing employee morale activities costing millions won't save jobs lost by spending billions or implementing anti-employee policies.
> They still do have 400 million email users, and email users are loathe to change, so that business is probably safe for a while.

I'm one of them, and Yahoo makes precisely zero dollars from me -- they've been a free IMAP server for almost 20 years. It will be a huge PITA when they die and I have to tell a bunch of people to update their address books. I wish there were a way for me to pay them a few bucks to host my mail, because other options like running my own mail server and "sharing" everything I say with Google are not so good.
The message I'm getting here is that we the users should probably send you more money.
good analysis, but you probably meant "ideally optimized uncontended mutex".

edit: spelling
I've yet to see an infinite scroll implementation that doesn't slow my browser to a crawl after a while of scrolling.
I co-founded http://www.fitanalytics.com/ as the only technical guy, been working on that for the first four years (started with nodejs 0.4.x back then and CoffeeScript).

Now I have a small team in Berlin (5 devs), doing some mobile apps and a project for Wix: www.wixeducation.com (ES2015, Postgres)

We don't have a real website, because we're so busy :D but there's a logo online: www.code-pan.com