Better HN
topnewbestaskshowjobs
Log inSign up

nostalgeek

488 karma · joined Mar 9, 2018 (8y ago) · 203 submissions

Submissions

comment 8y ago · link · parent

> Macros are a cop out of language design. They mean "everybody do what you want and create your own language, we don't care anymore".

I prefer safe AST based macro than runtime reflection like Go has. The latter is actually a cop-out, unlike the former in the context of type safety at compile time.

comment 8y ago · link · parent

> I guess we need an in-browser package management like npm?

It exists and it's called bower.

comment 8y ago · link · parent

> Liberalism itself isn't right wing at all.

Classical liberalism is considered right wing in Europe because most of the the classical liberals are also culturally conservative (against gay marriage ect...) and globalist. Although plenty of socialists are not that open either. It's just a weird mix and really depend on the situation of each countries.

The "far right" is also most of the time anti-liberal, and sometimes even adopt socialist stances on matters such as public administrations, anti-privatization, universal healthcare... while making immigration policies their first concern.

The politics of Europe and USA are very different at the national level. In Europe people change sides more often and there is room for a 3rd, 4th main party unlike the 2 party system in US.

comment 8y ago · link · parent

Yes it's bad UX on mobile, here you go:

https://raw.githubusercontent.com/mvdan/talks/master/2018/go...

comment 8y ago · link · parent

AFAIK Javascript does this as well.

comment 8y ago · link · parent

> That's the business model of most of EU's cheap air companies. E.g. EasyJet "allows" you one piece of luggage on board, but unless you're EasyJet Plus (i.e. pay extra), good luck actually taking it with you on board with any sort of predictability or regularity.

And Ryan Air takes it to a whole new level. At least easy jet planes don't feel like they are going to break in the middle of the flight.

comment 8y ago · link · parent

> so they did build up some trust for me (and others)

let's not pretend they don't try to rip customers off with hidden or gotcha fees, because they do. Their whole business model is based on bait+switch. You said they did "build trust" but at the same time you are saying " I know their procedures", of course, because if you are not careful you'll pay some bullshit fees. It's just one of the worst plane company in western Europe.

And they are not that cheap since their planes often only land not in main airports but ones in the middle of nowhere so you often have to add the cost of transport to your actual destination which is often not that cheap.

comment 8y ago · link · parent

> You don't need Typescript to use JSX without React. Plugging my own isomorphic-jsx project: https://github.com/TheKnarf/isomorphic-jsx

Yes but since I use Typescript static analysis as well: 2 birds, one stone.

comment 8y ago · link · parent

I believe the point of the OP is, you don't need the verifier library at first place. This is one of these dependencies that offer very little for the cost of adding a new dependency to a project.

comment 8y ago · link · parent

If only there were some features in some computer languages or type systems that allowed to eliminate 99% of these kind of errors AT COMPILE TIME, making these kind of libraries redundant... but Go is so simple "you don't need all that" because sophisticated type systems "are just too hard", just do it all at runtime instead...

comment 8y ago · link · parent

> I've used Flow in 2016 and getting it to work on code editors was a huge pain.

Typescript also has support for js-doc style type declarations, at a basic level, IMHO it's less painful to use than Flow. Does Flow even has a compiler that doesn't rely on OCaml?

https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...

comment 8y ago · link · parent

I actually use JSX without React thanks to Typescript, I wrote an HTML builder myself (anybody can write one, it's easy) and it's quite handy since I don't have to rely on any framework/view library anymore.

13.

Six Months at Riot Games(meagan-marie.tumblr.com ↗)

320 points · by nostalgeek · 8y ago · 248 comments

comment 8y ago · link · parent

Because it has a generous free tier, that's it. As soon as one does really heavy work with these systems cost start to get extremely high. There is nothing new with this, it's just worker queues, with a warm up/ shut down AND extreme vendor lock in when it comes to services you can query from lambda.

https://medium.com/@amiram_26122/the-hidden-costs-of-serverl...

https://cloudncode.blog/2018/03/22/is-aws-lambda-expensive-t...

comment 8y ago · link · parent

> Clearly the system you advocate is an abject failure at preventing crime, maybe it's time to open yourself up to new processes? It literally can't get much worse.

I advocated for nothing, if you read my message I'm not saying one system is better than the other. I'm just saying adopting the nordic model isn't going to work with a society with such a level of violence like the USA.

> People don't want to be criminals, they want to live, but they don't all know how.

Plenty of people want to make money the easiest way possible, and if it involves committing crimes like murdering people they'll do that. You are assuming everybody is like you and follow basic humanism. Well some don't.

comment 8y ago · link · parent

> [citation needed]

Norway doesn't have a network of violent gangs sitting in their prisons.

> I'm not sure you can call the Canadian

Canada is mostly on the path to copy US when it comes to gang violence.

comment 8y ago · link · parent

> The US prison system and the harsh police also contribute to violence, people are more violent because you are violent with them, it works as a feedback loop.

chicken and egg problem. I don't think US society was ever "not violent". It isn't more violent today than it was in the 80's at least.

comment 8y ago · link · parent

> There other countries where incarceration works, for example Norway [1]

The Nordic model works in Norway because of Norway's society and culture. It wouldn't work in US, or South Africa or El Salvador because of what level of violence is deemed acceptable in those countries.

You can try to transpose the Nordic model in US all you want it is not going to work because these are different societies bound by different civil contracts and cultures.

Plenty of societies and countries have a prison system that doesn't focus on rehabilitation,at all, yet the level of violence is still inferior to US by a long shot.

comment 8y ago · link · parent

I disagree, facts do exist, the truth has always been a valuable asset for the ones who knows it. This is what most modern journalists or glorified bloggers don't get.

comment 8y ago · link · parent

Who decides what Junk is? who guards the guardians?

comment 8y ago · link · parent

No, i'm not smart, I'm just not ignorant. Learning Django isn't going to make you learn HTTP spec for instance, you know what i'm saying? the same way, learning Angular OR Vue.js will not make you understand how event bubbling or event delegation works. plenty of "full stack" front-end developers out there who know nothing about the DOM.
1234567