skysight-inc/HackerNews huggingface dataset:
There's a couple modes of engineering mindsets I'm conscious of.

1) Being careful of every change and addition I make. Trying to figure out and predict the effects, scalability, and maintainability of the code I produce. I find that most engineering positions are looking for this, as most employers already have an existing production code base and would not like wild things like crashes and service disruptions to happen to their audience.

2) Occasionally, I get to start on something completely new. Not new as in just a blank page, but new as in blank project, or even blank idea. As exciting as this sounds, over 90% of the time, the idea will die as there is some undiscovered flaw or expectation almost always external to an exceptionally well thought out implementation. The only thing clear about this is the urgency of the deadline, and the failure associated with missing it (missed management expectations, no demo, no presentation... etc). Many know this as building a Minimum Viable Product. In this case, all rules go out the window. Choose expedient tools, create copious crap code and internal design, as long as it works OKish in the end. Having it violently done tomorrow as opposed to 3 days later, or a week later, or a month later, is key. If you're lucky and it limps along (not canned as uninteresting), just change hats and become the step (1) engineer.

Sounds like you desire some more experience with (2), but both types of people are needed. You, yourself, will become more valuable if you can put on both hats, but I wouldn't say that one hat is absolutely better than the other.
The blog entry includes a reference to the HN discussion in the updates toward the end.

The previous HN discussion clarifies that google reports a constant (although large) increase in speed for a specific application.
I think it is even worse than I thought...

I've asked the "true"-random tool to give me 3000 of the really "true" numbers (as it claims) and out of 3000 it has thrown to me ~9% of char(0) and ~9% of char(255) values (see the fractions below), whilst the others <0.01% per char between char(1-254).

./generate_constant_stream |head -c3000 |ent -c
Value Char Occurrences Fraction
0 309 0.103000
1 33 0.011000
...
...
253 � 28 0.009333
254 � 29 0.009667
255 � 312 0.104000
Total: 3000 1.000000

Entropy = 6.861709 bits per byte.

Update

Running it without the char(0)/char(255) neither did outperform /dev/urandom, but only running terribly slow (~5mins on i7) and using 100% of a CPU core:

$ ./generate_constant_stream | cat - | sed -u 's/\x00//g;s/\xff//g' |head -c3000 |ent -c
Entropy = 7.737683 bits per byte.

$ cat /dev/urandom | sed -u 's/\x00//g;s/\xff//g' |head -c3000 |ent -c
Entropy = 7.924493 bits per byte.
It's a very interesting case, I wonder if there are any lawyers who would care to comment?
Huh. I find that when my C++ compiles, it almost always works. Correctly.

But I used the language for nearly 20 years, so maybe it's experience and the patterns I've learned?

Not that Rust or Elm aren't better options; don't know, really. Despite feeling like I'm an expert in C++, I don't actually like the language much. I've used Go some, and I like it, but I haven't tried Rust or Elm yet.
Previous discussion: https://news.ycombinator.com/item?id=11668069
Brilliant- how does it perform with difficult gramars, such as fractals or organic shapes?
That seems especially irrational if your alternative is road transport. People die every day from that. No passenger has died since 1987 on the Underground, except with the terrorist attacks. Even those didn't cause fires.
I am like this too. For me, I find that using a curriculum as a means to an end does three things:

1. Applying your knowledge forces you to confront the gaps or uncertainties in your understanding that you would normally overlook.

2. Allows you to interleave different the topic with related subjects, which gives you a broader or more fundamental understanding of the topic.

3. Attaches an immediate utility value to your study regime, which serves as a better motivator and means to identify when to study hard and go deep, and when to gloss over.
Yes, cabs drivers can actually fit very closely with the ideal independent contractor model because they can pick people up at the curb and pocket full money from the trip after taxes. Uber on the other hand dispatches 100% of the work to their drivers and takes a direct cut every time.

They both have a lot of flexibility and let people work any time of day or night. But, Uber has much tighter controls on work location and performance. Where a cab company only cares if service is terrible and someone calls to complain, Uber wants more than that and fires people for so-so performance.

In the end Uber pretends to be setting up a market, however they act like drivers are employees.
True, it's pretty recent https://m.youtube.com/watch?v=0a6K1NiUY2s
As a user, I despise webapps, unless it's for social networking or news (like FB/Twitter/HN/Reddit/Imgur.) Even for social/news I prefer native apps to webapps when available.

I mean look at the native mobile apps for FB and everything; I'm sure the majority of users prefer opening the apps to using the browser, so there must be something going for them.

Webapps NEVER feel as responsive or powerful or fit into the look-and-feel of a platform, compared to native apps.

To me, most of the alleged advantages of webapps just look like the excuses of lazy developers, not to mention also a bit of hypocrisy: Would YOU prefer most of your IDEs and development tools to be webapps, or native apps?
http://www.independent.co.uk/news/world/americas/forgotten-m... another source
Ask HN: I am turning 20 today.Got some advice?(as an entrepreneur or a developer)
I am a newbie web developer. and a wannabe entrepreneur . I am confused about a lot of things .like grad school , to focus on studies or some idea. I am asking for some advice you got for me as an developer or entrepreneur.
Copenhagen has since fitted platform edge doors to all stations, above and below ground.
Project EQUATE: Light speed mathematical processing
I appreciate the links. I'm still perplexed though -- isn't the Mach component of MacOS X not at all a microkerel? Are you saying "it sort of is", or "it certainly is" ?

The promises of microkernels seem extremely attractive to me, but we know that the promise of simplicity doesn't come for free (witness Hurd[0]). There were versions of Mach that were high-profile (i.e.: media/developer attention) microkernels, but I thought the Mach in MacOS X really
was simply "not a microkernel". Interested to hear more about this if you've got illuminating info.

[0] https://www.gnu.org/software/hurd/hurd.html
I've seen that as:

1. Make it

2. Make it work

3. Make it fast
Why not integrate new things to learn with a fun side project?
Some Thoughts on Pair-Programming Styles (2014)
After Living in Norway, America Feels Backward
yes, the localstorage is the way to go

You save stuff to localstorage in one tab, and in other tab you listen to "storage" event:

window.addEventListener('storage', function() {..})

[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage...

[1] https://developer.mozilla.org/en-US/docs/Web/Events/storage

Another option is shared web workers, though I never used it.

[2] http://stackoverflow.com/questions/12107424/communication-be...

[3] https://developer.mozilla.org/en-US/docs/Web/API/SharedWorke...

I confused things in my other comment (I deleted it)
OK first off I will 100% admit that I am not an expert in this area and hence could be wrong (going back to the previously agreed upon advice that "Lawyer up" is clearly the right thing to do).

That having been said, I have received training, by a lawyer, about how to manage situations in which a sexual harassment claim has been made. In that training I was told that the accused employee has a right to hear and respond to the claims. Further if you punish them before giving them that chance you could be opening the company up to liability. Especially if you specifically fire them for harassment.
That's pretty close to what I'm doing now, but I use chrome.tabs.sendMessage. Thanks; I'd love to get this working without that dependency.
Git's attitude, AFAIK, is that if you want per-file comments, make each file its own checkin. There are pros and cons to this.

Performance as a feature, OTOH, is one of Linus's three tenets of VCS. To quote him, "If you aren't distributed, you're not worth using. If you're not fast, you're not worth using. And if you can't guarantee that the bits I get out are the exact same bits I put in, you're not worth using."
You've literally cherry picked sentences from your own links to avoid pointing out that - as I originally said - instances of harassment such as being called a "milf" must occur at a demonstrably frequent enough rate that it creates a hostile work environment. I.e. you must be harassed, not simply affronted. It appears that you realised this halfway through your post...?

Anyway, there is no court in the western world which will deem this lone instance as "sexual harassment". I don't know why you're so insistent that I'm "wrong" regarding this, as if I'm the harasser or something. I have not suggested that this incident should be dismissed or taken lightly, in the least.

I simply said that I'm shocked that 90% of this thread is saying he should be fired. In my country, not only would you not be fired, it would be illegal to fire you for this.
Wholesalers have agreements with retail brokers to provide a certain level of "execution quality", and that's what they compete on (fiercely). If they pushed the price around on one order, they'd have to make it up on some other order to meet their obligations. It's measured against NBBO at order receipt time, so chollida1's example would count as negative price improvement (even if the best offer was only showing 100 shares and not 2000).
The cited incorrect assumption was "null pointer dereferences are guaranteed to crash the program", which is, as you implied, not true because it won't necessarily crash the program. C places additional restrictions which say that the program can actually do anything (undefined behaviour).

The main reason I keep coming back to assembly language with C, is that C cannot do anything that assembly language cannot do. It only places additional restrictions on assembly, which is a bit easier to grasp (bitwise operations, add, subtract etc.). Once you understand the fundamental operations of the processor, you can start to learn the copious corner cases that is the C programming language.
Interesting that these changes are installed via an add-on instead of through a different browser entirely.
Starting is Hard
Peter Thiel to back Trump as GOP presidential candidate
Backblaze: A Peek Behind the Cloud [video]
Em...that's just half of what OS X can do. I have the same model, but my laptop can last at least 7hours in a coffee shop.
"Terrorism is not a serious or legitimate threat to the vast majority of Americans. Instead, the threat of our government abusing its power under the guise of fighting some imaginary adversary is far worse and has more impact on our lives."

Terrorism is a very, very serious issue that affects a lot of people in the world.

Sadly, it affects mostly Muslims.

Perhaps you missed the recent terrorist attacks in Brussels and Paris?

There is a terrible war on right now between various politically aligned entities, one of them being ISIS which is actively trying to attack Western civilians, with more notable success in Europe.

This is very, very real.

Please read the news beyond Americas borders sometimes.
Show HN: Nodecasts – Free video tutorials for learning Node.js
it used to be possible to simply access the other DOM via window. As long as they where in the same context (basically domain)

Edit:

Yep

w2 = window.open('/');
w2.document.click()

Is fine if complying with the sameOrigin policy

https://developer.mozilla.org/en-US/docs/Web/API/Window/open
Well, depends on what you mean with modern static typing. In some ways, mainstream programming is finally catching up with ML, which is from the 1970s.

If you mean cutting edge PL research it's a different story of course.
A friend of mine just refused to pick me up from Airport, because his Nissan leaf wouldn't be able to survive 80 miles both ways and there is no charging station in between.
The way I read it is, if the one takes 10 seconds to start and the other takes 6 seconds to boot, halfway is some 8 seconds. Something like that. :)
This has probably occurred to everyone already, but I think Uber and Lyft are playing the long game. They're creating a firmly established business model initially nested in legal grey area and barging forward regardless of the speeding tickets they may have to pay. Human driver labor will eventually be replaced by far cheaper machine labor and the challenge of minimizing contractor/employee expenses will no longer be an issue. They're just racing to pack the first punch in what will be a gargantuan industry- the final outcome of the drivers' situation now seems like it will have little effect on the industry's long-term model.
https://socialblade.com/youtube/ Is a pretty good tool for this.

I have some friends who are "professional YouTubers" (big enough to quit their day-jobs, not big enough to buy a Ferrari), who have told me they use that site for refernce. The estimate it gives has a pretty wide range, but it's typically in the middle of the two extremes. Just searched for one of my friends, and averaging the estimate gives just slightly more than what he's making in a month from YT.

Of course, it's all really variable and depends on the size of your channel. In January he had a video go viral and made as much as he did in all of 2015, but has since gone back to his more regular numbers (growing a little every month).
You probably should publish the git importer -- it makes it really hard to try bitkeeper if you have to play with a pretend tree.
Make Lego LHC a reality
NSE begat NSE-lite begat TeamWare begat BK begat git. Or so says Cantrill.
The Shut Up Chrome extension[1] is one of my favorites and HN is one of my few whitelisted sites.

1. https://chrome.google.com/webstore/detail/shut-up/oklfoejikk...
That's a pretty bad idea. You should only do a from scratch rewrite because of technical reasons (nobody is proficient in COBOL anymore, python is too slow, etc).
Excuse me, but where was it?

Also, Milf can be sexual harassment. Sure. So can be telling someone "you look nice". I worked with someone that was bashed by HR by telling a co-worker "I like your new haircut". I didn't see it as SH.

It depends on point of view.
> One reason she might have wanted to setup her own private email server was to skirt FOIA requests

This is unlikely. It has to do with her addiction to Blackberry phones and the fact they were insecure. She refused to give up using it. The email server was hosted at home since her 2008 campaign.

I assume she just continued to use the server afterward.

She even contacted the NSA to find a solution to keep using her Blackberry but they couldn't find one. It was just too insecure.

Edit: upon further investigation you might be right...

> One year earlier, during her own presidential campaign, Clinton had said that if elected, “we will adopt a presumption of openness and Freedom of Information Act requests and urge agencies to release information quickly.”

> But in those first few days, Clinton’s senior advisers were already taking steps that would help her circumvent those high-flown words, according to a chain of internal State Department emails released to Judicial Watch, a conservative nonprofit organization suing the government over Clinton’s emails.

https://www.washingtonpost.com/investigations/how-clintons-e...
I believe referring to our system as a "two party" system is mistake. In the United States there are far more than two political parties, although two specific parties dominate electoral politics. BUT, continuing to refer to the system as "two party" simply perpetuates this belief that there's no reason to vote for "third" parties, even though "3rd party" candidates DO get elected. Most of them are at the city council / county board of commissioners level, they they get elected and hold office.[1]

And as long as we stick to this incorrect single dimensional model, we make it even more difficult to talk about 3rd parties, exactly because some (many?|most??) of them don't fit the simplistic left/right continuum. To continue with an earlier example, American libertarians do not fit cleanly on either side of that model. I'm pretty sure there are other examples, but the Libertarian one is the one I'm most familiar with.

It's something of a chicken-or-the-egg problem, granted, but right now it's probably easier to start changing the language we use, than it is to overcome first-past-the-post single-member-district voting systems, etc. [2]

