HN user

ftvy

5 karma
Posts0
Comments32
View on HN
No posts found.

A private citizen enjoys the right to self-defense, and in cases where killing the assailant is the only means to end the fight and preserve one's life, that is generally held as justifiable. Law enforcement officers enjoy the same right.

There are internal investigations every time a police officer discharges their weapon. They don't enjoy immunity against any crime they commit. If there is no evidence of a crime, then there cannot be any criminal charges.

From what I've seen of comedians, they don't appreciate someone talking throughout their set. It is distracting, and it is also insulting to them. (They are paid to perform, and they want to perform.)

With that said, some handle it with grace, and some not.

UTF-8 Everywhere 6 years ago

When I wrote a very primitive UTF-8 library, I really began to appreciate UTF-8's design. For example; the first byte says how many bytes the character requires. At first it was daunting, but when I put 2 and 2 together, it really opened up.

I am sure there are many aspects I am missing about UTF-8, but it is all reasonable in its design and implementation.

For reference, I was converting between code points and actual bytes, and also implemented strlen and strcmp (which for the latter the standard library apparently handles fine).

If it's not legal, it has to be removed anyway!

Isn't that the original intent of section 230? Because these websites couldn't possibly moderate all possible user submissions for illegal content, that when illegal content is discovered that liability is held with the user and not the website hosting it?

You could say the same thing about airlines, but no one is arguing about whether airlines are a necessary component of the economy.

I don't support a bailout for cruise lines, but I also don't support a bailout for airlines or any industry.

This pandemic crisis is being exploited on all fronts, and the first thing that everyone is going for is money. There is a lot of FUD being spread around as cause to bailout special interests, and that's a short term solution for a long term problem. It will only make things worse and more difficult in the end to correct the current problems at hand.

The focus shouldn't be on where to be spending money right now. The focus should be on developing proper procedures that at best prevents the next pandemic or at worst controls and minimizes its effect.

The animation compression system really stood out to me as well. It seems back when hardware was the limitation, people had to be literal geniuses to develop games. Now with so much middleware and so many pre-cooked engines available, people are left less with the challenge of accomplishing the technicals and more on creating an enveloping story and challenging gameplay mechanics.

At that time, FOX was egregious about copyright claim to anything. They worked to take anything offline that was not official, hence licensed. I remember going to fan sites back then. One day they'd be up; the next, they'd 404.

Not sure if much has changed.

what's the deal with showing an advertisement for the same result that's number one?

They paid for the ad. They probably leave it up as first organic results because some people think clicking ads is malignant.

It's an observation, not a statement of fact.

large-scale issues

Oh, so since this is an isolated phenomenon that it is your preference to ignore this as evidence for your cause because it doesn't meet your criteria. That's not science either.

This sort of speculation harms the argument for climate change more than it helps it.

What? Do you get mad at people for saying "it looks like rain"?

This exchange was an enjoyable read. C was designed for portability because they had those PSP computers or whatever they were but the problem is that each had its own unique architecture, switch arrangement for operation and maybe even endianess. I don't know. The whole point of the matter was to make a computer language portable enough by a person's desire to write a compiler for the architecture. Why people do not like that I can not comprehend.

I think in other words what you say is that the C standard defines sizeof(char) = 1; so that 1 is one byte and that char must be one byte however different architectures can have an addressable space of a size different than 8 bits, 1 byte is not always 8 bits.

This might be why the code space alphabet is defined by the standard so it will at least put an emphasis on 8 bits == 1 byte.

I have seen this happen with pointers on the x86_64 arch and the comparison operator where they appear to be the same value in the lower 4 bytes but the upper 4 bytes are different.

I am not exactly certain, but what I think happens is that when you define your charType variable that the upper bytes in the word are still the same random data, so when you multiply without casting, it is treating the char as an int and multiplying the whole 4 bytes. When you cast, it probably just multiplies the lowest byte and carries if necessary. I am also not certain if the compiler would optimize to using a shift operation if one operand is a multiple of 2.

Again, not exactly certain if this is the case, but it's similar to what I've noticed.

They've been slacking in development, both software and hardware. Look at the MacBook keyboard problem, or all of the security exploits like pressing Enter numerously to escalate to root privileges.

You don't get these kinds of problems when you aren't trying to mass produce cyclical consumption.