skysight-inc/HackerNews huggingface dataset:
Wow, that must be depressing. In my country (Australia), our full time work week was recently re-defined from a maximum of 40 hours down to 38 hours per week (you can work a 'reasonable' amount of overtime, but it's discouraged because it usually accumulates as time-in-lieu so you can take those hours off at your leisure later on), you get a minimum of four weeks (paid) annual leave and at least 9% superannuation on top of your wage paid into your retirement fund (possibly going up to 12% in 2019).

I'd hate to feel pressured into working crazy hours like that.
This basically shoots the messenger. NPEs just expose a greater problem with the patent system, which people like rms and others have warning about for years.

What we need is actual reform of the patent system, not just sweeping the problem under the rug by singling out "trolls".
> If Sublime Text development does go off the rails like TextMate 1 did then that'll be my "fool me twice" momen

At some point I was tempted to buy into ST, but after giving it a go, I just decided that I need a reliable toolchain which doesn't change or disappear at the flick of a switch.

Little speaks reliable as Emacs or vim does.

This new project is open-source, which is definitely an improvement, but I still like the total hackability of emacs.
Germany says U.S. may have monitored Merkel's phone
This is a difficult discussion to have without examples. I've given up plenty of values from when I was a teenager. It wasn't because of weak willpower, it was because I eventually realized those values were silly.

Another thing that comes to mind; "a plan never survives first contact with the enemy". Values/morals like to be black & white, but the world is grey.

Edit: I had no problem with your original comment, and as it was still positive I doubt many people had a problem with it at all. I see, what, all of 1-2 mildly negative replies? Don't needlessly play the victim, it is unseemly.
Actual Vim: Sublime Text 3 input mode powered by Vim itself
It's not like regular people type in URLs much anyway, apart for a few sites (Google, Facebook, etc) - these days, pretty much everyone I've seen just googles the name.

I've even seen some adds actually say 'Google [word]' to find them instead of putting a URL, (or worse, 'Search [x] on Facebook!')
Agreed. Patent trolling isn't the problem - it's a symptom of the wider issue that far too many obvious patents are granted.

The reason NPEs are perceived as a problem is because they break mutually assured destruction. If the patent system were working as intended, we wouldn't need MAD, because it would be possible to write a nontrivial computer program that didn't infringe on someone's patent.

I have no real problem with the concept of an NPE, if their patents are genuinely worthwhile.
A High School Grad's First Blog Post
Hi- got a great product but currently looking into making the product the best it can be. Stumbled upon your post and thought it wouldn't hurt to reach out.

Obviously, being a startup (currently in funding conversations) employment of any sort is really out of the question but being from Austin (Texas Exes here) thought there maybe some synergies especially if you like music. If intrigued, feel free to reach out to nirav@requext.com. Thanks!
They should have open-sourced their MitM IMAP service and allow to use your own, and then this would have been a cool hack.
LinkedIn’s Intro Feature Is Very Cool, And A Spectacularly Bad Idea
Ask HN: How important is a .com domain name?
How important a is .com domain name for a startup, and what would you consider is a reasonable amount to pay for a domain that's on auction or is already owned?
Here's a winning strategy,

setInterval(function(){Move(a[p1][c1][p2][c2][0] < a[p1][c1][p2][c2][1]?0:1)}, 100);

goo.gl/2BYAQI
That seems like a good argument to set off MORE harmless bombs in airports, so people and the authorities get a chance to learn and get used to it and fix their priors about this stupid risk we've been overreacting to all these years.
At least in Germany though, steering and braking have to be mechanically connected which maybe limits innovation in that area a bit (or reduces incidents where you cannot control your car anymore).
Yeah, what gives?
When the task requires some effort, it's obvious that it's easier to just not do it, even if desirable. The least effort it requires, the harder it is to deny it (e.g. smoking).
Interesting that satnavreviewed.co.uk, obbcountybankruptcylawyer.com, stephaniemari.com, and northgadui.com are all owned by the same GoDaddy account.
Premise 4: Your type system can't tell the difference between "null" and 0.

Adding 4 and null also makes no sense, yet 4 + 0 is perfectly fine.

> Conclusion: Null indexes that are architecturally invalid to use are a good thing, because you can catch bugs involving their use immediately.

Recommendation: Have a good type system.

>>> a = [1]
>>> a[None]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: list indices must be integers, not NoneType
The real Bender's eyes have square pupils.
> It's not - you get the worst of both worlds: indexing is not a constant-time operation

You can't usefully index a unicode stream in constant time and do correct and useful textual stuff anyway due to combining codepoints which may not have precombined forms (if only because there is no defined limit to the number of combining codepoints tacked onto the base) (so normalization will not save you) or codepoints which are not visible to the user and which you may or may not want to see depending on the work you're doing.

People really need to come to terms that a unicode stream is exactly that, a stream.
0,0,0 is a slightly darker black.
That reminds me of ARJ, I have no memory of why, but I was a much bigger fan of ARJ than zip.
>That's pretty much the definition of totalitarianism (the end justify the means, like in The Prince).

I don't understand your argument here. As far as I understand it, totalitarianism means that the government has total control. Whether they do good, or bad, or both, justification doesn't play into it because they are beyond needing justification.
Does lens have a succinct way to traverse a nested data structure where each node is a maybe?

Lenses + Prisms (nicest way I know of in lens):

nested ^? foo . _Just . bar . _Just . baz . _Just

vs. the Maybe monad:

foo >=> bar >=> baz $ nested
I've found it's really only possible for me to do highly focused, productive coding for about 5 hours per day. I can spend other hours doing more routine things but for any kind of serious problem solving or implementation the quality of my output drops pretty precipitously after that.

So much so that it can actually be counter-productive to squeeze in a few extra hours because I'm likely to just make mistakes I have to undo the next day.
SOME of the cost numbers are in the federal budget. But there are other costs that dwarf that. The real costs also include people missing their flights, people wasting time unproductively at the airport because they had to leave two hours earlier, people wasting extra time on the freeway or needlessly dying on the freeway. Not to mention the "deadweight loss" from every time somebody is dissuaded from taking a trip at all that they would otherwise have taken due to the extra cost (in time AND money AND stress) of dealing with the idiot brigade.
While I agree that quarnster is under no obligation to fix issues people have with the code, I think a simple statement to the effect that they will not be fixed would suffice. Not allowing issues and suggesting that people fork the code and set up their own issues neglects the fact that this will probably remain the main repo for the project, and it would be good to have issues in one place even for contributors to discuss.
This was a rhetoric question. I perfectly know why I can't do that in C++. C++ does not allow this because of particular generics implementation (done by static compile-time macro expansion), not because those two features are inherently contradictory. In fact, they are completely orthogonal and Java/Scala/C# have no problems with that, despite being statically typed.
It might also be because of less lobbying efforts targeting the EU.

The EU has had a few incidents where targeted lobbying efforts from the entertainment-industry almost has gone through unnoticed and uncontested.
whats the news from http://php.net/ webmaster???
One reason I migrated away from php is the fact that there is simply way too many attack vectors. Using frameworks help quite a bit, but it is to easy to miss configure a stock php install. Not saying that is the case here though.
Meta-question: what does [scribd] mean in the title?
Kickstarter's Technology category has only 9 projects that have raised over $1 million [1]. None of them requested more than $250,000 and one requested just $30,000.

In fact the only things I can find on Kickstarter that requested and raised more than $1 million are films [2]. There's people working on space telescopes who only requested $1 million [3].

So, I guess this type of funding could be used for the kind of things you see on kickstarter?

[1] http://www.kickstarter.com/discover/categories/technology/mo...
[2] http://www.kickstarter.com/projects/559914737/the-veronica-m...
[3] http://www.kickstarter.com/projects/1458134548/arkyd-a-space...
It's a link to a scribd version of the PDF. Try clicking.
It's auto-added for pdfs by HN and links to the scribd mirror of the same document.
My point is the scale is absolute. Somebody who rates themselves a 9 on C++ knowledge probably doesn't realize how much there truly is to know. Sort of a corollary to the dunning-krueger effect.
Depends on how you read `list[2]` "Start at the beginning and move two elements along" works perfectly well.
It's not entirely unjustified. I don't think people appreciate the sheer difference between making one self-driving car, and making a million self-driving cars.
Based on me and my circle of fiends who've settled down, gotten married and had kids that's not happening. We're not trading our 1 BR in town for a house in suburbs, but a 2-3 BR just down the road (or in my case, the same building) as our old apartment.
Duh! Thanks.
“Hello World” with Microsoft Paint
British Summer Time
This is pretty much exactly how I feel... I started learning to code in 1988. DOS + Desqview, OS/2 1.x, OS/2 2.x, Some Early '90s Unix with 2 3foot x 3foot boxes of documentation...

Texas A and M Linux, Yggdrasil...

In all that time I used and tried to function with Windows, starting with 3.x. It didn't really work for me. Add to that the bundled aspect (which pissed me off greatly, I had to pay for a DOS/Windows license only to wipe the machine and install OS/2 or Linux)

I spent ~$2000 with Microsoft for their OS/2 SDK only to have it abandoned a short time later with no refund available.

Microsoft has earned my dislike. But still, it's hard to get a quality laptop without Windows, unless you want to way overpay for Apple or deal with not getting exactly what you want (Linux based laptops).

Microsoft has, without a doubt, the best overall bunch of development tools but feels the need to break things every year or two...

sigh

Idiot child indeed. :)
curious what you are using now?
Just to clarify – there are 108 distinct licenses used. So apart from Apache, BSD, GPL v2, GPL v3, LGPL, there are 103 _different_ license terms used.

IP law, as currently used, is something really overcomplicated.
They're working on it: http://productforums.google.com/forum/#!topic/webmasters/puL...
Has anyone driven an S-Class? It has almost every one on that list. What's it got in there that the others don't?
Pinterest hasn't really tried to monetize at all, yet... Wher is this $225 million figure from?
I don't know anything about ruby but that seems extremely error prone to me.

EDIT: I think I know why I think it's error prone:

In all programming languages besides the core syntax of the language idioms appear among the community of coders. For instance, in C you travel through an array using something like:

for (i = 0; i < n; i++)
a[i] = ...;

Where n is the length of the array. This is an idiom so common that if for some reason in some code the length of an array is (n + 1), instead of writing for (i = 0; i <= n; i++) I'll write for (i = 0; i < (n + 1); i++).

Because the idiom is so strongly entrenched in my brain (and probably many other C coders) if I read the <= version there's a great chance I'll read it as a "<" and assume i goes from 0 to n - 1.

My point is adding several alternative "syntactic sugar" to express the same thing can end up confusing newbies because they'll have to learn the difference between all version (and recognize them) as well as experienced coders because you're more likely to mistake the meaning of an expression at a cursory glance.
Virtual generic functions do make sense and many languages allow them. The problem is C++ implements them by compile-time macro expansion (called templates), which renders them impossible.

