skysight-inc/HackerNews huggingface dataset:
C's syntax is different from Python's for a reason: what each operator does is very much transparent from the syntax. The point of learning C is to understand what the computer does (as you program it in a higher level language).

In Python, I can say:

...
if "foo" in bar:
do_something()

That's excellent, that's what I expect from a high level language. However, I am not forced to think about whether bar is a hash table (dictionary) an array, or something else. That, again, is excellent for the kind programming you do with Python: you're programming to an interface and not an implementation. Java's standard library also encourages that.

Collection<String> bar = getBar();
...
if(bar.contains("foo")) {

However, you also need to understand how the various containers implement "__contains__" or ".contains()". That is, you need to understand algorithms, pointers (in Python and Java, every value is a pointer and memory leaks are still possible!), memory management. C is a better language for learning these fundamentals than Python or Java.

Of course, Python and Java (and also, Smalltalk and Lisp/CLOS) are much better languages for learning object oriented design and "design patterns" in the classical sense. However, I've found that I never quite "got" OO until I had already had a job as a software engineer. I would have never gotten a job as a software engineer without knowing the fundamentals. I also feel that having grown up on C has been an advantage in terms of being able to reason about systems aspects of my work, even though professionally I mostly worked in C++ (with STL), Perl/Python and Java.

C's syntax as being applied to high level languages is a different matter. I agree it doesn't make much sense for Java: for example, lack of any type inference is really annoying. Perhaps that's why I find programming in Scala to be more pleasant, even when I am writing imperative code. I agree, it can be annoying to use a syntax meant for a low-level language to write in a strongly typed, memory-safe high level language. However, the syntax is not the most important part of a language, especially for pedagogic purposes.
How many ANDs and ORs does it take... Low-level bitwhacking at its most fun.
Hmm, I always prefer Firebug for development, but development and browsing are two separate tasks, so I have no problem using both. Chrome is a solid browser too, though.
First of all, congrats on getting out of a bad relationship (assuming) and having the option of picking up and going anywhere your heart desires - you should know you're one lucky guy!

My picks: Buenos Aires (maybe 30% cheaper), Montreal (6 summer months) (maybe 20% cheaper), Hawaii (maybe 20% cheaper), Barcelona, Istanbul, Fiji, Sri Lanka, New Zealand, and Porto Alegre in Brazil.
Interview with Ken Thompson - on writing Unix, Go language and Dennis Ritchie
Our small shop had to clean up one of these yesterday. It's not hard, for now, but there are all sorts of really neat hidey-holes in MacOS for these kinds of things, and so far this piece of malware has been evolving pretty fast. It's changed names three times, and it first started propagating as a fake JavaScript alert on sites that looked like a Windows screen; now there's a pretty reasonable Finder mock-up doing the dirty deed instead.

It doesn't help that there's a setting in Safari to automatically run "safe" downloads.

I'm intensely curious about how far this thing goes. If it were to, say, start hooking into launchctl ... well, that would be interesting indeed.
My thought exactly. The whole "dark matter" thing seems like just a huge fudge-factor.
What if Twitter decides to start putting ads for its own native clients on the OAuth screen? Given recent history, is there any reason this would be a surprise?
If it's a simulation, that's also the only representation of the world i can have and can act upon. So i choose to ignore that possibility as inconsequential to existence and take the empirical stance of accepting the world because my senses tell me so. The alternative would be to wait forever for the simulation to end? The great thing about the brain as a machine is that it allows you to doubt about everything but it doesn't mean that all doubts are well founded. Also, why would the advanced alien get any satisfaction from torturing me, since she knows i will not know i 'm being tortured.

The law protects humans (our species), probably because it's an evolutionary beneficial strategy. More specifically it protects consciousness that arises in a central nervous system (hence the abortion debate). There is no reason to assume that abstract consciousness in itself should be protected, unless it benefits the human race. Suppose the software "Consciousness v1.0" could run on your PC, would you leave your PC on forever ? Run multiple copies? Stop the people who try to update it?
If it's my credit card information then all the merchants who end up passing my card fraudulently are the victims, because they are the ones who won't get paid.

I won't have to pay a dime for transactions I didn't authorize.

I suppose I could call "victim" for having to watch my statements more closely, but everyone does that anyway, right?
Yes. This is the paraglider version of a trike, which are usually based on hang gliders.
IMDB's ranking for Spinal Tap goes up to 11
Ginzametrics (YC S10) is Hiring Rails Developers
Ginzametrics a startup building a new kind of marketing platform for advertisers and agencies. We're funded by Y Combinator, 500startups and other awesome investors.

We’re focused on SEO at the moment with plans to expand into a $40B+ market, touching all of online advertising. We have a strong international focus, supporting over 20 global markets and are localized to English and Japanese (with more languages coming soon).

We’re headquartered in Mountain View and have a presence in both New York and Tokyo. There are only 3 of us now, all engineers, so you’ll have the opportunity to design and build a platform that solves big problems for almost every company doing serious marketing online.

We're looking for people who are:

* are clever

* are ambitious

* are humble

* are designers at heart (this is not only about UI)

* can communicate and empathize with many different types of people

* know how to build quality products on the web

* can do many different things (not just “a backend developer” or just “a UI developer”)

* have experience building large applications with Rails or something similar

* are good with data & data modeling / understand tradeoffs between

* relational vs. non-relational databases

* are good with Linux / servers / cloud platforms

It would be great if you also know or could learn:

* big data tools such as Hadoop / HBase

* good UI design skills and user experience instincts

* online marketing / user acquisition experience

* web analytics

Ideally you'll live in the San Francisco Bay Area, New York or Tokyo, but we're willing to work with the right people pretty much anywhere in the continental US.

Email us at hackers@ginzametrics.com with your hn username, linkedin URL, twitter, any blogs, github repos, etc., along with a phone number.

URL:
http://ginzametrics.com
Some logic I came up with for dealing with user-centric memcached data.
I don't know for sure, but maybe it gets around both of these because it is not a fixed wing aircraft?
Notes on optimizing python dictionaries
Ultimate Guide to managing follow ups after a conference
Not too long ago it was Markram himself accusing another group of what you accuse him of (oversimplification), http://nextbigfuture.com/2009/11/henry-markram-calls-ibm-cat...

From what I've read about Blue Brain it appears that validation is a central theme of their work. They are actively validating the small piece that they have already built (the neocortical column).
I suspect the real problem here is that identifying when ownership has changed is pretty much impossible unless you are the registrar. Assuming you could even fetch them (they probably are rate limited) the whois record could change without indicating an ownership change or even the DNS could change without indicating an ownership change. Also, even if there was no change in these records, the owner might have changed. The new owner, if an attacker, could put the same data into the whois record and use the same DNS records. The domain may never even "expire" officially with some registrars letting a new owner grab a domain before the official expiration drop.

I assume the previous owner probably has some mechanism for deleting the accounts that are currently on Google Apps. If that's so, then it seems reasonable that it's their responsibility to do so.
Airplane maintenance is way more expensive than car maintenance, but every hour you drive this thing on the road will count as an hour towards maintenance required at airplane rates.

Yes, but this isn't an airplane. It's a flying car ;)

Seriously, the maintenance comparison wouldn't appear to be the same. It looks like this thing has a propeller attached to a drag style engine. I would expect maintenance costs to be more akin to a souped up car than an airplane.

Also, by law to drive (in California at least) you're only required to have liability insurance covering the party you hit. Covering your own vehicle is optional.
These new laws are brutal and scary. It's nice to see individuals and companies fighting this. I agree with their sentiments and their point of view.

However, playing the devil's advocate, I'm not sure I'm 100% convinced by their (or my own) arguments. What happens when you apply the argument of shutting down parts of the Internet, even for a seemingly good reason, is still censorship to more socially unacceptable things? Messages of hate, tools for murder, child pornography?

Doesn't Google already sensor the internet for such things? Are we just trying to avoid heading down a slippery slope (which I fully support)?

I guess I'm just trying to get a sense for how this differs from those other cases I mention, and how the arguments being made apply in the context that things are already censored.
Bloomberg found the same thing when they tried to redesign their terminals for traders - existing users were so invested in their knowledge of the "incantations" of the old interface that they were hugely resistant to a UI with a more modern learning curve and interaction.

It's very hard to make a product that essentially devalues things that your customers spent a lot of time learning. You're probably better off ignoring people who already happy with their shell experience, and going after people who have not yet invested in learning all that crap.

