Recent submissions

Comment · 10 years ago
I usually use jq to understand the structure of the file. `keys` will get you all the key names in an object; `with_entries(.value |= type)` will replace each element on an object with its type. You can quickly delve into a JSON and gain some understanding of it with jq.
Comment · 10 years ago
With words that have meanings? To the layperson, "data center" and "supercomputers" translates to "tech stuff".

"AWS is a service by Amazon that runs software for you in computers connected to the internet" is still inaccurate, but has a meaning for the layperson other than "tech buzzwords with superlatives".

Comment · 10 years ago
It definitely has to do with low salaries: by Spanish standards, I'd say that's a good job offer. Sure, the range advertised is too broad to be useful, but at least there is one; a good one, too, considering that most tech jobs here are on the 18-30k range.
Comment · 10 years ago
That doesn't directly translate to a color requirement in the font, though.
Comment · 10 years ago
This is about icon fonts and font rendering and has nothing to do with Unicode. Code points don't have colour; there's no colour requirements anywhere in the spec.

Your fonts don't have to support the entirety of Unicode. That's why we have font stacks and fallbacks.

Comment · 10 years ago
The crucial point is that XSS vulnerabilities are an application level issue. If you have an XSS vulnerability, your application is broken. Good development practices prevent XSS vulnerabilities.

Your application does not have a CSRF vulnerability; HTTP cookies have a CSRF vulnerability. Your application may depend on HTTP cookies, which exposes this vulnerability through your application. The so-called "CSRF protection" is a hack that patches a protocol vulnerability at the application level.

Comment · 10 years ago
Working touch screens are useless without usable touch UIs.
Comment · 10 years ago
The git support is a big deal. I loathe SourceTree and the like, but VSC is basically a better `git add -p` for me.
Comment · 10 years ago
Well, for one, they make about 50% of full measures, give or take.
Comment · 10 years ago
So, if they aren't willing to go through whatever random whiteboard bullshit you decide is due, then they can't join your company? Sounds like you're doing them a favor, not the other way around...
Comment · 10 years ago
> It's like discussing guns with people who will never use them.

You mean that it also creates a toxic culture which disproportionally hurts poor people and minorities? Agreed!

> lotteries are great sources of revenue (better than state corporate income taxes? Holy cow!)

They're only so because the US has this inmensely powerful anti-tax culture and lobbies. Plus, lotteries take money from the poor, which means they're aggravating the very problems we use taxes to solve.

> they are low-health-risk (someone may need treatment for gambling addiction but it never hurts their lungs or livers)

Mental health issues are health issues. Gambling addiction is not a low health risk.

> Just don't come crying to me when the state comes for your income and property taxes to make up the difference...

They should! They should come for my income and for my property taxes, and even more so for the income and property taxes of those who are richer than me. Taking money from the poor to fund the services that poor people need is obviously counter-productive.

Comment · 10 years ago
> Few politicians would dare campaign to reduce an established benefit.

Right, because it's not like there's any US party that campaigns against government spending, food stamps and universal health care...

Comment · 10 years ago
Comment · 10 years ago
That doesn't even make sense.
Comment · 10 years ago
Well, yes. Everything else I've mentioned is also dependant on cultural contexts that may vary dramatically over time. I surely hope Facebook hasn't won forever.

For what it's worth, I'm not a native English speaker.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton