Better HN
topnewbestaskshowjobs
Log inSign up

echoangle

5,382 karma · joined Oct 20, 2023 (3y ago) · 2,457 submissions

Submissions

comment 2y ago · link · parent

I didn’t quite get the method used to „compress“ the data from the article, maybe this rephrasing helps someone:

You basically split the file every time you encounter a specific character, and your compressor just combines all files it finds with the character you split by. If you split at every „X“ Char which might occur 1000 times in the file, the compressor only needs a small script which joins all files and puts an „X“ between them, which is less than 1000 bytes. The „trick“ is storing the location of the Xs you removed in the file sizes of the individual files.

comment 2y ago · link · parent

If he really wanted to make sure he kept the money, he could just use a hardware RNG. I don’t know how common they were in 2001 but you could probably even generate some practically unpredictable random numbers using radio noise.

comment 2y ago · link · parent

> Scripts offers up the entire contents of the linux operating system and this could allow you to use operating system files as partial data.

I also thought about this, but when thinking more about the argument by the challenge creator, I understood that the data in the OS doesn’t help you.

If you’re given a file with 100 bits, there are 2^100 possibilities. If you want to compress to 99 bits, there are only 2^99 possible compressed outputs. So when generating and trying to compress every 100 bit file, you’re not going to be able to compress half of them. The external data doesn’t help you unless you get to modify it after receiving the file to compress. If you can get patched merged into the Linux kernel, you could use the data, but if the data is fixed, you can’t reference the data with less data than the original file (for some cases atleast).

Edit: actually, when thinking about it: you could actually use the OS as another few bits of out of band information you get for free, which makes it possible again. If you have 8 different OS to choose from, you could use their differences to compress any file. At least theoretically, the 3 bits you gain practically probably aren’t enough to make a difference.

comment 2y ago · link · parent

Isn’t the intelligence shown by compressing lossless the scheme you use? Applying the algorithm is the easy part, the proof of intelligence is inventing the algorithm which compresses.

comment 2y ago · link · parent

> Theft of IP falls under a different law in the US than theft of something like gym services.

Yeah, you know why? It’s not theft, it’s called copyright infringement.

comment 2y ago · link · parent

I wouldn't really call theft of services "stealing", but I'm not a native speaker. Maybe that's something people say.

> Pirating is theft.

Do you mean copyright violations or ship piracy?

I don't see how this follows, because torrenting a movie doesn't take a service from the movie right holder. They wouldn't even notice if they wouldn't actively monitor torrent users. Theft of service is a crime because it causes unpaid work for the service provider, right? That's why I said the gym analogy doesn't apply here.

comment 2y ago · link · parent

> If unauthorized copying is akin to preventing a potential sale then using a gym for an authorized/non paid amount of time to try the gym without paying is not stealing.

Well using a gym for free isn’t stealing either. Although the analogy is flawed because a gym has a limited capacity so you could take up the space of legitimate customers, which you don’t do when torrenting copyrighted stuff.

> Creator of the thing sets the terms. People have the ability to not buy it if they do not like the terms. But they do not have the right to alter the terms via stealing.

No, creators can’t just redefine words. It’s not stealing, because you’re not taking something away from someone.

comment 2y ago · link · parent

This says 6% are currently on a GLP-1 drug and 15% have ever taken one in their life:

https://amp.cnn.com/cnn/2024/05/10/health/ozempic-glp-1-surv...

comment 2y ago · link · parent

Can’t you just adjust the dosage to stabilize?

comment 2y ago · link · parent

> If something sounds good too good to be true, it usually is.

You mean like antibiotics? Or vaccines?

comment 2y ago · link · parent

So why not just stay on the drugs?

comment 2y ago · link · parent

It's not really subjective if you're at all reasonable about it.

Imagine writing a very good program, running it through an obfuscator, and throwing away the original code. Is the obfuscated code "high quality code" now, because the output of the compilation still works as before?

comment 2y ago · link · parent

> One could also say that quality is related to the functional output.

Right, I said nothing that contradicts that ("High quality code isn't just code that performs well when executed, but also ..."). High quality functional output is a necessary requirement, but it isn't sufficient to determine if code is high quality.

