HN user

slapresta

218 karma
Posts0
Comments94
View on HN
No posts found.

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.

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".

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.

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.

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.

The git support is a big deal. I loathe SourceTree and the like, but VSC is basically a better `git add -p` for me.

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.

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.

Code collaboration tools have a strong network effect due to them being ultimately social tools, and we expect categories affected by the network effect to have winner/losers mechanics. Of course, they don't actually have to, but it's a common expectation and a common outcome.

For equivalents to "code collaboration tools", instead of "programming languages", "text editors" and "build tools", try "social networks" (Facebook won, MySpace lost), "network protocols" (HTTP won, FTP and Gopher lost) or "spoken languages" (English won)

While I understand the sentiment, this conflates up-front design with compile-time safety, and opposes the latter to "quick, spontaneous changes". However, I feel that my iteration loop gets tighter thanks to compile-time safety, since I don't even have to run my application and test it to find most of its errors.

Sure, because a coin is evaluated on its capacity to map to an even distribution of outcomes. Drug possessions, however, are almost surely not an even distribution. If, say, 95% of the people that the dog evaluates have drugs, then raising an alarm 93% of the time is probably pretty good.

In other words: If we wanted a drug dog to be as close as possible to a coin flip, we'd just flip a coin instead.

A little Golang way 11 years ago

No, I don't buy that a code formatting tool obviates the need for design patterns. How does gofmt replace the Visitor pattern (just to pick one at random from the GoF)?

Asking if a code formatting tool "obviates the need for design patterns" is the wrong question, because it assumes that there is a need for design patterns in the first place.

I do agree with you that a code formatting tool is not capable of somehow fixing software design and architecture decisions. However, "design patterns" by their GoF meaning exist as to address shortcomings of the languages and tools used: most of their advice does not make sense as soon as you move away from Java into less object-oriented or less procedural languages. To talk about "the need for design patterns" as if they are some sort of mathematical truth is misleading and dangerous.

So, yes, I would argue that Go does not need the Visitor pattern (and so would Rob Pike [https://groups.google.com/forum/#!msg/golang-nuts/3fOIZ1VLn1...] ), code formatting tool notwithstanding.

The whole part about being "hacked" is hilarious. It seems way more plausible that Skype internally uses fonts with special glyphs for its icons, and that when it couldn't find them for whatever reason, it defaulted to the next font on the font stack, which had Chinese characters on the codepoints where those glyphs were expected to be.

You make a really nice argument here. I would just like to clarify why I don't consider misogynist movements subcultures: it is, essentially, for the same reason I wouldn't consider pop music or the Java community as "subcultures".

If, using the article's terms, the sociopaths have already exploited its potential for financial benefit to its maximum extent, and if this expression of culture is the dominant, normative expression of culture for its cultural domain, then it is not a subculture, even when you put a new, fancy name on top.

the Red Pill movement , PUA, MGTOW, manosphere, men's rights as new movements/subcultures

I would have a hard time qualifying re-brandings of misogyny as subcultures. Misogyny is traditional, normative and reactionary; subcultures are non-normative by definition.