skysight-inc/HackerNews huggingface dataset:
Have you had a car made in the last 15 or so years?

Nowadays ignition switches do everything but starting the ignition system. As the car is fully controlled by a computer, the key is an electronic gizmo that authenticates the driver as the owner and signals the starting sequence. The revolving movement is completely unnecessary and just provided for familiarity purposes, there are cars that instead of a key have a card and start by pushing a button.

My bet is that maybe in 2005 GM was building the first switches under this principle, thus the need to preserve the electrical characteristics of the system, so the data transmision channels between the key and the computer wouldn't get compromised.
At this point I don't really want to touch the systemd argument with a barge pole anymore, but I think it's worth saying that I'm a lot more comfortable with the sysvinit script.

After a lot of years of maintaining and editing and writing configuration files for more Linux daemons and applications than I can remember, my least favorite are the ones like the top example, that have a pile of predicates and values. They require careful reading of documentation to look for any traps and gotchas (the documentation always has a fine print section buried deep within it somewhere that says, "oh, by the way, you can't foo with a bar setting because that will cause a baz to foom"). You have to either memorize a bunch of variables specific to a single application, for a ton of applications, or you have to spend time referencing documentation (and re-reading it for those gotchas) every time you open the config file. There's also the nuisance of new predicates in later versions, hidden and undocumented predicates, and on and on.

It's just a pain in the ass. Really, as much as I love Postfix otherwise, it is the poster child for why this approach sucks monkey. Here's the documentation for Postfix: http://www.postfix.org/documentation.html ... let me know when you've read and understood all of it. :-)

But the sysvinit file on the other hand is easy. It looks uglier, but only to people that aren't accustomed to shell scripts. I can take one look at it and know what most of it does, because all other shell scripts do similar things.

And here's the best part! If the shell script seems to be broken for some reason, I can debug it! I can stuff some stdout or stderr in there; I can call my own binaries or reference other shell scripts; I can do programmer-y things to it!

The default response here is usually, "well, we'll just keep the configuration file simple then." But that never happens. I would bet a donut that, years and years ago, some Postfix developer said, "the sendmail configuration system sucks, we'll do our own, and we'll just make sure it stays simple."

But software never gets simpler. It's a steadfast law, a more universal rule of reality than the arrow of time. Software only moves in one direction, and that's towards more complexity. The safe bet is that ten years from now, those systemd configuration predicates will have exploded 10-fold, with lots of hairy edge cases and gotchas and hidden or poorly documented interactions, because that's what always happens. A shell script on the other hand will still be editable; the Apache sysvinit script you posted doesn't do anything that a shell script couldn't do 15 years ago.

I'm really beginning to think this whole systemd thing is actually a culture war between two different generations of sysadmins. The older, bearded generation wants to stay with the thing that has always worked out for them in the end, and the younger, nicer-smelling generation wants to do something new because they haven't made enough mistakes yet.
Yes, they get financial incentive to improve patient care.

They get paid for patients on their list; they attract funding for the surgery performed; etc.
It's a standard remote code execution exploit. It's as bad as it gets in security vulnerabilities.

He is running shell commands through the Twitter server - the 'uptime' command is just a demo. He could also access privates files and possibly gain access to secure data that would let him access all data stored on Twitter servers, etc. He could also alter the twitter code to display anything he wanted to twitter users.
“I think everybody just puts too much trust in Wikipedia,” he said.

He says this because the original release date is off, well. . . . . Edit the damn page then instead of worrying about it being off?
Show HN: Cloujera – fine-grained search for spoken words in Coursera's videos
The problem wasn't the nullrouting, it was 'contact support to re-enable... and support isn't open until Monday'.
Here's the whitepaper in question:

http://www.invincea.com/wp-content/uploads/2014/10/Micro-Tar...

> Most of the attacks featured here were not
detected by standard Anti-Virus because the malware hashes constantly change.

> Web proxy blocking updates, even in real time, will not stop new malvertising landing pages that appear
and disappear within minutes.

