skysight-inc/HackerNews huggingface dataset:
To me, this is a good example of how not to do an online video-based course.

- Staring 2 minutes at HTML code that doesn't move while hearing a disembodied voice is a very bad start.

- Detailed, technical information with no visual cues to help support it. For example, explaining a separate stylesheet file (which he call "style PAGE", actually), with only the mouse cursor waving around on the screen.

- Too many non-useful details at first (non-supported features, difference in versions, etc.

- So Notepad isn't good enough, and the next step is Visual Studio? Geeze, try Notepad++ first, maybe?

- 6 minutes to get to actual HTML creation, almost 10 minutes to type in the first CSS code.

- Spending half a minute calling a CSS property "A key-value pair separated by a semi-colon", repeating it 3 times. What is this, kindergarden for programmers?

All in all, I stopped watching after 12 minutes, having learned more about this guy's bias towards Visual Studio than about CSS (or HTML for that matter).
Yes, we've heard it before and it's still silly. The term serves only to distinguish intangibles from physical objects. It does not imply that all of those intangibles are equivalent any more than "physical property" implies that boats are the same thing as staplers. This is a non-issue. It's a useful term.
Sorry. HN seemed to have chewed up and I didn't check my threads link to see if it had worked or not.
I've modified the text to address this comment:

EDIT: A lot of people point out that iterator should be used instead of pointer. However, imagine the object is contained in 10 different lists. You would have to pass structure containing 10 iterators around instead of the pointer. Morever, it doesn't solve the encapsulation problem, just moves it elsewhere. Instead of modifying "person" object every time you would want to add it to a new type of container you would have to modify the iterator tuple structure.
Interview with McMillen creator of Super Meat Boy
Why Yammer said yes to Microsoft - extended Q&A with co-founder David Sacks
QR Codes for marketing may be "dead" (it was DOA for most implementations IMO), but that doesn't mean they can't have some interesting use cases. I think the syncing of two different devices is pretty compelling.

That being said, the article hits the point pretty well when noting QR Codes are a tool. However, NFC isn't necessarily a "replacement" for QR Codes, as QR Codes don't require the proximity that NFC does.
Chicago’s Excelerate Labs Graduates Ten Startups
Interview with McMillen creator of Super Meat Boy Part II
Impressive looking tool. I hope the intern is getting paid because he's adding a lot of value to Square and the dev community too. (Seems like a chance to plug http://gittip.com/ now!)
The name came about because our internal HTTP library is named PonyExpress, and this tool was originally part of it. At least it is google-able, right?
I'm using K9 on Android. There is a quiet time option which disables notifications. :)

Hope this helps!
Just the discussion of std::list<person> vs std::list<person *> that follows your comment makes my head hurt. It's like not only is c++ a language from a committee, any line of c++ code could be analyzed and argued over by a committee.

I think I'll tend to stick to C most of the time, thanks.

Even the C++ people probably can easily analyze and reason out the C implementation without much effort or dissent, apparently not so with C++.
> I only access my internet banking using a VM

Smart thing to do. Also, you can make the VM disk reset itself to a base state on every boot.
file_get_contents('nonexistent') actually returns false, but calling trim() on that coerced it into an empty string.
Ask HN: How do I convince a company to participate in Open Source?
I have been asked to give a proposal to my friend's company for why they should participate in Open Source. They use a lot of open source, but I think their current policies do not allow employees to contribute code or time. I am looking for concrete reasons such as proof it is more secure, help from outside developers finding bugs, Return on Investment, etc.
I haven't seen a serious study, but I've taught Scratch programming to kids in the 6-10 age range and found that they were all able to grasp loops if presented in an appropriate way. Similarly, we didn't talk about functions exactly, but each Sprite in a Scratch program can have multiple blocks of functionality triggered by different things.. i.e. functions. By the end of a year-long course, all of the students understood at least the basic idea and several of them had a pretty deep understanding.
BTW, is OpenJDK affected?
6 home truths about rock star developers
DHS continues pursuit of crowd surveillance with Terahertz technology
Hey,

This is a very nice idea. I guess with the limitations you face in terms of teachers and principles not having access to your web platform, you can resort to doing things manually, but this is only feasible for a small number of students (and hence there is no need for cloud hosting at the points). AUI Professors might bug you about this during your presentation.

Suppose you already have a set of schools involved in your project. So you talk to the people managers and you decide to create an account for them in your platform (PS: AUI professors love the word platform. Abuse it). An easy way you can handle validating a student's work is to have the principle mail you the forms (nobody wants to do that). As an alternative, you can let them sign the usual documents, hand it to the student who then validates their own work online and uploads the scanned (pdf) version papers as proof. Note that nobody at AUI takes a look at those paper unless a student's work seems extremely suspicious when they're presenting it (and everyone has to presenting, so that adds a little bit of validation to the platform, though relying on this is merely avoiding the problem).

Another solution that seems interesting (at least to me) is give principles and teachers passwords that they can handing to students once they finish their work. Of course a password doesn't mean one simple word since students may share. it may be a hash of the students name/id, date of delivery and school's info (principles name or other info). Coming up with this password is the tricky part since it has to be easy enough for everybody to compute (no PC required), yet not obvious for student to understand. It should also be easy for you to compute based on information giving by the student and compare it to the one the sudden supposedly received from the principle.

Example (I gotta let my geek out a bit so here is an example in JSON):

{
id: 15383,
school: 23546,
date: '30/8/2012,
principle: '324324'
}

===> just add all the freaking numbers ==> 365211
==> ask the student for this info when they're validating their work
==> of course they don't know the principle's or the school's
id so now way they can know how the output is generated.
==> if they enter the right info, you compute. if it's good, they're validated. If not, send them an F*U message, although I don't think anyone will try to fool the system especially if you use their REAL AUI ids and the university fully endorses this project.

This is security by obscurity. You can think of something better.

Peace out.
Rorchackh
Glad to hear. If you run into any issues, please file it on the github page. We tried to simplify it a lot, but there are a lot of moving parts and we can improve even more.
@sp332 You posted the Jefferson link, so I figured you understood it.

Treating land as part of "the commons" doesn't preclude the idea that you can have temporary ownership, aka a lease.

The problem is that land is not infinite. Going with your example, if someone clears 100,000 acres, have they not deprived others of the natural use of the land? If a small percentage of the population owns most of the land and cuts down all the trees (for their sole profit), how is that no worse than you dumping toxic waste on "my" land?

Oddly libertarians consider free market principles as sacred, yet they do not realize that being able to pay a finite sum of money for an infinite amount of something (that is what owning land in perpetuity means) runs totally counter to free market principles. Just as there is a time value of money, there is a time value of capital. Owning land in perpetuity amounts to a free lunch to the landlord. They can charge rent and they and their line of heirs can live for free. Property tax and inheritance tax mitigates this problem (only partially at current levels), but populist libertarians are adamantly against these.

Please read up some on Georgism and Geoliberarianism. Understand why Jefferson is saying what he is saying.
It isn't "fear" of change, it is that political systems get captured by status quo interest groups that fight against change.
> As to the notion of being impoverished by not having all the delicious foods in the world, that strikes me as a very aloof and distant connection with how the rest of the world lives.

The rest of the world may not have the same kind of selection of different foods as we do, but my understanding is that most cultures still treat meals as social occasions to be enjoyed.
I think this is an innovative solution and I wish aereo all the best. However, unless they can somehow include some more (premium) channels, it may be a little hard to sign up too many people. Currently available channels: https://aereo.com/channels
Time series works very well on Cassandra. If anything, avoiding global-ordering hot spots is a Good Thing.

http://rubyscale.com/blog/2011/03/06/basic-time-series-with-...

http://www.datastax.com/dev/blog/advanced-time-series-with-c...

http://www.youtube.com/watch?v=F-fYqPu2ciQ&feature=youtu...
RubyMotion changed the way our entire agency operates: we haven't outsourced a single app in months. It's been the best thing to happen to us, hands down.
6 Best Books for Learning Ruby
Show HN: Making, playing, and forking HTML5 games online.
It's interesting that you don't mention uninstalling as a final option. Shouldn't the user have the ability to permanently remove a plugin from the browser?
Stanford researchers' cooling glove 'better than steroids'
I recently tried out the product for writing a term paper. Copying and pasting information from my web browser to a word document is literally the bain of my existence when I'm trying to do research. They have an awesome desktop widget that prevents me from having to switch between interfaces all the time.
Wanna mongo measurements too
My point was that the trade-off is not something unavoidable. A better language could allow you to syntactically decouple the tightly coupled objects. See the example at the end of the article.
I used nominal GDP.

Obviously, if you have a few billionaires and a lot of peasants the GDP PPP will be high. You'll have a low cost of living (due to low labor costs, and plenty of supply), and a high average GDP (due to the billionaire).

Median GDP (PPP or otherwise) won't be so great, though.

I'm not saying the US sucks, just that once you stop looking at aggregate GDP you actually have to start thinking.
Domvas: take arbitrary DOM content and paint it to a Canvas
It's probably physically impossible to eat 10,000 calories a day unless some of it is calorie dense.
std::list (used correctly) is IMHO a great example of why you should write in C++, not in C.

Most large C projects I've seen end up with multiple implementations of lists. You will have some combination of:
void* for a generic list, performance issues because everything is a function call to another C file which won't get inlined, memory leaks, subtle bugs, thread safety issues because it's often unclear what guarantees the homebrew version provides.

Do you want to spend your time on reinventing the list or on things that provide value?

(Edited for formatting)
Bill Nye Blasts Todd Akin, Challenges ‘Fucking Idiot’ to Debate
Agreed, but for the example the object only needs to live in one list (as shown by the fact that it could have been a C struct that contained the next/prev pointers) so passing iterator would have been sufficient and would have solved the O(n) problem(s?) he was having.
Joel on Software's "Software Inventory"[1] gets a 0.22 rating. I'm a big fan of Joel on Software and am curious as to how this model evaluates "bullshit".

1. http://www.joelonsoftware.com/items/2012/07/09.html
>I think what's really going on here is that Apple wants to avoid providing apps that might be politically divisive.

That's called "censorship".

Apple's store has an impact on democracy because Apple is very influential and other companies are likely to imitate their policies. Lots of young people are getting exposed to Apple's flavor of personal computer so, to them, censorship of software will seem normal.
What J.K. Rowling did next
High-DPI displays: A way to displace Windows on the desktop? (From 2007)
The post was obviously written by someone who's never worked in sales. This is all basic diplomacy, situation defusing, and empathy. There's nothing new here, other than (potentially) the level of polish provided by Apple.

I learned the same techniques working at Radio Shack and EB Games, and no one there accused me of 'manipulating customers'. I think what a lot of people miss is that if you 'manipulate' someone into buying what they don't want or what isn't right for them, then at the best case you've lost a return customer and all their associated referrals, and at the worst case, you'll have a return to deal with, as well as a lost return customer and referrals, plus a negative reputation with them and their friends.

Sales, good sales anyway, isn't about tricking someone into buying your product. It's about finding out what it is that they really need (not what they think they need, or what they want), and providing that to them first. Sometimes that does mean upselling them to a better system. Sometimes it means downselling them to a cheaper system with upgrades. If someone is mostly going to work at home with an external monitor, and they're mostly going to use Aperture or Lightroom, a 13" Macbook Pro with 8 GB of RAM may be better than a 15" Macbook Pro with 4 GB of RAM. If it's an iMac for a classroom, a larger screen will be better so more people can see what's happening at once.

Best Buy (and other customer-hostile stores) do this by convincing people not to buy Macs, opting instead for Windows laptops that will need more maintenance (upselling them with service packages, Geek Squad, etc). That's the sort of 'manipulation' that people associate with sales, and it's really too bad.
I've got a Kindle Fire, and while it's not great, it's not that bad either. The biggest problem, like someone else says, is that they don't use 'real' Android, so you don't get all the nice Google apps like Gmail and Maps. Also, input seems limited to English, whereas my Samsung and Nexus 7 can both switch easily between English and Italian.

With the existence of the Nexus 7, which is just about completely superior to the Fire, there really isn't a reason to get the Fire. Let's hope the Fire 2 ups the game some.
>Or HFS+, which still has a global lock whenever ANY application wants to write to the file system. A GLOBAL lock. No other program may access the hard drive while one is writing. Insanity!.

Could that be the reason I had to disable Spotlight's indexer to prevent bouts of extreme unresponsiveness on my 2011 Mac mini?
Duly noted, but "precision" in this sense is a red-herring. The point of the Macau example is 3x. In 2006 it was 1x. I will trade you $20B for $6B, and then worry about PPP. :D

Edit: Your link also ranks Macau at #3 > Us #7.
> But seriously: what is patentable in video codecs? Isn't it just math function? Give input in the domain of function and you get output.

It's akin to asking "what is patentable in a medication; it's just a chemical formula, a diagram on paper".

It's a function satisfying non-trivial constraints, like: size of the output should be smaller than the size of the input [ideally, ratio is adjustable by the user]; regardless of the quality ratio, the output should be similar to the input [really, how do you define "similarity"? -- simple RMS difference won't do]; etc, etc.

