Better HN
topnewbestaskshowjobs
Log inSign up

rootlocus

3,292 karma · joined Jul 1, 2013 (13y ago) · 1,194 submissions

Submissions

comment 10y ago · link · parent

Visual Studio has barely implemented a rename refactor into their flagship C++ IDE. Last time I checked, it was still in a sort of 'beta / try at your own risk' stage. Compared to this, IntelliJ IDEA is light years ahead.

comment 10y ago · link · parent

What is or isn't sufficient is relative and context-sensitive. For me it might be. For triple A game studios definitely isn't.

comment 10y ago · link · parent

I'm getting annoyed of being 'politically correct' on the internet all the time. The title is obviously a metaphor, and it doesn't need to be defensive.

http://www.metafilter.com/156134/The-internet-has-made-defen...

comment 10y ago · link · parent

I'm actually working for such a company. Peter Lawrey is a renowned advocate for efficient use of java in HFT.

comment 10y ago · link · parent

Object files are not standardized either (as far as C++ is concerned). Microsoft has it's own format. I can blame C++ for using a hack in order to keep using the same obj files as C.

comment 10y ago · link · parent

The base class is not the only client of that method.

comment 10y ago · link · parent

> Virtual member functions are what corresponds to OOP methods.

So C++ has methods.

> If you use derived objects as their actual derived type (not through a base reference), then you're using those functions

I can use objects through a reference to derived, which still requires dynamic dispatch.

> Identifiers declared in the derived class scope simply shadow like-named definitions in base classes, period. That is regardless of access.

Which is a hack.

1088.

C++ is a hack(gist.github.com ↗)

49 points · by rootlocus · 10y ago · 86 comments

1089.

Worst Terrorist Ever Blows Self Sideways Out of Plane Without Killing Anyone(slate.com ↗)

1 points · by rootlocus · 10y ago · discuss

comment 10y ago · link · parent

Chrome complains about https://micro.vinilox.eu

"Attackers might be trying to steal your information from micro.vinilox.eu (for example, passwords, messages, or credit cards). NET::ERR_CERT_AUTHORITY_INVALID"

1091.

Eight excuses i have told my son to use for his failure to hand in homework(mcsweeneys.net ↗)

16 points · by rootlocus · 10y ago · discuss

comment 10y ago · link · parent

with an initial delay of 8 months.

comment 10y ago · link · parent

You're not learning MVC, you're learning React. For example: I'm not learning software development, I'm only learning javascript. I don't want to also learn sql so I can make the backend storage.

comment 10y ago · link · parent

Following that line of reasoning, everyone is actually writing machine code.

comment 10y ago · link · parent

Now that's what I call gender equality!

comment 10y ago · link · parent

Made even more ironic by all the 'feminists' that use sexism as an excuse for special treatment.

comment 10y ago · link · parent

Where's the criticism? They merely pointed out (to non technical people) there's a long way to go to reach 99.9999% precision. They said nothing bad about Hotz achievement (except that it's relatively easy to achieve). They also corrected a mistake in the article regarding developing the autopilot in-house.

comment 10y ago · link · parent

Both articles were written for a wide audience, which includes non technical people. Tesla's image and technology were bashed by someone claiming to know everything there is to know in the field. Non technical people see 'a limited demo on a known stretch of road' and assume Tesla engineers are idiots who wasted two years when they could have employed this awesome dude to think outside the box (that's always cool) and magically implement machine learning to solve all the problems.

'Learning by doing' as presented by Hotz is all fine and dandy when you drive on a motorway with a very limited set of road signs, no pedestrians, no traffic lights, etc. Hotz also assumes people learn to drive by watching others, which is only partially correct. Traffic rules are not learned from experience. Low light conditions, fog, handling the car on snow and wet surfaces and numerous other factors have to be trained (if they can be taught through training). And after all that work, the algorithm must be tested extensively before it can be shipped into production. The reporter omits asking any questions regarding these aspects.

I don't see the problem with Tesla highlighting these aspects to people who may be fooled into thinking one boy genius would solve all the problems with self driving cars in a couple of years, while they (Tesla) are wasting time.

comment 11y ago · link · parent

Indeed, according to this: http://www.reuters.com/article/us-teslamotors-cash-insight-i... Tesla actually loses money on every car, instead of what the author implies with "You don't sell many units, but you make a lot of profit per unit."

comment 11y ago · link · parent

To help with the phrasing: this is called function overloading. Type hinting is ignored by the interpreter so it doesn't add any new functionality, only documentation.

comment 11y ago · link · parent

I didn't downvote, but I don't like the syntax for a couple of reasons:

1. Instead of being more like C-style function declarations, they look a lot more like C-style type conversions.

2. However closer it may be to C (type before identifier I guess?) it's pretty far from any other mainstream language. For instance, C++ has support for -> syntax for function types (http://stackoverflow.com/questions/22514855/arrow-operator-i...) and some other languages (I can think of Scala) use name: Type declarations.

As a personal preference, I find the python type hinting more familiar than your example, despite (myself) being most familiar with C-like syntax.

comment 11y ago · link · parent

I'll remember that the next time I'm using python.

comment 11y ago · link · parent

I think the article is abusing Bayes Rule.

Keeping in line with the other examples in the article, why not: 1 out of 1 bombing attack resulted in death? Because bombing attacks are not something you choose to do (as opposed to skydiving or riding a motorcycle). Also, the threat level is not uniform across the country. Also, there haven't been a million bombings so we're doing statistics with one sample. Also, we're also expecting the bombings to continue. There are a lot of misinterpretations and oversimplifications here.

I find it highly irrelevant, as a person working in a large town, frequently being in highly populated areas, in a country that's possibly a target for ISIS to compare myself with the average person living in a different country. It's almost like assuming that smokers and non-smokers have the same chance of dying from lung cancer, and then using the entire population of the world as reference to prove that smoking is actually pretty healthy.

comment 11y ago · link · parent

According to a few articles, the pool of people willing to take on suicide missions is too damn high: http://www.dailymail.co.uk/news/article-3092635/ISIS-fighter... (although it doesn't talk specifically about US)

comment 11y ago · link · parent

You don't need a title to take responsibility.

comment 11y ago · link · parent

Maybe because it fits inside the README area on github?

comment 11y ago · link · parent

OF COURSE it's scripted so that it's almost always in that state.

comment 11y ago · link · parent

You would get penises every two frames. Depending on the speed of the GIF, the result would be flickering penises...

comment 11y ago · link · parent

How would you rewrite it to "tighten it up"?
1
3637383940