Better HN
topnewbestaskshowjobs
Log inSign up

Denvercoder9

5,570 karma · joined Oct 5, 2013 (13y ago) · 1,210 submissions

Submissions

comment 5y ago · link · parent

The 200,000 metric tonne figure was derived from the deadweight tonnage, which is the weight of fuel and cargo a ship can carry, but excludes the weight of the empty ship itself. Wikipedia doesn't list displacement (which is weight of the ship plus cargo) for the Ever Given, but empty weight of modern container ships is on the order of 10% of their capacity, so ignoring the ships empty weight isn't the worst approximation used.

comment 5y ago · link · parent

I'm concerned about the clean-up work of the pieces that end up in the canal. The canal is pretty tight, there's not much space for debris in it without blocking it.

comment 5y ago · link · parent

This calculation only gives the amount of power needed to cancel gravity. It's the minimum power needed to move it up, even if that's just a millimeter.

If you actually want to accelerate it upward to any meaningful speed, you'd need even more power.

comment 5y ago · link · parent

Yeah, the wire would be heavier than the ship.

That is a relatively fundamental result. With current materials, it's pretty much impossible to levitate anything against Earth's magnetic field. You can't put enough current through a wire to create a force bigger than its own gravity without using unreasonable amounts of power. Even if you put in that power, you'd melt the wire.

comment 5y ago · link · parent

> Might need a small nuclear power plant or two to make it feasible.

Amazingly, that's a severe underestimation.

The force on a wire carrying current in a magnetic field is given by F = B*I*l, and to move it upwards that force needs to be at least equal to gravity, so equate to F = m*g.

- Let's be generous and assume B = 100 uT = 100 * 10^-6 T.

- Likewise, assume the ship is a rectangular box with sides of 400 m x 100 m, so a circumference of 1000 m, and that we can wrap a wire 100,000 times around it, to give total wire length l = 10^8 m.

- m = 200,000 metric tonne = 2 * 10^8 kg (we assume magic wire that is massless).

- g = 10 m/s^2.

Solving for I yields I = mg/Bl = 2 * 10^5 A. That's a lot of current.

If we assume the wire has a diameter of 10 cm (which is ridiculously high considering we just wrapped it 100,000 times around the ship, but whatever) and is made out of copper, it has a resistance of ~200 Ohms. Necessary power to generate such a current is P = I^2*R = 8*10^12 W (= 8000 TW). That's about half the total energy consumption of humanity.

The largest nuclear power plant puts out about 8000 MW, so you'd need a 1000 of them.

comment 5y ago · link · parent

Physically that would work, but this ship has a draught of 14.5 meters. You'd need to build a pretty high dam. It would need to cross the canal twice, as otherwise the water level inside the dam would never be higher than the current water level, and you'd need to pump in the water. Then, once the ship floats, you'd somehow need to move it out of your small artificial lake into the canal, and remove the dam you created in the canal.

It's easier to lighten the ship.

comment 5y ago · link · parent

That might be the total value of impacted shipping, but nobody is going to get a $40 billion bill for this.

comment 5y ago · link · parent

If you dump the containers over the side, you managed to remove a ship blocking the canal, but now it's blocked by containers.

comment 5y ago · link · parent

Nine women can't make a baby in a month. Some things just take time, regardless of how much resources you throw at it.

comment 5y ago · link · parent

> Memory used for storing executable binaries is allowed to be moved out of memory, as a copy of it lives on disk.

On Linux, this is not necessarily the case, as you can change the file on disk while the executable is running. I don't know if Linux just keeps executable code in memory all the time, or if it is smart enough to detect whether a copy of executable pages still lives on disk.

comment 5y ago · link · parent

> Copy commands and even deletions can fail or take forever as memory tries to swap to a full disk

That's only a problem if your memory is full as well, and even then, I've never encountered a server that uses a swapfile instead of a swap partition.

comment 5y ago · link · parent

Note that GPLv3 still immediately creates a copyright violation. It just states that if you cure the violation within 30 days, the license is reinstated. Under GPLv2 you forfeit your license immediately and in perpetuity if you infringe on it.

comment 5y ago · link · parent

Rails isn't considered GPL because of this dependency. It is in violation of the GPL¹, which is copyright infringement. Releasing the violating software under the GPL is one way to stop that infringement, but that's not an automatic legal mechanism.

If a copyright owner decides to pursue a GPL violation, they could get damages² and enforce that the infringement stops (i.e. cease using the GPL-licensed software). It's incredibly unlikely any judge would force anybody to release source code.

¹ Actually, Rails itself isn't even in violation, because the project satisfies all the obligations the GPL imposes. GitHub would be in violation.

² In this case, where infringement wasn't intentional, they'd probably get almost nothing provided that the defendant stopped infringing when they learned of it.

comment 5y ago · link · parent

> The GPL merely requires a license at least as permissive as it.

No, it requires a license that's at least as permissive as it AND that imposes the same obligations (i.e. source distribution, etc.) on the licensee.

Dual-licensing dependent software under the GPL and MIT only ensures that you can rip out the GPL dependency, and then use the (formerly) dependent software under MIT. The whole package is still GPL and imposes the same obligations on derivatives of the package.

comment 5y ago · link · parent

> You can't import any dependency (no matter how buried) without assigning a license to it.

That wouldn't help here. Mimemagic declared itself to be MIT, and only turned out to be GPL because it embedded a file derived from GPL sources. That file didn't even have a license header specifying it as GPL.

Anyone importing it would mark it as MIT.

EDIT: Mimemagic didn't even turn out to be GPL, it turned out to be infringing on the GPL, and the author solved that by relicensing it to GPL.

comment 5y ago · link · parent

> this lookup table of extensions to mimetypes doesn't feel like GPL "software".

Copyright nor the GPL are limited to software, collections of data are copyrightable as well; and thus they can fall under the GPL as well.

> To create a non-GPL version, you would have to do what? Research extensions without letting your eyes see this GPLed list?

Yes.

comment 5y ago · link · parent

> The absolute worst thing, though, was that changing a license should not be a minor (or a major) version number increase.

The license didn't change. It was always already GPL, due to the usage of GPL-licensed code, regardless of what the metadata said. The change just made the metadata correctly reflect reality.

[EDIT: I should clarify that technically mimemagic wasn't already GPL, but the only legal way to use it was by satisfying your obligations under the GPL, making it effectively GPL. The author did relicense his own code to be GPL instead of MIT.]

To me it seems like making your downstreams aware of that ASAP is pretty important, since this has important legal implications for them as well. Yanking the old versions and releasing an update with an incompatible version number is a way to do that, albeit one that's quite disruptive.

comment 5y ago · link · parent

Hanlon's razor. Never attribute to malice what can be explained by incompetence.

There's absolutely no evidence at all supporting your allegations.

comment 5y ago · link · parent

> As a user, one can bypass root servers and TLD servers, and caches, and go straight to the designated authoritative server(s) to get RR data.

In practice everyone finds the designated authoritative servers through the root servers and TLD servers. They're trusted already.

comment 5y ago · link · parent

> But the problems with Oxford/AstraZeneca seems to be a political puzzle

The root cause of the problems seem to be that AstraZeneca has sold more doses than they are able to produce, and that causes the political problems.

comment 5y ago · link · parent

There's no evidence supporting that claim, and there have been no such problems with the Pfizer, Moderna and Johnson vaccins which had to comply with the same regulations.

comment 5y ago · link · parent

> where the DNS simply becomes another CA that has to be trusted alongside all the others

Isn't DNS already implicitly trusted?

comment 5y ago · link · parent

There's nothing that guarantees that's constant-time. It's just written in a way that's likely to be constant-time, and observed to be constant-time with current compilers, but there's no reason why a specification-compliant compiler couldn't make it variable-time tomorrow.

You can do exactly the same in Rust. Rust isn't any help there, but it doesn't obstruct you either.

comment 5y ago · link · parent

> So if the government pays for you to build out your infrastructure you then own and use to secure other contracts ... isn't that a subsidy?

The other contracts are key here. It's very unlikely that the vertical integration facility will be used for anything else than US government missions, as vertical integration is basically only useful for spy satellites. Without more details it's hard to judge whether the same is true for the West Coast upgrades and extended fairing, but it wouldn't surprise me if we see those only being used for government contracts.

comment 5y ago · link · parent

> The space shuttle was reusable and yet, it is generally seen as a disappointment (and I don't believe for a second SpaceX engineers are better than NASA engineers).

It helps that SpaceX actually lets their engineers design the rocket, while the Space Shuttle was designed by Congress for defense missions that never happened.

SpaceX engineers probably aren't better than NASA engineers (though the fact that they have a clear mission and actually get stuff done helps with recruiting the best talent). The SpaceX organisation is significantly better than NASA.

comment 5y ago · link · parent

> A few months ago, I submitted an issue in the Gitg issue tracker. The maintainer replied to me: “Reviewing ssh feature, it is not even touched on gitg or libgit2-glib, just a dependency on libgit2, […]“.(Source)

> Although it comes with an unpatched libssh2, Gitg does not use the part that contains the vulnerability.

This conclusion is plain false. The maintainer comment he quotes only says that gitg doesn't directly use libssh2 (so they can't enforce a version constraint on it), not that it doesn't use it all. It's very likely that gitg does actually use the vulnerable libssh2 if you use it to clone a repository over SSH (which it can do).

comment 5y ago · link · parent

Well, yes, but you have to consider that (hopefully) everyone will get the vaccine, and not everyone will get COVID. Infection rates are below 1 out of 60 in many countries.

To be fair, I shouldn't have said that it'd be better than doing nothing (because in that case eventually everyone will get COVID-19), but it'd still be better to wait for another vaccine.

comment 5y ago · link · parent

While it's certainly not a good sign, you have to consider the huge error bars on the statistics in that study, and the fact that nobody in that study (both in treatment group and control group) caught severe COVID-19 that would require hospitalization and/or died, so there's no data at all yet on whether it's effective in preventing hospitalization and/or death.

comment 5y ago · link · parent

> it's hard to imagine why some countries there have suspended it's use

Really? I can imagine quite a few reasons:

* When usage was suspended, it wasn't yet known whether it was limited to 18 cases or that was just the top of the iceberg.

* Even 1 death in a million outpaces COVID-19 deaths in young people, so vaccinating could be worse than not doing anything for them.

* Vaccins with fatal side effects can significantly reduce the willingness to be vaccinated, so even if statistically it's a good trade-off, the end result can be better by not using it.

And it's not like the doses that would've been used in those few days were thrown away. They were simply rescheduled for a week later -- the full vaccination effort isn't going to be done any day later due to this delay.

1
313233
41