Finding such a function is a rather big research endeavour, and IF it has been privately funded, then by all means, there should be away to ensure that the researcher(s) have exclusive rights to the exploitation of their results.

I agree though that the patent system is very faulty, but I am NOT for totally abolishing mechanisms for IP protection.
Your post would be slightly more illuminating if you made more specific reference to whom you're referring to specifically, and where they commented on overproduction. Perhaps also a bit of the substance of what was said.

Until the industrial age was moderately advanced, overproduction wasn't particularly much a problem -- most societies alternated between sufficiency and (fairly often, if not more often) insufficiency, especially in food, but also other goods and products.

Sometime clarity of exposition beats stridency for illumination.
Java zero-day = time to disable Java, in your browser at least | ESET ThreatBlog
Probably not, but their views are their own to make.
This brings to mind Alan Kay's quip that "I made up the term 'object-oriented', and I can tell you I did not have C++ in mind."
EBay risks having spell cast on it in metaphysical dust-up
The two are not separable. If people can monkey around with the data structures that your algorithm relies on, then the algorithm is not encapsulated.

Languages like Haskell rely on it as heavily as any other well-crafted system. Imagine Data.HashTable it were originally implemented using linear probing, and someone wanted to modify (upgrade?) it to use cuckoo hashing or hopscotch hashing instead. It wouldn't be possible to do without breaking existing software if users were permitted to directly access the underlying data structures.
To teach for loops, I start with this example:

word = "banana"
for letter in word:
print letter

It isn't a counter, but it makes it clear that print is happening for each part of the word. Then you can write programs using arrays and other counters.
For a person with OCD, this title really bothers me :/ I want it to say "Why I should have written ZeroMQ in C, not C++ (part II)".
Where's the anti-robot car lobby? I doubt most cabbies are even aware of this.

Further, I would submit that this is mostly due to the legislators themselves.
Package upgrades are an example of SAT (the satisfiability problem)[1]. Apt and yum don't recognize this result and instead use a bunch of ad hoc rules. These often fail, when they could succeed. SAT will always find the answer, eventually, if there is one.

Now the issue is that SAT is NP-complete, so it could run for a very long time before it finds a solution. But there are very good solvers which "most of the time" (meaning, basically always) find a solution in a short time. They are also open source projects[2].

There's been an existence proof (zypper) that using a standard SAT solver is possible, works, and is fast.

[1] http://arxiv.org/pdf/1007.1021
[2] http://www.cs.sunysb.edu/~algorith/implement/minisat/impleme...
The C version doesn't support having an object in multiple lists at all, so having it merely be awkward to have an object in multiple lists in the C++ version is still an advantage.
Norwegians. The BankID system is used by many online banking systems for 2-factor authentication.
Kx509 Kerberized Certificate Issuance Protocol in Use in 2012 [pdf]
And yet, the proponents for it's effectiveness have yet to provide any evidence that it's worth studying. People who have no reason to believe it will work don't have a lot of incentive to test whether it works. Then again, the people who benefit from it's popularity and don't care if it works don't have much of an incentive to test it either.
It would be nice if we could build the GNU utilities with it. I tried building some of the basic utilities the other day, and there were configure scripts that basically did "If the compiler name doesn't start with gcc then do lots of stupid stuff" which meant it built if I symlinked "gcc-foo" to clang and built with that, but failed if I set CC to clang.
I believe it wouldn't even be legal for an unpaid intern to be used for "actual work", as they're supposed to strictly be involved in mentoring/training activities. Hopefully Square knows that, and wouldn't try to treat its employees unfairly in the first place. They seem like a great company.
I went through the JS tutorials as well,
i guess this is more focused on Non-English students and students who have never done programming ever in their life.
The CEOs of Canada's Hottest Startups Work an Average of 61 hours/week
Opt-in is quite obviously not the same as opt-out (via restrictions) so it's dubious to compare the two. The parent poster was asking for a way to allow iOS users a way to voluntarily and explicitly enable content that may be deemed objectionable by some. It's not the same as restrictions, because the device is passively not going to allow those types of applications.
I bought the iPad 1 and the Kindle Fire on their respective launch dates. IMHO, the original iPad was awesome. The kindle Fire should not be placed in the same category.

The iPad 1 worked very well for my use cases (main one was an instant-on, reliable web browser). At the time, no other device offered me that capability. And I tried many options. For this use case, the original iPad is fine. I have yet to upgrade to the iPad 2/3 (my wife has the latest one and she uses it for web browsing and games).

The thing about the Kindle Fire is that I now don't trust Amazon enough to buy a product from them on launch day. This is a big deal because I have (used to have?) very high regard for Amazon. They broke my trust.

Apple still retains that trust btw. They mess up badly too (iTunes is a train wreck) but have a better batting average. Google does not (I got burned with the Nexus One and Google TV).
It's a very clever advertising ploy, but that's all. Results from this will be next to worthless.

1. Patrons of 7-eleven represent a rather specific demographic, which means this "poll" will have a heavy selection bias.

2. In a well-designed poll, each subject only votes once. Here, every time you buy a coffee, you submit a new vote. That doesn't work if one side drinks more coffee than the other side...
ASk HN: What do you know about day trading?
I have been swing trading for the past year and have made quite some money. I am thinking of going into day trading, with a lot of different views, some who tell me to go for it, others who tell me in the era of HFT, why would I want too.

Do you have any real-life stories, insights, money-making techniques, anecdotes or even articles on day-trading ? And what asset classes that are easy to make money with ?
I actually would've thought the MS Windows Phone App Store would be even more fertile ground. Not sure how stringent their policies are, but a quick Google search only turned up a rejected Twitter content scraping app which was rejected.

Not to mention if anybody needs more apps, its the Windows Phone App store.
SeatGeek Raises 1.5+ Million Additional Funding to Support Mobile
Dramatically Improving Performance by Debugging Brutally Complex Prolems
Yup. It's possible to do that. My point was that if you want to do that you break the encapsulation, i.e. contained object would have to know about its container(s). This applies to Boost intrusive lists as well AFAICS.
Oh wow, that's pretty high. Thanks for the info.
I was thinking the same after re-reading my post. I always thought it was a negative statement but it simply confirms what Stroustrup has always been saying about C++: "It's a multiparadigm programming language." Surely the support for one or the other paradigm could be better but this just reflects that things are shifting away a little from pure object-orientedness across languages.
Continuous Integration for Debian and Ubuntu made easy
The Slumlord Approach to Network Security