skysight-inc/HackerNews huggingface dataset:
Eh. Is Richard M. Stallman teaching philosophy of science now or something?

Arguably, the rough idea is to discover and prove interesting or useful facts.
I've done that myself, extremely time consuming. Still though, I don't like having this in the markup, it seems pointless since almost no one would benefit from it. It'd be better to have /logo redirect and serve the correct file. There would be no initial request for determining where it is and it adds nothing to the page loads of all the other people who don't need it.
Often perfectionism in one area is a means to avoid shlep in another.

For instance I prefer developing software over marketing my product ( http://gridspy.co.nz ). This means that perfecting our product's software is the comfortable and easy option when what I need to be doing is picking up the phone and calling people.
Also, Schema.org recently added a 'logo' property to the Organization type: http://schema.org/Organization

This is useful because it's an easy way for you to declare what your logo is to spiders looking at your site. Google/Facebook/Foursquare/etc. can then use this annotation to know what logo to associate with your page instead of having to guess algorithmically.
Yer that's why if you right click the logo on our website it links you to this page: http://sidigital.co/media
It seems that Apple, for whatever reason, doesn't care about this emulator on the App Store. It's been there for weeks now.

http://www.macrumors.com/2013/01/26/fully-functional-mame-em...
You're covered as a part of Group D, the most dangerous group: content with at best an "enlightened hedonism" (work diligently, but only so that you could afford that 60" TV), while groups A-C strip away your liberty and safety.
If I had one piece of advice it would be: Descend the rabbit holes!

Rabbit Hole Syndrome is a symptom of having a curious, persistent, independent mind. If there were a drug that cured Rabbit Hole Syndrome, and everyone just worked on Shipping Their Products and Not Asking Questions, there'd be no one left to make the interesting discoveries that make the world better in the long run.

There are very famous quotes from Richard Hamming (see "You and Your Research") and Richard Feynman (see "Surely You're Joking!") about the importance of working on problems that seem trivial at first. Not only do they help you enjoy problem-solving for its own sake, but if you work on enough silly problems, then eventually the odds are good that you'll stumble upon something that other people will later think is really important. Incidentally if you read Thomas Kuhn you'll find that this tends to be how scientific revolutions happen: someone is bothered by some tiny little thing that doesn't quite make sense according to the prevailing theory, starts digging at the little cracks, and finally the whole system comes crashing down.

The major benefit of going down rabbit holes is that is opens yourself to serendipity: sometimes you'll turn out to be right about something for the wrong reason, or discover something that you later realize contains a solution to a seemingly unrelated problem. The more rabbit holes you've gone down, the more they start to connect.

In addition, frivolous research helps you develop a very "bottom-up" view of the world. If you know the details cold, then you are better able to see through high-level BS ("conventional wisdom") and evaluate things on their own terms. You'll find that regardless of what's optimal, most things are done a certain way only because they've always been done that way, and that regardless of what's true, most people believe things only because other people believe them.

Of course there are costs to all this -- in particular, "schleppers" will resent you for being irresponsible, and most people will think you're crazy if you ever explain what stupid little you've been working on lately. Which is why Rabbit Holers should try to should avoid actual responsibilities to the greatest possible extent and absolutely not care about what most people think about their work.

Anyway, to sum up, if you're lucky enough to be in a position to descend rabbit holes without impoverishing your family or bankrupting your company, I say go for it. It strengthens your most valuable asset (your mind), and who knows, maybe one day you'll discover something you can teach the rest of us.
Shoulda drowned it.
This URL requires a login from University of Sydney for access.
Heh...same phone, but my plan upgrade came the day they deployed the update. I learned my lesson too...bought a Samsung.
Short term hack: medication.

Long term hack: meditation.

How long with each, how much of each... that's going to take a lifetime to learn and figure out.
Not to mention the condescending attitude:

Most engineers I know would still argue that Merge Sort is a better solution and apparently Robert has had the same argumentative response even though he is an expert in the field. In the lecture he kindly says the following : “… Such people usually don’t program much and shouldn’t be recommending what practitioners do”.
I have no problem with some level of scepticism.

However having read a number of articles from both sides regarding his alleged offences, I see no evidence of conspiracy. The fact that he is a celebrity cannot deter the Swedish authorities from pursuing the allegations against him.
What good books/resources are there to read for those who want to know more about this?
I would write it up but you're not allowed to (check the license that comes with windows server and the .net SDK).

Anecdotal evidence points to go being faster on nearly all counts bar regular expressions once you know what you are doing. The GC differences come from the fact that go does a hell of a lot less allocations. It's possible to write complex code in go which doesn't allocate or GC at all. The same is not true for the CLR. Fundamentally the GC in go is slower and causes more pauses but you can easily tune around it without shitty hacks like the disruptor pattern.

Anyway numbers cannot be published thanks to Microsoft's suspicious intentions with their EULA so you'll have to compare yourself behind closed doors.
Note that the iPhone/smart phone market is in no way saturated - there are many dumb/feature phone users to sell to. We only just passed 50% of the US market being smart phones. There are currently about 6.5 billion mobile phone subscribers worldwide, but only about 1 billion smart phones. That leaves a market five times the size of the existing smart phone base, or in other words the smart phone market is only 16% saturated.
No, Python has BOTH generators and coroutines. Lua has only coroutines.
You're thinking of them as alternatives, whereas Python has a superset of what Lua has.

Builtin map() is for generators only. You can write map for coroutines as well:

def mapcoro(func, target):
while True:
value = (yield)
target.send(func(value))

(untested, I think you need to catch StopIteration around the yield line)

You can do everything with Python coroutines that you can do with Lua coroutines. You could say that Python doesn't need generators, but that's a different argument. I agree it is confusing... I was confused for a long time.
It's possible to mount the file system containing the production build of a Rails app (after "rake assets:precompile") completely read-only. In fact, Heroku, one of the more common cloud-management providers for Rails apps, does exactly that --- which means that if you want to support file uploads, you've got to stick the contents somewhere other than the file system. (Amazon S3 buckets are one popular choice.[1])

[1] https://devcenter.heroku.com/articles/paperclip-s3

That said, this sort of setup might have made the recent YAML bugs somewhat more awkward to exploit, but it wouldn't defang them. What those exploits allow an attacker to do to an unpatched app is cause it to run arbitrary code immediately and directly; there's no second step. Even if they can't write the file system, they have any number of ways of getting information back to the attacker. So... get patched, I guess.
But in spite of all that, it has managed to provoke some interesting discussion here.
That is not true. Siri was available in the App Store from a third party for at least a year prior to its reintroduction in the 4S, and ran on a 3GS just fine. There isn't a technical reason for it not being available on earlier models.

http://techcrunch.com/2011/10/04/the-original-siri-app-gets-...
Fibonacci Numbers and Nature
What about when iOS 4 came out and updating rendered the 3G completely unusable? I know forward progress is great, but I felt really screwed over and forced to upgrade.
Come on, what about VIP in Mail.app and Reading List in Safari being unsupported on older devices. There's no way that the 3GS lacks some required hardware feature. Is there?
I started with Chef around version 10.4. It's really amazing to see how far Chef and the community have come since then. Keep up the awesome work Opscode!
you love it. you use it every day. $295 is too high?
Assange became a cause célèbre in the UK long enough to make it difficult to get him extradited quickly. Doesn't mean he can hold those pressures off forever.

The same media which profited from his leaks is the media whose portrait of him you're choosing to accept unless you know him personally. The arguments on here are pretty much exclusively about this alleged personality.
Experience has taught me otherwise. The idea is part of the execution. Meaning that you cannot do well what you have not defined. Doing something requires knowing how and what you are doing. There are the same thing, and not different entities. The whole notion of idea versus execution is wrong. You cannot execute something which you have not thought of properly. Thus, the idea is bad, and the execution will be bad. You can, however, improve on the execution and end up with something entirely different. But it will also improve on the idea itself.

The idea and execution are the same thing.
It seems that analytic combinatorics (what is advocated instead of big-Oh) is the modern study of things like average case analysis. That said, it seems like bad advice to advocate ignorance of the worst case. Both average and worst cases should be considered.
Markets are where ideas are tested. If they die, then the idea was not good to begin with.
As soon as the straw man steps in, I have to step out. Good conversation, but I think we are not gonna see eye to eye here.
Unless it's a hobby or an intellectual exercise, a brilliant solution without a customer/market is a waste of time at all scales, destined to moulder.

Chances are, you'd approach Town Hall with the solution to all their pothole problems and they would ignore it. To make it worthwhile, you'd either have to have earlier signed a contract with Town Hall to figure out their potholes (ie. have a customer) or develop a business based on your solution (ie. develop a market).
It is not a good sign in a teacher to use the word "despised."
Yeah, to an extent. Roughly that idea but with always-on broadband, high-DPI touch screens, and shared, concurrent application state across all terminals. I wrote more about what I'd consider ideal at http://tiamat.tsotech.com/pao
Ask HN: (How) Would you do it all over again? 
Knowing what you know now, how would you set up your life differently if you were to be able to go back in time?
How Much Equity Do Your Employees Deserve?
A fun example is zippers. A zipper over some structure is a purely functional way to keep track of your "position" inside the structure, which ideally lets you move around it easily.

Normally, when we use lists, we do something to the head and recurse on the tail. This allows us to easily move forwards through the list, but what if we sometimes want to go backwards? It's very easy to come up with a structure that lets us do this: we just keep track of the previous elements of the list as well as the remaining ones. This is exactly what a zipper over a list is:

zipper [a] <=> ([a], [a])

So if we have the list [1,2,3,4], the zipper would let us represent [1,2,^3,4] where ^ is our position; it would look something like ([2, 1], [3, 4]). We could then move forwards to ([3,2,1], [4]) or backwards to ([1], [2,3,4]).

This is a very simple and elegant idea, but also very easy to come up with yourself; no need for any algebra. However, there is an interesting observation to be made: a zipper corresponds to the derivative of a type! I think crntaylor is going to cover the mechanics of this in a future post.

This gives us a couple of useful insights. For one, it means we can apply the derivative operation repeatedly to get as many "cursors" into our type as we want. We could have a zipper with two positions in the list, or three positions in the list, or whatever. Additionally, it also tells us how to generalize zippers to other types like trees. At least to me, this is not obvious and the algebra really helps here.

So we can go from the very simple structure of using ([a], [a]) to represent a position in [a] to having an arbitrary number of positions in arbitrary types like trees. I think that's pretty cool.

Another fun example is packing seven binary trees into one, using complex numbers. This is a bit more involved, so I'll let much better writers than me cover it: there's the original paper[1] as well as a nice blog post[2] about it. I think it's a very cool demonstration of how this sort of algebraic reasoning can be useful even with a fairly trivial algebraic structure.

[1]: http://www.cs.toronto.edu/~yuvalf/7trees.pdf

[2]: http://blog.sigfpe.com/2007/09/arboreal-isomorphisms-from-nu...

Also, recognizing this sort of structure can help us organize our programs. Often, even trivial abstractions are useful just for organizing code even if you don't get any especial insight from them. For example, monoids are very trivial, but are extremely useful for writing libraries.

Also, I think this is exactly the sort of abstraction which would make writing generic programs much easier, but I do not know enough about generic programming to be sure. (Here it's "generic" in the Haskell sense--programs that operate based on a type's structure and apply to many different types rather than generic in the Java sense, which is just parametric polymorphism.) Just something else to look into if you're curious.
Oh cool. The readme (at the very bottom) makes it appear like it doesn't mark visited objects.
if (i.match(/^[$A-Z_][0-9A-Z_$]*$/i)) {

broken
Am I the only one that is dissatisfied with all of the Lena references in the computer vision community? For a few years I was righteously indignant about the gender issues involved but now it's just trite. Makes us seem like adolescents that we find it so important to reference a Playboy photograph.
Posted yesterday, although it attracted no comment: http://news.ycombinator.com/item?id=5193999
Ask HN: OSX status bar calculator
What if you could hit a simple keyboard shortcut and a text field dopped down from the status bar where you could type in arithmetic, press return and see the result. When you are done, another shortcut closes the window and you return to Sublime Text/Xcode/TextMate...

I've tried a whole bunch of calculator apps and find the workflow of switching windows to be a pain. It's crossed my mind a couple times, so I thought I'd see if you guys would find this useful, and if so what features would you want. (Of course if I've somehow missed something like this that already exists please let me know.)
`http://trycourier.com/?utm_source=anm-blog` linked in the post seems to 403.
The term you are looking for is a post-scarcity economy.
OK, the proper way to do this is to not touch the machine at all. Shut it down and leave it alone. Maybe borrow its hard drive and back it up using 'dd'.

Set up a separate Linux (etc) machine with two ethernet ports as a firewall/router, running wireshark in addition to everything else. It can now log all packets in and out of your network, and save them for later analysis.

If nothing interesting happens in the time it takes you to get bored, copy just the files you really need across from your old HDD to a shiny new one.
Hacker news doesn't have that much to do with hacking these days either, do you think it should change?
Also the founder of Truecrypt apparently.

http://www.reddit.com/r/technology/comments/1895vl/creator_o...
Or any of the thousands of other chemicals, such as flame retardants, that we breathe in all our lives.
Yeah this is cool. Notice that the top comment in this article is about Ragel supporting output for Go. But you don't need it in a lot of cases since you have goroutines.

One of the most well-known uses of Ragel is for Zed Shaw's mongrel HTTP parser. If you want an event-driven server, and you want to parse incrementally, you need a state machine. And writing a state machine for HTTP is a nightmare -- for C it is indeed better to generate it.

But I took a look at Go's http/request.go, and it just parses in the normal "synchronous" style. Of course this is because the Go runtime already takes care of the event loop and dispatching to goroutines.

I just did the same thing in Python -- I wrote a coroutine-based HTTP "framer" in a single 20-line function -- it uses ReadUntil('\r\n\r\n'), parses Content-Length, and ReadN(length). This is all done concurrently on a single thread of course, thanks to the coroutines.

This seems like obviously the right way to parse network formats efficiently and scalably. So yeah I would think twice about before using state machines in Go.
I usually keep my resolution low. 1366x768 is fine for everything I do -- including movies, gaming, and development.

The main reason I do this is to make the default font sizes for programs, websites, and OS's more readable without visual glitches or breaking layouts, as zooming has an unfortunate tendency to do.
Yes, the name of this project is "256 Shades of Gray" – with an 'a' instead of an 'e' in Gray.
Another benefit is abstracting away the management via a boxed in webapp. I manage about 2000 servers all running chef. Things like IPs, host files, firewall settings etc, are stored in databags, each server has its own databag that can be manipulated by a Rails app/the Spice gem (thanks Dan Ryan!). As someone who is tasked with managing all of this, along with bringing the less experienced employees up to speed, it is a way for me to normalize all of these things, and abstract things away enough that almost anyone can open a port up on any server, setup a rails app etc etc. And whomever takes over after me, will just have to read one set of docs, get an overview, and they should be able to follow the design patterns of how things are setup, much more easily then random ssh/bash scripts.
In other words, they had to support iOS 6 on 3GS, but for iPad 1 it was optional. Hence they didn't support iPad 1.

It's mostly strange because iOS 6 didn't really add any performance-critical changes, it was mostly changes to iCloud. Unlike iOS 4 that added multitasking, for example. Well, the new Maps.app is likely more demanding than old one, so perhaps they kept back the entire iOS 6 because of that.
Like you already can in the spotlight searchfield? :)

Cmd+Space, 1+2
I think the article linked to below is about as good as there is about the Sweden nonsense. He has been charged with nothing for good reason and the case was dropped for good reason. The idea that he is under no risk of extradition to the US if he goes to Sweden is nonsense, their track record is clear. If it were about the case then remote questioning would have been fine and if there were charges to be filed they could have done. But it's clearly about getting him to the US and muddying his name with vague allegations that resonate with his core constituency on the left.
You'd be surprised, there are one or two people who are as blatant.

Just for fun, here are a couple of charts. (http://imgur.com/a/ywor0)
Sorry, wanted to try but I really don't get it.
Hot swapping is a prerequisite, but not sufficient for live editing (or live programming as I call it). You also need to ensure that you can have responsive feedback about your edit via framework or programming model affordances.

This is just hot swapping (as they claim), it's been around since before smalltalk.
What is your target salary? (Serious question)

I find very hard to hire good developers in the Valley. Offering 140k does not help much, I always have to go the long route (convince them we're growing, find a personal challenge etc).

Ryan Smith (Qualtrics) said the same thing: some developers needed 2 years of convincing.
100 Ivy League Entrepreneurship Courses for Free
Additionally these tools can take a host in an unknown state and turn it into what you want.
You're saying it is too simple of a regex to reliably match well-behaved js identifiers? Or is it broken in another way as well?

What would you suggest as a better test?
As with others on this thread, I question the rightness of "curing" this tendency. But you can certainly improve the way you harness it.

Something that's helped me: make sure you have multiple rabbit holes available at any given time. i.e. several problems, any of which is interesting enough to tempt you. Then you can make reasoned decisions about which would be the most rewarding to work on, while still giving in to the temptation of rabbit holing.

Another benefit: maybe by solving one problem, you'll discover the other was totally irrelevant, or a special case of the other. (At least for me, "Turns out I didn't need this to be perfect" doesn't carry much weight, whereas "Turns out I didn't need this at all" is quite convincing.)
Clever but it annoys me when I lose my rightclick ability.
Ask HN: Independently learning design?
I'm a self-taught programmer (iOS and some back end web). Here on hacker news and also on other forums and startup news sites, I always see information on learning to code. The standard routes are codeacademy, certain recommended books, types of projects to get started out on, etc. As recent as yesterday I saw a post on properly learning javascript. It was inspiring, but more so, it went in to such detail on a 6 week method one could follow.

Are the same sources out there to learn design? Books, apps, certain forums that designers look to (akin to stackoverflow)?
That is a good description.

I didn't get the button from the page alone - follow seems like the wrong word for that. For me, that is a subscribe-button for a rss-feed. Which is a good thing i would like to use for my own blog, as in my eyes the browsers went crazy in removing their support for feeds. This seems very helpful.
Thank you very much! I don't know how that slipped my mind.
My bad

Smoking and lung cancer - Tuberk Toraks
http://www.ncbi.nlm.nih.gov/pubmed/16100660/
I would like something like this for getting fields/values from nested Go structs.

Does something like that already exist, or will I have to write it?
How do you explain the fact that Google Voice Search on iPhone 4 works so good that its recognition is faster then Siri on iPhone 4S?
Oh, come on! Considering the approximately $2,000 price for standard commercial versions of Mathematica, MatLab, and Maple, the $295 for the home version of Mathematica is quite reasonable. If you want to freeload, get Sage (which is quite good, btw).