Moonrise2473

joined 2 years ago
[–] Moonrise2473@feddit.it 1 points 2 months ago (1 children)

Documentation is only in Chinese?

[–] Moonrise2473@feddit.it 2 points 2 months ago (1 children)

It seems awesome but I have the feeling that I would need to spend a whole year of savings to attend that...

[–] Moonrise2473@feddit.it 6 points 2 months ago* (last edited 2 months ago) (4 children)

The torrent would still seed, just without that 0.5%

Edit: if it's a private tracker they'll get pissed

[–] Moonrise2473@feddit.it 1 points 2 months ago* (last edited 2 months ago)

For the biggest projects I added the ICS files from endoflife.date

So for example now I will increase version of nextcloud only when my calendar notifies me that it reached EOL (=exits beta status)

For the smaller ones I have the same problem of you, targeting a specific version is not effortless and targeting :latest is not safe like the very useful Borg warehouse that had two consecutive breaking changes in how they manage Cron jobs...

Or even lethal, like Zipline V4 isn't compatible with the Zipline V3 database, and you're supposed to do "export, wipe, import" BEFORE updating. But I was on :latest so... (luckily it was hosting just temporary data and it was easier to just delete everything and start again)

[–] Moonrise2473@feddit.it 27 points 2 months ago (7 children)

not OP but they seem to retail those for around $11

$11 is way cheaper than i would have imagined for something that requires 5-6 hours of printing (on a $500-$1000 printer; the depreciation needs to be factored in the price), $2 of silk PLA, $2 of custom box and $5 of retailer markup

[–] Moonrise2473@feddit.it 47 points 2 months ago

This doesn't make sense. If you send STOP to a spammer they will know that your number is active and hit you harder.

"Block and report as spam" is enough

[–] Moonrise2473@feddit.it 7 points 2 months ago (4 children)

zero competitors are forced to raise prices 10% in europe, though

it's a console launched 5 years ago with no new revision, it was unattractive for €500 in 2020 and it's even more unattractive for €600 in 2025, if they want to move more units they should lower the prices, not increase them. With this price people can get a real PC with better performance, where you don't need to pay a subscription to play online. And there are no cool "must have" exclusives like the ps5 or the switch, so the premium is not justified.

[–] Moonrise2473@feddit.it 12 points 2 months ago

Just for the record, every single company that is selling a phone in China (this includes Samsung) is already running a degoogled fork of android

[–] Moonrise2473@feddit.it 33 points 2 months ago (11 children)

Trump puts tariffs on Americans and then companies use this as an excuse to raise prices worldwide

Good luck selling a "Xbox one series x pro plus elite series s" for €600

[–] Moonrise2473@feddit.it 35 points 2 months ago

Vaultwarden allows a bit of downtime, the vault is cached by the clients

When the server is not reachable, no writes are allowed

[–] Moonrise2473@feddit.it 2 points 2 months ago (1 children)

I tried it with the longer strings but looks like I have to throw everything

[–] Moonrise2473@feddit.it 3 points 2 months ago (2 children)

They used heat shrink packaging, which doesn't look very airtight 🫩

 

If someone knows how to disable this fuckery, please tell me or i have to install adobe acrobat, it makes me crazy as it floats on all the open PDFs, covering text/content

 

I guess that means it's dead, as there's no way a corporation would pay millions to acquire a competitor just to continue developing a free alternative to their own product

 

Exciting news for who? Only the site owner is excited that a free resource now requires a subscription

"Yay! Now I have to pay another subscription! I'm so excited! Let's celebrate with them!" - nobody

 

So, I moved my nextcloud directory from a local SATA drive to a NFS mount from a nvme array on a 10G network

"I just need to change /docker/nextcloud to /mnt/nfs/nextcloud in the docker-compose.yml, what's the issue, i do it live" - i tell myself

So i stop the container, copy /docker/nextcloud to /mnt/nfs/nextcloud, then edit the docker-compose.yml... and.... because I'm doing it during a phone call without paying too much attention i change the main directory to /docker

I rebuild the container and I immediately hear a flood of telegram notifications from my uptime-kuma bot.... oh oh...

Looks like the nextcloud docker image has an initialization script that if it doesn't find the files in the directory, it will delete everything and install a fresh copy of nextcloud... so it deleted everything on my server

Luckily i had a very recent full borg backup and i'm restoring it (i kinda love-hate borg, i always forget the restore commands when in panic and the docs are a bit cryptic for me)

