skysight-inc/HackerNews huggingface dataset:
Where I live IDs are a fact of life. The government has got your picture, fingerprint, address, whatever. What's the big deal? Lying about your identity is a crime either way. Even if you don't have a national ID register, there is plenty of data to be gathered from your SSN, driver's license, business documents and countless other sources. It's unfeasible to run a civilized society without some kind of record. People expose much more dangerous information by themselves on facebook.

Americans seem to enjoy making a fuss over it - I guess when you can be arrested for basically any reason you really need the option to hide. It's not the IDs you should worry about...
Yup, https://github.com/tbranyen/backbone-boilerplate/issues/22

Currently anyone can use require.js. Delete the build folder and update the index.html.
This is a great news i really like it and waiting for launch of galaxy S3
Jam Dengan Jquery & ajax
The problem is in the word "expects". This function expects certain things but doesn't assert that they're happening. Because of this you get bugs when you try to use that function in other code, which is what beginners do.

And yes, the solution is to require a size with every string buffer, which is what I do nearly all the time now. But, the best way to learn why that's solution is to try to hack something with this kind of defect.
You never know where that kind of thing could lead. Perhaps the Occupy Wall Street crowd would rally around it.
Car DVD Player
GPSCarDVDPlayer is a Store where you can get perfect Car DVD Player and Portable DVD Player for your car
GPSCarDVDPlayer is a Store where you can get perfect Car DVD Player and Portable DVD Player for your car
It will probably end up being $50 at retail, but that's still pretty good.
It's fairly vague in the standard, but most of the time this is what happens so nobody hits the bug. Also, many OS are notorious for being loose with the stack and strict on the heap for various reasons.
Actually, yeah, I take it back. I don't know that I'd swear it off altogether, but the INSTALL document is really quite convoluted.

While I appreciate the author's statement on avoiding SQLAlchemy to create models, I know that it can be done, and generally, that's what a person looks for from a framework like this -- to get the fiddly bits right.

It might work or it might not, but it will definitely take awhile, and the comments in the INSTALL doc are seriously snarky.
To play devils advocate here... This specific example could be solved with implicit returns in Coffeescript:

class FileInfo

constructor: (@name)->

mtime: ->
#implicit return
@withFile (f)->
if f.time isnt 999 then "too old"

withFile: (block)->
try
block
name: @name
time: 1000
finally
console.log 'finished'

f = new FileInfo('name')
console.log f.mtime()

#finished

#too old
I use bstring but there's a few others. Generally it's the easiest way to avoid some common buffer overflows and other problems.
Under the Hood - Inside Google Search
Happy Hooker Hulk Hauling
Happy Hooker Hulk Hauling specializes in scrap metal and junk car removal. We serve Tacoma and surrounding cities.

cash for junk cars in Tacoma, junk car removal in Tacoma, recycling cars or auto in Tacoma, Tacoma cash 4 cars, Tacoma top dollar for cars, Tacoma junk cars, Tacoma auto wrecker, 24/7 Tacoma
You are a napping genius!!!
I do not pretend anything about null-terminated strings in the book. In fact, I have many exercises and assignments where they use Valgrind to buffer overflow C strings repeatedly and don't introduce bstring until much later.
22 Upcoming Hackathons: Wikipedia, Facebook and Social Good
Thanks for the links. It's neat to see such things being considered. My feeling is that such complicated language devices are out of place in JavaScript but it was fun to run the experiment.

While I'm thinking about it... I wonder about the choice to overload/reuse the keyword 'return' in the blocks proposal. Any thought on using something else to emphasize the distinction in semantics?

Edit: Nevermind. That would break the Tennent Correspondence Principle wouldn't it? Bad idea.
In a way, it'd be like the Tower of Babel.

I'm sure if DNS in its current form were to fragment like so, English certainly would have to take a couple of steps down from the throne.

I guess the throne would have to take a step down from the altar, too.

And the altar a step down from the turtle shell.
Resorts in Kerala
That's basically the point of this chapter. It's getting people to think like a hacker and try to break the code in unintended ways. That makes them better programmers and helps when avoiding common mistakes in C code.

Using K&R to do this is to give people a set of known good C code samples and show how even those can be broken and misused.
Good grief. Government ownership of means of production is where few masters rule. Startups and entrepreneurs are what you get with private ownership.
You should go read about fuzzing. It's amazing what throwing "random garbage" at programs can break.
Because unfortunately there's no permalink to each month's tiobe report. So if you submit the link, it just adds a point to a story submitted 500 days ago.
The newsworthiness of the subject is what's important.
Thanks, I do like breaking things.
I have to admit it, you're pretty good. Saying racism is an "assessment", comparing it to chosing clothes and then actually accusing them of "robbery"... masterful!
You're kidding, right? A monopoly on "web search"? What are Bing, Yahoo, Blekko, Duckduckgo and others? Chopped liver?

You have a monopoly on (or monopoly power in) a market, not in something given away for free. If Gruber had said "Monopoly power in adword advertising", maybe, but then he'd have to make his case differently.
What's the big difference between this one and other RSS readers. Why should I use your instead of google reader? I think you should answer to this question on the first page.
> Do not be tricked by default Drupal installation UI

Defaults are extremely powerful things. For most users they are all of your product they will ever experience.

If your default settings are off-putting, people will feel that your software is off-putting. The defaults are the welcome mat. If the welcome mat is studded with titanium spikes coated with blowfish toxin, you shouldn't be surprised if people aren't eager to walk through the door.
Challenge: visualize movie data for fun and profit
What Is Meant By Target Market Mechanism In Cafe Logo Designing 
With the drastic increase of cafes that have sprung up wit
I used to go for frequent walks... people assumed I smoked.
Youth Services: How to be a Great Emcee
I used this one summer to implement a graphical model I was working with. It has two approximate inference algorithms: variational message passing and expectation propagation, for which the inventors are co-authors of this library. I found the library to be powerful for those who knew what they were doing. But it took me a while to figure out the syntax.

Some bits were a bit hack-ey which made the syntax difficult for me to get right. For example, random variables are templates that take a bool or float depending on the underlying distribution. You could have a C# array of random variables, or a infer.net array of random variables, which had slightly different functionality. The infer.net array of random variables did not use the C# for loop, and instead had its own for loop implemented as a method.

Anyways, it's a nice library and great that they released the source code.
Nope, and what I'm actually doing is fuzzing the input to this function, which is a common breaking technique.

You see, programmers tend to go around only using functions exactly as they were intended. Hackers come along and then use them in unintended ways, which causes bugs. The way to prevent this is to think like a hacker and try to use your code in unintended ways and then try to prevent them.
"For non US entrepreneurs this law is potentially great news"

That would be true if other countries wouldn't use USA as a role model. The way it is now, I think this is a big problem for the world...
Not only do I support this on Jan 18...
I will be posting links to Reddit and hopefully HN on all the non technical forums (auto racing) I visit in support!
more like 'use it or lose it' ?
Third level in proper browsers:
1. Open a JS debug console (Cmd+Option+J)
2. Set a breakpoint on window load (Event Listener Breakpoints - Load - load).
3. Reload the page
4. After the breakpoint is hit, type
localStorage.setItem('msIsSiteModeActivated', 'true'); navigator = {appName: 'Microsoft Internet Explorer', userAgent: 'MSIE 9.0'};
5. Disable the breakpoint, level 3 should now work..
I wrote code for an employer in 2000 or 2001 that checked against a user's availability, which could be as precise as a half hour, and sent out of office notifications back to the sender of an email that "While so and so will be happy to answer your question, please be aware that they are not on shift until later this afternoon. If your concern is immediate, please call the help desk at blah blah blah."

I wish I'd patented it then, cause I guess IBM would be infringing.
I'll take the 2nd one, please. And twice on Sunday.
For Java, NetBeans + vim plugin does just that. Major win. Same editor (almost, plain old vi) in impoverished production environments, full vim under cygwin for quick patches, and the same keystrokes in my IDE with all the other goodies for long term projects.
Google's Lack of Newsworthiness
WebApp that help Orginice your mind
okay http://i.imgur.com/jHu1N.png

this is from webkit nightly after I clicked a user name and got a "you messed up" 404 page and went back
Add a new statement to the while-loop. Now you've figured out why that style isn't so hot. You now have to remember to go add the new braces, and typically people are mentally putting them in so they forget. Same with the last if-statement. You'll go, add the new line, indent and go "cool done". Then scratch your head for hours wondering why it's not working.
Web Design London, UK
In fact, as one business forecaster stated on BBC radio: they got 2011 absolutely wrong, together with the Bank of England and the UK Treasury which is why the doom mongers that have been dominating our airwaves over the New Year should be ignored.
Sounds like the US cell phone carriers need a bit more regulation to me, together with a bit more sharing of frequency allocation. I really don't think this is the fault of Android. For example, in the UK I think pretty much all 3G carriers run within a common 2100MHz band.
I used google docs for doing the same until today that I discovered this. In fact i was working on a webapp exactly like this because i miss some features like the #.
For me this kind of tree organization is the best for projects, and ideas.
Can I Decide? How To Follow The Inner Guide
I see some useful features but I think you should simplify it. Just too many features and too much going on. I saw #TaskView. and got overwhelmed. Get that video down to less than 2 min.
Ask HN - Real life work makes me dumb; Recommend algorithm learning resources
I've been building non-complex real-world apps for a very long time.<p>I am becoming dumb.<p>Can anybody recommend good algorithm resources, tuts, books, and problems.<p>I am aware of http://projecteuler.net/ and am getting started on that!
Bookings Melbourne.Sydney and Backpackers Brisbane
Book your Backpacker Hostel online with Backpackers.com.au. Book travel Tours, Transport and apply for Travel Insurance today
I partially agree with you, but in a different way. I feel that the real problem is the OS doesn't give code access to its own internal accounting of allocated memory. It already knows the size of any heap chunk you make, so why can't we ask it? In most C code we're carrying around either a null terminator (which can get clobbered) or a whole integer for the size.

Instead, there should be a way to ask the OS "how big is the crap this pointer is pointed at" and get a valid answer. Other useful things would be "how far inside the chunk pointed at by X is the pointer Y?" Or, "will pointing Y at J inside X cause an error?"

And it wouldn't even need to be the OS, just the allocator, probably a few macros, etc. But, for now I have to show people how to write bug resistant C code so this is the best way so far.
If you are looking for a standalone Linux box just to turn on a lamp I think you are over-thinking things. Check out X10 automation kits: here's one for ~$24.

http://www.google.com/products/catalog?hl=en&q=x10+pc+in...

You should be able to control that with a small script (python, perl, etc. anything that can write to a serial port) that you keep running on any computer in your parents' or your own home. X10's advertising is notoriously lowbrow, but the hardware itself is decent and a little googling will find you a lot of hackers that have done crazy stuff with it.
My criticisms are only partially stylistic, but also that people copy this code to other situations and it breaks. So, I'm showing them why it only works in that one specific context and how to break the code.
Social Networking Script
The social networking script allows the site owners to share the content in the social networks such as Facebook, linkedIn, tweeter, stumble upon and delicious etc. It has all the features to increase the strike rate of your site.
Improve Performance By Using Batch Gets on Google App Engine
Google App Engine Some JPA Gotchas
Eh? Every source I've read on the subject says Medicare doesn't cover the cost of service. And that is, in part, the reason for the "byzantine and obfuscatory private insurance regime". When you go to the hospital you're paying for the medicare patient in the next bed, and you're paying for the indigent guy in the bed beyond.