> Intelligence feeds from the premier intelligence providers, based on hostname, IP, URL or domain will not
be able to block malicious malvertisers quickly enough.

> ... opting out merely places a blocking cookie in your browser. This means that ad providers will
not target or retarget based on cookies. But as shown above, the new targeted advertising is via IP
intelligence.

It seems like these are extremely difficult to mitigate without heuristic-based antivirus systems. And even if the bidding engines were to scrape them, malicious ad servers could simply serve benign content to all but the targeted IPs.

That said, it's very possible that patterns would emerge in this type of targeted advertising that could be marked as fraudulent using machine learning (for instance, if a brand new ad server were to suddenly start requesting IP targeting). I'm sure the talented people at the larger ad-exchange-software companies like AppNexus will figure something out - or they already have!
The seed itself was never claimed to be verifiably random. Instead, because it uses a (cryptographically secure) pseudo random generator to produce the curve parameters out of a public seed, the curve parameters are said to be "verifiably random". Today, we have more strict requirements on curve rigidity in mind than at the time they released the curves. It's not really fair to claim that NIST acted in malice by not following best practices which only developed after its publication.
That's interesting. Do people seek out the legal weed and pay the premium? Or is it suffering for lack of demand compared to black market weed. I don't live in WA (or smoke pot), but if I did, I probably would pay the premium just to keep it all above board & guarantee quality.
True, but it works exactly as you'd expect it to.
I've looked at the Credit Suisse study, which looks at company performance from 2005 to 2011.