[1]: https://www.lp.org/candidates/elected-officials

[2]: https://en.wikipedia.org/wiki/Duverger's_law
One of the Most Convincing Climate Change Visualizations We've Ever Seen
Save iTunes
Uber exerts far more control over the business transaction/experience than a taxi company does (in order to control the experience). Unless Uber shifts its model to a platform with less control over how the experience occurs, they will still fall under employee classification, and taxis will still continue to fall under independent contractors.
Senate Judiciary Committee Begins Review of Mass Surveillance Statute
> should or should not constitute as suffering

Struggling is not really all that subjective, IMO. It's something we've all felt (emphasis on emotion) and can quickly relate to and reasonably collectively define.

My point is we should not try and constitute something other than struggling as struggling. Struggling is already a reasonably well defined emotional state, there's no need to try and equivocate other things with struggling.

More directly, We should not conclude that poor and few means implies struggling. All too often we conclude that richer means less struggling, and that by increasing wealth we can make the world a better place.
Facebook curating trending topics
Don't forget support for transactions! That's often missing too.
A video service hosted in Russia or China would have it's own problems. No freedom of the press in either country, and lots of issues with free speech. Any video critical of Putin or Xi Jinping would likely be taken down. Hard to operate a service with that kind of restriction.
If they had data and examples they would almost certainly have enough experience not to say things like "______ doesn't work" and "______ is a complete waste of hosts."
Yeah, copy. I see, thanks.
Very good question!

Generally in USA everything can be considered sexual harassment. All you have to do is go to HR and complain that (here is important part), in your personal opinion, you were harassed.

Also it doesn't have to be verbal or physical. You shouldn't stare either.
At this point the natural successor is investigative journalism like The Intercept.

Otherwise, you would need a combination of financial backing and access to the humans with correct connections to do the digging.

At the moment, The Intercept fulfills this niche, but it isn't a true successor to NGOs like CREW.
an impossible project is also retaliation. your scheme is actually worse than transparently firing the harassed employee, as it costs you extra salary, in addition to the lawsuit.
Yikes. I'm not a biologist but just treating this as a systems problem -- if you introduce a change that triggers apoptosis when a cell comes into contact with viral DNA, does that mean that the virus that evolves to attack that would make the whole body melt at once.
It was very interesting for me to observe my own reaction to this thread.

When I first read what you wrote, I though "fire. immediately." I think I was just angry that someone would be so off the mark when they are a new hire. And the milf thing made me genuinely angry.

But as that anger passed I realized how much of a gross overreaction that is. People pursue workplace romance all the time. The thing that sucks about approaching someone is when it is welcome, you are golden, and when it is unwelcome, you are a creep. It is incredibly hard to get through an unwelcome approach without any awkwardness.

So really, this guy needs to learn manners, and to chill out.

Unless he continually repeats the behavior, I don't see why there's any real long term problem.
I'm not a lawyer either, but I believe that with the exception of defamation --- getting back to "be careful about the words 'for cause'" --- it's not true that you legally owe an accused employee process before terminating them. I think what you were told was false, or that you misunderstood it. I don't think that the victims of a false harassment claim are entitled to damages for their termination.

I would welcome expert correction here.

The slight research I've done here suggests that from a legal perspective, it's safer to terminate than not, even if you're concerned about the veracity of the accusation.

I'm going to repeat that we're in firm agreement about not firing "for cause". You don't need cause to fire employees you've competently hired. It is definitely legally risky to provide negative references that include accusations of tortious behavior! Minimize drama, by all means.
1. Make it work.

2. Ship it before your competitor does.
It isn't taken as a lump sum, like out of your savings, though there is probably something in the law about your house... though they won't kick your family out of your house either (after a death, a widow or widower can live in the house the rest of their life, for example).

But that monthly check you would get each month - what your "pay" is after you stop working - they take the 80% from that part. It is automatic, much like taxes. The other 20% goes into your account, and who has control of that money depends on how able-minded and stuff you are.

For most folks, there is a minimum pension they get so long as they work long enough in the country or simply live in the country long enough and age old enough to get the minimum pension. And they take 80% out of that.

Everyone simply has the same price for the state facilities. There are a few private facilities with different pricing, but it really isn't such a big deal if you don't go there. Just some differences - in-house cafeterias instead of centralized kitchens, for example.
Well looks like there were some but we don't know what extent it was. Since this was from 7/2015 I guess it didn't led to criminal charges but it was a security risk.

People seem to treat it like hse email stuff directly to N. Korea and China on military instulations and nucealer weapon plans.
Is it good faith? It comes off as either pedantic or trolling to my eyes.
Spark, Kafka, Flink, Storm, YARN, Samza, etc... Good luck staying out of the JVM. "The database world" is a bane to the big data processing world.