skysight-inc/HackerNews huggingface dataset:
Random Linux trivia/story: Back in 2002, I was trying to measure the impact of various long-held spinlocks in the kernel. By random chance, I noticed there was a huge latency spike when I enabled caps-lock. It turns out that it takes about 7 milliseconds to turn a PS/2 keyboard's caps lock LED on (or any of the other LEDs), and the kernel stops what it's doing and waits for it to complete regardless of whatever else it could be doing.

There's a command-line tool to turn the LEDs on or off (I forget what it's called), so I integrated that into a test script we used that measures timer latency with various background loads. (We had our own high-resolution timer implementation based on the APIC.)

http://jsnow.bootlegether.net/rtas2002.pdf
The original article actually mentions Sudoku and the simple brain training apps and says that they don't think they're effective because they don't push your brain into difficult territory.
Cool, so does it blink for all http requests including js/css?
No, it's not that, I was using the term loosely.

I meant that you cannot use a string value as a format string. It only exists in the form of a literal, and it gets evaluated when the interpreter evaluates that literal. You cannot store it and format it later.
Or just plain old bullshit.

I imagine someone was assigned a task to produce some document about how Russians hacked us to justify all the propaganda narrative so far. That person handed it to their subordinate, who handed to their and someone came up with that paper.

It looks technical enough with jargon that someone from the street will see it as proof.

Now an interesting thing to think about is if someone who wrote this understands that this is bullshit and wrote it as such. Those who know what's what will see it too and this was a wink to them. Their superiors though will think this is some solid proof.
would you please take your life somewhere else.
Show HN: Codegen – An open source one-time password generator for iOS
This is tangential, but I presumed a launch page like this for an Amazon product would be copy-edited by a native English speaker, even if for India, no?

("Sell as Individual" should definitely be "Sell as an individual", a very common mistake with non-native English speakers.)
Wow, man. How have I not heard of this software sooner?!

EDIT: Your downvotes are ridiculous. I'm not being snarky or karma-whoring. I really am happy to learn about Blender. All of the free versions of proprietary 3D software packages have awful licencing models and operating system support. A cross platform 3D modeling and animation suite that runs on linux, for free is kind of awesome!
The fair comparison is comparing the number of "free variables" in the system. This is how machine learning models are compared. You don't compare "number of free parameters in linear regression" with "number of layers of neural nets," you compare number of parameters with number of parameters.
I think that makes it a modern framework, not a modern UI :)
There is a certain irony in that most of the money ultimately comes from pension funds, which are investing the same life savings that their owners are forbidden from directly investing in startups, only with at least 2 layers of indirection (pension -> fund of funds -> VC -> startup) and associated fees. But yeah, the total percentages at risk are much lower when the pension fund does it.
We want it interpreted, but we don't have to let the language handle it directly. A much safer way is to define our own syntax for this and interpret it in our code, with that code only having access to a limited set of safe substitutions.

For instance, suppose we want to allow user formatting of contact information. A contact entry has a name, address, phone number, and email address. The user supplies a template string using %_NAME_, %_ADDR_, %_PHONE_, and %_EMAIL where they would like the name, address, phone number, and email address substituted, respectively.

I'd probably be doing this in Perl, and I'd do it something like this:

sub format_contact
{
my($template, $name, $addr, $phone, $email) = @_;
my %val = (name => $name, addr => $addr,
phone => $phone, email => $email);
$template =~ s/%_([a-z]+)_/$val{lc($1)}/gi;
return $template;
}
> Which military policy decisions are those? What does expelling a few diplomats have to do with the military? Nothing, of course.

"The Department of Homeland Security and the Federal Bureau of Investigation are releasing declassified technical information on Russian civilian and military intelligence service cyber activity, to help network defenders in the United States and abroad identify, detect, and disrupt Russia’s global campaign of malicious cyber activities."

This suggests it is evidence of Russian activity.

