skysight-inc/HackerNews huggingface dataset:
My guess is very few but I'd love to know as well.
Rocket Internet’s Chinese Airbnb Clone Shuts up Shop
Since GitHub charges based on a monthly subscription, you can't have an app that charges for a service without going though Apple's In-App Purchase program.
I guess you haven't heard about what happened to bitgamer have you? So far, a suitable replacement hasn't surfaced and it's going to take many years to build up a library again, if it happens at all. Don't kid yourself, they are winning. It's getting harder and harder to find good clean hosts for roms.
It may not be impossible to "uninvent" the technology of pervasive surveillance, but it is possible to forbid governments from doing it. The government is, although it seems naive to say this these days, there for the people, not for itself. If the people do not want to be constantly monitored, they shouldn't be. Commercial organizations can also be restricted in what information they can legally gather, should we choose to make that the case.
I'm am tired of these elitist views of art. You sir, know nothing of art.
I'm like this currently, but not willingly. You can take supplements to get your motivation back (like Pramiracetam), or you can find something you are interested in. Watch a good movie, read a good book, talk to the right person, then write about it, or use it to fuel something you think is worth doing. Are you sure you didn't need some time off? Either way, you should kick the habit before it drags on too long, because it'll become ingrained hard to move on from.
There are legitimate reason to use create-set-call: for example, whenever you need polymorphism on object construction - ie, you're constructing a yet unknown type which implements an interface or extends a class.

C# doesn't allow you to specify in an interface or abstract class the parameters that a constructor must take: which makes it very difficult to use such classes as generic type arguments for instance. There's a new() constraint which allows you to call a parameterless constructor, and if you also constrain the generic type argument to some interface, you can set the data you want through it.

If you expect parameters in the constructor though, you can't simply create a new object of the type passed as a generic argument. You must use reflection (Activator.CreateInstance(typeof(T) ...), assuming that there exists a constructor for the yet unknown type (obviously not statically checkable). To prove such a constructor exists at runtime, you can use typeof(T).GetConstructors(), and search through the returned collection for a ConstructorInfo with matching arguments. If you get this far, you'll probably drop the idea and resort to the create-set-call mess instead.

I suppose a way of fixing this would be to introduce some kind of "constructor pattern" into interfaces and non-sealed classes, requiring subclasses to implement it and allowing the use of said constructor pattern as a generic type argument constraint.

Another time you might need create-set-call is if constructing objects which have a mutual reference to eachother. [ var a = new A(); var b = new B(a); a.setB(b); ] cannot be expressed with parameters in both ctors. This might seem like a "bad idea" due to the circular reference, but it's more common than you'd think, and doesn't necessarily mean bad code.
That happens exactly as Ben described it, including at some very well known startups.

It's a ticking time bomb not just in terms of employee morale but also 409A (tax law).
My tl;dr

* Listen to music to block the distractions/world

* Get out of your old environment (coffee shops seem to help me, +caffeine source!)

* Travel: It just always seems to put things in perspective for me.

* Probably won't work for everyone, but I tend to have 'The Holstee Manifesto' on the wall near my computer, and probably read through it a few times a week. Makes you think.
Anxiety is a naturally occurring process that has been essential to human survival. Some individuals have managed to place a completely different judgement on anxiety and we call those people thrill seekers while other individuals feel paralyzed with fear. Where one sees dread the other sees a potential for a state of euphoria. Conquering anxiety is not at all to do with removing it but with managing our perception of the experience. Embracing anxiety is not so much with accepting dread but to understand this naturally occurring system of defense and ultimately desensitizing ourselves to the dread associated with the experience.
Summly kid speaks at Oxford
You're setting quite a high bar for innovation if anything that "looks like unix" is not deemed to be innovative.

There's plenty of innovation in every modern "unixlike" OS. IllumOS, Linux, FreeBSD, NetBSD, to take some common examples, have each taken different paths in different functional areas, and rarely is one objectively worse than any other unless you have the constraint of a particular set of hardware to run the kernel on and/or software to run under the kernel.

Filesystems, for instance. ZFS and Btrfs (to a lesser extent, mainly because it's years from being feature complete) are innovative compared to earlier mainstream filesystems. Yet, a typical desktop user would not notice any innovation. Typical users are not concerned with snapshots, sending snapshot diffs between devices, or scrubbing a raid array for errors. ZFS has been criticized for being a resource hog, and both have been criticized for being slow. There are always trade offs. Getting a modern filesystem with COW and block checksums or hashes has performance costs, particularly on rotating disks. The only thing a desktop user will notice about a 5 year old computer running linux or BSD with a ZFS or btrfs filesystem is that it's slow. Slowness isn't innovative, right?
Might be just me, but I'm thinking encryption is way easier than this.
LOL! The codegen for Java is so much longer than any of the others!
Why did they do that?
You're probably looking for something like San Mateo. Midway between San Francisco and Mountain View, so you're not committed to South Bay companies. Relatively(!) affordable and family friendly.
A dragnet of the civilian population kept in perpetuity and allowing a dossier of everyone to be conjured up with a query is obviously not primarily for stopping terrorism. Who would fall for that really? (The target seems more aligned to tax enquiries for a start...)

9/11 was enabled by box cutters - the message was that this was super low tech and you often can't stop the most awful terrorism if people are really determined and feel they have nothing to lose. The good news for you is that news events are by definition rare and there's actually so little terrorism (in the west at least) - that's because there's not nearly as much motivation to commit these acts as many seem to believe, not because of robocops peering into your drawers.
Bashing Ubuntu's Unity: Beauty is in the eye of the beholder
Nice write-up, Honza. Thanks for the great post.
For what it's worth, their iOS weather app is absolutely fantastic and I believe is now being aped or outright used by Apple in iOS7.

Small things, but it is a very nice user experience if what you're after is the weather.
Hobbits’ Size Not Likely Linked to Growth Disorders
If you could go ahead and explain WHY...that'd be grreeeaaaat!
The Sounds of Raspberry
You could do

#define foreach(x, xs) \
for (var _xs = xs, *x = iter_start(_xs); x = iter_next(_xs); x != iter_end(_xs))

Because var is just void* and anything you can iterate over will also be a void*.
We know that people behave better when they're accountable for what they do and say, and worse when they're not.

The internet permits much more anonymity and privacy than people had previously: we no longer need to mail physical letters, post physical signs, or tell people things in person in order to communicate some piece of information. Humans have more privacy, not less, because they don't need to physically go to adult cinemas, video stores, or peep shows; and the walls of a house are much thicker than those of a shack, a straw hut, or a teepee.

What has changed over the last few hundred years has not been a decrease in our abilities to be anonymous or private, since in the past it was harder to be discreet. The change has rather been that instead of a town or a village knowing through the grapevine what's going on, it is a central authority who is collecting all the information, with all the attendant power that having such information affords.

The problem is thus not a lack of privacy and anonymity -- we have more of it than we ever did. What we suffer from is massive disparities in who knows what about whom (as compared with most of human history). This is the problem which is rectified by greater transparency.
That's not the case: you cannot distribute the linked binary under any license other than GPL. You can only distribute the BSD code (or compiled, unlinked object code) which calls readline functions, only if you do not distribute readline with it.

If your code makes calls to readline functions, and you distribute readline with it, it is undoubtedly a "covered work" as described by the GPL, and is subject to section 5.c of the license which states that the whole work must be GPL if distributed
I doubt that is legal. That (or something along these lines) would be a good improvement to DMCA process in general, but doubtfully something that Google can decide to do.
Wow, even the source code of the original file is arranged to look like the Star of David surrounded by the dragon-eel thing, Obfuscated-C-contest style:

https://github.com/mame/quine-relay/blob/master/QR.rb
Is distro overload killing Linux on the desktop?
I think this is the best PG essay because it talks about the human being of flesh and bones. Probably only this subject deserves a site to fill with real stories.
Even if you don't like their products, almost everyone is in the target market for one of their products. Mail, News, Groups, etc...
Baidu To Acquire 100% of 91 Wireless for $1.9 Billion
12 Unexpected Things That Exist Because Of Linux
If you want to move to the newer 3.5 kernel line, you can do so. This is what the 12.04.2 LTS is distributed with. Here is the apt-get for that:
sudo apt-get install linux-image-generic-lts-quantal

You will also want to update your x.org install:
sudo apt-get install xserver-xorg-lts-quantal

Note that some older video cards (nvidia I think) have had their support dropped, so this operation may or may not be safe.
I'm old fashioned, so use "sed 100q" instead of the newer "head -100". It saves a keystroke, too.

There are enough variations in ways to do things on Unix that I've sometimes wondered about how easy it would be to identify a user by seeing how they accomplish a common task.

For instance, I noticed at one place I worked that even though everyone used the same set of options when doing a "cpio -p", everyone had their own order they wrote them. Seeing one "cpio -p" command was sufficient to tell which of the half dozen of us had done the command.

I think I'm the only one where I work who uses "sed Nq" instead of "head -N", so that would fingerprint me.
Vonage Embraces Open Source WebRTC
There seems to be a cascade of claims defending these programs, running from POTUS down.
Exactly. Narrow pipe, difficult to route to its destination, and unless it's very well constructed it's quite probable that it leaks information about the existence of secret messages to an adversary.

Sure, with TrueCrypt on your laptop's drive you have lots of data and you can just say "I'm just securing my hard disk against loss, there's no hidden partition" and that'd be one thing. That's fine. But if you work for the TLA and they're reverse-engineering the latest leak and they find out that you've been posting lots of JPEGs and there statistically more entropy in the low bits of the pixels than would be anticipated given traditional JPEG encoding libraries ... then you might have some serious 'splainin to do.

A USB drive does not suffer that flaw. It can only leak the existence of a transmission to people who can physically see it. Isn't the goal of steganography hiding messages? Now you can physically hide the message...

You can even send it in the mail for at most a couple dollars' worth of stamps, without any direct way to trace it back to you. And then they have one chance to intercept it (which you can surely render tamper-evident in some manner.)
Mozilla Firefox Could Limit Your Internet Freedom
yay!

yahoo, the internet giant whose products gather data from evuhreybaddy, is on our side!

now all our problems are solved and we can sleep at night

oh wait...
There's a huge difference between tail-waggingly complying with a government request, and fighting back with every method available until you are defeated. Many tech companies didn't even raise "arms" against the NSA invasion -- they in fact built systems to make the NSA's surveillance easier than they even needed to.

In a society governed by laws, and enforced with guns, you don't have a choice about complying with laws, unless you want to be hauled off and put in a dank cell (some admirable dissidents do that, but nobody should expect that level of commitment from their email provider).

Let's not mix this up with Obama's Nobel Prize. I don't think anyone outside the Nobel Committee, including even Michelle Obama, thought it was an appropriate selection at the time or today.
quoting...

The FAQ:

So who would actually own it? / If the funding is successful, who will really own the company? / Can you comment on who inherits this asset?/ What will happen in 2 or 3 years if you want to leave?

We’ll be setting up an LLC with the current writers and editors as the managers. Then we’ll go for non-profit 501(c)(3) status. If I die or leave in two or three years, Hackaday will still have other editors and writers.

...

If this is funded, what’s stopping you from buying Hackaday, then selling it and keeping the money?

With non-profit status, this would require the agreement of all the writers and editors of Hackaday. That’s simply not going to happen. The same could also be said if Jason sells to someone else. At least with this plan there’s some accountability.
Microsoft’s New Internet Explorer Ad Has No Right To Be This Catchy
>Ego is what enables empathy.

Emm, actually the inverse. It's be overcoming ego that you have empathy.

>What good it is when it's in size of universe? Everything just looks alike.

Why would it be "the size of the universe"? The idea is to eliminate ego (as in egotism and seperation), not expand it.

You still have a self, obviously (else you would be in a vegetative state). You just don't give it outmost precedence over everybody else.
"Insurance underwriter" doesn't exactly fall under the umbrella of "traditional women's roles". That is, if we're speaking in ancient stereotypes. Hostess and waitress are a bit closer.
Makes you wonder about some of Microsoft's undisclosed intentions when Yahoo! was a suitor[1] given what happened when/after Skype[2] entered Microsoft's fold. Though the credible timeline[3] given suggests that Yahoo! may have already been forced to capitulate.

[1] http://en.wikipedia.org/wiki/History_of_Yahoo!#Acquisition_a...

[2] http://www.guardian.co.uk/world/2013/jul/11/microsoft-nsa-co...

[3] http://thenextweb.com/insider/2013/06/07/microsoft-has-fed-p...
They could have considered a four letter domain and a two letter top level, if they had to have a length of 7 characters.

Even so... 'netprint.io' anyone? Would make a bit more sense than 'lob.com'. If they did actually purchase 'lob.com' from someone else, they could have cut the price they paid down to $50 or so if they found 'netprint.io' acceptable (Which is actually available at the time of writing this).
A Weaponized Toilet Brush Crossbow Can Really Clean Up
TechCrunch is the worst I've seen. 13 for me. Any other higher ones?
How the NSA scandal hurts the economy
They must have been doing something right. They won commendation from the EFF today for their longstanding secret fight against the United States government.

https://www.eff.org/deeplinks/2013/07/yahoo-fight-for-users-...
ZeroCater, Mobileworks.
Reminds me of how Cedar Fair (theme parks) allows customers to skip lines. Of course this angers regular customers.

Would this not decrease the value of advertisements? Seems like opposite interests - sell advertising, sell option to skip advertising, driving down the price of advertising. A reassessment of the cost and methodologies of advertisements would probably occur.
Superman Mode :P http://cssdeck.com/labs/pure-css-minion
>Haskell OO

Huh? Haskell is not OO by any means.
Depends, how good are you at creative writing? I can think of a lot of messages you might send to someone that you'd want to be private that aren't nefarious plots. Weird fan fiction. Deviant porn. Messages exchanged with a secret mistress. Depending on the situation, you might even want to give them a fake copy of your nefarious plot. Include more than one extra set of messages if you like and give them whatever keys you like in whatever order is appropriate.
citizens of china! beware this has PRISM installed!

owait
we're already practically bursting at the seams here on earth

Not especially - developed countries have had declining birth rates for a while now, with several below the replacement rate.

Plus you have to consider that both Antarctica and the Sahara Desert are more habitable than any known extraterrestrial location, yet hardly anyone is living in either.
At least they stopped getting Chinese dissidents locked up
http://en.wikipedia.org/wiki/Criticism_of_Yahoo!
How does netprint.io make sense? It's 10 characters and lob.com is 6? Am I missing some thing? Lob.com or even just "Lob" by itself I don't think conjures a particular image in most peoples mind. I think they can take this and make it their own thing. Then again "Lob" is weird, we'll see I guess. I do like netprint.io tho, it just isn't quite as memorable/kind of generic.
How do I close an open pull request from this view? I don't see it.
How does 'lob.com' make sense for a "Cloud Printing for Developers" company? At least 'netprint' (some imaginary word that probably has to do with nets, networks or internet, and prints or printing) better conveys the meaning of their service... That and '.io' conveys some meaning to most developers.
This is amazing. Think the concept can be taken to another level in some way? Begin a universal translator of some small level?
A launch loop doesn't make sense, it's too risky (from a business sense) for this sort of project and too expensive too.

Also, the obvious use of a launch loop is for launch, of course. Why serve a market where prices are cents per kilogram when you can serve a market where prices are hundreds of dollars per kilo? And with less capital investment too.
According to the comments in that thread, this issue was fixed in GNU grep 2.7 (my system currently has grep 2.14 on it, so this must have been some time ago).
Don't give up anyway! It's may be weak to say this, but it's the best I've got. Also, consider that "whatever" includes a whole lot of things.. it includes everything but giving up :)

edit: I don't remember where I have this idea from, and it may be stupid, but it kinda stuck with me: if you can't find out how to solve a problem, try to find a way to make it worse, as that can give you hints how to overcome it. I have no idea how this could be applied to anxiety, not in general and of course not to yours; or wether that's a good idea even (surely might not be without friends or professional care around). But since you said you're all out of clues I thought I'd mention it anyway, even if it's just to bring people "out of the woodworks" which will tell me why exactly this is a bad idea (I really have the feeling it might be). I'll simply trust you'll not go off and do something dangerous with it; but maybe you can reverse engineer it a little that way.
All of the tools you mentioned can be replaced by their desktop counterparts.

I would argue against using your mobile device to create relevant content. I know people want an all-in-one toolkit that does everything great but let's go with history on this, it won't work.

A jack of all trades is good but a specialized tool will always be better.

Instagram < Camera + Filter
Vine < Video camera + Editing
Twitter < (Medium seems to be getting more popular, maybe 140 characters really isn't the future)

I've never heard of Smule.

Again, this is simply my opinion but I feel like some folks are too fast to do everything on their 'mobile device' (let's not call it a smartPHONE).
It's called "office hours".
What's wrong with:

void Foo<T>(Func<Int, String, T> makeT) where T : IIface {
T myT = makeT(10, "hi");
// ...
}

Foo((x, y) => new MyClass(x, y));

In patternese, this is injecting a factory dependency.
The arrangement of the languages is alphabetical, did this complicate things at all? Would it have been simpler in a different order (though less elegant)?
$20/month for hobbyists seems really high, especially since this doesn't seem to hook directly into my servers to detect outages for me.

Plus, why are you limiting subscribers so much? 500 max for the startup plan?
Reading the world in 196 books
Apache Openoffice 4.0 RC Released
Same old culture clash again.

Linux kernel list has this old school male hacker culture where being nice and politically correct when you disagree is not required. If you make mistakes, it should hurt and you should take it personally and cry at night.

Then there is this new politically correct enterprise framework hacker culture where people want to connect and to be accepted as human beings.

It's like merging between motorcycle gang and golf club.

People should understand that calling names and getting insulted is not always bad thing. If you assume that all mailing lists should end up being bland and polite, you'll be disappointed.
For access to the app store, the fee is fine. For the ability to put the code onto your actual phone instead of a simulated phone it's a complete ripoff. It shouldn't be bundled like that.
From a purely technical point of view, doing this is a terrible idea as it adds additional, unnecessary state to objects, and hence makes it possible for them to break in more ways.

Using the Builder pattern, or keyword arguments, achieves the intended goal of making API features discoverable without the added complexity.
Lighten up, man. You don't need to shit on everything just for the sake of shitting on it.
Using FTP to manage WordPress – OpenShift
Today we are going to introduce how to use FTP to manage WordPress.
COME FROM also allows elegant aspect-oriented programming :)
I took a couple minutes to whip up a quick map function, to be honest I didn't quite believe you. This may be my naivete, but is there any way it's not sufficiently generic for types? I realize it's not suitable for maps, but it satisfies the OP's request for a map that can convert arrays of type Foo to type Bar

http://play.golang.org/p/jxMFq5UYs1
Sorry I wasn't thinking and posted the reply before I was finished by mistake. I think the lack of specific meaning for "Lob" or association with anything in particular is beneficial enough to put aside the strangeness of it.
As I understand the Fourth Amendment, they're already forbidden. But I'm merely an unsophisticated citizen, not a sophisticated and motivated government lawyer.

Given that they're already forbidden ... now what?
I wrote a post about how to do these multi-lingual quines a while back: https://nolancaudill.com/2011/01/01/how-to-build-a-quine/