skysight-inc/HackerNews huggingface dataset:
One caveat is this article quotes a study that shows that Asians are under-represented among top leadership in Silicon Valley. One potential confounder they don't address in the study is they don't differentiate between foreign and native born. I imagine at least some if not all of the gap would disappear if you compared native born to native born.

I don't know if being foreign born is a good a reason to not be in an executive position, but I seriously bet it's a factor.
Bad collation? That just changes alphabetical order, no?
Plastic Weaning Box Available at Canine Whelping Box
trying to learn organic chemistry by memorizing mechanisms is like trying to learn maths by memorizing derivations... it might work for an intro course but you will quickly hit a wall.

chemistry and chemical engineering has very little to do with each other, despite the name. chem eng is focused on scale up while (organic) chemistry is focused on novel mechanisms
That's likely a source of frustration. In class, professors and other students might assume you already knowing something as in indicator that you're passionate/interested and not knowing it means you're not. (A->B doesn't necessarily mean ~A->~B, right?).
Ask HN: Deploying a web app to a VPS in 2017
I am a looking to deploy a small web application to a VPS that I bought.

I was hoping to learn a bit about devops in the process (instead of relying on a PaaS like Heroku) but the ecosystem seems overwhelming. There seems to be a large number of moving parts - Docker, Kubernetes etc.

What are some of the simpler options to deploy web apps to a VPS?
> it is just as cheap to call the hotel itself

Only if it's in the same country.

> book through its website

For some hotels, booking via website is often half-baked web app that's full of bugs, doesn't accept certain inputs, etc. Simply because webdev isn't the hotel's main activity. Reviews on the hotel's website are usually non-existent or only positive.

I mean, I hate the booking sites as well, but they are often "less bad" solution than booking directly.
What's a "normal IT salary" in Switzerland?
> Whites create and Asians copy

While I think it's incorrectly worded, I do think cultures encourage behaviours that in turn affects ideas like creative output, but that's not race, only culture.

Example: My native country, Sweden, has a culture of municipal music schools that are relatively cheap. Tons of kids are encouraged, and do, take up some instrument at some point. Very few take it further, but Sweden has a disproportionate number of #1 international pop hits compared to its tiny population. This is obviously also part of that pop music is something that is globally in demand (some countries produce many classical musicians, which may not be as commercially viable).

Kids in the US are encouraged to live the American dream, that anyone can make their own fortune (totally unrealistic, given class structures), and are encouraged to innovate and try things out. Clearly that culture of "self made man" produces a lot of innovation and creative output, which in turn is globally very in demand.

The only asian country I had a little insight into is India. As an outsider, I can't at all claim to understand it, but there appears to be widespread culture of learning a trade, perform that trade the way you learned it, get a good job with a big company and then focus on your family. I trained some outsourced IT staff, and no one there wanted to "stick out" or perform better than the group. People were much more inclined to take collective responsibility for solving a task than individual. I speculate that India as a consequence of this culture, isn't using its full potential for dominance globally, be it creatively, musically etc. Though there are signs of it changing.
The reason why Finland has one of the best education system in the world is precisely the experimentation and non-conforming to the conservative education system. They have very good education specialists, I'm sure they will handle this just fine.
'Are you suggesting that those developers who lack a CS degree but can program effectively nonetheless don't really know "computer science"'

In the formal sense, pretty much - most actual CS is pretty irrelevant to day to day development as it's pretty much a specialized branch of maths (note that the CS department I did a degree at is now part of a maths department so I'm perhaps a bit biased).

"strong coding ability doesn't correlate to strong academic CS ability"

Again I would agree with this - I had a supervisor who never wrote any code but he was very well regarded in his niche area - his area was purely mathematical.
The problem is JS is built from the ground up to be mutable. For example one big difference in Clojure is that all mutation is done through the Atom, which is transactional, making it threadsafe.

I wasn't being pedantic saying JS is compiled, because it really is. Sure it's compiled to an IR though, which is then JIT compiled as needed.

Nice thing about macros is they are zero cost abstractions, so there is no overhead added by using them. For example in C# using Linq creates garbage, so you can't use it in a game engine else you get freezes every couple of seconds as the GC does a collection. With macros you can have the convenience while still compiling to something that is memory efficient.

As for an IDE, look at the Cursive plugin for IntelliJ. It's free for personal use and gives you a debugger, autocomplete, errors, goto definition, find usages etc.
> a car-centric city that is unfriendly to walkers/bikers

1. This is true of nearly all cities in the US, and

2. This feeds into my point about cultures favoring physical activity or not. LA's geography/weather is great for walking and biking. What holds it back are intentional design decisions borne out of culture.
I understand that it's plagiarism when you're supposed to be learning and writing your own code, but perhaps this is the wrong way to teach programming.

It shouldn't be such a big deal if you find an open source library or code snippet on StackOverflow that solves your homework assignment. Maybe the problem lies with the assignments. They could be rotated, rewritten each year, or even randomized for every student, so that you really have to understand the code you're writing (or copying). If you find some code that solves 90% of your problem, and you know how to tweak it to solve the remaining 10%, then that's a far more valuable and practical skill than writing everything from scratch. It's also a great way to learn from other programmers and see what they are doing.

I'm probably completely off-base, since I'm a self-taught developer, so my learning style is very different. But I spend the vast majority of my time reading other people's code, studying documentation, and using open source libraries. "Plagiarism" is a very, very important part of this industry.

It would be interesting to work on randomized coding assignment generators. I've worked on similar things in the past, where my company used it as a filter for software engineering applications. I wonder if any universities would be interested in that. It would completely solve the plagiarism problem, because every student would have to write unique code to solve the problem they were given.
I'm just saying a person thought to be "very smart" should be able to do CS101, easily; and I don't think the examples you mentioned are indication of extraordinary cognitive faculties.

I taught myself near photo-realistic drawing, it's a mechanical skill--craftsmanship; had I continued to invest more time in perfecting the technique I would have got to what’s considered photo-realistic. My Spanish was decent after four months in Spain. Not once have I thought these things to indicate me being “very smart”.

I doubt having a mind that works a certain "special way" is vital to do CS; seeing heterogeneous groups of students graduate yearly.
At a former employer, when someone left their computer unlocked, usually, someone would send a mail from the unlocked computer to a mailing list that most people were subscribed to (including the person that left their computer unlocked, or CCing them if they weren't), with a subject like "I went to urinate" (and the mailing list name was essentially "pee", but in the local language).

That actually worked quite well as an "educative" tool.
It really depends on what the webapp is developed in.
GraphQL Meets Graph Database: A GraphQL and Neo4j Integration
If hotel chains were managed by sensible, tech-aware people, they wouldn't bother with these expensive, rearguard marketing campaigns. Instead, they'd get together and form an industry working group, and design simple, standard data formats and querying/booking APIs, and then make all their data available through them.

This would make it far easier to build a hotel search engine, which would cause an explosion of competition and innovation in this area. This in turn would undercut the power of the leading agencies, and drive down referral pricing.

But they won't do this. You see the same problem in so many industries. Vendors act like data about their offering is more precious than the offering itself. They make it as hard as possible to build an aggregator, so the aggregation market gets tied up by a tiny handful of players who are willing to invest enough to build a scraping infrastructure. Then they panic that these aggregators have too much gatekeeping power, but rather than encouraging greater competition amongst aggregators, they respond by trying to put the genie back in the bottle.
I had a very interesting experience with booking.com. I found a hotel room, it said something like "Only one left". So, I quickly booked and by the time I entered the payment details the room was taken. Ok, so I went back to search for alternative, and it showed the same room again. I tried to book it again, and it simply went through. I actually stayed at that hotel in the end. It looks like some really weird algorithms are at work.
> I would always recommend that you deal directly with the hotel, especially if you think demand is low. Also, showing up just before the hotel reception closes and swaps to the night shift porters is a great time (10-11pm) as hotel staff are particularly vulnerable to haggling. At that time of night we just want to sell for covering staff wages/fixed costs.

This sounds great for someone interested in haggling, but if I don't want to bother with it(actually, if I'm specifically averse to it as I want to plan my vacation costs in advance), why should I go to the hotel directly instead of using booking.com?
The author is casting the white characters in a good light, conveniently ignoring all of their deep flaws, and fixating on the flaws of the non-white characters.

"Meanwhile, Pakistani immigrant Dinesh spectacularly screwed up both a CEO position and a relationship."

Dinesh is perhaps the most likeable character on the show. Yes, he messed up in the CEO role. Just like Richard, and Gavin Belson, and the other CEO of Pied Piper. Just like Erlich and Big Head in running their incubator. Has the author actually watched the show?

Regarding Dinesh's relationship, he ended it, for good reason. Contrast that with Richard's recent experience.

Jian Yang is an immigrant, and Erlich's frequent references to that fact can be grating. But the argument that Jian Yang's bad app idea is racist is ridiculous. People in SV pitch bad ideas all the time. Is the author suggesting that non-white characters can't be shown failing?
Quite trashy article, twisting reality to fit it's agenda.

You could make the argument that the show (despite being a comedy show with caricatures as it's characters) should include more Asians and cast them in as positive a light as the other characters. I'd still disagree (you're trying to dictate how someone should create what-might-be art) but it wouldn't be as distasteful.

Instead of doing that, the writer chooses to try and tell us that the "white" characters are "grappling with the difficulty of translating genius into profit". Despite being presented as hugely flawed episode-to-episode. Despite half of them being presented as simpletons that are faking-it-till-they-fail-spectacularly.
If you'd like the stress relieving effect of mushrooms without the guilt of illegal drugs and all that comes with it, try surfing.
Apparently, there was a study with PTSD soldiers - one group took, I think it was some kind of amphetamine, for a couple of days and the others went surfing for a couple of weeks with roughly the same positive effect on their PTSD.

If you want to know more, I read it in "Stealing Fire" by Steven Kotler and Jamie Wheal.
> Most of the times I booked through booking.com it was "cash on arrival", so these sites are nothing more than ads.

I can confirm this. I believe the hotels only pay a monthly fee for listing and that's all.
So the ultimate question is now, how much the ThreadRipper will cost...
Blockchain Technology Explained: Powering Bitcoin
If anything, it's a disadvantage IME: the implicit lessons of the iDevice are that the world is made of non-user-serviceable black boxes that cannot be recombined to make anything substantially different than what you started with, and if one does ever manage to peek under the hood (and why would one do that, any more than they do with their fridge or their TV?) one sees only immutable non-deconstructible complexity.

Contrast this with the 8-bit era: devices made of multiple clunky components large enough to manipulate and simple enough to fully comprehend, shipping with "user manuals" that look like today's programming textbooks or service/maintenance manuals (where those exist today at all), a readily available developer environment giving full access to the hardware, tinkering with hardware and software as a matter of course to get anything interesting done at all... The experience is very different indeed.
Ah yes, the so called "MVP"; quick win by lazy developers at the expense of the user experience. Cordova is one of the worst offender here, making you even lazier than people using things like Xamarin Forms and React Native. I'm sure your users truly enjoy using your product.
It is written in Go (Golang).
Can this be stated as an effect of Ryzen launch?
I wish node also has a full-featured server-side debugger that worked in the terminal.

When I'm writing server-side code and popping `debugger;` into my unit test, I really don't want to go to open up a chrone window and use my mouse to fiddle with the sizes of the panes to make debugging in chrome work. It looks like this protocol could eliminate the problem of waiting for the connection to come through (it drops a lot of the time when you do it within unit tests), which is great.

If I wanted to get started adding this to node.js, does anyone have any suggestions for where I would start? Presumably by first getting a solid mental model of V8's internals, but has anyone else worked on debuggers that could give me some pointers?
China to implement cyber security law
Song Calling UK Leader “Liar” Hits Top 10; Radio Stations Won't Play
> Have people been deeply scarred by the big tech bubble? It bursted in 2001; if CS majors who went through it experienced a long period of difficulty, then it could be the case that they successfully warned off younger people from majoring in it. To prove this, we’d have to see if people who graduated after the bubble did have a hard time

As someone who graduated shortly after the bubble burst, I can attest that yes indeed we did have a hard time. I had a year of professional programming experience under my belt (took a year off) and still couldn't find anything for a long time. Eventually took a job making 24k at a failing company that was a nightmare to work at, quit that and did tech support for a county library district (they needed someone who could program but didn't have the budget to hire a developer) making 35k for a few years. I kept an eye on the broader market during that time but it seemed like everything required 10 years of experience.
Another one back to the original Matchbox, repeats but a few more details.
https://youtu.be/d_Yjyy_Rp2A
FWIW I started my CS degree in 2001. My first CS class assumed I knew how to navigate a *nix system (I forget which one). I was also expected to already know at least one programming or scripting language of my choice that could be used on the school's servers. That included but was not necessarily limited to: Perl, Java, C/C++. Oh, and I also needed to know Matlab.
Even on the phone and sometimes months in advance you can easily haggle a 10-35% discount if demand is low. Especially if you agree to pay in advance on a non-refundable basis. We had price lists updated daily looking ahead 1-2 years.
If it's a web app, keep it on the web. Why does it have to have a native wrapper?
So, based on having -1 points on my comment, I can summarise your thoughts: employee compensation should be based on the living standard they needs, rather than the value they create. In sarcastic way: to max out your next a payrise, move to the most expensive city and buy a Pagani. That's an odd thought.
> regardless of any technical definitions you'll find in a textbook

It's the definition of first-class values. You may have your own, but then you need to tell us what you mean first. Communication by redefining established terms is getting painful...

> why people say that functions are first class values

Because you can pass functions, return functions and store functions. That's what "first-class datatype" means.

> You don't have to look up the value of a variable by writing (variable foo), but you do have to use (function foo)

Only if you want to get the function from the function namespace. If the function is already referenced in the value namespace, then you don't have to do it.

> Clojure goes one step further and lets you treat non-functions as if they were functions, by using them in the function positions of expressions.

Which existed long before Clojure in Lisp. For example Lisp Machine Lisp had callable arrays 4 decades ago.

Features like these make it a good write-only language.
I think privacy concerns could seriously diminish or alter the AI developments. I sometimes wonder if the internet doesn't need a new abstraction. i.e. The academic underpinnings of network protocols are allowing governments and corporations to overstep. Maybe in the future having an ISP provider without a 'privacy provider' will be like having a car without insurance?

Technically, I'm thinking of something like thousands of VPN connections distributing packets across randomly chosen data paths. Some trade off of bandwidth for abstracting away "which IP is doing what". (bleary-eyed thought: some sort of probability field applied to TCP/IP)
I can't understand the mindset of someone who would go to all these lengths just to be employed at something they don't understand at even the most basic level. Those same people skills could make them a lot of money in sales without all the grief.
Show with real parts that it remains standing. I tried building that one and could not get it to balance. Maybe you can find some position where the COG is over the little piece.
How to Protect Your Device from Judy Malware the New Wannacry
So unprofessional and disrespectful for both people...

Forgery is a crime - and I think sending an email from someones unlocked computer would fall under that if it was pressed in court.

If sysadmins have things set up that way, they can unlock a locked desktop and log in as the user; or even change the users account password and log in. Using these two methods as the example I would think no sane person would think it ok to log in and send an email as described. So why is it OK in this case, when a computer is left unlocked?

A normal person should feel guilty digging in another persons stuff - always; and the person who was violated should also be indignant. Period.

What if a boss or coworker had requested you to take care of something on their computer? Is the fact they gave you the access make it ok to look through their browser history while your there? If not, what exactly is and is not off limits during an 'authorized' entry event? And what is different if they left it unlocked instead?

Hope you can see how this opens a huge pandoras box.

Also, if people are not there to protect the team and coworkers, how can they trust each other when it is really important?? What will happen when there is an attacker from the internet forging things? How will you even know who is telling the truth then?

A professional will take care of the problem with a warning or a note. After so many repeat offenses, give the warnings more teeth, and/or start tracking them and provide punishments. Alternatively lock the desktops with an inactivity timer.

Just realized maybe you are trolling (or hoping you are!).
What is the best priced 3rd party service currently?
I use hotels.com because I find it has the lowest price usually, plus you effectively get 10% off since every 10 bookings you receive a credit worth the average of your previous 10 night stays.
But I wonder if theres a better booking service out there than this for someone who books a lot of hotels.
If it's web, keep it on the web.
I figure they have good revenue from whatsapp integration, but can't let their business be held ransom by a large customer.
Yes it works like magic. PVC glue works as well.
Some good advice on similar questions:

Ask HN: How did you acquire your first 100 users?: https://news.ycombinator.com/item?id=14191161

Ask HN: How did you grow from 100 to 1,000 users?: https://news.ycombinator.com/item?id=14227063
Thank you :) Actually the only source of traffic to our website is organic search and our first clients came from google. We do not consider cold messaging as this is the same as spam. Frankly speaking we expected more traffic and clients but it turned out that SEO niche is very crowded though our solution is quite different from all others. We are developers and are not very good at marketing. Tried adwords but with no luck. So the website is now left on autopilot and with the hope to organic growth.
This parallel does not make sense - the issue is impersonation, not theft.
My university, around the same time, offered a 2 week, 0 credit, intro to Unix course that everybody who hadn't worked with *nix systems before where expected to take. All courses then assumed that everybody knew everything taught in that course.
I don't agree with that. Just an anecdote, but programming was always the easy part for me. Boring, abstract and arcane concepts, algorithms (that you probably will never have to program by hand outside of university anyway) was the reason I've chosen engineering instead. Also, downplaying difficulty of the other disciplines only shows the lack of knowledge in them.
Probably, but more likely because of AMD's HEDT (high end dedktop) platform called Threadripper which will have up to 16 cores (32 Threads).

Before AMD announced Threadripper Intel had only a 12 core chip on the roadmap for the x299 platform, and charged around 1700$ for their 10 core chip. Now they will be charging 2000$ for 18 cores.

Competition is such a nice thing. Glad that AMD is back in the CPU game. Can only be good for us customers.
You don't need a dongle, backend sql db or infact anything to send a forged email but just a terminal on linux would do.

The company should have investigated if he did or didn't send the email
also Lego have the hacker nature.
One of the conditions was that it should be able to stand on its own ('freestanding'), that one can't balance on the lower piece.
To add to that, I do not delineate between threats to sue and suing. If you threaten to sue me I will instruct my lawyers to beat you to the courthouse with a countersuit. I've found this attitude tremendously clarifying in the long run.