skysight-inc/HackerNews huggingface dataset:
What if the prospective employee is presented with two offers:

1) No non-compete, long hours, and low salary

2) Non-compete agreement, short and flexible hours, and high salary

If this is a possible scenario, would the ban on non-competes be anti-worker?
> Like smoke a weed, workout, work at a burger joint as a burger flipper and date my daughter's best friend.

Smart way to get your kids to find you a job. I like it
And in California, it has to be a full salary, not $1.

I'm not sure why nickff is mentioning trade secrets, when that's a separate issue, covered by NDA.
> But in a world of IP ... it's a different story.

If the employee violates the IP then sue him for that. No need for non-compete agreements. If you're worried the employee will steal your clients then you're not giving your clients a good deal at first place, and the employee shouldn't be prevented from working with your clients. This is a free market. Non compete agreements are completely anti-freedom of both enterprise and work.

> Company ABC brings you in, trains you on their know-how and core IP, which took a lot of struggle, $, and R&D to create - then you leave, go to a competitor, and effectively communicate and give away ABC Corps. most valuable asset.

Then the burden of proof should lie with the previous company, there shouldn't be any possibility of preemptive clause within the former contract. If it's clear corporate secrets were leaked then sue. If you don't want your employee go work somewhere else then compensate him, that's the problem here , most of the time there is no compensation.

It doesn't matter how much R&D was created. That's the role of patents to deal with that thing.
I'm just an ordinary guy with nothing to lose.
Does your coding style not involved lining function arguments (and other things) that are broken into two lines up vertically? Converting between 8 spaces and 4 would screw this up.
The Bezel-Less Smartphone: Xiaomi Mi Mix
Among other reasons, Congress has the power to regulate interstate commerce, but not intrastate commerce.

Congress might, say, prohibit noncompetes across state lines, but would have a harder time making the case for a noncompete prohibition within a given state. Perhaps not impossible.

OTOH, there are Federal standards for labour in the US under the NLRA -- National Labor Relations Act.

Lay understanding of law.
Predicting Judicial Decisions of the European Court of Human Rights with NLP
Can you please elaborate issues with TLS? Its been broken/hacked into that's for sure. I understand your frustration with marketing buzz words, and we are trying our best to convey the positives of our system. There are too many consumers who can't identify the difference between SSL and end-to-end encryption and we need to convey to them we are over and beyond SSL. Thanks for feedback though and these does gives us ideas to improve our content.
WinBtrfs v0.7
If a company is preventing me from working, and doing so is actually important to the company above and beyond a tool to keep me working for them, they can afford to pay a salary for the duration of the non-compete. The fact that companies aren't willing to do so reveals that the companies want non-competes so they don't have to pay market wages and to restrict freedom of movement of employees. It is a terrible standard to have non-competes for at-will employees.

I have actually refused a job offer because the terms of the non-compete were so one-sided for the employer. The contract had things like one-way attorney fees, applied everywhere in the US for a year, wasn't limited to what the company actually worked on, and other employer favored terms. This was for at-will employment, and apparently I was the first person to refuse the job offer due to the contract. I wish more people would refuse to sign such biased contracts, as it stands companies can get away with the practice because too many workers allow them to do so.
Apple has a guide to show you how to best wrap the cable without straining it...

i.e. Don't pull it tight. I still have power charges from my 2007 MacBook Pro that have not frayed and still look like new and with the adapter from MagSafe 1 to 2 still get used regularly.
> If you don't have users, you don't have
a company.

Right. But it's tough to find any such
statement on the Web site of a seed or
series A VC.

If they want me to have users, then they
want me to have revenue. For that I need
to get my first server built, running, and
live on the Internet. And once I have
that, I can just get the publicity and
mostly otherwise see if people like the
site without any equity funding.

If the users do like the site and the
usage grows, by the time that first server
is fully busy, I will have ballpark
$200,000 a month in revenue with less than
1% of that as expenses and 99+% of it as
pre-tax earnings. Then since I'm a solo
founder and 100% owner, why should I
consider equity funding?

Or, by the time they want to write me a
check, I won't need it.

> Or your $10bn/year metric is non-sense.

Not at all. Planning is important, and
that's how the planning works out. Sure,
there is the assumption that people like
the site. But the site itself is not much
of a question since the software is
essentially ready for quite serious
production.

If the VCs want to wait until the $10
billion is much easier to see, fine for
them. Then they can offer to write me a
series A check for $5 million for 1/3rd of
my company? Gee, thanks, guys, your $5
million is about 5 hours of my revenue,
nearly all of which is pre-tax earnings.

> I see 0 ads per session because I use an
ad blocker.

If that gets to be a problem, then I will
send the ads from my server and not have
my Web pages get the ads from ad servers;
besides part of my work is some unique and
especially effective ad targeting where it
will be easier for me just to send the ads
from my server farm; ad blockers will,
then, have to tell the difference between
Web page images that are ads and ones that
are content, both coming from the same
domain name. Lot's of luck, there, guys!

> What exactly is the pressing problem
you're solving?

I told the VCs. None of them gave a sh_t.

My intention here is not to pitch VCs.
Instead, I'm just trying to give other
entrepreneurs the benefit of the painful,
wasteful lessons I learned: In shortest
terms, just pick a project you can do from
your own checkbook, build that business,
wait for the VCs to call you, and, then,
see if you are still willing to accept
their check. Likely you won't be.
Absolutely - it's why the advice was so good as it led me to trying to discover alternative patterns that remove the ifs.

On our team I try and code reviews to both be about code quality and learning. Reasonably often we'll go down mini rabbit holes about different ways things could be written and the various merits of them. We also try and have more than two people reviewing to spread the learning even more. That can make it worthwhile rewriting good sections of code to be worse just to discuss why the original way was better.

As a junior I learnt a great deal from reviewing the senior devs' code.
Move to California, or draw a line through it and see what happens.
Steps for Setup Your Laptop with Portable USB Monitor
To explain it more clearly all your data is encrypted before it goes on the wire and not a single bit is decrypted until we verify your email link. All the encryption/decryption is done using AES-256.
Files are decrypted locally on your browser when you click on the download button. Our servers are totally unaware of this and they only stream encrypted files at all times.
This is just the beginnings, we are working on more features and also improving our documentation/content. Appreciate your feedback.
No, the point is the non-compete keeps the employee from working for a competitor, so the employer pays the salary to prevent the employee from working for a competitor. The employer chooses to either pay the salary of the employee or free them to find work elsewhere. Why is it fair that an employer can fire someone or lay someone off and keep that person from working for a year?
You can still install apps from anywhere. The hidden option allows you to bypass gatekeeper, which IMHO is a fantastic security feature that stops people from installing potential malware or unsigned binaries.
Minimalistic and playful prints, free worldwide shipping!
Shameless plug, I can help: www.magicinstruments.com if you're in SF, stop by for a demo. My email is andrew at the website mentioned above.
Citing the tweets is difficult. The account is suspended, making its tweets unavailable, and most of the news articles which quoted them did so using the Twitter embed API, which went dark along with the original tweets.

Vox has some screenshots in this article, though:

http://www.vox.com/2016/7/20/12226070/milo-yiannopoulus-twit...
The scales don't necessarily have the same notes. That only happens with equal temperament tuning (, which is it's great advantage).

https://en.wikipedia.org/wiki/Equal_temperament

If you optimized the tuning for harmony, the notes would be largely similar, but some of them would not line up that well. Playing one scale with you instrument tuned for the other wouldn't work that well.

https://arxiv.org/html/1202.4212v1/#sec_3_3_0

Read that whole article. Super interesting. It was posted on HN this summer.
- Features RAID 5 and 6

- LXSS ("Ubuntu on Windows") support

This leads me to wonder what the status of the Linux version is?
That isn't what the parent's claim was about though -- the claim was "first-class" citizen.

I'm well aware of homebrew and the like having used it myself; I still think the current situation is now better on Windows than macOS, which is bizarre.
I don't understand why you need any client side framework. Couldn't this all be accomplish server side with the HTML pre-fetched on the client if needed for performance? There isn't anything dynamic about the website so it could run with zero javascript and then things like the back button after scrolling through the blog would work.

Why try to outsmart the browser?
But how much of that deadline pressure arises from mounting technical debt due to skimping on code quality?
Why is it fair that an employee can stop working at their job or commit fraud, then immediately sell all the non-public information they have to a competitor?
Non-sequitur, unless banning non-competes would make the hours longer and less flexible or the salary lower on the second job.
> it only performed 256 loop iterations, one for each point along the edge

alarm bells

There are only 252 points along the edge. This code will act on each corner twice. If you were performing an operation like `+= 1` on each edge element, this code would be wrong. When you copy and paste it later and change all the `= 0` to something else, you might end up with an unfortunate surprise.

Once I saw this mistake in the 2nd code example, I guessed it would also appear in the 3rd one. Sure enough, it does. This is just as unsavory to me as the original code.

I'm not sure if the author is here or not, but if you are, can you see the fix?
Companies aren't paying you for the duration of the non-compete, they only pay you when you are working there. If a company really wants non-competes to prevent you from working for a competitor, they could afford to pay for that. Instead companies are using non-competes as a form of control, to coerce workers into keeping working for that company.
Some anecdata: I'm working on a 100k+ LOC Swift project and I can confirm, compilation is a dog and much of my day is spent getting myself back on track after waiting for compiles to finish.

That said, I'm in love with the language and I'd rather wait for a compile to finish than have a server blow up because of a null pointer exception. After working on a large Python backend, it's been really nice having a compiler to watch my back.
It sounds like a good idea. But it may not be suitable for all conditions where people use a DSLR.

One example I can think of is macrophotography. In this case, the subject is simply too close to the camera to be covered by the numerous lenses of the Light camera. I'm also not sure if the mechanical mirrors can be moved fast enough for high-speed action photography; but it might be.

Of course, it is a very specific example. For general usage, the Light may be a compelling replacement for a DSLR.
This chart is poorly implemented.

TLDR: The chart attempts to show the relationship between Transistors Produces per Year and Transistor Cost per Year, but confuses the relationship by denoting the latter quantity in units that require mental multiplication to understand (transistor per $1.0 * $0.000000001)

---

I see two curves, red ("Transistors Made Per Year") and black (Price Per Transistor (Billionths of $1)), both plotted versus a common range - "years," - with plot-lines horizontally and vertically to help me trace points on the curve to their respective values.

Thank you, authors, for providing labels for the horizontal scale-lines on the graph (the vertical axes). You've understood that I might want to understand the relationship between different pairings of points between the red and black curves, and the horizontal lines help me rapidly estimate y-values for both. Or at least for the left-side y-axis (the red curve): "Transistors Made Per Year."

To be honest, I'm having difficulty relating the the quantities denoted in the units of the right-hand y-axis (the black curve), "Price Per Transistor (Billionths of $1)," with both the red curve AND the x-axis.

Here's why:

I had trouble efficiently internalizing what the units of the black curve - "Price Per Transistor (Billionths of $1)" - really meant. I am lazy, so I only figured it out on the third paragraph of my comment. I kept glancing at the red curve, then the black curve and thinking something like "ok... in 1965 it looks like the red curve was about 10^9 "Transistors made that year"... and for the black curve, it was $10 Billion per Transistor... oh wait. I mean ($10 Billion * $0.000000001) per Transistor. So I guess thats.... uh... $10/Transistor($1)? I.e. each transistor cost $10 and $10 billion were made total that year (ah ha, for a total silicon market cap of $10/transistor * 10,000,000,000 transistor = $100B).

Please don't make us do math to understand the units of one of the axis, if possible.

Also, labels to denote the values of the vertical gridlines (ticks on the x-axis) would have been helpful. Without them, we have to mentally estimate their value by subtracting the high-side of the domain from the low-side, then dividing by the number of tick marks (alternatively, counting from 0 the number of vertical lines across the whole graph. In this case: (2014 - 1955)/(11 tick marks + 1) = 4.9266666... years ~5 years.

That said, I'm pleased to see more transistors were manufactured in the last year than there are stars in several galaxies! Wow. But Kanye won't be impressed until the number exceeds the number of all KNOWN STARS in the UNIVERSE. So keep at it.

Lastly... Isn't VLSI so 80's? Isn't there a VLSIVLSI now or something? Maybe VLSI^2?
Facebook is going to release Origami Studio (prototyping tool) on Nov 1
You are assuming that no employer would ever pay more and be more flexible in exchange for a non-compete; I can imagine many employers in highly competitive industries who would.
Yet another reason to LIE
You can even change this on a key-by-key basis using a neat tool called FunctionFlip. This enables you to have certain F Keys work natively, while other F Keys require you to hold down Fn...

http://kevingessner.com/software/functionflip/
Apple Pins Hopes on iPhone 7 as Profit, Revenue Decline
Most of the time I'm with the comedienne that said "Roughing it is when room service answers on the second ring". What you described sounds like hell. I would visit for the street food and then Uber it back to the .
Beautiful posters!
I dunno, the first example seems unsatisfying. The original has that ugly condition, the "good" version seems overly clever. And for all the talk of taste and aesthetics, both versions ignore an elephant in the room: defensively dealing with `entry` being absent from the list.

Not that I've never abused addresses like this. But having written this multiple times, I currently prefer something like this:

remove_list_entry(entry)
{
if (head == entry) {
head = head->next;
return;
}

for (prev = head; prev->next; prev = prev->next) {
if (prev->next == entry) {
prev->next = prev->next->next;
return;
}
}
}

There's still an `if`, but it isn't so bad since it's an early exit. What is "tasteful" about hiding the fact that one of the cases is far simpler than the other? There's conditionals and then there's conditionals. There's cases and then there's cases.

The other benefit of this approach: you eliminate segfaults by construction, because the `while` has been replaced with a much more normal `for` loop iterating through the list. Keeping it normal is 80% of the secret to avoiding security holes.

Rather than appealing to something nebulous like "taste", I prefer to focus on concrete functional benefits. What is a situation where someone using or modifying this function might be subtly led astray? That seems a better guide.

(Earlier version posted on reddit: https://www.reddit.com/r/programming/comments/59cq8r/applyin... )
Actually great artist evolve it.
The thing is, they're used by companies as a way of trying to stop their competitors from getting access to insider information even when it wouldn't qualify as a trade secret and would be difficult to protect with an NDA. Which is insane, because they only hire you for your experience and skills, which came from doing similar jobs for other employers, and yet they somehow expect to own any new experience you gain while working for them.
A big part of Google's value is in having convinced everyone that they're a super innovative company pumping out new successful products all the time. This keeps talent coming in, keeps talent away from competitors, and acts as a shield against regulation and bad perception by the public. The secret is that they're just a search and ads company that doesn't know what to do with all the money and is having a hard time making any new products stick.
And yet it meets the key requirement: it's up and running, stable, for years, growing and (presumably) profitable.

Sure, they could scrap the whole thing and rewrite it in Grails, and add Rabbit 0.3 to make it run faster, but why scrap a working, stable profitable stack in pursuit of some shiny bauble?
Great question, I'm interested in the responses as well. I'm using XVim with Xcode, but it's horrendously unstable and much slower than it needs to be.
The classic practice in Vim is to NOT use Escape (or arrow keys for that matter).

That said, what's to say you can't use the strip to provide an Esc when running MacVim or iTerm etc?
Yes, but a musician would (reasonably) say, for example, "this song is in CM, not am". I'm trying to say that keys are traditionally defined to be more than "what notes are used"
If you read this carefully, you can see something quite ironic about this article:

The article's argument is: "Something's terribly wrong with the internet." Evidence provided for something wrong was three pro-Trump comments about an anti-Trump article. The article then suggests "recent research from Harvard Business School suggests that Wikipedia has become increasingly balanced in the course of its 15-year history."

So, the internet is biased, and people are uncivil. Wikipedia is civil and not biased; here are some points to learn from them.

The irony is that the article itself is no shining beacon of neutrality because it provides an anti-Trump and anti-alt right narrative. Any right-leaning comments must be fixed by editors, but left-leaning comments 'fix themselves over time.'

Instead of the article making a sound argument for neutrality, it does nothing of the sort.

Disclaimer: criticism of the DNC, media and Clinton != support for Trump. I do not support Trump.

This article is masterfully written, but it's not very pure in its intentions.
Remapping Caps Lock to ESC at the OS level is not a viable proposition for international users.

Source: am French with an AZERTY keyboard, we need Caps Lock to make capitalised accented letters, such as in "À bientôt !"
Well, the counter-example is that the tech industry in California completely collapsed because... oh, wait, we're doing OK.
One solution for this comes from the field of librarianship -- the use of standard ontologies for classifying information. The two most widely used are the Dewey Decimal system (proprietary) and the Library of Congress Catalog Classification System (nonproprietary). I've seen arguments that Dewey is more logically consistent, but the LCCCS's open nature lends it a strong advantage.

Even such ontologies aren't entirely stable -- they change over time, and as with other bits of knowledge, reflect cultural fads and fashions. But I've been recommending to several systems (Pocket, Ello, blogging platforms) that a classification / tagging system based on these might actually be a fairly reasonable start, if only in that there's a very large, mostly-well-considered basis to start from.
Take the job and let them sue. Scotus won't enforce a noncompete.
Have you seen the comment sections at most newspapers? Even with Facebook names people instantly turn nasty. Sure the article has its problems but newspaper comment rolls are overwhelmingly awful.
Yep that's true.
This is why I love reading HN comments. On some random Amiga post, the guy that worked with some of my music heroes just pops up and drops a comment like this. Thanks for sharing!
>I had to use one of those for a short while, it was highly unpleasant.

That's how it usually is with companies that "did X first". Usually Apple does it in the actually usable way.
I think you are overlooking a number of things, first of all the code examples are not just prettier they are faster as they bypass test conditions. Save possible compiler optimization or CPU branching strategies which I am not too familiar with, this would at least still save execution cycles in certain cases/languages. Might seem small here, but when it's for library code, code that gets duplicated in memory and needs to also copy variables and closures (i.e. rows on a webpage), or simply a practice all across the codebase, it will have effect.

Not only that, but as the author outlined it's easier to read and parse for another developer, and there are less chances for errors.

I, for one, strongly believe that pushing software excellence reduce the number of high pressure situation to "get shit done", as it's better to take control of the code than other way around.
> smoke a weed

We've found the rebel, menace to society over here
Show HN: Portainer – A lightweight management UI for Docker
>Mac mini as a very nice all in one device is neutered by lack of an optical drive.

In 2016? Seriously? If anything, I'd like more frequent updates, who the fuck uses an optical drive anymore?
Food Startups Bring New Life to Detroit’s Century-Old Eastern Market
> What they don't want you dong is taking all their IP, walking off and passing it onto a competitor.

Bullshit, that's what NDAs are for.
Define addiction
What's your point? That you are willing to extend this principle to ELF binaries doesn't really affect my argument.

My point is that for the purpose of letting some non-trusted instructions run safely in a program, encoding them as JSON or Lua will come with the same caveats. Ultimately, they are both interpreted and can be sandboxed thus. Neither contain any code that will be passed off as-is for the CPU to execute. In some cases, neither does an ELF blob.
A centrist argument is not necessarily correct. There are many more dimensions to ideology than the left/right spectrum.

https://en.m.wikipedia.org/wiki/Argument_to_moderation
I guess my assumption is that those are what would be on the context bar when the ide is running. Whatever used to be function keys are there, but now with labels.
They can regulate companies who do any business across state lines.