For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more 7steps2much's commentsregister

MDN[0] says:

> Glyphs are taken from the default user interface font on a given platform. Because typographic traditions vary widely across the world, this generic is provided for typefaces that don't map cleanly into the other generics.

So it might have been used to make the snippet "truly" universal for the developer using it. That said, I believe it would be better to choose the font family based on the content.

Even if a viewer is from a place where Serif/San-Serif/etc. doesn't make sense, they are still viewing the same content as anyone else.

[0]: https://developer.mozilla.org/en-US/docs/Web/CSS/font-family


I still don't get it. You don't know what users select as UI font, how can it be universal? On the other hand, you do know what font they like for text, but decide to ignore it and serve them text rendered in what they selected for buttons!


At least for the verifying that an email is original I agree with the other poster, DKIM exists for that purpose, to sign emails while in transit.

As for changed messages while synching, do your messages change after delivery? If not, a simple delivered after X would be sufficient.


Yes messages can change after syncing. Using mbsync for example, if you change the contents of an email locally, there are no ways to detect the change. I guess the preferred solution may be to do a more generic sync directly from the mail server and bypass IMAP entirely.. not possible with most email providers like Gmail, Microsoft, etc. Hopeful to setup my own email server someday.


Yes, it's one of the classic trade-offs, comfort vs security.


Depending on where you are located you might want to check if your cameras offer a "black out" function. The camera essentially censors all public space with black bars.

That said, as far as I remember legality of this approach was "undecided" in a few places


I purchased one with the feature, dumb part is, it's a PTZ camera and the blackout part moves with the PTZ...


True, but if you are talking about video games in particular you could just build a sin/cos function with different parameters into the game engine.

have a `sin(x)` where the unit of x is radiants and a `sin_turn(x)` where x is expressed in turns.

Video games especially are a great situation to do it like this because they often use a framework (game engine) that was specifically created for this purpose.


Yes, this is the topic of the fine article and the point that is being made. Ideally both of the multiplies (one in the user code to multiply by pi and another in the engine code to divide by pi) can be omitted.


> The project started off as a pure Windows project, according to the motto "Biggest bang for the buck", there are just too many Windows users. However, we're now also shipping Linux binaries, there are packages for Arch Linux and a Flatpak. In April of 2022 we've added a Mac build.

Taken from the FAQ site


> Rather like ISP's today aren't responsible for the web pages they deliver - the HTTPS encryption means they couldn't scan or block them even if they wanted to.

ISP's can be required to in fact not deliver certain webpages, usually for copyright reasons. If Telegram redesigns its system like you suggested the courts may just shift to:

Do not broadcast, transmit or make available the channel with the ID XYZ. The channel might not be deleted of course, but if it's no longer accessible that would be essentially the same.


Austrian checking in, the problem with the "high income" logic is that most stuff offered over here is just pretty crappy.

The libraries of streaming services are tiny compared to international offerings and some don't even offer anything in Austria at all because it's a small market.

Pirating is still alive and well, not necessarily because people can't/don't want to afford the alternatives, but because they just aren't as convenient.


> I would reframe that as: "if you're ok with buffer overflow malware injection, then C is the language for you!" Nobody has yet figured out how to stop that.

Write manual bound checks and good code in general? Granted you won't be able to catch every vulnerability, but at some point other vectors are so much easier to exploit that you won't have to worry about these anymore.


Oh, of course! Just write good code! Well kiss my grits. I can't believe the solution has been sitting here staring me in the face all this time.

I promise I'll write good code from now on. Scout's honor.


Even John Carmack thinks "writing good code" is impossible: https://youtu.be/I845O57ZSy4?t=1351 ; p


> Write manual bound checks and good code in general?

40 years of C buffer overflows argues that doesn't work.


The real question is, does the US provide all the consular services to its citizens for free because of the taxation?

I know that a lot of other countries levy fees on their citizens for some services, especially those that are "nice to have" but not all that important.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You