Choosing a suitable interval for selling company stocks is a standard device for professional bullshitters like Credit Suisse (professional bullshitters because they have to make up fairy tales to sell stock when nobody really can predict anything). If they had taken another interval, the results would have been different. I think this was even obvious from the charts they included in the study (it's been a while that I read it - anyway, I encourage everyone to do the same).

If the theory is correct and women take less risks, then presumably the climate between 2005 and 2011 favored less risk taking (bear market?). At other times, more risk taking might have been more beneficial.

It's actually well known that it's almost always possible to pick an interval on which any given stock shows a positive performance.

And there are of course the other possible explanations, for example that successful companies might have an easier time attracting women because they can afford special perks to lure them in.

It's amazing how often this Credit Suisse "study" has been cited by now. Many people just take it at face value because it suits their ideology.

I wish people who believe it would just invest in female led companies or start an index fund of such companies. Let the market sort it out.

(I have nothing against female leaders, just against ideological fairy tales).
Duplicate: https://news.ycombinator.com/item?id=8473580

There is already extensive discussion there, so flagging to avoid splitting the discussion.

It's a bit weird, as the URLs are identical for the two submissions. Usually, duplicates differ (trailing slash, fragment, query parameters). Here, they are identical. That's normally caught on submission and the new submission in converter to an up vote for the old submission.
The answer is some are and some aren’t and that some women will make better decisions in certain circumstance and make worse in other circumstances. In other words the predictive value of this “research” is zero.
There was a best paper at CHI 2012 about this subject, wish I could find pdf but here's ACM link:
http://dl.acm.org/citation.cfm?id=2208280&dl=ACM&coll=DL&CFI...

Here's a review by Stuart Reeves:
http://notesonresearch.tumblr.com/post/26870630666/confusing...
If you're going as verbose as using a class, just put the class on the br tag.

<strong>Headline</strong><br>
The quick brown fox jumped <br class="soft">
over the lazy dog.
The first experiment they describe is one were taking more risks yielded the higher gains. Somehow they seem to have forgotten about their own experiment in the end.
> He could also alter the twitter code to display anything he wanted to twitter users.

Maybe, maybe not, depending on the web server's permissions. Also it seems to be a subdomain which may not have the main twitter code.

It's still pretty bad and embarrassing.
No, bliive is more like a mutual credit system than a barter program.
This is a remote code execution, allowing attackers to run commands of their choice on the server with the user and privileges of the webserver.

Now, if one of the following is true (and thats quite common):

* The webserver has access to sensitive data

* The operating system has a bug that allows getting higher privileges as an unprivileged user without credentials

The machine is hacked and broken. (either the sensitive data can be extracted or the machine can be reconfigured)

This is why remote code execution is rated very high as a vulnerability.

A common way to prove this is by running a command that doesn't do any direct harm. uptime is quite usual, reading /etc/passwd is also quite usual.
The Face of Fortune: When CEO Appearance Predicts Company Success
IMO Sim City 3000 and 2000 was the best Sim Cities .
Gene2Music: Translation of Genes to Music
I'm a resident: 30hrs every 3-4 days, is standard for residents in years 2 and above, but only in the more demanding services, otherwise usually 12-16hr days.
And this is an example of what I am worried about. Our systems are mostly based on assumptions of inneficiency by an attacker or exploiter. With computers, these assumptions will no longer be correct. If this happens exponentially, it will subvert almost all society's systems and make us not trust anything.
> While Brooke’s lap belt glued her waist to the seat, her shoulder harness went slack the instant the engine shut off.

Jawdrop ... what? Those things should be purely mechanical, locked in place by masses undergoing acceleration.

Shoulder belts requiring engine power is just monumentally stupid.
What Texas is doing/has done would not have impacted this issue if a similar law were applied to manufacturing. The key here is that people at GM knew they had a problem and successfully hid it. If you were to apply a loosely copied version of the Texas law it would start a timer two years from revelation to get the suit going.

What annoys me most is the US government fined Toyota a billion dollars for not quickly identifying problems and so far GM has taking a walk comparatively. I really want to see a real fine on GM for this , given their CEO her positions coming up through the ranks would have/should have known about this problem. Maybe not its extent, but she would have at least heard aboutit
KDE doesn't require systemd. The KDE folks are still concerned about operating on the BSDs. Some of them are still concerned about running on Windows [0] and OS X [1].

Elias Probst:

"Reading the comments shows a lot of misconceptions about +Martin Gräßlin's proposal [to use systemd features to make Plasma startup under Wayland a little bit simpler]:

* KDE SC will still allow to use the old-way to startup a KDE session, as it will still ship the X11-way of doing it for [BSDs]. If you want to use a modern Wayland/systemd stack you're fine by using the defaults. If you don't want to: use the old X11/script startup stack.

* KDE SC won't enforce using systemd as init-system by this change. Instead, it will use parts of systemd which are completely independent from the init-system being used to handle the startup of the KDE session. If systemd is being used as an init-system, that's a plus because of some systemd integration effects, but that's all about it.﻿"

via: https://plus.google.com/+MartinGr%C3%A4%C3%9Flin/posts/GMtZr...

[0] http://mail.kde.org/pipermail/kde-windows/2014-October/threa...
[1] http://mail.kde.org/pipermail/kde-mac/2014-October/thread.ht...
>Many people just take it at face value because it suits their ideology.

Summarising the relationship between politics and science succinctly.
> Maybe, maybe not, depending on the web server's permissions. Also it seems to be a subdomain which may not have the main twitter code.

Subdomains can run on the same server. Also, the code is uninteresting, data usually is.

Also, higher permissions are just one OS exploit away. As with many exploits, it's a stepping stone, but a big one. The combination matters.
I think most people just buy black market stuff so far. But at least you can't get arrested for possession ¯\_(ツ)_/¯
Thanks, I had missed the other one.
Porn sites have tried, but it's really tough. We want to help break down the social barriers that prevent that. However, here is one mainstream brand who wholeheartedly embraced that and wrote up the BEST.ADVERTISING.EFFECTIVENESS.CASESTUDY.EVER. This is Eat24's hilarious report on 'How To Advertise On A Porn Site':

http://blog.eat24hours.com/how-to-advertise-on-a-porn-websit...

and here's what we plan at MakeLoveNotPorn as our version of advertising - Forget Sex In Advertising, How About Advertising In #realworldsex?

http://talkabout.makelovenotporn.tv/2013/09/25/forget-sex-in...
Tab pages have their use, as temporary workspaces, but they can't be tied to the usual 1 tab = 1 file paradigm without seriously handicapping your workflow. That's why we usually insist on using buffers instead of tabs as file proxies not on using buffers instead of tabs.

An important thing to consider is that windows are an abstraction built on top of buffers and tab pages are an abstraction built on top of windows. Each level adds some flexibility to the user experience but it comes at a price: you get tied to that abstraction level's commands and "worldview" so to speak.

I don't use any buffer-management plugin because buffers are not hard enough to deal with but I do have a few mappings:

nnoremap ,b :buffer <C-z><S-Tab>
nnoremap ,B :sbuffer <C-z><S-Tab>

nnoremap gb :ls<CR>:buffer<Space>
nnoremap gB :ls<CR>:sbuffer<Space>

nnoremap <PageUp> :bprevious<CR>
nnoremap <PageDown> :bnext<CR>
This is really fantastic. Apple/Google/et al are putting immense resources into surfaces and textures and really subtle animations that are expensive to compute, expensive to design, and expensive to implement. There are usability gains there, but they are rare and usually small.

I love that the Elementary HIG puts emphasis on choosing the scope of what you ask users to do, on writing style, and on a bunch of very basic usability concerns. There's a misconception that because we have Retina displays and silky animations we're somehow in a more advanced state usability-wise than we were decades ago, but many of the interaction design lessons of yore have still not been widely adopted.
World population stabilization unlikely this century [pdf]
ImageNet Large Scale Visual Recognition Challenge
The article does say "They found that the most stressed men drew 21 percent more cards from the risky decks than from the safe ones, compared to the most stressed women, losing more over all."

I took this to refer to both "games", although I can see its ambiguity could mean only the latter or both.
Oberon/F for Mac OS (1997)
Litecoinlocal is closing down
However, any given chip that's prone to bit errors will have them very frequently.

Yes, but ECC is not going to help you much with this kind of memory issue.

That's not the purpose of ECC. It's not "RAID for memory"; it's not designed to keep you up and running when your memory is physically failing.

ECC "can detect and correct errors of a single bit per 64-bit 'word' (the unit of bus transfer), and detect (but not correct) errors of two bits per 64-bit word." ref: http://en.wikipedia.org/wiki/ECC_memory#Pros_and_cons_of_ECC (yeah, I know... Wikipedia)

A failing ECC memory chip's errors are going to overwhelm the ability of ECC to correct it - they're almost always going to be more than 2 bits per 64 bit word.

Where ECC shines is, as I said, correcting the occasional flipped bit. Which happens way more than any of us would really like to think about - cosmic rays, electrical interference... it happens. Soft errors.

with OEM-provided, soldered-to-motherboard memory chips you also have no way to qualify your memory, either. You'd have to qualify and reject the entire box using something like a periodic memtest86+.

Yes. Soldered-on memory sucks, aside from the fact that it can offer form factor benefits. (Which is a really dubious benefit when it comes to the Mac Mini. The 2012 Minis used replaceable DIMMs in the same form factor as the 2014 models)
And on this topic - can I introduce Peiqi Su's fantastic ITP installation, the Penis Wall? :)

http://itp.nyu.edu/shows/thesis2014/peiqi-su/

https://www.youtube.com/watch?v=CJw-JUmjq0U
I am amazed that the authors of this data mining study couldn’t do a better job. If you let me data mine to “prove” my desired conclusions I would be able to provide a much better job than this. It is almost as though they just picked the first data set that met their desired conclusion and couldn't be bothered rummaging through the data any further.
>It doesn't sound like such a horrible position to be in; working for a multi-billion dollar company that was trying to force you to ship a part that could kill people.

It's probably not a case of some moustache twisting monocle wearing fiend who was the manager and the engineer was absolutely convinced that it was a faulty part that would ultimately be responsible for death and destruction. It was more likely one of a number of similar sub-assemblies, all having some questionable attributes and people trying to ship things under the guise of "perfect is the enemy of the good". At some points along this road, various people probably began realizing that there was a real problem, one that they might have some culpability in. Why the people involved continued to make poor decisions, I don't know.

>Whistleblowers get 1/3rd of damages, it's like wining the lottery for ethical people.

It's a nice theory. I've yet to see it happen consistently in practice (or pretty much ever). Engineering ethics case studies are littered with cases where engineers tried to alert management of problems and were punished for their efforts.

>How long does it normally take to design one of these switches, when you've been doing it most of your life?

Not very long given ample resources and nothing else to do. I doubt they were working under those conditions.
My issue with masonry is that it's a paper thin abstraction over auto layout. There's some nice syntactic sugar, like chained calls to layout rules.
Ultimately I think there's room for some containers that give up flexibility in exchange for simplicity in code and mental model
> Doing this generally in Ruby I think is impossible

Not so much. At least with views over most Enumerables, its quite possible in Ruby -- that's the whole reason that Enumerable::Lazy exists.

The existing File class doesn't quite support it because of the way its iterators are implemented (particularly, they are one way) but the class is easily extended to allow it, e.g.:

class RewindFile < File
def each
rewind
each_char {|x| yield x}
end
end

Then you can create a synced view that has the character positions of the newlines in a file like this:

a = RewindFile.new "myfile.txt"
c = a.lazy.each
.with_index
.find_all {|x,_| x=="\n"}
.map {|_,y| y}
Two great points. I'll address.
I stopped reading at "People use Airbnb to unlock incredible experiences," because it sounds like BS.
This article is okay, but it is a shining example of the recent, disappointing editorial shift at PM. It's always been aimed at a popular audience (haha), but recently, there is a focus on articles with a strong narrative and lots of relatable human moments (He likes jazz!), with little or no actual information.

I mean, the risk of different animal strains mixing in the wild is presented as the Hokey-Pokey, you put the bird flu in, you put the swine flu in, you shake it all about, etc.

There's also stupid misinformation presented about dangerous things; two I remember are a warning not to use an uninsulated tool to cut a live wire (especially for their audience, just don't do it!) and a warning to back off of ABS brakes if you need to steer.
> Text is easier to read when narrow.

