this post was submitted on 02 Oct 2023
988 points (99.2% liked)

Programmer Humor

32042 readers
1459 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 216 points 11 months ago (9 children)
[–] slacktoid@lemmy.ml 34 points 11 months 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 11 months ago (2 children)

So use a small area in memory as cache

load more comments (2 replies)
[–] istdaslol@feddit.de 21 points 11 months ago (1 children)

Imagine doing this on a dial-up 56K modem

[–] IHeartBadCode@kbin.social 19 points 11 months ago (5 children)
[–] Late2TheParty@lemmy.world 8 points 11 months ago (1 children)
[–] darcy@sh.itjust.works 9 points 11 months ago (1 children)
[–] cupcakezealot@lemmy.blahaj.zone 6 points 11 months ago

all the cool kids use iomega

load more comments (4 replies)
[–] harry315@feddit.de 17 points 11 months 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 20 points 11 months ago (1 children)
[–] dan@upvote.au 6 points 11 months ago* (last edited 11 months 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 11 months ago (1 children)

Afaik they used it as redundant off-site backup

[–] SpeakinTelnet@sh.itjust.works 5 points 11 months 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 11 months 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 12 points 11 months ago (2 children)

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

[–] Veltoss@lemmy.world 13 points 11 months ago (1 children)

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

[–] CanadaPlus@lemmy.sdf.org 4 points 11 months ago (1 children)

Agreed. This is especially bad, though, because if it's compromised they basically have hardware-level access to your machine. Unless you're using encrypted swap, and I'm not sure how standard that is.

load more comments (1 replies)
[–] kevincox@lemmy.ml 4 points 11 months 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 11 months ago* (last edited 11 months 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 11 points 11 months ago (3 children)

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

[–] russjr08@outpost.zeuslink.net 15 points 11 months 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 11 months ago* (last edited 11 months 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 11 months 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 11 months 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 11 months 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 (3 replies)