skysight-inc/HackerNews huggingface dataset:
I find that for majority of problems I deal with functional solutions tend to be simpler, cleaner, and more reusable.
OO on the other hand is directly at odds with reuse because you marry logic and data together into classes. If you write a method and you need to use it for a different problem, you often have to jump through hoops to do it.
On top of it OO encourages premature classification. If you create a class and you need to use that data in a different way later you have to translate it in some way. This is why you have things like wrapper and adapter patterns.

This can't be emphasized enough. I never understood why so many people thought that putting methods and data together was a good idea.

I think Rich Hickey in an interview with Stuart Halloway possibly once said that when you jam your methods in with your data you're essentially creating a mini-dsl that makes reuse impossible. I can't agree more.
Make sure the media don't come with a little surprise. :-)
Sounds like an office bully.

If you want to manage the situation, here's what I would say (or wish I would say) in your situation:

"You seem to want me to spend a lot of effort showing my commitment to the job (LinkedIn/hours) but that sort of babysitting is exactly what I want to avoid by working at a startup. I've been here 6 weeks and honestly I feel like I'm still getting integrated into the team and familiar with the product. If you want to get the best out of me you'll have to trust that I'm capable of managing my time and energy to get my work done efficiently."
I would suggest learning Nimrod (http://nimrod-code.org) instead.
Like another commenter I am curious about where the data comes from. The occasional blinking dot on a map does not provide a lot of information about how they amassed the data from 40,000 weather stations. When I did not see a lot of details it occurred to me that they might be acting as a middleman for Weather underground's API. However Weather Underground claims to have the most weather stations and they list a lower bound of 25,000 weather stations.[1]

[1] http://www.wunderground.com/weatherstation/about.asp
I just tried putting my cellphone in a stainless steel martini shaker and it definitely worked as a faraday cage.
I spent a few min reading the referenced paper, and they do seem to demonstrate that there's the possibility of electronically compromising car electronics, including brakes.

However, steering and brakes are mechanical systems in Hastings' 2013 Mercedes C250 (like almost every other car), and cannot be electronically overridden. The steering wheel is connected directly to the wheels, and can't be controlled by the electronics. Electronics can activate the brakes, but can't cause the brakes to not activate because the pedal is connected hydraulically to the calipers. Even if the engine is racing, braking force is greater than the engine's force. [2]

If his car was vulnerable, all-electronic attack doesn't seem like a good way to assassinate someone if they can simply step on the brakes to stop the car. Changing the mechanics to allow remote control might be possible, but that's a lot of physical evidence to add to the car.

[1] http://www.autosec.org/pubs/cars-usenixsec2011.pdf [2] http://www.keacher.com/672/title-fight-brakes-versus-engine/
You compile once, and change the app as needed. You don't need to resubmit.
I don't know much about this stuff but I love the idea of contributing data.

Can anyone with a bit more clue tell me if something along the lines of a DVB-T Stick (great for contributing local ADS-B data to fr24.com) exists in the meterological world?

Basically a cheap (< €150) setup that would let me capture some simple data (temp, windspeed, humidity) and get it into a raspi (or similar)?
there is an upload api http://openweathermap.org/stations so I guess they scrap/connect 'global meterological broadcast services' and invite stations to submit their data.
Toosell blog | How to Test Your CPU Cooling Fans
Jekyll + Github Pages + Prose.io
Jekyll is pretty powerful and easy to setup. Github pages provide me a stable static hosting and Prose.io provides the option of writing online if I want to. I prefer writing offline in Sublime Text but having Prose.io is a good option.

Played and moved away from Tumblr, Blogger, wordpress and Posterous when it was alive and kicking. All of these take away something or the other.
Numpy is supported https://developers.google.com/appengine/docs/python/tools/li...
Want to Understand Mortality? Look to the Chimps
What exactly is the point of this exercise? Booz Allen is a big consulting company. They have lots of contracts and SOWs, most of which are for really lame things. You are not going to find a contract that says: "provide 3 big brother spies to read everyone's mail".

Of you're trying to prove that that government spends lots of money for consultants... Well, we all know that already.

Also, unless you really know what you are talking about, you are not going to be able to spot most of the petty, obvious or really offensive contracting practices. The Feds have their own language re: procurement.
I'm curious, what leads you to the conclusion that 'Python is typically used to build applications that are IO bound'? Also, what exactly are you referring to when you say 'IO bound'?
Some times I feel like the world I live in is from a science fiction novel.
Got any more details on how 25mb turns into 4 gigs? I'm just not buying it...
Python has an array class too:

http://docs.python.org/2/library/array.html
Absolutely. This is why PFS protects past sessions, because you can try to decrypt the past, but you can't MITM the past.

But do you think the slightly harder task of running MITM attacks (as opposed to simply siphoning off a copy of the data as it passes) would thwart an entity like the NSA? I really doubt it. PFS or not, a leaked private key means game over for all data transferred after the leak and until that key is replaced.

And that's my point, the reason I made the statement you're replying to: it would still be well worth the NSA's time to crack Google's private key, and PFS doesn't somehow make that scenario not bad. Your statement is correct, but, I argue, not terribly relevant.

(Sorry if this post sounds confused; it's late.)
Fanboys in Free Software: A Blog Post by Martin Gräßlin
Even if your OS is out of date:

1 - Malware should be purged on shut down

2 - Only specific sites are accessed, e.g. banking domains, minimizing the risk of picking something up through e-mail or careless browsing.

3 - Obviously you shouldn't be running a server.

4 - You should still practice safe browsing, being aware of packet injection via public WiFi.

If you are being specifically targeted, that is another issue.
I am working on that, it's being finished up this week and should be submitted to the App Store soon after that.
FWIW, 200 HP is not a lot and is, as far as I can tell, Mercedes' least powerful engine (201 HP 4-cylinder). In a 3,500 lb. car, it will not be especially fast.

(I used to have a 3,500 lb. coupe, a Pontiac GTO. Now that was fast. It had a 400 HP V8.)
I had a brief look at the GMVault source to see if there were any obvious msg constructing bits, but nothing is jumping out at me, do you happen to know where the message construction is done here?
So... if "the sky is blue" is interpreted to mean, "the sky is green," we have to wait for Congress to pass a new law stating, "the sky isn't green?"
I tried to find an article about an attack against virtualization that used some CPU trickery to spy on everything the host computer was doing. (Including other virtual machines on the same host.) Sadly I couldn't.

So here are all the tabs I opened during my search instead.

http://www.kb.cert.org/vuls/id/649219

https://www.scmagazineus.com/Altor-Networks-Altor-VF/Review/...

https://www.juniper.net/us/en/products-services/software/sec...

http://news.cnet.com/8301-13846_3-10395695-62.html?tag=mncol...

http://www.itworld.com/security/80289/securing-your-virtual-...

http://www.symantec.com/connect/blogs/infographic-what-small...

A quick look at these shows them to be wholly not what I'm looking for. (And wholly unfit for HN I might add, which is where I got them.)

If anyone out there has a link to the vulnerability I'm thinking of (it was on HN at one point), or useful information on securing virtual machines against breakout malware, that would be awesome.
Python is commonly used in web services, where retrieving information from a database and transmitting the results via slow network connections are what takes up the most time, not processing the data in between with Python.
Similar to Jimmy Wales’ advice on Quora — be concise.

http://www.quora.com/Jimmy-Wales-1/What-are-the-things-we-ca...
The road will be harder and harder in the end. The code said so:
for(var k = 0; k < maxFloorTiles; k++) {
last_tile = cw_createFloorTile(tile_position, (Math.random()3 - 1.5) 1.5*k/maxFloorTiles);

Last parameter is the angle
Animate.css: Just-add-water CSS animation
Ask HN:Appreciate feedback on this photo conversation app? www.photoonica.com
Digg Reader Rollout
For those of you (like me) who didn't want to read the whole thing. (I got the 'bullet' keyword from a different link that Uperte posted elsewhere and searched for it in the link that the parent posted)

"Goldberg did apparently threaten a female employee, saying he’d put a bullet in her head if he found out she had been part of or leaked a rumor about an executive leaving the company. This employee breaks down crying afterward and shortly thereafter submits her resignation. She is no longer with Jobster. After some prodding, Goldberg apologizes in a company-wide manner, emphasizing that he wouldn’t really put a bullet through someone’s head."
That doesn't make it all false. The best propaganda is also true.
(To be fair to the company it's hard to say whether it's the employer doing the bullying or just this mid-level employee whose doing it.)

The reason I suggested just doing the LinkedIn update is that it's so plainly ridiculous and easy to fix that if the PM truly thinks that's a measure that's important then give it to him. But then stand firm on whatever views you have on the OT.

Basically my gist was spend your energy and time fighting about something you care about, and at the same time show you're a 'team player' as you changed your linkedin status.

But it's all subjective, I continually change my views on how to handle issues like this in the work place, I tend to swing to each extreme as time goes on....I figure I'll get it right by the time I retire :)

But really...If I had other opportunities then I'd get the hell out.
F.T.C. Tells Search Engines to Label Advertising as Such
Ask HN: What do you use for Django profiling?
I do not like guessing. Trust, verify yada yada.

Given the alternatives, NOAA (my preferred source but obviously american-centric) or WeatherUnderground I see no reason to use a service I need to make guesses about.
The NSA fact sheet claims: "Any inadvertently acquired communication of or concerning a US person must be promptly destroyed if it is neither relevant to the authorized purpose nor evidence of a crime."

Even if this were true -- and Wyden and Udall are saying it's not -- it should not be good enough. All communications obtained without a lawful warrant should be destroyed even if they are evidence of a crime, I submit, and I would even go farther to say that no information obtained by the NSA about US persons should ever be able to be used as evidence in a court of law.

This is not because I want people to be able to commit crimes with impunity; it's because Federal criminal law is so far out of control that the government can find a charge to hang on anyone it doesn't like. Also, the NSA is an arm of the DoD; as such, its job is to keep the country safe from external attackers. If the kind of massive, invasive data collection we are reading about is necessary to do that job -- a point I am not conceding, but one that many people seem to believe -- at the very least we must make sure it is never used for any other purpose.
Maximum Jailbreak
It seems to me over the past ten years I've heard this story so many times: "Python sucks. Let's do the obvious thing that makes it faster." Then, a month or two later, "I did the obvious thing and it's sometimes faster but often slower, net no gain or possible loss." to which the response is obviously "No sale."

I say this merely as an interesting observation. I've come to consider this a de facto counterargument to the claim that languages aren't slow, only implementations are. It may be theoretically true, but in practice, as nice as Python may be to use, it has proved a very difficult language to speed up. (PyPy has taken a very good run at it, but it sure wasn't a case of "I'll just do this easy, obvious thing." PyPy seems to have hit Python's performance with multiple PhD-thesis level attacks, and it's still certainly not C in the general case.)
Have you considered using OverlayFS in a future version of Docker, instead of AUFS? It comes bundled with Ubuntu 12.04 and higher, and my understanding is that it could possibly get merged w/ kernel 3.10
I think the Filesystem Hierarchy Standard is a better resource than this. Version 2.3 can be browsed at http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html. Development of version 3.0 (the first update since 2004) began in 2011; you can see a draft at http://www.linuxbase.org/betaspecs/fhs/fhs/index.html
Check out the list of personal weather station vendors at weather underground[1]. I am not sure about the price but I think I would have remembered if the prices were over your budget.

[1] http://www.wunderground.com/weatherstation/setup.asp#hardwar...
Yeah, most effective genetic algorithms take a hybrid approach where they only do more dramatic mutations for some of the population, and then optimize the rest with a regular fitness function and small variations. The goal with these systems is to have several different but effective breeds emerge.

I didn't dig into this implementation, but it seems like it doesn't carry many (more than one?) individuals between cycles.
What can NYC mayoral hopefuls offer up for startups?
By design, every world has an almost impossible hill at the "end". The world keeps extending in a procedurally generated manner (based on the seed) as long as any car keeps moving. And what other than a tough hill will stop a car.
On the cosmic scale, rooting for any sports team isn't much different... ;P
Stand with Rand
I don't buy that. I've had enough people relate Python's roots in the sysad tool belt and it's application in processing large data sets to believe that it's intended use case could be that limited.
Has anyone turned an ah-ha moment into a life-long pursuit (and succeeded)?
First, I have not redefined anything. I simply went with dictionary.com instead.

Invasions: an act or instance of invading or entering as an enemy, especially by an army (http://dictionary.reference.com/browse/invasions)

Repel: to keep off or out; fail to mix with: Water and oil repel each other. (http://dictionary.reference.com/browse/repel)

Second, I mean warranted as in "has a warrant". From wikipedia (https://en.wikipedia.org/wiki/PRISM_(surveillance_program)_ "U.S. government officials have disputed some aspects of the Guardian and Washington Post stories and have defended the program by asserting it cannot be used on domestic targets without a warrant, and that the program receives independent oversight from the executive, judicial, and legislative branches."

Third, I tried to let you people know that my scenarios were a bit factually incorrect by saying that I was "pulling the numbers out of my arse"! That some aspects of Scenario B were wrong beyond just the numbers shouldn't be surprising. Furthermore, where's the nitpicking about Scenario A then? I spent even less time thinking about it, so it should a little easier to pick apart.

I blew up at mikeash not because he was criticizing you, but because he is being blockheaded. As are you.
According to some experimentation and anecdote, the most effective way to get your professor's attention is to have a female name with a corresponding email address.
When applying for a foreign visa, they will probably require police records from your country of origin/citizenship. If you send in a request for records from the FBI, do they just send back a "Does Not Compute" answer, and then you're out of luck for preparing your visa application?

(assuming you're a US citizen)
What about the cool experiences that money can buy? This may not cost a lot, depending on what you want to do, but it does have a price tag. Not that I'm advocating the job treadmill as a lifestyle, but making a lot of money (say, by building a startup) has its benefits. When commercial space travel becomes a reality, I want to be able to buy a ticket to check out the earth from space.

(I'm not disagreeing with the sentiment of the post, but it seems to set up a false dichotomy)
We have excellent quality news on PBS, but it has quite a small audience. An awful lot of people just want to hear about tits, zoo animals, and local news.
Living in interesting places costs money. I'd rather live in an expensive city and have to work 40 hours a week and be able to engage in interesting communities of people than live out in the boonies with fuck-all to do and no one to interact with just so I'll feel better about myself for not "being someone else's slave."
This may be off-topic, but it was rather fascinating watching that hit counter jump up by hundreds after just one refresh.
Luigi: Python module for complex pipeline of batch jobs
Why spend the money adopting DNSSEC if it's at best a marginal setback to Internet security?

The "trivial way of acquiring jabberwocky.bankofamerica.com" relies on somehow being in the same coffee shop as an employee who accesses the site using public DNS. Whereas DNSSEC just goes right ahead and publishes the information.

As for "making zone cuts" --- they haven't. Very few networks have. DNSSEC advocates just like to pretend that everyone has either architected their DNS zones they way they would, or that they'll all relabel all their hosts to fit that way.

I don't know why I should care about a "global key value store where namespace owners can sign their own entries and make delegations". We can have lots of those. Why use a crappy one bolted onto DNS?
Y Combinator的书签
This bugs me, because it's the cynical negativity that I often feel, but it's one-sided and extreme.

Except for hermits, all of us want services from others. Serving is, therefore, part of the social contract. We work, we pay taxes, and we do lots of work for others' benefit. Nothing wrong with that. To rip from Game of Thrones, valar dohaeris.

In fact, most people rot in a life where they don't get opportunities to help out (i.e. serve) others and become deeply unhappy. They feel unfulfilled.

It's the alienating and creepy institutional experience, the entrenched ingrate upper class, the perverse social demands, and the dehumanizing, corrupt, and capricious evaluation process-- and, in addition to all this, the fact that it has nothing to do with productivity (people could be just as productive, if not moreso, in better environments)-- that make institutional Work so horrible.

People like to do things for other people. That's not a waste of life. That's a major part of being human. Being forced to do things-- often boring, degrading things-- in some subordinate context is what makes people miserable at work.
I'm glad that dotCloud is contributing money to the Linux Foundation. I'm curious how involved they are with linux kernel and plumbing development. It seems like the changes coming to cgroups, for example, could be a big deal for Docker.

https://lwn.net/Articles/555920/
It's the supreme luxury to be able to reject society. It's a luxury that's only available to those who are either born to wealth or put a lot of effort into obtaining it.

There are also the "I just don't use money, man" people who are actually just living off the charity of friends.
Brace Yourselves! NeoCities websites are coming.
I guess it is more like a question of how much time you are ready to spend in order to get money for the rest of it.
Sewn into pants...
Honestly, because most people have to.

I'm just getting to the point that I can probably work just half or so and sustain myself just fine. This is awesome, but I realize I'm overflowing with privilege. For most, this isn't an option.
Fuck this perspective. I don't mean this in an offensive way. I just mean that it is very detrimental for me to think in this way. For years I have been reading articles online, trying to become smarter, trying to learn from others' mistakes. Really, I was trying to never MAKE a mistake and trying to be smarter than I was. A large part of this was that I thought I could be destined for something "greater". Well, I'm not. I have used the sentiment from posts like this to justify my laziness and overblown entitlement, and do you know where it's gotten me? Nowhere. I'm not better than everyone else. I can't actually accomplish anything special. In fact, ever since I read that it's better to NOT write code than to write too much code, I've tried to do as close to nothing at all as possible. And that's pretty much the problem.

I guess that didn't make so much sense. But, just because the universe seems unfair re: who has resources doesn't mean that it's not advantageous to buy into the system of working for someone else. It provides an income, for one.
I agree this is wayyy complicated. All you do is send the encrypted data to whomever you want and then have some servers check an email every day to see if it got an email from snowden indicating the date. If its there repeat tomorrow else email key to journalists/publish on the internet.
The lack of information on pricing is an instant back-button-trigger for me. I have no idea if you (eventually) plan to charge $5 per month or $200 per month. If it's in the lower end, then it can be worth evaluating. If it's a few or several hundreds per month, then I have to pass until I'm earning enough to afford it.
I go through this all time time. Here's one from three and a half years ago: http://matt.io/startup/Hazards_of_Work

A year and a half ago I gave up, quit, sold my car, got rid of my apartment, and lowered my living expenses. I'm quite free of overlords at the moment, but stressfully unsuccessful and technically homeless (without being entirely poor).

Tomorrow I turn 30. This was not in my life plan. Need to daft punk it up very soon.
Rah rah.

So you are sitting in your economical abode eating your economical food with a pleased non-servant grin. And there you sit. And sit.

The urge to build or do will come. Building is better with others. And soon you are back to having to make trade offs to build something you want or people want.

To me, I'm always going to build. So yeah, all I can do is either pick the best masters available to me, figure out how to spread out the masters (client vs customer) or decide that in the name of freedom, I'm not doing anything and try to declare stagnation a virtue.
So that others can be 'servants' to us?

I am good at making software products, but not so much at repairing my car, so I'd rather spend some extra time making software products for others so I can get someone to fix my car for me.

So much for the pseudo-philosophical rhetoric about the 'deadness we feel inside'. I'd feel dead inside if I had to spend hours on the bottom of my car or out in the fields, instead of doing what I enjoy and am at good at.
We all have to answer to somebody. The lucky ones, answer to other men. The unlucky ones, answer to their conscience.