Template types are also not really first-class members of the type system. The compiler can't really reason about them, it only type-checks them after expansion, when all the genericity disappears. This is completely different than the fail-fast approach in Haskell or even Java, where the code is type-checked at the generic level.

Don't get me wrong - templates is an awesome, extremely powerful feature of C++, but it doesn't play well with the rest of the language, and really feels tacked-on.
Sure, all the inconsistencies have a nice explanation, I never questioned that. PHPs === operator has a nice explanation, too.
Patent filing shows Samsung preparing a Google Glass-like Device
Willpower is a fascinating subject. It often boils down to what Dan Ariely calls 'Ego Depletion' whereby you are competing with yourself. Eventually you will lose.

If you haven't seen it, it's worth watching the marshmallow experiment. You can see that some young children seem to have an ability to enhance their willpower at even a very early age. Adults who seem to be strong willed often exhibit this behaviour in the form of routines.

There's more about the subject with tips on improving your will power here: http://www.startupclarity.com/blog/people-dont/
It depends. There are a bunch a good tlds besides .com but .com is obviously ideal. I'd start with whatever you can snag then when you gain some traction spend some money for the .com

In terms of cost... It depends how many letters or if its a dictionary domain. 3 letter domains are not cheap. Look for comparable sales.
CandyBox2 ASCII web game
Exactly why it's an ICANN scheme and not serving the public interest - domains are becoming less and less relevant and they want to do one last try to extort money from businesses.
The sensor choice is mostly irrelevant. Algorithms is everything. Swap in whatever sensor/sensor array you choose for your climate.
It depends on types and frequency of email we are getting. It may helps to prioritize for responding mail.
Most interesting: Why libpcap, strace and netcat? Also: gcc in a car?
Good socket programming book? 
Hi,

I am a bit familiar with Unix socket programming.
I have read "Richard stevens unix network programming".
It is too good but I think it is not updated in recent times.

Can you suggest me a good book which is updated with the latest internal workings.

Thanks in advance.
I think that's basically it. You can check out a great example of prisms in the lens-aeson article on FPComplete:

https://www.fpcomplete.com/user/tel/lens-aeson-traversals-pr...
Related:

https://news.ycombinator.com/item?id=6600481 (go.com)

https://news.ycombinator.com/item?id=6600683 (bbc.co.uk)

https://news.ycombinator.com/item?id=6600704 (spiegel.de)

https://news.ycombinator.com/item?id=6603296 (nytimes.com)
I agree, also I find that the original article linked in TFA is very interesting but a bit disingenuous.

He starts of by saying "you think 0-indexing was chosen because it makes pointer arithmetic simpler but you're completely wrong". Then he digs up the origins of the concept in BCPL: the reason is that it made pointer arithmetic simpler. Oh.

And then he goes on a contrived (but still interesting) explanation of how it's not because it made pointer arithmetic simpler but rather that it made it less CPU-intensive. Definitely worth a read but I didn't really like the patronizing tone.
Freshness Fuels Ideas
Humm, not really

I'd say asking for a cup of coffee in Paris is "Hello World"

Most of C programmers would know how to tell "a native Parisienne where to get off"

But that level of C is akin to write "Mes emmerdes" (youtube it, there are probably more complex songs, but I can't remember now)
Yeah, presumably the one godaddy account got hijacked, then used as a host for the malicious file.

A good reminder that anyone's low-profile website may not seem a tempting target, but it's still very much at risk.
Rust has a similar approach (in that it raises an error when you attempt to do something not on a rune boundary), although `string[index]` still returns a byte rather than a character but strong static typing means that it isn't a huge problem.
I'm almost certain Google's self-driving car is leaps and bounds ahead of BMWs.

Particularly, his BMW demo occurred on the highway, not city streets. Conditions on the highway are far more predictable, there are no turning choices to make (just follow the road!), and no pedestrians. BMW also doesn't seem to be interested in self-driving on city streets. FTA: 'He said the company aims to be “one of the first in the world” to introduce highway autonomy.'
Malware detectors are usually right if overzealous.
I think you and pi guy are on the same wavelength, but emphasizing different pieces... He is saying that pure capitalism doesn't work well against common goods (e.g. capitalism in fishing leads to over-fishing). He further says to privatize or regulate (via government intervention). This is the same as "internalizing the externalities" as you described.

In other words, don't blame capitalism (a natural set of incentives aligned around gain from profit) for the disruption of the fish supply in the small town. Blame the Mexican (per the parable) government for not either licensing the fishing rights to a single charter or regulating the amount of fishing in the area. Properly managed, either approach would incentivize business to reign in the take-all (free capitalism) approach for long-term sustainability (and thus, greater overall profit).
5 - 10 years ago it might have mattered more than now. Now I would say .com is not so important; the reason being that most traffic will come from search engines.

If you are going to be wasting time looking for a .com domain i would suggest spending this time instead on seo and marketing on your site / application keywords.

If you look at all the new startups a lot are using .io, .ly, .st etc; im sure if they make it big a number will start looking at .com domains but for the time being its just not viable if the domain is already taken or squatted.
In that case: the current TSA is quite harmful to my emotional safety. Disbanding it and letting me just go to the gate and get on the damn plane unmolested would greatly improve my emotional state.

In all honesty, I think a HUGE part of why people think the airport is dangerous is due to the security. People falsely assume that where there's smoke there must be fire. In this case that assumption is wrong. We should replace TSA with prominent signs explaining how unlikely all the movie-plot threats are. At a minimum, we need:

(1) a poster explaining that a gun fired on an airplane is highly unlikely to damage the plane at all and - contrary to hollywood myths - can't cause a loss of cabin pressure much less "explosive decompression".

(2) a poster explaining why 9/11-type attacks became nearly impossible to repeat shortly after the event became general knowledge.
Weirdly this is simultaneously pretty cool (yay, open source makes an impact, take that Ballmer) and quite horrible (license jungle anyone?).
> That makes closed ranges strictly less expressive than half-open ranges, making often necessary to write special cases for zero-length.

Be a little creative. If you have slice like list[a:b] a could be the the first element and b could the length of the slice.

Alternatively the empty slice could just be b < a, instead of b <= a as it is now.

> The other big issue, as many comment, is that the arithmetic to index multi-dimensional arrays is cumbersome with 1-based indexing: for example if I is a 2d image in row-major, the element (x, y) is at position I[(y - 1) width + x] instead of I[y * width + x]*

In most cases it's better to use numpy for that anyway.

However, note that is more or less the reason we have 0-indexed arrays in C. In C the array is bascially just a another synatax for pointer arithmetics. So, I[0] is the same I + 0 * sizeof(int) (assuming I is of type of int).
Speaking of open source potential - has anybody tried out brackets (http://www.brackets.io/)

It seems like it could be another worthy alternative to sublime text if it moves in the right direction.

Disclaimer: I'm not looking for an alternative to sublime right now - it's stable enough for me to use as it is.
The S-class is famously the test bed for new technologies - they start at the high end and then slowly migrate downrange.
Hah. That's a good one. It's good when someone else has a dark sense of humor too.
What content attracts employees' likes and shares?
Hello guys,

as a part of our content marketing strategy at http://meevl.com we are doing a survey about what kind of COMPANY CONTENT attracts LIKES and SHARES of it's employees. If you are an employee (or was one) at a socially active company please give us your 2 minutes and fill it out for us > http://meevl.com/survey

Thanks :)
Except that the proxy is accessing YOUR imap provider for new mail. Every time they connect to that imap server they'll need your credentials.
Hey, PHP isn't perfect, but calling it malware seems over the top! /rimshot

Thank you, thank you, ladies and gentlemen, I'll be here all week!
we have no proofs that is related with the fact that the domain has been blacklisted by google
It depends on your audience. If your audience is made up primarily of people who didn't grow up with the internet in their lives; then yes, it provides a signal of probity and seriousness, especially if you're wanting them to give you money directly.

The younger your audience the more creative you can be in that respect.

[the above is pure opinion, untainted by actual research]
That's said by Lazarus Long, a character who lives to be more than 2000 years old.
How to create and run your own MOOC for free using Uzity
I think most economists would argue that it is unrealistic to expect everyone to shy away from a profit opportunity just because of a moral flag... Better to regulate the industry through government or privatize under tax/regulation to align everyone's incentives whether they be profit or moral...
The other interesting takeaway is that obviously open source is widely used in embedded systems such as cars. 108 distinct licenses means that they're using at least as many libraries/projects, likely many many more that fall under the big ones.
> They feel superior to those who are where they once were.

This is the thing I don't understand about these people. Once you've experienced depression but somehow you did manage to "leave it behind" you still have the feeling that's there, somewhere, hidden, and only the greatest fool would make fun of it or of people still suffering from it.
20 years old and still so true.
Always good to confirm what is actually being sent to the client. Never know whats happening inbetween. Some wrong configs and it could be showing the wrong content.
I notice there's a license in there for Android which is only used on the S-Class. I'm guessing most of those licenses on this model are a derivative of it's use.