skysight-inc/HackerNews huggingface dataset:
Somebody should invest in this card game
I have found this game on a forum, it's in beta and although still buggy it has some appeal for Magic's fans.
I have played for a while and is quite addictive, somebody should put serious money into this game.
Cheers.
Right now, the forest officials are struggling to preserve the remains because tourist often like to take the skeletons back with them as souvenirs.

I that's happening, it is surprising that tourists can pass through customs with human remains, undetected.
Urban Chinese entrepreneurship is booming
Kind of feels like a round hole, square peg kind of complaint (Go doesn't really even pretend to be like Java, and Java has an exceptional level of abstraction for these sorts of things), but it probably would be nice to have a canonical way of annotating known interfaces implemented.
to be honest, the shocking news is that yahoo® even had such a position.
I find the scary situation that the educated, passion filled people might not be able to sustain the uneducated, solely desperate people when all these 100s of millions of factory workers are no longer needed (for whatever reasons, but robots seems likely). In India, the people I knew from 10-15 years ago who started booming software companies are firing / closing their doors because the prices are the same (or higher) as in parts of europe and the US while the quality definitely is not. The latter is communication barriers, culture etc, whatever, it happens a lot though. My friends are really desperate from work, unable to provide the higher quality requested by companies in the west while, on the other hand, also unable to provide the prices which makes lower quality attractive (to some).

I'm more into software development than manufacturing, but I would assume similar (and other) cracks are appearing in China as well. Especially with cheap(er) robots (also used in the west) and optimized factory processes.

Do you know examples, besides these inventors which are (probably) exceptions, of Chinese passion/energy attacks? The problems we hear about usually are huge projects which either are abandoned after building (unsafe, unusable) or destroy massive parts of nature and get people thrown out of their houses by the state. Both I wouldn't consider attacking big-ticket problems; former does nothing, the latter replaces one problem with a few others. But that might just be propaganda which is peddled in the west to 'educate us'. I'm eager to see good examples.
Absolutely - I think YC's overall "consumer surplus" is over $10b, since it somewhat changed the game for early stage startups in general, not just startups in YC.
I was in your exact position a few years ago.

The problem here seems to be that you're relatively new to Unix. The trick is to be humble. Don't work with Boxen, ZSH, vagrant, or any of those exotic tools. They won't make sense until you roughly understand the *nix model.

Instead, start with the basics. As in start from scratch. Teach yourself to use OSX the same way you might teach your mother to use a PC. You absolutely need to grasp the basics before you can progress.

After that, work on your command-line fu. Force yourself to use the terminal for all the simple stuff. Learn to write simple Bash scripts.

Then, pick a language and try developing scripts with it. Use your new-found command-line skills to set up your development environment. I personally chose Python - it's really newbie-friendly.

After that, it's just a matter of practice. Trust me, you will get there eventually :)
I've went for 2 years to math uni, then for another two to physics uni, then to music academy for, again, 2 years.

So, technically, I haven't finished any of those, but what I got from each - a solid advanced introduction to the field - is what I really wanted, all in goal of making me a good game maker and a well-rounded person. So, I consider them finished. With pretty good GPA to boot.

Only reason I didn't go to art academy too for 2 years is that I already considered myself proficient in the field.

Point is, you cannot finish if you don't know what your goal is.
Tell your customers whats new with your service automatically
China replacing US as a superpower power would only be the world returning to its normal balance: from the dawn of time till two centuries ago, China represented half of the world's GDP...
Get free airtime for free calls on MTN network [hot]
Ran Raz proved that Matrix Inversion is O(n^2 lg n), ref: Ran Raz. On the Complexity of Matrix Product. SIAM Journal on Computing,
32(5):1356–1369, 2003.

Based on that I deduced that Matrix Multiplication is O(n^2 lg n), http://amundtveit.info/publications/2003/ComplexityOfMatrixI...

Regarding even faster operations, it has been hypothetized that all matrices are Toeplitz or Hankel (which have O(n lg n) algorithms), ref: D. S. Mackey, N. Mackey, and S. Petrovic. Is Every Matrix Similar to a Toeplitz
Matrix. Linear Algebra & its Applications, 297:87­105, 1999.
But that was proved to not be the case:
T. Amdeberhan and G. Heinig - http://www-math.mit.edu/~tewodros/georgmemoriam.pdf
Interesting, please expand on that. You say that I invalidated my argument but provided no explanation for why.
Amazon only has prices going for it.

And for all groceries i looked up, even wholefoods have better prices... So either they are still figuring it out, or they already settled for the small convenience crowd that doesn't care for price
Traditional Chinese Festivals, Festival Events in China
China boasts time-honored culture. When studying Chinese culture and custom, Chinese traditional festivals are what can not be missed, which is a vivid reflection of Chinese culture. Some traditional Chinese festivals are introduced here, such as Spring Festival, Lantern Festival, Tom-sweeping Day to Dragon Festival and Mid-autumn Day. Read these Chinese festivals and get more idea about Chinese culture.
This is a beautiful book -- thanks for pointing it out! It's a graphical and mathematically light introduction to many of the areas in which fractals / space-filling curves intersect with programming, even if it's not explicitly pointed out.

For example, on their page covering Node-Replacement Curves[1], they mention both Hilbert Curves and Z-Order Curves. They don't describe them heavily there, but they're used in many spatial databases to allow for efficient indexing of two or more dimensional data.

Google Maps[2] for example uses Hilbert Curves internally to allow for fast querying of queries such as "shops within 5km of your house". They've also open sourced numerous libraries that perform these calculations[3][4].

The book interface itself is also quite nice, though I still prefer the PDF copy you can get by hitting the Information button (i) on the top right.

Edit: Wow. I thought that PDF was taking a while to load: the PDF is over 200MB. Maybe best to explore the book online!

[1]: http://archive.org/stream/BrainfillingCurves-AFractalBestiar...

[2]: http://www.vldb.org/pvldb/vol4/p290-venetis.pdf

[3]: https://code.google.com/p/s2-geometry-library/

[4]: http://google-opensource.blogspot.com.au/2008/08/uzaygezen-m...
I think the comments to the article draw the correct conclusion - the author mixed up circumference with diameter, and the hail would have been 'only' 3 inches. Still pretty deadly, but not quite as terrifying as being bombarded with rock-hard soccer balls.
15 Famous Living Trees
Graphs are less useful without scale.
Same here. It's not obvious one has to scroll!
My experience with Drupal is:

1) Okay, this is a decent system for people who can't code to cobble together a mostly-working prototype of the thing they need, so long as they're flexible enough to work with it.

2) Why aren't my clients flexible enough to just do things the Drupal way.

3) Why should they be? My agency sold them bespoke development, and their UX (both administration and end-user) should honestly be better than this, and adjust to their needs, not the other way.

4) Jesus Drupal makes deviating from the beaten path miserable, but it pays well and I've gotten good at it now so I guess I'll keep on truckin'.

5) Breakdown. Giving into the evidence that it seems easier to build up from a framework with nice tools and decent libraries than to chisel away at awkward building blocks, even free ones.

Currently though, cleaning up messes and adding missing polish to Drupal projects created by people who are still at step 1 is continuing to be a financially responsible decision.

Drupal's building blocks though, do have two important uses:

They give developers who have no right to be coding a way to be productive, and the people who employ them some insurance. Brogrammer gutter rails.

There are truly miserable projects that shouldn't have budgets to do bespoke development and have nothing at all unique about them, that can be built in Drupal with zero code. CRUD legos.

Neither being of much interest to me anymore.
This Is What Winning Looks Like – Afghanistan War Diary
Cached version:
http://webcache.googleusercontent.com/search?q=cache:http://...
I spent $100,000 last year on Google AdWords - it made me some decent money. The costs kept getting higher and higher - I called one of there advertising rep's to give me advice - it cost me around $600 losses in 1 day. Called back, made changes - told them I don't want to take 'risks' like that again. I then tried this 'Enhanced Campaign' feature that I think they're bringing in across all accounts in June - it put me in the negative and I'm now no longer advertising with them.

This part hit the nail on the head:
"(suggesting ridiculously high default bids, goading you to bid more to get on page 1, not showing your ad at all if you bid too low – even if no other ads appear etc)."

Every time I'd call they'd say up your 'Cost Per Click'. Every single time.
mine is a regexp
"Last week I decided to start going through some of the popular Go tutorials"

I assure readers that this kind of problem is only faced by beginners. If the author approached the problem from the other direction, i.e. by asking "how do I extract a file's contents?", he would have looked up the documentation for os.File, and found it had a Read() method.

It's not often that you come across an arbitrary interface you have to implement, but aren't sure what to provide. If the documentation doesn't say, then presumably there's an type in the same package that you're meant to use. If not, domain-specific knowledge will help.

In this case it's necessary to have a basic idea of the way the standard library works - which as a beginner, the author doesn't have.

We rarely want a list of all possible types that can implement an interface. There are many different types that implement io.Reader in the standard library, it's not necessary for any particular package to be aware of all others ("slick"). And anyway, your editor might be able to help.

http://golang.org/pkg/os/#File.Read
Unless you're a total hater, this is an amazing achievement no matter how you look at it.

I just have one concern, however.

Like most people on HN, I have a ton of respect for PG i.e. how smart he is, his willingness to share his knowledge with the world, and the way he has helped change Silicon Valley for the better.

However, what happens if/when PG decides to hang it up? OR if "God forbid" he's forced to hang it up like e.g. Steve Jobs?

Some cynics accuse YC of essentially being a (benevolent) cult with PG as the guru with his own cult of personality. I wouldn't go that far, but you can't deny that PG essentially IS YC and without him it may be very difficult to maintain this kind of success, much less scale it.

I have no affiliation with any of these accelerators and forgive me for overgeneralizing, but it seems like 500 Startups and/or TechStars, while not quite as heralded as YC, have done a much better job of hedging this kind of risk via a much more decentralized network with multiple mentors/"gurus" in multiple cities.

So I have two questions - (1) PG, do you ever see yourself "moving on" and starting something brand new that is not YC-related, and if so, (2) what is the "Steve Jobs contingency plan" for YC?
Massive NSA Utah Data Center Will Have 5 Zettabytes Of Memory
Fresh delivers same or next day. These fleets are stacked LIFO and sent on optimal routes which touch many customers. There's no reason they can't carry a mix of products.
Sea cucumbers are very expensive, and the taste is so-so. As the story goes, an emperor did not have offsprings, and his physicians said he should eat those sea cumcumbers in large amounts, and his chefs managed to make some eatable recipes out of this thing, which became a part of the Chinese Imperial Cuisine.
Website is working again
Even the chief architects have little to say on technical decisions on a company this size. I'd bet that you are correct, just a token position put there by former ceo. I'd also bet Terry semel on this one, as he created positions for pretty much anything he didn't understand (ie everything)
Looks pretty, but I won't log in with Twitter yet, and I'd like to know what your price is.
From the linked http://andrewchen.co/2012/04/05/the-law-of-shitty-clickthrou...

When you are marketing with useful information, then CTRs stay high.
It's only hard to navigate because the linguistic relativity of the languages you're used to programming in. The world as seen through Go is not conceptually comparable to Java-like languages, thus it is difficult to navigate with a java-like worldview.
Thanks for the feedback aaronbrethorst. We just rolled out the public beta - https://twitter.com/prateekdayal/status/338902263802236928 and a friend enthusiastically posted this to HN. We are still working on the pricing but there will be a free tier.

We would love for you to try it out (we ask for read permission from Twitter). If you signup and send me an email saying you signed up from HN, I will put you on a free three month account. Thanks
>In India, the people I knew from 10-15 years ago who started booming software companies are firing / closing their doors because the prices are the same (or higher) as in parts of europe and the US while the quality definitely is not.

I don't know from where you got this data. Because I'm an Indian, staying in Bangalore. If anything the demand for programmers is only increasing by the day. There is lot of demand of work inside India. These days you don't have to get the project from the west.

For every failed case of an outsourced project I can list tens of successful project executed at shoe string budgets. And beyond all this, you think outsourcing was scary? According to me outsourcing was only a way to get an entry into these things.

I've been meeting and talking to a lot of entrepreneurs here around in Bangalore circles. And I can tell you the product and start up scenario is set to go places in the time to come. Its no longer your 'college -> outsourcing company' situation anymore. There are plenty of awesome folks doing start ups. There will be failures initially, but progress is the only forward. Besides the India as a nation is itself rapidly transforming itself. Its a big nation and has its own problems, but with every year things are only getting better and will continue to.

I don't much about China, but I see things might be pretty much the same there.

>>Both I wouldn't consider attacking big-ticket problems

There are plenty of big-ticket problems we doing here in India. We had our first mission to moon, another planned to launch soon. There is also a mars mission. Some years back this would be unimaginable without the help of a country like US.

But again we are only getting self sufficient by the day.
There can definitely be a problem here if you've built very complex interfaces - but that isn't the "Go Way." The documentation suggests make one- or two- method interfaces, with interface names that suggest the methods you must implement. The interface name is the required function + "er". Hence if you have an interface "Peeker" you can expect that the method types must implement is "Peek".
It's against Google's ToS to share detailed data, I believe.
You can host the source and eggs on another host, e.g. Google Code or Launchpad instead of PyPi. Setuptools is smart enough to follow the download links there. This won’t solve the delay if you bump the version number though.
To say I disagree is a massive understatement. I've seen teams try to use wrappers and just mess everything up because they don't understand what's actually going on in the underlying system.

Git has the concepts it has because they're all important. It shows them all to unfiltered because to do so is vital.
I had another experience. I had an S3 (with CM) then an HTC One for several months. Now i am back on iphone 5 and i feel it's more intuitive, fast and reliable. But i miss the openess...
Gist of custom Live Templates for WebStorm
Ask HN: So, I need regular expressions...
I understand that now I have two problems. Actually, since I'm trying to use these regex through Applescript, it appears that I have three.

I've tried using Smile from Satimage, but I can't seem to establish an environment in which I can run a regex on the text I have (which is in QuarkXpress). I can text that my expressions work, but I can't make manage to have them applied to the text in Quark, much less change the text.

Structurally, I feel I understand what I need to happen: activate Quark, select the document, find the offending text (given the regex parameters), replace the text (if it meets certain conditions), else ignore the text.

My goal is to script the editorial style guide of the magazine I work for, thus side-stepping a lot of formatting/spell checking that we do, so I can focus on fact checking.

I have a script that already does the formatting, actually, but I wanted to write it in regex so that it might run faster and fulfill a more goals. For example, we switch all manner of words with the letter 'z' to a spelling with the letter 's', as is customary in British grammar: "analyze" to "analyse", "capitalization" to "capitalisation", you get the idea. I've had trouble with my script thus far, because it introduces certain errors (ie. "size" to "sise"). I thought regex could prevent this, and that if I could learn it, I could go on to solving other, more complex, problems. But at this stage, I can't even get a script with regex in it to launch and work on the text.

Ideas?
Living in a 3rd-world socialist country has taught me one thing: "you do not multiply wealth by dividing it." Capatalism breeds in an ethos of elitism, the ratio of motivated:lazy seems to be driven by the possibility of dire failure.

Put another way, my government spends ridiculous amounts of money (as much as 20% of the salaries of the earners) on "people," and all they get in return is an unmotivated nation. The only people that are truely motivated are the demographic that are excluded from the government assistance (and I think that they would stand to be unmotivated in the event that they government gave them money instead).

The only way to transform the economy would be to give money to people that are deeply motivated; people who do what they do because they believe it is what is needed (religeous for want of a better word). The problem is that those people need to be identified.

Instead of discussing "give everyone money," I think it's better to instead discuss "identify who deserves gratis money." Universities play a pretty big role in our current grant system; unfortunately they are broken beyond all hope - they are doing a terrible job at it.
Ubuntu UFW Firewall - Uncomplicated Firewall for Ubuntu
The title seems misleading to me. I thought Adwords was losing it's profitability to Google.
Simon I agree.

However, imagine having launched Radfan March 2012 in a beta stage, inviting people to test the product at a reduced rate of purchase and report faults for you which only users would have picked up?

It would have enabled you to launch Radfan fully to the public without serious problems and would have made it possible for you to focus more resources on the marketing than to sit back for the first month and fix problems that arose.

Radfan looks like an awesome product for preventing hot air from escaping and actually going in the direction that you need it to. Good luck mate.
The cool quotient, in this case, is not governed by the amount of money you make later but by the satisfaction, excitement and thrill of risk associated with working in a startup. Not to forget, more often than not you also tend to learn a lot more in a startup than the usual big corp job.
I agree with the OP. The root of the problem, as I see it, is that you can't state in the documentation which interfaces a data type implements, because the interfaces may be declared outside of the "field of view". I think Haskell's solution to this problem is particularly elegant.
I'd like to see some more general unsolved problems concerning big code bases, programming languages, etc. Examples:

- Object-relational impedance mismatch

- MVC (solves only half of the problem)

- Global state

- Schema vs schemaless data stores

- Raising exceptions vs returning error codes

A good sign of an unsolved problem in this regard is that programmers go back and forth between solutions, forgetting the downsides of the previous flavour while enduring the downsides of the current flavour.

Very often, one new solution pretends it will get rid of complexity, but the actual complexity is just moved a bit further behind the carpet.
If the OP's premise is extended to all others in his peer group, I read this as the implied "long-run" outcome. Whether that's true or not is another argument...
is there a difference in routes between the grocery shipping and UPS ?
I think that was the OP's point really. But you're right in that it has already happened with DRM - rootkits are just the natural next step in this direction.
How long list of Pinging Services could hurt your SERP
Exactly, his issue could (and eventually probably will) be resolved by added "interface implementation awareness" to tooling such as gocode (the IDE helper) or GoDoc.
Fitocracy Users Come For The Gamification, But Stay For The Community
Are there usually this many backwards-incompatible changes? In the past I've usually been able to upgrade Django without having to do any significant changes in the code.
very intersting link. the article mentions the possibility of pypy removing the GIL. Could anyone explain what's so difficult with GIL removal in general, and how,come pypy theoritically has this possibility while cpython does not ?
Well, design and other professions can be selftaught without any problem as long as you know what to learn and have time to practice.

Since design is a very large area, I assume you want to learn how to design stuff that would be later in Internet, so it will be better to learn (in this particular order): typography & grid systems and colors. When you master these areas, you can go to the stadium of the composition with color and form, where you will learn to draw.

90% of the design of an application through the use of typography, the arrangement of elements on the screen using grid systems and interactivity. The rest is cosmetic. You can master cosmetics later learning to copy styles and practicing to master them. For example, being able to illustrate, in this case, it's a matter of drawing, not doing extreme typography use, but that's another area of design.
Faye vs. Socket.IO (and Juggernaut)
> I assure readers that this kind of problem is only faced by beginners.

No, this problem is faced by anyone that needs to read code code written by other developers.

If you are faced by a code base written by a team of 30+ developers, good luck trying to find out which types implement which interface.

At least LiteIDE (http://code.google.com/p/liteide) is a possible help that eases the problem.
When it comes to venture capital investing, you take your "unfair" advantage and leverage it to the hilt. It doesn't make sense to hedge your bets with a decentralized network of partners.
You can edit your comments on HN, right?