HackerTrans
TopNewTrendsCommentsPastAskShowJobs

MaxGanzII

no profile record

comments

MaxGanzII
·قبل 4 سنوات·discuss
In my experience, all the major platforms eventually close all accounts.
MaxGanzII
·قبل 4 سنوات·discuss
> it’s just bad UX

"Bad" I would say means you can still achieve your task.

I was presented with over sixty download links, and not being an idiot or someone to be taken for a ride, I refused to go along with it, and that means the UI is not bad but failed.

What's more, it OBVIOUSLY failed.

There's no way a single person at Amazon could have genuinely sat there and thought, "yes, this, THIS is it, THIS is the right way to make this page", not, that is, if their goal was the user actually getting hold of their data.
MaxGanzII
·قبل 4 سنوات·discuss
MaxGanzII
·قبل 4 سنوات·discuss
Exactly the problem I had.

It would take Amazon almost no effort to make a single archive with all those files in.

I cannot help but view this as deliberate obstruction.
MaxGanzII
·قبل 4 سنوات·discuss
I've been trying for over two years to get my data from Amazon.

I eventually got to a point where Amazon provided a web-page, which has no less than sixty-two download links on, each of which would have to be manually operated.

It's properly tantamount to obstruction.

After finally reaching this point, Support were arrogant and high-handed - "We will not do any more than we have. We look forward to seeing you on Amazon in the future."

I still do not have my data.

I tried to start the process off a second time, but it went nowhere. I chased it, and then had some very disconnected and confusing responsese from Support (email from some random guy in Support who by the looks of it had been told to email me, but neither he had been told what for, nor I that it would happen).

I've not spent more time on it since then.

I stopped using Amazon about two years ago, because I've come to the view that the stories about how Amazon treats warehouse staff are accurate.

I want to get my personal data, so I can close the account.

Amazon of course refuse point blank (in the usual, slimey, support-talking-past-you way) to delete any personal data, so all you can do is delete the account and hope in the end Amazon expire the data.
MaxGanzII
·قبل 4 سنوات·discuss
Seemed okay to me with regard to caveats.

Performance issues -> it's lock-free and scales profoundly better than non-lock-free.
MaxGanzII
·قبل 4 سنوات·discuss
> So all operations on _Atomic variables in C11 are implicitly atomic

I may be wrong, but I would be shocked if this was so.

I think you may be mixing up non-tearing writes as opposed to atomic writes, which are performed using either cache-line locking (Intel) or exclusive reservation granules (everyone else) and as such require the employment of a specific mechanism to achieve (typically a macro or function, which leads to the use of the particular special instructions for atomic writes).

The overhead of an atomic write is very large, and it is often not needed. It would make no sense for every write (to an _Atomic type) to be atomic.
MaxGanzII
·قبل 4 سنوات·discuss
An atomic write will need to be issued, and on the face of it, that C11 code is not issuing an atomic write. I could be wrong, but I would expect a particular function or macro to be used for an atomic write, and when it is not, you have normal writes.
MaxGanzII
·قبل 4 سنوات·discuss
> So yes, that "++*barrier" operation is read-modify-write atomically AND with memory-barriers in sequential-consistency style

The quoted material does not describe this assertion.
MaxGanzII
·قبل 4 سنوات·discuss
Lock-free garbage collection exists and there's quite a body of literature.
MaxGanzII
·قبل 4 سنوات·discuss
You can produce this behaviour. Look for MCAS, from Cambridge Uni.

It never took off. I think it didn't scale.
MaxGanzII
·قبل 4 سنوات·discuss
You're talking here about memory barriers, but I was asking if atomic writes are in use.

Atomic writes have nothing to do with memory barriers. On modern platforms atomic writes are available without memory barriers of any kind.

Memory barriers do not cause events to become visible.

Only atomic writes do this; and so the question is not whether barriers are in use due to _Atomic, but whether atomic writes are in use due to the use of _Atomic.
MaxGanzII
·قبل 4 سنوات·discuss
> The fact that another thread sees the incremented value implies that that thread will see all stores that happened-before that incremented value.

Firstly, if the writer has used no barriers, writes can emerge in any order (and may never emerge at all, anyway, even if barriers were used). Secondly, if the reader has not used barriers, then even if writes have been written in some given order, the reader will by no means observe that order.

> A fence or atomic operation guarantee that a store will be visible globally in a finite amount of time

A fence does NOT guarantee this. A fence controls and only only controls order of events. It has NO influence on whether events actually emerge. An atomic operation does, but this only solves the write-side of the problem; the reader still needs to issue a read barrier to guarantee seeing atomically written values.
MaxGanzII
·قبل 4 سنوات·discuss
> They're using atomic read/writes with sequential-consistency.

In the C11 code? I'm not up to speed with that version of the spec, but unless there is behaviour invoked by the use of _Atomic, the code looks to me to be performing normal, non-atomic read/writes.

Another reply says there are full barriers being automatically used, but that doesn't address the problem I've described.
MaxGanzII
·قبل 4 سنوات·discuss
A barrier, of any kind, makes no difference here.

Barriers only influence the order in which events become visible if and when they DO become visible.

Barriers say nothing about whether or not events actually do become visible; and it may be that they never do (if the necessary magic is not performed, etc).

You mention an atomic increment. I don't see atomic increments this in the C11 code, but I'm not up to speed with that version of the specification.

(Note that an atomic increment will solve the write-side problem, but not the read-side problem. The reader must still use a read barrier; but if there's an implicit full barrier, then that's being done.)
MaxGanzII
·قبل 4 سنوات·discuss
I may be wrong, but I don't see this working in theory.

The basic problem is that for any physical core, there is no guarantee that any writes will ever be seen by any other core (unless the necessary extra magic is done to make this so).

(There's a matching problem when reading, too, in that in theory writes made by another core can be never seen by the reading core, even if they have reached the domain covered by cache coherency, unless the necessary extra magic, etc.)

So here with this code, in theory, the writes being made simply are never seen by another core, and so it doesn't work.

As it is, in practise, writes typically make their way to other physical cores in a reasonably short time, whether or not the extra magic is performed; but this is not guaranteed. Also of course the ordering of the emergence of those writes is not guaranteed (although on some platforms, additional guarantees are provided - Intel is particular generous in this regard, and performance suffers because of it).
MaxGanzII
·قبل 4 سنوات·discuss
> Smith certainly envisioned a significant role for government

No, he did not.

Quote me anything in WoN where he says this should happen.

He writes about where it does happen, but that's all; he describes the situation. That's all.
MaxGanzII
·قبل 4 سنوات·discuss
Neither of which is Smith asserting rents are parasitic.

He describes economics; others put opinions into his words.
MaxGanzII
·قبل 4 سنوات·discuss
Wikpedia can write what it likes; to my eye that's empty prose.
MaxGanzII
·قبل 4 سنوات·discuss
> even called parasitic

I do not recall this from WoN.

Quote please.