skysight-inc/HackerNews huggingface dataset:
> Happiness doesn’t lie in the fulfillment of the expected. Neither in all the trinkets and trophies of the world. It’s in enjoying the immersion of the process, not the final outcome.

Thumbs up for this, but let me add that it can lie in the fulfillment of the unexpected, the happiness of discovery and exploration, and of ending up creating things that are very different from what you set up to create in the first place. This kind of "exploratory happiness" is my drug of choice ;)
Ask HN: Heading to SF for conference, anybody want to grab coffee or beer?
I am going to be in SF covering the Microsoft Build conference for a couple of magazines -- I'm a software developer but I moonlight as an informed tech journalist -- from Tuesday 26th through Saturday 29th. Anybody want to grab a coffee or beer and talk software development?
Facebook Bug Exposed About 6 Million People Personal Details - MauriHackers
Could we also have a communal "hide posts by this user" feature? Over time the aggregate data would be useful to detect who is like this - especially if we can select a reason for hiding a user.
Some useful Github shortcuts
> Greenlets don't magically make synchronous libraries asynchronous! That's gevent!

That's right - I wrote that they allow writing code in synchronous fashion and I didn't say that it happens automagically though.

> That might be true, but then you need to keep in mind that callbacks doesn't necessarily mean something-looking-like-the-Tornado-callback-demo-code.

Yep, I also provided how Futures and generator-based coroutines can be built on top of the callbacks.

Just in case, Tornado supports both out of the box.

> The twisted equivalent of this wouldn't even look like data = yield get_more_data(); Twisted's API calls you when there's data, so it looks even simpler

Very similar to some Tornado API too - method of a class that gets called when something happens. For example, sockjs-tornado follows this convention.

> - Twisted predates PEP-8's recommendation of snake_case ;-)

Yes, I'm aware of it, but before I started playing with asynchronous libraries, I had some Python experience and got used to underscore naming convention. While it is easy to switch between both, I'd prefer consistent code style. Especially when I mix typical Flask Web application with real-time portion in same application.

No doubt, Twisted is mature and featureful framework. When I was investigating different options, Twisted was first one I tried. However, I also tried Tornado and found it easier to start with. And because Tornado worked for me, I decided to stick to it.
I'm not a mechanic, and know little about cars. However, whenever I've taken cars in for service I find that the shops charge me labour and parts, and they are often clearly itemized on the invoice.

The reason that it seems they charge a 'standard' amount for a job is because certain jobs (changing brakes/tires/oil, general checkups, car detailing, etc.) have been enough times across the industry and in the shop that reliable statistical (or consensus) baselines allow one to more easily and reliably estimate.

Admittedly, this doesn't fix the original principal-agent problem[1], but I thought I'd throw in my experience with mechanics and getting cars serviced.

[1] http://books.google.ca/books?id=4XcR7Y5ddcoC&pg=PA323&lpg=PA...
I'm shocked at how awesome this is... My git-fu is not very strong. This is great!

You can even make lessons to share with friends... That's amazing! Next step: make user contributed lessons archive!
I shared a lot of your issues, and I have to say ridly[1] has really been doing it for me. They did the hierarchy really well IMO.

[1] http://www.ridly.net/
Rather than writing snarky criticisms, it would be of value if you could write something constructive. It sounds like you disagree, and possibly have an alternate point of view. Perhaps you could write a well-structured, well-argued, coherent piece, and then post it here so we can learn from it.

Brendan Behan once said "Critics are like eunuchs in a harem; they know how it's done, they've seen it done every day, but they're unable to do it themselves."

Perhaps you could be less of a critic, and contribute more.

FWIW, I didn't downvote you, so I'm not the only one who feels your "contribution" is not particularly helpful.
I'd read that book. It doesn't even need meaning to sound cool.
It's useful for rotation on an imaginary plane.

In Python:

>>> f=lambda x:x*1j
>>> f(1)
1j
>>> f(f(1))
(-1+0j)
>>> f(f(1)) == -1
True
>>>
I assume the OP has never been to europe.
I can't really argue with you, but I personally suspect it's a bit of both.
Having picked up both knackered PHP and C projects, PHP is usually worse as the barrier for entry is much lower meaning that the code barely works in most cases. Plus it's usually plugged into turds like WordPress.

Currently dealing with helping someone upgrade a wordpress+buddypress nightmare. Yuck.

C stuff is easier to refactor as well as you have a strict compiler and valgrind on your side.
Just a naive question: Couldn't you highlight the two (or three) original sources, and then use that information to highlight the diff?

Instead of trying to highlight the diff directly.
I would care if they were present. But I have no positive evidence that my computer is infected by any of that. I don't need to manually scan through C code to feel safe. Just like I don't have to watch my food being prepared to be sure it isn't being poisoned.
How Much Does A Songwriter Earn When Pandora Plays His Song 1.16 Million Times?
This just sounds like FUD. What makes whatever vpn software or "hardware" you're using better, or harder to mismanage, than OpenSSH.

Something concrete please..
Please jwz, write a really nifty and usabe console or desktop RSS reader that syncs easily. (this post ist sans irony or zynism)
Please read this: http://www.phptherightway.com/
Editey - the new Geocities?
It's the dose that makes the poison.
I'm not a Javascript expert, and I haven't used CoffeeScript before, but this block of code looks perfectly readable to me (except for that ugly mathematical equation). If this is supposed to be an example of unreadable code, then maybe it's time to learn me some Coffeescript...
So what do I do now?

http://i.imm.io/1al4b.jpeg
I was doing the same until I realized that googling or binging (let's not rely on google too much) is most of the times faster than using php.net's own search engine. Plus, you're not limited to function names and you don't have to spell them correctly to find the right result.
https://news.ycombinator.com/item?id=5935183

https://news.ycombinator.com/item?id=5935584
The lawsuit you're referring to is Jewel v. NSA (http://en.wikipedia.org/wiki/Jewel_v._NSA) under Jeffrey White. I found it interesting that White initially shut down the ISP mirroring Wikileaks, and later reversed his decision less than a month later. From what I hear, it's very rare for federal judges to reverse their decisions. I think this has some potential.
I recalled the dialogue from the film The Watchmen.

> The Comedian: What happened to the American Dream? It came true! You're looking at it!
I would probably walk away from an interview (if I ever have to do one again) with such questions.

I would not be interested to work in an environment using that kind of filter to let people in.
35 years has taught me that saying "no" as an engineer means you are being an "obstructionist" or "not a team player." I am most definitely one of those because I was taught to say "no" very early on. The problem is that many people are affronted when they hear "no," take offense to it, possibly because it is a rejection, or, and this happens more frequently, a "no" answer to a lot of managers means "I just didn't ask you to do this persuasively enough."
Dean Baker proposed "Artistic Freedom Vouchers" as a way to supplant copyright. The basic idea is that every taxpayer would get a refundable tax credit of 75-100 dollars which could be "spent" by buying creative works from anyone who registered to be a recipient. It would be a very low bar to clear, just enough to weed out the obvious scams. Anyone who received AFV money would be barred from placing their works under copyright for the next five years.

It the context of our current IP law paradigm, I will admit it seems radical. Given how wasteful and repressive our current IP laws are, that seems like it would be a good thing.
The Gates Foundation's Grand Challenge: Getting Men to Use Condoms
For mine own good All causes shall give way. I am in blood Stepp'd in so far that, should I wade no more, Returning were as tedious as go o'er.

Ambition is no bad thing, as long as it's tempered. I think a problem with this piece is that he identified his issue, but never asked the killer question:

If he (and his team) had been both ambitious and thoroughly enjoying the entire experience, would they have won? There's much to be said about "being in the zone", and it feels from his writing that his ambition dulled this side for him. I'd be interested to hear what the experiences of the 1st and 3rd placed teams were, in comparison.

Of course, this is his leisure, so the question is doubly important: if you're in a business you can rationalize not enjoying the experience of making your $500 million victory whilst enjoying the outcome. In leisure, the entire point is enjoying the whole thing.
When you're fresh out of college and/or looking for your first real job, working for any company with great engineering is very good for you and your career. You don't have to stay there for 20 years and become middle management. You can go from junior to staff/senior level programmer and learn real-world software development while getting compensated nicely. The same problems and lessons are learned as by going the startup way.
I can't help feeling a bit cynical about Stephen Fry's suicide "revelation". After gaining all the news coverage, the very next day he announced some new TV project of his. Coincidence?
Hushmail had you log in with u/p first, then would serve an applet, which would then download your encrypted private key and you'd decrypt it locally. They used your public key to encrypt incoming mail and store it until you wanted to log in to view it (which is a fundamentally reasonable approach; the problem is compatibility with existing mail clients, and search, but you can solve that by downloading to a local mail client using something "special" and running search locally as well.)

The enemy made Hushmail serve a "bad" applet to certain users which (in addition to decrypting) sent back either credentials or key to hushmail (and thus allowed decrypting of the mail).

There are ways to address this attack but they're essentially in the realm of release engineering and separation of control; you have one group develop, another group serve, another group execute, and the groups have to be mutually distrustful and audit everything that passes between them. This is hard.

The irony is I worked for the company which developed the initial hushmail product back in 1998/1999. It had to be done by non-US Citizens due to export control, so I wasn't involved, but pretty much as soon as it was clear they weren't going to address this (obvious) attack in their threat model, I assumed they were either incredibly incompetent or an active honeypot, so I ceased any involvement and never used the product. (an adequate solution for java applets would have been putting the signing key under neutral third-party control; I don't think a java applet based solution is viable today, since java is such a clusterfuck; I'd just do a secure iOS or Android app instead and stick to mobile users, like silenttext does from silentcircle).

I'd personally skip webmail or even desktopmail and just build something which is mobile-secure-mail/messages/voice.

Silentcircle is my favorite voice product right now, but it's fundamentally doomed (IMO) due to being commercial on both sides. I'd want something where at most one party in every communication is a paid user, and the counterparty uses a free and lightweight app. And/or something with great group management functionality, which it also doesn't do. The market for discrete individuals who both pay for the service and only communicate with other discrete disconnected individuals is kind of zero.
In general, "ordinary" software has these advantages for the simple reason that it's ephemeral. The software starts with a clean universe each time you kill it and relaunch. That makes lots of things much, much easier.

Databases don't get to do that. The data is persistant between instances, between sessions and between copies. It never goes away and the database must always consider all other considerations secondary. If you want to change the object model of a Ruby program, you change the source and relaunch. If you want to change the schema of a database, you will need to provide the database instructions on what you want to do with all the existing data that is now inconsistent.

If you look at the hoops people jump through in always-on software, as opposed to "restart with #e33cf4" software, it's similarly gnarly.

Relational databases are kissing cousins with heavy-duty type systems. They make you do homework and eat your vegetables to forestall classes of error lots of people have never encountered and so discount to zero. Then it's decided that they aren't agile and fwoosh, out they go.
Changing the font size dismembers the design. It's like it's 2005 again, where everyone had the same screen resolution, and pixel-based layouts were thought to be good webdesign.
As an avid PHP user I'm afraid the remaining 1/3rd is truth, the article really is rather biased and in some places not really factual but I'm the last person to deny PHP can improve immensely in some area's.

I once went to a PHP uncon some years ago where 2 members of the php core/extensions team were present, when we got the chance to ask them questions I popped the question "Why doesn't php take the opportunity to fix a lot of the function naming issues, the incosistent argument order, etc ... when releasing the next major version" and their reply was that they don't want to break backwards compatibilty too much. That's plain BS imho. Any non-dot release can break backwards compatibility, especially if it moves the language forward.
The point is that neither you nor anyone else could check for it if you/they wanted to.
I'm in Santa Monica (just down the road from Malibu) right now and decided to go checkout the public access path next to David Geffen's house[1] after reading this today.

I was able to park across the street with no problem (plenty of spaces) and walk alongside his house onto the beach. I walked really far and passed many people who I assume were homeowners based on how they were dressed (no shoes/bags/purses or beach toys) and acting (walking close to the houses etc). All offered polite smiles and several let their dogs run up to me and seemed to expect me to pet/play with them. Not a single person gave me an odd or disapproving look - though one couple (really old white guy with a 20-something black girl) went pretty far out of their way to avoid the path I was walking on. I figured at least one of them was famous or something, as the reason.

When I was leaving though, I went back past Geffen's house (only way out) and what I assume was his private security guard (plainclothes but looked like a Marine) came walking straight at me staring at me and then got in a car in the driveway. I look across the street to my car and I see a cop car parked in the turning late in the middle of the road with two cops in it. I decided to take an extra long time wiping the sand off of my feet to soak it all in. The security guy eventually pulled the car out of the driveway and alongside the cops, I assume they were talking through open windows but with traffic and distance couldn't hear. Then the guy pulls his car in front of the cops in the turning lane, does a U-Turn and parks right in front of my car on the opposite side of the street.

There was no cross-walk and I didn't want to give the cops a reason to legally harass me, so I walked on the sidewalk right in front of David Geffen's house and gestured to the cops asking if I could cross the street illegally. They both just sorta shrugged and looked back at traffic and nodded - meaning if you want to risk getting hit by a car, go for it.

So after a couple of minutes with these cops staring right at me, I find an opening and dart over to my car. The whole time the security dude is still sitting there parked in front of my car. I put my stuff inside and pull away, on the left two cops are staring at me driving off and on the right the security dude is also staring at me. I waved to all three of them and drove away.

So I can confirm the beach is public and the homeowners seem like really nice people who don't mind that at all - other than David Geffen, who seems to try to use his private security and the police to intimidate people into not using the path.

I'm taking a date back there tomorrow.

[1]http://www.nytimes.com/2005/06/05/fashion/sundaystyles/05bea...
First, resist the urge to put code in your templates. Because the syntax is the same, it's very tempting to just declare a function or do a query in the middle of your HTML. You'll be happier in the long run if you don't ever get into that habit to begin with. PHP actually recognizes both .php and .phtml as valid file extensions.

I personally try to follow a couple basic rules. .php files should be a single <?php ?> block with nothing outside it, and .phtml files shouldn't use anything but if, foreach, and already defined variables. You'll end up with code that's both cleaner and better structured.

Second, if at all possible avoid Wordpress until you've already got a firm grasp of the language. Wordpress itself has a few decisions that made sense in PHP 4 but are terrible practice now (like using global functions instead of classes) and a few others that, while not technically wrong, were questionable even then (the loop). On top of that, the quality of code in third party themes and plugins varies wildly. If you copy the techniques you see there, you'll learn some awesome tricks, but you'll also learn every bad practice in the book. Until you've got enough experience to recognize the difference, you'll do yourself more harm than good.
I was hoping someone would work with EasyRSS (the android app, not the torrent goodness) so it would use the NewsBlur api or something similar. It's sad that the dev is letting the project go with reader.
Just check your processes tab in Windows. Some sites even go over 100 MB.
I buy at least $30 of music each month from iTunes. Finding the addresses of these artists, writing a check and sending it their way would be more hassle than I care to go through.

If the artists don't like the deal that labels are giving them, they don't have to take it. They can build their own fan base, learn marketing, get exposure and sell their own stuff through iTunes and other places. A lot of artists are opting to do just that.
This has been requested a thousand of times already, and we're listening. It's on the top of our list. We're dealing with some problems about feed data right now, but as soon as they're fixed we'll start working on it.
cPanel is a good one. I cringe anytime I have to use it, but I understand why it's there... It has a ton of features that the hosting company can advertise. That's probably what would make it hard to disrupt because while a new interface could look cleaner, the hosting company could lose some marketing appeal.

I'd be interested to hear you elaboration on how you would create an initial wedge in that market.
Valid complains that can be made about it, just like about anything else? I've watched people who don't know C++ bitch about C++ for 15+ years referring to lists longer than this one, and it's still one of the most successful languages in the world. PHP is like the C++ of scripting languages - not the prettiest and there are plenty of things to (legitimately) complain about, but stable, well-understood and used by people who are interested in results rather than getting to those results in the most 'elegant' way.
In-depth Overview of x86 Server Virtualization Technology | CUBRID Blog
Snowden books 16hr flight to Cuba, no shows.
Wizards of the Coast, Equity Distributions: Part 2
Is using OData\IQueryable in your Web API an inherantly bad thing?
If you want the cached feed data from Reader preserved, ArchiveTeam is still collecting OPMLs:

http://allyourfeed.ludios.org:8080/

http://archiveteam.org/index.php?title=Google_Reader

We've saved about 30M feeds (6TB gzip'ed text) so far, and ~44K unique feeds from a few hundred uploaded OPMLs that we didn't find in the billion of URLs we've crawled.

We're also looking for

(1) massive URL lists we can grep, in case you have access to one

(2) query lists of just about anything that we can use to search for feeds using Reader's Feed Directory.

(3) some assistance in writing a few crawlers to discover more URLs on specific sites

(I'll try this submit this to the homepage tomorrow as well.)
There are two things wrong with your statement.

Firstly, you're implying that Snowden revealed info about current military operations. If you read his comments (eg Guardian Q&A), he makes it clear that his issue is with the suspicionless surveillance and that he took steps to avoid revealing more. If he's shared info of the kind you're describing, please point to it. Otherwise there is no precedent set here.

Secondly, your approach basically boils down to "Don't get in the way of the Military or Governement. Ever." There are plenty of other countries in the world with similar doctrines, which I find ironic. Also, What d'you think about previous whistle-blower actions in US history, like the Pentagon Papers [1]?

[1] http://en.wikipedia.org/wiki/Pentagon_Papers
I would hazard that for a given set of axes in the multivarial formula we will call "control" for short. You definitely can be fully in control. The question is "does what I'm doing fit within the bounding space I can exert full control over.

Salt as an 'ecosystem' has capabilities that extend more into this area. Salt Cloud and the Salt Bootstrap script are 2 of the things that I feel invalidate some of the argument that tools like Salt ( I wont comment on the Chef & Puppet ecosystems ) are capable of operating much closer to your aim than you give them credit for.

For starters, I'd quit before letting a boss tell me their precious snowflake AMI was 'more stable' and I shouldnt waste any time trying to ensure I can recreate it should someone delete the image. In my own workflow, Salt is step 1 in any system. I build a stand alone salt configuration that can from bare OS image on first boot, initialize salt, and then pull the system forward to the desired state. Then for cloud roll out, the next step is to take an image of that VM/Container which I can then replicate much faster.

And one of my long terms plans is to hammer Buildbot, Salt, Salt Cloud, and a lot of time into a system that gives end to end control. Now if only I could code a decent UI for it... putting bootstrap on months of work would feel cheap lol.
Is it a hacky solution? Where's the line between a hacky one and a normal one?
Garbage collection in Java