skysight-inc/HackerNews huggingface dataset:
It baffles me that it is legal to offer somebody anything "contingent on an agreement not to sue". How are disputes resolved ? Especially in this case there is almost a guarantee of a dispute, isn't there.

How would an employer defend that this agreement wasn't made under duress ? That both sides were equal partners in the negotiation about such a contract ?

I'd think the right to sue about anything is the most fundamental of the inalienable rights, because without it, the other rights wouldn't effectively exist.
Y'all have seen Jodorowsky's Dune, right? This documentary changed my life:

http://www.imdb.com/title/tt1935156/reference
Or, he doesn't care? Or, he uses a pseudonym? I hope he doesn't care? I want to think he has enough political influence to get to the truth? Or, uses some of his money to right society's wrongs? But, I don't know the man, nor what he really values? I did get interested in Lisp, when I found this site?
I know the point of this blog post is to benchmark languages with a naive use case, but for those interested, there are many faster algorithms designed for deterministically or probabilistically checking the primality of a number, and even faster ones for computing the number of primes up to n. Recently a modified Lagarias-Odlyzko method was used to compute the number of primes up to 10^25, although I believe it requires the Riemann Hypothesis.

Approximations to this computation are even more fun: Asymptotically, this function tends to x/ln(x), or more accurately to the integral 1/ln(x) dx from x=2 to n, whose asymptotic expansion is x/ln(x) + 1!x/(ln(x))^2 + 2!x/(ln(x))^3 + ...
Seconded.

Three years is an awfully short time to notice things uniquely as though one were an insider. It has been my experience that cultures do not unfurl that easily for outsiders to be allowed in and wrap one's head around, all the motivations for the reasons why a society organizes itself in a certain manner much less, comprehend the complex inner dynamics of such organization.

edit: HN is starting to become a strange place. Take the time to explain how your experiences abroad - even the short ones - helped you gain non-threadbare insights about that culture, which fully invalidate my disagreement above, rather than partake in purely intellectually-lazy flaming.
On OSX 10.1 with luajit 2.1.0 alpha, a straight translation of the C code gets me 59 seconds on my machine which is close to the C speed on it (38 seconds compiled with O3)

Edit: fixed luajit version
I'd like to think that discussions on HN ought to be a little more rigorous than dropping unexplained links to a pre-FISA purely domestic FBI program from half a century ago when discussing today's interactions between the CIA, German government and German press...
Wait, the sentence above the second one that you quote is:

"In this way, while we have not arrived at a final licence, we expect to select one of the MIT licence, the MPL licence or the LGPL licence."

They are definitely considering the MIT licence. Did they do a ninja edit?

I definitely agree with you about the amendment thing.
I've been using Keysnail and it seems to provide Emacs keybindings for pretty much any task. It also seems to be actively maintained.

http://blog.binchen.org/posts/use-firefox-in-emacs-way-3.htm...

https://github.com/mooz/keysnail
Conkeror is a standalone browser (not to be confused with KDE's Konqueror) I've been using with a similar mission, though I look forward to trying this out and take advantage of FireFox's technologies (debug, pdf.js integration, etc.)
On the face of it your advice sounds sensible, but is it actually possible? Can you rest your brain? You can do things that feel like they're less effort mentally but your brain is still doing just as much work - things that feel nicer are just releasing a different combination of dopamine and serotonin. Is there actually any difference in the amount of energy you use doing "down time" activities? What mechanism is your brain using to recover?
Well, that's about efficiency.

If you want to be able to slice at grapheme boundary n, you have to iterate through the string counting up to n to find out where it is. Might as well just provide an iterator over graphemes in the first place.

You can optimize slicing on codepoint boundaries by storing strings internally in a fixed-width representation, like Python does. But now you have to convert encodings all the time just to use UTF-8 for your I/O. And that still only gets you codepoints.

It's not a great tradeoff to do it that way. It wastes memory and CPU time, and randomly accessing characters of strings is just not something you actually need to do often enough to optimize for it.
The next scary thought is how many other theories are not theories at all. They say every lie has some basis in truth. Reptilians anyone ;D
We're still trying to figure out coding assignments simple enough for adults who present themselves as career programmers.
We've always had people who make their living on causes. Maybe they first got involved out of genuine concerns but at some point, to paraphrase Upton Sinclair, a person can't be expected to find solutions when his salary depends on the existence of the problem.

Also, and related to another post[1] on the front page right now, we have the rather recent element of twitter and other social media that is deliberately manipulated to create and amplify emotional, flash-mob types of dust-ups over isolated events in order to make it appear that there is a huge systemic crisis happening. That gambit is as old as politics, but the rise of social media and the "report first, get the facts later" type of approach to "news" reporting taken by many blogs and even some previously objective media sources has made it much more efficient.

----

[1] https://news.ycombinator.com/item?id=9826200
At which point you wonder if you're writing C code anymore. There's also the king's way http://www.merl.com/publications/docs/TR93-17.pdf
Where have you lived in the US?

Edited to add: I don't read Younge as suggesting that all Americans are racists. If it were that bad, I suspect, he would have left a long time ago. And I think it's very odd to see a piece like this as an attempt "to destroy the US from the inside". I think he is pointing out real problems that affect a lot of people, and that we need to deal with. To me that's constructive criticism; why you read it as something else is not clear to me.

Here's another post along the same lines (though much shorter), by Bernard Tyson, CEO of Kaiser Permanente: https://www.linkedin.com/pulse/20141204174020-261404895-it-s...
Anecdotally, I'm experimenting with not showering[1] and I've noticed that this mosquito season in Dallas, TX I've been getting bit about a tenth of what I usually would (I'm typically the person that sits out with a group of people and is the only person getting bit), while increasing the time I spend outside.

I'd read that shampoo washes off the healthy cultures of bacteria that would otherwise live on your skin, but won't make any further logical leaps - it could be that I'm just not itching them as much as I usually would.

1. At least not with shampoo - I'll still rinse off if I get dirt or oil on my skin. It's also done wonderful things for my hair.
The structured SSA building algorithm I had in mind has a fairly simple extension that covers break, continue, and early return. It's more complicated, but still way simpler than iterated dominance frontiers.

> you can always compute a loop forest

It's easier to not have to.
mlvljr: your account seems to be banned, or something.
Did you turn off the JIT? My LuaJIT ran 2.16x slower versus 8x for Lua 5.1, 9.35x 5.2, 10.33 5.3. (I didn't localize the math.sqrt but I know LuaJIT wouldn't care.)

* Oops, I had cheated and used a for loop instead of while. The LuaJIT time was the same but the others are 10.5x, 12.58x, 15.63x.
>The valid business strategy is nobody will trust you if you aren't open source these days.

i disagree. there are many big saas businesses out there and few open source anything.
I understand that it is common for facebook users to think that facebook is the internet.

Many do not understand that email has anything to do with the internet.

I was in a psyciatric hospital when I pointed out to the staff that I needed to renew my domain names. They told me I could not do that so I asserted my right to manage my own fincial affairs, as is the law. the staff of that particular hospital know about that law so they will arrange for you to pay rent and the like.

But they regarded my talk of domain names, registrars and renewals as delusionals. Then I started screaming and crying "But I am a webmaster!" You are going to throw me out on the streets."

"We'll see."

This went on for a few days then "WHEN ARE YOU GOING TO MAKE IT HAPPEN!"

The next day one of the staff told me that a fellow patient suggested he put my name into Google.

He apologized, then said "Sometimes I forget why I work here."

Then he set me up on a staff computer so I could renew.

Lots of mental hospitals have wifi or desktops.

Others have no eay to contact the outside world at all.
It tests one other thing - a recursive function call that is amenable to tail-call optimisation.
Carlypso is hiring a Designer
Hi there!

So excited, we’re looking for a Designer to concept and execute design projects online and off. Your work will cover the a large spectrum: product, marketing, operations, and more to ensure our brand is represented consistently and every aspect of production is the best it can be.

