skysight-inc/HackerNews huggingface dataset:
Regarding dead (as in unused) code, I keep noticing the guys on my UI development team commenting out code and then committing it to Git. I remind them periodically that they can just delete the code and if they ever need it, they can use Git to pull up historical versions of the file for reference.
I think you overestimate the rationality of investors. Just because someone has lots of money doesn't always mean they are clear thinking.
Do you think having a law is enough in a country that big? Its probably cheaper to bribe your way out after being caught than to pay the premium.
My only concern before using this as a job seeker would be getting used for free work and then not hired. Maybe oder the potion to get paid over those 3 days?
I don't have enough intuition for gyroscopic precession to fully follow your high speed case (how fast, I wonder?), but the requirement to overcome gyroscopic stability otherwise causing tracking off line convinces me that I'm wrong at higher speeds. I still think my picture is more explanatory at the speeds I commute at (almost always below 45mph, with most steering at sub 25mph).

How do braking forces play into this, and do you know what kinds of speeds we're talking about? A soft front tyre (i.e. lower than normal pressure) has a dramatic effect on handling at street / city speeds - the extra rolling resistance makes the steering want to steer further into the turn, causing a countersteer upright. So you need to fight the steering to maintain line. But of course when putting a bike on track, you run with lower pressures as a matter of course - and I know from anecdotal experience that it is possible, on track, to brake while leaned over a bit hard enough to start lifting the rear, something that would require an immense effort to avoid straightening up at street speeds.

You've given me something to think about, but unfortunately I won't be able to solve the problem without either learning a lot more mathematics, or playing with models...
For some reason the iTerm colors are not working for me. What version of iTerm was used to make these?
> Is there really a situation in which the punishment for killing is lighter than for wounding, especially with a weapon/vehicle?

Yes.

If someone breaks into your home, in most states self defense would be a slam-dunk defense against a murder charge. Even if acquited of murder, the burglar's family can sue you for wrongful death - the evidentiary bar for wrongful death is much lower than for murder.

It's entirely possible to be acquited of murder, but convicted in civil court and ordered to pay hundreds of thousands of dollars to a burglar's family.

Not to mention the fact that in a criminal trial, if the guy is dead he doesn't testify against you.

"Dead men don't sue" is a thing.
Байкал+-+Фоты+строений+Байкала+҉+Текущее+время:+05+сен+2015+10:46+
Very fair point, and believe me I heard it from a lot of users. My answer is (was), the pressure to improve has always been from competitors, and that doesn't change under a subscription model. I know people tend to see Photoshop as an endless monopoly, but actually tons of rivals pop up and get users in significant numbers (e.g. Sketch), and they do it by being lightweight and flexible. And if Photoshop just kept being huge and adding on ten more huge features per year it would inevitably become a relic, if not by losing old users then definitely by failing to attract new ones.

Not to dismiss your point though - it's absolutely possible that the company gets complacent and stops innovating and collects rent. I just don't think anything really stops people from ditching Adobe if that happens. In this sense I think people overestimate the tools' intrinsic value and underestimate the value of the updates each year. That is, I like Photoshop better than its competitors today, and I felt the same way three years ago, but between a three year-old version of PS and its competitors today I'd switch in a second, and I think many others would too. In other words, the only reason PS maintains its monopoly-like dominance is that it's kept innovating, and if one side of that equation changes the other will too.

With that said, playing devil's advocate against myself, one big argument against what I'm saying here is lock-in from file formats like PSD - if people subscribe and make PSD files, the risk of losing work if they switched tools removes some of the pressure on Adobe to innovate. At the time of the CC switch Adobe said they would come out with some way to make sure people don't get locked out of their files, but I don't know if anything happened with that or not. A lot of tools support PSD these days so maybe it's not a hot issue but I think it's worth keeping in mind.

Sorry to go to such length but I hope that answers your question.
"It's the free market," does not sate a desire for fairness.
How about flipping it? You need the ADHD to function maximally in your life/career, so you're unconsciously self medicating to induce it through caffeine?
The tricky thing here is many are actually killed intentionally. And the killers escaped from that and, instead, were ruled as unintentional. Justice is missing here. That's why the whole damn calculation is valid. I know a lot more similar calculations, driver vs pedestrian, doctor vs patient, kid-robber(yes, many parents are worrying about kids being robbed in front of you, that's not a joke), the list can go on and on. I'm from China. And that's why I left. People in China always debate on wrong factors or they are just not brave enough to talk about it publicly and get used to heavily-self-sensored so that new fake self-consciousnesses take control.
But there's a difference between avoiding helping someone and intentionally taking action to kill someone.
Participation on topics is entirely voluntary. If you don't like a subject, don't participate. There are other people you use this site who might find things interesting that you do not. Don't like it? Shut up and don't respond.
but you are also a weak human being for having succumbed to such disease in the first place.

That's pretty much the antithesis of the AA philosophy, as well as the exact opposite of the "alcoholism is a disease" thinking. IOW, no one thinks you got cancer because you're a "weak human being". If there's any "ego death" involved, it's that you're not going to solve this in your own.

Source: attended my share of AA meetings and even read the book.
I put all dead code in a file called "deadcode.c" and get done with it. If I need it again, I can always copy from there. Easier than searching through git history.
NLTK = education

OpenNLP = production

I thought that was a known fact
Brian Krebs posted about an interesting real world example of this the other day:

https://krebsonsecurity.com/2015/08/inside-the-100m-business...
Judge’s Ruling Offers Peek into Private Equity’s Secret World
One thing baffles me. If parents knew (there is security camera footage) that their child was run over several times because some asshole made a RATIONAL choice; and then said parents hired a bunch of guys to disappear the asshole, suddenly the expected penalty would change, and so would the rational choice. (There probably wouldn't be much of an investigation, either.) So why aren't they doing it? If the government can't/won't set the proper incentives for the assholes not to murder, why can't the people do it themselves? Desperate times call for desperate measures...

ADDENDUM: admittedly my comment above is emotional. Obviously not every accident ends in the driver running over the victim several times. But from the article and from some of the comments, I got an impression that these cases are not THAT unusual, and it's not just a case of a Western newspaper publishing a sensationalist Sinophobic article.
Sure, this is an extreme case but when living in china you are confronted daily to behaviours that defies our sense of moral. China should pour founds into education but they will never do as educated people would be the end of "elite controlled" china of today.
It's no more reliable than "this is what they said," but it adds a step to the fabrication: I could just type random quotes and attribute them to a Twitter account, sure, but it would take effort to fake a screenshot.
I delighted in this article because of its opinions about what is easy and what is hard. Physics engine: easy; of course you have one; everyone has a physics engine. Graph data structure & algos: suggests a few places to find one.

As an older programmer who is in the midst of retooling, I would assume the opposite: graphs easy, physics hard. But that's what retooling seems to be all about -- finding the new "easy" and learning it.
One family's work to save refugees dying on their journey to Europe
So you're implying that most lethal car accidents in the US are intentional?

Also in the US just because you escape criminal charges it doesn't mean that you won't be liable for heavy damages in civilian court.

Does the US have a widespread problem of people trying to kill their victims after an accident to avoid paying legal damages?
Yes, of course. But the economic calculus is similar. The economic disincentive is huge.
I think some people prefer commenting over deleting on version-control - that way, they can see how this code used to look like in the past.

It would be nice to have an emacs or vim plugin in which you select a block of code, and it slowly walks back the graph of commits, showing each commit for 5 seconds. That way you could nicely see how your code-block evolved over time... (of course in many cases the code-block itself is useless without context)
You might be looking for the Kelly criterion. It provides a quantitative answer to what percent of your bankroll you should bet, given the characteristics of a game. Roughly, it tries to avoid having you run out of money before you start winning.

So an answer to the paradox is that some people, like yourself, have intuition about the Kelly criterion: that they should limit the portion of their bankroll that they bet.
You're not usually responsible for the situations you find yourself in, but you are responsible for how you behave in those situations.
Stimulants are my vice, too, and for the same reason (took me awhile to realize the reason in my case too).

Unsolicited advice: I recommend taking days off your stimulant meds where feasible (e.g. weekends), as tolerance can build quickly and you can end up feeling like you need both your prescribed medication and whatever you were using to self-medicate prior to being diagnosed in order to feel "right" and able to focus. That, and my experience has been that, when I'm taking my meds regularly, I feel as dumb/unable to focus when they wear off as I feel calmed down/finally able to concentrate when they're in effect.
It does though. People have the option to steal, lease or buy adobe products and adobe has the right to price them how they wish. I think they have probably calculated that demand is inelastic and the people who buy it are largely professionals and companies who find a few hundred a gripe but not a deal breaker. The rest probably just steal it or use sketch or something. I have to imagine someone did the math, but it sucks if you live in Australia, don't like Sketch and can't/won't use a proxy or torrent.
I smell a rat. Some kind of money-laundering scheme?
Apple, Google settle employee poaching class action suit for $415m
You could add to your knowledge by reading the linked article under discussion
I'd say not good or bad but flawed.
Could not have said this better. New developers should not discount the benefits of hindsight, and humility goes a long way in the open source community.
I honestly think this keeps things more productive

So you're just going to ignore the fact that the article notes studies proving the opposite?

or anything else that takes time away from work

How very Calvinist of you.

You spend one third of your day at work, probably half of your conscious hours.

Maybe your workplace shouldn't be a soulless machine dedicated only to cold efficiency and productivity? Just a thought.
Ha, didn't realize that product existed. I think it's a bit silly, though, since anyone who really wants your data (e.g. law enforcement after an accident) will just remove the ecu itself.
Android’s fragmentation problem is replaced by support library problem
Last name first has nothing to do with trust. Japan is one of the highest-trust societies in the world (see crime stats) and last name comes first. I live in China and have lived 13 years in Japan so I know what I am talking about.
Exactly. I attack and repair the Curve25519 backdoor using Elligator in illusoryTLS, a talk delivered at HITB SecConf (and other conferences) based on my entry to the first Underhanded Crypto Contest http://illusoryTLS.com/

Code at https://github.com/secYOUre/rsaelligatorbd
Eh, think of it like a cache. "You shouldn't keep that in memory, you can get it from disk." You can lean in that direction, but it doesn't make sense as a hard rule.
I've used it a tiny bit as part of ROOT (and its predecessor cint a bit more). It pretty much works as advertised, there's not a whole lot to get excited about IMHO. It certainly doesn't make ROOT any less miserable to use.
One reaction people might have to this is 'ugh China'. Another one might be 'ugh rich people'. Article reminded me of the Brazilian banker who ran over a bunch of cyclists a few years ago.
That's exactly what jumped out to me as well. Interesting to see them position a product for only the top 1% of Facebook. I'd be curious to see what metrics drive public figure-hood. 1M+ followers?
There a billion of them and 300 million of you.

You're the odd ones. That's just math.
OpenNLP has never struck me as anywhere near as robust as NLTK.
Have you ever been to an AA meeting or struggled with addiction? If not then I wouldn't make comments like this.
Ouch, this sounds terrible. What if two functions/classes/top-level-constructs have the same name (and signature)? Now you have a conflict and your project won't build anymore.

Use version control, develop new features in branches, merge to master + tag. There.
What if driver has some issue with someone and intentionally drives over him (no alcohol or drugs on the driver), can they get away with it?
There may be an error about the drive hardware not being emulated because vice can't find the ROM for the disk drive hardware.

Several distros that package vice don't ship these images dumped from the hardware. You can download the vice upstream distribution and copy the ROM files.
Sweet! Similar to docopt. It's humbling to see how short this can be in Haskell, compared to my C++ code https://github.com/ridiculousfish/docopt_fish (though in my defense the C++ version is more featureful, with better error messages).

We're likely to build this sort of thing in directly to the fish shell: https://github.com/fish-shell/fish-shell/issues/478 . From a usage spec, you get tab-completions, syntax highlighting, argument parsing and validation, and user help.

It's sort of silly that there is no machine-parseable usage spec for common Unix commands. Once the docopt support is integrated, I hope to create a repository of usage specs that anyone can contribute to, similar to explainshell.com
Alcoholism is when alcohol drinking interferes whit your life, every alcoholic likes to think he's not one and deceives himself into thinking he can stop anytime: " is just a couple of drinks, is not like I binge drink every day..."
The main problem I find is - when you decide you need to recall that deleted code, where will I find it?
Multiple panic attacks a day, irrational and excessive worrying, insomnia, depression, feelings of impending doom, loneliness, lack of interest in subjects and activities previously enjoyed, lack of confidence and self worth. The usual stuff I suppose.

After dealing with these on a daily basis for a year, I added suicidal ideation to the list. Death no longer seemed scary, but a way to escape the nonstop overwhelming pain of continued existence.

On the plus side, after entering treatment, and then understanding and overcoming my mental illness, I am without question far, far stronger than I was before. I live every day to the fullest and have no regrets. My life is full of what's important to me- satisfying work, nonstop learning, appreciating art in various forms, and socializing with friends and family. This is what gives me pleasure and defines my life. I also have enormous appreciation for being healthy in a way that my peers seem to lack. Every day is a gift and it shouldn't be squandered.
Shru.gg
100 Charts Project
In the repo.
Well I think its an out of sight, out of mind kind of thing. Something commented out is generally something you know you'll want to be referencing again. Coming back to something in the future you/your teammates might not even remember/realize that the deleted code was ever there.
Ask HN: It is difficult to find a company to sponsor a visa for a junior dev?
I'm a rails developer (8 months of experience), and my biggest dream right now is to move to bay area and get a job as a developer. However, I'm not senior yet.

I'm planning to travel in october to have a lot of interviews, but some close friends to me have told me that the companies just serve as sponsors for really experienced developers.

I'm thinking I could work remotely in the months that the visa request is processed.

Do you think that I could have a possibility to get a job in this circunstances?

Thanks a LOT for any help
You must have under (Linux) ~/.vice/DRIVES and ~/.vice/PRINTERS the correct firmware - then you'll be able to use the disk drives. You can get those files from the windows zip distribution of vice.
The order of the last name shows the importance of your family over yourself. Family is far more important over there because it better shields you from society, while simultaneously contributing to the ills of society, i.e. too much self interest vs concern for the whole society; leading to a very difficult to break circular pattern of corruption.

Yes Japan is very different from China if not most of Asia. It's also not hard to see that Japan probably adopted the naming order since they also adopted the Chinese writing system.

I'm Chinese. I was born in Asia and I still routinely visit and keep in touch with my family over there.

To be clear, I'm not saying every Chinese person in China is like this, nor am I saying that it will always be like this. Looking at both HK and Taiwan, things will eventually change for the better in the long term; especially when you consider the long term effects of the one child policy. However (speaking to fellow Chinese people) what I'm describing is real and there's no use in ignoring it, and I feel that there's value in helping people, who aren't of Asian, Hispanic, or Mediterranean (Italian, Greek, etc...) background; to understand it.
> Two words: Stanley Milgram.

In the study, he didn't ask his subjects to kill. And they didn't actually murder anyone.

> Rwanda ... Cambodia ... Nazis ... Interahamwe

People killing on behalf of the State is a whole other matter than what the article is talking about vis-à-vis pedestrian fatalities. The State has been the largest single driver of misery, destruction, and death in human history, and I don't disagree that mass murder has happened and is evil. But drivers ensuring the death of a struck passenger stands in stark contrast to the kill-or-be-killed nature of State violence. On this point, I would agree with your assertion about "compelling justification," which in the case of the State is the threat of violence against the killer for not doing the bidding of the State.

But even in the face of multiple genocides and huge wars, including nuclear bomb blasts, the fact remains that the vast majority of humans have never and will never kill another human.

> A great number of Americans ...

See a sibling response for murder rates and compare to my assertion that a vast majority of people don't do it.

And self-defense is not murder by the legal definition, which include premeditation.
I don't think that's true at all. I think the idea of "let go and let god" is about realizing you are not in control, and accepting that (accepting the things you cannot change). This idea is found in many religions and philosophies and connotes life rather than death.
In this context, medieval times are "modern society". They already had social, religious and legal norms against killing. Also, most people lived in the countryside or small villages where they didn't have many chances for killing people anyway, so the murder rate in larger towns must be a lot higher than the overall 35 figure.
It seems to me it may help, if you have not done so, to refresh yourself with some basic abstract math .. starting with set theory, topology, abstract algebra such as group theory and group representation .. it would illustrate how to walk up and down on the abstraction ladder to get to the essence of the problems at hand .. once you have got the essence .. you would be liberated and can spin it any ways you like ..
> For an accused person, one of the most critical differences is that under Mexican criminal law, the accused is essentially considered guilty until proven innocent.

http://tijuana.usconsulate.gov/root/pdfs/telegalcriminalguid...
Can you clarify your logic? From what I read:

1. It is basic human instinct to not hurt people.
2. Training can overcome this instinct.
3. Therefore these murderers must have trained themselves.
4. Therefore there are a lot of people in China who must have trained themselves to kill.
5. This all reflects badly on all of China when citizens visit other countries.

Can someone explain why it is reasonable to assume that mental training (2), as opposed to perverse incentives and corruption as the article mentions, is the only way to overcome (1), and why, even assuming (4) to be true, (5) is also true?
Google Pursuing a Return to China
Things are better, may be right. But safer? With guns?
A Magnetic Wormhole
For anyone who's passingly familiar with HTML and the web developer tools built into modern browsers, it's barely more effort than "this is what they said". In most cases it's literally right-click, Inspect Element, double-click the html node and replace it with the contents of your choosing.
A few dollars a month more on their insurance premiums.
I saw it with my own eyes when I was in his office to discuss some typesetter-interfacing issues, but I suppose that's not enough of a reference. Perhaps the story is repeated in an old issue of TuGboat, the journal of the TeX Users Group, but I couldn't find it. Here's a more extensive description from a decade ago though: https://groups.google.com/d/msg/comp.text.tex/9quGg7j6U0k/tl...
He's got a point. Almost none of these algorithms produce a bathroom that's any usable distance from the front door. Imagine you're the resident ogre just back from pillaging and you've got nowhere to go. And the absurdity of a minimally connected dungeon shows itself the first time you have to run to answer the phone.
Time-traveling git blame visualization could be rad too.
BIG KERM STRIKES BACK
Guns don't kill very many Americans, compared to other causes. Even including guns wielded by police, guns wielded in warfare, accidents, &c.
> Corrosion is a worry, but isn't that something you can fix with material choice

Not really.
I don't think it's a bad article but what I have noticed is that the discussion threads under articles of this type on HN are of a generally low quality.