skysight-inc/HackerNews huggingface dataset:
Ask HN: Is this normal for US companies hiring full-time remote?
I am offered a full-time remote position from a US company. However I'm told I need to set up a ltd. company in my home country and sign a contract with them through that company. I'm told I'll not be getting any equity, health care package or any other benefits offered to regular employees since they can't hire me as an employee legally.

I am not sure if it is true and want to know if this is a normal case for others who work full time remote for US company (as I'm assuming they are also not legally allowed to work in US). Salary offered is decent if I'm just working as individual contractor. Filling out W8BEN form has worked for me in the past working with US based clients. However setting up a ltd company I would be paying much higher taxes, health insurance etc charges (ignoring the up front cost required to setup such company).

I'm negotiating the offer so any tips or advice would be helpful, thanks.
Hacking Magento ECommerce for Fun and 17.000 USD
That might have been the case with HDD, and the rationale of using RAID. But I thought that with SSD, if you have drives in RAID 1 or RAID 5, each drive makes the same amount of writes at the same time, and if they are the same model / age, the firmware will allocate the writes to the same cell. And you would end up with exactly the same wear on all cells. And therefore all drives failing simultaneously.
A blog post with some details and graphs would be appreciated by the HN readership.
I found your comment

much more difficult to read

than the parent comment's

tighter paragraphs.

This was a problem I also had with

the article's preferred option;

the text is too spaced out

which can make following it

difficult. I also don't buy into

this idea that if you don't

like widely spaced text,

then you're someone who

doesn't 'get' typography.

But I do completely agree

with the idea that you should

be designing with your intended

audience in mind.
Knightscope, an autonomous robot to predict crimes in schools and neighborhoods
On the Environment and Early Days of Usenet News (1998)
Would love have support like this for Python.
This disk looks just right for fatcache usage.
I wonder how something like http://spritzinc.com would work for a dyslexic person ?

It basically gives you a single word at a time to read, would that make it easier for a dyslexic person to read bigger text if it was split into smaller one word chunks ?
Back when CS departments were first established, engineering schools probably should have stepped up and taken responsibility for educating software engineers. My impression is that even today, most engineering schools do not provide formal software engineering education and state governments do not recognize it as a valid discipline (no licensing).
Samsung is expected to release a 4TB consumer SSD this summer. Might be a better bargain that this enterprise SSD.

http://www.anandtech.com/show/9652/samsung-details-3rd-gen-v...
This turn into generic gender-war predictably degenerated into yet another tedious spat. Perhaps elsewhere on the Internet there is a spot where people haven't had enough of such discussions yet, but HN isn't one. Note the guidelines: "Please avoid introducing classic flamewar topics unless you have something genuinely new to say about them."

https://news.ycombinator.com/newsguidelines.html

We detached this subthread from https://news.ycombinator.com/item?id=11220975 and marked it off-topic.
Even older Macs (2010 models):

http://www.macrumors.com/2012/02/07/apple-brings-lion-intern...
But why? I mean, if I understand correctly, it would be exactly like goto.. so, why not use goto instead? You could also have named labels to clearly describe where you want to jump and why.
Regarding the multicore thing it had been answered already: if you have to run a distributed service in a 8 cores machine then just run 8 binaries. If you are using threads to write more elegant synchronous-like code in replacement of even driven asynchronous io then you do not need a concurrent runtime for that.

Now, regarding the availability of libraries to build distributed system in ocaml you are totally right. For years it seams everybody was happy with mpi, then we had some sort of map reduce framework, and that's it as far as I'm aware.
I would expect the growing popularity of mirage OS to improve this situation, though.
These kind of reports should be the target for many large open-source projects. Since they started the monthly reports they have had several new devs join and make significant contributions. The visibility and recognition of the work done has to be a big part of that.
> Car software should be free software upfront.

Yes! Just like medical implants (and the server-side counterparts that control them), and my password manager, and actually any software that is in between me and my password manager (OS, drivers, perhaps a browser), and private stuff like my email client/server, and instant messaging client/server, and things that track my vitals like those smart watch-like wristbands, and any non-domestically developed software the government uses, etc.

Except few people aside from a few "open source radicals" will think like that. For every person I know who will fully support this motion, I know five who will object and another one or two who aren't really sure, and I already have a biased social circle because I do believe in this cause.

As it stands, we never get to peek under the hood. A system like this would at least make people aware that "gosh, if we implement this cheating now (or whatever), we have to make sure to cover it up before we have to go public with it. Better document extensively where it's implemented so we can remove it thoroughly". Which is a bigger step than just one manager going "do it". And we would be able to see trends over the past years and reflect necessary changes in new policy. Perhaps two decades too late by then, but as it stands, we have naught.

Then once people get used to the idea that in 20 years, when the software is commercially useless anyway, perhaps we can open source it sooner. Or more companies will go "look at us, we publish after 5 years for transparency without loosing our cutting edge!" A bit of wishful thinking perhaps, but I'm sure some will, and everyone would be forced after a certain time anyway.

But once again, this is just one way of doing it. There are almost certainly better ways I didn't think of yet. We should just be thinking about it in the first place.
So while we are militarizing against the idea that woman are forced into staying at home, you do need to consider whether family care being the domain of woman is something men have foisted upon them or if it's something they themselves desire.

Now I'll admit I don't have kids, but every partner I've had has had the same view that they'd want me to continue going to work whilst they were stay at home. Any argument to the contrary is often met by the simple fact that said child would have been carried to term by them.

If you accept that as a possbility then we're starting to look at mens rights issue. Is it fair that men have less parental rights? Overall, I'd say no. Are we going to get support for these issues? Probably not.

Obviously in a better world I imagine we'd share a pool of parental leave. People should have the choice but I'd still expect the pool to largely be utilised by females because they want it that way and it's hard to argue otherwise.
Putting digital rights in the spotlight in 2016
The State of Free Expression Online in Southeast Asia
The funny thing about breastfeeding is that advice varies between countries, despite WHO advice. Which is very short on data, IMO. China, France say bottle up, UK has a strange and emotional culture around bonding with your baby, as if men and adopted parents are unable to do so without mammary glands.

I have very little time for the breastfeeding brigade, particularly those who think it induces some kind of superhuman immunity in their kids. It's plain wrong in my experience and only serves to perpetuate the exclusion of men and those who didn't give birth to their children.
The Privacy Shield Is Riddled with Surveillance Holes
Independent of undefined behavior: Who writes such god-awful code?

There:

for (k=0; k < 16; k++)
{
dd = d[k];
satd += (dd < 0 ? -dd : dd);
}

Just one more line, less error-prone, idiomatic for-loop and variable accesses (therefore easier and faster to comprehend), and best of all: no undefined behavior.

("But if my code is simple, how will other people know what a genius I am?")

There's no way I would accept the code from that benchmark in a code review.
Right, I heard that term before but didn't think of it. Thanks :)
EFF and 46 Technology Experts Ask Court to Throw Out Unconstitutional Apple Order
Another Ruling Against Kazakhstan in Its Attempt to Use US Courts for Censorship
What happens if no internet connection is available?
We detached this subthread from https://news.ycombinator.com/item?id=11220061 and marked it off-topic.
Good question, makes me curious as well!
#45 Intranets naturally tend to route around boredom. The best are built bottom-up by engaged individuals cooperating to construct something far more valuable: an intranetworked corporate conversation.

This is why Slack and tools like hubot work (see rules 46 through 49 as well).
We detached this subthread from https://news.ycombinator.com/item?id=11221340 and marked it off-topic.

So now, I'm not only downvoted, but censored, too.

Ah, I get it, denial. shrugs...

Ugh, and downvoted again. Maybe I should submit a "Downvote reddytowns" topic
I work for CLEAR UK (clear-uk.org), a non-profit campaigning for the legalization of medicinal cannabis in the UK. When we put this article on our news feed, we got a comment from a beekeeper --

"Well, cannabis is wind pollinated, as you probably know. This means it does not produce anything attractive to pollinators. This is especially true with the cannabis plant, as the flowers do not produce a nectar of any kind. This 'beekeeper' is spraying sugar water on the buds to get the bees to work them. His theory is that the trichomes that are inadvertently picked up are going to be stored in the propolis, that he smokes, and also in the honey.
The problem with the honey is that the trichomes would not be decarboxylated, thus not converting the thc-a into thc, thus having no psychoactive effect. It would be like eating raw weed...you would need to eat a ton, and the effects would be minimal, depending on the strain. Most strains have virtually no thc readily available.

The problem with smoking propolis is enormous, especially if you know what it is. It is basically sap from pine trees and such that the bees masticate and turn into a type of caulking for their hives. While it does have some serious antimicrobial properties, the amount of thc in the propolis would be minimal and you would be mostly smoking pine sap...surely, you can see the issue.

While male plants do produce a pollen, it is of low quality to a bee and definitely does not contain any cannabinoids.

My husband has been in direct contact with Nicolas trainerbee. He admits that he sprays the buds with sugar to film the bees working it...so, not only is he ruining a perfectly good harvest of cannabis, he is spreading disinformation to the beekeeping and cannabis communities."

"Training" bees, indeed.... As others have pointed out, the logic of this actually accomplishing anything is likely nil. If you read the article closely, you'll see it actually has very little content - it reads well, but it's more marketing fluff than anything. I don't want to write an essay here, so I won't explain further, but read it closely.

Unfortunately, the implication of THC-infused honey is going to drive the 'cannabis cures cancer' contingent mad (with desire) and Mr. Trainerbee is going to make some serious money... THC-infused Golden Manuka Honey! I really loathe all the @$%^^ going on in the cannabis related markets, but that is the essence or nature of capitalism...
A lot of Microservices advocates talk about abandoning DRY to reduce code coupling.

I think that's completely impractical and that we should still make heavy use of shared abstractions in modules and libraries.

If I have a routine in two application services, e.g. a currency converter, and that code has to be changed, I have a few options:

With code duplication (Abandon DRY):

1. If the domain demands, I have to change the routine in multiple services and build, test and deploy both of those services in lockstep.

2. If the domain allows, I can change it in one service and build, test and deploy that one service in the short term. The other service will likely need to be updated at some point in the future. This is hard to manage and brings duplication of effort.

Without code duplication (DRY):

3. If the domain demands, I have to change it in one shared library and then test and deploy both of the dependent services in lockstep.

4. If the domain allows, I can change one shared library and build test and deploy only the one service that I need to change in the short term. The other service will likely need to be deployed at some point in the the future.

Shared libraries are orthogonal to the question of loose or tight coupling. We can have no shared libraries but still have two services which are tightly coupled and chatty. That is the situation we need to get away from, and it is acheived through good DDD and service boundaries, but really doesn't seem to have much to do with shared libraries.
Rust excels in writing fast and efficient libraries that are portable and caller-agnostic. Java, C# and Go all have GC-endowed runtimes, so they might fare not as well on that field.

On the other hand, GC allows for faster and easier programming without the need to reason about lifetimes, like you would have to do in non-GC-languages like C and Rust. Java, Go and C# are fast enough to do a lot better than scripting languages, plus they are statically typed and safe.

I think that what Rust provides for user of those languages, has more limited scope: mainly squeezing the last drops of perf, and especially doing some realtime programming.

Edit: One additional pro of Rust is that it managed resources like files and sockets very robustly with its type system, which may help prevent bugs. That's a thing CG won't do for you.
China Tries Its Hand at Pre-Crime: To identify subversives before they strike.
We are indeed in a great space right now.

At QConLondon next week, I'm hosting the "Modern Native Langauges" track which will have presentations on Rust, Go, Pony and Swift:

https://qconlondon.com/track/modern-native-languages

The presentations are being recorded and will be published at http://www.infoq.com/qcon-london-2016/ over the next few months (you can see last year's conference content at http://www.infoq.com/qcon-london-2015/ if you're interested).

It's certainly a great time to be a developer with an interest in languages!
It's the public health insurance system.

It's paid for by for every employee, with a ~50%/50% split between employer and employee, with the premium depending on gross income only.
Does the intention behind some GPL clause matter or how some court would interpret the text?
Robotic Roaches Can Squeeze into Small Spaces
Do the bees get high too?
You can go under 1k if you don't use the standard library: https://github.com/retep998/hello-rs
But when anyone brings up that if Apple were to do it they could make a version that doesn't have the possibility of hacking anyone's phone, people seem to think that isn't possible. Clearly it is.
Those javascript animations had my CPU running at 100% while I was reading the article. I'm not sure I like this new web... can't we just go back to GIFs for simple stuff like that?
No offense but I feel this shouldnt be on HN.

This is plainly some thinly veiled advertising. This belongs on Reddit imho (it also has a way larger userbase).
Ask HN: Bootcamp ads on trains in London
I've started seeing adverts for this company [0] on commuter trains in London. I've never seen bootcamp ads in the 'real world' before.

I'm surprised at the continued rise of bootcamps because there isn't that much demand for junior developers in the UK, and the salaries are not high.

Is this an indicator of "peak bootcamp"?

[0] https://www.theironyard.com/courses.html
Everything I Learned Studying Physics, and Still Use Every Single Day
The maximum on the Apple site is 512GB standard but you can purchase 1TB to make it 500 dollars extra.
NVMe likely cannot scale to thousands of attached drives simultaneously due to limitations of PCI-E while SAS can. Scaling to thousands of attached disks was the motivation for QEMU's virtio-scsi because virtio-blk's 1 block device per PCI-E device meant that virtual machines using virtio-bulk could not scale past 32 drives. nVMe's 1 drive per PCI l-E device model should suffer from the same limitation.

Similarly, SAS supports multipath for HA while PCI-E does not appear to offer that ability. If it does, then I have yet to hear of an example of hardware implementing it.

Lastly, the idea is likely to appeal to those that care about density. For that purpose, it is better to lower costs and requiring a multitude of PCI express slots is not a great way of doing that. Motherboards with more PCI-E slots are expensive due to the layers needed to accommodate the circuits required by them. Assuming JBODs for such things exist (using a chip to share lanes among multiple devices), they would be expensive and also add to cost.

There is also a decent write up on this here:

http://www.datacenterjournal.com/nvme-connected-ssds/
Apprenticeship is no reason to work insane hours, no matter the trade.

In French, "paying one's dues" spells "faire ses preuves", meaning, prove one's worth. That way no one is tricked into believing they owe anything to their employer. Sure, it's only an idiomatic phrasing, we don't think of the debt any more. Yet I'm sure it wasn't so at first, and I'm sure the idea lingers.

Like the Japanese saying "sumimasen" (forgive me, excuse me) to say "thank you" in some circumstances.
When you say "optimize the whole thing away", do you mean that it's reasonable to skip that particular load or reasonable to skip the entire loop? Anton and I (and I presume 'swolchok') are all for reordering the code to avoid the the unnecessary load, and if it had some benefit, would probably be fine with replacing it with some random or non-random number.

The part that makes us cringe is for the compiler to reason backward from the undefined load to removing the entire loop, even for the values that are within range. While accepting that compiler would be spec compliant in doing so (replacing main() with "return 0" would also be spec compliant), we question whether that really makes for a better/faster/safer user experience. Essentially, we think that the clear intent of the code should have greater influence on the particular optimizations that are chosen.
That would make your failure rate higher (from increased infant mortaility) and your maintenance more expensive (more spares, more transaction costs, more work, replacing perfectly fine working parts too soon).

Drives have on-condition monitoring via SMART so you can predict age related failure.

Scheduled replacement is almost the worst maintenance policy.
You have my Swift Essentials book listed (one of the first, published in 2014) but the second edition came out covering Swift 2 last month:

https://www.packtpub.com/application-development/swift-essen...

There's a discount available until 20th March:

50% on eBook: SSEE50
30% on Print: SSEE30
I was just wondering why my score suddenly dropped 10~ points, and now I understand. It was cute to refresh the thread a few times and see the downvotes slowly accumulate as you read each post.

A flamewar? Someone was arguing against basic biology in the name of anti-scientific dogma and I defended it.

When you agree with one side of a "gender war" topic, it's ok, a statement of the obvious. When you disagree, it's a "flame war," a "tedious spat."

I look forward to being either passive aggressively chastised, or hellbanned.

EDIT, because I can't post anymore because rate limiting is one of the many shadow moderation techniques of the HN staff:

If you compare the votes for me vs. the votes for the person I'm arguing against, it's clear that someone out there agrees with what I'm saying and doesn't see it as a "tedious spat." (or at least, the votes before your brigade descended upon it, which were quite positive in my favor)[1]. You should reconsider if you are actually serving your community neutrally, or just projecting your own views upon it. As one would expect of someone that moderates an online forum for a living.

[1] Why blame a downvote brigade? Because why else would people suddenly mass downvote all of my posts in a thread that you had just detached and "marked off-topic," that they shouldn't have been able to see?

Why would I care? I don't, I just enjoy laughing at you and your desperate attempts to control the narrative.

PS: I'd like to argue constructively with pron downthread, but I can't, as I'm ratelimited (and probably shadowbanned) for wrongthink.
Yes I should have been more clear. A user which wants to run a signed executable with expired certificate can trick the validation process on his machine by setting the system clock back into the valid period.

But for the code-signer this trick doesn't work, the sign-tool needs to talk to a time-stamp server, usually owned by a certificate authority. I know that the Microsoft signtool.exe and the Java jarsigner can use timestamps, apparently on OSX this works too (search for --timestamp cmdline arg: https://developer.apple.com/library/mac/documentation/Darwin...)
Sorry, I didn't explain myself well enough. What if I want to download a specific image on a different Mac to the one I want to install the OS on?
APEGA accepted my work experience record without issue, and I don't think it was a problem for anyone I worked with. Maybe that's because I worked at an unusually engineering-heavy shop? The software was rigorously tested for safety reasons, and a P.Eng. had to sign off on each release.

It's reasonably common for engineering grads of any speciality to simply end up working somewhere they don't need a P.Eng. While it might be nice if that were less common for Software Engineers, a P.Eng. must stand behind their work. Qualified candidates should show they worked in a manner that made an existing engineer comfortable ok'ing their work. That may not be common, but it's fundamental to the process.
> Maybe you should stop being selfish

Personal attacks are not allowed on HN. Please post civilly and substantively, or not at all.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html
Adblock Plus has such guidelines for the "acceptable ads" it lets through by default.
> It's also potentially faster and more efficient than goroutines, because it packs the state to be shared on context switches into what is typically a very tight structure instead of saving the entire stack.

A context switch to another goroutine doesn't need to "save the entire stack". The stack is already there. The runtime just needs to keep a pointer to the stack of the suspended goroutine. And the stack is usually just a few kilobytes.

Moreover, keeping the stack is useful for debugging because you can print a nice stack trace.
I'm sure they said the same thing 10 years ago.
Blogging is sharing information with people, it's that simple. Now it depends on what you what people to know about.
Bees absolutely collect pollen, they even have special pollen ball holding cups on their legs. They also collect nectar, in their stomach.
Data Model Code Generation in Go
It's not "sexist" to acknowledge reality.

Men and women (on average) have different hormone levels, and those hormones do effect our emotions and our choices.