Better HN
topnewbestaskshowjobs
Log inSign up

Strs2FillMyDrms

28 karma · joined Jan 6, 2021 (5y ago) · 37 submissions

Submissions

comment 1y ago · link · parent

This MCS variation ("UnfairMCS"), spreads the CAS latency across multiple `node.next`, as opposed to its CLH counterpart which focuses its CAS pressures on a single point of contention on TAIL (in the `AbstractQueuedSynchronizer` case this is needed because each `prev` field needs to be set), fetching a new memory location on failure, helping offset the latency off of main memory, diverging it to all individual trails of `node.next` equally.

2.

MCS (Mellor-Crummey and Scott) Variations in Java(github.com ↗)

1 points · by Strs2FillMyDrms · 1y ago · 1 comment

comment 2y ago · link · parent

You can give the Israeli part any moral excuse for their barbarity in Gaza. We will just turn on the screen on any live Israeli TV channel and any propagandist excuse you gave here will be deemed completely irrelevant, overriden by the sick society that arrogance and impunity have fostered.

comment 3y ago · link · parent

As LL/SC type architectures get more and more widespread, I am wondering all the novel ways in which programmers may discover new "anomalies" with the old memory model rules and constraints. speculative execution combined with relaxed semantics... and now LL/SC widespread bubbleless cache exclusiveness acquirement?

In all honestly mathematical operations are still better performed by LOCK prefixed architectures since there is no reason to go to the assembler level to re-read the cache... if all you're going to be doing is perform a mathematical operation.

LL/SC is good for displays/publishing operations (losers win all) ... not for graphics or mathematical ops.

comment 3y ago · link · parent

I did not understood op's comment but it is not that hard to come up with a link (without it being a stretch) since both have a common (broad and too generalized) goal: profit maximization, which means there must be an intermediate step of instrumental convergence.

There are methods of profit maximization whose abstract functionality is basically the same, the only thing that changes are the parameters.

I sincerely believe administrative sciences tend to not make clear abstractions out of this, since that is... hard...

comment 4y ago · link · parent

Linus is richer and more famous than musk, and musk is just another CEO with a reasonable salary.

-Some universe out there, with a god smarter and better than ours-

comment 4y ago · link · parent

Thanks for your explanation, as is often the case for me when I encounter this level of insight, I need to take a break, relax... and digest everything said word for word, this involves opening some tabs and a lot of reading, but these answers are always appreciated, thanks.

BTW you made me lol when you followed my ridiculous "internet collapse" scenario.

I'll be definitely coming back to this answer.

comment 4y ago · link · parent

Thanks for your response.

What I get from this is that the processor arch. Is dictated by the compiler at compile time, and by writing to bytecode directly we are skipping this.

I thought the proc. arch. was established by the manufacturer and was unavoidably implemented by the jni at runtime... unless there is an interface on top of the jn-interface to deal with the proc. But it seems absurd... why do this at compile time?

comment 4y ago · link · parent

My question (if I may), When people say the bytecode is "platform independent" I ask, exactly what platform is it being freed from?

The compiler? The "cloud"?

And this goes back to my lack of understanding of what "publishing" a package means to Oracle and the ecosystem in general.

If I publish something on Maven, my guess is that it is transformed into bytecode directly, so that when I pull my package from a diff device the code can run. In this case if the entire "internet" collapses then the only way to run my code would be a flashdrive with the .java file run via a compiler... unless there is a machine that has the JVM installed WITHOUT the compiler... THEN the bytecode is useful... Am I correct?

comment 4y ago · link · parent

I think it CAN come to an end. The backbone of crypto and the blockchain is the willingness to maintain it which has a cost. The reason why this maintenance is cost effective is because the major holders are few and at a < 1/2 of the entire base. As long as the "right" people are winning, there will be enough justification to keep the ball rolling. If there will come a day, in which the ammount of holders become so dilluted that there stops being any clear (lets say) influencers at the top, then the "cool boy's club" will be no more. This is when exchanges will no longer have any skin in the game. Massive runs and "outages" until a few weird naive dreamers are left at the helm of the sinking ship.

comment 4y ago · link · parent

I know. And Ive been waiting ever since Facebooks IPO when are people going to relize the tech for target marketing is more effective than what it seems.

The reason why it seems not as effective (at lower price brakets) is because the entire industry is based on fake numbers. This fake degree of effectivity allow them to balloon the prices,

1st By alleging that the ad is "as effective as what you are willing to pay" 2nd. Their "massive" userbases.

In reality lower priced ads are not effective precisely because their userbase is not as massive.

as such what should be defined as normal tier is now the highest priced type of advertisement campaign.

The people hardly dig into this as there is no real incentive, billion dollar companies are not being sold all the time.

The % of bots was known to be between 15 and 20 before he made the deal.

If your plan is to buy a soda company to sell soda I would not believe a good strat is to reveal how cheap the product is, in reality, you are basically cornering yourself.

If he manages to buy it,the issue will immediately dissapear.

If he would genuinly made an effort to unmask the industry to help the consumer, I would be behind that.

comment 4y ago · link · parent

I see people are forgetting the only reason we care about this number is because someone was not confortable with what bots and non bots were saying. If they are bots or not is just a convenience because of the price. I dont have the money to care, yet I was well aware about it... Musk should sample his followers that would drive the price even lower.

comment 4y ago · link · parent

For everyone saying the visitor pattern requieres switch statements this is false. The visitor can build its case inside the iterface/implemetation. If the complexity is being solved by the "housing" class that the visitor will be visiting you are not doing enough.

comment 4y ago · link · parent

When I was younger I thought it was a smart move to be deceiptive and fool people above my paygrade to make them feel important and or smart, to allow them their foolishness.

It is bad to do that as you just justify their behaviour, and allow them to keep behaving as such by giving them what they expect and want.

Maybe my attitude could land me some enemies and prevent me opportunities, but I decided not to continue that vicious cycle.

We need to surround ourselves with people we respect and respects us equally, somewhere were feedback is possible.

Not only for the better of our minds but also for the better of the things we produce.

comment 4y ago · link · parent

Juxtaposing this to Nakamoto's creation of bitcoin and original use cryptography, it makes no sense to me how anyone would have ever paid even an ounce of attention to what some random, supposedly unkown guy on the internet has to say about ... anything. Or how Perelman even got someone to even eant to verify his solution. Maybe not so much Perelman since he had some important figures knowing him already.

comment 4y ago · link · parent

I was at a construction site as field architect and the field work of a manager is nothing compared to that of the actual workers. So.. I tried coding at work, as I had a "lot" of spare time... and it was impossible. The stressful state of mind makes it impossible to make anything related to coding... the sun, the heat, the stress. Non skilled jobs, that are also menial and with this constant uncertain output, are a doom to those who work them(jobs) because they offer aboslute no progress to those who's lives depend on them. Intellectual and economical progress. Yet I've found people obsessed with field work..

comment 4y ago · link · parent

"Dicatorship and Cooperation are the same thing, lots of people are telling me this, rigth now!"

comment 4y ago · link · parent

As fascinating as this is, I would never allow myself to go to sleep while an AI is talking to my ear.

comment 5y ago · link · parent

I cannot stop thinking about this rant and how funny it is, it's like if Cinemasins would discuss how everyone is tired of Scorsese's films and why we need more Marvel movies on a column in the NYTimes.

comment 5y ago · link · parent

I believe the LGR channel has shown some DOS programs from before 1990 that had the entire catalogue of the US phonebook available in a neat DOS UI, where you just choose a location/state (or non at all) then enter a letter and it would filter every entry on the chosen filter...

(Name was ProPhone 1993, so not really pre 90's) https://youtu.be/yBupNdYe08g?t=1078

comment 5y ago · link · parent

When I was younger, I use to believe (maybe I still do) that all lifeform's purpose was to accelerate universe death, by transfer from matter to heat in the form of radiation, like we are just an extension of the universe's agency/"desire" towards that, and everything we do is aimed to that, but never actually thought about consciousness.

comment 5y ago · link · parent

Thiel's money is not red btw.

comment 5y ago · link · parent

I completely agree with this. And reminds me of how Oracle brushed all complexity from the word "filter" and simply went and named the function as is. A Filter implies a flow direction, it also implies two segments, the desired and the unwanted portion of the filtering operation. Which one is the one staying? which is the one that passes through?

I've seen people argue that one side should be called "sieved" while others say it should be named "selected"... to add to this , let's add even more complexity, since "selected" implies agency.. while filter performs a passive _selection_, in which case it should not be considered a selection at all.

It seems easy, but in reality some concepts (If not all) are inherently messy, specially on the English language since it seems the most abstract of all languages.

comment 5y ago · link · parent

I am super bad with terminology so I'll apologize beforehand.

I've found that a good way to avoid this ownership conflict in OO is to categorically prohibit any public accessors to _inherited_ variables, be it at construction phase or later, be it passively (via setters) or actively (via observers).

And there should be only ONE provider of said value, also I've found is sometimes better to have a hot spot where all nodes converge and use it as a nursing node, and JUST THEN, fork this nursing node into every let's say "logic gate requirement" node (with a cached state each).

This is a good approach IMO as long as these smaller nodes are required by more than 2 observers, if not, then a simple specialized observer is the way to go.

comment 5y ago · link · parent

While my dentist was performing a procedure on my teeth he received a call from a former student now teacher at the university.

The issue? A group of old professors chose to stop teaching a particular procedure.

Reason? Market prices of that procedure had began to be driven down by competing professionals.

She sounded so disappointed, as she should.

Never underestimate the power of greed against the well being of everyone else.

comment 5y ago · link · parent

I am using the word discrimination in a general sense.

It's not *just* the color or race of someone's skin, but also a lot other factors.

If we trace back the repeating attributes of social class and wealth they all tend to gravitate to similar genetical discriminations (from wikipedia: "ability to distinguish one thing from another.")

And once the discrimination crosses the ingroup barrier, then the measure keeps "ranking" them among the different outgroups.

Before the internet the ingroups were not measured against outgroups as much.

12