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

"For extreme performance, we discover and use a behavior-out-of-doc PTX instruction: ld.global.nc.L1::no_allocate.L2::256B. This instruction will lead to an undefined behavior: accessing volatile GPU memory with non-coherent read-only PTX modifiers .nc. But the correctness is tested to be guaranteed with .L1::no_allocate on Hopper architectures, and performance will be much better. If you find kernels not working on some other platforms, you may add DISABLE_AGGRESSIVE_PTX_INSTRS=1 to setup.py and disable this, or file an issue."


So non-coherent refers to bypassing cache coherency, ie don't care about what other units might have written to that address? And the L1/L2 modifiers are to avoid L1 thrashing, keeping the value in L2 only?

Or did I get that wrong?


My understanding of the L2 part is that it asks for a 256b pre-fetch (only available on some platforms it seems) but they use vectors of 4 32bits signed ints max so not sure why only the 256 would work or if the fact that it did fetch the next 128 helps.


Yeah that's about right


In the introduction of the paper it says: "Despite its excellent performance, DeepSeek-V3 requires only 2.788M H800 GPU hours for its full training. In addition, its training process is remarkably stable. Throughout the entire training process, we did not experience any irrecoverable loss spikes or perform any rollbacks." They have indeed a very strong infra team.


Do we have two completely different definitions of “infrastructure”?



Sinovac is effective to omicron but only with the third booster. In contrast, Pfizer is almost as effective as sinovac with merely two shots in preventing the COVID. So the problem there first is not why they don't import Pfizer, it is why they do not even have sinovac booster.

The answer here is simple: the government do not enforce anybody to get vaccinated. No one. If you missed a corona test at 7am you might be grounded for the rest of week, but if you don't get any vaccine nobody cares. I got two shots of Pfizer not recorded in China, and no one comes to my place like when they want to test you.

Plus there are sporadic side symptoms getting a shot, like arm sore and allergy, some even last to now. Plus plus, for most of people they don't see virus around. So the incentive is zero.

You probably don't have to right to travel freely, but you have the right to not get an injection in China. FWIW.


> You probably don't have to right to travel freely, but you have the right to not get an injection in China. FWIW.

It sounds like you're either Chinese, or have close ties there.

For context, I live in the Southern US. I've not been vaccinated due to a medical concern that's shared with my doctor. My normal doctor is aggressively anti-COVID-vaccine, so I got a second opinion just in case, and concluded that while it probably wouldn't hurt me significantly... there is a chance of side effects that is within an order of magnitude of the chance that I will eventually develop a very severe case of COVID. I've already had COVID once - almost certainly the Delta variant - so the chances of my developing a severe case are very low anyhow.

I'm able to travel freely, and until very recently no one around me has any idea whether or not I've been vaccinated. The only change to that is that I'm taking a trip across the country for work in the next couple of months, and I had to get a doctor's note for my employer to release them of liability should I catch COVID and die as a result of that trip.

In short, I don't see this as a choice between being able to travel freely or being forced to take the vaccine. It's more nuanced than that.


I completely agree with the point you made, as in the choice is much more nuanced, and you do not have to guess my position by the punchline. I never thought of US, in fact I do not know the vaccine policy there. If I was thinking some country while I wrote the comments that would be EU from 2021, when people have to endured some months of inconvenience for not taking any shot. I know some anti-vaxxers even bought virus from other country so that they did not need the vax pass.


Ok I now recall some counterpoints I only heard from my family. In the local community, community workers do visit the seniors to sell off vaccines. So that indeed prove the government did not forget this part. But they certainly not enforce it. To think in other ways, if they should enforced it, maybe it will be even an earlier disaster.


I could provide maybe another data point there. I lived at a village in a east province for some months and has just left. People are living their normal life, albeit ofc a slightest bit of concern to Corona. But people are more worried that they could not make money now and in near future than having the virus. They are not fearful of starving either, not like people living in the city, farms and fields are everywhere. In the worst time when the town has one or two cases, some are restricted from leaving the county and has to do corona test once for every a while. Some roads are blocked. That is all. But I have heard some worse cases recently, where the cases stays high.

Agricultural population accounts for almost a third of the whole population in China.

To quote an old proverb in Chinese: when there is small turbulance, stay in the city; when there is a big riot, live in your hood.


Seems very similar to 2020 Europe (at least Spain)


Yeah, it is like the summer that year in EU. In summer EU still has tens of cases per day, but it was a quite small number in retrospective angle.


Similar website: https://carbon.now.sh/ . They probably have more themes but I like this conciseness.


Carbon is awesome, works offline, and can be integrated with any decent editor, so you can just select code and press a keybind to get the image on your clipboard.


I didn't know there's an editor integration to Carbon. Is there a specific extension for VScode?



thank you!



I like Carbon, the option of creating new themes and saving snippets. Is the project still alive? I got a message from Open Collective [0] saying they stopped accepting donations.

[0] https://opencollective.com/carbon-app


Blink the cursor at the end or highlight the text area sound reasonable to me


Trying to get an input to autofocus with any reliability in browsers is the third hardest problem in computer science.


You can make an (obviously) fake blinking cursor at the end possibly with a label showing that it's editable.


Fake the cursor if needed


How do you make a fake cursor that works? When you click anywhere within the text, how do you know where to position the fake-cursor then? If you use arrow-keys it should move the cursor left and right and up and down respecting the line- and character boundaries.

One of the shortcomings of HTML/CSS seems to be that you can not style the cursor a.k.a caret.


My guess is they will send a code to your registered address, which is a must if you live in the Netherlands. I just lost my phone and retrieved my DigiID through this way.


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

Search: