Hacker Newsnew | past | comments | ask | show | jobs | submit | Bimos's commentslogin

I thought a flag is 1 bit

> I thought a flag is 1 bit

Well you see, it has to implement IStateful and IBooleanExpression, and both of those involve virtual methods so you have a vtbl pointer as well.

So that's 64+1 bits right there.

Then you also have the address-alignment requirements for that vtbl pointer, so practically speaking were talking 128 bits.

Or 80 bits of you're rolling dirty and say "screw it" to that alignment assumption.

Now if your on x86-64 and want to smuggle that bit value into the unused part of that "64" bit vtbl pointer, you could probably bring it down to just 64 bits overall I guess. Well probably want to let the compiler know about that though, before anyone tries actually using that vtbl pointer.

But, if we also need to make this accessible to Python, then...


You need at least two bits to represent the states true, false and file_not_found.

As a Chinese, I would say most public toilet I came across are cleaner then the toliet in my home... Before 2015, I was young, a bit shy and hated dirty toilets so I rarely go to toilet outside. (Also at that time I lived with my father and he kept our toilet really clean. <3) When I was like 8 years old (at 2000s) or younger, I once pee in my pants at school because I really didn't want to go to the toilet in the school... I think that is the last time I pee-ed myself.

So I would say it did work.

But TBO I moved to Shanghai after university which is generally richer than my hometown so I'm not sure about the condition in my hometown nowadays.


> Red means Rear, and white means front

And yellow means sides then? Make sense to me.


Never see this in China and didn't know it exists before.


*Practice talking like Claude so that I can eventually let Claude reply my messages and no one feel strange


Chinese native speaker here. On Zhihu (known as Chinese Quora), I feel like every piece of answers are AI-generated nowadays. Although before LLM time, maybe 90% of content there are also meaningless. There must be some false positives, but I'm just becoming uncomfortable with those AI-like tones like "not.. but.." or something. I'm getting persecutory delusion on it.


I found it really insightful (and always overlooked) to distinguish between vector and co-vector spaces. It doesn't necessarily produce new knowledge, but makes things more clear.


Yeah - otherwise it’s bizarre to have row vectors and column vectors.


To me it doesn't seem wrong to call covectors "row vectors", but one shouldn't simply convert them to each other with no good reason.


You don't place the bombs, but still find the bombs. And you still explore by finding x.


I'm super confused. In your example, ++i is equivalent to (i+1) and the loop updates i itself. But with the syntax in the blogpost, i is only initialized, and it is the ++i that updates the value?


Copy paste error, too late to update the comment, it should be a plain i.


Yes. You don’t sound that confused?


> If you do not have a social credit score, you will have to prepay a small deposit of 80¥.

It is acceptable if you guys are meaning that thing when mentioning "social credit score"..


They came up with a Chinese name for you :)

柯亦安 Ke Yi'an. The given name "亦安" roughly means "also safe", it is a beautiful name.


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

Search: