this post was submitted on 02 Oct 2023
1019 points (99.1% liked)

Programmer Humor

32410 readers
581 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 219 points 1 year ago (10 children)
[–] [email protected] 36 points 1 year ago (1 children)

It will crash as soon as it needs to touch the swap due to the relatively insane latency difference.

[–] [email protected] 5 points 1 year ago (1 children)

So use a small area in memory as cache

[–] [email protected] 5 points 1 year ago (1 children)

the infinite memory paradox. quaint. (lol)

load more comments (1 replies)
[–] [email protected] 22 points 1 year ago (1 children)

Imagine doing this on a dial-up 56K modem

[–] [email protected] 20 points 1 year ago (5 children)
[–] [email protected] 8 points 1 year ago (1 children)
[–] [email protected] 10 points 1 year ago (1 children)
[–] [email protected] 6 points 1 year ago

all the cool kids use iomega

load more comments (4 replies)
[–] [email protected] 18 points 1 year ago (2 children)

wait, didn't some tech youtubers like LTT try using cloud storage as swap/RAM? afaik they failed because of latency

[–] [email protected] 21 points 1 year ago (1 children)
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (2 children)

I remember using ICMP data to bypass my high school's firewall. TCP and UDP were very locked down, but they allowed pings. It was slow though - I think I managed to get a few KB per sec. Maybe there's faster/fancier firewall bypass methods these days. This was back in the 2000s when an entire school would have a single OC-1 fiber connection.

load more comments (2 replies)
[–] [email protected] 5 points 1 year ago (1 children)

Afaik they used it as redundant off-site backup

[–] [email protected] 5 points 1 year ago (1 children)

I wonder if there would be a speed boost by setting 2 gdrive as raid 0 for off site backups

[–] [email protected] 6 points 1 year ago

The limiting factor is mostly your upload speed. And also you need to have a good QoS set up, or you have very limited internet usability. Where as on-site you can get way higher speeds for cheaper

[–] [email protected] 13 points 1 year ago (2 children)

I feel like this might be a giant gaping security risk.

[–] [email protected] 13 points 1 year ago (3 children)

So is pretty much all of the cloud services the average user already subscribes to. People still use them though.

load more comments (3 replies)
[–] [email protected] 5 points 1 year ago (1 children)

Obviously you should set up device mapper to encrypt the gdrive device then put the swap on the encrypted mapper device.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

If your kernel isn't using 90% of your CPU resources, are you really even using it to it's full potential? /s

[–] [email protected] 12 points 1 year ago (3 children)

Oh wow, I didn't even know Gdrive offered a 1 petabyte option 😂

[–] [email protected] 15 points 1 year ago

They don't to my knowledge, I believe that's mounted through rclone which just usually sets the filesystem size to 1PB so that it doesn't have to try to query what the actual limit is for the various providers (and your specific plan).

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (3 children)

Once upon a time, Google offered unlimited drive storage as part of some GSuite tiers. They stopped offering it a while ago and have kicked most/all legacy users off of it in the past few months. It was glorious while it lasted 😢

[–] [email protected] 9 points 1 year ago (1 children)

Guess they ran everyone out of business that they needed to, so now the premium features get yanked and your choice of alternatives is curtailed. Hooray for enshittification.

[–] [email protected] 8 points 1 year ago

It's not that, it's that people were abusing it by using it for things like Plex with 100TB+ of data, which cost Google more than the revenue they got as a result. Blame the people that abused the policy. They're not a charity and can't keep an offer if they lose money as a result. Keep in mind that Google Drive data has several replicas and is also backed up to cold storage on LTO tapes, so people abusing the storage policy is actually pretty expensive for them .

They do still have unlimited data in some cases, for example with custom plans for large companies (like 50k+ employees).

[–] [email protected] 5 points 1 year ago

And Google docs/sheets/slides used to not count in your used space.

load more comments (1 replies)
load more comments (1 replies)
load more comments (4 replies)