skysight-inc/HackerNews huggingface dataset:
I've never gotten a Kindle prediction right. But that doesn't mean I won't keep trying:

This time:

Fire 7" @$129
Fire 10" @$299
Still &roid.
Color-e-ink-touch model: $89.
No phone.
:-) And you didn't see Teamwork http://www.twproject.com
It's not using heuristics. It's how the code is actually written.

An implementation of std::list<T> is going to contain multiple objects of type __node<T>.

__node<T> would be defined as:

template <typename T> struct __node {
__node *prev;
__node *next;
T value;
};

(Note that this doesn't change what anyone else said though, T is a pointer in this particular case, so there's still another indirection)
>In the late 1980s, they feared that Japan was going to economically overtake the United States, yet the crony capitalism, speculative madness, and political corruption evident throughout the 1980s led to the collapse of the Japanese economy in 1991.

Crony capitalism, speculative madness, and political corruption? Yes, those things are not prevalent in the US at all... cough dot com bubble, Haliburton, housing bubble, Bush and co, Enron, trillion dollar bailout cough
The Worst Internet Trolls Might Be Mentally Ill
Best Mars panorama yet
I am curious to what he could hear before but only from the standpoint of having worked with a deaf person back in my high school days. He felt the music more than hearing it is probably the best way I can phrase it. So in his car the music was always loud and not always of the same genre. Strong bass guitar and of course drums of any type appealed because he could feel the beat. Subtle sounds would probably be missed completely.
Yes, He wanted people to have 4(!) years of school..
During these times big percentage of Polish people were going to college. For example I said to a friend from Poland than 2 of my grandparesnts couldn't read at all. He thought I was making fun..

If I didn't explain good because I should have said that historically education was very bad in Portugal, not only with Salazar regime (that besides everything made a good job on this issue but still didn't manage to get European standards) I only can agree with you; but sentences like:"Go learn something, buy a book" just present an argumentum ad hominem, that is not relevant neither to the other readers neither to me. Please do not weaken this commmunity and consider to change your behaviour taking aknowledgment of existent high standards that you don't find easily in the web.

http://ycombinator.com/newsguidelines.html
You could have built the next Salesforce, but unfortunately you wasted your time complaining on the internet about how extraordinarily succesful people have not 'lived up to their full potential'.

Everyone has infinite potential.
In addition to that, he's effectively comparing apples and steaks in the case of std::list.erase() vs linked-list removal. If you want O(1) removal of a random element, you use a data structure that guarantees O(1) removal of a random element (caveat: not all lists are created equal, and not all lists have O(1) removal.)

That said, it's not even removal that's O(n) here, though he may characterize it this way: it's finding the element to remove, and list searches are nearly always[1] O(n) - even with doubly-linked lists.

[1]: Except in the case of CFArray/NSArray, which is occasionally a non-list masquerading as an array - this is, of course, not a true exception as it's not a true list. (http://ridiculousfish.com/blog/posts/array.html)
Energy Innovations
First bionic eye prototype implant goes successful in Australia by BVA group
The "secret" exposed in the exception page wasn't the actual flag, it was the secret used to sign session cookies. Once you had it you could modify your session cookie (typically to pose as a different user) and re-sign the cookie with the secret.
This is neat, especially because I just started riding again this week after a few years away from it!

The analytics look good, and I wish I had them for running, too. I'm not sure how different those would be.

My one comment about the site now is that for someone like me who has only ever ridden for fun (or a commute), it could benefit a lot from having some basic information about the electronic gear. Reviews, or a couple suggested models, or even just a link to a good website.

For example, I didn't even know that bicycle power meters existed before just now. It took a few minutes of googling to discover that they cost around $1000.

I knew about bike computers, but I don't know much about them, except all my friends seem to have Garmin computers, and they all seem to hate them (reliability and user interface). So I'd be interested to read about what other options there are.

It doesn't need to be encyclopedic -- just a few hints to get me started. Apple used to show 3 columns: Good, Better, Best. I thought that was a good way to summarize what the differences were, and what they cost.
I think you wildly missed my point, there is no requirement for me to develop for Apple or Twitter's platform. That right there is my mobility. I vote with my feet.
Meerli · exceptional mobile designs
I doubt that very much- Android has the perfect middle ground right now. Only installs from approved sources, but has a checkbox in the settings that basically allows you to say "I know what I'm doing, let me do whatever I want". I doubt they'll change that.
I wonder if any of the companies that require unique uploads to the cloud service play fast and loose with compression. There is a large spectrum between running a hash over a file to see if it already exists on the server, and doing the same thing over pieces of a file. Full file deduplication might be clearly against the rules, but what about running a totally generic upload cache that only looked at parts of a file to see if it already had been uploaded as a chunk of data and then copying from the server side cache instead of retransmitting from the user. Seems like there is a lot of grey area between deduplication and simple optimized compression.
It seems like with enough time we become institutionalized to a certain way of life and will reshape our happiness to fit perfectly to that world.

Oddly, first time I saw the world this way was after watching Shawshank Redemption as a kid and seeing Brooks killing himself after he was freed. From that point on, a lot of the seemingly irrational decisions people make made a lot more sense to me.
"It is agreed by those who have seriously considered the subject, that no individual has, of natural right, a separate property in an acre of land, for instance."

Sadly few people understand this these days. Libertarians rightly defend social liberty, but they actually betray this liberty by wrong-headedly believing that everything should be treated as private property. They are correct that one's own person or the fruits of one's own labor should not be claimable by anyone or any government (this is tantamount to slavery), but they falsely believe that land or even ideas can be the fruit of their labor and their labor only.

I hope that this will be the next revolution in political economy, that Georgism/Geolibertarianism makes a comeback.
After a few minutes play I do like this idea but the UI needs some improvement, here's my 0.02 bitcoins:

- auto-tagging based on repo name (if the name includes a word I already have as a tag on another repo, add that tag automatically)
- drag and drop tagging, with the tag box staying in the viewport as page scrolls.
- less whitespace so more content is in the viewport
We need a screenshot.
مزامنة الايفون مع الايتونز عن طريق الواي فاي
It might bloat up a code base, and the resulting binary (if you are using it just for the sake of it), and increase the build-time (if you aren't careful/don't know what you are doing), but it definitely doesn't bloat up the size of the code you are writing...
I'd be more impressed with a car-less society.

More cars, different cars, smarter cars aren't the answer. It just leads to more roads, more urban sprawl, more pollution on the planet.
You do realize that the Kindle and the Kindle Fire are two completely different products right?

Are you talking about them crippling e-ink Kindles? Because if so, you are blatantly wrong - the newer versions are faster, crisper, lighter, better in just about every regard.

If you are talking about the Kindle Fire, then there is probably little to no overlap in the software running between them.
Any user base who would give up a little freedom for a little security, will end up with a platform-specific app store.
That most C++ programmers are so confused about how to properly use their language says quite a lot about C++ itself.
Not to mention Visa gift cards.
Facebook Ads Guide - Facebook Marketing Starter Guide
I agree that it is above average. Subtle little touches (like the highlight gradients and thoughtfully padded section texts) really add to the readability. And, of course, the content. It's a good blog in general - unpretentious and informative.
The programming environment on my C=64 was messy, too. But kids are pretty smart, and they can be especially determined when they see they can make a real computer program.

That's a reason I like Javascript. It's not the best language, but you can write something that looks just like any real webpage.

As a kid I never liked software that was kind of like a game with a little programming environment inside: they weren't good games, and they weren't good programming environments.
To get constant-time erasure of list elements, the author should be referring to the Person elements with a std::list<Person>::iterator instead of a Person* . Passing an iterator to erase gives you constant-time erasure.

An iterator is equivalent to a pointer (* and -> get you a Person), but it also lets the implementation access the linked list node.
Not with something high-profile like banks - they should be having their security check all the time, why should someone pentest them for free?

And if clients don't know how secure their bank is, they don't really have a choice other than guessing.
A reasonable response, although the problem with this is that it's impossible to manipulate persons without causing their values to be copied (which might not even be possible given the other members of the type - which might not even be under the author's control, e.g. 3rd party libs). Additionally without extra complexity, simple pointer swapping tasks like moving a person between list suddenly starts to involve memory allocation, etc.
I'm not sure how a password can validate a person's age and I had a credit card long before I was 18.
If you always reference the person in it's people list (i.e. the object is "owned" by the list), you never need to pass around a ptr to the object of type:

person *

Instead you can pass an list iterator which references the "person in the list" of type

std::list<person *>::iterator

Then you don't need to do an O(n) walk of the list to find the entry for erasure, you can just people.erase(it) directly.
100% agree. It almost feels insulting to say that C++ programmer will only use std::list and a C programmer will only use a hand made doubly linked list. This almost feels like an interview question:
> Which is faster and uses less memory? A generic double linked list or a hand made double linked list?

This is a data structure, optimization, software development problem. The reason we use any 3rd party generic (in C OR C++) doubly linked list is because it helps code the problem faster. Any time you use a component you need to be aware of its overhead. After profiling my C++ code if I found that the std::list was taking up all my memory and all my cpu time I would then evaluate the algorithms I am using and pick the data structure that best fits that be that a custom link list or something else such as the above mentioned boost library.

You even have to nitpick the example about erase being expensive. When using std::list why isn't the code passing around the iterators rather than the person object? And for the memory of std::list overhead why didn't he use std::list<person>?

There is no problem using a hand made C style doubly link list in your C++ code for the core part of your application for performance reasons. Being a C++ program doesn't mean you can't use C style code or even have asm snippets. Following the same logic as the blog ZeroMQ should have been written in ASM and not C because it could have been faster, or the reverse it should have been written in Ruby because it would have been coded in a quarter of the time (but at the trade of slower runtime)

As for the conclusion I would say that the inefficiency is still in ZeroMQ code as the author doesn't fully understand C++.
I'd say for a number of reasons they're different. Plumbing, while probably useful at some point in your life, is just one activity. Programming is NOT just one thing. It's closer to woodshop (which I hope is still in schools...). Another difference I think is that you can create something bigger with it, something that scales. Last but not least, I think it's inherently fun and fulfilling to create something out of nothing, but I'll admit that it's not for everyone. But neither is woodshop or gym class. I'd also say that teaching some programming along side math could have some benefits to learning and motivation.
I respect you for your refusal to downmod.

But as to "logical fallacy"... as Inigo Montoya would say, You keep using that word. I do not think it means what you think it means.
Web2py is fantastic. I've been using it for two years, and it is a joy. "Batteries included" is an understatement. Documentation is good, if not quite as good as Django's, the mailing list is extremely helpful, backward compatibility is excellent, and it's easy to use just the parts you like and ignore the parts you don't.

Regarding the "unpythonic" debate: Watching two years of web2py mailing list, it appears that the "OMG, new builtins and globals would confuse everyone!" fear is unjustified - I don't recall a single confusion about it (there might have been one or two I misremember - but there definitely is no room for the FUD)

If you're looking for a Python web framework, I think it is well worth your time to download and play with it a little.
But what are you binding to? If it is something in your controller you have to explicitly add it with the myvarBinding declaration.
Thank you Joshua! :)
Chrome doesn't ship with Java, only Flash. Java has that pesky auto-update-Yahoo-toolbar-installer thing.
Obligatory "Visual Studio?!? Oh the horror!!!"

Edit: This video was well done and pleasant to watch.
If emacs users bothered to read its manual[1] maybe sex wouldn't be so unpopular