And yes, it's crap. And I say that not because I don't know it myself, but because in the end, much of it is not essential to the actual job we're trying to get done, it's the tools we use. And the tools are not the job.
Google could ask for the password of the old account. If the user gets it correct within x tries, restore the data. If not, start anew.
Poker Startup Night #7 (Los Angeles)
If I actually read every article she wrote, just to glean the rare gems from the copious garbage, how will I ever get back all the time that was lost?

I'll stick to my original assessment. Down vote away to your heart's content.
Even closer to a powered parachute: http://en.wikipedia.org/wiki/Powered_parachute
I'm not seeing any content on this site. Prank?
Assuming, of course, that the app didn't just make it look like it's launching Safari.
Show HN: Throwing my hat into the opportunistic tshirt-making ring
Essentially, Twitter's API is starting to look like it was secretly an on spec contest to build their official client.
It happened on 2008 but the failed platform is Windows Server 2003, Microsoft SQL Server 2000.
There is one big problem in the that event called "Update"!
Twitter always presents a login page, even if you're already logged in.
I'm not one for role models, but I'd pick the other "Reed" (Hastings) more as someone to emulate.
After seeing the "Snowpocalypse" guy and the "Osama's Dead" guy make a killing, I thought I'd give it a shot. Theme is the May 21, 2011 rapture/apocalypse.
OAuth is storing credentials, it's just an access token rather than a password. The end result is the same - they have access to your account until you revoke it, either by canceling the token (OAuth) or changing password (non-OAuth).

Clients using xAuth don't store username/password, anyways. They just use it once to request a token, every future request is just like normal OAuth.
You should check out the new Dragonfly. Grab the Opera Next build http://www.opera.com/browser/next/ to poke around. Dragonfly has gotten a masssive upgrade in the past 6mo.

That said, the Chrome dev tools are pretty righteous, too. :)
The piece reads more like he is trying to defend himself after being called out by Gruber.
"making good big picture conclusions based on sound evidence" .. oh come on, its Sarah creating confrontations where there is simply different styles... and NOW she says that "we the early adopters"... garbage at her best
Decisions like this are making it clear that Twitter no longer cares about third-party clients. That they didn't even consider (that, or they just didn't care) that two weeks notice wouldn't be enough for many devs to make the change and get it through App Store approval is quite telling.

It's not the technical difficulty of implementing that's a barrier. It's the clear "fuck off" signals Twitter has been sending.
while both Zuckerberg and Hoffman should be emulated and commended for what they've done, I admire Zuckerberg more. He built his company from his own code, marketing, and hustle rather than relying on outside funding, and the echo chamber that was originally linkedin. While nothing should be taken away from companies like linkedin or quora or path, but how much of their success can be attributed to just being part of the echo chamber and knowing the right people. While it is a skill to be part of the right social circles.. Zuckerberg built success without it ( yes pre Sean Parker Facebook was quite successful). More startups today are probably in a closer to situation to Zuckerberg than Hoffman.
Celebrate 11/11/11 as Spinal Tap's Nigel Tufnel Day
I've done that on physical photos. I wrote the names of high school friends on the back in the locations they appeared on the photo.
"Exactly. Nothing will protect you from stupidity."

I'm getting so tired of this blame-the-user-for-everything attitude on Slashdot, HN, and elsewhere.

Some of the blame belongs to Apple/Safari. You see, Safari's default settings allow for the automatic download and execution of "safe content".

The clever authors of MacDefender/MacProtector packaged things up so that by merely visiting a hostile web page in Safari, it causes Safari to automatically download and automatically run the MacDefender/MacProtector installer.

For example, you may be browsing Google Images. You click on one. The next thing you know, and this happens in just a second or two on a broadband connection, the installer program for MacDefender/MacProtector is running.

Now fortunately, the installer process itself is benign. If you quit the installer, you won't get infected. If you continue through the installer, however, the Trojan will be installed.

I can see how a lot of people might think Apple automatically pushed out an anti-virus, or something, and that's why the installer starting running automatically.

Feel free to blame the user all you want...right now, it seems very popular to blame "those stupid users" for everything. But in this case, Apple/Safari deserve a nontrivial share of the blame for Safari's outstandingly asinine defaults.
Ah, so basically use IPTables to detect if the request is originating from CloudFlare's CDN, and if it is not redirect it via CloudFlare?
Small dyson spheres?
MOTOROLA XOOM Android 3.0 Tablet | News Gadget Review
Google Places now lets users import GeoRSS feeds
You advocated and disparaged the App Store concept, and then you railed against capitalism. Regardless of how you perceive the App Store concept, you cannot deny that it works, and it works well.

Frankly, what's wrong with a package management system that charges consumers and pays commissions to the host?
Ken Thompson wrote Dennis Ritchie? I didn't realize he was that good a hacker.
Bullshit. Firefox 3.6 was the latest release of FF as recently as two months ago.
Zuckerberg started a social network at HARVARD. What part of being doesn't involve being part of building a social network at Harvard not involve "being part of the right social circles"?
There are a lot of programs that require the admin password in order to be installed, for them to be installed system-wide... Usually, a single user install would be enough, but they don't provide the option (or I couldn't find it).

As a consequence, users are trained to give their password to random apps, and they end up not paying attention anymore to which app they give it to.
The off the cuff way I was doing it was to go to https://mail.google.com/a/DOMAIN_NAME/ and see if I get a login screen or an error saying that the domain wasn't using google apps.
Best Legal Department 2011 Winner: Google
The really terrifying thing about this is how easily malware writers are able to slip their downloads into major web sites. I got the MacDefender alerts on MSNBC.com.
For those who are wondering about price - looks like it will be sold for $84,000... not bad!

http://mavericklsa.com/FAQ.html
Baidu, China sued in U.S. for Internet censorship
On Daemons
Snake Oil? The scientific evidence for health supplements
You should be able to check whether it actually launches safari, e.g. by pressing the home button and the actually launching safari, should look the same as the screen you just left.
“It is not what we are aiming for as investors, said Dave McClure, founder of 500 Startups, a venture fund. We are trying to build large, lasting businesses."

Aren't these the same VC's who want to sell/flip your startup (instead of letting it grow) in order to pay their investor?
I must say that LinkedIn has done more good for me in the one year since I've signed up for it than Facebook has ever been.
High Quality * 246413-002 Laptop Battery for hp
6 cells hp 246413-002 Battery | High Quality * 3600mAh 246413-002 Laptop Battery for hp
Wow, that's great. Here's a video showing more taking off, flying, etc: http://www.youtube.com/watch?v=s8b0oR0-Pgo
Usually these kinds of pieces say more about the author than they do about the people they're talking about. I mean, it's silly to think that one way to lead people is inherently better than another. Reid Hoffman simply has a different style than Mark Zuckerberg does. No more, no less.
No, you would configure your firewall to only allow requests from CloudFlare's infrastructure.
It is tax-funded protection for IP owners.

It threatens internet safe harbors and requires intermediaries to act as law-enforcement.

The potential for error is huge and any false positive can be disastrous to online business.

It sets a precedent for government censorship of the internet.

It is hardly a perfect solution, it will not stop 'piracy'.

The problem in question is highly exaggerated and very much self inflected by the same industry that is lobbying for these measures.
Just booted up firebug due to your comment because I hadn't used it in a while. Here is my reaction after using Chromium dev tools:

- JavaScript auto complete text doesn't display right, it is a different font size shadow that obscures the typed text.

- Pressing tab multiple times will not cycle autocomplete, but instead jump the focus out of the console and into the search prompt.

- Really minor, but I prefer a terminal where the output and input are simply in the same line rather than in seperate locations that require looking back and forth.

- If I declare a function "hello" in the terminal, and then type "hello", it merely prints "hello()" instead of printing the source of the function. Printing the source of the function with no extra work is especially valuable if I grab the non minimized version of a new javascript library and want to poke around and see what everything does.

+ I do think the "Net" tab displays requests a bit more concisely than Chromium. This could be beneficial if you are dealing with pages with lots of pictures.

= CSS and DOM inspection seems about equal.

My main concern is JavaScript though, as my current app is doing all of its rendering client side with only the Model layer on server.
I see. Some domains use SAML authentication, so it doesn't work as well for them. E.g. uw.edu
Ask HN: Do I hate web development or do I just need a switch-up?
I'm trying to decide whether I can do this forever and I need to know a couple things: whether my situation is industry-typical and if so, will I eventually get used to it. First, a little background: I've loved computers ever since I was a kid. I've always loved learning new stuff and I've made some pretty cool side projects. Somehow, I never even considered the job aspect of it until a couple years ago. I guess I was too busy enjoying it to realize it was a viable career. Anyway.

I've been working at a web agency for almost a year now, I'm in some gray area between intern and developer (in that I get paid as an intern but work on full projects without supervision like a developer), and I'm starting to learn that the challenging parts of it aren't what I thought they'd be. Having some difficult task that requires learning a new way to do things isn't a problem -- it's why I fell in love with computers in the first place. I've learned in the past few months that the hardest part is sitting for hours and grinding away at someone else's kludges of spaghetti code.

We're primarily a PHP shop, and we mostly do business websites with typical content using our proprietary CMS. That's not incredibly exciting, but it's at least not terrible. Occasionally they have an interesting requirement, API hookup, etc. Sometimes I make WP themes (for SEO purposes :() or make a Drupal module, and that's also not bad. I enjoy starting a project and building it through 'til the end. Where it gets painful is when we inherit clients that have an already existing site made by their DBA that didn't know what he was doing, or worse yet, our sales team scores a client that has an ASP site ("We're technology neutral" i.e. we'll take anything) and it gets dropped in my lap even though I don't know a damn thing about ASP and don't even have a Windows install around to work on, so I'm live-editing the site using Transmit and TextMate. Oh sure, I speak 'coder-speak' so the language doesn't matter, except that the guy that made it obviously didn't speak coder-speak and has an almost incomprehensible abomination that works, but, oh my god I don't know how and I don't want to know.

Oh, or my favorite: the guy that already spent his $500 on iLance (http://www.ilance.com/) and then realized he couldn't make it do what he wants so he hires us and we have to use iLance because he already bought it, damn it! while iLance is probably the most incompetent chunk of PHP I've ever looked at. Seriously, like "I don't know how to use arguments to make this expression, so I'll just concatenate a string of PHP code from the post variables you sent me and ram it through eval()"-bad.

tl;dr I find it miserable to work on someone else's sloppy code. It feels like I'm doing a job no more skilled than sweeping the floors at a supermarket or something. Just pounding away at a keyboard for 9 hours and then going home feeling like my brain is fried. Does it get better? Does my situation (with dramatic, frustrated emphases accounted for) seem typical, or is the place I work just particularly messy sounding? Any advice?
You might want to do

:help mouse

All of the things you mentioned are supported and work with most terminal emulators (tested with xterm, gnome-terminal, iterm2 on OSX)