comment 2y ago · link · parent

High quality code isn't just code that performs well when executed, but also is readable, understandable and maintainable. You can't judge code quality by looking at the compiled result, just because it works well.

comment 2y ago · link · parent

If the point mass is inside my body for some time, I would describe that as „hitting the point mass“

comment 2y ago · link · parent

They could probably get museums to pay them for their scrap. They would have some work to remove any confidential components before handing it over though.

comment 2y ago · link · parent

Why not? If your starting point is completely static compared to the point mass and your aspect area isn’t zero, you’re going to fall directly down towards the point mass and are going to hit it.

comment 2y ago · link · parent

Ok, so we could have saved 5 comments if you just answered „yes“ to my first question. The cable disruptions most likely aren’t real accidents but sabotage, coupled with plausible deniability explanations of anchor accidents. That’s why I was talking about intentional damage from the start. Read the thread again.

comment 2y ago · link · parent

Even if you assume that the pole doesn't move at all, having less momentum doesn't help you. A smaller car isn't better, in the best case it is equal. But a larger car probably also has a larger crumple zone so it is still better. You still haven't given a single reason why a smaller car would have an advantage.

comment 2y ago · link · parent

And can you explain why less momentum is better for the passengers? The thing that injures you in an accident is acceleration (or more accurately deceleration), so you actually want more momentum.

Imagine sitting in a large truck vs a kei car and driving into a brick wall. One has the chance to deform the wall which decreases the speed comparatively slowly. The other one abruptly stops when hitting the wall.

Unless the collision target doesn't deform at all, the higher momentum is better. And if the target is completely solid, a larger typically has a larger crumple zone which is better, too.

I cant come up with any reason to prefer the smaller car/momentum, except in very constructed scenarios (driving over a cliff with a weak fence for example).

comment 2y ago · link · parent

So many are and some aren't. So in many cases it doesn't matter which car you're in, and in some cases the heavy car is better. That means the heavy car is still net better.

I still haven't seen a single argument why a smaller car would be better in a collision.

comment 2y ago · link · parent

That's why my first question was

> In what country is intentional property destruction not a crime? You’re not arguing that it’s really accidental, right?

So you are arguing that it's an accident? Do you agree that it would be a crime if it was intentional?

comment 2y ago · link · parent

No? But why does it matter? They can include Firefox in their OS and set the default search engine to anything they want.

The point was that developing Safari isn't what makes apple the money, it's setting Google as the default search engine of the default browser. So if Apple would stop maintaining safari tomorrow and would switch to preinstalling Firefox, they would still get the Google money (for setting Google as the default search engine of their Firefox installation). So Safari isn't profitable for Apple, as was claimed before.

comment 2y ago · link · parent

Why not though? Apple could still install Firefox and set Bing as the default search engine. Or even just Chrome, without selecting google. They don’t get the money for making a browser but configuring their browser in a specific way. That would work with any browser.

comment 2y ago · link · parent

Every Linux distro just uses Linux for the kernel, right? What else is there? Init system and user space stuff isn’t Linux in any Linux distro either, because Linux is a kernel. The real thing that might make Android not a normal Linux distro is the heavy modification of the Kernel.

comment 2y ago · link · parent

In what way is Safari profitable? How is that even measured? Has any consumer in the last 10 years ever specifically paid for safari? Or do you mean the payments by google to be the default search engine?

comment 2y ago · link · parent

But a small car doesn’t perform better, why would it? Surely a large car is better when driving into an electrical pole than a small car. What advantage does the small car have?

Also, just to clarify, how did I change the problem? The problem with car crashes is rapid deceleration which injures you, and lighter cars are worse in that aspect compared to heavier cars.

comment 2y ago · link · parent

Ok, but don’t you lose the trademark if you don’t actively use it?

comment 2y ago · link · parent

Did I? Trees and electrical poles aren’t completely rigid, right?

comment 2y ago · link · parent

The „anchor accidents“ with cables are normally when a ship is dragging an anchor over the cable. That’s property damage of someone else’s stuff, which is a crime in pretty much any country. And even if you drop your anchor to intentionally destroy someone else’s property, that would be a crime anywhere. You don’t need a specific law for anchors.
1
555657
82