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

Programmer Humor

32361 readers
287 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
[–] Saganaki@lemmy.one 218 points 1 year ago (10 children)
[–] slacktoid@lemmy.ml 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.

[–] glibg10b@lemmy.ml 5 points 1 year ago (1 children)

So use a small area in memory as cache

[–] slacktoid@lemmy.ml 5 points 1 year ago (1 children)

the infinite memory paradox. quaint. (lol)

load more comments (1 replies)
[–] istdaslol@feddit.de 22 points 1 year ago (1 children)

Imagine doing this on a dial-up 56K modem

[–] IHeartBadCode@kbin.social 20 points 1 year ago (5 children)
[–] Late2TheParty@lemmy.world 8 points 1 year ago (1 children)
[–] darcy@sh.itjust.works 10 points 1 year ago (1 children)

all the cool kids use iomega

load more comments (4 replies)
[–] harry315@feddit.de 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

[–] Semi-Hemi-Demigod@kbin.social 21 points 1 year ago (1 children)
[–] dan@upvote.au 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)
[–] istdaslol@feddit.de 5 points 1 year ago (1 children)

Afaik they used it as redundant off-site backup

[–] SpeakinTelnet@sh.itjust.works 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

[–] istdaslol@feddit.de 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

[–] CanadaPlus@lemmy.sdf.org 13 points 1 year ago (2 children)

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

[–] Veltoss@lemmy.world 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)
[–] kevincox@lemmy.ml 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.

[–] CanadaPlus@lemmy.sdf.org 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

[–] ilikecoffee@lemmy.world 12 points 1 year ago (3 children)

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

[–] russjr08@outpost.zeuslink.net 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).

[–] Vent@lemm.ee 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 😢

[–] Uniquitous@lemmy.one 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.

[–] dan@upvote.au 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).

[–] ChaoticNeutralCzech@feddit.de 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)