skysight-inc/HackerNews huggingface dataset:
> The only winning strategy was to just not deal with them at all.

A pattern I've seen in business is similar: when there's a bad actor who is able to pay exorbitant amounts for user acquisition, but then offers a bad product/experience, it's a losing startup strategy to go compete by offering a better product/experience. Just avoid that particular market / niche / channel entirely.

The bad guys who are paying a super-high CAC and still successfully monetizing it are going to outspend you, and the customers who keep taking the bait from the bad guys have already signaled that they can't be reached.

So anytime you (as a startup) see the equivalent of "quick weight loss pills" being hawked successfully through some channel, and your product is "eat right and exercise," go around that trap and not through it. Otherwise the bad guys will drive you broke as you throw pearls before swine.

The major qualifier here might be that big incumbents, NGOs, or governments should not necessarily ignore these bad guys. Not what I'm saying. Just that if you are a good guy with limited money, attacking a profitable channel dominated by bad guys is a losing strategy.
Should I assume that all characters not parenthetically emphasized as male are female?
O1s are easy for artists, I know about somebody that worked on music software that got one in 2 months. Business related O1s are much harder
Cloudflare PAL a container identity bootstrapping tool
I was in the same boat as you (no education, prior experience) and got an H1B.
This is very cool as well.

A comment about how you have presented this - not everything has to be an interesting technical accomplishment.

Creating beginners is a much harder skill and topic than most realize.

Making topics easy to approach and learn is often much harder than learning the technical topic.

Impressive how quickly you whipped this up
Obviously this article is a single personal viewpoint, but I have heard similar stories from two other github employees (one of whom still works for github).

Their interpretation was that github is upset they are viewed as sexist, so they want to figure out how to change their public reputation, without actually changing anything.
Yup, and it already exists! Check out WebTorrent [0].

My favorite example of WebTorrent in action is Instant.io [1], which lets you easily transfer files across browsers.

[0] https://webtorrent.io

[1] https://instant.io
Is the E3 visa at risk?
The Best of Big Data: New Articles Published This Month (June 2017)
Wouldn't this entail that the parent company have a branch in the U.S. also wouldn't he be limited to working at the company (for a maximum of 5+2 years)?
The issue (that only partially has been solved by the WEEE directives in Europe) is the same as most of the issues when money is involved.

The best form of recycling is of course repairing, you only throw away (and need to dispose of) a tiny piece of (metal, plastic, etc.) instead of having to dispose kilograms or tons of the same stuff (the whole whatever).

But the point is "who is gonna pay for disposal?" a part of the WEEE directives (related to solar panels) goes into the right direction but still, see the previous thread here:

https://news.ycombinator.com/item?id=13250584

The manufacturer saves today but will (maybe) pay tomorrow.

The only way (unfortunately not very practical) is to have manufacturers deposit today (in some sort of fund) the sum that will be needed tomorrow for disposals, with some sort of scale so that longer lasting products will need less money to be deposited or maybe allowing the withdrawal of a quote of the deposit after some lasting performance has been measured, that would make them think about the opportunity of making shorter or longer lasting (or non-repairable vs. repairable) devices.
Yeah, 3900 CHF and only 2 years of warranty... I can imagine cost of spare parts after it expires. For this price I would expect 7 years warranty as minimum.
My professors at the University of Virginia made this one: The IBCM == Itty Bitty Computing Machine
https://aaronbloomfield.github.io/pdr/book/ibcm-chapter.pdf
There is a recent study where they saw the opposite, that quotas caused less-capable in-group members to be pushed out:

http://blogs.lse.ac.uk/europpblog/2017/04/05/gender-quotas-a...

I haven't seen a lot of discussion around this - it may be bunk. But there are a lot of intuitive ideas about hiring that don't hold up.
>it's been almost that long since you could buy a system with an RS232 interface at all (aside from maybe embedded systems that haven't been updated in years).

I don't know what kind of computers you are buying, but I've yet to see a retail, server-class, motherboard without a 9-pin serial port in the back.
I'm a Canadian working remotely as a contractor for a US startup. I'm looking for a way to visit my employer on-site for a few weeks for training and to meet the team. I'm not a tourist, and I'm not a full time employee, so seems like no visa apply for me.

I also own a Canadian corporation and I could structure the remote work contract through my corporation instead of with me personally. Would that make things simpler or more complicated? i.e. can my Canadian corporation send me (the only shareholder) to the US on a work-related trip?

Also, is it possible to get a TN visa (assume a new full time job offer in hand) if you have previously worked remotely as a contractor for the same company? Is there an expectation that obtaining a TN visa you have to move to the US or can I continue to work remotely? Do I need to become "resident" for tax purposes if I have a TN, or is that completely unrelated.
SVG Workflows in Sketch
Agreed. And moreover, the developer already credentializing in a section of code (like working on the router for the past week) is the one that's likely to smash through some outstanding TODOs in that section as well.

What doesn't seem to work is to turn every tiny TODO into an issue and then hope someone decides to recredentialize in some possibly large code just to fix some small issues because they stumbled upon it on the issue tracker.
As a general rule, it's not hard but the rub is what you note: the new position needs to be in the same or similar occupation as the previous position and although porting to your own company or self-employment is allowed, you must be prepared to show evidence of your ongoing active present and future work - such as contracts/revenues - with your new venture.
What’s New in Linux Kernel 4.12 – 15 Biggest Feature and Changes
Brainfuck is a stack-based language with only 6-8? syntactic elements for manipulating the stack. + increments the current stack element, - decrements it. > increases the stack pointer and < decreases it. [ and ] have to with conditional jumping I believe. And it is common to convert the elements in the stack to ascii characters to display a result.

So if you go to the orange section of the sheet you see where the program state is displayed. Each row represents the state of the program at that point. The "Out" column is the stack represented as ASCII characters. The "Cursor" column is the stack pointer. The "IP" column is the instruction pointer (which instruction you're currently looking at). The "Instruction" column is the instruction being done at that point in time. The "Cells" column is the stack displayed from left to right.

I may be a little off but that is the general idea.
Apple Seeds Sixth Beta of iOS 10.3.3 to Developers
Is that approach not entirely just an opinion of yours though? How can you state so firmly (in opposition to many here) that "you're practically guaranteeing permanent under-correction". I think that statement is only true if those in the majority have no desire for true equity - which then is begging the question.

If the hypothetical 'truly equitable' personality exists, is it not of some moral repugnancy to require them to re-engage with a (by definition) racist or sexist system, even if the racism and sexism being engaged in are to the short term advantage of society? Are you suggesting the end justifies that particular means? And is that not precisely a moral failing? And for the sake of the argument, if you presume some people are more sexist/racist than others, then you also must allow that some are less sexist/racist than others - and precisely those hypothetically equitable personalities would be put in a very real moral quandary by your strategy. And does then requiring sexist/racist actions that such people would otherwise not have taken part in, then act to precisely "preserve the status quo" of sexism and racism?

I would just question your confidence that your strategy is the correct one to get where I think we all want to eventuality arrive. It may be a viable strategy, but it's not yet clear that it is the only viable strategy. And though it might be a fast strategy, it too could be a less morally sound strategy. There are tradeoffs all around, and it's uncharitable to make declarative decisions about those moral tradeoffs on behalf of others.
What would force you to make your own templating language turing complete?
Your comments are beginning to make a habit of being uncivil. Would you please fix that?

In particular, please edit the gratuitous provocations like "Hate to break it to you" and "Huh?" out of your comments here. Those things are (minor) violations of HN's civility rule in any thread, but when it comes to flamewar-prone topics like this one they're particularly harmful.
I love advancement of technology and when a major player steps up to the plate to execute it (with risk).

Volvo also has a marine division and I'd love to see them come up with a way to migrate the technology. Could finally crack the 10-20k engine service hour mark, so no more $75k overhauls. Would be a gamechanger for the midsize yacht/sport fisher industry. Right now combustion engine overhauls can happen all over the place. 1k hours, 5k hours, because of lots of variable. Do you have an open checkbook service policy, do you let your boat sit too long, do you run it hard too much, did run it at too low rpms, etc.
That sounds like a great way to sell so-called "state-of-the-art scanners".
There is no way anyone could ever profitably produce a rapidly reusable rocket. No one can make an online bank. No one can do solar profitably. No one can replace the yellow pages (Zip2 got passed on when an investor threw the yellow pages on the table). No one can make an electric vehicle that doesn't suck...

You might not be wrong, but the shorts get squeezed Everytime someone says this. I wouldn't bet against Tesla and the market is more than tolerant of these delays
>> It sort of blows away this thought of successful startups being full of the best and trying to build the best product.

On one of my first projects, I was so afraid of "spaghetti code". Before adding any substantial feature I searched for "best practices" and tried to implement them, made sure my file names and folder structures were organized, wrote unit tests, then wrote integration tests, then manually tested -- all before I had a single customer or another developer on my "team". Looking back, I was very slow. I think it still would've failed if I was a bit faster, but who knows.

Then at my next job I had almost the exact same experience as you. 400-600 line methods, no logging, reliance on outdated libraries/frameworks, no documentation. Fixing bugs meant trying to change as little code as possible, because if you actually tried to refactor you would almost definitely end up altering or breaking some other feature. Yet there were large companies that paid for and relied on the software for business critical processes.

I'm still trying to figure out what the balance is, but I'm glad to have experienced both ends of the spectrum.
Just implemented headless testing for a rails app today, and discovered that alert support has been worked around in the latest Capybara (2.14.4).

https://github.com/teamcapybara/capybara/commit/12c100597093...
Baidu CEO Reprimanded for Riding in Autonomous Vehicle
Indeed!

I have a professional life, using my real name, with virtually no public exposure. I have a personal life as well, using social media, but locked down to close family and friends. And I've had numerous "hobby lives", Mirimir being one of the most recent and active, isolated through VPN services and Tor.
Come on man, give us some meat to chew on...
Maybe it's just a difference in perspective, but I see all these problems and I think, wow, China has come so far DESPITE all these issues, yet there is so much more low hanging fruit to be picked and so much more potential to be obtained. All these problems seem incredibly manageable, and many are being fixed rapidly, and with their resolution growth will speed up even faster.
Most inside baseball politics places like Axios and Politico have reported that his staff has desperately tried to keep him off Twitter
> Is it legal to ride your horse while inebriated?

there was a fellow arrested in colorado a few years back for that:

http://www.dailycamera.com/news/boulder/ci_24052312/cu-bould...
On the contrary, I teach x86 assembly to advanced audiences and I still haven't solved some of the harder optimization problems there. It was so much fun!
Not yet (we're working on it)! But it has been an absolute joy to work with rust so far. We haven't had a single crash in production since we started using it and the zero-cost, high level abstractions allow you to write nice, safe APIs with very little code. All that while providing stellar performance and still being able to write low level code when necessary. The ecosystem is still growing and sometimes you have to put in a little more work to get certain functionality that is well supported in other languages because the library/crate for that does not exist yet or is in an early stage of development. Rust also has an amazing community.

We are long-time sponsors of rustfest, so If you are in europe this could be a good opportunity to get to know some of the team members and ask questions.
Since he's Canadian, it's probably a TN visa, not H1B?
Live Streaming MPEG-DASH with Raspberry Pi 3
Speed Queen is making a go of it. Slogan is "Built Better to Last Longer."

https://speedqueen.com/

When my Frigidaire washer finally dies that's what I'm getting. I already injured myself replacing the pump once. And now that I've seen the cheap plastic parts used I don't have confidence it's going to last.
Really? Don't you need a big electric motor for that... and some substantial lithium ion batteries? Is your ICE car a hybrid?
Github has really completed an unusual feat - Hostile to people of color, the entire gender spectrum as well as cisgendered people of no color. All seem to have grievances with this company. Wow.
I would respectfully disagree that US citizens "should" recite the pledge of allegiance every day at school. I understand that you probably meant something along the lines of "it makes no sense for non-US citizens to recite the pledge of allegiance at all", but I'd still like to address the point you happened to write.

I'm firmly convinced that no child, citizen or not, should engage in a daily ritual like that, especially not at school. The worst aspect of contemporary education -- not only in the US, but in many other countries -- is teaching through indoctrination. Instead of encouraging our kids to develop their critical thinking, our educational systems focus on making them learn by repetition and trust the authority.
EPUB is an archive of HTML files.

It has a handful of metadata files to tie all those HTML files together, but it is essentially a ZIP container full of HTML, CSS, JS, and images. Rename filename.epub to filename.zip and open it up some time.
A B-1 might be appropriate for what you describe but you could not be paid by the US company while here. And, working remotely for a US company is not an impediment to getting a TN with this company.
"Public Relations" is the rebranding of propaganda
I think you meant to reply to a different comment. None of that is relevant here.
Did you prefer the converse headline "patient killed due to tired doctor", "bridge failure as workers installed supports badly", "power plant explodes as inspector missed system warning" etc.

We're on that side of the balance right now and not the other.
NDAs - to the extent they have a solid use - should be written up in law (including case law) such that you don't have to sign them. It should be obvious that I don't go to my companies competitor with our source code (and copyright law prohibits that already). Can I go to our competitor and recreate from scratch our algorithms in their product, what about modify their algorithms that do the same things as ours - at some point you have to draw a line of yes/no.
Am I reading this correctly? Fired for lack of empathetic communication? Is that really a thing?
What? Car radios are (or at least, were 10 years ago) easy for even a DIYer to replace with about an hour's labor. Even in modern cars with nonstandard radios they're still modular. You can take it out and replace it with a functioning one.

The GP's issue isn't that he needed a technician to take apart the radio and install a new screen, he just needed a new radio. Which was his eventual solution.
One issue is dynamic range - rolling shutters tend to have a higher DR
Introducing Tapered.js: Easy inline JavaScript tests from within comment blocks
Arguing for abolition of slavery in South Carolina in 1838 or so would certainly be ignorant within that context. Times change. Today's normal is tomorrows ignorant and vise versa.
Jonathan Haidt's thoughts on the matter are also quite enlightening, and he also describes a theory of how this culture came about:

https://www.youtube.com/watch?v=K92rOsjyLBs
(Safe Spaces — Sam Harris and Jonathan Haidt on the Disturbing Trend of Vindictive Protectiveness )
Hi Peter,

Thanks for offering to do this. According to new USCISs rules , if you are on H1b and you were let go, you can be in the US two months to find a new job and have your H1 transferred.

What happens if you stay say slightly over 2 months and find a job later? In what ways can you run into trouble ?
Very funny. You'd probably have a high chance of success. And the NIW isn't all that it's cracked up to be. USCIS appears to be applying EB1A standards of accomplishment to EB1A applications.
Show HN: New variable-length integer algorithm
You don't work in a city with shitty traffic and public transport systems, then. I live in D.C.

If I were to take public transportation to my job it would take about twice as long and involve me walking 5 miles both ways. And I get in traffic jams daily.

So yeah, if you went around penalizing people for something largely outside their ability to control, there would be riots in the streets.
This kind of comment violates the site guidelines no matter how wrong the other person is. Moreover the entire subthread is off-topic as described at https://news.ycombinator.com/item?id=14703722. Please stop.
My previous startup was about teaching programming to beginners with computer games, so I definitely have an appreciation for that. I made sure to point out that I still consider Brian's accomplishment very impressive.

It's just that I clicked hoping for one thing and found another, so I felt a need to show that the second one is also doable :-)

Also, it took me more than I expected. I had to go through a couple of wrong approaches and some confusion until I figured out bracket matching, and also had a bug or two that took a while to debug in the interpreter table. These things aren't hard to make! Try it sometime :-)
Yeah probably, but it's just an example
"Give me a man, I'll find a paragraph for them."

Old Polish [0] saying, back from the days when Poland was a communist country.

[0] https://pl.wikipedia.org/wiki/Dajcie_mi_cz%C5%82owieka,_a_pa...
No, a bit more reliable - they're actual settings stored from users of one of our products. The next step is to build a system to query newly entered unknown domains.
Except when you want to use the device and charge it...
Fair point. I'll do that right now. Thanks for the feedback!
My hunch: part of the problem here is that people got fleeced by retailers, who sold hugely overpriced extended warranties, banking on loss aversion and risk aversion and general lack of technological understanding. When people realised how much they had been fleeced (assisted by consumer programmes like Watchdog in the UK), many of them went off extended warranties as a mug's game — and never came back. (I once had a Xmas temp job at UK electronics retailer Dixons, commission was on profit, and one extended warranty was worth dozens of devices sold — beaten only by mobile phone contracts).

So anyway, that's a reason why people's revealed preference for extended warranties might not correspond with their true preference for longevity in consumer products.

It's also the case that if you can afford to insure yourself against something (like a consumer good breaking down), and average the costs across all such things, then generally you'll save money by doing so — especially if you reckon, as I do in this case, that you take better-than-average care of your consumer goods. In that case, the price of the extended warranty is a signal of expected longevity, and features in your purchase decision (lower = better), even if you don't buy it. So again, revealed preference for warranties may not equal true preference for longevity.

Finally, we're collectively using and disposing of too much stuff, and one of the reasons for this is that externalities such as waste and resource depletion are not fully internalised. So even if people are not buying extended warranties, and that truly reflects an indifference to product lifespan, there may well be an argument that by "forcing them to buy an extended warranty" — which also forces the manufacturer to take responsibility for the product over a longer period, and thus pay more attention to how long it generally lasts — you get higher social welfare, despite some constraint on individual consumer freedom.

Finally, people are hyperbolic discounters, they are myopic in a way that hurts their happiness, so a regulation that encourages longer-term thinking may help them in the long run.

TL;DR: I think this measure has potential to be a really good thing all round.
The problem encompasses way more than you claim it to. It includes things like quality of service, social networks, and mostly, basic human dignity. If what you said was actually the problem, then the civil rights act wouldn't have outlawed segregation.
Thanks for posting that - nice add to my collection, and I'd argue they work out some of the math far more than others (it's implied in other places, but its nice they actually worked it out instead of another bloody exercise for the reader) :-)
Yes, the foreign company would need to have operations in the US to qualify for an L-1 and you would be allowed to work in the US in L-1 status for 5 or 7 years depending on your level within the organization.
>One thing I learned and wanted to warn about here is that Chrome headless currently doesn't support file downloads [1].

Not true. At least with C# You can use

var client = new WebClient();
client.Headers[HttpRequestHeader.Cookie] = cookieString(driver);
client.DownloadFile(reportURL, savePath + fileName + ".xlsx");

Along with:

string cookieString(IWebDriver driver)
{
var cookies = driver.Manage().Cookies.AllCookies;
return string.Join("; ", cookies.Select(c => string.Format("{0}={1}", c.Name, c.Value)));

}

Edit: Just wanted to emphasize that this ensures all the steps you did to login won't be lost since you're using the logged in cookie.
The idea is to use Selenium to get the download url and then use a regular download method using the selenium cookie.
I've seen this a few times. People with a naturally terse way of communicating eventually end up offending someone with the power to retaliate.