skysight-inc/HackerNews huggingface dataset:
Profiling PHP with PHP is kind of humorous, I'll concede. But it can certainly help alert you to slow-running pages, queries, and steps. Which should at least give you a starting point or prompt you to dive deeper with a stronger/more robust tool like xdebug+kcachegrind.

Thanks for checking out the library and providing feedback though, I appreciate it!
The beauty of frameworks is that you _only_ need to focus on creating the content and user experience.

Much of the less interesting things like security features (think CSRF or salting passwords) have been taken care of by experts.

Frameworks also promote best practices (this is especially true for RoR) and take away the hassle of dealing with a database by providing a nice ORM layer.
We use .me - first because it makes sense for our name and because it was available. At the time, the .com version was held by a broker but fortunately for us, he let it expire and we were waiting! We still use the .me but direct the .com
The analysis software already needed to be modified. And if your Apache isn't already configured to try and find this sort of thing, you're also counting things like page prefetches as true views.

The header is the correct place to put information like this, regardless of whether the deficiencies of the server software.
Python library for parsing ELF and DWARF
Orientation, Decision, and Speed in OODA
Good points.

I think the conversations should be happening regardless of the site. If I receive a comment on H/N, I want to reply in the easiest way possible FOR ME so we can carry on the conversation. Right now, I have H/N hooked into Engag.io, so I can follow all discussions in one place. That's easy.

Too many places to moderate comments is too difficult. This difficulty only increases as your stories are published more broadly.

From a site / comment manager perspective, is it quality or quantity that drives the decision to keep comments open / closed?

I look at it like an actor - when you are starting out, you'll take all the publicity you can get. When you're on top, you've accomplished being noticed, now you want "better" publicity.

Or, something like that.
Designing a Clean Website: Gradients
This is our third installment of how to design a clean a minimalist website. First we looked at navigation and how to make an accordion style drop-down menu with pure CSS3. Then we moved on to laying the site out and went over rounding corners and applying drop shadows with CSS3.
I hope that's sarcastic ... I was just using NK as an extreme example.
Running a tor relay is deadly simple. And statistically, about 11% of the traffic will be used directly by Iran's users wanting to go around censorship.
Mixed voltage interfacing for design or hacking
I am almost certain I will get the Air, it's turned into a very capable machine in the latest iteration. Thanks.
hippich, thank you so much for telling your story. I will give it a try!
Symantec Confirms Hackers Accessed Source Code
Will the javascript even be executed during this "pre-rendering" process? It's the people with server side analytics that are going to be affected most by it.
What does "How many dates did you have last month?" even means?

Maybe I've a different notion of "date" from the rest of the people... but I'd assume that if you've a stable relationship with a significant other, then your number could be definitely higher than 5 in a month...

otherwise, if it's considering all the different dates with all potential partners, 3 to 5 seems an number exceptionally high (in fact: I've got a grand total of 0 dates over the last 24 months, and I'm quite sad about that)
As others in this thread I have researched this numerous times un various roles and unfortunately PayPal comes up time and again for small business needs. Merchant accounts are a lot of work unless you are talking rather high revenues. Sorry to disappoint.
Or maybe they are unable to index comments? I would think content (of any type) is key for these sites.

I don't think it's a good idea. I mean, the writer isn't working in a vacuum - their posted stories shouldn't either.
I agree. The problem is that the price of college is so high now that you'll be financially ruined if you get a degree that doesn't increase your income. That, and the fact that most non-college-required jobs pay so little, if you're going to have a reasonable lifestyle, you need a career-focused degree.
That's good to know. That can be used to do what I want.
The Case for (and Against) Internet as a Human Right
To save resources
Well, first of all it’s a bad joke. It’s not funny. Variants of it are repeated over and over and over.

Second, it’s indistinguishable from what a racist would say. There is no subversion.
SELECTED CHARACTERISTICS
Mathematicians Solve Minimum Sudoku Problem
> And if your Apache isn't already configured to try and find this sort of thing, you're also counting things like page prefetches as true views.

Care to elaborate on how your Apache configuration is already set up for this?

This is certainly not default/standard behavior.

I have no doubt that this can be done by detecting a header for the prefetch (if there is one!) and using Apache's syntax to mod the log, AND then accounting for this in your analytics scripts ... BUT what I doubt is that this will be a simple task to push to the other 100 million server and analysis instances that I don't control.

Not to mention some of those instances will not be like the rest, and the work required to handled this will be great.
if you need traffic the you forgot to put a url in your post.. :)
Or you could zap colors:

http://www.russellbeattie.com/blog/the-zap-colors-bookmarkle...
I can second this. Currently learning Swedish. Re-reading some Roald Dahl at the moment and finding it a lot more effective and most importantly fun. Have also bought the Watchmen comics to help motivate me to get to a more advanced level.
You could design a two balloon system with a secondary balloon that is nearly initially empty that will take over lift after the first bursts.
Ask HN: Have you used StumbleUpon to market?
I'm really curious to know if any of you use SU for marketing and have these questions:

1. What conversion rate would be considered average?

2. Did you experiment with budget/target audience, etc. and was did you find a meaningful difference?

I would appreciate if you could share your experience.
>Fully agree. Education should be primarily about furthering knowledge, not finding a job.

I couldn't agree with you more, but unfortunately I didn't feel this way as an undergrad. While I did enjoy the field of engineering, I was ready to be a "big boy" and start chipping away at my student loans with a real income. Soon after starting my job I was blown away by the level of knowledge of my co-workers and it motivated me to push myself to learn more...about anything! I didn't come from a CS background so I didn't know much about programming or hacking, but I was always fascinated with electronics and technology so I decided to learn how to program. I didn't want to feel like a one trick pony. If I could do undergrad all over again I would have taken more classes that were far out of my realm, possibly even a dual major. I feel like I'm playing catch up, but I'm glad I realized it while I'm only a year out of college and not half-way through my career.
C# has closures but not when evented.

What does this mean? How do closures behave any differently when a delegate is assigned as an event handler?
Isn't this network coding?

http://en.wikipedia.org/wiki/Network_coding
http://research.microsoft.com/pubs/67246/tr-2004-80.pdf
F5 Friday: Creating a DNS Blackhole. On Purpose.
> The second optimization one could make is that since f(r, i) == f(r, i-1) + f(r, i) then to calculate f(r, i) you only need to calculate up to the i'th element of each row.

You actually only need to calculate up to the i'th element of the row you want.

The Wikipedia page about Pascal's triangle [1] teaches us that it's possible to calculate a row directly (without any knowledge of other rows).

Therefore we can do this:

#!/usr/bin/python
for row in xrange(200):
curr = [1]
vc = 1
for c in xrange(1, row/2+1):
vc = int(vc * (row+1-c)/float(c))
curr.append(vc)
curr.extend(curr[::-1])
print curr

(And of course since each line is symmetrical we only need to compute half of it).

This version is only a little faster than the last one provided by the author, but for some reason it's much more consistent, time-wise. For 200 rows it stays between 250-330ms between runs, whereas the author's last version is between 300-550ms.

And with a little modification, this version will let us compute any row much more efficiently than starting at the first row every time.

[1]: http://en.wikipedia.org/wiki/Pascals_triangle

PS: There may be a more efficient way to calculate vc (Cell Value) than using int() and float(), but I don't really know Python so that's the best I can do ;-)
Do you really want to be interviewed by whatever random employees had the most free time, instead of the person who's actually going to be managing you?
There's also a GUI tool to go along with the backend work:
http://phpadvent.org/2010/profiling-with-xhgui-by-paul-reinh...
QLXChange QLXChange QLXChange
This Website is for Making money Online ... It is The best Home based Business for Earn Money ..
I was just browsing job ads on Craigslist... which I do occasionally just out of curiosity of what local tech companies are hiring... and was surprised to see more than one asking that you send your age with your resume. That's just asking for a lawsuit when anyone over 40 doesn't get hired.
My point is invading a country of 70 million people should not be taken lightly, which a lot of political leaders seem to do right now. And it should certainly not be declared only by the president. The president is not a king.
The Future Of The IDE Comes From COBOL - WTF
Brain function can start declining 'as early as age 45'
Getting Lazy With My 10% Time -- Simple PHP Lazy Load
This is basically my answer to ndvivedi. In addition, I would add that I've had better quality from the Xfinity player, which also lets me view HBO content.

I've found HBO Go quality to be a bit too poor, even on a great connection.

Neither are nearly as good as Netflix, which I can force the bitrate using CTRL-ALT-SHIFT-S, let it buffer for a little while, then watch it straight through without issue. (Granted the secret hotkey is a little unfair, and HBO Go may very well have one too. That's the least important part, though)
What is post.fm? Do you have a demo yet? I'd love to see it.
Flagyl
Buy Flagyl (Metronidazol) online without prescription on discount prices.Cheap online pharmacy: Gastrointestinal generic drugs and prescription medications.
Interesting stuff in terms of operator subsidies. Apple gets the best deal by far in this area but not sure how long this will keep up. With capped plans this data usage can become more of a OPEX driver for the operators rather than an RPU generator. Could we see bigger subsidies to manufacturers that come up with ways to reduce data load?
Bessemer Leads $6M Round In Q&A Platform For Students And Teachers, Piazza
The Samsung Note Is Definitively Not Coming To AT&T As Far As You Know
Create A Facebook Landing Page
Or an automated valve controlled by a manometer. The people who build these awesome contraptions seem to put a lot of effort into the payload and comparatively a lot less into the balloon.
ASK HN: Who negotiates on your behalf?
Hi HN,

In the media I read, which includes a wide range of startup and finance blogs, founders themselves are always - without exception! - portrayed as the representatives of each startup in capital negotiations.

This seems crazy!

Surely, if the above is true, founders would be leaving money on the table when negotiating against VCs; investors seek to maximise their return, and they don’t do so by making investments that are sub-optimal to the opportunities presented to them. If they can - as trained negotiators and analysts - get a better deal, they will take that opportunity.

Not only have I received an impression that the above is as it is at seed and series A stages, but also at far later stages until around about the time that a startup’s equity begins have liquidity (i.e. trading begins on second markets etc).

The question I am alluding to here, HN, is - Are there market participants, invisible or ignored in my readings, that act to represent founders in negotiations?
Tell Congress To Undo The NDAA, Ban Indefinite Military Detention Of Americans
The iPhone 4S gulps twice as much data as iPhone4
Piazza gets $6M Series A to help with college homework
I'm more surprised that they lasted this long. I remember using it back when it was Mandrake. It was ok for it's time. At the time, when I was stuck on dialup, it was nice to be able to buy a desktop distro on CD, but I really don't see how they've had a viable business model in years.
The Right Upholstery And Carpets Cleaning Method
You can lengthen the life span of your carpet/upholstery and sofa if you're usually having the right method of cleansing. Proper upholstery cleaning is required to ensure that it'll always appear attractive.
Ask HN: How can I self-evaluate my programming skills?
I set out on a mission to improve my programming skills in general, and my first step is to not only find out where I stand, but where I need to improve.

One thing I saw was the [Programmer Competency Matrix](http://www.starling-software.com/employment/programmer-competency-matrix.html) which looked like a really good idea to me, but a few things stuck out as awkward to me, or perhaps dated.

My question is: How should I be evaluating myself? How often? How should I decide what to work on? Does my ability relative to others matter, and if so, how do I know what it is?

---

For anyone interested, I [wrote down](
http://cowbelljs.blogspot.com/2012/01/programmer-competency-matrix.html) where I felt I was for each level, this is my present bench-marking approach.
We should probably define "major". If your site is visited by tons of mobile visitors and you use the geo functionality to impact user experience, then for you, it may be. However, most sites continue to have far more desktop usage than mobile, on average. So, for most visitors to most sites, it's not really all that major. YMMV, of course.

In fact, GeoIP has suffered from the problem you describe for a decade now, from every AOL user appearing to come from Virginia, USA, all the way to modern corporate proxy systems which have vast numbers of visitors all appearing coming out of, say, White Plains, NY, USA (yes, there are lots of corps there... but not every employee works in that location).

So, your idea is a good one for mobile where we kind of know the big "offenders" (Kindle Fire may rise up to become an issue as well), but it's hard to figure this out for every IP.

Commercial GeoIP companies often offer a "confidence value" with their data which reflects how confident they are than an IP would really reflect the geo of the user; unclear if this service will have that. In addition, a good user experience might be to personalize the session but allow user feedback, ala "we think you are currently in Antarctica; click here to tell us where you really are..." You might also decide not to use some functionality in your "mobile skin" or other version of the site, if you do separate designs for mobile vs. desktop.

I say, best of luck to them. Web analytics continues to suffer from a disconnect: vast reporting on users, but little connection to taking that data and impacting a user's visit, even in future visits, much less in the same session. Let's see some folks push this a bit, even if the data has some problems (which, let's face it, is always a problem with any data involving the web, imho).
I know. However most people often miss this, that's the whole point of it. Real content comes from developers, not framework.
BuckShot iPhone App Sells on eBay for $16K
Bandwidth I guess, but I conject that it wouldn't starve most servers resources on static files. Coupled with good cache settings, I think this is a great move forward.

Imagine when I request Hacker News (too often), if it could download the HTML and the site returned NOT MODIFIED on everything else before I've even pressed enter, it could be displayed straight away, with little pressure on the server.
Ah, the silliness heuristic.
What is the point of this? Nothing is special but the location information, and there are plenty of free JS APIs.
I dunno, use the Page Visibility API[1]?

[1]: http://www.w3.org/TR/2011/WD-page-visibility-20110602/
The balloon will never escape the atmosphere. It simply drifts higher until it either reaches neutral buoyancy, or pops. As the balloon rises, air pressure decreases. The result is that the gas inside the balloon is compressed less as the balloon rises, causing the balloon to expand.

In a flight like jgc's, the latex balloon expands until it pops. There are other balloons which can float at a steady altitude. One of these is called a "Zero-pressure Balloon." This balloon operates with a valve on the bottom. The helium will expand until it reaches this valve, then spill out. When the balloon loses helium, it loses lift. The valve will tend to dump helium until the balloon reaches neutral buoyancy. These balloons are so named because the pressure at the valve is the same as the ambient atmospheric pressure.

Another type of balloon is called a "Superpressure Balloon." These balloons maintain altitude by pressurizing internally. Unlike latex, these balloons stop stretching at a certain altitude. As soon as the balloon stops expanding, it maintains a constant volume. Buoyancy is based on the volume of fluid displace, so a pressurized balloon maintains the same altitude.

I work with a group of hackers attempting to cross the Atlantic Ocean using a Zero-pressure balloon. (http://www.whitestarballoon.com). A group of radio amateurs actually beat us to the punch (http://www.arrl.org/news/amateur-radio-balloon-flight-crosse...), their crossing was involved a large quantity of luck. We seek to develop systems and methods for engineering balloons capable of traversing large distances safely and reliably.
It's worse than that. It seems to be using the same deeply flawed GeoIP database as many other cheap/free services. For instance, the connection I'm on, a business class fibre connection with CenturyLink, claims to be located in "Tyler, TX", even though I'm 2000 miles from there.
More info at http://techcrunch.com/2012/01/03/developer-sells-iphone-app-...
As far as I can tell it's delivering almost all the functionality in the single javascript file except for the geocoding so you could host the js file (http://www.visitorjs.com/visitor.js) on your own server and get 90% of the functionality for free.

Also, as far as I can tell, Apple provides nearly all of the functionality of Pages in a single .app file, so you could make as many copies for your company as you want for free.
i see quite a bit of code from zed shaw's mongrel in there[1].. to the extend that i think puma is simply a mongrel that uses threading.

you say it is using ragel; mongrel also uses ragel[2]. mongrel and z.shaw are even mentioned on the ragel project page. (and ragel is mentioned on the mongrel page[3])

sorry but i think puma could be more upfront about being an innovation on top of mongel.

otherwise nice work! code looks indeed very clean compared to unicorn/rainbows and zbattery.

[1]: https://github.com/evanphx/puma/tree/master/ext/puma_http11
[2]: http://www.complang.org/ragel/ (mentions mongrel)
[3]: https://github.com/mongrel/mongrel
"how would you feel if people stole / infringed what you developed and denied you revenue"

Say I'm the lead engineer for Angry Birds.

But instead of releasing it for iOS, Android, and Chrome, Roxio built a shitty little handheld device that cost more than an iPhone but only played the handful of games they'd created.

Apple, Google, and even HP approached them about building versions of the game for their platform, but Roxio told them to eff off. They weren't going to give up a percentage of the potential revenue.

Then the community, in love with the game, cracked the sorry little handheld and ported the game to iOS/Android/webOS. Sales of the sorry little device plummet.

So how would I "feel"? I'd feel like lynching the PHBs that refused to concede a minority percentage of a massive revenue stream in favor of a 100% share of a tiny/no-existent one. I'd think they were arrogant fools for trying to maintain a white-knuckled grasp on distribution when that clearly belonged to Apple and Google, and I would curse their greed.
I believe the JS is generated, as shown in this snippet:

geo:{continentCode:"AS",continentName:"Asia",countryCode:"MY",countryName:"Malaysia",city:"Kuala Lumpur"...
PaintByHand for iPad sees record downloads over holidays
"I would happily sacrifice my ability to make a living writing software if it meant that all software was FOSS."

And I most certainly wouldn't. I use and contribute to open source, but I love development too much to do something else for a living. But I also have a personal life. I could not spend 40 hours a week doing another job, then spend 40 more doing development. I might spend 4 more hours doing development, and I expect that my learning curve would be severely stunted.

I think it's very unrealistic to think that passion alone could drive software development without the ability to spend most of your time learning and doing what you love.

And I think that applies to other creative endeavors, too. Yes, a lot of music gets created by amateurs. But I doubt Bach or the Beatles could have made the work they did if they had non-musical day jobs.
That's not the only reason either, if you can pay the cost back later & it's a field you're interested in it will broaden your horizons
Yes, it surely isn't nice to see one of the older Linux distributors likely gone but honestly... I cannot think of a single unique or outstanding feature that mandrake could offer back in the day and by now, desktop-linux is firmly in the hands of ubuntu and redhat. The last significant or even non-significant news I have heard or read about mandriva or mandrake must have been years if not a whole decade ago. I am actually surprised to learn now that they are still around and I am from Europe.

My facetious side thinks its sole reason for existence was that it was from France and offered French language so French people were probably more likely to use or buy mandrake than Redhat or SuSE or slackware.
Not when it screws things up.

I have a REST API for placing automated phone calls, for example, which I regularly test using my browser. Chrome is going to start calling people when I've half way finished typing a URL because it thinks it knows what I'm going to type. That's not only not what I want, but costs real money.

Or what if I'm an administrator for some user-generated content site. I have a webpage that shows me a list of user accounts and lets me click a "delete all this user's content" link to fix someone's mistake by request. Now in the process of typing the URL to get to this admin area, Chrome thinks I'm trying to go to the "delete all" page and accesses it in the background...

This is a dangerous feature.
Although that may be correct, have gas or oil prices dropped here as a result? No, they went up (oil companies use "wars" and "storms" and other cracks in the road to say "lets let Opec profit another 20% this year bob"

With that + the fact that the US is in debt of $16 trillion + and that number keeps growing, I think we can't afford it.
var outer = 2;
var btn = new Button()
{
Text = "Click Me"
};
btn.Click += (obj, eventArgs) =>
{
var local = outer + outer;
};

How is the above any different/better/worse than what javascript can do?
What mystifies Dr. Hawking? Women
Ah thanks! However, I'm worried I may take another crack at it now!

I may have missed that the time was the time taken for the search algorithm to find results, I think I was under the impression that should be the time for the request/response to happen. Hmm.