skysight-inc/HackerNews huggingface dataset:
This made me curious what my user number was. You can see it on your Account page source:

https://skitch.com/e-dasil003/f5nx6/safari

Unfortunately I couldn't figure out a way to explore user numbers like going to /users/5603 for example. That is actually the route for DELETEing your account, but it doesn't have a GET redirect or anything.
I use Excel as an analogy when explaining pointers. If you imagine the machine's memory as a gigantic, single column excel table, then a pointer -- or address -- to the third slot in the machine's memory would be the value 'A3'.

When you're referencing that row in Excel, you don't copy around its value, but rather, you copy the address of the value. That way, if you change the value, any other cells that reference it will also fetch the new value.
Ask HN: How to design a reputation-system like Stack Overflow?
Suggest the best way to design a "fair" reputation system. (Ex: StackOverflow, HackerNews(karma)) Support your answer with a mathematical reasoning!

Thanks.
How to masquerade as another user to see how they use your app
Can't say I agree. Just because two things are desireable alone, does not mean they will go together well. For example, I like fish sandwiches, and I like peanut butter sandwiches. I'm not certain I'd like a fish & peanut butter sandwich.

I don't mind the new changes, but I rarely used the top news feed. Having it integrated amounts to 'noise' in the feed for me.
It might make sense in some cases; it takes less labor to accept electronic payments than paper-check payments. If the fees cost less than paper-check processing labor, it makes sense to pay the fees. I agree that it might not make sense for smaller businesses though - but that's why there's the check fallback.
Hewlett-Packard - Board game
Extensive discussion here from a day ago: http://news.ycombinator.com/item?id=3020459
valgrind doesn't dump registers but doesn't require special compilation options and if debugging symbols are available will include file names and line numbers in the stack trace.
Yeah, it's EFI. But you can't boot Linux on it because the EFI is "stripped down" and is missing some functions that Linux needs to boot.
Eco Friendly Home Designs: Solar Panels
"C is unreliable" is the wrong way to conceptualize the problem. The argument against C is that it is inefficient. It's not that C programs are broken; it's that if you spend six hours writing C code your code will either do less, or be more broken, than what you would have produced had you spent those six hours writing, e.g., Perl or Javascript or Lisp instead.

There's no reason why you can't write correct C code, or correct assembly code for that matter. The challenge is to do so without wasting a lot of time: Any amount of time that you spend consciously thinking about correct memory management or hand-optimizing your opcodes could probably be spent doing something more important, unless you are working on one of the few problems where that kind of optimization is actually the bottleneck.

Of course, the flip side of having to think about every layer is that you get to see and potentially tweak every layer. It's nice to work on something transparent. It's nice to know what is going on down there among the sockets and the buffers. I've been thinking about practicing some C for just that reason, and it seems to be why the OP likes C. But I don't anticipate being very efficient when writing my own web server in C. My website will be better if I just install a big pile of other people's C and get on with designing or writing.
C is beautiful because
http://en.wikipedia.org/wiki/Duff%27s_device
is possible.
"Of course, all major OEMs are going to want the Windows 8 logo."

In a sentence, this is how broken the current OEM landscape is.
Art of Unit Testing - The Way of Testivus.
Twelve cryptic bits of ancient Eastern wisdom on unit testing.
Create a new /items/pageState URI that accepts POST, PUT, and GET requests.

POST to /items/pageState to get a handle - this could be a randomly generated small sequence of characters. A response will contain a Location: header with a URL: /items/pageState/aA1 (the aA1 is just an example for this description - each user would get an unused sequence of characters)

Anytime the user changes the state of the page, PUT the page number, sorted-column, and reverse fields to /items/pageState/aA1.

Now, the url of the items page to http://db.mmo-champion.com/items/?pageState=aA1. When that page loads, the JS will make an Ajax GET request to /items/pageState/aA1 to fetch the state of the page, and re-render it appropriately.

If you're concerned about speed, well, don't be. Add support for eTags on /items/pageState, and while the state is unchanged, that data will be fetched from browser cache instead of the network.
I'm only running Windows on my VMware machine.
Your presentation mentioned that goals may be allocated to CD ladders and the like - if so, what happens if you 'dip into' this? Wouldn't you be hit with an unexpected CD early withdrawal fee then?
It's going to be one of those "every other version is good".

Windows 95 (crap)

Windows 98 (good)

Windows ME (crap)

Windows XP (good)

Windows Vista (crap)

Windows 7 (good)

Windows 8 (crap)

Let's just wait and see what the EU commission has to say about this. I call another multi billion euro fine :)
Login Checking
Microsoft’s Windows Phone Mango Coming Very Very Soon
Render Images to Custom Graphics & Enhanced Excel to PDF Conversion
The long awaited version of Aspose.Cells for Java 7.0.1 has been released. It includes some useful enhancements for worksheet-to-image and Excel-to-PDF features. It now supports the “render to custom graphics” feature. We also made some valuable APIs available that were missing in the previous version. Other features include creating spreadsheets, opening encrypted excel files, macros, VBA, unicode, formula settings, pivot tables, importing data from JDBC ResultSet and support of CSV, SpreadsheetML, PDF, ODS and all file formats from Excel 97 to Excel 2007.
Most banks support this I thought - just mail a deposit slip and a check (signed, with a "FOR DEPOSIT ONLY" endorsement) to the right address. I've done it before with ETrade Bank and ING Direct at least, and I imagine brick-and-mortar banks would do this processing if you mailed the check to a nearby branch.
I think that tagline is going to hurt them more than the "ha, these guys are cool" factor will help them.
Easy-to-Use and No-Frills Email Marketing Solution – Review of MailerLite
I would remove the adsense ads entirely. They just dilute your book ad which I'm sure is much more profitable for you. It's worth testing, but my guess is that you would increase your overall revenues by eliminating them.
I outlined a way to do this nearby. :) State can be stored using query parameters. If you have enough state that URIs become unwieldy, then the method I suggested nearby would work very well.
Man. I'm all teared up reading those, and I haven't even left for work yet. Definitely bound to be a depressing day.
Bravo. Much funnier than a penis joke, IMHO.
Does Verizon Want the AT
because "C" was invented by geeks and Ada was brought into existence by "The Man" and geeks are as dogmatic as the rest of humanity when it comes to changing their beliefs even when they proven to be wrong.
Hannah Mills and Saskia Clark - London 2012
was "don't reinvent the wheel your authentication can be free" intentional?
Trials and tribulations of ‘the startup state’
An even simpler analogy is a street address. (Or if you want to involve numbers: Postal codes.) An address is a place where people live, but it's not the actual place.
Gandi Simple Hosting: The best of both worlds
My complaint isn't about the content, which I couldn't really read, but rather about presentation for a slice of the Internet.

This article is 'optimized' for my device, an iPad. I see this bit of code on more and more websites, which is well-intentioned and provides a content navigation bar along the top. I never use it, and it's usually only a bit annoying because I can't make a decision about text size myself... But in this case, the re-wrap-text-on-rotation feature is actually keeping the content wider than the screen. I actually can't read this without horizontal scrolling on each line. Could you turn this off please, Marko? Thanks!
haha OK
> like passing around a reference to a struct's member, then to retrieve the struct decrementing a value from the pointer + casting.

that's not weird, that's a pretty standard way to enqueue structures on singly/doubly linked lists... it's made somewhat prettier by offsetof/CONTAINING_RECORD though
I don't mind the ads so much, it's more the placement... Both in-line adsense blocks are in confusing places.

"Here are a few quotes from one of my favourite eMails:" followed by an adsense block. It took me a second to parse that quotes you were referring to weren't "Make 85% profit in 15 Min" and "Real Work at Home Income"

Same thing for the second block. It falls in a very awkward place.
How Dan Harmon Drives Himself Crazy Making Community
I'm not sure why it's not easier to find, but there's a lot more info on their Tumblr. http://rabbitisland.tumblr.com/
Why Pseudonymity Is Such an Important Concept
Something I didn't get from the articles is can Windows 8 work on non UEFI systems? What if I buy a machine today and wanted (probably won't but hypothetical here) to run Windows 8 on it is that still possible? Because then pirated copies will just use that to get around the requirement.

Also, if this pans out, I hope the EU and potentially the US antitrust authorities look into it.
note how you can put in your own video, adjust the FX, and then share the result.
One state per user is not what I want. If the user sorts in one way, give a link, then sorts in another way and put a link back. I want both links to be differents.

Also, your solution adds a lot of extra server calls. The goal of client-side sorting & pagination is to avoid those. I don't want to get them back just for the sake of being RESTful.
The source it's taken from is better. Important bits are cropped in the linked version.
This is great! I drew penises each time and it made it 10 times as good
Liquid CO2 coats submersible at OCean Floor Volcanic Vent
The Aarne–Thompson system for classifying folktales
`os.open` is a low-level interface whose semantics are platform-dependent. The Python analogue is the builtin `open`, which documents that it raises IOError on a failure to open a file: http://docs.python.org/library/functions.html#open .
I have to second Patrick. I sell a Mac app to alot of teachers for $20, and sell about 100/month. While not big bucks, not bad either.
This is very true! When we finished building Localist, our first partner was Johns Hopkins University. While the core of our product was pretty solid, the intricate changes related to workflows and UI came almost entirely from the school's feedback. We wouldn't be nearly as successful as we are today without their guidance.
They reference mobile devices that do the same thing...but I can't think of many mobile devices that have been able to do this successfully, they all get hacked eventually. I mean, come on, if you put this up there, people are just going to see it as a challenge and hack it. Every time an OS comes out, they always boast about its new-fangled security features, and every time, within 24 hours of its release, someone in China or Russia has hacked it. There has to be a better way around this.
The issue on the linux side is the need to have a valid key to sign your bootloader and from what I understand the kernel too as it's part of the bootloader or something like that. Which means, no self compiled kernel and only from Linux vendors that were able to get a key in there.

Obviously if anyone has a key it's no longer secure.
I've recently been blogging about my tornado-utils library which, for example, brings a email sending library similar to Djangos http://www.peterbe.com/oc-Tornado
exactly, I remember reading an article about someone at Microsoft saying that when Windows 3.1 came out, they actually liked piracy because at least people wanted to use the software. The same thing happened with Windows 7, Vista was such a catastrophic failure that they just wanted people to use Windows again. Now that they've had some success, they're going to go right back to their old ways.
I found that jarring too. If I brought that seppo bullshit home the cheese n kisses'd be dark as a dingo's kidneys.
Why and How I will switch to a stand-up desk
Wow: The Perfect Storm, And China Stocks Crushed
no bullshit ;-)
Trust your geeks
I can't decide if this is a dumb question or not, but why does something like the ISS always face the surface of the Earth in the same direction? For example:

http://www.youtube.com/watch?feature=player_embedded&v=7...

I know the reason the moon is always facing the same face toward us is because it has locked its own rotational rate to match it orbital rate due to "tidal like" forces acting back on the moon.

So, maybe I just answered my own question, I guess they purposefully added a rotational component to the ISS so that it is always facing the surface as it orbits? Why do that instead of staying fixed according to the stars? Maybe that is too disorienting for the astronauts.
Most of this is true, but I hate to have people continue to give hungarian notation a bad name when idiomatic use of it is quite a lot better than the naïve use of it decried here.

As an aside, do any other Haskell hackers find that single letter variable names are a lot more usable than in other languages? x:xs, y' and their ilk seem more readable than in other languages and often more readable than long variable names in Haskell.
I don't get it. Your example is what Tornado looks like::

class LoginHandler(RequestHandler):
def get(self):
self.render('login.html')
def post(self):
self.set_secure_cookie(self.get_argument('username'))
self.redirect('/')

Having one class per URL is very common and perhaps it's more than a decade of Python web programming but I like that. Makes for neat code.
Alcatel-Lucent 100Mbps technology on copper lines
One major omission from the list of template engines is Jinja2 (http://jinja.pocoo.org/) for Python. It's right up there with Mako in terms of being powerful and fast, and you can do some seriously amazing things with it.

Also, my experience with "low-logic" templates like Mustache is that they actually impede MVC by requiring you to move simple code that is really only used for display back into your models and other application code.
Yeah, that's a valid point. Requirements matter :)
I love it when the output of print_r is larger than the html of a fully rendered page, by virtue of the html being included in the array you are printing.
I thought this was going to be by Vint Cerf before I looked.
In case it interests someone, I am planning to write similar data for my adventures with app development.

http://appsreport.agiliq.com/

(I made 33$ lat month, on path to making 45$ this month, but hey its increasing!)

More links

http://appsreport.agiliq.com/apps-income-report-1-august
https://img.skitch.com/20110820-kjnc6agqj75m6an3a4ua6hbfbc.p...
> _foo_bar=Something&baz=Else

> could parse as either of:

> {foo:{bar:"Something",baz:"Else"}}

> {foo:{bar:"Something"}, baz:"Else"}

I don't think this is right, or at least, it shouldn't be right. I think _foo_bar=Something&baz=Else should only parse as {foo:{bar:"Something"}, baz:"Else"}.

{foo:{bar:"Something",baz:"Else"}} should be _foo_bar=Something&_foo_baz=Else

It should be possible for the writer of the article to fix this without major changes.
True, but you have to dig a lot to find any details. The above code is easy to write from a good man page (OpenBSD's, in this case.)

(Also, open(2) has all these options for a reason; think symlink races. Python's open() is not sufficient.)
Video Landing Page
That's a reasonable (if knee-jerk) first reaction. But reality is a bit more complicated.

log4j was the first de facto standard (excluding System.out). Making it part of the standard API would have been a no-brainer. Unfortunately, java.util.logging sucks (hard to customize, coupling with J2EE app servers). So people keep using log4j.

Library writers now have a problem: How do you choose which logging framework to use? You really want to use the same framework as your users, the developers making apps. Thus was born commons-logging.

commons-logging has a number of problems, including non-deterministic setup and being bundled with some common app servers (which creates its own share of problems).

Thus: slf4j. Which works.

I agree with the author that slf4j is the way to go. Alternatively you can just use log4j directly. But slf4j has one feature which log4j doesn't: format strings. If you've ever had to add "if (log.isDebuggingEnabled())" checks to logging code you'll appreciate what a difference this makes.

In conclusion: Java logging is a clusterfuck, but if you know what to use you'll be fine. The end.
Go job to them. I know they get a lot of ill will in the Linux community but I've never understood it. They are the only distribution vendor who's managed to make a decent profit from their work. They also contribute a lot to the development of the kernel, gnome and many other projects.

I can't say I'm a big fan of using RHEL personally but at work I've usually stuck with them on big servers just cause it's less driver/support hassel and it's easier to find people who can administer them.
What I miss in (almost?) all the logging framework is the concept of logging structured data types for easy machine parsing and analysis. All the logging packages are focused toward formatting and logging short text messages for humans to read.

This is nice initially, but with large volumes of logging you want to perform statistics (what errors / error codes are most common? which users make most use of a certain API call? etc). In which case it's kind of duplicate work to write formatters and parsers for every message type.

I know there is the "RFC5424 structured logging" standard but it's not really widely supported yet. So generally I end up dumping to some JSON-based format instead of using a logging toolkit.

Then again, I'm not up-to-date in Java logging. Please enlighten me if I'm overlooking something.
Loving that typeface
Sending emails with foreign accents properly ..
How To Play PS2 Games On PC
Here is step by step tutorial with images that explains in details how to play PS2 games on your PC.
Most Common Reasons People Fail
I believe that people who are interested in the subject matter, rather than the Neo4j & Gremlin implementation, would be better served reading the excellent book: Programming Collective Intelligence ( http://shop.oreilly.com/product/9780596529321.do ).
Yes. They do plan backwards support - as annoying as the Secure Boot thing is, I can't imagine the outcry if MSFT said "our new OS only runs on brand new machines."
HCL Technologies to offer 400 jobs in Washington: Parda Phash
A New Gowalla
Ask HN: Why do many start ups have a "we launch soon" site?
If you have a viable product to show, promoting your site/service makes sense to me.
But why should you promote a site/service and all you see is a landing page that states "we launch soon"?
I have the Windows 8 developer preview running on an old laptop with no UEFI. Also Microsoft has said again and again that every computer that can run Windows 7 will be able to run Windows 8.
Telefonate, Arbeit und Zahnarzt | emuscene.de – Mein Tagebuch
I am now going to lock myself in the bathroom until I can prove that pi + e is irrational. I mean, how hard can it be?
1) you want to ensure no-one else has the named domain

2) there are people who you have shared the name with; if they do type it into a browser, they should be reaffirmed that they remembered it correctly etc
Reddit AMA: I have made $10000 USD selling virtual hats
Africa's Umuntu Gets $1 Million To Build Web And Mobile Portals
3) to create buzz/get a list of people they can email when they actually launch.
Hmm, maybe it would be the best for everyone if you could collapse one of the two section types.
I am developing Java for food for around 6 years and it's impressive how much time I spent dealing with different logging implementations and configurations. Almost every time I step in an existing project there is a "creative" way to configure it (and for some reason this configuration does not work properly).
Your timeline has a bug. Where is Win 2000? Also what about 98SE and NT?
Running commands on Windows from Linux, through ssh
DIYbio Pittsburgh - First Meetup
While I've owned it for years, I have no idea how it made it to HN---anyone got a clue?
Hedge Funds: Adopt Transparency to Survive
Technical co-founder needed for a 'neglected' app having 100,000 users
I'll just quickly list out all the details:

- I have a web app which I put together over a weekend back in 2008.

- It currently has about 100000 (one hundred thousand) registered users. But...... read on.

- The app has one very important feature missing.

- The app is poorly developed and very poorly designed.

- Most users don't come back after using the service once or twice (or thrice) because of that missing feature.

- The app is free.

- I put a survey on the app asking "Would you pay $5 a month if we add that feature?". 35% users said Yes!. Even if 90% of them are lying, we still have a great passive revenue opportunity.

- I spend zero money on marketing. Traffic is organic.

- I spend zero time on the app. Domain renewal is automatic. Hosting renewal is automatic. I just don't touch it. It runs on its own.

- I have been neglecting this project for so long. Procrastination.

-----------------------------------------------

-----------------------------------------------

What I am expecting from the technical partner:

- Build that feature (PHP, MySQL and some third party APIs). Building this feature can be little tricky. I am not sure.

- Integrate payment gateway.

- Just handle all the stuff.

- 50-50% split of revenue.

- So, in a nutshell, do all the work and get 50% split.

-----------------------------------------------

-----------------------------------------------

If interested, please give me your email id, I'll contact you. I am not comfortable in sharing the url here. I hope I am not violating any rule.

You may use services like http://scr.im/ to mask your email id.
Is it only me or the latest iteration of "Platform-as-a-Service" offerings doesn't differ at all from shared hosting?
Tornado is intriguing, but the main thing I don't like about it is how it reinvents the wheel with a lot of its components. For example:

- They created a lot of Web-stuff parsing code themselves, when Werkzeug provides a tested and thorough implementation of a lot of that. (Especially routing, regex-based routing just looks horribly kludgy once you have used werkzeug.routing.)

- They created their own template language when they could have used Jinja. (In fact, tornado.template is basically a half-as-powerful copy of Jinja.)

- They created their own database access layer when they could have used SQLAlchemy instead.

Sometimes I think people take the concept of "minimal dependencies" way too far.
Thanks for this, I should have searched before posting.
I've never used Gowalla, but I've seen a lot of complaints on Twitter that peoples' "stuff" has disappeared. What's happened there?
In the beginning, before your site is established, promoting it yourself is particularly important. Things change once your site becomes quite popular. At that point the social/sharing buttons will help you get more votes for stories you’ve submitted, and you'll see the occasional submission of older articles by your visitors.

It's mostly a number game.

Even if your CTR (Click-Through Rate) for those buttons is very low, you'll get several clicks if you receive thousands of visits. So they are generally worth having.

Just be careful, as I caution in the book, too many buttons dilute your call to action message and lead to a lower CTR.