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

write with release semantic cannot be reordered with any other writes, dependent or not.

Relaxed atomic writes can be reordered in any way.


> write with release semantic cannot be reordered with any other writes, dependent or not.

To quibble a little bit: later program-order writes CAN be reordered before release writes. But earlier program-order writes may not be reordered after release writes.

> Relaxed atomic writes can be reordered in any way.

To quibble a little bit: they can't be reordered with other operations on the same variable.


Yep, you are right, more precise, and precision is very important in this topic.

I stand corrected.


JVM has almost the same (C++ memory model was modeled after JVM one, with some subtle fixes).

I think, in case of e-Ink photo is much more informative, as screenshot takes data from frame buffer and didn't take screen technology in account.

:P lol indeed a screeshot would be full color

Perhaps I can place the monitor on my scanner and take a “screenshot” that way xD

Re: refresh rates I can’t find a good stat with a brief googling but it’s a Boox Mira, E Ink VB3300-NCD

You can tolerably watch video so somewhere north of 20fps but there’s ghosting. A friendly button on the front of the display is there to do a hard refresh if the artifacts build up too much. But yes I should do a comparison on how different desktop environments do, with animations turned off etc, scrolling that jumps line by line like vim or eMacs will work better than smooth scrolling for instance.


I've tried smartphone with e-Ink (mostly for motorcycle and hiking navigation, not as daily driver) and know this problem — it is impossible to share this experience via screenshots or screen recordings :)

There is no "Linux/ARM[64]". But there are "Raspberry Pi" and "RISC-V". I don't know such OSes, to be honest :-)

This support table is complete mess. And saying "most platforms are supported" is too optimistic or even cocky.


It is good that you was addicted to game ;-)

Conclusions in article are strange.

1) 1.8⁰C on body is very big difference, it is like difference between person who is slightly warm and one who barely can move because of cold. It is huge.

2) Tone like «we are victims of marketing, we can use simple equipment instead of high-tech one» is in same article as «Custom boots for Mallory were been developed for many month». Yep, very simple equipment, of course.


exiftool uses this method (among others) for many years. I'm surprised nobody mentioned this.

Yes, there are a few tools that do this. Looking at /bin and the softlinks that are there, the various xz tools do it (unxz, lzcat, etc.). Also, vim. vimdiff and view are just softlinks to vim.

The only difference is that those tools have chosen easy to remember names rather than embedding the arguments as metadata in the filename.

As a generalisation of the idea though, the blog post is neat.


exiftool can embed options to executable name, not only main mode of work like grep/egrep/zgrep — it is main difference. Like running `exiftoo(-k)` is equivalent `exiftool -k`.

In that case I misunderstood.

It's an interesting idea. I think I prefer the exiftool syntax over what's suggested in the blog. Thanks for bringing it to my attention.


Cars? Airplanes? Motorcycles? Child birth? Life itself? Nothing could be done 100% safely and 100% without harm. Obsession with safety is what helps governments become totalitarian even in traditionally-democratic countries. Obsession with safety is the reason terrorists win.

Edit: Personally I think betting on war is immoral and should be condemned by all sane people, but saying that everything needs 100% safety and 100% no harm is very naive.


The items you've listed are all quite safe and palatable in their harm when contrasted with the benefits they bring. I'm not seeing the same picture when looking at polymarket - I don't see the great gain we're accomplishing as a society in exchange for an addicting platform that breeds organized crime. Some inventions are just plain dangerous and a bad idea.

And I want (wanted) both. And X11 cannot redirect whole display server until you start your session with some Xnest or other semi-standard middleware (nx?).

It is very convenient sometimes to access your locked session on big desktop from small laptop, do something, and later go to big desktop physically and unlock "local" termianl and continue with all same programs and windows without starting new session. This scenario were not supported by X11 very well, unfortunately.


> The idea of risc was to put the intelligence in the compiler though, not the silicon.

Itanium did this mistake. Sure, compilers are much better now, but still dynamic scheduling beats static one for real-world tasks. You can (almost perfectly) statically schedule matrix multiplication but not UI or 3D game.

Even GPUs have some amount of dynamic scheduling now.


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

Search: