Posts
1538
Following
90
Followers
141
Riding horses, hacking computers, phones and smartwatch.
@pimterry @vfrmedia @geonz Cars don't have radios these days? I have ... many more radios then I need. One in car (I use that one), one in alarm clock, plus half of phones have FM receiver.
1
0
1
@TheyCallMeHacked I suspect camera may need more work than just a config file. It is quite recent development. But if you can figure it out, I guess patch will be welcome.
0
0
0
@gregkh Yes that is very bad when it happens. Too bad kernel CVE project and to a lesser extent Stable AUTOSEL is relying on same (anti-)pattern. :-(.
0
0
1
@catsalad -1 to indicate error, errno has the value? :-)
0
0
0
@tiotasram This whole "mainline linux on mobile" thing is quite new :-).
1
0
1
@tiotasram I thought Mobian was default choice these days? :-)
1
0
1
@q Yeah, Germany is abusing "random checks" to check every single person in every single bus for years now. It is not pleasant, and it is doubly not pleasant at 2am :-(.
0
0
0
@infobeautiful Well, you can use both 90+2 and 2+90 here...
0
0
0
@matidmgdef mapy.com is using openstreetmap data. Just use openstreetmap, instead.
1
0
0
Trump zuřil, že se na pohřbu všechno netočilo kolem něj.
Upřímně – ostatní byli naštvaní ze stejného důvodu.
0
0
2
@kuba77 And no, I don't believe Furi Labs do a good service to Linux community. Marketing Linux device that can't run mainline kernel is just not cool.
0
0
0
@kuba77 SailfishOS is not OSS. Android is closer to OSS than SailfishOS. I don't care about Android, and neither should you. Same goes for SailfishOS.
0
0
0
@Liberux Aha, so this is going to become powerful phone one day. Specs of the phone are listed (and quite high), but its expected weight is not. Also expected to be quite high? :-). I'm assuming this will be meant to run mainline kernel?And ... good luck.
0
0
0
@pancake If ads are designed to enhance overall experience, surely there's a way to turn them off? :-).
0
0
0
@kuba77 First, SailfishOS is non-free. Could get Nokia 6230 and would get nicer device :-). Second, no, 7 years is not enough. Nokia N900 should still be supported, and Motorola Droid 4 is still useful. PinePhone is 5 years...
1
0
0
@fell Finaly a use-case for LLM in browser! :-)
0
0
1
@mkyral @fabia_man @smoon Diky za doporuceni. Ja doporucim tohle (jmena kanalu na konci).

#!/usr/bin/python3

# ytcc?
# smtube?

# scp ~/bin/periodic-yt.py pavel@jabberwock.ucw.cz:~/incoming
# cd /data/film/yt
# find perun/ 8bit/ svine/ usagi/ ac-* vas-av/ blancolirio/ veteran/ veritasium/ spacetime/

# for A in .done.*; do echo 20240804 > $A; done
# sed -i s/20241210/20241205/ .done.*

import os
import subprocess
import datetime
import time

class YT:
def run(m, v, d):
# -r 3k
#~/bin/youtube-dl -f 'best[height<=480][abr<=64]' $1
#~/bin/youtube-dl -f 'worst[height>=480]' $1
#youtube-dl -f 'bestvideo[height<=720]/best[height<=720]' $1
#format = [ "-f", "worst" ]
#format = [ "-f", "best" ]
#format = []
#format = [ "-f", "worst[height>=1080],best" ]
#cmd = ["youtube-dl"] + format + v
# , "-q" -- quiet
cmd = ["yt"] + v
print(cmd)
subprocess.run(cmd, cwd=d)
#time.sleep(120)


def channel(m, url, name, num=1):
days = 1
num = num*days+2
url = "https://www.youtube.com"+url
done = '.done.'+name
if not os.path.exists(name):
os.mkdir(name)
start_date = "20220826"
if os.path.exists(done):
start_date = open(done, "r").readline()
now = datetime.datetime.now()
end_date = str(now.strftime("%Y%02m%02d"))

print("Start: ", start_date, " end: ", end_date)

m.run(["--dateafter", start_date, "--datebefore", end_date, "--playlist-end", "%d" % num, url], name)
open(done, "w").write(end_date)

#os.chdir(os.getenv("HOME")+"/incoming/yt/")
os.chdir("/data/film/yt/")
y = YT()

#g("https://www.youtube.com/watch?v=ykS6gUmcccI")


y.channel("/channel/UCF92X9gUd9m9XyFByej0UWA/videos", "svine")
y.channel("/channel/UCC3ehuUksTyQ7bbjGntmx3Q/videos", "perun")
y.channel("/@CombatVeteranReacts/videos", "veteran", 4)
#y.channel("/@europeancults/videos", "nabozenstvi")
y.channel("/@svetovanabozenstvi/videos", "nabozenstvi", 4)
y.channel("/@RFU/videos", "rfu")
y.channel("/@ReportazezUkrajiny/videos", "crfu")
y.channel('/@Gametheory101/videos', 'game101')
#y.channel('/@icarusproject/videos', 'icarus')

y.channel("/c/pbsspacetime/videos?ucbcb=1", "spacetime")
y.channel("/@SteveMould/videos", "sm")
y.channel("/c/veritasium/videos", "veritasium")
y.channel('/@3blue1brown/videos', "3blue")
#y.channel('/@Sideprojects/videos', 'side')
y.channel('/@MarkRober/videos', 'mrober')
y.channel('/@xkcd_whatif/videos', 'xkcd')

y.channel("/user/adric22?ucbcb=1", "8bit")
y.channel('/@UsagiElectric/videos', "usagi")
y.channel('/@TheLinuxEXP/videos', "lexp")
y.channel('/@RealEngineering/videos', 're')
y.channel('/@CleoAbram/videos', 'cleo')

y.channel("/@MentourNow/videos", "mentour2")
y.channel("/c/MentourPilotaviation/videos", "mentour")
y.channel("/user/blancolirio/videos?view=0&sort=dd&shelf_id=0f", "blancolirio")
y.channel("/c/theflightchannel/videos", "ac-flight")
y.channel("/c/VASAviation/videos", "vas-av")
y.channel("/c/MiniAirCrashInvestigation/videos", "ac-miniair")
y.channel("/c/AllecJoshuaIbay/videos", "ac-yoshua") #fix!
y.channel("/c/DisasterBreakdown/videos", "ac-disaster")

y.channel("/@VivaLaDirtLeague/videos", "vivala")

os.system("date")
0
0
2
@pid_eins @chergert @AdrianVovk @swick @pwithnall That would also warn about portable applications, so maybe don't...
1
0
0
@Annalee youtube-dl + mpv + its screenshot feature (s key)?
0
0
0
Show older