Better HN
topnewbestaskshowjobs
Log inSign up

rootlocus

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

Submissions

comment 9y ago · link · parent

> there is no problem first off and malware is not how you would solve this fantasy of a "problem".

If you think consuming content online without paying anything for it isn't a problem, you're wrong and it's not even debatable [1]. I'm not saying this is a good solution. I'm just pointing out it's not a "fantasy" of a problem.

1. https://www.youtube.com/watch?v=bq2_wSsDwkQ

comment 9y ago · link · parent

On a related note, my company raises salaries yearly as a percentage of the current salary. Even though those with lower salaries get a slightly larger percentage, everyone gets somewhere between 8% to 15%. Having a higher initial offer and asking for a higher raise (and arguing that you earned it) results in better raises. Nobody expects everyone to get the same salary.

comment 9y ago · link · parent

The discussion sparked by it revolves around "don't be cheap" and "try visual studio code". Just like every other discussion about Atom, Sublime or Visual Studio Code.

comment 9y ago · link · parent

Except for the fact that there's barely any comparison, and nothing new is mentioned. Atom is cool, slow and not every language is supported equally. Sublime costs money. Hardly warrants 4 total paragraphs where sublime is barely mentioned.

comment 9y ago · link · parent

Did you just write 3 paragraphs of Atom review on the sublime 3.0 release announcement?

comment 9y ago · link · parent

> Just some ranting person(s) taking their marbles and going home

You mean four out of the 13 CTC members leave to make a fork and the project is "totally non-impacted"?

comment 9y ago · link · parent

I find it ironical that people who take up pitch forks and accuse others of being a hazard to the health and growth of a project would, in lieu of having their demands met, do one of the worst actions possible against what they were "protecting": splitting the code base and the community with a fork.

comment 9y ago · link · parent

200ms can refer to network latency, input latency, frame render time, etc.

comment 9y ago · link · parent

> Solar panels and electric cars are saving our species? From what?

Global warming

comment 9y ago · link · parent

If you check the changelog [1] you'll see the rust plugin has been officially support for a little over a year.

1. https://intellij-rust.github.io/thisweek/

comment 9y ago · link · parent

The real advantage of using HDR or Filmic, is that details start to show in areas with low contrast. Try looking at the window on the right or around the faucets. The higher contrast means more details are visible.

comment 9y ago · link · parent

PBR (Physically-based render) Shaders are extremely realistic. The Suzanne monkey example is pretty neat, but you can find mindblowing examples from other artists. [1]

1. https://www.marmoset.co/posts/physically-based-rendering-and...

comment 9y ago · link · parent

> Lovely, so I can officially claim I use a standard that is required by many commenters here if I just hash random bytes!

Stop pretending that you don't understand what a cryptological hash function is, or that using a strong crypto function is the same as rolling your own, or that using the hash function on your input is the same as running it on random bytes.

> Thanks for your analysis!

Thanks for the anecdotal evidence.

comment 9y ago · link · parent

> two identify objects by content HMAC (one of them uses an SQL database), the other uses a mix of incrementing integers and a random string for different use cases.

If those two are using SHA-1, like git, you are still using a standard. The third one however sounds like a potential mess.

comment 9y ago · link · parent

@dchest So you frequently use varchar for your table index?

comment 9y ago · link · parent

I experiment all the time in my spare time. But I don't write blog posts and publish to npm.

comment 9y ago · link · parent

However pretty, I wouldn't use something non-standard for generating IDs unless I was doing something embedded which required careful memory management under hardware constraints, where I most definitely wouldn't be using JS.

comment 9y ago · link · parent

> I have access to all the npm ecosystem. Is fast. No bloatware or weird code.

I see npm as the best source of slow, bloated, weird modules.

comment 9y ago · link · parent

If you want to learn how UUIDs work, implement the standard.

comment 9y ago · link · parent

I agree with the first, but the second doesn't qualify. If the person using the software (a friend) owns the computer where the software is installed (my friend's computer) he qualifies for the free license. I don't think it matters who actually did the installation.

comment 9y ago · link · parent

> That's over 5,000 pull requests, 250,000 lines of code and hundreds of squashed bugs!

I was expecting "hundreds of new bugs".

comment 9y ago · link · parent

You can blame Crockford for that: [1]

TLDR: Basically, in a typical Crockford move, he saw people were using them in a specific way he did not like (to store parsing parameters), so he removed them entirely. I say "typical Crockford" because some of his JS linting rules are gratuitous overkill in my opinion. He also suggests that if you want comments, you should pipe the config file through a minifier that removes them before parsing.

Doesn't seem like that much of a good reason to me, but whatever.

1. https://plus.google.com/+DouglasCrockfordEsq/posts/RK8qyGVaG...

comment 9y ago · link · parent

> So Haskell and Clojure are similar?

Yes.

> Design patterns differ between languages. And OOP principles too

Not that much compared to paradigms. They're closer to coding styles. Once you understand what encapsulation is and how python lacks visibility modifiers, it's only a matter of using a coding style to compensate.

> "Two languages using the same paradigm are closer to each other" - but this seems tautologically true

Taken out of context, sure, but you excluded the second part. That's why I think Haskell and Closure are similar.

comment 9y ago · link · parent

This is what I meant in my last sentence, thank you for clarifying.

comment 9y ago · link · parent

> So Clojure, Java, Javascript, Haskell and Ruby are all basically the same?

Nice try, but we were talking about PHP and Java. Also, for instance, functional paradigm is the same for all functional languages, which is what I meant in the first place.

> You suggest skill is generic.

I'm suggesting the developer understands the OOP paradigm, knows about design patterns and isn't confused by the small differences in syntax or how much a language borrows from each paradigm. Two languages using the same paradigm are closer to each other, regardless of how different their syntaxes may be.

> Projecting the paradigms they are used to onto new domains can produce problems

That's completely true, but I'm not going to write generic comments that cover every case. I'm replying to someone comparing PHP to Java. It's my understanding the PHP is mostly OOP.

comment 9y ago · link · parent

So you always have leaky roofs at your company? And if you don't like what he did, you just keep the repairs? Sorry for being picky, but you could've used "make a dog house" or something like that. I hope you don't put patches from interviewees in production code.

comment 9y ago · link · parent

I'd like to know what you replaced "nail gun" or "hammer" with.

comment 9y ago · link · parent

Software is software. The paradigms are the same. The languages have the same roots. What is culture for a programming language anyways? Sure, the tools and frameworks are different, and every language has it's own quirks and uniqueness but they're not as different as you make it sound. If a developer is skilled, these are small differences.
1
262728
40