"These actions are not the sum total of our response to Russia’s aggressive activities. We will continue to take a variety of actions at a time and place of our choosing, some of which will not be publicized."

This suggests we're going to be engaging in a classified cyber war with Russia.

Source: https://www.whitehouse.gov/the-press-office/2016/12/29/state...

In the United States the only organization that can legally 'hack back' is the US military, according to the CFAA. So any cyber operation will be a military operation.
Stuxnet happened. Did anything happen here? Was anything disrupted, do this look like a coordinated state actor attempt?

Russians have shut down an airliner full of people and also occupied a good chunk of Ukraine and there was less hoopla in the media about it. Someone finds a PHP shell on a laptop and Washington Post is going nuts with "OMG Russians are about to disable our power grid".

If this is not Fake News then I don't know what is...

Was WaPo a respectable news outlet at some point? I feel like it was, I wasn't following it much before. It has gone the way of Fox News it seems recently. Oh well..
Yes! Star Trek's time travel episodes have been notorious since the 1960s. Back to the Future is great, but very much belongs to a certain generation. Doctor Who is a British series, not very well known in the USA. Not everyone would recognize the name TARDIS and know it comes from that show.
Interesting! I found a paper by the lead / architect:

Integration and Development of the 500 TFLOPS Heterogeneous Cluster (Condor) [0]

Another release article that includes more information: http://www.zdnet.com/article/what-the-dods-playstation-power...

[0] http://ieee-hpec.org/2012/index_htm_files/Barnell.pdf
...there's more consensus in Finnish society about what kids should be doing in school.

Discord in the USA's schools is caused by warring factions of profiteers whose sole innovation is ever more clever means of fleecing tax payers. The dashed hopes, dreams, and prospects of students, parents, teachers are just collateral damage in the pursuit of more pork.

Whenever someone gins up a controversy, or pimps yet another new education meme, first ask who is getting paid, second how much.
Are you familiar with Eyvind Earle? He created the beautiful backgrounds in Sleeping Beauty and I have a feeling you'd appreciate his work too.
Show HN: Project-based codeveloper & cofounder matchmaking
Yes, immortality would have to be accompanied by neuroplasticity drugs. The biggest benefit of neuroplasticity drugs, btw, would not be that users would acquire new knowledge, but that they would forget outdated knowledge.

As I get older (and I'm still relatively young) I observe that I keep remembering things that are wrong and sometimes I even base decisions on that outdated knowledge.
You could pull that off :-) not everyone could.

At the time of the great Network Division disaster (also known as a Garlick's Folly) I was talking to Roger at a beer bust and he assured me that even though I was going to be "network guy" now, he was ok with me changing the kernel when I needed to. It really made me feel great.
I think lobster is not tasty at all. It used to be fed to prisoners 200 years ago. How do we get people to stop fawning over it and admit it's an ocean cochroach?
David Fahrenthold tells the behind-the-scenes story of his year covering Trump
I love the Pixelmator UI, but it's severely lacking in some basic features. For example – it can't even open or import an SVG file, in spite of having an entire "Vectormator" mode.
is it possible to expend some yuck without thinning my hairline and makinng me look old? :)
Basically that the median housing price is a function of the marginal propensity to purchase? Can't help but wonder how true that is.
The essay you linked seems to be a non-sequitur. Berrett suggests in the original article that performing a difficult task increases activity in the cingulate cortex, which might help to prevent aging. The essay you linked merely says that neuropsychological training probably doesn't make people generally smarter.

Becoming smarter and preventing aging are two different goals.
> free market

> progressivist societies

Do you realize that in many countries free markets are a progressive thing, and that many right wing parties promote high public expenditure and extensive welfare?
Anecdotally, as a second careerist, you'll be permitted more autonomy. Because you can walk at anytime, the admins will have less leverage over you.
The PS3 was a Cell processor, a new architecture promoted by Sony/IBM .. Toshiba? I think?

PS4s just have a regular old AMD x86/64 chip in them ... plus all that other garbage he described in the talk. With all the hacks it takes to get Linux to even boot, I'm pretty sure it's not worth the cost compared to just buying a real x86/64 PC based server.
Leia Organa: A Critical Obituary – you're always being judged
The mechanical engineering on the Toyota Camry might be a solved problem. The Germans have yet to figure out how to make the mechanisms behind their fun driving dynamics reliable too. A car that drives like a $60,000 sportscar, without the high price tag or maintenance burden, would do quite well.
Even so, given the option to live forever, I wouldn't forgo it so that you could avoid said dread.

Regardless, I don't think that your reasoning about people being set in their ways is valid given significantly longer life or healthspans. A lot of existing conservatism is from people with families (don't rock the boat so I can focus on raising my young!) and people who are suffering the ill effects of aging (don't rock the boat so that I can retire in peace!).

The first group will likely diminish if we have longer healthspans (or else we'll run up against the barriers of overpopulation). Even if not, longer healthspans mean a longer period where people are neither raising families nor mainly preoccupied with living with advanced aging. As a result, I don't think the effect you're describing will be a significant one.
If you are under a certain age in any country (say <30) do you not feel like you live in a world ruled by the conservatism and culture of an older generation? These prior generations have the head start to protect their status quo. Imagining every generation persisting on top of another, all sorts of strange and dark likelihoods fill my imagination.

Just because they have a desire to protect the status quo does not actually mean that they can protect the status quo.

A population of 7 billion+ immortals where the vast majority are set in their ways is terrifying, and being born into such an oppressive world would fill me with dread.

As opposed to having humans who can't remember the past because the experience of the old generation passed away?

Those who don't remember the lesson of history are doomed to repeat it?

Yes, the world will be confronted with new problems that we don't have to deal with before. We may have to seriously consider population control and other measures.

But does anybody seriously want to go to the old status quo where old people are given serious diseases like cancers, Alzheimer and heart attacks, where they are forced to suffer until they finally die, often not of their own choice?
Call this propaganda if you will: https://www.aei.org/feature/the-soviet-collapse/

The Soviet Union became increasingly dependent on grain imports into the 70s and 80s. They had paid for this grain with oil. In the eighties, the price of oil collapsed, and they were forced to take loans to pay for the grain. As the amount of the loans got larger, banks became unwilling to make them. The Soviet Union was just months from mass starvation when it collapsed.
because when you google it you just get results for the kitchen item. there are 1 billion possible unique word combinations in the world, were the creators that lazy in naming this? /s
But in the talk he says the BlueRay player is hooked to the SATA bus. There is a SATA bus on there.

I know the xBox one hard drives are removable. Are PS4s the same way? (I haven't owned either; more a PC gamer). Maybe with their device hacks, USB was easier to plug-n-play than SATA?
The author of the piece is the president of the American Enterprise Institute, a conservative think tank.

I'm not sure why you would find his views particularly liberal.
If string is unescaped user input, then yes, you are.
I've been a huge fan of computer science papers going the literate route. Imagine if more were of the variety of https://smile.amazon.com/dp/0123750792.

Though, I also feel that that adds to the time of creating these papers. So, by my own view this might be more expensive than it is worth.
Can you describe how a vegetarian keto diet would look like?
Good idea. I will add the feature soon in upcoming versions. Thanks for the feedback.
For the hypothetical Google route, the thing about most (successful) businesses is that if you're making a dollar, they're at least making two. If Google is "ethically complicated," it is unlikely that your personal charity will offset their "complication".

With do-goodering, changes in perspective and nth-order effects can turn that into a brimming cup of regret overnight.

If you just want to live small and and have a positive impact, how about working in a library? They've got those everywhere.
I'll second that recommendation; it really is top notch. Loads of tutorials/documentation on the website as well.
Pure functions ftw
> This suggests it is evidence of Russian activity.

The U.S. government is asserting it is Russian activity, and the information in the report is provided to help private organizations defend against it.

The attribution rests in part on classified information and is not likely to ever be "good enough" for members of the public, even with the ODNI report due in a few weeks. And as I said below, I don't remember everyone jumping up to object when State and White House intrusions were attributed to Russia.

Anyway, the fact that Russia is conducting a global campaign of malicious cyber activities is not news [1], and it's not fair to pretend that this DHS report is supposed to prove that on its own.

> This suggests we're going to be engaging in a classified cyber war with Russia.

War is a loaded term. Our war in Iraq killed many thousands of people and dropped an entire region into violent chaos. Is that what you think the U.S. government intends with the quote you mention?

> In the United States the only organization that can legally 'hack back' is the US military, according to the CFAA. So any cyber operation will be a military operation.

The military is also the only organization that can take out the trash in the Pentagon. My point with this flippant remark is that military activities are not commensurate just because they're military. Comparing the policy discussions of today to the run-up to the Iraq War is not defensible IMO.

[1] So are we, BTW.

EDIT to add:
If the U.S. government wanted war with Russia, it has already passed up 2 perfect opportunities:

- Aid the Ukrainian government in opposing the Russian seizure of Crimea by sending air cover or troops.

- Declare a no-fly zone in Syria and shoot down a Russian jet.

These were both real shooting war situations where force could have been justified. To think that now, a cybersecurity response is going to be the excuse for a shooting war, does not make any sense to me.

I don't think anyone wants a shooting war with Russia. That does not mean we should ignore a material shift in the balance of intelligence activities we do to one another.
From the map it looks like the US trade imbalance with China and the EU (imports more than it exports).
This sounds more like punishing the person who changed their mind. If they receive an organ, they can still die and give their organs. Logically, shouldn't they get moved up in the list to receive organs, but possibly not have the option to withdrawal their donation once they've received organs?
I believe it's true because regular participants in buying/selling are all taking cues from 'what goes on around them'.

If 95% of them are looking around, and 5% are just buying 'at whatever price' - those people will drive pricing.

When 'the house down the street' sells for 10% above asking, it validates all the homes sales in that environment, and gives confidence to the regular buyers that their investment is sound.

If there is ever a hint of a plateau, all it takes is for a few price-inelastic buyers to come along and 'validate' prices. Then some buy on that basis, and the pricing cue percolates through the system.

Once those people leave the market - there's no strong validation going on - and a small whiff of lack of price movement can put a chill on things, then prices can start to fall.

Once they start to fall - it's a negative signal, wallets clam up. Without a rich buyer to restore confidence ... the spiral continues.

It'd be an interesting model :)
I don't know why, but the idea of moving something that is currently opt-in to opt-out really bothers me even if it is a good cause. As the world becomes a more free place more and more things should be opt-in.
I just realized you're forgetting a huge class of life -- soil organisms. Compost heaps contain the most diversity of life when "cooked" between 55C and 65C.
After seeing the talk, very impressive work. Lots of mess research and missing parts to fill.

Slow clap
If you live outside of the US for 330 days a year, you're considered exempt from ACA coverage requirements.
The less sketchy version of this is buying equity from the private market for startups that are already seeing big upward trends (e.g. Uber)
Roger himself loved to tell that story -- though he never included the belching; it was merely you saying "I'm going to stay here and fart in your office until you answer my question." He told it with such frequency and affection that it was clear you had won his total admiration in that moment -- and his telling was such an important part of our oral tradition that for many (myself included), Roger's telling of this story was how we knew of you long after your departure from Sun.

Just because you have me reminiscing about Roger, I'll add (another) one of my own to the pile: before joining Sun in 1996, I had gone to East Africa, where I had purchased a carving of a crocodile -- and have had it sitting on my desk ever since. Roger loved to pick up the crocodile by the tale (it's about 18" long) and thrust the snout into my chest when making an emphatic point -- or demanding that I approve his RTI. I still think of Roger whenever I pick it up, though I have never been able to brandish it as eloquently.

RIP raf!
Markets are very short-term, though, so you can time the market. It's just hard to time it exactly. All investors want to sell 5 minutes before the crash. It's impossible for a normal person. However, investors generally don't want to sell 5 months before the crash. On many occasions it has been widely known that something is a bubble, but people keep investing in that thing because they expect the bubble to grow a little more before it pops. If you're willing to watch the market grow for months after you've sold then I think it's possible to time the market.

This is not professional investment advice, btw. It's somewhat outside of orthodoxy. I would do my own research before trusting me.
Discussion when this pep when it was accepted and people handwaving and down voting arguments against it.

https://www.reddit.com/r/Python/comments/3k6qi8/pep_498_appr...
Sometimes precision of a certain variety is useful for thinking out a program's design. When writing Haskell code, I will often write out the "obvious" parts as well as the types I think will be appropriate for the smaller, less obvious parts. You can define the type but leave the implementation undefined. Whether or not this typechecks tells me if I'm on the right path.
It does, yes. So one visit via a web browser does result in multiple blinks in rapid succession.
BlackNurse Attack Can Bring an Entire Business Offline with Just One Laptop
very interesting, indeed. why did nothing ever come out of this?

ps: did they actually flag your post because of wnd?
I really hate my PS4 and PSN and want to run Linux or FreeBSD on it. I'm not much of a gamer, but I paid about $100 for a couple games I planned to play eventually. Then I got locked out of PSN and really can't be bothered to call Sony about it.

So now I have this awesome machine that should be running something actually interesting. I could care less about pirating games.
Ask HN: What's your plan for 2017?
What is your plan for the new year 2017?
In 2017, I plan to start a new blog(Don't have a name yet) and make more of my code open source.
I quite like the ability to watch videos on YouTube at 1.5x or 2x speed.

Note, one can do the same with ffmpeg:

https://ffmpeg.org/ffmpeg-filters.html#setpts_002c-asetpts

http://stackoverflow.com/questions/30371346/whats-right-way-...
When I was in college in the early 90s, unix systems were nonstop-paging quite often, and lisp systems would frequently pause while you were interacting with them, for nontrivial amounts of time, like multiple seconds.

And that was the 90s, after Lisp had been around for decades...
Ask credible questions
I thought gameify was enough:)
The end user (my mother, sister etc.) definately wouldn't know that.

I remember when Youtube came out, and all the nerds said "I could write that easily, not that big a deal".

This is why knowing who your customer is (and what problem you're trying to solve) is essential.
I think almost all modern languages end up with granting (unit) testing code free access to everything. The idea of testing only the public interface is about an unique snow flake only meaningful in C++ design, and was never a viable practice at all. Otherwise, I'd say at least one other language follow the similar approach...
I use Benny Lewis's advice (He founded FluentIn3Months). You can even use services like FluentU or Duolingo.
Look at the paper linked in the overview that I posted.

http://journals.plos.org/plosone/article?id=10.1371/journal....
More Artificial Intelligence startups will rise.
Super Drones: Amazon Plans for Collective Drone Delivery
Pretty sure you could have 2 brand new GTIs for less than $1900/mo. Holy crap, that's a lot of car.
>> If you are a programmer/designer you can get a 3 year freelance visa in Berlin, Germany. I currently live in Berlin with that visa.

For someone like me who doesn't understand German language, is it possible to go on with the daily life interacting with the locals in English?
Wow, I didn't know he told that story, that's awesome. Makes sense though, we shared a similar sense of humor (I suspect he would agree with my feeling that all dudes are really 15 year old boys no matter what age they are. All this adult stuff, yeah, we can do it, but we're faking it. I'm fond of saying I'll fake being an adult for 20 minutes for free. You want more than 20 minutes? Pay me).

raf@sunraf if I recall correctly. He is also a big part of the reason that distributed source management exists, he was a big nselite user (turned into Teamware which inspired BitKeeper, which inspired Git, Darcs, Arch, Bazaar and who knows what else).