skysight-inc/HackerNews huggingface dataset:
Is Kragen making an elaborate joke about duck typing here?

Penguins don’t implement the “fly” method that can be found in birds.
And you don’t go around causing things to fly without knowing what kind of bird they are. (Ducks themselves decide when they want to fly, and they certainly seem to know they’re ducks and not vultures.)
I wouldn't recommend adwords, they're not cost effective for what you're doing. Reddit's probably worth a shot, especially at the "we're looking for feedback" stage.

You should also be A/B testing everything, from your front page to the emails you're sending out to bloggers. Test radically different messages and see how they work out, try offering free licences for bloggers to give away.

Comparing yourself to other products is an approach that works well, "Ever wanted Shoot'Em-Up Construction Kit for the web ?", etc. might work well.

Also don't be afraid to look at what competing products are doing to promote themselves and doing the same things.

You should get feedback from your users as well, consider installing something like kissinsight and emailing users a few weeks after they've downloaded it to get feedback. Have you looked at the analytics for your search box to see what people are looking for ?

Something else you might want to consider is why not remove the technical limits from the free version but instead just insert a promo for your tool into the game ("this game was constructed with x") and include a link back to your homepage. Lack of publicity is more likely to kill you than anything else, if someone writes a popular game with the free version then the promotional value of that is worth far more than the $30 you'd get from a sale.
You can explain is-a using examples that actually make sense to model using inheritance, like a set of game objects that have an interface like:

class GameObject {
public:
// Called every frame to update the object's logical state.
void Update(GameState* state);

// Called to draw the object.
Draw(GraphicsContext* context);
}

class EnemySpaceship : public GameObject { /* ... */ };
class SpaceDebris : public GameObject { /* ... */ };

The point is to move the discussion into the practical reasons for introducing inheritance, rather than to make it a pointless ontological exercise of whether a Square is-a Rectangle or vice-versa.
I'm curious about the privacy issues around this. Can your chats (and browsing info) be traced back to you?
The front page is nice. It could use polish, but that's usual. I think the visual emphasis on the "Learn More" button is the main thing that needs improvement; it's easy to overlook due to proximity and visual similarity to the download button. The secondary nav bar could stand to be de-emphasized slightly. I think a bit more space above the "Create/Export/Play" headers would smooth the layout a bit; the shape of the is slightly conflicted at present and this might address it.

The "Learn More" page is the part that needs to switch focus from products of the tool to the use of the tool. The "Construct" tab in the primary nav bar should also be renamed "Learn More" - or both to "How It Works" etc. - so that it clearly communicates the action needed.

You likely have two main groups arriving at your main page.

1. People who know what your tool is who are there to download it.

2. People who have been convinced to check out your tool and who want to quickly get a grasp for what it will do for them.

The faster you satisfy these people, the happier they'll be and the fewer bounces you'll get.
Big opportunity, big dilemma
"I would recommend making this as easy to gift as possible"

That has been the most requested thing in the past week. I think we'll have to make a splash with some kind of gift card come Holiday 2011!
Heh, I agree somewhat that the Duck>Animal is a bit annoying.. but this:

Here’s an example that I think would be better to use instead: the
`Visible` hierarchy in [Pygmusic][], which is a kind of software drum
machine. A `Timer` is a horizontal strip on the screen with a stripe
racing across it. A `NumericHalo` is a spreading ripple on the screen
that fades. A `Sound` is a thing on the screen that makes a sound when
a `Timer`’s stripe hits it. A `Trash` is a thing that deletes `Sound`s
when you drop them on it. They all inherit from `Visible`, which
represents things that can be drawn on the screen and perhaps respond
to mouse clicks or drop events, but they do different things in those
three cases. In addition, the `Trash` and `Sound`s are subclasses of
`ImageDisplay`, because the way they handle being drawn is simply to
display a static image, so that code is factored into a superclass.

Is by far worst.. The goal of the Person or Duck is to pick a trivial example to explain some concept. Of course you're not building Sim city and that it will be totally different in real apps.

Also, it's true that inheritance is often the wrong solution and could arguably be said that it create more problems than it solves. However, before understanding all the pitfalls and the why/why not of inheritance, you first need to understand what inheritance is!

So, instead of shooting someone who give an example with a Duck to explain OO, let just say that this tutor should say beforehand "Let's take a trivial example to understand the concepts of OO. Later on, we'll see why this is not always the preferred solution."
Good grief, talk about manufactured scarcity.

I am a senior developer who takes on side work, but I'm too busy working on client projects to be watching your Twitter feed all evening and pasting in codes hoping that one works.

Why not just post an invite code in the thread that's good for 24 hours?
@jordanlev So we have tried ordering prints from a few other big digital photo printing sites. First thing that you will notice is that everyone uses much thinner quality paper then we use. We use heavy Luster Fujifilm photo paper, much thicker than many others. Our photo process is lightjet chemical process, most other companies use either a digital or inject process which is not as good as chemical photographic process.
We are also putting in a lot of effort in package design and are going to be experimenting with designs over the coming few months.
Similarly, things that have configuration files that aren't in python, lua, etc... are significantly harder to use.
Does Skiena's book contain solutions to the problems? I love reading Cormen but iirc there are no solutions to the problems. Programming Pearls is awesome too... there are solutions to many of the problems (but not all). Ironically the most helpful book I've read is Programming Interviews Exposed. This book contains solutions that are explained very thoroughly.
I seem to have broken the signup (or, more likely, you may have) - after trying new tokens w/o success for a while, I was presented with a login strip across the top of the page with Chrome's guess at my password. But the login doesn't actually work - and yet I can't get to the signup page again either.

I allowed Chrome to save the password on this final step, so that might be the problem.
How StumbleUpon Drives Over 50% of Social Media Traffic
this could be very bad for analytics apps
Saw Subbu speak at RestFest on Saturday. His talk seemed to promote REST as a set of constraints which produces a set of benefits. He argues that choosing a subset of constraints to achieve a subset of benefits is perfectly valid.

I would add that you must first have a deep understanding of the constraints and their associated benefits in order to make those types of informed decisions about your system's architecture. In my experience, the constraints are so orthogonal that a great number of the benefits of a system created using the REST architectural style only become evident in the overlap as the constraints empower each other.

Combining these constraints can elicit new benefits.
Nazik Al Malaika
Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika , http://www.psdmate.com/2011/08/22/nazik-al-malaika/ , Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika , Nazik Al Malaika
That's because it's a classical chicken and egg problem - the idea is only valuable if a lot of people use it.

Here's a back-of-the-envelope calculation:

If I go to Hacker news, what are the chances there'll be someone to chat with? Well, according to http://www.internetworldstats.com/stats.htm there are currently around 2 billion Internet users, and if we assume that at any given point 10.000 people are on Hacker news then one out of 200.000 global users are available to chat on this site at this moment. What this means is basically that unless you have an installed base of millions there will be noone to talk to. And you won't get that base because there's noone to talk to...

It's simple math, and noone seems to do the numbers before they launch something like this.
ORD to HNL 12/28 to 1/5.

Hipmunk: $1092.
Kayak: $917.

(Both reservations have one layover in each direction and include tax. Kayak sends me to United.com directly while Hipmunk takes me to Orbitz.)
I don't understand how git is a backend at all; I can manipulate all of the data (text files) without needing git at all. Compare with a wiki, which requires some sort of backend to work with any of its data.

When I use git in this sense, I'm talking mostly about version control and backup.
Pretty Little Liars Season 2 Episode 11
Pretty Little Liars Season 2 Episode 11 "I Must Confess" : Will be aired on August 23, 2011 at 8:00 PM on ABC Family.
Here is a summary of the Pretty Little Liars Season 2 Episode 11 "I Must Confess":
After being pushed around,
What Makes Educational Technology Successful in the Developing World?
The fact it has users actually makes it a negative-revenue company, since every message the users send costs GroupMe money. At 100M msg/mo, that's probably a bit more expensive than keeping some servers running.
Or, more realistically, less benefit for people they don't like.
If it teaches people to think of object-oriented programming as world-modeling, it is not a great lesson. Polymorphism is an abstraction technique whose goal is substitutability. "Car extends Vehicle" is useful if other kinds of Vehicles can be substituted for cars.

If you teach someone that there is value in making Car extend Vehicle just because that expresses a real-world relationship, you are teaching exactly the wrong lesson and your students will create overly complex inheritance hierarchies.
The pricing is insane. I just looked at one of the projects I worked on, at 300 req/sec, this will cost $1080 per hour or $25K/day (if I didn't mess up the math). Seriously, who is rich enough to pay that much?
The new TechCrunch website is Ugly
I've read both books, and I think that they're aimed towards different audiences. CLRS is aimed towards computer scientists. It offers a fairly rigorous treatment of algorithms, mathematically proving correctness and performance. The Algorithm Design Manual, on the other hand, is aimed at programmers who are willing to take claims of performance and correctness at face value if it leaves room to discuss further optimization and compositions of algorithms into solutions for problems.

EDIT: Though, that's not to say I wholly endorse CLRS. I think Knuth's The Art Of Computer Programming is more detailed and more mathematically rigorous than CLRS. Unfortunately TAoCP is multiple volumes, while CLRS manages to be a single (substantial) volume.
I've made heavy use of Spirit, see: http://news.ycombinator.com/item?id=2912729

You are correct in that Spirit is difficult to debug, but that has nothing to do with operator overloading. That has to do with its extensive use of template metaprogramming and C++'s lack of concepts (http://en.wikipedia.org/wiki/Concepts_(C%2B%2B)). If they switched the whole library over to using named member functions, the debugging problems would still be there. And concepts would go a long way to preventing the compiler problems.

I've looked at boost::lambda, and decided it was mostly a novelty. How far towards a real lambada could you get without lambda support in the compiler? That far, it turns out, which was not far enough. The rules I had to remember to use it in non-trivial situations was more effort than it required to write a one-off function object. While I agree boost::lambda is more trouble than it's worth, I haven't seen or heard of terrible things happening because people used it.

I also think it's worth noting that many Boost libraries are purposefully on the edge of what is possible in C++. It's like a refereed sandbox for experimenting.

I've also had no problems with << and >> as the stream read and write operators. But, I also have no experience with internationalization. I don't see any obvious problems, though, what are they?

It's possible I've seen about the same amount of C++ as you (perhaps in some different areas) and come to a different conclusion.
Ready For A Steampunk Costume?
Browsers rest too much, REST lesser
> Do you agree with my contention that there are always going to be some semantically wrong bits of code that cannot be automatically detected by the compiler, or that it is awkward to do so?

It seems to me that answering this question is more or less exactly "arguing whether Haskell’s typing beats Hungarian notation," although of course Haskell type systems aren’t the only possible alternative. For example, any number of templating systems in languages like Python use late-bound method calls and run-time type checks, instead of static typing, to avoid cross-site scripting errors.

The problem, to me, is that Hungarian notation (and other coding conventions) only helps you detect semantic errors in cases where the errors can be detected by shallow, local analysis — exactly the kinds of errors that can be detected automatically by a program, either at compile-time or run-time.

So, what do we do about the deeper errors? Well, I don't know. I don't think abandoning coding conventions is a solution — I still want the code I read to be written in a predictable style, so that the variation in it is semantically meaningful — but I don't think coding conventions can do a better job than software of detecting errors.

However, if I were trying to write a GUI on a 1-MIPS machine with 1 MiB of RAM in the late 1980s, it might work better to do a bunch of that checking by hand (with Hungarian) than to try to invent a better programming language that does the checking for me automatically.
lol...i wrote it, its not a scam its just an app. Few $ here and there from adsense and thats all i get out of it :-)

Post to your wall is optional (as is sending you an email), it can be disabled in the settings.
Spez, it took me no time at all to find a flight cheaper on Kayak than on Hipmunk. From Chicago to Honolulu (roundtrip) on 8/26 - 8/28, Kayak's cheapest rate is $936 total while Hipmunk's is $1063 total. This was my second search comparison between Kayak and Hipmunk. Not to be an ass, but this wasn't difficult at all, so you might want to incorporate some stricter testing before just saying that you "should have the same fares as everyone else online". Asking HN readers for examples when it's this easy appears as if you haven't done much testing and as if you're getting us to test for you.
Is "Spaceship extends GameObject" really that different than "Duck extends Animal"?
Most of the benefits of OO programming come from abstracting the machine / concerns (eg. MVC) rather than modeling the domain. (eg. Cars / Ducks / etc).

I know it's just an example but it raises several important questions:

Why does the GameObject need to know how to render itself?

Why does the GameObject update the GameState which the GameObject is ostensibly also a part of?

Does updating the GameState directly affect the ability to separate concerns as to whether the GameState being modified is local vs. remote?

When you start modeling domains it leads very easily to situations where you have hardcoded permissions for the Manager class instead of bothering to implement a permissions system. Or you have a CEO class that's a singleton. (Hopefully, your code doesn't have to work at RIM)

The code savings from

class DeathStar2 : DeathStar {
public override FatalFlaw(){}
}

is going to pale in comparison to

class DeathStar2 : Object {
acts_as_travelling_salesman
has_many :laser_turrets, :max => 1024
has_many :tie_fighters, :max => 2048
}

when applied over many many systems and objects. Modeling domains is to modeling concerns as algebra is to calculus. Most things in life despite their appearances are not hierarchical and thus do not fit well when modelled explicitly using a class hierarchy. Showing people how to model a domain is easy but virtually useless, showing people how to model concerns is hard but is where the big payoffs are.
Recurly.js library released for secure, customizable checkout forms
That reminds me of what happened to "Object Oriented". First, Alan Kay coined the term, having something like Smaltalk in head (emphasis on messages, and a strong dislike of unchecked side effects like setters and the assignment statement). Then the term was subverted, and we got C++ and Java (emphasis on classes, and a near-total disregard for the problems of pervasive side effects[1]).

My point is, we should be careful before we corrupt a term. Doing so corrupts our perception of the concept itself. And if it turns out the corrupt concept is less help than the pure one, too late : it's already popular.

[1]: That assignment thing really sucks: http://www.loup-vaillant.fr/articles/assignment
Study shows powerful corporations really do control the world's finances
This is a bit misleading, there are a ton of companies that make network surveilance equiment and sell to various governments. These same systems are also used to track down viruses, hacking sprees and other truly bad things. Nokia aided tortue as much as the internet enables credit card theft...
Is there a site that will alert me when flights are a certain price?
Any of you folk know of a flight booking app where i can basically say, "I want to go to this place, I dont care when, alert me when prices drop below $x". I know a while back there was a fare tracker that accomplished something like this using perl and kayak's API, but it's since been disabled. Is there something similar out there?
Reserved for particularly heinous breakages of the regression tests, perhaps?
SimpleGeo Cofounder Matt Galligan Steps Down
I actually think these are really good examples. I especially like the shape example, because you quickly run into problems where you can talk about the difference between modeling for a solution and representing an abstraction.
In a dumb Editor:

1. Ctrl-shift-Right to select (1 or 3)
2. Ctrl-C copy (1 or 2)
3. Ctrl-H Open replace dialog box (1 or 2)
4. Ctrl-V Paste the old (1 or 2)
5. Tab (1)
6. A_NEW_WORD (10)
7. Enter (1)
8. Replace (1) x10 (or Tab + replaceAll == 2)
9. Escape (1)
-------------
Total 27 or 32
That >80% Better.

On an intelligent IDE:

1. Right Click Key (1)
2. R - to choose refactor (1)
3. R - Rename (1)
4. A_NEW_WORD (10)
5. Enter (1)
----------------
Total: 14

I still want to learn Vim, because I somehow find it 'artistic'. There is some inherent beauty in Vi that I would love to be a part of. Unfortunately, the learning curve is fairly steep and the fear of losing productivity for 2 weeks is too huge. I still use vi for small changes, but for coding I find eclipse a more useful tool.
Thanks for this code. We'll look over it carefully to see if there are some tricks that we've missed.

But we've tried many libraries, and many approaches, to monitoring and debugging javascript. The browser is a much more hostile, varied and foggy environment than (say) Python. It's much harder to notice when something goes wrong, which browsers and which pages it's common to, narrow it down to the right subset of circumstances and contexts, and then effect a fix.

You can try sending an email every time you catch a window.onerror, but most of what you receive will be irrelevant or inscrutable.

If Proxino can make more sense of things, they could make a huge difference to rich-front-end development.

[I don't know them, I've not yet checked out their product, I'm just trying to persuade you all that they're trying to solve a meaningful (at least to me) problem]
The Glee Project Season 1 Episode 10 | Television News Update
Thanks for the advice! We have ~£100 of free AdWords credit so might as well use it, see if we can get any value out of it. I'm curious why you think Adwords isn't cost effective though? I've heard this before and find it hard to believe (but then again my experience of running ad campaigns is minimal!)

We have identified a couple of techniques our competitors used effectively and fairly cheaply so are going to explore those as well. Search was one of our weaknesses, but I did a lot of reading on SEO and think I applied it pretty well (technical aspect), we're starting to see results from that but it's a slow process :)

We did explore a lot of options about technical limits/nag screens etc, we are going to be tweaking it and seeing what works and what doesn't! A/B testing landing pages is a great idea. I am keeping close track of it on Analytics and making small tweaks here and there constantly, we got the bounce rate from ~50% down to 25% which is good.
The only situation where I could see not wanting to hear the car extends vehicle example of inheritance is in an interview where you want the candidate to give a practical example of inheritance. I see nothing wrong with using an example even a child could understand as a first stab at explaining inheritance.

Fairly annoying how quickly a mostly useless rant such as this has jumped to the top of HN.
Surprising to see this via Bloomberg. Encouraging, too!
Self Igniting Molotov Cocktails
When made this way there are no open flames around the thrower. You will need sulfuric acid and potassium chlorate. both of these chemical are relatively safe to handle, simple to obtain, and reliable.
I agree, I bought this book a while ago and it's been one of my best purchases so far. A really great resource.
New NoSQL Language Unveiled As Debate Rages On
Scamming US Government Benefits
Single person testing on a single prototype device vs a team testing on a custom-built test device that was designed after going through and capturing the behaviors of many devices.

Guess which one will work better with a wider range of devices?
Which is why 'Russian Army' is synonymous with productivity and effectiveness.
Thanks, these are great ideas. Agree with you about more emphasis on the use of the tool quicker. And I also like your idea about Construct reading "How it works" I think that's a lot more inviting. Construct will be a bit abstract for a lot of new visitors.
Steam makes tons of cash from (relatively) cheap digital downloads. The studios are just way behind.

(In fact Steam probably makes most of their money from sales where hoarder-type personalities buy hundreds of games they never even play.)
Why People Hate James Altucher (by Ralph Waldo Emerson)
Unusually inflammatory and sensationalistic headline for Bloomberg.
I think http://zesty.ca/crit/ was the first (1997, also comments instead of chat). It took a less playful approach.
I also highly recommend Sedgwick: http://algs4.cs.princeton.edu/home/

I haven't read the new edition, but his older editions were very accessible. More for practitioners. For example, I don't think there were many, if any proofs (but I may be way wrong on that). A good amount of actual code though.
STSBET.COM อยากแทงบอลออนไลน์ เล่นบอลผ่านเว็บ เข้าเว็บ STSBET.COM ที่นี่
It works totally fine with 3.0.2 (the only OTA update as far as I know), but I can't give a comparison, sorry. I updated the same day I got the device so I'm not sure how 3.0 was.