You’ll be involved in projects small and large, from designing merchandise for our customers vehicles to working on beautiful and functional tools to enhance the user experience to overseeing the development of marketing materials, and presentations.

With this much to do, you’ll need to be able to manage multiple kinds of work at the same time. Our ideal candidate has impeccable attention to detail, experience designing for different needs, and a collaborative nature.
You should have:

A strong visual design portfolio

At least 3 years of design experience (product design, agency work OK)

Solid html/css/js Skills

Worked with engineering teams to create pixel perfect production visuals

Experience in print, web, digital, and product design

An obsession with detail, but you can see the big picture

A strong sense of typography, composition, and color

Give me a call at 650 842 0703 or email me at nicholas@carlypso.com.

Look very much forward to chatting!

Cheers,

Nick
The licences mentioned are MIT, MPL, LGPL, Affero, and GPL. All of those are very well-respected OSS licences. And it's easy to find examples of for-profit companies that use (and abide by) any one of those licences. I really don't see anything worth noting here.

Anonymity and decentralization make advertising-based revenue difficult, true, but there are lots of other open source business models; consulting for example.

However, in this case they're clear: they'll be selling etherium. That's completely compatible with even the most strict definition of Open Source (or Free Software, for that matter).
You say that but I wonder if you remember/know of this incident? https://np.reddit.com/r/IAmA/comments/2iea97/i_am_a_former_r...

So the good thing is, they've learned not to do that again, obviously.

However, by explanation, I definitely don't mean why Victoria was let go, but how the hell they dropped the ball big time? She was obviously a very important, yet vital figure on Reddit as per the community themselves so how did the decision to terminate her not factor in the whole "We need to make sure we've got a replacement immediately/let people know what we're doing to minimise this" (or even better, not have such a big part of the community riding on just one pair of shoulders! bottleneck much?)

The most telling is from /r/books I think, where the mods are freaking out because they've got half a dozen mostly famous book authors showing up to do an AMA soon, and they have absolutely _no_ idea how to get in touch with them/their agents. This sucks a lot for those people who're helping that subreddit, voluntarily etc. To be stranded like that, is a pretty crappy situation to be in -- especially considering how Reddit needs them, and needs the content produced by the authors/AMA/questions etc.

Apology template: "Hey Reddit, we're really sorry for dropping the ball with this whole incident, really! Don't kill us! We've realised that we handled this all wrong, and most of all we're stupid for not listening to the moderators of the bigger subreddits! We'd like to say sorry again. Tomorrow, we'll have our new blog post up, detailing our plan for Talent Director(s), and Community Subreddit Director who'll be in charge of helping fulfil your moderator dreams!"

Heh, but seriously -- I am surprised they're not 'catering' to their audience (even if they're carrying pitch forks). I'm not sure I'd recommend my apology letter though, but has to be better than "Sorry. Anyway, those big subreddits are back. I promise we didn't blackmail anyone" (not saying they did...)
That's been my biggest problem with every wannabe Emacs keybinding I've ever tried.

Even in OS X, I love that I can use the Emacs cursor movement keys everywhere, but even after years of using it, I still occasionally start using other Emacs shortcuts before realizing it's not doing what I expect.

I actually think it's easier to just add more to Emacs and use the keybindings there, than it is to add proper Emacs bindings to other software :-)
> they didn't immigrate and expect to receive special treatment because they were a member of group X.

No one is asking for "special treatment". They are asking not to get special treatment that consists of being killed by police officers.

And yes, too many white people are killed by police. The police in the US have both a tendency to shoot too many people, and have a tendency to target too many black people, which both add up to shooting disproportionately many black people.

And yeah, the problem is more complex than simple racism by police. There are problems of too many criminals being armed in the US (both black and white), meaning that the police are more prone to shoot in supposed self defense. There are problems of class and poverty, that lead people into violence. There are a lot of complex, interrelated factors that lead to this.

But all of that said, it is undeniable that there are a disproportionate number of law abiding or peaceful, unarmed black men who are killed by police in this country.

> The real race problem is that when it comes to interracial violence, and black on white vs white on black, the facts are black on white racial violence is off the charts compared to white on black racial violence. It's not even close.

Interracial violence is a pretty small fraction of all violence.

Most violence is intraracial. Source: http://www.bjs.gov/content/pub/pdf/htius.pdf (2010, reporting data up to 2005, see page 67); about 42% of homicides are black on black, about 45% are white on white, about 8.8% are black on white, about 3.2% are white on black. If you're white, I'd be a lot more worried about that 45% than the 8.8%.

You know what's likely to be the most likely way to avoid getting killed or shot? Not having family members who have ready access to firearms. You are a lot more likely to be shot by a family member in anger than you are by a stranger of another race.
Do I know the mind of the author fully? No. But I can look the long article he wrote and the thoughts he puts forth.

I didn't dismiss the article. I stated it brings up things that need to be known (a positive). I then went on to say the problematic part. Some of his Hhis thinking is also inline with what I see in some social media that turns things in to an examples of racial discrimination or privilege when that simply isn't the case. Outrage over giving Dlyn Roof a bullet proof vest or food when in fact that is a common practice not a reward.
I'm not sure whether this is a good idea, but it's definitely an idea I'd want to watch happen.
This Immortal is terrific. And Zelazany in general. Dune and Lord of Light (https://en.m.wikipedia.org/wiki/Lord_of_Light) are a few of the only SF books I re-read on a regular basis.
It's racist to take crime caused by a sociological factor rather than a genetic factor and call it "black crime". You should be talking about "poor crime" or "under-educated crime" or "reoffender crime" if you believe sociological factors are the cause. Conflating them with skin colour, and thus implying skin colour is the cause, is pretty much the definition of racism.
What good is it for your code to run 50% faster if you spend 300% more time creating, debugging, and maintaining it?

That question illustrates an important trade-off. The implication is that if your code currently spends more than 8 times as much time running as you spend creating, debugging and maintaining it, then the trade-off would be worth it. (Adjusted as necessary if there is not a one-to-one value correspondence between minutes spent running the program and minutes spent building it).
Kind of like how React benchmarks like to create tables with hundreds of rows and dozens of columns to test against other frameworks?
Well i am guessing a decent chunk of the 56 is on weekends.
Have you tried VimFx? It's one of the first addons I download (other than uBlock, HTTPS Everywhere, and RES).
I like that it's lighter than Pentadactyl/Vimperator and it doesn't break Firefox's default behavior.

Chrome users can download Viumium[1] which does the exact same thing for Chrome.

0: https://addons.mozilla.org/en-us/firefox/addon/vimfx/
1: https://vimium.github.io/
Jenny Lee: A guiding star in the world of tech startups
I looked at doing this in 2010 for the firefox codebase. At the time, neither gcc nor clang were able to infer enough information from builtin_unreachable or asserts in non-debug mode to be worth the effort.

Also, many asserts are rewritten to provide debugging information, not just crashing the program. Firefox had a bunch of asserts that sent logged information before they died, for example. As a result, you're usually willing to take the performance hit to find out why your program failed, esp when the hit is small (here it's shown to be <10%).
About 10% of VC-funded companies are big successes, defined as making 10x their investment. About 20% go broke, and most of the rest end up in zombie mode, able to pay their bills but not pay off their investors.

Most founders, therefore, are doomed to be losers.

But VCs look for people who are sure they will succeed. Most of them turn out, in hindsight, to be wrong. This is inherently going to push a sizable fraction of them into mental health issues.
That's the textbook definition of racism. All white people aren't judged by the actions of white criminals. But all black people are.
It's important to note that some languages (particularly Java) don't ramp up to their full speed until they are properly warmed up. It also sounds like the author included startup time in the measurements, which will skew results for the lower values of n.