Have you A/B tested that?
They received a ton of solutions in a bunch of different languages when they were running this as a closed competition.
They said it would take some time for them to add the solutions to the page, but its been months and I think they have given up on it.
The USB receiver circuit is super cool. Thanks.
Also, if you're the ignorant shmuck who downvoted me, you can suck my cock - it's currently on display at Ripley's "Believe It or Not".
Fixing ssh on OS X
Do not expect it to change, I remember watching a google funded talk about women in STEM where all the panelists were celebrating, because 65% of architecture graduates are now women.
Braintree (https://www.braintreepayments.com/landing/international ) ?
Surely Docker, Inc. isn't shipping a broken-out-of-the-box docker.service file... I had assumed this worked for everyone but debian jessie users.

Oh dear, that seems to be the case... https://github.com/docker/docker/commit/053c3557b3198466ecfb...
Here's another take on that:

case 1. men are better at X

reality: positions of influence, leadership, power and prestige regarding X are overwhelmingly populated by men.

case 2. women are better at X

reality: positions of influence, leadership, power and prestige regarding X are overwhelmingly populated by men.
In my experience, typical render times are whatever can get finished overnight. So up to 8 hours or so on average. Many complicated renders will take much, much longer. And then of course many simple things like previews and non-final renders go significantly faster. It varies widely depending in the complexity of geometry and lighting model.

Blinns law is completely true. The limiting factor on render times is the impatience and work schedule of the people submitting the jobs.
>I wish people who believe it would just invest in female led companies or start an index fund of such companies. Let the market sort it out.

This is a very clever suggestion. The beauty of starting a "female-led" index fund is not that it would provide superior returns, but that you could pink-mail pension funds into investing in it. Pure genius.
I was a different person when I was twelve. Would still apologise to anyone I ever hurt back then. It's way better than stubborness.
Noob question here. In a dynamic language, say python, would duck typing solve the greet_tom problem described here?
Well apparently more than a few domain experts agree with the thrust of the article - http://www.nytimes.com/2014/10/18/us/white-house-to-cut-fund...