HN user

Liru

329 karma
Posts0
Comments62
View on HN
No posts found.

I had to reread this comment multiple times since I felt that I had a fundamental failure of reading comprehension somewhere along the line.

The problem statement says "find the record" but all the answers are about printing the median age.

So answer to the question posed? None of the above.

The problem statement does not say "find the record". The problem statement says, fully quoted:

Rank the responses in the order of their relative concern with programming considerations, economic considerations, or other important considerations. If you were the programmer, which approach would you prefer? If you were Mary Jones, which approach would you prefer?

I actually believe it's referring to Assassin's Creed 2. It had to check in with the central server to see if a legitimate copy was being played, and the way it was cracked was basically going through every possibility where the check can fire off, recording the request/response, and having the cracked version play back the appropriate response to the request. It basically had to be exhaustively played to get to a point where all the request/response combinations got recorded.

They're colour themes. Mozilla's celebrating the fact that you can change Firefox's colour theme while trying to spin it as something super unique.

we chose “Colorways” rather than “themes” to show we are branching out from our language of “browser” to speak the language of everyday life and everyday users.

Basically, fashion-industry word salad, but for the tech industry! Hooray!

Board states, yes, but in a game of tic-tac-toe, placement order matters as well. There are a total of 9! (362880) possible (but not necessarily valid) game states. With such a low number, it's not hard to brute force the correct answer. Someone more well-versed in combinatorics could probably do it in a more efficient way.

Since I didn't see it mentioned here among the mentions of satire, and I found the problem interesting...

The number of valid tic-tac-toe games is 255168.

People's attention spans are ridiculously short. If the person is actively looking for the content, sure, that obviously won't work. However, if it's a more casual browser, then going to a site that takes a long time to load between different pages is definitely a way to get them to not visit it any more. This even works on tech-savvy people, as opposed to just blocking a site which will just get them to use a proxy.

Is that a thing countries do, like if they want to "punish" a site while retaining plausible deniability?

China and Russia do this with a lot of western sites, from what I've heard.

My most popular project on Github is currently a program I slapped together in Go a long time ago. The `sync/atomic` issue mentioned at the end of the article is THE issue that made me stop considering Go for anything other than trivial things. Lack of decent error handling, a terrible builtin json library, constant `interface{}` to poorly substitute for generics, the package management issues that made Node.js look well-thought-out by comparison, struct field tags, and generators provided by the core team that set off linters provided by the core team with no good way to silence them kind of piled on before that, but the `atomic` issue is the one that made me avoid it. The author is right, all the little things add up.

Note that a bunch of these may have been fixed since I last used it, but honestly, I haven't checked because it was frustrating working in it and debugging it. It's a shame, `pprof` and the race detector are pretty cool.

This is in contrast to google where searches return things that don't even contain your keywords.

This has become so frustrating as of late, especially when you search for something like "c++ map" and it decides to completely ignore the "c++" part of your search, leaving you with pages of actual maps. Slightly exaggerated example since I can't remember any concrete ones off the top of my head, but the actual situation happens way too often.

So far, just for Windows, I've had ads:

  1. On the lockscreen
  2. In my start menu's tilebar
  3. In my start menu's search results
  4. In my start menu's program list
  5. In Explorer, for OneDrive
  6. In Edge, on a "blank" page
  7. In toast notifications
And that's just what I remember offhand; I'm certain there's even more.

Are users expected to install and find out?

When I was looking into switching from Gogs to Gitea, that is exactly what they expected you to do. I recall there being an issue saying that they won't compare the two because it's hard to keep up-to-date.

Which is a stupid excuse, considering it's supposed to be a community-based fork instead of run by one person.

Okay, I understand the reasoning for most of these choices, but what kind of barbarian argues that a tab should be 3 spaces?