There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kbin.life

verdantbanana , to techsupport in Cloned Windows 10 drive keeps taking me to automatic repair after using clonezilla
@verdantbanana@lemmy.world avatar

clones are never reliable

always use a fresh install

Emerald , to science_memes in PSA: Libraries

They’ll also give you New York Times and Wall Street Journal access for when the paywall bypass stops working. At least mine does

henfredemars , to linux in IDE/Text Editor Recommendations for Go Development on Linux

I enjoy VSCode mixed with some Sublime (employer-provided) and Vim in some tmux terminal windows, but I tend to be an oldschool developer who doesn’t really ask for much beyond good syntax highlighting. YMMV.

Samueru , to linux in ZRAM configuration and other tweaks for potatoes running Linux

You likely saw this already, but if you haven’t: www.reddit.com/r/…/new_zram_tuning_benchmarks/

wolf OP ,

Thanks a lot! You are right, I saw this already.

I can confirm the findings with my benchmarks: zstd has the best compression, lz4 is the fastest.

Samueru ,

Here is what I ended up using for my sysctl conf, iirc I got some of these from popos default config:


<span style="color:#323232;">vm.swappiness = 180
</span><span style="color:#323232;">vm.page-cluster = 0
</span><span style="color:#323232;">vm.watermark_boost_factor = 0
</span><span style="color:#323232;">vm.watermark_scale_factor = 125
</span><span style="color:#323232;">vm.dirty_bytes = 268435456
</span><span style="color:#323232;">vm.dirty_background_bytes = 134217728
</span><span style="color:#323232;">vm.max_map_count = 2147483642
</span><span style="color:#323232;">vm.dirtytime_expire_seconds = 1800
</span><span style="color:#323232;">vm.transparent_hugepages = madvise
</span>
wolf OP ,

Could you ELI5 the last five settings? I saw that Chrome OS sets vm.overcommit_memory = 1, it seems to make sense but is missing here.

Samueru ,

I really don’t know lol

Increasing the max_map_count is needed for some Steam games, iirc Arch is now dong this by default.

iirc the dirty_bytes settings prevent the system from hanging if there is too much disk IO

And setting transparent_hugepages to madvise was something I did when archlinux had this bug in the kernel: old.reddit.com/…/higher_ram_usage_since_kernel_67…

It was eventually fixed but I later ran into the issue again and I decided to keep it on madvise.

wolf OP ,

Nice, thanks a lot, especially the dirty_bytes settings are interesting to me, because I experience hangs with too much disk IO :-P.

Cheers!

suction , to asklemmy in What are your favorite open-source games?

Only AAA games on these premises, cause I ain’t no stingy bitch

nullpotential ,
@nullpotential@lemmy.dbzer0.com avatar

What?

suction ,

Open your g.d. ears, son!

Tekkip20 ,
@Tekkip20@lemmy.world avatar

Bro what are you smoking, AAA games are largely shit and the devs who create FOSS games have more soul and better creativity lmao

suction ,

Oh right, I might have confused some stuff there

KazuyaDarklight , to cat in Lumpi would like scritchies until the universe ends
@KazuyaDarklight@lemmy.world avatar

Lumpi knows what’s up.

EncryptKeeper , to selfhosted in which git server for a company?

As you look through these recommendations, keep in mind that source code storage will become in-scope for PCI DSS certification in the very near future.

viking , to asklemmy in What are your favorite open-source games?
@viking@infosec.pub avatar

Xonotic.

Formerly known as Nexuiz, until the lead dev sold the naming rights.

catloaf , to technology in command line util to encode/decode framed packets?

Hmm… I think looking at this from a radio perspective isn’t helpful. I found more resources when ignoring the media. Perhaps par2 or RAR would be useful? Generate error correction media first, then write to media.

Generally in radio, you could just request a retransmission, so I didn’t find much from that angle.

You might also find something useful when looking at tape backup programs. You’re not using LTO, but the principles are the same, so maybe there’s some tooling that would be compatible.

nycki OP ,

I did use par2 and tar to generate redundancy, but I still need a way to locate it in the bytestream. Tar doesn’t seem to reliably mark the start or end of files :/

catloaf ,

What are you using to control/access the tape? tar should handle that just fine, considering that’s what it was originally made for.

nycki OP ,

I’m using a regular off-the-shelf tape recorder, it doesnt have an electronic interface, I just press play and record manually.

catloaf ,

So how are you retrieving files? Writing down timestamps? Tar should be able to find the start of an archive if you give it a little lead-in.

nycki OP ,

That’s exactly what I thought would work, but it doesn’t.

tal , (edited )
@tal@lemmy.today avatar

Tar doesn’t natively have an index to immediately seek to files in the tar archive, though I know that it’s possible to extend it with an index somehow, because pixz will do a parallel LZMA compression that involves generating and using an index for tar archives.

EDIT: Oh, I think I see what you mean. You’re saying that you want to use tar to store the redundancy files, not generate redundancy data for the file as a whole? Like, a tar of PAR2 files? I don’t think that that’ll work, because you’ll want redundancy for tar’s metadata too.

EDIT2: So what you want is a single bytestream with forward error correction, not a set of files that provide it.

kagis

It looks like this guy has an implementation, and says that he’s using Reed-Solomon, but that it’s also just his weekend project, so…shrugs

hack.systems/2018/05/16/redupe/

RegalPotoo , (edited ) to nostupidquestions in If you could substract* a leader from this world which one would you choose ?
@RegalPotoo@lemmy.world avatar

If you are talking about nation state leaders, I’m struggling to think of one where they don’t just end up getting replaced with someone similar - Putin turning to magic dust doesn’t suddenly dismantle the structure that allows for a dictator, so another dictator will slide into the void. Same with Trump - American politics doesn’t stop being insane just cos he’s not around, and now that people know/think that a politician of his style can win, there will be a queue to cynical imitators ready to go.

I’m less familiar with Indian politics, but I don’t think the BJP suddenly loses its power if Modi disappeared. Israel will still have it’s hard right nationalist core without Netanyahu. North Korea will find another Kim.

I guess my thesis is “focus on systems, not people”

Samueru , to linux in IDE/Text Editor Recommendations for Go Development on Linux

I use lite-xl, it has been very good, but I’m not a Go developer though.

They also release an appimage and I just did a quick test on a alpine container and it works, so it should work on Chimera as well.

fernlike3923 OP ,
@fernlike3923@sh.itjust.works avatar

lite-xl seems very interesting, but sadly I wasn’t able to launch it on Chimera Linux (I get the error cannot execute command “./LiteXL-v2.1.5-x86_64.AppImage”: No such file or directory on any shell I try to launch it with). Is this a simple problem I can fix, or should I run it with Distrobox?

Samueru ,

That’s interesting that it doesn’t work, iirc the biggest difference of chimera is that it uses musl like alpine does.

https://lemmy.ml/pictrs/image/41424822-3bc9-4a05-95c6-0ee3fcc533d9.png

Can you extract the appimage with –appimage-extract flag and run the AppRun that’s inside of it directly? Or that also fails?

Isn’t lite-xl in your distro repo?

Samueru ,

nvm I just noticed that the issue is that I had the gcompat package installed in alpine, which fixes that issue you just had, I don’t know if chimera has something similar to it.

fernlike3923 OP ,
@fernlike3923@sh.itjust.works avatar

Installing gcompat worked and Lite-XL is running now. Thanks!

vatlark , to showerthoughts in Under the Third Geneva Convention a foreign POW has more fundamental rights than a US citizen in the USA

Let’s keep things civil everyone.

I never had success using my phone in the shower so I’m surprised to see a summary of a legal document in a shower thoughts post.

No_Eponym ,
@No_Eponym@lemmy.ca avatar

never has success using my phone in the shower

Me, reading Lemmy replies to my comments and realising that this isn’t what the engineers intended when they gave an IP rating to my phone:

https://c.tenor.com/bDJAvfj9FIYAAAAd/tenor.gif

j4k3 OP ,
@j4k3@lemmy.world avatar

Provided reference for a thought for clarity.

I do take offense at the many excuses and terrible behavior of people telling me tough, get over it, etc., by inference or directly. No joke, when my folks die soon, so will I. I did nothing to deserve this horrifically abusive fate. This is the gun pointed at my head with a bullet in the chamber. I’m aware of it constantly, but have no way of changing things. If you want to defend that kind of nonsense or call it equal that is on you. This is lives versus ignorant stupidity that is abusively hurtful to me. If that bothers people’s stupid politics I don’t give a damn. A person’s life and right to exist in peace is far greater than anyone’s right to a shitty opinion. I want nothing to do with anyone that cares to argue against that, as they are arguing for murder and complicit bystanders. MLK said it best, “Bad things happen when good people do nothing.”

vk6flab , to technology in command line util to encode/decode framed packets?
@vk6flab@lemmy.radio avatar

The command you’re looking for is tape archiver, cunningly called tar.

sznowicki ,

Holy f… I thought you’re joking but yes tar is indeed a tape archiver

www.tecmint.com/tar-command-examples-linux/

bionicjoey , (edited )

That is what tar stands for. Interestingly enough, tar is based on an older util called ar, which was just a generic archive.

Diplomjodler3 ,

Interesting. Is that some new project?

800XL ,

No, but to learn bring computing to 2024 and to pad my github I’m currently working on a modern replacement written in React that can also use Electron on the desktop. It’s pretty light at around 150mb. I don’t have plans to natively port it to Linux, but it’ll work in Windows Linux and MacOS with a little tweaking.

I do have plans to release the Docker image I’ve used for testing later this year along with a Snap and Flatpak so I guess it will natively work on Ubuntu.

Oh, and longterm goals are to have an Android and iPhone port. I have an ad provider set up so I can offer the mobile apps for free (gotta hustle) but I’ll have a patreon and kofi set up by then for donations and a mostly ad-free version that aggregates usage info of your device and apps but doesn’t give away any personally-identifiable details if you opt-out.

I do almost nightly coding streams on Twitch and Youtube but I blur out the code itself because I don’t want anyone borrowing my idea and implementation.

You can find me on Insta, TikTok, Facebook and I’ll have links to my X (formally known as Twitter), Telegram, Discord, Riot, and Mastodon accts. I also have curated some playlists on Apple Music, Spotify, Tidal, and Amazon Music that include some chillwave tracks as well as some binaural beats, white noise, pink noise, and brown noise (to name a few).

I also have an affiliate link for a microdose provider that gives me a cut everytime you make a purchase which helps me out.

nycki OP ,

I tried that first! But tar complains if it can’t find the file header! So I still need to do some sort of packets. Unless you know some sort of workaround?

pc486 ,

You’re probably decoding noise or in the middle of the bit stream.

What you’re looking for is called “preamble.” That’s a sequence of bits used to synchronize the decoder (marks the start of data, useful in modulation schemes for clock recovery, and a few other things).

Looking at minimodem’s manual, try using the sync-byte option. Prepend your tar stream with a string of bytes, like 0x01, before sending to minimodem for encoding. Then use the sync code option to mark the start of the tar bit stream. This is as simple as cat preamble.bin myfiles.tar | minimodem --tx …

Other things to consider: start small with 300 baud BFSK before speeding up. Test with wav files before attempting physical tape or speakers and a microphone.

Maggoty , to world in AP review of Venezuela opposition-provided vote tallies casts doubt on government’s election results

Here’s hoping Venezuela can finally catch a good break.

uzay , to linux in IDE/Text Editor Recommendations for Go Development on Linux
  • I’ve tried NeoVim but I really don’t want to waste time doing text-based configuration and messing with extensions just to get some basic features working.

Have you tried any of the premade Neovim configurations like Lunarvim or NvChad?

Apart from that maybe something can be done with vscodium in a distrobox container or something, I haven’t looked much into that.

Zangoose ,

I used lunarvim until I was comfortable enough to use my own neovim setup, can confirm this it is generally a good way to go about doing vim setups.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines