skysight-inc/HackerNews huggingface dataset:
> ...Apple has decided that users are too stupid to make their own decisions...

Sadly this is true for many, if not most users: http://arstechnica.com/security/2008/09/study-confirms-users...

It's a few years old, but it seems unlikely that things have changed much since it was done:

"Some researchers have tested how college students respond to fake dialog boxes in browser popup windows and found that the students are so anxious to get the dialog out of the way, they click right through obvious warning signs"
For years, I've laughed (from skull throne) at the "whyyyy no bytecode" posts on HN. Now bytecode, still complaints. Still laughing, too.
How Google turned Alameda into a mad science laboratory
public static UInt32 CheckNextVersion([...])
{
Contract.Requires(previousVersions != null);
Contract.Requires(versionString != null);

UInt32 version;

if (!UInt32.TryParse(versionString, out version)) throw new ParseException();

var min = previousVersions.Cast<UInt32?>().Min();

if (min == 0) throw new NewReleaseImpossibleException();

if (version >= min) throw new InvalidVersionException();

return version;
}

I still wouldn't use this code in production but all the exception handling in the article is completely unnecessary and even throwing those exceptions in the error cases is a design decision. You could as well create your own Result<T> type either containing a value of type T or an error message and return that. Obviously the more support by the language and the compiler you get the better, but you can still do it even without.

public static Result<UInt32> CheckNextVersion([...])
{
Contract.Requires(previousVersions != null);
Contract.Requires(versionString != null);

UInt32 version;

if (!UInt32.TryParse(versionString, out version))
{
return Result.Error<UInt32>("Bad version string.");
}
else
{
var minimumPreviousVersion = previousVersions.Minimum();

if (minimumPreviousVersion == 0)
{
return Result.Error<UInt32>("New release impossible.");
}
else if (version >= minimumPreviousVersion)
{
return Result.Error<UInt32>("Invalid version.");
}
else
{
return Result.Success(version);
}
}
>one of the worst CEO's

Leo Apotheker?
I can't imagine being laid off by my company and then told to just forget about... for now. It sounds like the absolute worst way to treat employees.
Shippable ‘Formations’ Is a Container CI/CD Without DevOps-Style Scripts
That doesn't sound good. I really want to use physical button with my kindle. Thats my biggest complaint.

One thing I couldn't find anywhere is how strong is the glass? A reader is much bigger than a phone and I wonder how safe such a big glass screen is.

Agree about the light though, its very glaring at night. I have to lower it to uncomfortably low to read to stop it from hurting the eyes. It actually feels a lot like backlight to me at night.
Moving my ninja edit down here into a reply:

On modern systems it's not possible for an application to know when memory has been exhausted, because of virtual memory and overcommit (http://www.win.tue.nl/~aeb/linux/lk/lk-9.html#ss9.6). The system will happily tell your process that memory is available even when it's not, and relies on the OOM killer to free memory by force when necessary. The only context in which an application can reliably detect OOM is when that application is the kernel itself.

Fortunately, Rust has a stripped-down version of the standard library, called libcore, that exposes features which don't require allocation and thus don't have to worry about OOM. This profile is perfectly usable for writing kernels, and could also be used to write an alternate kernel-specific stdlib which make it possible to handle OOM.

> Complaining about the existence of Parse is like
> complaining about the existence of unwrap in Rust.

This is mistaken. Complaining about Parse would only be like complaining about unwrap if unwrap were the implicit and default behavior. Parse throws implicitly, but unwrap doesn't get called implicitly. The fact that the possibility is impossible to accidentally overlook is an enormous and crucial difference.
Ooops, an old link to CLASP. Here's a newer link:

https://drmeister.wordpress.com/2015/06/15/i-gave-a-talk-on-...
Yes, Pepper has more features than existing web APIs, though in some areas web APIs are finally catching up.

> Or if you mean that PNaCl has more features than asm.js, then the solution is to add those features to JavaScript.

Nope. A polyfill is a temporary solution, and will not be a permanent design constraint. I'm very glad to see that the constraints of JavaScript will no longer be a limiting factor on the web. I look forward to the day (already anticipated in the linked post) when a JavaScript polyfill is no longer a design constraint.
I'm really excited to see Apple's 3d model of street view versus Google's 2d skyboxes.
Median or average cost of living doesn't necessarily translate across the entire population. Technology employee salaries skew towards the higher compensation edge of the distribution. If you assume that the income inequality in China is higher than that of LA, it stands to reason that cost of living / typical compensation for a technology employee salaries would be roughly the same.
McDonalds workers have required shifts, must wear uniforms, are provided with all the food they serve, etc, etc. Pretty poor analogy.
"The problem with GMO is that it's basically a vendor lock-in scheme for agribusiness giants."

Hybrid seeds already did that 50 years ago.
Welcome to Hacker News, where everyone on earth has $90k in the bank, and nobody ever needs money right-this-second so they can continue to barely-afford their food, housing, and medical care.
And Microsoft stepped in with their help and a huge cash injection, and Jobs was vilified for letting them.
Google isn't much better. Searching for directions from A to B where neither A nor B are your current position always stumps me.
Well, I hate to be the 'do you even lift, bro?" guy but do you work in the US? Has an AoI never crossed your desk? These aren't some oppressive tools of the man trying to keep you down. They're an attempt to head off the terrible problems that arise when IP issues are not explicit. And yes, they're standard. Was your response to 'standard' the same last time you signed an agreement for apartment rental or car insurance? How did that work out?
security dump-keychain -a | egrep -A 9 -n "applications \(([2-9])\)"

This gives you the relevant lines right away: 9 lines following the match (you might want to use fewer).
With the emergence consumer drones, and the increased adoption of sensors everywhere, the amount of data available for mapping purposes is about to explode. Mapbox and others should have plenty to keep them busy.
> Uber and Lyft are operating a model that clearly works for customers. And yet they rightly face legal issues.

It isn't terribly surprising that they can offer cheaper service than incumbents by avoiding the costs of the incumbent. The technology problem they solved is very convenient, but I'm not sure that contributes significantly to the lower costs.
Can a lawsuit be brought against the government if it is truly shirking its responsibilities when presented with evidence of broken laws?

I smell a money-making opportunity for an enterprising attorney!
Uber poaches former Google Maps chief for its self-driving car project
Show HN: Larry – text for free personalized legal help tailored to your startup
If Uber was smaller and hadn't pissed off so many taxi companies they could pivot into providing a front/back office system to taxi companies.

Taxi companies could then get rid of their own dispatchers (gotta be a significant savings right there), their own radio network, and the per car radio transmitters. Plus the rating system would help cab companies identify crappy drivers.

Customer would still get the convenience of hailing and paying for a cab via a smart phone. Plus the rating system could be used to ensure that if a customer gave a driver/car a bad rating that customer would never see that driver/car again.

Uber per transaction gross would be smaller... but they could enter many more markets much faster, have a significant legal services savings (i.e. they wouldn't be sued anywhere near as often), and possibly a savings on marketing (no longer need to market to drivers and customers... only need a sales team that targets taxi companies). And insurance savings... Uber wouldn't need to provide car insurance during trips. And HR savings... the hiring and vetting of drivers remains with the taxi companies.
Uber, represented in the hearing by high-priced attorneys, did not apparently bring up the idea that the Plaintiff could have (or should have) worked simultaneously for other car service apps. Presumably there were legal reasons why that argument wasn't compelling.

But taking a step back, though it does seem to be a vaguely mitigating factor, maybe, in the abstract, the fact is that this woman wasn't a contractor by the legal definition.

The law doesn't say that employee/employer relationships are determined by what could have happened in some alternate universe. There are full time employee plumbers and carpenters and programmers, and contractor plumbers and carpenters and programmers. They use multi-part tests and precedent to determine which is which.

The determination was that this woman was -- in fact - an employee, it was not a hearing to determine a hypothetical scenario.

Somewhere in California there may be an Uber driver with a fact pattern that makes them a contractor, or not, but it'll take more cases to figure that out.
7 lessons I learned building a 1M dollar business (after 10 year of failure)
Someone did a global search-and-replace of "make" with "Make" ...?
Dark Sky 5 Released
> Heck, a company with shareholders is practically legally obliged to...

You are spreading the myth of a US (and most nations, for that matter) legal obligation (the term of art is "fiduciary duty") of profit maximization to shareholders. Please read the following.

http://skeptics.stackexchange.com/questions/8146/are-u-s-com...

http://corpgov.law.harvard.edu/2012/06/26/the-shareholder-va...

https://hbr.org/2010/04/the-myth-of-shareholder-capitalism

If you are an attorney, then in the past somewhere on Harvard Law's site I found an exhaustively-written piece that gives specific case law citations I could cross-reference from Lexis-Nexis. The bar to clear to prove fiduciary malfeasance in corporate governance is very high, and the latitude granted to company management very broad; shareholders can enforce a fiduciary preference through shareholder activism and throw out management, but the US judiciary has steadfastly refused to lightly step into the management-shareholder relationship in this regard.

This blog post delves into the follow-on questions more in the vein of corporate social responsibility once you acknowledge the legal reality.

http://www.robertstavinsblog.org/2009/05/12/straight-talk-ab...
Yep, Sidecar has been doing this for a while.
How long will Uber's appeal take?

What happens if they lose?

Can other jurisdictions use this finding to change the way Uber operates?
> However, it finally seems like JS is getting some of its core problems solved and is getting usable. I wonder if it might have short term productivity loss as the churn ramps up to new levels with a million different choices of language/platform.

This announcement means JavaScript can no longer rely on "you must target JavaScript to work on the web" as a motivating factor. The set of people who like JavaScript as a language in its own right can keep using it, and will have the advantage of new JavaScript engines and extensions implemented on top of WebAssembly. However, the set of people who would rather write in another language will no longer be constrained by waiting for JavaScript to catch up.

Personally, I think this will be a good thing for both JavaScript and other languages.
!kat kickass torrentz. even when the url changes.
The current plan (https://github.com/WebAssembly/design/blob/master/Web.md#imp...) is to integrate WebAssembly into the ES6 module system (so you could have a JS module import a WebAssembly module and vice versa). With this design, the WebAssembly polyfill would hook into the ES6 module loader (if implemented natively) or the ES6 module loader polyfill.
When I worked at Best Buy I saw him several times on campus. Guess he had a lucrative contract with Best Buy as well:

http://www.targetmarketnews.com/storyid03070802.htm

(March 5, 2008) Magic Johnson Enterprises, one of the nation�s leading companies dedicated to serving emerging, multicultural markets, has entered into a multi-year relationship with Best Buy Co., Inc. Through this strategic relationship, the consumer electronics retail giant hopes to strengthen its urban market presence and deepen relationships with multicultural customers. The alliance was announced a few days ago at an internal celebration at Best Buy headquarters in Minneapolis, MN.
My thoughts as well. Maybe Uber and Lyft will migrate to this pricing model if it helps them get around these legal issues. Does anyone with legal knowledge know if this is a viable strategy?
What I meant by 'not obligated to sign' was that there are more than a few paths open. Some of those paths involve separation from this employer. The original poster needs to figure out what his options are, and what he can do if he can't negotiate an outcome he finds satisfactory.
I don't know about Windows 10, but the driver model changed significantly with Windows Vista, so XP drivers actually will not work out of the box on newer versions of Windows. So if you're using a really old peripheral that isn't maintained anymore, chances are you won't be able to run it on a modern Windows machine.
You are completely blind to the desire of the customer. You are happy to tell the customer to absorb costs for services they clearly do not want.

What's amazing is that people are voting with their dollars that they approve of the business and you want to stick your nose in there and say "hey guys, I don't approve of this transaction. Get out of the car."
I don't think this holds. Either Uber makes slight changes that comply, some other legal body re-evaluates or laws are changed slightly to accommodate.

This is too powerful of a concept to dismantle so easily. Being able to pick and choose when you work and still be able to make decent earnings is very useful to society.
Previously: https://news.ycombinator.com/item?id=9691055
JS is getting int64 and uint64, so you need a better example, like zero-cost exceptions, dynamic linking, call/cc (listed in my post).
larry is a free service that answers your legal questions, finds contracts, gives business reminders, and more through SMS.

As law school grads we realized that legal has always been costly, inaccessible, and non-transparent. So we decided to create an “invisible app” to make it dead simple to get what you need from the law, so you can focus on more important things.

The way it works is you just send us a text message (trademark search, NDA, dissolve company, convert LLC to C corp etc.) and we’ll answer your questions and get you what you need. If you need to purchase a legal service, we’ll let you know the exact fee so you can confirm it before being charged. No surprise fees and always the best deal with pre-vetted lawyers.

As a bonus, larry also learns about your business and gives you proactive legal advice about things like keeping your LLC or C Corp in compliance, tax filing deadlines and more.

Would love to hear your thoughts!
I second this. Sometime back I did Python for a production work. That for the first time gave me a true sense of Object-based inheritance v/s class based inheritance. Prior to that I used take JS way as-is. But wholeheartedly, may be not so much.
"I've seen some pretty horrible things Monsanto has done to farmers."

[citation needed]
6) is critical, you can't just brush it off: someone who can hire other people to perform their labour is generally not an employee. What you're claiming applies to pretty much any fixed price contract, and it should be obvious that most such contracts don't result in an employee relationship. ALL of the necessary criteria must be met for that to happen - not just some.

e.g. I could be paid by a farmer to to work on such a chicken farm (presumably many people are), but I can't be paid by an Uber employee to cover their shift. That is a critical difference.
> Prepare for the onslaught of new (and old) languages targeting the web.

"Prepare for"? As if that hasn't happened already, with virtually every modestly popular language having at least one web-use-oriented compile-to-JS transpiler, and several new languages being invented whose only implementation is such a transpiler.

WebAssembly makes the process easier, and may make it easier to maintain those along with the non-web implementations of the languages, but its a little late to prepare for the onslaught of web-targeting language implementation.
This is enormous news. I could see a scenario where, in ~5 years, WebAssembly could provide an alternative to having to develop apps with HTML for the web, Swift for iOS, and Java for Android. Instead, you could build browser-based apps that actually delivered native performance, even for CPU- and GPU-intensive tasks.

Of course, there would still be UI differences required between the 3 platforms, but you would no longer need 3 separate development teams.
during the performance of Employee’s obligations under this Agreement and for a period of one (1) year thereafter

This sort of term is exactly why you get a lawyer to review the contract. If it's enforceable (big "if", in many places) then that's a guaranteed year you can't realistically either be employed by anyone else in the industry or be working on something like open source projects to keep your skills up to date. As career death sentences go, that's probably pretty close for anyone early in a career in software, web development, or any similar creative field.
Nope.

http://www.npr.org/2015/01/27/381724445/how-do-some-highly-p...

See also the ESPN Documentary (a good one) called "Broke."
FYI, ECMAScript 2015 is also known as ES6.
i can't speak to their respective backgrounds, but there was an ESPN documentary not too long ago that explored the post-playing career trajectories of professional athletes for major sports

Edit: ^^yeah, "Broke" that's the one
Navel-gazing: from a public health perspective, aren't widely-prevalent 'creeping' factors of the leading killer in the US the low-hanging fruit to ban?
> The majority of H1-B recipients these days are foreign nationals who attended American universities, often with masters degrees. Those are the kinds of foreign nationals we want participating in the US economy.

most smart companies that use the H1-B visa program only hire those with masters degrees. This does 2 things:

- They can first bring them on as "interns" under the F1 visa, which can be extended quite a bit. They are paid peanuts while the firms weed out the absolute duds.

- This avoids the requirements on firms for extra reporting if a certain percentage of their staff are H1-B don't have masters degrees.

This creates a nice little loophole where smaller colleges have massive massive STEM programs with an insane majority being foreign students. The students get their foot in the door to play the game and the colleges get paid.

Take UT Dallas for example: http://ecs.utdallas.edu/academics/assessment-docs/2014/2014%...

The CS Masters program is bigger than the CS undergrad program, only 4% of graduating CS undergrads are international, where as 93% of FT CS Masters students are international. That should be odd to anyone.
Algorithmic surrealism: A slow-motion guide to high-frequency trading
Can someone explain what this means for the browser ecosystem? What are the next steps to integration?
wut? if you find what you're looking for then the results are fine. the google results seem to be deeper into forums but that comes from context. Google knows I'm a programmer so I get more tech related results on average.

Again, if ddg doesn't give me what I want I use !g to try google.
The irony here is that people on HN do judge you if you live mostly in the C#/.NET world, but you're arguing against my suspicion of people who contribute to Mozilla.

Do you think it's a far stretch to say that people who actively use open source languages and libraries and contribute to Mozilla projects are much more likely to be biased against anything that Microsoft does?
Just to point out -- the California Labor Commission’s ruling is non-binding and applies to a single driver, it's not a class-action or applies to anyone else. Reports of the demise of Uber due to 'all partner drivers now being employees' is grossly exaggerated. Uber is also appealing. [disclosure: I work for Uber]

(see http://newsroom.uber.com/2015/06/clcstatement/)
Overcommit is just one configuration on Linux, it is a good default, but there are domains where you would disable it.

How is Parse any less explicit than unwrap ?
What’s the value of an MBA in the startup world?
Can they subcontract once they license the branding? If so, see point (6) of the thread starter comment. If not, I wonder if point (5) applies in that making licensing decisions is a "managerial" type thing to do. Seems hazy though, and it very well might be that it's no different than Uber, and those companies could be similarly ruled against. Lots of companies come up with schemes to treat employees as contractors, with varying degrees of success.
It's argued that achievement-focused video games tap into our brain's reward center for accomplishment.

This article argues that distractions tap into our reward center for autonomy.

Both are good drives that can result in undesirable behavior when these games and distractions are ultimately unfulfilling. Just like gambling, food, or drug use, the issue here isn't necessarily a weakness of spirit, but an instinctive misinterpretation of the world around us.
You can already build awful, non-semantic HTML today, with a giant pile of <div> tags, CSS, and JavaScript. The web hasn't fallen apart.

Similarly, just because it'll be possible to implement a full web engine efficiently in WebAssembly doesn't mean sites will suddenly stop paying any attention to standards or accessibility.

As for adblockers, I can think of several ways to block ads in such a world, including hooking the sockets API to block or sandbox access to ad-serving hosts, or providing hot-patches that stub out common ad-serving libraries. It'll get harder, but not impossible.
Sometimes it's about wanting a trivially shorter keyword.

!h searches Hoogle; I would prefer it to search Hacker News. To search Hacker News I have to use !hnsearch or !hn

!hn isn't much larger than !h but is still something I would prefer to set myself.

!m goes to Google Maps but I would prefer to use another map service. I could use !mapquest but would rather it just be !m

!sd goes to Slickdeals instead of Science Daily (which is !sciencedaily , talk about lengthy)

E:

I just compared my keywords and then searched the DDG Bang list for where I would be taken if I had used DDG instead of ones I set myself.

E:

>Plus I make ddg my default browser so I do just go to the address bar put `!yt cats` and get youtube cat videos.

I just type "y cats" and get youtube cat videos. ;)
Interestingly, about five years ago, he said he couldn't see this ever happening:
https://news.ycombinator.com/item?id=1905291
Who is _us_? As soon as someone immigrates here and becomes a citizen they are us. Way more dangerous than losing your job today is losing the next silicon valley because we refuse to let people who want to come here, work, and become citizens actually come here, work and become citizens.
I like it too, but I assume it's probably not used very often just because it forces you to write more boilerplate code, which some may see as "verbose".
Aneurysm