• 3 Posts
  • 784 Comments
Joined 1 year ago
cake
Cake day: February 15th, 2025

help-circle

  • afaik you just listed features that the printer I mentioned (or if I am wrong, other similar printers) supports

    it’s my bad for not mentioning all possible workflows, I was just a bit lazy and thinking of my personal documents only, which do not work well with further smart automation, because my batches are highly irregular. So the more manual approach is the best for me currently. Maybe possible with some future AI integration.






  • The stuff you describe sounds like a cable timing issue. Not something you can fix in Linux. Think of it like the two devices trying to talk to each other on different frequencies and picking the highest res one that works. (so thats why they might get stuck on a random smaller one)

    I had some examples like that in the past where some low quality or very long cables couldn’t reach it’s spec, even fresh out of the box, even on windows.

    Oh, also I am pretty sure HDMI 1.3 does not do 4k at all. Either 1080 or 1440p was the spec limit.

    If you can space the money for an experiment try an active DP 1.2 → HDMI 2.0 cable/adapter.

    Maybe something like https://www.delock.com/produkt/85956/merkmale.html or Digitus branded. Depending on what known good cable manufacturer is available in your area.


  • HelloRoot@lemy.loltoLinuxSome questions about distro-hopping
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 day ago

    You can mostly just copy your home partition/dir with something like rsync.

    Step by step:

    1. Install new distro, in the installer make sure to use the same username (otherwise there is some extra work involved but still doable)

    2. start up new distro to make sure it works

    3. reboot into old distro or into live linux

    4. use rsync to copy olddistro/home/user to newdistro/home/user (you have to think about whether it makes sense to overwrite all files or if there is maybe some special exception somehow. Like there may be some idiomatic bashrc on one distro that does not work well with the other)

    (I’ve done that multiple times now and there is some minor fixing involved sometimes, like with the bashrc example, but otherwise it’s super easy. If you ever get stuck just hit me up and I can hop on a Rustdesk/discord/whatever support session)





  • # CUT (fast, keyframe-aligned, no re-encode)
    ffmpeg -ss 00:01:30 -to 00:02:10 -i input.mp4 -c copy cut.mp4
    
    # CUT (accurate, re-encode)
    ffmpeg -i input.mp4 -ss 00:01:30 -to 00:02:10 -c:v libx264 -c:a aac cut.mp4
    
    
    # MERGE / CONCATENATE (same codecs, no re-encode)
    printf "file 'a.mp4'\nfile 'b.mp4'\n" > list.txt
    ffmpeg -f concat -safe 0 -i list.txt -c copy merged.mp4
    
    
    # MERGE (different formats, re-encode)
    ffmpeg -i a.mp4 -i b.mp4 -filter_complex \
    "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[v][a]" \
    -map "[v]" -map "[a]" merged.mp4
    
    
    # TRANSITION (video crossfade, keep audio from first clip)
    ffmpeg -i a.mp4 -i b.mp4 -filter_complex \
    "[0:v][1:v]xfade=transition=fade:duration=1:offset=4[v]" \
    -map "[v]" -map 0:a transition.mp4
    
    
    # ADD TEXT (overlay)
    ffmpeg -i input.mp4 -vf \
    "drawtext=text='Hello world':x=20:y=20:fontsize=32:fontcolor=white" \
    -c:a copy text.mp4
    
    
    # ADD AUDIO TRACK (replace existing audio)
    ffmpeg -i input.mp4 -i music.mp3 \
    -map 0:v -map 1:a -c:v copy -shortest out.mp4
    
    
    # ADD AUDIO TRACK (mix with existing audio)
    ffmpeg -i input.mp4 -i music.mp3 -filter_complex \
    "[0:a][1:a]amix=inputs=2:duration=shortest[a]" \
    -map 0:v -map "[a]" out.mp4
    
    
    # CHANGE SPEED (2x video, drop audio)
    ffmpeg -i input.mp4 -vf "setpts=0.5*PTS" -an fast.mp4
    
    
    # SCALE / RESIZE
    ffmpeg -i input.mp4 -vf scale=1280:720 resized.mp4
    
    
    # SUBTITLES (burn in)
    ffmpeg -i input.mp4 -vf subtitles=subs.srt out.mp4
    

    Check out the docs for more https://ffmpeg.org/ffmpeg-doc.html


  • At massive scale, indexing is done by distributing the data rather than relying on a single machine. The index is split into shards, each holding a subset of the data, commonly partitioned by hashing IDs or dividing term ranges. Every shard is replicated to multiple machines so reads can be load-balanced and failures do not take the system down.

    Search queries are handled by a coordinator that sends the query to the relevant shards in parallel, collects their partial results, merges and ranks them, and returns the final result. Because all shards work at the same time, query latency depends on the slowest shard, not on total index size.

    This setup is built on search engines based on inverted indexes, usually derived from Lucene, either via systems like Elasticsearch or via custom implementations. Metadata and related data are stored in distributed databases or key-value stores, while index updates are streamed asynchronously so writes do not block reads. Caching at multiple layers keeps frequently accessed data in memory, and the whole system runs on large clusters that automatically handle placement, scaling, and failures.

    idk where you are, but where I live anybody can go to the university lectures for free, as long as they are not full. Or the library and browse the relevant section. Personally I learned everything IT related from uni courses and searching for my topics of interest in the uni lib. So thats my shitty recomendation, I’m sure there are online resources and courses on it though.



  • hard disagree, it depends on where you live.

    Which is at the current stage of globalism mostly a personal choise. I have friends that got here by hitchhiking on a container ship by asking the crew nicely and other who literally walked here for half a year, begging for food along the way.

    I moved countries with nothing but my documents and a backpack full of clothes. And I am off way better now, by using my brain and not being an asshole.

    And yeah, bit of survivorship bias, ngl. But it’s far from the bleak picture you drew. If you live in a shithole, go somewhere else.


  • I agree with the sentiment, but a 4 day work week(or 6h/day) won’t help at all, exactly because of this. Most people will just do more passive entertainment consumption in their newly increased freetime instead of informing themselves about some complex issues or learning something new.

    And at least where I live, the people that are smart enough to do what you want them to, already make enough money to work however they like and have more than enough free tkme for this kind of stuff. (I personally know some who are well off financially and all they do is <20h per week or freelance 3-5 months per year)





  • stray prayed up, fed up, wound up, worked up, burned up, fired up, hyped up, stressed up, psyched up, bottled up, beat up, clogged up, backed up, swollen up, locked up, jammed up, tied up, dried up, used up, worn up, finished up, wrapped up, cleaned up, eaten up, filled up, closed up, packed up, summed up, heated up, sped up, built up, ramped up, boosted up, powered up, amped up, jacked up, leveled up, scaled up, set up, lined up, queued up, stacked up, piled up, stored up, saved up, stocked up, grouped up, messed up, screwed up, fucked up, shaken up, torn up, blown up, broken up, stood up, sat up, got up, woken up, picked up, pulled up, rolled up, shown up, turned up, met up, hooked up, made up, teamed up, paired up, split up, hung up, dressed up, done up, fixed up, patched up, added up, ended up, come up, brought up, given up, held up, kept up, caught up and backed up