Better HN
topnewbestaskshowjobs
Log inSign up

RandomBK

1,543 karma · joined Sep 22, 2014 (12y ago) · 319 submissions

Submissions

comment 4y ago · link · parent

This looks quite interesting, and is sponsored by the Linux Foundation and several other orgs. Code signing is definitely a mess in the Linux world.

One thing I'm less happy about is how these sort of projects always tend to build up a whole parallel universe, dragging along a whole suite of dependencies and related projects (Cosign, Rekor, Fulcio, etc.)

I understand why we might want to fill gaps in existing open source tools, but it makes adopting these platforms a massive migration effort, where I need to go to several project's documentation to learn how everything works. Naming wise, I would also much prefer boring, descriptive names over the modern fancy project names.

comment 4y ago · link · parent

There was an article making the rounds a few years ago [0] that made some rather blunt and pointed arguments _against_ stackful concurrency. I'm not an expert in this field, but it would seem to me that while some of these arguments don't apply in the JVM world, many others do.

Does anyone know how Project Loom has gotten around these constraints?

[0] http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p136...

comment 4y ago · link · parent

Huh, this is new to me. How does zfs handle regular directories that happen to be named .zfs?

Might this be a security issue as well? What permissions are needed to access this path? If I somehow have a webserver serving static files from a zfs dataset, might someone use this to access old or deleted files?

comment 4y ago · link · parent

Does anyone know why this was only given a CVSS score of 7.5? Based on the description this sounds way worse, but Oracle only gave it a CVSS Confidentiality Score of "None", which doesn't sound right. Is there some mitigating factor that hasn't been discussed?

In terms of OpenJDK 17 (latest LTS), the issue is patched in 17.0.3, which was release ~12h ago. Note that official OpenJDK docker images are still on 17.0.2 as of time of writing.

comment 4y ago · link · parent

Note that this also necessarily requires that critical variables and configuration options are stored in version control, rather than database. Bootstrapping staging databases with values necessary to run the application is a constant challenge.

Otherwise, your production environment would have massively different feature flags and other config than staging.

comment 4y ago · link · parent

Does anyone have a reputable resource for how General Average actually works under today's international law?

Some questions I'm curious about are:

(1) What constitutes an "emergency"? If the ship is stuck but not otherwise in imminent danger, would GA apply? It would appear to me that Evergreen could safely transport the cargo off the ship, but would rather just throw it overboard to save time and effort. Doesn't that just unnecessarily pass the costs on to cargo-owners?

(2) Many places refer to the idea that GA only applies if jettisoning cargo actually saves the ship. It sounds like the ship is really stuck - if they jettison cargo but the ship still doesn't budge, would that nullify GA?

(3) Is the GA liability limited by the declared value of your own cargo on that ship? What happens if the total declared value of the "saved" cargo is less than the value of the "discarded" cargo?

(4) Do cargo-owners have an option to say "you know what, I don't really want my cargo anymore" and avoid paying GA?

(5) What country would have jurisdiction over any litigation in this instance? Would it be the country whose territorial waters this happened in, the flag country of the ship, the country of ownership of the ship, contract-defined, etc?

comment 4y ago · link · parent

I was basing it on this line in the article:

> any police jurisdiction can use an EDR to request immediate access to data without a warrant, provided the law enforcement entity attests that the request is related to an urgent matter of life and death.

comment 4y ago · link · parent

All the more reason to get some oversight into the system. The CDC reported 24.5K homocides in 2020 [0], so one company's EDRs represented 6X this figure. I find it difficult to believe that each and every one of those 164K represented a true life/death scenario that would necessitate a breach of privacy by a government agent without any due process.

[0] https://www.cdc.gov/nchs/fastats/homicide.htm

comment 4y ago · link · parent

That sounds amazing! Where is this?

comment 4y ago · link · parent

That 432-page textbook was a PhD Dissertation? Wow... I'm assuming this is not typical for most PhD theses?

comment 4y ago · link · parent

Hmm? MySQL is perhaps the most popular open source database when looking at # users served. Uber, Facebook, Twitter, all use it as their underlying data store. I'd say it's _far_ from "titanic", even if Postgres is quite popular these days.

comment 4y ago · link · parent

"century defining" might be too much hyperbole given we've had two world wars in the last 103 years, but certainly from the perspective of Facebook, Covid and Ukraine have been perhaps the largest crises they've seen since over the course of their existence.

comment 4y ago · link · parent

I don't think any of these skirmishes have ever come close to an existential threat to either party. If things ever come to that, I have little doubt that nukes would be used.

Principles, treaties, and ideals tend to go out the window when parties are backed in a corner with no alternative options.

comment 4y ago · link · parent

On one hand: "Nice! This is a neat functionality and I learned something today."

On the other hand: "Oh how far have we strayed off the Unix way..."

comment 4y ago · link · parent

>My time is limited. You haven't given any reason why this isn't incoherent Malarkey

You don't _have_ to read or understand everything. It's fairly evident that this is an article in the field of theoretical physics, and as such assumes certain understanding of the current thinking in the field.

Now, I'm not an physicist, and I can't personally judge the underlying paper. _Especially_ because of this, I'm careful not to immediately dismiss this as "incoherent Malarkey" and "random balderdash". I like seeing this type of content on HN in the off-chance someone who _does_ know more can chip in their thoughts.

Having said all this, what the paper proposes is not entirely inconceivable on its face. It's reasonably accepted in Quantum Mechanics that there's something special about "information" [0][1], so who knows? Maybe there's something here.

[0]https://en.wikipedia.org/wiki/Black_hole_information_paradox [1]https://en.wikipedia.org/wiki/No-hiding_theorem

comment 4y ago · link · parent

It depends heavily on the company and the specific team/org. Where I'm at, this behavior will more likely get the manager PIP'd for not being inclusive and fostering a healthy team dynamic.

Manager wants to hire across time zones to hit their headcount? Go for it, but be they'd better be ready to make accommodations for doing so.

comment 4y ago · link · parent

That's fair, I missed that. In that case it sounds like the comparison itself was flawed by comparing two devices in such different perf envelopes.

Nevertheless, it's not a great first showing.

comment 4y ago · link · parent

Can't speak to AWS, but hop on Glassdoor/Blind to get general style tips. FAANG typically have very structured interviews, and knowing that structure can give you a big boost.

comment 4y ago · link · parent

> During the Cinebench R23 multi-core test, the Alder Lake laptop was consistently in the 100-watt range, [...] M1 Max’s power draw was 39.7 watts

Ouch.

> MSI GE76 Raider got 6 hours of offline video playback, a far cry from the MacBook Pro’s 17 hours.

Double ouch. That's a huge gap, and 6 is low even in absolute terms.

It's still a nice beefy chip, but still a far cry from the engineering marvel that Apple pulled off with the M1

comment 4y ago · link · parent

Alas, I now realize this was not in an official statement, but merely reporting by the WSJ. I'll edit my comment to make that clear.

comment 4y ago · link · parent

We see here another example of why Valve is investing so heavily into Linux and Steam Deck.

* Sony is focused on their PlayStation walled garden. * Microsoft is consolidating more resources around Game Pass and the Xbox store. * Mobile is a large and rapidly growing segment, which Steam isn't able to capture. * Epic is pouring money into its own store.

Valve needs a backup plan to stay relevant in the 5-10yr time horizon. If the Steam Deck can take off, that might serve as enough incentive to keep games available on Steam and away from Windows exclusivity where MS might start building a walled garden.

comment 4y ago · link · parent

I don't see the same issues.

1. It's been reported that Kotick will leave once the acquisition is finalized (i.e. when MS actually owns the company). If and when that doesn't happen, _then_ I'll join in on the criticism. [edit: based on WSJ reporting, not official statement]

2. Kotick is the de-facto ruler of ABK. The acquisition's not happening unless you play ball. If getting ABK under new management and kicking Kotick out requires playing along for a while, then so be it.

3. A big part of MS's investment thesis here seems to be "ABK's assets are worth more than $69B, but their scandals are suppressing their valuation. We can fix the scandals and better realize the IP's true value". MS will be stupid to let ABK keep going without decisively handling the scandals.

comment 4y ago · link · parent

Survivorship bias may explain why these events are so vivid in people's minds, but when the bar is that _there should be no survivors at all_ (i.e. no catastrophes), the fact that there _are_ survivors with which to form a bias is in and of itself a concern.

comment 4y ago · link · parent

They wouldn't have to actually fake scientific data - they'd just release everything else they were working on, omit the problematic files, and go "see? we showed you everything - there's nothing to see here!".

Time tables, budgets, staffing docs, those are readily forgeable. Any leftover discrepancies can be chocked up to clerical error. This is doubly so if the problematic research was classified or compartmentalized - files pertaining to those programs are often designed to be easily expunged.

Ultimately, China could release as many files as people ask, and never be able to settle the debate. You can't prove/disprove the existence of files they claim do not exist.

Our best bet would be whistleblowers - ideally multiple trusted and independent ones - who can testify to a hidden program. However, we can't use the lack of whistleblowers to prove the lack of a program, which is where we're stuck today.

comment 4y ago · link · parent

As much as I hate it, plausible deniability is a common and effective Standard Operating Procedure for many organizations and governments.

"Two basic rules of government: Never look into anything you don't have to. And never set up an enquiry unless you know in advance what its findings will be." - Sir Humphrey Appleby

comment 4y ago · link · parent

That may work for domestic public opinion, but getting any international sanctions to stick on China would require a lot more than circumstantial "they won't let us investigate" evidence. International "law" (if such a thing truly exists in practice) is wonky, and rarely based on nuanced views or established facts.

Even domestically, that above quote only applies in specific cases - civil cases, or criminal cases where it can be proven evidence was actually destroyed. I'm not personally aware of clear evidence of bad-faith destruction of evidence right now on China's part. China's refusal to allow a third-party investigation would then be more similar to pleading the 5th, something even US courts are prevented from punishing.

comment 4y ago · link · parent

This is a good list for running DNS servers for publicly resolvable domains. Another common reason is to run a server for internal domains only accessible via VPN.

comment 4y ago · link · parent

Shouldn't be too surprising that one of the core devs at the heart of modern computing infra has a Threadripper...

comment 4y ago · link · parent

It depends on whether you consider vaccines and human intervention as part of the 'natural' feedback process that tends to make viruses less severe.

In other words, the high-level theory is that more severe viruses either kill their hosts, or make them so sick that they stop interacting with other potential hosts. A form of social distancing, if you will.

In both cases, the virus is triggering some form of behavior change in its host that reduces its reproduction, providing evolutionary pressure towards milder viruses.

One could argue that the development and wide distribution of a vaccine is just one form of host behavior change, and should be factored in.

comment 5y ago · link · parent

The key is in making sure every step-wise change is backwards-compatible.

Creating a new field, double-writing, and backfilling are all relatively easy tasks in a distributed environment. Individual nodes can take their time catching up to the latest schema.

After a day or two, the engineer can verify that all data have been correctly migrated and double-written to the new ent/assoc. They then turn off double-writing to begin deprecating the old assoc. This can be done in an A/B test to ensure no major breakages.

Once the double-writing is fully turned off, the engineer checks one last time that all the data have been migrated. They check that the read/write rate to the old ent/assoc is 0, which then confirms that the old field is now safe to delete.

Overall, the trick is to think of the migration as a series of safe, backwards-compatible, easily-distributed steps, rather than a single atomic operation.

1
567
11