skysight-inc/HackerNews huggingface dataset:
I think retail companies becoming more media oriented will be a big trend. Rather than buying ads on popular blogs, why not hire a talented writer and turn your own website into a media platform? For the cost one person's salary you could potentially develop a amazing community around your industry and product offerings. Makes a lot more sense than trying to buy attention one click at a time.
What if this wood was a tree in someone's garden? They have a sign up that says "help yourself to apples", they must mean it's OK to take the whole tree, right?
It counts for something with us-- probably more than school, for example-- because it seems like Google is a pretty good filter. But what we care most about is what people have built.
As an extended note, I think it important that you understand the underlying concepts behind type inference and type coercion, and then to understand how PHP uses those in various circumstances:

- Convert numbers to strings and vice-versa
- Compare strings to numbers
- Typeless versus typed comparisons (== and ===)
- Array keys using '10' (a string) versus 10 (a number)

Once you understand the type inference and type coercion concepts, it should be simple to pick up how it affects your PHP code.

Most importantly, PHP will generally do what's most logical/useful/expected when it comes to these topics, so you generally don't need to think about it, but you should be aware of it in any case.

A good reference can be found in the PHP manual, which gives you tables of comparisons between different data types in different situations: http://www.php.net/manual/en/types.comparisons.php
Thanks, not an intuitive option, but it'll do.
You know this is almost like spam filtering. Maybe use Bayesian filtering - look at credentials and other factors and then figure out if a candidate is spam or not.
Hmmm nice work (around) don't you wish php had attributes support...

Have you thought about using "named" variables for this sort of functionality without interfering with the commenting system.
Raising my hand as someone who's had a bad experience with an MMORPG addict on a team.
Would definitely have doubts about anyone who talked about the project management experience they gained from the game.
this is exactly what i thought when i saw the title on hn's front page. the domain name smells of pyramid scheme.

that said, when i went to the actual site it looks genuinely community oriented. this business guy seems both slick and businessy but also honest and genuinely interested in social good.

i don't know what to think. i like grassroots and community efforts, so i want to support what he's doing. cynicism holds back progress. nonetheless, i can't shake the fishy smell. he wasn't very clear about what he's looking for--is he donating to a good cause or looking for business partners (see video) !?

anyone else applying?
s/hack/spam
OSX doesn't match Win32 for security now, so I'm not sure this would be the category-killer you think it would be.
Silly example though, as threads are silly.
The premise that one language needs to "catch up" to another by adding more features is absurd. Languages are not like automobiles, which are better the more "perks" are added. A programming language should be as small as possible while still being able to express as many useful patterns as possible.

By this metric, Java and C# are both extremely poor languages. Java is not especially complicated, but it is far more complicated than is necessary for its (extremely small) expressive powers. C# is extremely complicated already (SQL as a first-class language construct? Really?), and is becoming more complicated, while still not reaching the expressive power of e.g. Scheme.
Automated DMs are wack. Most of the ones I get are not spammy, but the impersonal nature just makes it tacky and self serving. The people doing it think they are helping themselves with word-of-mouth by appearing interested in new followers, but when people realize the message is automated it has the opposite effect.
Hmmm, interesting. I didn't read that. Thank you, thorax.
"During the Bubble, a lot of people predicted that startups would outsource their development to India. I think a better model for the future is David Heinemeier Hansson, who outsourced his development to a more powerful language instead."

-pg

http://www.paulgraham.com/vcsqueeze.html
what's the minute mark when Eric dances?
Let me get this right.

This is an article by a guy who was told by a guy who
was told by a headhunter who was told by an employer
that WOW players are bad employees?

I wouldn't draw any conclusions from this.
What happens when you accidentally duplicate one and have to go through every controller looking for the culprit?
Actually there were a lot of surprises. That credentials are seals between generations; the distinction between direct and indirect methods of helping your kids; that sealing off direct methods promotes indirect ones; the emptiness of the explanation schools give of legacy admissions (which now seems to me as damning evidence as the practice itself); the precise connection between credentials, measurement, and organization size; the fact that falsely impressing colleagues in a small organization wouldn't have a lasting effect, because the organization wouldn't last; the reason the word yuppie arose, and the connection between startup founders and yuppies; that the spread of measurement would bring credential granters into line as well; and that the left, because their attachment to equality (of result, not opportunity) makes them dislike markets, have to fall back on a broken method of preventing transmission of power between generations.

I think the reason I didn't sound excited was the way this
got written. I started it this summer, didn't work on it
for months, and then started again in November. I rewrote it so many times that all that's left of the first version is the beginning, up to "Chinese example," and one paragraph in the middle that used to be in the beginning.
Not true. I prefer Photoshop over GIMP. But I use it so rarely, that if I had to pay full price for Photoshop, I'd just use GIMP.

Given my infrequency of usage, I'd be willing to pay some amount for Photoshop: $30 or $49.99 or whatever, but I simply don't use it $699 worth.

I do pay for all the apps I use daily, and thankfully they're all "reasonably" priced: MyEclipse, Transmit, Parallels, OmniFocus, OmniGraffle, OmniOutliner, TextMate, and so on.
This is covered in the screencast. One of the smart error messages that the framework gives is the location of any duplicate routes.
And THIS, I think, is the real problem facing newspapers.

Last month I sat for informational interviews with a handful of small business owners in a neighborhood I was thinking of starting a web site in. When I asked them if they were interested in advertising, their first response was sometimes, "but we have our own web site."

Gotta have something really special you can offer them.

That's why I like what Techmeme does, selling Feed space on the homepage. Clever.
Two mix two points here: cross-platform and general-purpose.

Java & Swing == General-purpose and cross-platform

Objective-C & Cocoa == C# & WinForms == General-purpose and platform-specific

At least in terms of their ORIGINAL goals.
That was my first thought too, since the Reflection API lets you get to the actual parameter names... However, I'm not sure off the top of my head how pretty URL's would be implemented(probably would have to use mod_rewrite). There's also the URL prefixes he's implementing. I think he's giving up the efficiency of mapping _REQUEST params straight to arguments in favor of more features/flexibility. My takes on frameworks went the former route (straight mapping + mod_rewrite), but I've since become less hardcore about being minimalistic with URL's.
Great! But "Smarty templating pover views"? Please don't!
sigh. This guy is intellectually dishonest. I tried to provide give two comments on his blog, both of which he _refused_ to publish because they point out mistakes he made. So instead, I'll just publish it here:

(1) DEBUG=False is not a fault of GeoDjango. By default when DEBUG is set, Django logs all queries put through the ORM. When you're using SQL statements with geometry values (which can be large), it's easy to exhaust the memory. I'll make this clear when I complete the docs prior for 1.0.

(2) You are using DWithin at your own peril. DWithin can use indexes cause because its a wrapper around Distance. Since you read the PostGIS docs so closely, then I'm sure you're aware that Distance returns the "cartesian distance between two geometries." If you're using WGS84 lat/lon coordinates, then you're also using a cartesian distance calculation method on coordinates in angular units. In other words, your distance calculations are wrong -- getting it right requires extra computation time.

(3) I've experienced problems with FastCGI, but have had no confirmations of this problem outside my laptop. My guess it's actually an underlying conflict with the latest version of flup and the use of ctypes. If you had taken this part of your post and placed it in a ticket it could be fixed; at the least a workaround would be provided.
[Update: this problem is actually not related to ctypes/flup -- see Django ticket #9437]

Finally, at no point did you try and address your problems by (i) writing a message to the django-users list, (ii) filing a ticket explaining your problem, or (iii) visiting the #geodjango IRC channel and simply asking a question. Open source software is not a one-way street. If you had spent as much effort on this gripe post as participating in the community then your bugs and/or questions would have been addressed.
Some needed features were left out just because they were going to take a long time to get right, and he had to ship.
http://blogs.sun.com/jag/entry/closures
A lot of companies use in-house languages with similarities to popular outside languages. Unreal script for example would be accessible to anybody coming from a traditional java background but it is different in some ways, i.e. polymorphism based on 'game state' as a built-in construct. A lot of other in-house languages look like Python. Some companies script with LISP and LISP-derivatives. In my experience most game scripting has less to do with programming and more to do with game design. If you are interested in solving algorithmic and engineering problems, it's not the way to go. Game programming per se usually involves hacking almost exclusively in C, C++, assembly and shader languages.

No matter which direction you go, the best way in is to show them a body of work even if it's unpublished projects done in your spare time. If you only want to do scripting work and avoid systems-level programming, you can get into modding.

As for the 'breadth of what you need to know' you shouldn't be terribly intimidated if you're a junior person. Most generalist programmers at a game company are not much different from very good systems programmers at other companies. If you want to get into specialized fields like AI, physics, or graphics, you will need to demonstrate that specialized knowledge.
Craig's List founder Craig Newmark live interview
Seriously. I played a vast amount too -- I just did the math and it was probably around 4000 hours, a number I can barely believe in retrospect. Although I finally quit for good nearly two years ago, I feel as though the game _emptied my life_. I was fortunate to have a support group outside the game who kept me involved in recurring real-life activities, or perhaps it would have been worse.

Lucky for me, I quit the game because I moved to New York to work full time. But I've heard a lot of horror stories of people dropping out of college or life itself due to MMOs.
I think you're underestimating the force of habit.

Also, when you do the same thing for a long time, time itself changes. A million years relative to our psychology would not be anything like a million years relative to million-year-beings'.
Don't worry - I'll quit WoW as soon as I can get my paws on Starcraft II.
That's awesome, Ramit
As often happens, the discussion here is better than the article.
There's more than 11 million people using drugs, with different levels of use/dedication. It's a bit excessive to try to put all these people in the same can.

I would trust psychological tests rather than just assume all drug users are irresponsible people just cause you met one silly guy who happened to smoke pot.

At my company, around 12 people are drug users. I use drugs myself and even my boss did until a year ago. Problems with any of us? None.
This company is from the guy who started/funded monitor110.com - which ultimately failed. Interesting post-mortem found here:
http://www.informationarbitrage.com/2008/07/monitor110-a-po....

Seven deadly sins of a startup:
1. The lack of a single, "the buck stops here" leader until too late in the game
2. No separation between the technology organization and the product organization
3. Too much PR, too early
4. Too much money
5. Not close enough to the customer
6. Slow to adapt to market reality
7. Disagreement on strategy both within the Company and with the Board
Duly noted. I've gone back and forth on the bang, you're right it really screws up paragraph readability.
You're not the first person to have mentioned taprootfoundation in response to my FeedANeed pitch, I second that recommendation though I haven't personally had any experience with them.

As for the lameness of requiring a reddit account, this was so that donors could be contacted without any concern of exposing an email address to a third party. It was just the first method that came to mind, esp. given the simplicity of reddit registration.

My feelings won't be hurt if you never use that reddit account again :)

When the times comes, it can be deleted here: http://www.reddit.com/prefs/delete

Though, every time an account gets deleted, we kill an alien.
I fully agree. This is why I can't stand using Meebo unless I absolutely have to. The app itself is amazing for what it does, but in no way will it replace my dedicated desktop AIM client.

Most web-apps that emulate a desktop app are still clunky and nowhere near as smooth to operate as their desktop counterpart. Meebo is one example, and all the web "desktop replacements" are another. You're always waiting for something to load, or javascript doesn't resize the window properly, windows that get dragged around don't move smoothly, etc.
We don't know whether that line was in the script or not. If it was, we can chalk the weasliness up to the whole company (which would surprise me a little - I thought more highly of Yahoo).

Incidentally, I agree with the commenters here who've pointed out that the cancellation of the project and layoff itself hardly seem unreasonable or tragic. It's the corporate culture I'm commenting on. If this vignette is indicative, Yahoo is in worse shape than I thought.
Why does everybody hate Smarty? Explain please.
Here is another spam post from pakafka. This guy is in the habit of submitting every single one the stories he writes for the Wall Street Journal's tech news site. Like most of the others, it's a sensational headline on top of a baseless article. But on the bright side, at least he spelled his headline correctly today. A job posting for "Business Product Manager" is supposedly the smoking gun here. Sheesh... If publishers are willing to pay for this stuff then I'm in the wrong business.

Hackers News is not your own personal advertising outlet. If you've got something worthwhile by all means submit it, but it's getting a little old seeing every article you write pop up on here.
Ask HN: Are you working on a desktop software?
What is your experience with distribution, sales of desktop applications.
Yes - first class attribute support would be great. Late static binding (coming in PHP 5.3) will be nice once it is ubiquitous.

Attributes are a way of declaratively making a statement at a more "meta" level. Because doccomments are a first class language construct in PHP (i.e. Reflection provides doccomments for you) it seemed the most appropriate place for providing additional metadata.
Jean Bartik: the untold story of a remarkable ENIAC programmer
Canada Passion Parties Consultants Needed | Passion Promises
I play WoW 10-15 hours a week with the wife, in-laws, and other IRL friends. It's a great family activity and helps me keep in touch with friends from high school that now live hundreds of miles away.

I also put in ~50 hours/week into my job at a startup, and have been told I write good code. I'd wager I'm not a bad employee.

I'd agree that WoW addicts wouldn't make great employees. However, there's a huge difference between a WoW addict and a WoW player, please don't lump us together.
Yes, and your lawyer example illustrates your point well.

But consider the diversity of talents we're aiming to pool: programmers, web consultants, logo doodlers, designers, marketers...

I worry that if each of these individuals did what you recommend and donated the proceeds, they'd certainly be rocking that comparative advantage. But I suspect that non-profit would use that money for their actual causes (I know I'd rather my donation to http://kidcancer.org/ go to curing kids' cancer than pay for a top tier web consultant).

And that doesn't even consider the Randall Munroe-autographed gear those donors would be missing out on.
The seat value is usually as much as salary, if not more. I bet it still was less than 20% than in Silicon Valley (for sure at cost of social unrest and different infrastructure, but strictly money it is cheaper.)
Guys, this is Ramit (the founder of the scholarship). No, it's not a scam, and no, I'm not looking for business partners.

I want to give back to someone who is likely to achieve something meaningful. Maybe this person will do it, or maybe next year's winner will (when I give it out again).

If you think I'm cherrypicking for ideas, then I'm sorry you're so cynical and this award isn't for you. But if you read through my site -- which I've been writing for the last 4 years -- you'll see what I'm about.

Obviously, $2,500 isn't a huge amount of money. But for some people, that small amount AND the motivation from winning something public can make all the difference. The scholarship is aimed at people who can benefit from that. If $2,500 won't do anything for you, then no big deal! But for the 1 person who will really benefit from advice, a little money, and most importantly support, I hope they hear about this.

Thanks.
I agree. (I don't think that was effective at making the point you wanted.)
I felt that way about signing up for reddit as well, but then I realized... It's a wufoo form!

They don't really validate your username!?
Doesn't matter if it's for-profit, nonprofit, whatever. I'd rather be less restrictive and open the net widely to as many interesting people as possible.

Progress means the MOST. An idea is cheap, but if you've shown you can execute, that means more than anything else.
Ramit's blog is well respected in the personal finance community -- I've been reading it for a long time. I'm not totally sure I understand his aim with this project, but I'm inclined to give him the benefit of the doubt that it's not as nefarious as you suggest.
Don't most of the fastest 'cubers use the petras method (http://lar5.com/cube/) nowdays?
BloxNews highlights Infoblox Cisco and Infrastructure 2.0
There is some additional overhead in mapping the the $_REQUEST params but it's not actually so bad.

Design decisions have been made to err in the favor of making user code simple and more expressive. Having some routing logic contained in the code and 'pretty urls' in mod_rewrite is much more difficult to approach.
Yes, the annotations essentially offer a simple macro functionality for PHP. In production mode they're reflected over once and then not touched again.
Smarty templating is optional but easy to set up. Smarty seems to be a religious topic for PHP developers. Switching between Native views and Smarty views for a controller is done in a single annotation on a per controller basis.
Not familiar with Sinatra. Will look into it, thanks!
5-6 years ago there were only a "couple of choices" compared to "dozens" now?

Nearly all of today's practical languages were around 5 - 6 years ago.. Perl, Python, C, C++, Java, Ruby, JavaScript, etc. Of the major languages only C# wasn't particularly well developed at that point (and Ruby lacked a good usage case at the time).

I doubt many here will chose a language that's come along in the last 5 years (Io, Clojure, Scala).. though I'd like to be surprised :)
P.S. He's co-founder of PBWiki?
Somehow they all find jobs at Scientific American
I second playing with CodeIgniter first. It's very "liberal" in the way it allows you to set things up, which means you'll be learning PHP and not fighting the framework designer.

You aren't constrained by the framework. If you want to do queries in the controller, go for it.
Assembly language.

I firmly believe that people will never use high-level languages well until/unless they understand how those high-level languages translate into machine code.
Sexual reassignment surgery is not a sexual activity, but it is part of someone's medical history, and I think it is in poor taste to gossip about someone's medical history. If Ms. Fridrich had been hospitalized for depression as a teenager, would that also be suitable for discussing on HN?
Recess has been in development, full-time, for about 3 months now. It all began after returning from the Web 2.0 Expo in New York - reinvigorated about the pragmatic utility of PHP by Cal Henderson (I now refer to his talk as my PHP Tent Revival) and inspired by DHH and others about the beauty of RESTful interfaces and the HTTP spec.

Content negotiation is on the radar. Currently the negotiation is one-sided and depends on the request having a .json extension for example. This will be beefed up after the preview release.
Details? Why?
OSX doesn't match now, but it's lagging behind in the same league. Security wise, Singularity is in another league entirely.
not really news, but it is just to much fun to care about that. StartUps are a tough roller coaster of ups and downs so you have to find little ways to enjoy your ups when you have them. I know a couple of the teams in this video and it looks like a good time.
I'm not sure what you mean by additional overhead... You're already using the Reflection API to to get to the names of the method arguments so that your /hello/$first/$last works, no? Or are you just relying on the order and assuming the developer puts things in teh right order, ie /hello/$foo/$bar works just as well?

If the former is true (you're already getting the param names), then there's no further overhead to map directly to $_REQUEST. I forget the exact Reflection syntax, but wouldn't it just be something like

$argsToPass = array();
$args = ReflectionMethod->getParams(); //you got an array of param names in the order they appear in the function
foreach ($args as $arg) {
if (!isset($_REQUEST[$arg])) { //check if the arg is optional and fail if not }
$argsToPass[] = $_REQUEST[$arg];
}
$ReflectionMethod->invoke($argsToPass);

I haven't touched this stuff in a while, so I might be completely off, but I'm not sure what overhead you're referring to...

Once again, I'm not defending this approach, as the extra logic you've put in to interpret the path probably makes things a lot more flexible and easier to debug.
2009 KPSS BAŞVURU TARİHİ