Better HN
topnewbestaskshowjobs
Log inSign up

code_sloth

237 karma · joined May 8, 2016 (10y ago) · 70 submissions

Submissions

comment 9y ago · link · parent

Could you elaborate on why "treating the pointer to a string and the string length as separate vars" is dangerous to someone who hasn't done a lot of C?

comment 9y ago · link · parent

I doubt there's any intentional manipulation going on behind the scenes. It's just VCs throwing their money at the potential next big thing, which is almost never at something low level. That's where the money is, and the tooling + community follows. The rest is just network effect.

Just a few years ago, jquery was huge, and many companies were just starting to hop on the web bandwagon. Many frontend developers who didn't even know javascript could get better paying jobs than low level programmers. I thought that was a sad state of affairs, but that was just where the market was at.

comment 9y ago · link · parent

The phrase "piece of sh!t" for better or worse, is now so widespread its almost never meant literally. People who take it to heart shouldn't be working in _any_ client facing role.

It might be chinese culture to avoid criticize things directly, but it's also part of the chinese culture to give backhanded compliments like "5 out of 5 stars, when it works, which is never." I don't think the 笑里藏刀 (literally translated as "dagger hidden in the smile") aspect of chinese culture claims any moral high ground over the western straight shooting f* you.

I'm chinese too.

comment 10y ago · link · parent

> There's also the problematic government support of corporal punishment for children..

There might have been implicit government support in the past, but today teachers are not allowed to hand out corporal punishment to children.

comment 10y ago · link · parent

The startup scene tends to be more foreigner friendly. For corporates/enterprises it's a mixed bag because some of the rank and file locals view foreigners as people who have taken jobs/opportunities away from locals.

comment 10y ago · link · parent

> As an aside I'm curious why you think that "magic" is good for beginners.

I was referring to absolute beginners with little prior background. To them, technical documentation is a bunch of gobbly gook. For these people it's usually better to be somewhat opinionated and just tell them "there are other ways, but this is the tried and tested way and it works". A nice side effect is that they don't suffer analysis paralysis and panic attacks.

They don't know what they don't know, so it's sometimes useful to just tell them "this is the syntax to do X" (aka "magic") and gloss over the finer details. I've found that the time to unveil the magic is when they poke around under the hood, read up, and start asking questions about how things work.

comment 10y ago · link · parent

> No, you shouldn't be thinking about these things. Because you'll get them wrong.

"Magic" is good for beginners, because there's just too much they don't know.

Not thinking about all these things because the community of thousands should have done it better I did, is just lazy.

This is the kind of thinking that leads to unnecessary layers of abstraction and bloat.

comment 10y ago · link · parent

> ... my level of empathy for this kind of griping is roughly zero. Adapt to the new hotkey and save the complaining for something that actually matters.

It's absolutely amazing how many comments (500++ as I write this) that this "news" generated.

comment 10y ago · link · parent

The only thing that came to my mind was "why put yet another abstraction in the browser?".

Then I realised the answer was probably "because they could".

Someone will write a C compiler in Java and stuff it in the browser next...

comment 10y ago · link · parent

I'm interpreting that chart as tracking the year on year percentage increase/decrease of the population and ridership.

So the population has more or less been increasing year on year since 2005, with a near zero decline prior to that.

The ridership has gone through a steep decrease which bottomed out at -35% in ~2005. Sure it's been decreasing less, but isn't it still decreasing? The ridership line is flat near the end, but isn't it still decreasing at more than 20% year on year?

How else can the chart be read? How am I reading it wrong?

123