skysight-inc/HackerNews huggingface dataset:
Twenty terrible reasons for lecturing

http://www.brookes.ac.uk/services/ocsld/resources/20reasons....

"The overwhelming outcome of all this work is that there is no significant difference between lecturing and a host of other methods in their ability to enable students to learn factual material. Lectures are as effective as many other methods, but not more so. There are indications that lecturing is less effective, even for imparting information, than certain methods, notably unsupervised reading. (In fact unsupervised reading may have the edge over all face-to-face teaching methods for factual mastery)." (In case this sounds overly positive about lecturing, note that the author considers factual transfer to be lecturing's strongest feature)

It's only a broad review of what was considered fairly obvious research conclusions, he specifically says that he's not writing to present new evidence just to note that despite the evidence no change in behaviour has occurred, and as I say, it was written 30 years ago, but I'm not aware of anything more recent overturning these results.

It's not clear but I believe his source for this particular claim is the Bligh book which is cited explicitly elsewhere in the text, which summarizes hundreds of studies comparing the effectiveness of lecturing with other techniques in his book "What's the use of lectures".

(Amusing aside: The review snippet of Bligh's book on Google books is as follows: "A large portion of this book is dedicated to presenting research on why and how lectures fail. You really have to wade through a lot of material to get to any help in putting a lecture together". I think that neatly encapsulates the mental resistance to abandoning lectures by people who give them)
Ask HN: Are there plugins to view line aternatives using git
Say a particular line is replace with another quite regularly, is there a plugin for a particular ide which show what that line was replaced with in another occasion.
I think this distinction should be framed in terms of Python's futures, not futures per se. Python's futures (http://docs.python.org/dev/library/concurrent.futures.html#c...) are very limited. They lack the equivalent of the then method in Javascript promises. This means there is very limited ability to compose futures in Python.

Twisted's Deferred allow some kind of composition, though IMHO it is rather messy.

You'll note in Guido's emails he says Python's futures are based on Java's. Java's futures (I can say from experience) are a completely useless crock. All you can do is poll them, which makes the whole point of asynchronous operation moot (http://docs.oracle.com/javase/6/docs/api/java/util/concurren...)

Javascript's promises are a better implementation, as are those in Scala and Haskell.
Newer, heavier and far more expensive, and of course even that doesn't guarantee good safety ratings, it just makes it a lot easier to achieve.
He was not technically entitled to a lawyer. The Guardian sent lawyers to the airport when they were told of his detention. The lawyers were not allowed to see him.

As for the second question, who can say? I'd say it's worked out pretty well for the Greenwald and the Guardian though.
Werner Herzog's documentaries, for example Grizzly Man, My best fiend (not sure it exist in English), Wings of Hope
(That is, if you don't mind a heavy German accent which after watching quite a few I strangely enjoy now as it becomes kind of his trademark)
Facebook already has the ability to create test accounts: https://www.facebook.com/whitehat/accounts/
I could perfectly understand it and English isn't my first language either. This is just Facebook weaseling themselves out of their promise by using bogus arguments.
Besides that: If you do not understand a bug report for a security problem you ask for a clarification. That's what professionals do.
> Aha, you mean that he should have written idiomatic C code and compiled it with a C++ compiler?

Henceforth, I'll be using this quip whenever debating C++ fan boys; thanks!
I'm not saying they're doing the wrong thing either.
That's nice to say. Get angry, be outraged. But what do we do, day-to-day, while things are still a mess? How do you organize a revolution under the noses of the people you're revolting against?

The code still has a purpose, even if it's not the "right" solution, long-term.
This is what I am currently using. We build changes using TeamCity on every default (live) branch commit, build the changes into a NuGet package, and use Octopus to pull in TeamCity's NuGet feed.

It can be a pain to set up large, existing projects, and I'm yet to get my SQL changes working correctly using it, but it's definitely the right way to go about it.
I only ever had one mini USB cord go bad, and that was a minor pain. But I have had the micro USB port on a cell phone become unreliable, which is insanely frustrating. The post holding the contacts no longer wants to push them against the cord, so it frequently loses the connection.

I can solve the problem temporarily by pushing the post back with a small screw driver, but "temporarily" here is measured in minutes or hours.
Extending Java with MPS: Free 1-Day Workshop in London, September 26
I can't be the only one here that think Google has way too much power for anyone's good.

This being said, I have no idea what could be done, if anything, to avoid being in a situation where Google can, mistakenly, blacklist your from the Internet.

This is why I stopped using Chrome, and learned to love Firefox, again.
Want to keep your rights and freedom? It's time to act, now. History is full of great things going all the way down. Don't wait for the Superman.
Running CS-Cart On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.04
Hi, I genuinely think this is a great video - that is why I even included the YouTube link (I.E. I was more concerned with the video than my site, although I'd prefer it if people viewed the video on my site!).

But I get the video may not be appropriate if you are not a gamer. Basically it is saying don't give up, don't backtrack, continue to go forward, break down walls and smash through obstacles.

It's got over a million likes on YouTube so I do think it is popular but maybe not right for this audience.

Thanks for watching though, sorry it didn't appeal..
Why doesn't Facebook just create a live account that is set-up to see if it can be hacked? Or does that exist and I completely missed the point?
For me, personally, this is much more sad than Lavabit shutting down. Groklaw was an icon, it has huge significance.

I do not know whether this - i.e. shutting down - is a good strategy in general. It raises some awareness, it might cause some change ... but what if change does not happens? What other means of protest will we have?
I have moved quite a bit already (US, UK, Spain, Germany). What I realized is that the older you get the more you have to work for making friends. Just plant a lot of seeds. Events, hobbies, sport and so on. You have to make the first steps, don't wait for others to come to you. As an introvert that is not always easy for me, but the more I do the more I get.
How feasible is Freenet for email? We can use PGP today, but the metadata is available to all. But what journalists who need to communicate more anonymously that that used pseudonymous PGP keys - one per story, rather one per person, and posted encrypted messages on Freenet?
AddressSanitizer: a fast memory error detector
The post is interesting, but is there anything stopping you using the following...

template<typename T>
struct Link
{
T obj;
Link *link;
}

That looks pretty much like the intrusive version in memory, right?
> If you have a career with Dell, AT&T, Booz Allen Hamilton, SAIC, and many others, start making demands or make resumes. Stop being complicit.

Unfortunately, the majority of wage-slaves are so indentured to their overlords that simply leaving is not an option, as the alternative is penury and starvation - particularly when you work for a giant like BAH, who'll ensure nobody will ever employ you again.

If you want to make a stand, don't hand in your notice, don't make a resume, don't make demands, just don't show up, and let 'em flail. Worst they'll do is fire you, and in today's world you do not need to pledge fealty to an employer in order to survive, and the fewer people that do, the more rapidly things will change.

If all the IT folks simply walked away from their machines, they would stop working, but we do not, and instead we strive to make their machines work perfectly without our intervention.

Jump ship before they decide to push you overboard, anyway - because they will. If you think your employer respects you, and will give you a job for life... you are wilfully deceiving yourself.
Looks to me like a whole lot of Audi A8, some Maserati Quattroporte, and a touch of Jaguar on the rear end. Not a bad lot to take inspiration from.
facebook have a well-established program to allow anyone to look for security-related bugs. There are indeed terms and conditions associated with it however, including not interfering with real data/people.
That program isn't exactly what I would call a cal grad
Code won't do enough. You are right. What will help will be businesses in privacy-friendly countries which offer secure communications infrastructures. This can be guaranteed by careful development and placement of business assets and, yes, carefully designed code.

Many of the people at these businesses you mention are wage slaves and they can't so easily just get up and leave.

Code gives us tools. Such is a start, but only a start. We need solid, internationally federated businesses, which can be built to take on this challenge. Yes open sourcing the tools is important too, but only as a means to an end.

We need to build up an infrastructure for actually using these tools and that means businesses offering services.

I do not have time to do another business (I am ramping up two businesses right now). I do have time to consult, advocate, and advise on this very important topic.
A sad day indeed. The government has become "the terrorists".
same here, I can´t charge my s+ anymore.
But it is the main standard nowadays, and is really thin, so . . .
Do you have any links that point to "the developers changing their minds every 2 months"? How have you been affected? As a node user for 2 years, my view is that the API has been fairly stable of late.

Please back this up with evidence.
Sadly the way US and UK are mishandling the whole thing can lead to a lot stuff leaked that could possibly cause real harm.
Nobody on HN should say that she cannot stand up and walk away. We're have one the most sought-after and best paid jobs in the world. If we cannot give up some comfort, nobody is going to.
When folks like Lavabit and Groklaw preemptively shut down because they cannot take the security & privacy of their communications for granted, it makes me wonder the converse: how are other companies that deal in sensitive information (patents, lawsuits, competitive bids etc.) dealing with it?

Have they resigned themselves to it? Are they devising new corporate communication policies that assume always-on surveillance? Are they thinking things will improve after this storm has passed?
Maybe they should find someone try to hack into the system. I believe this computer based car will have the same virus problem as PC. If it has function to connect the internet via wireless network, things might be worse...
I'm ashamed to confess that when I saw this, I wished the world was full of Internet Explorer users :-)
No. US foreign policy, when viewed from a perspective other than that of the US, is one heartbreak after another. They take promise, dreams, progress and hope and crush them, in order to preserve hegemonistic power at any cost.

The US would happily turn this planet into a barren rock, and all "foreigners" (and likely their own populace) into ash, so long as they can claim dominance.
SMARTFLOAT: Trustworthy Numerical Computation in Scala
It really comes down to lobbying lots and lots of politicians who can stop the NSA by significantly slashing its funding or by enforcing existing laws. The Occupy movement showed that revolutions don't work in a state where government and police will conspire against its citizens by infiltrating and undermining its civil rights movements.
So about botnet data, here is one NSA related company that deals with data the coders are jailed over, Endgame Systems[1].

"botnet-analytics package gets you access to a database of Internet addresses, organization names, and worm types for hundreds of millions of infected computers, and costs $1.5 million."

Folks like the industrious pj have much to worry about when 'outside channels' are made into a a for-profit process. Combine 'parallel investigations' with 'outside channels' with a healthy dash of money for the ringleaders and some for the heads of the companies they pay (Google) and you plenty of reason not to talk law or much else over Email.

It is becoming a desperate situation for noncombatants.

[1] http://wiki.echelon2.org/wiki/Endgame_Systems
The next moves in the developing Spooks v. News Cold War
Apple's port, which doesn't have an up/down direction, is much easier to plug in than the micro USB port, which does. It is an innovation, like it or not, that USB doesn't have.
Musicians' appearances matter more than their sound
Even the code in the article makes heavy use of C++ features (templates, resource management) and that's not even talking about the Boost intrusive library that gets mentioned, which is knee-deep in template effluvial...

Never mind that I've seen plenty of C code with wrapping structs for data structures, too. Intrusive vs. non-intrusive is a design choice in both languages.
> It's time to act, now

Suggested courses of action?

Tried and didn't work:

* voting

* not voting

* protesting online / offline

* writing about these issues, raising awareness

What options do we have left? Violence? Hopefully there's more.
Revolution is not what you think. It consists of the small actions of millions of people. The small actions are usually more revolutionary than the large.

The NSA has just created a huge market for guaranteed secure communications infrastructures. The technology is there. It may need some extensions but it is there.

Some ideas (again no time for a startup now and this is too important):

1. An email-like service based on TOR with content encrypted via public key encryption end to end.

2. The second is an encrypted voice network. This can't encrypt metadata a swell in a way that central offices can't see it, but the contents could be encrypted easily enough.

The code is a means to an end. We can't code our way out of the problem. We can build businesses that get us out and code is supportive of that.
Off the record is privilege given from the journalist to the person speaking.

Since journalists have showed willingness to go to jail but to protect their sources they take things such as these very seriously.
What isn't a Monad
How has the UK startup scene changed since Harjeet and Kulveer were here?
More NSA Spying Fallout: Groklaw Shutting Down
Wow. Crazy.

PJ presents it generically, but I can't help wondering if that is for legal reasons and something specific has happened that cannot be told.

Either way, a tragedy - the world needs, right now, exactly people like PJ and websites like Groklaw.
I've just written to all the MPs on this list. I'd ask that all other Kiwis do the same. It will take just a couple of minutes and if just a single MP crosses the floor it will stop the bill (as I understand it - I'm living outside of NZ at the moment).
No. Stalin died in March '53, leaving a directionless power vacuum until September, when Khrushchev took over. This was almost certainly a factor in the timing of the coup, as the US wanted to seize the opportunity of the USSR's disorganisation to carry out a coup on their doorstep with nominal at worst repercussions.
> But what do we do

Stop bothering with the articles here, and "get out of the building":

* Call or write a real letter to your representatives in congress (assuming you're American).

Hopefully that is something everyone has already done.

* Coordinate - isn't there some place where people are organizing/coordinating this stuff?

* Write a letter to the editor in your local newspaper.

* If you're in the bay area, how about helping to organize a primary challenger for Nancy Pelosi? She did not vote to defund the NSA. People in SF have the money, the means, and the incentive to get someone in office who cares more about this stuff.

* Donate money to politicians/groups opposing this stuff. The EFF, for instance.
Cloudinary image manipulation from your Cloud Functions
David Miranda detention: White House was given 'heads-up'
Although Lightning Cable is not the first to be bidirectional I am mad at Apple for not making Lightning an open standard.
Protect yourself from the non-obvious dangers of installing via `curl  | sh`
While I understand her (1) personal reasons for shutting down Groklaw, this is an extraordinarily bad decision for privacy and democracy.

In the last few weeks quite a few providers of private communications and/or freedom (for some definition of freedom) have shut down. Lavabot, Freedom Hosting, etc. If the US could shut down The Guardian they would.

This leaves fewer and fewer secure channels for private communication, and less and less information about what is actually going on.

This is an incredibly dangerous road to walk down, and is akin to the Intelligentsia leaving Germany in the 20's. We all know how that ended.

(1) edited his to her - thanks for pointing it out rolux
Court rules that IP cloaking to access blocked sites violates law
lol, you ad serving pricks! XD

Will someone send this Khalil Shreateh a brand new quad-core? TIA

Khalil Shreateh - respect. Let your name be indexed once more.
Motivational CORNER: Why don’t you pass on the Praise?
I 'Asked HN' earlier but received no reply from anyone. I would love to hear from anyone, mostly those listed on Bluecabinet on ProjectPM. The latter site started Barrett Brown, currently under prosecution by the US government[1]:

Ask HN: Do you work for any of the included companies? (Dell/HBGary/AT&T/etc)[2]

[1] http://motherboard.vice.com/blog/the-doj-is-suing-barrett-br...

[2] https://news.ycombinator.com/item?id=6240908
I think the need for an enemy can't be understated for some people and some organisations. One of the upper comments here states:

> It is very difficult to overstate the extent to which "government people" live in a bubble.

I completely agree and I would add that a large part of that bubble - particularly for many military/intelligence folk - is the 'them and us' or perhaps more accurately 'them vs us' paradigm. People in these professions tend to see the world in a very black and white view. In my country at least, some of our intelligence agencies have a long history of being staffed by people with a fairly fundamental religious background. So when this kind of black and white, "them vs us", religious or quasi-religious (and quite likely racist) view is applied to national security, matters of immigration and so on, the result is pretty predictable IMO. Many of these people truly live in a different world than I do, one that harks back all the way to attitudes that were forged during the events of WWII and before.

Not to say that everyone involved on a government's side is blinded by dogma, but I believe enough of them are (in certain spheres) to keep the culture alive.
> One day I think we will look back on democracy as we do upon kings now.

Yup. Personally, I think tolerance and total pacifism would be needed in this next evolutionary step, so it'll probably take a few wars for us to be tired of conflict...

I can already see many young people being disillusioned by politics, war, and nationalism. But many still adhere to those ideologies as well.
No, the ZeroMQ author should be writing idiomatic code in whatever language he is using.

In his blog post, he complains that std::list<widget* > causes 2 allocations per insertion.
Fine, because that's not idiomatic C++. The C++ way would be to use std::list<widget>, since there's no need for the extra indirection.
Note that this would only be a good choice if you for some reason really need a list, std::vector is mostly preferred due to its better cache behaviour and requires even fewer allocations.

Secondly, if he needs to remove list items by their address, there's no reason he couldn't use an intrusive list in C++. The article I linked shows an implementation of one, and there's always boost::intrusive::list if you don't want to roll your own (and you shouldn't).
It is in the little things.

But it is also in everything together. My rule is that if I protest, I write my congressmen. If I voted based on issues I wrote about I write them and explain my votes. I have at times gotten interesting responses that show I have sometimes managed to get folks to stop and think which is all one can hope to do.

But beyond that we need to do what is needed now. We need to get guaranteed secure email services going in nations which have strong privacy protections. We need to create networks of end-to-end encrypted voice traffic which use open source architectures designed for privacy. The NSA has handed the good guys one heck of a market. All that is needed is the time and effort.
In this battle, there is no quick win, no proverbial low-hanging fruit.

Never forget that by changing your actions, and your awareness, you are influencing other to do the same.
A part-solution.

All tech geeks set up mail servers with encryption and volunteer to migrate their non-tech friends and family to new email homes. We also show how to configure encryption in their mail clients and start getting them to use native email clients rather than webmail.

This will have two effects. It will send a message to Google/Microsoft/Yahoo!/insert big mail provider here/... that they have been lax in protecting the privacy and interests of their users. Of course, given the free-as-in-beer model of webmail it was long apparent to some that the user was actually the product and the advertiser was the actual customer. If a user is seen as a mere data-point then there is little incentive to assure these mere data-points privacy. maybe this will be the kick in the pants the big providers need. Maybe that model is irredeemably broken and always has been but we just didn't know it yet.

Email should be like snail mail. Everybody acts as their own mail server and mail client in snail mail land. Your inbox is the physical letterbox and you would never let some corporation provide that value in return for some dubious positive (convenience? a nice interface to your mail store? the ability to search your mail store? ...)

The second effect is that it sends a message to the spooks and claws back a vital channel of our privacy. We can work on safe and easy anonymous browsing and safe and anonymous and federated social networking and whatever else further down the road -- mail needs to come first.

Think about it. There are enough tech geeks. Every geek should need to know how to do this anyhow. This will scale. We need to build a movement around this. When something in the political arena forces the immeasurably invaluable Groklaw offline something tangible needs to be done. We have had a series of ever more alarming wake-up calls (though I hate how clichéd that sounds) since the first Snowden revelations. We need to start acting on these calls. Sure our response needs a political dimension (a global moratorium on digital mass surveillance) as well but I think that this technical part-solution has got legs.

What do you think?
Can Micro-USB support USB 3.0 speeds?
We could require that Google, Microsoft, Mozilla et al use only third-party open blacklists (and contribute to those projects with their blacklist data if they feel they know more than the project does, but where the project has final say in what does or doesn't go in.) This decouples the incentive structure.