[1] http://sqzm14.ust.hk/sexman.html
I had to fight the urge to stop there too; it's also more idiomatic and probably both more economic and performant to use a vector in this situation; "lists" in C++, at least on the projects I worked on, tended to be a code smell.

I think this is a very big problem with C++: most of the funnel of new developers for C++ are C programmers, and transliterating C idioms to C++ (and, worse, the C++ standard library) usually produces pessimal C++ code.
direct.gov has been a monumental failure, which is why it is being canned (at vast cost due to contractual terms, I believe). If the "traditional integration paths" are broken they will need fixing too.
I'm very glad to see that this is spreading. It would have been really annoying for Google to perfect their car and then have nowhere to drive it because of silly legislations. It wouldn't be the first time senators were afraid of change...
Take a look at the data as single metro-region.

Las Vegas has long been considered the world’s top gaming destination. Is that still true? Gaming revenue in Macau [China] this year probably will exceed $20 billion, which is a little over three times the size of Las Vegas ... Las Vegas still has more diversity in its various offerings, but it’s hard to say that it’s king of the hill in gambling.

Edit: For Brevity

List of countries GDP/Cap $USD

Note: Macau =#6 (tie), USA =#16

1	Monaco	172,676	(2009 data)

6	Switzerland	80,391	(2011)

—	GuernseyJersey Channel Islands	76,413	(2007)

—	Macau	65,550	(2011)

16	United States	48,442	(2011)

http://en.wikipedia.org/wiki/List_of_countries_by_GDP_%28nom...
Is your point that programmers in other languages automatically make good choices about data structures and memory usage? Because that seems, respectfully, to be a dumb point. They do not.
programming hones logic and abstract thought. these skills underly almost any endeavor that humans tackle.
What happens when your router breaks? Surprisingly little.
Personal Software Agents In An Information Economy
std::list<T>::splice() lets you move elements between lists without copies or allocations.

Before C++11, it was a problem that inserting an element into a std::list required a copy (that's the only place though - once in the list there are no more copies). C++11 adds move semantics and also std::list<T>::emplace(), which eliminate the need to copy.
vectors don't deal with the heap? Huh? Yes they do.
Pagely is offering seamless WordPress hosting integration for theme sellers.
nothing that couldn't be cured by doing the same thing late at night in a car park.
Hacktivists Continue To Own Systems Through SQL Injection
I hear you on that. As far as the cell phone companies are concerned I don't own a smart phone, but I wanted to write some apps for one so I got a used phone and hook it up to WiFi when it's time to code.
Meanwhile millions just illegally download the movies and tv shows of various sites, completely ignoring copyright law.

And there isn't anything these people can do about it.

But hey, lets do a lot more suits against companies and at least force them to do crazy things.
Man, that is so much better if you read it aloud.
Have you seen https://github.com/glock45/iOS-Hierarchy-Viewer?
Incapsulation is a very questionable concept as well.

One can live without it on a smaller scale. But for anything that will have any lifetime whatsoever it's absolutely essential. Distinguishing between a module's intended interface and its implementation details is what makes it possible to amend the implementation should the need arise. Without proper encapsulation every change must be assumed to be a breaking change, software maintenance costs go through the roof, module interactions become unpredictable, and that upstart kid who wears Chucks to work but knows how to write testable code eats your Wheaties.
Are there plumbing pages where people teach their children to plumb, or dry-walling speciality sites where folks discuss how to get their kids into plasterwork?

That sort of thing is quite popular with Boy Scouts and the like. You can get a special magazine for fun father&son activities like The Joy of Spackle. Totally not joking.
The one thing that Samsung's camera division does well is listen to feedback. I imagine they'll be seeing what the early adopters on this camera will say.

Because of user feedback, their NX camera line (which I think needs to go Android) actually has one of the most complete (and affordable) lens ecosystems for mirrorless cameras. It's a highly underrated platform.
Right, but the same trade-offs apply to C; C++ is actually superior here: if something shouldn't be copied, you can enforce that in C++, but not in C.

The author was arguing that writing in C++/STL meant your code was necessarily less efficient than C; that just seems incorrect.

Edit: If you're referring to copying the person values when they're returned from the list: a reference is returned; the compiler will optimize that "pointer" away. Most C++ compilers can even do this when the value itself is returned and avoid the copy. My rule with C++ is that the compiler is stupid, but never where you expect. You need to optimize based on a profiler.
That already exists in fact: it's called DCIntrospect.
https://github.com/domesticcatsoftware/DCIntrospect
Well, it doesn't support making calls either. We were talking about an hypothetical Kindle Fire Phone.
Actually killing people is "objectionable and crude". Telling people about it, in an attempt to stop further killings, is anything but.
Hmmm..I guess my point was that I don't need that code n the knockout version. In knockout the 'view' is my html template, in ember I have to have a separate class to the bind to my html. The author has pointed out that I'm using the wrong app style so I need to look back at what the are suggesting.
That works only for simple datatypes. Any not trivial object (containing large amount of memory, handles, file descriptors etc.) is non-copyable. Thus list<person> won't work (according to STL, "person" has to be model of Assignable concept.)
Windows 9 to drop x86-32 support
Calling the iPad 1 a dud is just plain ridiculous.
No, but in other languages there seems to be much more consensus about what features one should use, how and when.

In C++ it seems everyone has completely different views.
Or in this case botnet operators. They are entrepreneurs too, just less ethical. It is unfortunate that they exist, but once again the optimist keeps saying that their existence is great because they create problems for smart and ethical people to solve.
This is a well known trade-off - your data structures affect the design and therefore run time profile of your algorithm.

A tightly coupled data structure is more efficient in time and memory, but harder to reuse, and makes it harder modify the code. A more general data structure is easier to reuse and makes it easier to modify the code, at the expense of time and memory at run time.

We use a combination of Moore's Law, and the cost of a programmer to justify the less efficient general solution in the near term, and explain that we'll optimize hot spots later. This mostly works. The Author has found himself lamenting this choice in piece of high-performance software.

If he has few lists, then coding the doubly-linked list pointer directly in to his structs is the way to go. If he has many lists, I'd suggest using the cpp or m4 (or some other templating tool) to statically generate doubly-linked lists at complile time.
before C++11 you would use <person *> to prevent additional allocations on insertion. C++11 is a little bit smarter about not wasting allocations for temporary objects, but requires you to have move operators for any classes you make. In C land no one cares since there are no temporary objects to even worry about, you would be passing around the memory anyway.

Maybe you should read the rest of his article.
Khan Academy has a pretty amazing live environment inside the browser: http://khanacademy.org/cs

It's been tested to work pretty well with middle school children, so it seems right up your alley. John Resig (creator of jQuery) made it happen, his blog post on it: http://ejohn.org/blog/introducing-khan-cs/
The Sony Duo design is different from the other "dockable" tablets. It is not the first by any means to have the slide form factor. Yet, I can not help think, how cool it looks. It looks "Sony" to me. The worst part is that cramped looking keyboard. I hope it comes to the US.

I have an HP Touchpad running ICS and hardly use it. I use my Gnexus most of the time. But, I have been looking at more "robust" tablets with pen capability. The Modbook Pro looks neat. http://www.modbook.com/modbookpro
Quabel: Distraction-Free Writing with Goals
It would help your argument to get your facts right. The only OECD countries ahead of the US in GDP per capita are Luxembourg, Norway and Switzerland. Canada's is about 85% of the US (source http://stats.oecd.org/). It's true that many things go unchallenged by most Americans and there's no question to this American that we don't do everything right, but facts need to be respected.

Edit: these are purchasing power parity numbers.
Quick-Start Guide to Promoted Posts
$22,500 Per Song
>Having said that, the vulnerability you pointed out was in SSH1, right? Isn't that depreciated?

It is now. I'm not sure it was in 2001.
Wow that Javascript sure is interesting, glad you pasted it three goddamn times!