HNHacker News
TopNewBestAskShowJobs

Ephil012

381 karma · joined January 30, 2017

etp256 at nyu dot edu
submissionscomments
Ephil012··on Show HN: Screenshot.Rocks: Open-source browser and mobile screenshot mockup tool
Suggestion: If you type in a URL without http:// or https:// at the beginning it doesn't work. Can this be fixed?
Ephil012··on 43 Hours on the Amtrak Southwest Chief
Amtrak might have recycled air in the past, but apparently they now intake fresh air with an exchange rate of 4-5 minutes.

Source: https://www.amtrak.com/coronavirus

Ephil012··on Google layoffs Jan 20, 2023 – California WARN public records
Does anyone have a link to the original WARN filing (since that would verify this airtable’s authenticity)? Tried finding it online and couldn’t
Ephil012··on iOS 16.3 Is Out
You might want to do this

iOS settings => Sounds and Haptics => Drag the Ringtone and Alert Volume slider up higher and turn off change with buttons

The alarm clock volume on iOS is separate from your normal volume. So if it accidentally got lowered then your alarm clock will never make any sound. It can get accidentally lowered if you have change with buttons on so I turn that off. Turning off change with buttons just fixes your alarm and ringer volume, it won’t prevent you from changing your volume normally when listening to music

Ephil012··on Ask HN: Those making $500+/month on side projects in 2023 – Show and tell
Out of curiosity, how do you handle traffic surges? Do you just have to manually add more servers? Or did you write a script to auto purchases more servers on vast.ai since there isn't any autoscaling feature there (that I am aware of)
Ephil012··on We’ve filed a law­suit chal­leng­ing Sta­ble Dif­fu­sion
Nevermind, asked someone on a Discord who is more familiar with ML than me. Also, checked a few resources online. As far as I can tell there aren't any traces of the original dataset in Stable Diffusion. There aren't even partial examples of the dataset in there according to the person I talked to. Maybe they're wrong, but I suspect they are right. I did read there is a dictionary for CLIP, but that's a bunch of words that Stable Diffusion can recognize and not saved artwork.

Disclaimer: Not an ML expert

Ephil012··on We’ve filed a law­suit chal­leng­ing Sta­ble Dif­fu­sion
Update: As I’ve looked more into the topic the less sure I am now about if I’m correct. I still think that there’s probably little chance that the whole dataset is shipped with stable diffusion. However, I am wondering about if maybe partial examples are shipped with it (e.g. a dictionary of certain concepts) or if there any any other caveats where stable diffusion might contain traces of the original data (note: I don’t think it contains the whole dataset still). I am not an expert so there’s a chance I could be wrong about all of this. So take my words with a grain of salt. Regardless, I still don’t believe the characterization of stable diffusion just copying and pasting images is correct and I believe the lawsuit still is making several factual errors as others online have pointed out.
Ephil012··on We’ve filed a law­suit chal­leng­ing Sta­ble Dif­fu­sion
I should clarify a bit about how latent space works as I didn't in the original comment.

Stable diffusion has something called an encoder and decoder. What the encoder does is it takes an image, finds it's fundamental characteristics, and then converts it into a data point (for the sake of simplicity we will use a vector even though it doesn't have to be). Let's say the vector <0.2,0.5,0.6> represents a black dog. If you took a similar vector, you would get another picture of a dog (say a white dog). These vectors are contained in what's called a latent space which is just a collection of items where similar concepts are close together.

Stable Diffusion uses this latent space because it's more computationally efficient. So what it does is it starts with a noisy image which is converted into latent space, then it slowly gets rid of noise. It does this entire process on the latent space representation as opposed to the actual image. This means it's more computationally efficient because it doesn't have to store an entire pixel image in memory. Once it finishes getting rid of the noise, it uses the decoder to convert the image back into a pixel image. What you'll notice is that throughout this entire process it's not just retrieving a compressed image from it's training set and then using it. Instead, it's generating the image through de-noising. This de-noising process is guided by it's understanding of different concepts that can be represented in the latent space.

I think where this lawsuit goes wrong is it implies that the latent space is literally storing a copy of every image in the dataset. As far as I am aware, this is not true. Even though the latent space representations of images are dramatically smaller, it's not small enough to fit the entire dataset in a 5gb file. The only thing Stable Diffusion is storing is the algorithm itself for converting to and from latent space and that's just for computational efficiency as mentioned above. I've heard that Stable Diffusion might store some key concepts from the latent space, but I don't know if that's true or not. Either way, it seems unlikely that the entire dataset is being stored in Stable Diffusion. To me, it seems that saying Stable Diffusion is storing the images themselves is like saying GZIP's algorithm is storing the compressed version of every file in existence.

Disclaimer: Not an ML expert and this is just based on my own understanding of how it works. So I could be wrong

Ephil012··on We’ve filed a law­suit chal­leng­ing Sta­ble Dif­fu­sion
I still would not call the diffusion process a form of compression. The reason why is because as a whole these models don’t aim to exactly replicate their dataset. If they did, that’s considered overfitting which is a failure of the model (as another commenter said). Generally, these models can almost never be coaxed to give their original data back. To really be considered a form of compression, you’d have to make it easier to do that. Technically, you can do it (e.g. describing a very specific scene in a very specific style), but at that point you’re basically just giving detailed instructions on what to do. If I told a human to paint a very picture and gave them extremely specific steps, that would not be considered compression. That would just be them knowing how existing art patterns work and using that knowledge to follow my instructions. In general, I don’t think it should be considered compression because the results are almost always novel and it’s extremely hard to get anything even close to the original dataset.
Ephil012··on We’ve filed a law­suit chal­leng­ing Sta­ble Dif­fu­sion
“Hav­ing copied the five bil­lion images—with­out the con­sent of the orig­i­nal artists—Sta­ble Dif­fu­sion relies on a math­e­mat­i­cal process called dif­fu­sion to store com­pressed copies of these train­ing images, which in turn are recom­bined to derive other images.”

This seems like it’s not an accurate description of what diffusion is doing. A diffusion model is not the same as compression. They’re implying that Stable Diffusion is taking the entire dataset and making it smaller then storing it. Instead, it’s just learning patterns about the art and replicating those patterns.

The “compression” they’re referring to is the latent space representation which is how Stable Diffusion avoids having to manipulate large images during computation. I mean you could call it a form of compression, but the actual training images aren’t stored using that latent space in the final model afaik. So it's not compressing every single image and storing it in the model.

This page says there were 5 billion images in the stable diffusion training dataset (albeit that may not be true as I see online it’s closer to the 2 billion mark). A Stable Diffusion model is about 5 gb. 5 gb / 5 billion is 1 byte per image. That’s impossible to fit an image in 1 byte. Obviously the claim about it storing compressed copies of the training data is not true. The size of the file comes from the weights in it, not because it’s storing “compressed copies”. In general, it seems this lawsuit is misrepresenting how Stable Diffusion works on a technical level.

Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
Long shot, but is there any way you can forward this to your friend? I am pretty desperate to get this issue resolved. If they want to contact me, my email is in my account profile bio
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
For me, I double checked and an invite didn’t show up. I even created a new project to test and didn’t see an invite pop up when I added my other google account to a test project
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
And there is even a change.org petition https://www.change.org/p/google-inc-google-needs-to-fix-issu...
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
In my case, I can’t even do that. They added me but with view only permissions. Plus I don’t want to do it as it’s unethical
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
Yeah, which really sucks if you don't want to shell out that money. I don't have paid support and had to go through their billing support line (the only support line they offer for non paid customers)
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
I already submitted it as a bug bounty after another comment suggested it
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
Yeah true, but even with multiple domains I’d consider that within your company (as long as those domains are all owned by the company). If it’s outside your company (e.g. maybe your company is working with another company) then there should be some sort of mechanism to accept/decline invites
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
I don't know about their case, but in my case I can only view the project, but can't modify it.
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
I am on a personal gmail so I can't test this myself. However, I suspect it might not prevent it. The feature you linked seems to just allow you restrict domains that projects within your org can be shared with. The issue is not that you're sharing projects with someone else, but that they're sharing projects with you. So in that case, this feature would do nothing to block that as far as I can tell. That is unless they add the ability to block someone outside sharing stuff with you (which I did not see any mention of after a quick skim of the link you posted).
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
The guy said the ticket was resolved multiple times, but then I just responded again. He'd respond back with some unhelpful answer then say at the end "this issue is resolved"
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
They don't except for certain products. Google Cloud has a paid support plan. The free tier only lets you file tickets for billing issues. I ended up just filing this ticket as a billing ticket even though it's really not
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
I saw another comment which said this wasn't quite the case. https://news.ycombinator.com/item?id=34193624

