HN user

kwizzt

50 karma
Posts2
Comments37
View on HN

I'm really looking forward to when SIMD support is released in later versions of Java. If anyone here follows handmade hero (by Casey), he explained SIMD in some of his videos when implementing the software renderer. The speedup from regular code to SIMD is very impressive. You essentially get speedup of 2x-3x or even more for free.

The downside is it makes the code much harder to read, so I think it should be applied only in very small sections of the code.

I’m not familiar with Durable Objects. When D1 does replication to read replicas, if it’s not doing synchronous replication, then it’s not strongly consistent, is that correct?

Nice project! I have been studying system design recently and read a lot about Dynamo, Cassandra, Kafka, etc. and I realized that they have much more in common than I thought. I'm mainly learning for system design interview, but I plan to do some implementation myself after getting a new job. So I might use this repo as a starting point! Thanks for the effort OP

I'd like to add my anecdote. I have been driving my Tesla for about 2 months now, and it definitely feels safer than the ICE cars I drove before. This is mainly due to more information given by the Tesla such as the distance between my car and other objects, and it also shows the lanes around the car so it's easier for me to keep a safe distance from other cars nearby.

I also tried the 'FSD' on freeways where it can navigate on autopilot. It's really feels amazing and takes a lot of burden of driving at high speed off of me.

However, recently I was going onto the acceleration ramp, and turned on navigate on autopilot, Tesla told me to confirm a lane change to the right, I did and it somehow didn't see a car to the right of me trying to change lane to its left. That would be to same spot I would have gone to. So I had to manually intervene and take control of the wheel myself.

Manual override isn't difficult at all though, and there are multiple ways to do it. It can be done through turning the wheel manually, toggle the right stick upwards, or hit the brake. So I think if you still pay attention (maybe not as much attention as driving a non-Tesla car) when driving a Tesla, it's going to be okay.

I always wonder how people come up with the designs for various ciphers. When I took crypto class in uni, it all seems like different math/bit/word operations get randomly mashed up and repeated for several rounds. Is there a good resource for learning how to design ciphers?

Edit: typo

I second this. I can't use over the ear ones because I'm wearing glasses. Then I got Bose qc20 and it's been working great for me so far. I can use it for a couple of hours without any major issue.

The only minor issues is that moist starts to accumulate in the ear after a while, which I guess isn't a big deal.

I appreciate your level-headed response.

To address your first point: are most people genuinely outraged? That I do not know tbh. I can only represent my own opinion. However, I have Chinese friends that have voices their discontent with the NBA and Hong Kong situation. That's all I can tell. For me personally, I'm against Hong Kong protest, but again, it's my own opinion.

About the news reports in China, ofc they are biased. Most if not all media are biased imo. But that doesn't mean you can't get information out of it. By getting your news from multiple sources and cross checking, you can be more confident in your judgement. By multiple sources I don't mean from CNN, Fox, etc., I mean sources from China, US, Europe and all other places. This again brings me to the language barrier point. It's hard for you to access the Chinese media without it being translated and presented to you, that I don't know how you can solve.

For the media being controlled by the government point, I'd like to agree on the Chinese part. The US media tho, while they seem to be saying what they want to say, sometimes it's not true. Case in point: https://youtu.be/yUGPIeE9kMc

About censoring, I'm not denying Chinese social media is heavily censored. However, I find the situation in western forums and social media are rather interesting. Whenever people post anything neutral/good about China, they get bashed and down voted to oblivion. People call them wumao/50 cents to ignore their opinions. Just my observations. Maybe there's a name for it, but I think it's a different form of censorship, but I could be wrong.

Again, I appreciate your response. I don't know why I'm getting down voted. Just because I hold a different view or something else?

Like you said, nobody is born with an opinion. Same questions you asked above can be asked of Americans. Democracy != Good and Communism != Bad

Things aren't as black and white as people make it out to be.

Now, I'll tell you I'm Chinese, but I've been in the US for almost ten years now. I've seen perspectives from both sides and the truth is far from what western media tells you. The unfortunate problem is the language barrier. Many people in English speaking countries cannot read Chinese, thus relying on "Chinese experts" for their opinions, without realizing many of the so-called experts themselves cannot speak Chinese.

I tell you that I don't support the Hong Kong protest, this is not posted on Weibo or any Chinese social media. This is my own feeling and judgement. It's sad I even need to make this disclaimer. Now you have this one data point from me as a Chinese citizen, if that's worth anything.

Do you think I'm censored by posting in HN? Do you believe I'm a wumao? I'm here speaking out of my own free will. I'm in the US and I don't agree with a lot of what CCP has done, but in terms on NBA and Hong Kong issues, I can see the reason why Chinese people feel differently from Americans, and I sometimes feel the same.

One man? If you are just trying to sound dramatic, sure. However, I'd urge that you go and actually read more about how CCP works and the actual reaction of Chinese people on Weibo and other Chinese social media. The reaction to NBA and Hong Kong is not merely the government's manipulation, tho I'm sure there are some being done.

When people see the news and make a judgement, it's often times the judgement the media want you to make. I'll give you another video about Hong Kong protesters for a different perspective: https://youtu.be/ZPYuGYLesx0

This video by no means represents all of the protesters, but I hope people here can see the same event from different angles.

Edit: fix typo

By no means is WeChat a shopping or payment monopoly. There's Taobao and Alipay by Alibaba. From what I know they are fairly even in terms of market share (payment). WeChat's shopping scene is mostly on a very small scale and personal level.

Twitter was down 7 years ago

How does the fact you worked at those companies relate to #4?

Edit: I misread the parent and my question doesn't make a lot of sense. Please ignore it :)

I don't quite understand this sentiment. Maybe it's because I or the company I worked for haven't experienced this kind of situation. Can you shed some light on what big corps like AWS, Google, MSFT did to other people?

I don't think the black money you proposed is very likely.

If I have several thousand dollars of black money, that's not much and no one cares.

OTOH, if you have a lot of black money, let's say in millions of dollars, buying a single iPhone doesn't really help at all. Yet buying a bunch of iPhone's seems to be very inconvenient unless you are selling them to someone else.

Status symbol was more likely 5 or 10 years back. Nowadays not a lot of people actually care about what phones you are using (at least the ones I know, potential selection bias there).

My guess is that people simply don't care about having an iPhone vs an Android anymore. Especially so when Android phones don't suck or can be better than iPhone now.