skysight-inc/HackerNews huggingface dataset:
This is what the Tom Stafford [1] article suggests:

The main analysis works like this: we know that favourable rulings take longer than unfavourable ones (~7 mins vs ~5 mins), and we assume that judges are able to guess how long a case will take to rule on before they begin it (from clues like the thickness of the file, the types of request made, the representation the prisoner has and so on). Finally, we assume judges have a time limit in mind for each of the three sessions of the day, and will avoid starting cases which they estimate will overrun the time limit for the current session.

[1]: https://mindhacks.com/2016/12/08/rational-judges-not-extrane...
Thanks for doing this Peter.

I am from India I filed for 485 through EB2 and I currently have an EAD when the priority date moved a while ago. The priority date has since receded and will be a few years before I can get my Greencard though.

I am currently working on my EAD and would like to start a startup and will be self employed very soon. Is this ok when my priority date becomes current.. Do you see any issues with my Greencard getting approved ?

Thanks !
if you have stayed abroad for a few years, and you wish to stay abroad and you don't mind losing the greencard, do you have to file anything to renounce it or is it enough that you just 'overstayed' abroad?
As far as I can tell, "West Wing" clearly is aligned with the worldview of Aaron Sorkin, just as "24" seems pretty aligned with the worldview of Joel Surnow.

I'm not sure at what point a strong worldview from a creator crosses over to the "propaganda" definition? So many shows over time have had creators with very distinctive, often strong, worldviews and opinions. I can say that about so many shows ranging from "Twilight Zone" to "Star Trek" to "MASH" to "South Park". I'm not sure I'd call any one of these "propaganda".

For whatever reason, I tend to think of "propaganda" as persuasion coming more from group collectives, such as governments.
Swedish FinTech startup armed with cutting edge AI wants to kill off accounting
Hackers steal Bitcoin funds from Bithumb exchange traders
Supposing that's true, you might need to get acquainted with Poe's Law: https://en.wikipedia.org/wiki/Poe%27s_law
There's a definite space for open source self driving but it won't be in mass market cars.

This will be a fertile base for a lot of people to build off of I think and it drops the cost of entering into the self driving car tools market.
The Church of Satan will have a merry time challenging this stupidity. Here is how I would attack the law, if I were involved with CoS. As per this quote from the law:

"is not suited to student needs and their ability to comprehend the material presented, or is inappropriate for the grade level and age group."

... I would challenge any overly religious materials claiming that it is inappropriate for the grade level, religious materials being better suited to a college level course. I would challenge poor scientific textbooks for being too low level for the grade. I would challenge a textbook for being too outdated with since-overturned theories or facts.

There is no end to the mischief this law could make for schools.
While Tesla's leading a electric vehicles revolution and having an immense success in introducing the mainstream consumers to it, majority of the traditional big automakers are getting it and aggressively shifting their production plans to EV: BMW, Volvo, Mercedes, GM, Nissan. BMW's plan is even to go all-in on EV[1] and will compete with Tesla head-to-head. [2]

[1]: http://www.thedrive.com/sheetmetal/10002/bmw-going-all-in-on...

[2]: https://global.handelsblatt.com/companies-markets/bmw-set-to...
Jersey City is a case study in the perils of politics and real estate
Ask HN: What does your development workflow look like?
I was an illegal immigrant for a few years and when I got married (to a US citizen) we went through the normal green-card application path with a waiver.

(I think this is current but plz double-check: http://www.nolo.com/legal-encyclopedia/when-is-waiver-inadmi...)

That was in 2003 so I understand the process might have changed. However I don't believe it has changed that much. It was pretty straight-forward (all things considered - some lost paperwork and redoing of fingerprints). I choose to continue on the citizenship path one a baby was on the way and that too wasn't hard.

There are a number of non-profits that help advise in this area. I would recommend contacting EIIC ( https://eiic.org/ ) who helped me navigate the paperwork.
> drivers who accidentally hit a pedestrian are actually incentivise to backup to make sure to kill the pedestrians

Why?
From the article:

"Today’s announcement shows how quickly the market is shifting as Volvo prepares to replace gasoline- and diesel-only models with a mix of full-electric, plug-in hybrid and 48-volt mild hybrid variants starting in two years."

Translation: Sometime in the forever-three-years-from-now future we will offer our existing cars in half-assed hybrid form (loud, high vibration 3 and 4 cylinder ICE with 16-18 mile electric only range and no center of gravity benefits since there won't be a "skateboard" design) and we will begin to offer one or two cutesy little electric only vehicles, on a new platform that won't be sold in the US.

We've seen this same press release over and over from BMW/Merc/Audi/etc. - always the same 3 year horizon, always the same mild-hybrid flavors of existing models, and always the same oddball electric model (i3, Merc B series).

Volvo had over ten years to respond to Prius and the market and consumer signals it was clearly showing. Volvo has had five years to respond to Tesla (who erode their highest margin vehicles and represents a big chunk of their consumer base in the US). What did they do with all of that time ? They released a brand new fleet of vehicles with beautiful exterior styling and laughable little ICEs inside (and some token mild hybrid models).
I think it was Joe Rogan who mentioned a similar point where, until a goal is reached those who want equity and those who just want a position of power are pointed in the exact same direction. It is only once the goal is reached that the difference between the two ideals becomes apparent.
At least according to https://github.com/rust-lang/rust/issues/28728#issuecomment-... this is a more general issue with clang/llvm -- even e.g. `while(1);` in C is being optimized out.
Hi Peter, I am currently on EAD/AP (Country of Chargeability: India, EB2, dependent applicant) awaiting AOS. It seems it will take another 4 to 5 years for my PD to be current and visa numbers to be available.

I have a startup and we have couple of paying clients. If we decide to setup a India office it is possible to transfer myself to the india subsidiary and get myself transfer back on Eb1 (Multi national executive).
The 1960s were 50 years ago. You won't experience that today (with very rare exceptions), and that's a good thing. But we can't be forever fixated on things that we've moved past.
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.

And then the actual implementor is going to probably roll along with the scaffolding you started.

I don't see why people are so hostile towards TODOs. If they don't get done, that sounds like a process problem, altogether something that is going to change project to project, not something to bikeshed on HN every. damn. time.
Here's the Equal Opportunities episode: https://www.youtube.com/watch?v=w7KCB6cRruc
Hi Peter,

What is the estimated timeline for each of I-140 and I-485 in an average EB2-NIW case these days?
They can also extensively amend laws and have the right to ask the commission to submit a proposal, and as far as I understand, the commission routinely obliges.

So, while it might not have the jure initiative power, it does de facto.
I'm on the same boat, how difficult is it to get the waiver? (Keep in mind that I have no proof of entry)
Top accessibility complaints from people with disabilities
FreeBSD still ships with the "tip" command for that: https://www.freebsd.org/cgi/man.cgi?tip(1)
Create a feature branch. All collaborators branch off the feature branch and PR into the feature branch. When the feature branch is ready, make a PR into develop.

The problem with this workflow is that it prevents rebasing unless someone rebases the feature branch manually. You would have to make a merge commit to follow this workflow safely.
That's right, H-1Bs for certain nonprofits (cap-exempt entities) are not subject to the annual lottery/quota but if one wants to move from a cap-exempt H-1B to an H-1B with a cap-subject company, then one needs to go through the lottery. However, part-time concurrent H-1B employment with a cap-subject company is allowed. There is no restriction on pursuing a green card if one is working for a cap-exempt entity.
First time I hear about the Github Flow but from the presentation page it does not address any of the basic needs like having several concurrent branches, releasing versions, their maintenance... Is this only adapted to webservices?
My understanding is that although Sweden may have high tax rates, it on the other hand has a more-free market than the US. Hard to place Sweden on either side of the Capitalist/Socialist spectrum.
The article is poorly written so I can’t tell what’s real and what’s not, but it seems to imply that people go to the military asking for “toys” (article is very non-specific here), and that’s part of the deal. It doesn’t seem to imply somehow the military is censoring all films made in the US.
Yes, it is worth considering an EB1A.
It's designed for such applications where timely delivery is more important than its confirmation and old data is useless.

Safer? In the timeliness sense yes, in the delivery of important info yes, in the reliability of each packet no.
The second isn't a process - it's an end result. That only happens where there is some pressure for that result to come to fruition. That means you need people to get pushed into situations where they interact with others to get that normalisation. That requires some effort to pursue equality and give people chances.

I also think it's morally reprehensible to just sit back and accept generations of people who don't have the chances others do.
Related:

"We're going to rush through implementation so that we have lots of time left at the end to fix all the bugs caused by rushing through implementation."
I think you're missing the point of the discussion. When you have women who are excluded and hit on and passed over simply because they are women, they come up with all kinds of solutions, including raising awareness that there are great women who are WOMEN and you should listen to "women in tech".

The stage of creating women-only and women-focused groups ( and buying into the diminutive labeling the original author hates ), is what happens after you have a bunch of really, really, really shitty interactions.

Thus, I think it is likely the author simply hasn't had the kind of really poor interactions & groping & whatnot, and she doesn't mention it in her post.

I am passionate about this because my significant other is a woman, and she's in tech. I know plenty of other women in technology. Most of them aren't deeply involved in "women-in-tech" and prefer a low-key evangelizing of the great women that have been in tech, combined with fleeing from companies that employ ... jerks ... who harass and ignore.

I was very happy that, in my startup under my leadership, we had a 50% male-female ratio. Subsequently, as CTO without much staff, that ratio has steadily decreased, and we are now down to 0% women in engineering. While that can be sampling error ( we don't have a 1000 member engineering staff ), it does give me pause.

The women technologists I know don't specifically slag the "women-in-tech" movement as the author did, I suspect because they do realize the magnitude of the problem is great enough that multiple points of pressure are required. Simply being great isn't enough, and the problem is getting worse not better - but there are likely other reasons.
The problem is that for any specific individual, focussing on the things holding them back is usually counter productive.

So what is the alternative? To sit back and hope the problem solves itself?

Yes, obviously using minority status as a mental excuse for under-performing is a bad strategy.

But I'd claim it's no better to simply ignore the issue.

In reality, for a person in a minority group, success is a function of personal achievement and minority status. That's just life. To deny that is, to me, simply unrealistic. To use a somewhat incendiary example, this idea is encapsulated in the concept of "white privilege".
Yes but you would need to have worked outside for the Indian company for at least one year and both the US and Indian companies would need to have some employees and be actively operating,
Putting parens around that example, while not strictly needed, also makes it harder to forget to add them if you later add an && or || to the conditional. So I am in favor.
i (black skin/latino ethnicity) used to cringe at those too, but after thinking about why they exist some more, i finally realized that many people really appreciate having a "safe" space where they can be with other people that look or grew up like them.

my family and i usually get along pretty well, but we have very different ideas about things like money or family "closeness" that were only made evident to me from my white fiancee watching "from the sidelines," as someone else above me put it. It also happens that much of the way my family goes about things is very typical for Latino families.

She's asked some really really good questions that made me think hard about why my family does things the way they have. As you can imagine, this puts me between a rock and a hard place, as I don't want my family to think that I "forgot where I came from," but I also don't want to participate in things that can really set my future self back a number of years for the sake of the family.

Very few of my acquaintances and none of my close friends (i only have a handful) are Black or Latino, so I don't really have anyone that isn't family that I can talk about this stuff with. I also spend almost zero time with other people that "look like me" at work; I've run into very few Black or Latino engineers in my nine year career, though I know that there are plenty out there. I was almost always the only black/latino person on the teams i've been on.

I've tried the minority only clubs, both in college and after I started working, and found that I don't like being fit into homogenous boxes or participating in echo chambers. So I've stopped joining them.
"Ellcrys" is a word that is likely subject to trademark and owned by Del Rey.

Its unauthorized use, is, at best, 'iffy.'

This aside, I've already written on HN about how I am deeply skeptical of self-executing contracts. Contracts can fit roughly into two types of categories:

1. Those with easily measured standards - which have largely already been automated without having to invent new technologies (e.g., turning on autopay on your cellphone).

2. Those with hard to measure standards - such as a "material advertise condition" - which do not lend themselves to automation without human intervention. In contracts of any sort of substantial complexity there will be myriad conditions that are intentionally vague - written this way because the circumstances are hard to predict, as catch-alls, and also to allow for some leeway to maneuver in the future. Or, to be more cynical, to allow your lawyers to argue over the definition in the future. This vagueness is a feature, not a bug, and even if we could implement AI technology to make these decisions with high degrees of precision, business people still not want to implement them because it is ceding control to an unknown third party. In other words, if you are selling a business, you are simply not going to have it be done through a self executing contract. It is not going to happen - it is just too nuts.

Then again, I do enjoy being proven wrong. So only time will tell. I am sure that more and more contracts will become the self-executing type, but I am also fairly sure that self-executing contracts will only ever amount to a small percentage of the contracts that are used 'in business.'

Source: corporate lawyer / former developer.
The front ends were covered by plastic wrap but I am certain they were Model 3 by the shape of the headlights and the overall length of the car. I regret that I didn't get a picture.

I assume they are press cars.
query; results. So yeah. It's easy enough to scrape. All this stuff about structured data is trying to find something that isn't there to begin with. If you want structure from unstructured data then use machine learning, don't try to sell everyone a "semantic data format" they have no incentive to use.
Surprisingly, there is code backing this crazy idea

https://github.com/ellcrys/openmint
Make it randomly and forcibly install updates and it will be perfect. A "Preparing to install updates [Confirm] [Delay for 10 sec]" message would be funny.
Hi Peter,

I am currently working for Hooli and I am awaiting AOS (with an approved I-140), but want to start my own startup. Is it really safe for me if my AOS is still pending for 180 days? How hard is it to show a startup CEO job (with potentially 0 salary) is similar to a Software Engineer job with a few hundred $ks?

Should I wait to get my actual green card and then quit?
12-15 months for the I-140 and after approval 2-6 months for the I-485.
No such thing in an efficient market.
> make sure criticism is constructive

My new motto (if I can pull it off), is to never criticize, ever. If I see a project on an obvious downward trajectory, rather than pointing out the blatantly obvious things that could turn it around, I am going to smile and repeat the same nonsense feel good crap my coworkers do as if everything is just fine, and watch it crash and burn. And then in my next interview, I will declare it a smashing success! In my experience, this is literally the recipe for success in modern times.

I should note, these observations are based on working in large enterprises where failure of an individual project can be absorbed, as opposed to a smaller shop where success actually matters.
> True, but socially, we've moved past that. There might be the rare individual baker who would not want to bake a cake for a gay wedding, because he's a devout Christian or Muslim or whatever and thinks homosexuality is a sin. But 98% of businesses won't care, as long as you can pay the bill.

Untrue. There are still many communities where you can be totally ostracized for those things. Just because you don't notice it doesn't mean it doesn't exist. Furthermore, this misses the point - even if there wasn't active discrimination in that way, it doesn't mean there isn't societal pressure or a need for minority groups to get minorities into a community in order to integrate that culture.

> We'll never be rid of all discrimination. It's just a flaw in human nature. We should keep educating and working against it. But I think we're largely past the institutionalized (to say nothing of codified) discrimination of the past centuries.

I mean, sure, but I'm sure people said the same thing about murder, then rape, etc..., etc... - we should always be working to reduce these things.

We are not at the point where discrimination is some crazily rare thing like murder is in modern societies.
There are plenty of opportunities for things to be stollen from checked in luggage at the arriving airport.

This actually happened to me on a flight into the US, with an expensive set of german kitchen knives in checked-in. In the US my suitcase was taken out of the normal line for extra checking (I guess because the knives showed up in an xray?).

They then later gave me my suitcase, but the entire knife set was missing. No documentation that it was taken. No one even cared. No recourse. And nothing came of it.

If I have something valuable that I couldn't take in my carryon again, I'd rather just DHL than trust the TSA to not steal it.
Textbooks? Seriously though I think there is a movement among the rich in America/world to buy products that are simple to use, high quality, and durable. The problem in my view is not that these products don't exist but that it's very hard to find them and verify quality in production over time.
Make a warnpush.h file where you use compiler pragmas to suppress warnings and then make a warnpop.h file to restore. Then you do

#include "warnpush.h"
#include <crappy.h>
#include "warnpop.h"

I always do this for third party headers in my projects. Except for std headers.

Example:

https://github.com/ensisoft/newsflash-plus/blob/master/app/c...
EPUB is essentially an entire self-contained HTML web site in a ZIP file container.

Whatever you can do on a website, you can theoretically do in an EPUB. It might not display as expected when rendered by an e-reader or printed, however, which is why most EPUB files stay rather safe and unambitious in their CSS and JS.

I'm a bit disappointed that web browsers don't generally function as EPUB readers or include a "Save As... EPUB" option, but I can't seem to muster the motivation to write a Firefox add-on to do that. It wouldn't even be that difficult, as I have created EPUBs from filesystem directories using nothing more than 7Zip and a shell script.

There is a possibility that law firms would pay for a premium version that included a crawler and some form of cryptographic validation that could prove that the EPUB file was created at a certain time, from a certain IP address, and hasn't been altered since then. The idea being that trademark owner's lawyer takes a snapshot of a website selling knockoffs when sending the C&D letter, then another when filing the lawsuit, and the evidence for the complaint is preserved without having to rely on static snapshot images of the rendered website or third-party archive sites.
For anyone who's curious, the procedure used is described in http://www.aliquote.org/pub/odds_meta.pdf. The standardized mean difference is given by:

log((65/35)/(5/95))/(pi/sqrt(3)) = 1.9646484930140864

The justification for this procedure is that the judges are assumed to make decisions by dichotomizing a continuous variable with logistic distributed error (this one statistical justification for logistic regression; see https://en.wikipedia.org/wiki/Logistic_regression#Latent_var...). The mean difference in the continuous variable is given by the log odds ratio times some constant, and the standard deviation of the continuous variable is pi/sqrt(3) times the same constant. Because the logistic distribution resembles a normal distribution (see https://en.wikipedia.org/wiki/Logistic_distribution and figure in paper), the standardized mean difference given by this method will approximately equal the standardized mean difference of the latent continuous variable.