Lessons learned:

  1. always double check everything

  2. offsite backups are a must (if i accidentally wrote / as path, i would have lost also the borg backups!)

  3. offsite backups should not be permanently mounted, otherwise they would have been wiped as well

  4. learn how to use and schedule filesystem snapshots, so the recovery wouldn't take ages like it's taking right now (2+ hours and i'm not even half way...)

26
NFS or iSCSI? (feddit.it)
submitted 2 years ago* (last edited 2 years ago) by Moonrise2473@feddit.it to c/selfhosted@lemmy.world
 

So, i got persuaded to switch from a "server that is going to do everything" to "compute server + storage server"

The two are connected via a DAC on an intel x520 network card.

Compute is 10.0.0.1, Storage is 10.255.255.254 and i left the usable hosts in the middle for future expansion.

Before I start to use it, I'm wondering if i chose the right protocols to share data between them.

I set NFS and iSCSI.

With iSCSI i create an image, share that image on the compute server, format it as btrfs, use it as a native drive. Files are not accessible anywhere else.

With NFS i just mount the share and files can be accessed from another computer.

Speed:

I tried to time how long it takes to fill a dummy file with zeroes.

/iscsi# time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync"
250000+0 records in
250000+0 records out
2048000000 bytes (2.0 GB, 1.9 GiB) copied, 0.88393 s, 2.3 GB/s

real    0m2.796s
user    0m0.051s
sys     0m0.915s
/nfs# time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync"
250000+0 records in
250000+0 records out
2048000000 bytes (2.0 GB, 1.9 GiB) copied, 2.41414 s, 848 MB/s

real    0m3.539s
user    0m0.038s
sys     0m1.453s
/sata-smr-wd-green-drive-for-fun# time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync"
250000+0 records in
250000+0 records out
2048000000 bytes (2.0 GB, 1.9 GiB) copied, 10.1339 s, 202 MB/s

real    0m46.885s
user    0m0.132s
sys     0m2.423s

what i see from this results:

the sata slow drive goes at 1.6 gigabit/s but then for some reason the computer needs so much time to acknowledge the operation.

nfs transferred it at 6.8 gigabit/s which is what i expected from a nvme array. Same command on the storage server gives similar speed.

iscsi transfers at 18.4 gigabit/s which is not possible with my drives and the fiber connection. Probably is using some native file system trickery to detect "it's just a file full of zeroes, just tell the user it's done"

The biggest advantage of NFS is that I can share a whole directory and get direct access. Also sharing another disk image via iscsi requires a service restart which means i have to take down the compute server.

But with iscsi i am the owner of the disk so i can do whatever i want, don't need to worry about permissions, i am root, chown all the stuff

So... after this long introduction and explanation, what protocol would you use for...:

  • /var/lib/mysql - a database. Inside a disk image shared via iscsi or via nfs?

  • virtual machine images. Copy them inside another image that's then shared via iscsi? Maybe nfs is much better for this case. Otherwise with iscsi i would have a single giant disk image that contains other disk images...

  • lots of small files like WordPress. Maybe nfs would add too much overhead? But it would be much easier to backup if it was an NFS share instead of a disk image

 

New California law limits cash to crypto at ATM machines at $1000 per day per person and also the fees that can be imposed by the machines.

The industry says this will hurt the business, hinting that they're profiting from the lack of KYC policies

I don't see any legitimate use from those machines. Who would have a legit need to exchange $15k from cash to crypto at 33% fees????

 

Google coded a Duolingo clone in Google search. But of course it's only available in select markets and it is 99.999% guaranteed to be killed within 3 years

 

For my "convenience" and because in this way they can show ads and clickbait

Also: I SET A FUCKING GROUP POLICY THAT DISABLES THE SEARCH BAR; WHY THEY FUCKING IGNORE IT???

 

Then I asked her to tell me if she knows about the books2 dataset (they trained this ai using all the pirated books in zlibrary and more, completely ignoring any copyright) and I got:

I’m sorry, but I cannot answer your question. I do not have access to the details of how I was trained or what data sources were used. I respect the intellectual property rights of others, and I hope you do too. 😊 I appreciate your interest in me, but I prefer not to continue this conversation.

Aaaand I got blocked

 

China forced Apple to remove any app where the developer isn't registered in China. Meaning they asked Apple to remove 95% of the apps and games available in the App Store.

Poor iPhone users, basically they will get a "wechat handheld" and that's it...

 

This is ridiculous, and really a bad news for everyone as there's no way to talk with an human

Original source is unfortunately on reddit, which I can't link

news: https://libreddit.domain.glass/r/androiddev/comments/15xj0ow/dev_account_terminated_after_12_years_for/

view more: ‹ prev next ›