But they can't very well give you a bill that with a line item that says "shifted costs from the old guy in bay 3 - $900".
We already had freedom of expression before, you could say whatever you wanted about previous presidents in public. But now the government has higher control of the press, by controlling the paper, it has also publicly attacked and tried to close some of our biggest media (regardless of their quality, that's a bad sign... the government arbitrarily choose to attack one monopoly very openly, while allowing other monopolies to continue as always), while it has funded their own partidist media -with our taxes-. Meanwhile we have seen violent, even physical attacks against people who talk openly against the Kirchnerismo, like Lanata (I'm not saying the government did these attacks, but they weren't as common before the Kirchnerismo).

If Clarin is like Fox News: what would happen if the POTUS decided to close Fox News, just because? The end result wouldn't be more freedom of speech.

I don't think the Kirchner did all wrong, but I do really think our freedom of expression is getting smaller every year with them.
As someone who's done his fair share of ExpressionEngine development, the template system is a source of endless frustration as soon as you need to do anything remotely complex on the page or deal with user input. It is a great choice for blogging sites where a group of editors publish content to a site in predefined channels, but really falls down if you push it too hard.

Template processing is slow, processing order is wonky, and it's very easy to create N+1 query loops that can only be avoided by writing custom SQL queries/php. They also made some poor database structure choices in certain areas.

Mostly though it just boggles the mind why they put so much effort into creating a regex-based templating system when the app is already just PHP.

Still, probably the best CMS I've used and it certainly has its uses. I just wouldn't use it to develop anything complicated ever again.
In the earlier chapters they setup a Makefile with full debugging on so these don't get removed. It's mostly just for this one exercise, and in the rest of the book they use a set of debug macros I wrote:

http://c.learncodethehardway.org/book/learn-c-the-hard-waych...
Great 404 Pages
Gosu [1] has a neat ORM [2][3] that actually parses your SQL .ddl file and creates types based on that. It uses Gosu's "open type system" to create types without any code generation.

[1]: http://gosu-lang.org
[2]: https://github.com/akeefer/Tosa
[3]: http://ronin-web.org/Tosa.html

I really liked using it over the summer even though it was a little unpolished and lacking some functionality. I suspect it has improved since then; it was being actively developed while I was using it.
As a father of three daughters (2 teens), I wonder and worry about this as well. My girls are wicked smart (no bias or anything) and I have faith they are going to do great things, but I worry about privelege I've had as man working against them.

That aside, we absolutely need more women in computing. I'be been doing my best to encourage my daughters when I can.
The key requirement in that is going to court.
I really enjoyed these posts. What a great use for a mathematical concept that was developed over one hundred years ago.
My point exactly. A well-designed OS shouldn't require you to keep multiple versions installed on a machine like that. I have exactly two versions of Python on my box (a 2.7.x and a 3.x), and since I don't need to do development testing of libraries against multiple versions, that's all I should need. (And we're just talking about development tools and installation here - what about all of the other aspects of package management, which OS X completely neglects?)

In this case the problem is that libraries may not detect the alternative versions of Python if System Python is still installed. But the prepackaged versions of Python won't always install properly if you already have a Python on your system, so you're in a catch-22.

I mean take a look at the installation instructions for Matplotlib[1]. It takes about two lines to explain how to install it on Windows, and more than half the page to explain different things you have to try to get it to work on OS X. And that's not counting the copious other errors and hacks that you'll find if you try Googling the OS X installation issues.

Let's face it: if it's orders of magnitude easier to install a well-designed library on Windows than your OS, you have a problem with your OS.

[1] http://matplotlib.sourceforge.net/faq/installing_faq.html
Well when my book is finished you can come back read all of the ones I find, but demanding that someone go through the book and write down every example they found to answer your one-liner is a bit unfair.
It's way more classy to have & take your interview notes on a legal pad or similar. I would bet money if you kept pulling out your smartphone during your interview, you are not getting a job.

A legal pad looks "prepared". A smartphone looks "distracted".
It appears you are correct, at least based on some discussion here: http://stackoverflow.com/questions/1543613/how-does-utf-8-va....
You don't really have to 'handle' simple fields with Unicode, just copy and paste what you were given.
To be both pedantic and correct, there is no way to define a C function to restrict a string input so that it is correctly terminated. So no, it's at best documented that you shouldn't do that and definitely doesn't prevent you from doing this.
My mistake, with all the spotlight going to the DNS side of SOPA I had forgotten it also included requirements about payments.
"Unable to change content types 2) Funneled into the "Blog" post type, which is simply called "Posts", with no easy way to kill this off and create your own.."

I do not understand. Wordpress can certainly use custom content types.
Yes. Perfect description.

http://www.as-coa.org/articles/2982/The_New_Mercantilism:_Ch...
too long, he must be enjoying writing for the purpose of writing itself.
http://learnyouahaskell.com/starting-out#ready-set-go
Yeah, having them written down off to the side helped me finally learn vim. There are many vim cheat sheets out there via a quick google that I wish I would have used starting out.
I love this. Reminders sound so trivial but in actuality are powerful.

I am releasing a health app and have over 5000 ppl in my waiting list. When it's out I wAnt to do a cross promotion with you as I love what you have here.
Google's Schmidt says Android is not fragmented
That site is amazing, thanks for the link.
Flourishing Cloud Based Companies
Ok, maybe not tons of security issues, but maybe some pitfalls.

My imagined use-case is where your friend on a different server posts an event, it gets put into your feed, and when you view your feed you're able to see an updated list of people attending by directly querying the friend's server. Would be pretty slick.
500ms+ for rendering a template seems ridiculous. Were they just Doing It Wrong, Ruby-wise?
I am stuck with windows and cygwin. Is there a way to run vim without the weird bugs? I run rxvt and still see a lot of weirdness with vim, I really only use it for quick edits. I would love to put in the time to learn it better, but I don't want to suffer through weirdness on top of the learning curve.
Texas is expensive for the same reason Southern California is expensive - a high percentage of the patient population is illegal aliens who a) can't afford the service and b) skip out on the bill.
Hey, sorry, that was me. I clicked "delete" instead of "edit" and didn't feel like retyping. I was wondering how, after the socket.io server receives the commands like, say, "move_down", it implements them on the PC. Can you use something like Glovepie to simulate an input device or would you need a C library for Node? Otherwise you could only use this with games you code yourself, right?

Love the project by the way. And 3 hours is crazy!
Well, now you're dodging the spirit of the problem, which was to work through a single generalization of "map" (or, as tweaked in the second try, "map_unless_test") that is responsible for executing the callback and collecting the results into a new array. Here you are doing the result-collection on your own. You can't express these functions elegantly if you are required to silo the .push(cb(item))-ing into a separate "map" or map-like function.

That's not an outlandish requirement; imagine that the callback can be expensive, and we would like to be able to adjust a centralized "map" function later so it farms things out to different processes/workers/etc.

To solve this for map_first_innermost, you'd have to throw an exception with the nested array, but this is just getting hideously ugly.

function map_first_innermost(arr, callback) {
try {
return map(arr, function(v) {
if (v instanceof Array) throw {itWasNested: v};
return callback(v);
});
} catch (e) {
if (e.itWasNested) {
return map_first_innermost(e.itWasNested, callback);
}
throw e;
}
}
Wrong idea. Boycott companies that support SOPA. Look at what happened to Go Daddy.
Thanks, I was unaware of that one.
I agree with this very strongly. The first time I tried to learn VIM, I installed janus [1], and ended up with this monstrous, complicated system with a million plugins that I didn't understand. The mouse sort of worked, but not the way I expected it to.

I'm now sort-of trying to learn VIM again. My vimrc has about 10-15 lines in it, and I know what each one does. I have a color scheme installed, but no other plugins.

How I boosted my Vim [2] has been helpful to me in adding things to my vimrc, because Vincent Driessen is, as always, clear-minded and erudite in his description of what things do, and has good taste on a basic setup that will make sense to the modern developer. Again though, I haven't blindly pasted in all his stuff—instead, when I feel some friction with my Vim settings, I head to that article and see if there's a tweak he's listed that I can use.

[1]: https://github.com/carlhuda/janus

[2]: http://nvie.com/posts/how-i-boosted-my-vim/