Even if it is the case, it is still an issue because it can be used for abuse. If you wanted to pin abuse on someone you just need to add them to the project doing something illegal. Google tends to be trigger happy about banning so it could affect someone. I bet there are avenues for companies to deal with a situation like this, but it still affects individuals which is a big problem. Especially if your personal account gets banned.

I'd also argue that it's a spam issue for companies (albeit less than it is for individuals). You may not see it by default for companies, but it will still appear in some lists throughout the UI probably.

I think honestly both AWS / GCP should ask for permission to be invited when you're adding someone outside your company.

Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
Yeah, the big issue though is you can add people outside your company. Not just within your gsuite. Adding within the gsuite is not as big of the deal, but the ability to add anyone outside your company is a big issue because it enables mass spam
Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
The issue is different from this. Allowing someone within a company to access a resource without asking them is not as big of a deal. The issue here is people outside your company can add you to projects without consent.

Imagine you're a malicious actor and want to spam some company's Google Cloud Dashboard. You could just create a 100 different projects and add the company's users to those projects automatically, even though you're not part of that company. Those projects can never be removed or deleted from the dashboard. So every user at the company you're trying to spam can never get rid of it (without Google support intervening maybe).

Or let's say you're a malicious actor trying to get someone in trouble. You could create a Google account and hide all traces of who created it. Then you could just create a project doing something illegal (e.g. hosting illegal content) and then add someone to the project. When the authorities find out about the project, the person you're targeting will get investigated for hosting illegal content.

Ephil012··on Tell HN: Google Cloud lets anyone add you to a project without your permission
That’s a great idea. I’ll try reporting it on their bug bounty

Edit: Reported it

Ephil012··on Twitter launches blue check for $7.99 monthly fee
I looked into it more and it seems I might be wrong about the rollout. It looks like iOS rolled out the new subscription, but I didn't see if they actually added checkmarks yet. I saw a new story saying checkmarks wouldn't be rolled out until after the election. So, the original commenter might have been right that there were musk impersonators before paid checkmarks became a thing.
Ephil012··on Twitter launches blue check for $7.99 monthly fee
I’ve noticed that since the 8 dollar checkmarks rolled out today a bunch of people have paid for it and then used it to impersonate Elon. That person you linked might not have been verified beforehand and just bought it today.

I tried to look for their past tweets on the internet archive but didn’t find anything. So I can’t say for sure if they were verified beforehand or not.

Ephil012··on Tailor-made AI image generation
Neat concept. Although I do think the homepage could maybe be improved. The main thing is it contains pretty minimal and vague information which makes it harder for people understand the product.

Also, when it says tailor-made does it mean that there is a human prompt engineer tuning the images for you? Or does it just mean that the AI generated images are custom, but there's no human prompt "tailoring" done for you?

Ephil012··on Top USB Drives on Amazon are a Scam
This is true for obvious scams (e.g. a blender that breaks in a week). However, for subtle scams people often don't realize the scam. For instance, many people won't hit the actual size limit of the USB and won't realize it's not 1TB. In these cases, Amazon does not take a reputation hit for these individuals due to them being unaware of the scam. Only the technically inclined or those who research before buying will realize the scam and think less of Amazon.
Ephil012··on Can brown noise turn off your brain?
There's also some great reusable earplugs which are much better for the environment than foam earplugs. Plus, it saves money long term vs buying a bunch of foam earplugs

https://us.loopearplugs.com/products/quiet

https://www.flareaudio.com/products/sleeep-pro

https://www.happyearsearplugs.com/ (which someone already mentioned on here)

← PreviousPage 2 of 3Next →