skysight-inc/HackerNews huggingface dataset:
A lot of comments have already been posted here, so it's most likely the case that this won't be seen, but I feel like sharing.

One of my problems about complaints for "diversity" is that for many people, it's usually "why isn't _my_ kind represented so I can hang out with them instead of X group?" Whites are happy to be with whites, blacks seems to be content mixing with blacks, latinos with latinos, asians with asians, etc. People only seem to complain when they are the only asian or the only black kid around, and they feel left out. Sure, that's normal to feel, but I don't see how having isolated equivalence classes makes any set of people "diverse" or any happier, save the people feel at home with their baramin.

May be for me, I'm just so interested in other cultures and people that I (try to) make friends with all races and (more importantly) individuals. Or may be it's because I don't have a "kind" to mix with as elaborated below. In any case, the version of diversity that I want accepting and being friends with someone even when that person isn't like you. It means giving a chance to those who aren't like you, and may be finding common bonds that you both could share. It means being interested and respecting others viewpoints, while not necessarily changing your own. Hell, this covers not just race relations, but sexual orientation, gender, a host of other things, right?

I'm a pacific islander and an "enrichment fellow" at some physics graduate program somewhere. Yes, that's code for a diversity/affirmative action fellowship, I suppose. I am a minority, but something that makes my experience different from others is that I didn't grow up with "my kind" because not many of "my kind" exist (probably around 100,000 in the world in order of magnitude). I grew up in Long Beach, CA surrounded by people of different backgrounds and races (mostly white, I guess), and went to a Catholic private school. In fact, I moved back to Palau [1] and hated it at first because I didn't fit in.

It's probably because of this background that makes me really not understand the concept of race and especially identifying with it. Identifying with a culture or subculture makes some sense to me--I have bits of Palau and bits of US culture in my personality because I lived in both places--and that is as far as it matters to me, how much that affects your personality. I do in general find cultures interesting as anyone would, but in evaluating a person, I really only care about personality.

[1] "Moved back to"? I like to think of it as my parents moved back and 8 year old me came along, I had never been in Palau before.
Who do you think you are to be a young, progressive techie person, wanting to live in GA ?

... I wish that sarcasm was funny, but it's just painfully sad.
Same Kind of Different as Me: Renée Zellweger Au Casting Du Film
How graph theory can reduce redundancy in trusses
High schools are. K-8 are of dubious merit. It's based on IQ testing of 4 year olds, a very weak science, especially in the backdrop of prepping. It is very much a system of haves and have nots.
I would say very good in NY suburbs - I wouldn't go as far as great. (Without going into too much detail, I've done quite a bit of research)

The difference is that Silicon Valley has a lot of jobs, and is the area of the original story. If you're in the NYC suburbs, you are likely commuting into NYC for a good job.
Not sure how similar this is, since the majority of Tinder is owned and controlled by IAC. The founders never really had a chance to control it since it was an incubated project.
Chemist here. If there's one thing that being in a research lab does to you, it's that you feel dumb almost all of the time - and it's generally not because of your coworkers, it's because the vast majority of experiments fail. There are rare feelings of success, and many moments of feeling that you are in a dark hole trying to climb out. To make significant headway you need a thick skin, and even then it can be extremely hard dealing with failure after failure. My unpopular opinion is that, given that there is currently not a shortage of scientists in the USA, it is not a travesty that many people who feel "dumb" in the early stages of learning science opt out of a scientific career that will only exacerbate these feelings, and thus save themselves considerable opportunity costs by seeking a profession that is easier on the ego.
A cryptocurrency that solves Bitcoin's privacy problems
Look, one aspect of programming is producing production code that is maintainable, etc.

There are other aspects that are equally as important, and sometimes even more so. Exploring, learning and prototyping are among them, as are "back of the envelope" constructs.

This is a really cool example that shows how far you can go with tiny amounts of code.

Pithyness is actually one way to make code _more_ understandable, given that the reader is familiar with the subject area.

Don't be a snob. The world is a better place because someone wrote this and not worse off.

Since compiler construction is kinda a deep technical field, documenting this in pedagocially sane way would have been a huge task.

I'm happy the author took the effort of writing and publishing this piece, it would be sad if he hadn't just because it's missing an embedded tutorial.

He's not asking you to maintain it. There are references in this thread that explain what is going on...

I write and maintain C++ production code as a day job and some of that stuff is an order of magnitude harder to grok than this (no, it's not documented in any _helpfull_ way either).
> Either you work for a consultency-type company that develops products for customers, but those don't really have infrastructure, right?

Thoughtbot strikes me as a "consultancy-type" company that has taken time out of billable hours to build infrastructure in the form of a bunch of open source libraries.
The Internet Archive always reminds me of the Albertian Order of Leibowitz in A Canticle for Leibowitz.

https://en.wikipedia.org/wiki/A_Canticle_for_Leibowitz
Which may be the only time, in our industry that has a white supremacy problem, in which she feels her knowledge and abilities are judged on their merits rather than on how well she conforms or how well she plays the game of being accepted by white folks.

She talked quite a bit about that in the article; I believe she was clear, if you aren't taking single sentences or even paragraphs out of context. I believe she is saying that in a team that at least somewhat shares her race and gender, she can expect her race and gender to be invisible and not part of the equation. Whereas, in a team where she is the only black woman on the team, she expects other things to determine her fate (based on prior experience in similar situations), and that causes her distress (as it would for anyone).

Being in the majority allows one to be ignorant of problems of diversity. She hasn't said she needs to be in the majority to be happy. What she has said, I believe, is that she needs to not have to think about blending in in order to be happy; and a massive preponderance of white males in the workplace does not allow her that freedom, because of the direct and indirect actions of some white males.
I mostly strongly disagree.

I see no value in naming a variable 'tk', 'pp', or 'bt'. It can only help to make the code more readable with less context. I do not need to understand compilers in detail to know what this program is doing, except, for the names being useless. And if I do understand them but have not spent half an hour or probably much more to digest the exact system by which it operates, I would be completely unable to identify bugs or talk about modifying or extending it in any useful way.

Well written comments do not make the code below them more intelligible as text even if they do give you good hints for how to load it into your brain.

And "Expanding the function/variable names, splitting "complicated" expressions out into their own functions, etc." all ABSOLUTELY improve the uninitiated's chance of understanding what is going on. Speaking as one of the uninitiated (though I can mostly make out how this works). Man, I wish I knew what 'tk' was. That whole section at line 204 would be so clear if I could follow the intent.

I agree with you on symbolic constants and arithmetic though.
According to this document Jukka Jylänki is working on it:
https://docs.google.com/spreadsheets/d/t3AwIGGaM-4Z9UZM2jpF6...
Certainly nobody's actively complaining, but that doesn't mean there isn't similar resentment churning beneath the surface.

Isn't this applicable to all sorts of group pathologies, not just ones that touch on race?

But on the other hand, going around to all the minorities and asking them if they feel like I treat them fairly seems (a) supremely uncomfortable on a personal level, (b) more divisive and patronizing than anything else I'm likely to do, and (c) like a chore I really shouldn't be entirely responsible for dealing with just to avoid being labelled an oppressor.

Why does it have to be particularly about race/ethnicity and directed towards minorities? The goal of artistic collaboration in groups is to get to a point there there isn't any "thing you can't say." The sort of "chore" you're talking about is an exercise that can be used to gain awareness of anything that's supposed to be hard to talk about.

Also, if there's a workplace where people feel comfortable talking about anything that comes up except when it has to do with race, this strikes me as a symptom. And frankly speaking, I think this includes most workplaces out there. (So no wonder people take homogeneity as the easy way out!)
I see. So how are you monetising? I've considered becoming a subscriber to wakatime purely to help them keep it running. I've just never needed to have my exact data from a long time ago, their daily/weekly summaries is good enough.
A spinoff is in the works.
I worked with DOS as recently as 6 years ago. It's actually not all that bad, assuming you've got them on a network. We had a Novell server and they all mounted a network share on that at boot. From there, backups (and restores) were just a simple xcopy script. I ran a script to create 'flag' files to trigger the backup on reboot and the machines were shut down every night, so it was quite simple to manage.

I was able to deploy updates via a similar mechanism. There was a network script called from autoexec.bat. I would make a few changes to have it pull in the new updates from the network, then tell them to reboot at their convenience. So I almost never had to leave my desk to deal with them, except for a restore from backup.
If she had phrased it in a way that acknowledged that being in the majority was more comfortable, I would have had no problem with it. What bothered me was that she referred to the situation of being with a bunch of people like her as "diversity lightning" and similar. No, she didn't have to worry about how to conform, but that's because she was already naturally conformant. While possible, I somehow doubt that the black majority at that company spends a whole ton of time making sure that the non-blacks don't feel uncomfortable in the way that she did elsewhere.

The reality is that yes, people are going to feel more comfortable with people who are like them. I don't see that changing any time soon, and I don't fault her for that feeling of relief. But it's disingenuous at best to say "there need to be more black people for me to identify with" is the solution, or even a solution, for how to deal with diversity. The average group of 10 Americans will have one black person and six non-Latino whites. It's understandable for that situation to make you uncomfortable, just as I'd probably be at least mildly uncomfortable on a team with six blacks, a Chinese person, an Indian, and a Hispanic. I'm open to suggestions to make it easier, but if the simple state of being in a minority is all it takes, I really don't know what to do.
Beautifully written and gut wrenching. I hate the fact that I have no idea what to do to help you if you were my coworker. I am not talking about obvious things like horrible jokes and unwelcome advances. How to make day to day life easier? How to do away with the ‘eggshells’?
I'm not sure how hiring a diverse team (only) will help. It seems like it will just create two different groups within the same company/workgroup that stick together and don't talk to one another. Sure, the minorities will feel more comfortable, but I think communication and acceptance between all parties will help overcome the "out of place" feeling in a much more enlightened way--a much more enlightened way instead of hiring people for your odd men/women out to hang out with instead of those _other_ people.

Now, if hiring a diverse team forces the old team to start realizing their biases and become more accepting, that a great way to start to overcome those barriers, but I think the understanding is far more important than just having a higher percentage of people of other races.

I discuss my opinion on this in my comment below.
> Steve Jobs kept trying to invent the next big thing.

What did Steve Jobs invent actually?

He was just the marketing guy who got all the innovation credit. Still does actually... There's no movie about Woz (in fact they made him look like a bumbling idiot in the first run, and now a comedian will play him in the second run). There's no movie about the iPhone team. Nobody knows who did the real inventing behind anything Apple.

Moments like this from Woz give an insight to how some of the greatest engineering geniuses tick.

~~

Great moment showing Woz's genius and humanity:

> In 1973, Jobs was working for arcade game company Atari, Inc. in Los Gatos, California.[10] He was assigned to create a circuit board for the arcade video game Breakout. According to Atari co-founder Nolan Bushnell, Atari offered $100 for each chip that was eliminated in the machine. Jobs had little knowledge of circuit board design and made a deal with Wozniak to split the fee evenly between them if Wozniak could minimize the number of chips. Wozniak reduced the number of chips by 50 by using RAM for the brick representation. Too complex to be fully comprehended at the time, the fact that this prototype also had no scoring or coin mechanisms meant Woz's prototype could not be used. Jobs was paid the full bonus regardless. Jobs told Wozniak that Atari gave them only $700 and that Wozniak's share was thus $350.[11] Wozniak did not learn about the actual bonus until ten years later, but said that if Jobs had told him about it and had said he needed the money, Wozniak would have given it to him.

http://en.wikipedia.org/wiki/Steve_Wozniak

($5,000 USD in 1973 --> $26,805.29 USD in 2014 -- Jobs gave Woz $350 USD in 1973 --> $1,876.37 USD in 2014, about 7%)
How do you feel about the assertion that the NSA et al were getting something for free, and all this hubbub about privacy and encryption is simply a smokescreen -- the Google's of the world want their pound of flesh.

They see a new and robust revenue stream where the product was being shoplifted, and they're correcting that business oversight. They will give the government what they want, but at a cost.

Be it in a dollar amount, backroom hand-greasing, political football, or other otherwise -- the government will pay that cost.
More business graduates gravitating to the "tech" field full of useless piffy advice peddling themselves and their shoddy unoriginal offerings. When will these people realize they are like chefs who can't cook, nobody cares what they think.

I know I'm in the belly of the beast here but you all need to hear it.
Not a lot of work. I have implemented pattern matching before, so I just went ahead and did it:

http://jsfiddle.net/f1ycatas/2/

See line 266 for the syntax definition (the precedence entry for "->" on line 278 is also relevant) and line 409 for the implementation of pattern matching. I use a few auxiliary functions here: extractArgs just checks that an AST node has a certain form and extracts parts of it, and listify is a kind of normalization function that will give you a list of expressions or statements.

I think the code is relatively straightforward: we have a list of "pattern -> body" statements. For each entry we create a fresh environment for the variables declared by the pattern and we try to match the pattern with the value. For matching, if a pattern is a variable name we set that variable in the environment, if it's a number or string we check for equality, and if it's a list of subpatterns we check that we have a list of the correct length and we check the subpatterns recursively. If there's a match, we execute the corresponding body.

If that interests you, I wrote a compile-to-JS language called Earl Grey (http://breuleux.github.io/earl-grey/repl/) using a similar parser and it has rather sophisticated pattern matching. The implementation is quite a lot more than 450 lines, though :)
> JsLayout

I went looking for Inbox's template engine and came across:

https://code.google.com/p/google-jstemplate/wiki/HowToUseJsT...

The "jstcache" attribute looks the same. Although, looking at the code.google.com project's source, it doesn't look like any code/non-wiki changes since ~2008. So maybe a forgotten attempt at open sourcing the/precursor-to JsLayout?

POA sounds interesting; hopefully it'll have a great unit testing story too?
No, actually OS virtualization doesn't generally use any hardware assistance. And my questions don't stem from ignorance; I have extensive experience with the implementation of both OS virtualization[1] and HW virtualization[2] -- which is why I find the LXD specifics so peculiar. (All the more so that they imply that the support is forthcoming, not current -- and that they are talking to "silicon companies" not microprocessor vendors.)

I think the best guess is what derefr posited, above: that they are using HW network virt as a way of avoiding building in proper network stack virtualization like that found in Crossbow.[3] Then again, given the degree to which LXD appears to be aspirational rather than actual, we might be overthinking it: perhaps the conversations with "silicon companies" are like LXD itself -- a daydream about what might be rather than a concrete reality.

[1] http://www.slideshare.net/bcantrill/os-virtualization-407006...

[2] http://www.slideshare.net/bcantrill/experiences-porting-kvm-...

[3] http://en.wikipedia.org/wiki/OpenSolaris_Network_Virtualizat...
The Four Noble Disciplines of UX
She fought extremely hard over a long period to make herself fit within the industry, and found that had a profoundly detrimental effect on her health. That, not inclusiveness and diversity, is the status quo.
It already does - just run your code in webworker. I am doing it at https://hashcash.io/

Detection of number of available cores is totally different problem. On the other hand, probably detecting number of cores should not be used in first place..
I've been using it for a while and I really like it. I prefer it to Atom or Sublime or Idea (for small projects).

It's nice, it is a fair bit quicker then Atom (which just seem really sluggish on my system).
World Citizenship Project
A textual description would help, so that one could decide if watching some talking head was worth it.
predominantly != only
I would agree, but only to the extent that our society doesn't value science enough to effectively use all the scientists we produce already. Rather, it values more business and pushing money around, of maybe building things.

If there was some kind of crisis (say cold war) and we needed new inventions to survive, things might be really different. But right now, we are just comfortable with the world as it is with not much demand for radical transformation.
I grew up in rural Kentucky. People were polite to me but there was always this strange distance I would encounter when interacting with people, a distance that my friends never seemed to receive. I always chalked it up to my personality. I became a bit of an introvert, took on a passion for computer science, and moved to Silicon Valley after graduation. I fit in splendidly and for the first time in my life I felt like I was part of a real community. It was at this point that I started getting asked "Are you white or Asian?" by many people. It was a completely innocent question but it surprised me so much that I mentioned it in a conversation with my old friends and to my amazement they all wanted to know the answer as well. It blew my mind. Here I was, a 22 year old white guy from rural Kentucky, who just found out he was Asian. No one bothered to tell me growing up, it made me feel both incredibly stupid and somewhat perplexed. Pieces of my past started falling into place all of a sudden. All the strange looks I used to get on the field as a little redneck kid topping tobacco during the summer. The old white farmers at the local BP station asking me questions about the world as if I held some sort of mystic wisdom. My ex-girlfriend who would constantly mention how much she liked Asian guys before we started dating. All of these things and more just hit me like a bag of bricks and I laughed my ass off for a good 10 minutes. My grandmother was Japanese and my mom was half but as a child I was a blonde white kid so as I got older and my hair darkened it never occurred to me that I was anything else. Now that I'm older I kind of like it. My differences, although superficial, make me feel closer to my late mother and grandmother who were both wonderful people.
Fantastic to see how humble he is with his response. He could have easily said "that's how it was done back then and it was really the best thing out there" but, he didn't. The stuff of legend.
Interesting. What was the motivation for creating this?
> More business graduates gravitating to the "tech" field full of useless piffy advice peddling themselves and their shoddy unoriginal offerings.

Ah yes, the "self-made entrepreneurial IT consultants".
It's Mozilla's experimental layout engine written in Rust. It's currently the Rust "flagship project".
I'm a white male mathematician, and have spent a good deal of time working in east Africa over the last few years. Going to Kenya was my first experience with being a visible minority, and working in the Universities, I'm guessing, might approximate what the article is getting at. There was clearly an established culture within the departments, amongst the people I was working with, that I simply couldn't be a part of. At the same time, I was subject to quite a bit of street harassment, though not workplace harassment, which made it very difficult to make connections with people, because the defenses you deploy against possible harassment become an impediment to making strong connections with people. Meanwhile, things like being vegetarian create a kind of gulf with working colleagues.

I think one of the most important things you can do is to actively nurture leadership amongst minority members of your team. By supporting their ideas (both for engineering and social activities) you'll help empower them and make them into insiders. People struggling to fit in will speak more softly, and be more fearful of putting ideas forward; listen closely, amplify good ideas, and make sure that the right people get the credit for them.
As a shareholder who would very much like to liquidate some shares in 3 different private companies, I'll say this has not been my experience. Maybe if your company is 99th percentile you can pull these tricks, but for the remaining 99% unregistered shares are completely illiquid due to a combination of SEC regulations and lack of ability to obtain/share the key data any potential buyer would require.

One of the biggest problems with bootstrapping startups is even after there's revenue, growth, and value, there's just no liquidity.
Personally as someone who gets all the references, it's tiresome as fuck.
Liberty Music Store Selling Music for Bitcoin
Jawbone UP3 Activity Tracker