Overall, be very careful of micro-benchmarks like these. The conclusions that you can draw from them are tenuous at best, and usually have little bearing on the performance of an actual program.
Very easy vector graphics using sketch recognition
Speaking of the ability to downvote, I've been here over five years and don't have that (@ 81 points). I realize this is correctable and it's on me to comment more, but your comment made me want to add..

I do not participate often because I do not have the ability to contribute my opinion when I want to downvote, and then I get turned off from the discussion thread. Voting is an easy way to keep comment sections concise while allowing everyone to participate. I appreciate concise threads because I'm an engineer and don't want to spend all day rereading the same thoughts in different voices. In short, I want to downvote, I can't, and then I just stop reading and close the thread.

I would be happy if I could just push the down arrow and have it contribute, say, negative .2 points, or some amount scaled according to my current points status.

I doubt anyone cares enough about users on HN to make such a change, but maybe someone will see this and incorporate it on some future comments board. Thanks for reading.
Fleeing one "racist" white country to another "racist" white country. Eventually there won't be any racist countries left to flee to, given how non-whites are so abundantly attracted to them, racism be damned. Does that occur to our author? Why doesn't he flee to Equatorial Guinea?
Yes. And?

It's like you'll also need DNS, which isn't decentralized either.

If someone wanted to write this as a WebRTC-based decentralised version there is nothing stopping them using something the like the public signalling servers that Mozilla uses for their Hello service.

Also, if some users wanted to run a signalling server themselves, that's ok too.
>> "The idea of multiculturalism is nonsense"

Say that sentence on St Patrick's day sometime and see how much sense it makes. Or Cinco de Mayo. Or eat at a cal-mex or tex-mex restaurant. Here in America we celebrate our multiculturalism. We sure don't avoid it because it's "nonsense".

>> "the facts are black on white racial violence is off the charts compared to white on black racial violence"

Care to cite that? I'm not sure exactly what metric you'd be citing, but I was pretty quickly able to find that the majority of hate crimes are committed by white offenders: https://www.fbi.gov/about-us/cjis/ucr/hate-crime/2010/narrat...
When leaving a company they can't make you sign something, because no one can make you sign something.

But of course they can give something in exchange for signing something. You can think of it as a mini settlement.

I don't think it is great, because many people will just sign things thinking they have no choice, and the timing and mechanics of how these things happen are often used against people.

I've had exit contracts given to me. They were full of things that benefited the company and had nothing that benefited me. I said 'There's no benefit to me signing this, what do I get if I do?' They didn't offer me anything, so I didn't sign.
Looks like others took up the cause later, see https://raw.githubusercontent.com/bjacob/builtin-unreachable... and https://groups.google.com/forum/#!topic/mozilla.dev.platform...
The absence of async IO in the standard library in Rust 1.0 is probably an artefact of Rust's original intention to use M:N green threads and blocking IO based on libuv:

https://www.reddit.com/r/rust/comments/1v2ptr/is_nonblocking...

The timing of the move away from green threads didn't really offer enough time to implement a stable async IO option before 1.0
Why cant we have this for chrome?
I'd be curious to know what happened afterward in his career.

The main benefit to joining a startup isn't even the equity (it's crappy everywhere, these days) but the opportunity for advancement. If you can get a high-level position that wouldn't otherwise be available and get promoted quickly, it can be worth it for the credibility.

That said, many startups actually under-title their people and get into the social-climbing mentality in which the develop a pattern of hiring people above their old hands. If you work for one of those, then you should just get out. Companies tend to be either in a promote-from-within mode or a install-flashy-outsider mode, with not much of a middle ground. The second type of startup is good if you're an outsider, for bumping your comp and title, but not a place to stay for more than a couple of years and certainly not a place where you should work more than enough to hold place.
Tell HN: Happy Independence Day USA. What are you proud of today?
Happy to see that it's open source, too.

https://github.com/nehbit/aether-public
I think it's a terrible idea for many reasons. Cite FriendFeed, Diaspora, Identica etc.

But at the same time, if someone wants to try: yes, it needs to be browser based, and the lack of a server doesn't need to be a limiting factor anymore.