Quick oneliner ffmpg help
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLU
    LuckyJones
    7mo ago 100%

    It's a bit long for a one-liner, but this should work.

    for f in /media/johann/5461-000B/DCIM/100MEDIA/*.AVI; do num=${f%.AVI}; num=${num##*IMAG}; ffmpeg -i "$f" -ss 00:00:00 -t 00:00:20 "~/Public/240321/240321_$num.avi"; rm "$f"; done

    This num=${f%.AVI}; num=${num##*IMAG}; extracts the number from the video filename. To make sure it's not deleting anything it shouldn't, you also might want to run it with rm -i "$f"

    6
  • I Study Climate Change. The Data Is Telling Us Something New.
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLU
    LuckyJones
    1y ago 100%

    It's insane.

    The thermodynamic minimum amount of energy needed to extract CO2 at 450 ppm is 120 kWh per tonne. Current experimental carbon capture plants run at about 5 % efficiency. If we assume we can double their efficiency and can magically produce as many plants as we need, to remove 20 Gt of CO2 per year (half our emissions) we would need 24,000 TWh of energy per year.

    That is the entirety of the world's electricity production. To remove half our emissions.

    Carbon capture is a non-runner.

    11
  • Bram Moolenaar Passed Away
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLU
    LuckyJones
    1y ago 100%

    My entire life has vim key bindings. My window manager and browser all have vim key bindings. I work in vim. I write my shopping lists in vim.

    I really can't overstate how ingrained vim is in my day to day life. Bram had a big impact.

    28
  • https://groups.google.com/g/vim_announce/c/tWahca9zkt4

    Bram Moolenaar, creator of vim, has died. If you are a vim user, consider donating to *International Child Care Fund Holland* - a charity Bram heavily supported. You can find the link on [vim.org](https://www.vim.org) :wq

    653
    43
    Why uppercasing every single word in topics became so popular?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLU
    LuckyJones
    1y ago 100%

    It's called Title Case. There are different rules depending on which style manual you're using. Some people just capitalise everything. Some people don't use it at all.

    47
  • Emissions are no longer following the worst case scenario
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLU
    LuckyJones
    1y ago 100%

    While the title of their article is correct, it's not exactly the full story. Human emissions as accounted for by the Global Carbon Project have leveled off but atmospheric CO2 and CH4 are still rising. (And in CH4's case, accelerating rapidly)

    Atmospheric CO2 vs. RCP

    Atmospheric CH4 vs. RCP

    While the leveling off is a big improvement, we are a very, very long way from fixing this and feedbacks are kicking in that may well make it impossible.

    And just for reference, here are the RCPs out to 2100:

    RCPs - CO2

    RCPs - CH4

    If you're interested, you can get RCPs here and observations from NOAA.

    3
  • https://iopscience.iop.org/article/10.1088/1748-9326/ac22c1/meta

    **tl;dr:** By 2050 global production of staple crops could fail every other year. > Changes in the probability of a crop yield failure across the global breadbaskets of maize, wheat, rice, and soybean are projected throughout mid-century. Yield failure probability varies by global crop breadbasket with large differences in runs without and with CO2 fertilization (table 1). Without **CO2 fertilization**, the probability of a crop yield failure increases to at least 50% with the exception of wheat (42%) in any given year in 2041–2060. Presently, rice and maize failures are extremely unlikely. By mid-century, a rice or maize failure within global breadbaskets will occur at least every other year. The "CO2 fertilization" mentioned here is increased plant growth due to higher CO2 levels and is theorized to potentially offset losses in wheat and rice. But ... [Global greening from CO2 fertilization appears to have reversed around 20 years ago.](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2022EF002788) > Here we use multiple long-term satellite leaf area index (LAI) records to investigate vegetation growth trends from 1982 to 2018. We find that the widespread increase of growing-season integrated LAI (greening) since 1980s was reversed (p-value < 0.05) around the year 2000 over 90% of the global vegetated area, and continued in only 10% of the global vegetated area. The reversal of greening trend was largely explained by the inhibitive effects of excessive optimal temperature on photosynthesis in most of the tropics and low latitudes, and by increasing water limitation (increasing in atmospheric vapor pressure deficit and decreasing in soil water availability) in the northern high latitudes (>45°N).

    11
    0
    Megathread for Reddit Blackouts and News - Week 1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLU
    LuckyJones
    1y ago 100%

    The RedReader developer (QuantumBadger) said they'd like to make it a more general reader app and include support for RSS and Lemmy. It would take a while to to it though. They would have to abstract a lot of the Reddit specific code.

    I hope they do it, it's a really nice app.

    7