skysight-inc/HackerNews huggingface dataset:
I don't remember much from my operating systems class, but I do remember that "shortest job first" is a more efficient scheduling algorithm than "longest job first".

I cannot fathom why anyone would want to schedule 12 cases that will likely take 15-30 minutes each after the one that will almost certainly take more than 4 hours. I understand that type of scheduling in hospitals, because the complex, time-consuming case is probably the guy who will die if not treated immediately, while the simple cases can afford to wait, but no one is going to die or go broke if their court appearance gets pushed back a week because too many "easy" cases suddenly popped up and pre-empted it.
Aztec 'Tower of Skulls' Reveals Women, Children Were Sacrificed
Application Developer

SEC | NY $110,000 - $150,000 | ONSITE

We're building the US Securities & Exchange Commission’s next generation analytic platforms to keep our markets safe, effective, and trusted. Come build awesome tools to analyze big data. We do quantitative analysis, machine learning, plus good old fashioned product development. At the end of the day we are creating modern, elegant applications that help our government be more awesome.

Join a small team of talented developers, capable researchers, and former finance people that saw the light. Looking for knowledge of our full stack technology: JS, React, Python, pandas, Flask, C++, kdb, & q. Should have various experience with application development, databases, and data analytics.

If you love to learn you'll fit right in. For more information or to apply, email Peter -- peter.comas@aretecinc.com.

Please, no recruiters!
all suffering from ADHD - the text in the emails is the cure. couldn't' have been chosen more appropriately.
I think you are in violation of your terms! You can't even admit you have signed this.
They actually built a prototype? Renders of that thing have been around for years. I'd wondered if the track system would be designed into one of China's new cities.
It would have been the largest mobile passenger vehicle since the German Imperial Gauge Railway.[1]

The CGI videos of it cornering show the sections bending, which only works in CGI.[2][3]

[1] https://en.wikipedia.org/wiki/Breitspurbahn

[2] https://youtu.be/vaUTIIggEis?t=131
[3] https://youtu.be/vaUTIIggEis?t=138
The options are limited to an H-1B or an O-1, both of which have challenges issues. Is the US company US- or foreign owned?
I'm understanding hard time understand some of the point this article makes; particularly the claim about that you need to think about typesetting and design more. Most of word processors these day have some type of style system that akin to HTML.

PDF is also one of few formats that is readily available that has a well defined archival spec (PDF/A) which further makes it more compatible across the readers. (As essentially it requires documents follow certain specs.)
What are the realistic "extraordinary achievement" conditions of an O-1 visa?

The information online makes it seem that it is for olympic medal, nobel prize and oscar winners.
What you get with your wages has changed. Real estate is more expensive; you get less of that with your wages.

Mass-produced electronics and other consumer goods is much, much cheaper; you get more of that with your wages.
Note that France is much, much worse at integrating immigrants than the US.

Also, you editorialized a lot in your description of "active integration".
I am not just talking about TODOs, but ALL comments.

Comments do not use the structure of the language or the IDE to help you. They can't be statically analyzed as easily as the existing syntax. At best, there can be some DSL that is implemented in the comments.

I would submit that 99% of your comments can be changed to closures in Javascript.

The problem with this is that you're coming up with an abstraction at a time when you're possibly the least informed about what the abstraction should look like.

I would say that one of the best times to figure out what the API of the abstraction should look like, is when you're implementing the API of functions that apparently rely on it.

You don't need to implement it, but you do need to think about the implementation and API. Otherwise your comments are just wishful thinking, and may not even be implementable. Perhaps the invariants you rely on might be too expensive to compute, for example. When do you think the best time to figure that out is, if not the time when you're writing code that relies on those same invariants?

For example a comment like this:

function something(platform, options) {
if (platform != 'ios') {
throw new Error("Not implemented yet folks!");
}
doingSomethingOnIos();
// todo: implement for android
}

should probably instead be replaced with an Adapter pattern where you implement the ios thing now, and you can add an empty android adapter. Much better to assign tasks to developers and have them already know where to fill in the code, AND have an example in your iOS adapter.

class Something_Ios extends Something implements Something_Interface {
actual tested implementation is here, for others to see
}

class Something_Android extends Something implements Something_Interface {
// TODO: see interface and implement
}

What's better... the first thing or the second thing?

In an ACTUAL PRACTICAL SENSE the second is better.

Now the second one may have a "TODO" but the instructions may just as well be in the issue.
She went on a tirade against an Opal contributor a couple years back: https://github.com/opal/opal/issues/941
I know it sounds like a joke, but I've taken to using a lot of exclamation marks in my communication lately for this very reason.

It feels dumb to me but I know for a fact that some people who are quick to take offense ease when they see it.
Hey Peter, thanks for doing this! Two questions:
(1) I had an H1B visa that was awarded starting with Oct 2011. However, I ended up never using it because I decided to stay in Europe. I have come back to the US in 2015 to get a 2-year MBA from a top 5 school and am considering applying for the H1B again in April of next year. Does this mean that I can only have the H1B for 3 years? What happens after 3 years?
(2) I probably will never stay in the US if my husband cannot come and work here with me. Could you please confirm whether or not the spouses of H1Bs are allowed to work?

Thanks so much!
What was your previous startup? Are you still connected to anything like that these days? Sounds super cool.
Each of your sources says there is still a gender wage gap in the range of 5-9% after controlling for education, etc.

You could say "the myth that women earn 77% of what men earn", but it is not correct to call the gender wage gap a myth.
It would be great if we could see the pull requests that were subject to disproportionate scrutiny. It would add a lot of context that is missing from that story.
Are the parenthetical males all cis or do transmen earn that badge as well?
> The Confidence Gap is a great article which talks about how people are more likely to get high wages if they have confidence and ask for it, and how women have trouble with portraying confidence without being perceived as bitchy

... So women are being paid less than men?
UK Future manufacturing and materials: apply for funding
Don't Kid Yourself About Software Bootcamps
"I was well aware of GitHub's very problematic past, from its promotion of meritocracy in place of a management system"

This person mentions multiple times that meritocracy is a bad idea, that promotion or reward based on merit should be done away with in order to promote diversity, e.g., racial/gender-based quotas.

This is a person who does not view competence as the primary trait to select for within a market, and is insisting here that competence be downplayed to make room for people with the correct melanin levels and/or chromosomes.

""What is your gender?" The multiple-choice options were "Male", "Female", and "Transgender". I was very disappointed at this 101 mistake, and sadly opened an issue referencing the question. The body of my issue read: "

Uh oh! The data scientist isn't up to date on the trends in gender studies and critical theory, better send her off to sensitivity training! Doesn't the data scientist who wrote the question know that gender is performative? Better get offended and make her apologize. Oh wait, that's exactly what the author does, like the bully she is.

I can't take a diary post like this, from someone interested in enforcing equity, littered with ideological axioms, promoting unscientific gender "theory", all the while playing the victim in the classic social justice style, with anything more than a giant boulder of salt.
For reference, here are links to the first four parts:

http://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-ar...

http://www.saminiir.com/lets-code-tcp-ip-stack-2-ipv4-icmpv4...

http://www.saminiir.com/lets-code-tcp-ip-stack-3-tcp-handsha...

http://www.saminiir.com/lets-code-tcp-ip-stack-4-tcp-data-fl...
Last year I was selected in the lottery and was not approved until late August when the company decided to pay for the premium processing since the attorney's estimates were that it would be adjudicated in January/17.

I had a friend selected in the same lottery, but with no premium processed and his approval came indeed in January/17.

This year it seems that there is no premium processing so everybody is in the same boat and the wait COULD be long.

Another friend that applied this year has been selected in the lottery and is waiting for the adjudication of the process.
As someone who also worked there, the official company line internally is a suspiciously specific denial that does not actually deny the main accusations I had heard previously. I consider it just as plausible that Yelp squelches negative reviews when paid as I did before.
EDIT: nevermind, I see it was a typo on OP's part, rendering my comment irrelevant. OP wanted less busywork, but forgot the word "less". :-)

If only some games had busywork as part of their gameplay

Mass Effect, Fallout 4, and Destiny come immediately to mind. Considering that I don't play a wide swath of video games, I'm sure I've missed many more.

"As mankind's last and best hope, busy though you might be, you're the only one qualified to get the old woman's cat out of a tree."
Association memberships and journal review work.
Robot allowed into US for competition, but no visa for Afghan girls who made it
I think the "-only" part is the problem. Marketing and naming events for minority groups is fine, but they would ideally be welcoming of all groups not part of the minority. Now it might still seem slightly funny for any old person to take part in an event called "black girls code", but it's better than excluding them entirely and I'd hope that most such events are inclusive of all groups.
my friend did it the other way, bought a place near the Chinatown metro. He figures it is better to live near the hub rather than on one of the spokes.
> Let's not let Hawaii and Utah off the hook.

True, they're somewhat less bad than the others but they're by no means good.

> Arguably it's worse in a place like Hawaii than in the continental US, because some noncompete are distance-limited, which becomes a problem when the state is nothing more than an island chain.

In fact it's exactly the reasoning they used for the tech exemption.

> Utah's one year limit is only acceptable in my mind if they require the company enforcing such agreement to pay the former employee for the time they can't work.

True, the Utah bill does not require compensation for the duration of the agreement only that it can not exceed one year and employer liability (arbitration costs, attorney and court costs and actual damages) if an employee sues and the non-compete is found unenforceable.
To me, most of these are works in progress and simply a matter of timing and priority. The others, while they feel very "wrong" when viewed through the eyes of someone raised in our culture, I don't think are necessarily that harmful provided leadership is reasonably benevolent in the aggregate, which is my impression of China.
The person in question was diagnosed with bi-polar disorder and considers herself as a social justice warrior.

Worse is the antipathy she directs to "white males", which destroys the goal of an inclusive environment.

Every story has two sides, would certainly wait for hearing what her team mates would have to say, but I suspect they will say nothing out of fear from the repercussion by SJW when expressing how it was to work with such person.
Hi Peter,

Thanks for the AMA, it is extremely helpful.

I am a Canadian citizen looking to Incorporate a c-corp in US and move to the bay area in the near future to work on the business. What is the best route to take with regards to visa. The company will be based out of the bay area.

Background: I graduated from University of Waterloo last year and have worked in the bay area previously on TN visa.
Depends on the degree to which they angered the author.
Didn't know about that, but abrasiveness like that is really unfortunate. It makes real progress harder because it means people dig in on views that maybe they shouldn't.
if the self-driving car is coded any way how wordpress is, I won't take a step in that thing.
The `Payment` example in the post is effectively an implementation of algebraic datatypes. `PaymentPattern` is how the code specifies "these are the only such shapes", and exhaustiveness is checked because the typechecker won't let you provide a `PaymentPattern` that omits any cases. It's certainly not as flexible as pattern matching like you'd get in a serious functional language, but I think it handles the use case "condition over cases of an algebraic type" just fine.
Sadly not the same Volvo. Volvo Cars is owned by Geely, a Chinese company.
Volvo Trucks is publicly listed, no clue who owns marine division if it still exists..
Hi Peter,

What paths should a Canadian TN visa holder explore to start a company?
How I sound when I reply: :D

How I look when I reply: :|
Implementing secure user authentication in PHP
Sure, I grew up in an affluent suburb of Atlanta.

If you had a Kerry sticker on your car in the high school parking lot, there was a squad of kids that would break your windows, slash your tires, and key your car. The school had cameras, but refused to investigate the matter.

I had friend who was gay, and after he got off the bus one day, all of the kids on that side of the bus threw rocks at him. He was in a coma for a few days.
Pandoc?
I admit it's a little odd. Relatedly, the UK also instituted a similar laptop ban as well. If not the laptop bomb threat, then what do you think it is? http://www.wired.co.uk/article/uk-laptop-ban-flights-explain...
Any time that when that information falls into the hands of attackers and enabled them to make more effective plans.

I do not know if this is that case, but there is a class of information that when made public reduces safety. The problem is not with telling any one individual, you or I would probably do little with the information, but once "everyone" knows it potential attackers could use the information.

If it were something like the times or flights we suspected the terrorists would attack and they got that information I hope you can see how that would make things worse.

I think the real solution is valid oversight, not this FISA non-sense we have now. Actually, I don't know if its non-sense because its so secret I can't tell if its doing its job or not, so I must presume its not.
if it's still faster than javascript / nodeJS, we're in a good place.
You could create an online persona to have those "tough conversations". And use VPN services and/or Tor to keep it isolated from your real-world identity.
You should be able to get the full 6 years in H-1B status and H-4 spouses cannot work as H-4 spouses unless the H-1B principal has an approved I-140 petition.
I find the "/actions" slug a bit goofy and unnecessary. Why not just put it at e.g. "/repositories/1/archive"? Additionally, why not maintain restful semantics by using PUT (or more likely, PATCH) instead of POST (which implies creating a new resource)? And "/customers/1/actions/credit-score-with-bank-of-xyz" sounds a lot like a GET request.
Car guy here. Internal Combustion Engines have some pretty complex systems that pure electric systems don't need. Water cooling and engine oil spring to mind. Timing belts need to be changed, transition systems have problems with some regularity. (Granted, most performance electric cars have a transmission too, but you can almost get away without one, so I'm going to assume more simplicity of design)

Not arguing one way or another just providing data. My only electric car is an old converted Porsche. (Transmission is still there but you can basically slap it in third and leave it there) I'll never have to change the oil on that one again, and the electric motor is simple as can be. Battery management is kind of a pain, but that's because I don't have the kind of advanced battery management a mass market car would have.

I don't have enough data yet, but my experience suggests that electric cars will have a much lower maintenance load simply because of the reduced complexity. Of course all the automation and bells and whistles will still break, and the computer control systems will get wonky.
Do you think this person is unusual in her communication style? She posted the complete text of the "problem" comment. If you got that message from a colleague, would you consider it unacceptable? Why or why not? If yes, what could she have said that would have made it OK?

How would you answer her core question of whether or not the comment she made is appropriate?
Aztec “Skull Tower” Contains Remains of Women and Children
I just use smileys. I know that some people see them as childish/immature/unprofessional, but especially in a multi-cultural environment I prefer to be safe.

Irony, sarcasm and humor don't scale well.
It's a company with $40bn revenue, you better believe they have a fleet of lawyers on retainer, they've got little reason to not make use of those lawyers.
> I don't think the fault lies at the employment level.

I think companies can take steps to improve outreach to excluded groups, and set up policies to help reduce exclusionary behaviour in the workplace. I don't really care if it's their fault or not.
Just think it's worth mentioning that she doesn't seem to present evidence that the data scientist was "transphobic". She seems to discount the possibility the data scientist was unaware of how to properly ask that question on surveys (as am I). Perhaps she had more personal experience with the data scientist in question to justify this claim, but that should of been included here.
i'm curious to know: if you have a disability, what's the hardest thing about browsing the web?

First thing that comes to mind: CAPTCHA. Not all of them have an audio option. If you're blind, you're out of luck. Not to mention, CAPTCHAs these days are so difficult that I feel like robots will soon surpass us at recognizing these oddly distorted characters and words.

Interestingly, the article only mentions CAPTCHAs at the bottom. I wish there was more innovation and theory about CAPTCHAs, I'm personally very fascinated by them, but it's a very difficult topic that is rarely treated rigorously. How do you quantify "hard to recognize for robots" etc.
Mesosphere, Inc. is hiring a variety of software engineers to help build the Datacenter Operating System, based upon Apache Mesos. If you're looking to work on distributed systems, large clusters at scale, containers & microservices, and big data frameworks, we'd love to hear from you. Languages we use include Scala, Java, Erlang, Go, C++, Python, & Javascript.

We start the process with an intro call, then a coding challenge + review call, followed by a full day of onsite interviews.

We are hiring primarily for full time roles in our SF, CA and Hamburg, Germany offices. We sponsor Visas, and will consider remote per case.

All openings:
https://mesosphere.com/careers/
My family encountered a similar issue with something even simpler, console LEDs. Some of the LEDs that lit up the control console in our old Toyota Sienna blew out, so we asked a dealer how much it would be to fix. Turns out they'd have to take off the entire dashboard just to access the LEDs, several hours of labor and several hundred dollars. We could literally get a new set of tires for cheaper.

As it was we committed the control locations to muscle memory and just had dark controls at night until it died several years later. The fact that replacing a simple LED is so horrendously complicated is laughable.
Taking screenshots comes to mind. It's still extremely complicated to this day to get it right. Even with the likes of PhantomJS, Chrome Headless, etc.
Maybe it was a notch too much. Moderation is guesswork. Fortunately there's plenty of opportunity for people to substantively discuss that aspect and many others.

Re your last paragraph: neither HN, nor HN moderation, nor the organization that runs HN, work the way you describe. Just to pick a couple examples, the threads are sensitive to initial conditions, and no one at YC has told me how to moderate. HN users more than make up for it though!
Care to elaborate? Sounds interesting.
EU considers record fine as panel checks Google Android case
Why would a white or men exclusive event be trouble? Are white men the tainted scourge of the world?
As a general rule, CBP and USCIS will not approve TNs for founders or owners of the sponsoring employer so your options would be an E-2 (based on an investment) or O-1.
What bothers me more than people designing inaccessable sites is their excuse of "well, why put extra money and effort into catering to such a small segment of the population?"

Videos released without captions are OK, because "they're free!" Websites without Aria tags are OK, because "screen readers just need to get better." Low contrast fonts are OK, because "my design won't work with different font colors."

Everyone who doesn't die in their prime of life will eventually be disabled in some fashion; but so few people really seem to realize this (or care).

EDIT: Good question - do I practice what I preach? Yes, I do. I'm in an SRE position, and a few of our developers are hard of hearing, so I caption the training videos I make, without asking if they need them. No blind folks, but I make sure to use reasonable styles and page layouts to support fading eyesight. I don't set up Aria tags myself, because I don't have any users who need them at the moment.

None of my external or OS contributions are to UI related projects, so nothing of note there.
>The argument for that being, partially, that if the effect is caused by hunger that would predict widespread issues elsewhere in society that we do not see and, partially, that there are no other psychological effects this strong.

I like that the author is invoking a consistency check from a separate domain (a very good practice!), but this particular one is over-reaching, for several reasons:

1) Judges don't personally bear a negative cost from overly harsh judgments (within the variation shown on these cases). So you can reasonably believe that judges are influenced by hunger (and likewise for anyone who knows their decision isn't life-or-death), but also believe that when there is more at stake, the general population is more careful and introspective (at these mild hunger levels).

2) We do in fact, anecdotally, see the "hangry" phenomenon.

3) We do see people rioting when resources are short, especially food. It would be surprising if you got the opposite result -- if judgments were hasty when you're very hungry, but not sorta-hasty when you're sorta-hungry.
I agree 100%.

There is no serious dialog on complex issues like this, because if something you say gets misunderstood, your career is in jeopardy.