 |
 |
 |
What is the last thing you thought?, Tech Edition |
|
Jul 31 2020, 12:19
|
Pillowgirl
Group: Gold Star Club
Posts: 5,458
Joined: 2-December 12

|
Used Audacity yesterday after a very long time to rip some stream audio, shit kept resetting my sound drivers so i had to rebalance my audio levels.
This post has been edited by Pillowgirl: Jul 31 2020, 12:19
|
|
|
Jul 31 2020, 16:27
|
sotaaikawabo
Newcomer
 Group: Members
Posts: 29
Joined: 18-April 17

|
still thinking if my 5$ mouse is worth it to be used in my computer than 150$ mouse in marketplace
|
|
|
|
 |
|
Aug 1 2020, 02:24
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,503
Joined: 22-August 12

|
I found a directory full of images I dumped from an artist's tumblr prior to the great purge Some of the image requests appear to have errored and been substituted for a yahoo 504 error message in HTML at the time of ripping. When viewed in a browser, it looked like this:  Thankfully however, there was a comment block in each of the HTML files containing the original full URL's to the images I'd requested at the time. For instance: CODE -snip- <body> <!-- status code : 504 --> <!-- Inactivity Timeout --> <!-- host machine: e17.ycpi.cha.yahoo.com --> <!-- timestamp: 1516605341.091 --> <!-- url: http://78.media.tumblr.com/a22903f5a446f7fde0dc1f9550f5b64c/tumblr_nhqmy8GohV1u6mb23o1_1280.jpg--> <table> -snip- Yes, they were using a <table> for that error page. Lovely, isn't it. This also tells me that I apparently dumped these about a year before the purge, in January 2018. I actually seem to remember dumping this tumblr sometime during the winter, so this feels roughly accurate. I'm assuming the server was returning Unix timestamps in seconds. Anyway, since tumblr didn't actually delete the files from their CDN, apparently, but just all references to them, I was able to write a small bit in my shell to re-download the images in question and complete my collection. CODE grep '<!-- url' *.jpg *.png *.gif| sed 's/.*url\: //;s/-->//' | while read line; do FILENAME="nkars_""$(basename "$line")"; wget "$line" -O "$FILENAME"; done I just ran that in the directory with all the dumped images, and used grep to find the ones that were actually just the error responses. The tumblr username in question was 'nkars,' so that's why I'm prepending it to the outputted file names. That's just the pattern I was using at the time for all the downloaded files. This means that the output filename would be (for the above example) 'nkars_tumblr_nhqmy8GohV1u6mb23o1_1280.jpg'. ------- I also made a dumb (and VERY ugly) bash script (might also work in other bourne-like shells) for verifying jpeg and png images (using pngcheck and jpeginfo). basically wrote it so I could pass png's and jpeg images to the same tool and not have to remember dumb syntax differences. It prints a list of all corrupt/invalid images to standard output. And I'm certain it won't work for other types of images in its current state. It will likely require GNU coreutils (at least for things like mktemp, which can be substituted for easily enough). CODE #! /bin/bash # run jpegfix first. won't work on .jpeg files ERRLOG="$(mktemp -t "XXX_verify.tmp.txt")"
cleanupfunc() # catches ^C and similar for cleanup duties { 1>&2 echo 'Cleaning up logs and exiting early. Will print all errored images found to console and exit.' cat "$ERRLOG" rm "$ERRLOG" exit 0 } trap cleanupfunc HUP INT QUIT ABRT TERM
while [ "$#" -gt 0 ]; do if [ "${1: -4}" == '.png' ]; then pngcheck "$1" 2>&1 > /dev/null PNGERR="$?" if [ "$PNGERR" -ne 0 ]; then # echo "Error: corrupt/invalid PNG: "'"'"$1"'"' 1>&2 # echo '(pngcheck returned '"$PNGERR"')' 1>&2 echo "$1" >> "$ERRLOG" fi elif [ "${1: -4}" == '.jpg' ]; then # do jpeg check # echo 'jpeginfo -c '"$1" jpeginfo -c "$1" 2>&1 > /dev/null JPEGERR="$?" if [ "$JPEGERR" -ne 0 ]; then # echo "Error: corrupt/invalid JPEG: "'"'"$1"'"' 1>&2 # echo '(jpeginfo returned '"$JPEGERR"')' 1>&2 echo "$1" >> "$ERRLOG" fi elif [ "${1: -5}" == '.jpeg' ]; then # do jpeg check jpeginfo -c "$1" 2>&1 > /dev/null JPEGERR="$?" if [ "$JPEGERR" -ne 0 ]; then # echo "Error: corrupt/invalid JPEG: "'"'"$1"'"' 1>&2 # echo '(jpeginfo returned '"$JPEGERR"')' 1>&2 echo "$1" >> "$ERRLOG" fi else # unknown file type echo "$1"': Unknown file type. Skipping.' fi shift done NUMFOUND="$(wc -l < "$ERRLOG")" if [ "$NUMFOUND" -gt 0 ]; then # echo '' 1>&2 # make new line echo 'Done. Found '"$NUMFOUND"' likely-to-be-bad files:' 1>&2 cat "$ERRLOG" else echo "Done; no errors detected. Doesn't mean they don't exist," 1>&2 echo "but we didn't find any of them, anyway." 1>&2 fi rm "$ERRLOG" This post has been edited by dragontamer8740: Aug 1 2020, 03:15
|
|
|
|
 |
|
Aug 1 2020, 08:00
|
EsotericSatire
Group: Catgirl Camarilla
Posts: 12,781
Joined: 31-July 10

|
Lol Arm's Chinese subsidiary has declared independence of its UK parent company.
Seems legit comrade.
|
|
|
Aug 1 2020, 08:55
|
elda88
Group: Gold Star Club
Posts: 16,206
Joined: 30-June 09

|
QUOTE(EsotericSatire @ Aug 1 2020, 14:00)  Lol Arm's Chinese subsidiary has declared independence of its UK parent company. Seems legit comrade.
Is that even legal?
|
|
|
|
 |
|
Aug 1 2020, 09:40
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,503
Joined: 22-August 12

|
QUOTE(loli-hujan86 @ Aug 1 2020, 02:55)  Is that even legal?
China: "I will make it legal." But really, fuck arm and its eye-pee bullshit. I hope they lose billions overnight. If they made a chip that was simultaneously the fastest and the cheapest option out there I wouldn't want anything to do with it. Here's to POWER9/POWER10 and SPARC (still technically alive). I'd love for MIPS to come back but that's looking less likely by the day, especially since around 2018 when Imagination Technologies got rid of it and I've seen zero progress from its new owners. Seems it's been taken out to the woods to die. Really the last time I think it stood a chance was around the mid-2000's. My routers (WRT54G series) and my playstation 2 are my newest MIPS computers. Funnily enough, a WRT54GS can have just as much RAM as a PS2 (at most). This post has been edited by dragontamer8740: Aug 1 2020, 09:55
|
|
|
|
 |
|
Aug 1 2020, 10:52
|
elda88
Group: Gold Star Club
Posts: 16,206
Joined: 30-June 09

|
What? AMD is only planning to launch midrange RDNA2 products in 1H 2021? If this turns out to be true, then I'm better off finding a discounted RX580. Another year with GCN. Unless they make significant price reductions for the RX5000 series in the coming months. Game bundles won't cut it.
|
|
|
Aug 1 2020, 10:54
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,503
Joined: 22-August 12

|
Why do you need a new GPU at all? Especially if you're currently running something expensive already. You're just contributing to e-waste.
|
|
|
Aug 1 2020, 14:44
|
blue penguin
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12

|
QUOTE(dragontamer8740 @ Aug 1 2020, 09:54)  Why do you need a new GPU at all?
pytorch? :3
|
|
|
Aug 1 2020, 18:39
|
Wayward_Vagabond
Group: Gold Star Club
Posts: 6,305
Joined: 22-March 09

|
Software keeps ratcheting up hardware demand. The market has shifted so instead of optimizing code down, hardware is optimized up instead.
|
|
|
Aug 2 2020, 02:41
|
elda88
Group: Gold Star Club
Posts: 16,206
Joined: 30-June 09

|
RDNA2 is supposedly to launch on October 7. AMD loves the number 7 right now. It'll be third time.
|
|
|
|
 |
|
Aug 2 2020, 06:04
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,503
Joined: 22-August 12

|
QUOTE(blue penguin @ Aug 1 2020, 08:44)  pytorch? :3
I run pytorch (waifu2x, really) on a GTX 750 Ti 2GB. I'd kind of like 4GB but it's not worth buying another bigger 750 Ti for. Speed is acceptable, especially when compared to CPU-only waifu2x(-cpp) on my laptop. QUOTE(Wayward_Vagabond @ Aug 1 2020, 12:39)  Software keeps ratcheting up hardware demand. The market has shifted so instead of optimizing code down, hardware is optimized up instead.
I've yet to actually experience something that my desktop cannot do with its 5 year old GPU. And moore's law for CPU's at least is plateaued (or close to it) at this point. My 10 year old laptop, with integrated GPU, sure. I can't run OpenGL 3.x stuff on that. But my desktop's still working fine and the used market for GPU's is in no short supply. Of course my computers aren't wasting CPU cycles trying to phone home and handle IRQ's of unknown origin from my network interfaces every couple seconds. QUOTE(Pillowgirl @ Jul 31 2020, 06:19)  Used Audacity yesterday after a very long time to rip some stream audio, shit kept resetting my sound drivers so i had to rebalance my audio levels.
Audacity wrecks my Audigy 2 in strange ways I'm never able to fully articulate/describe, and the only fix I've found has been to reboot. So I basically just use ffmpeg for audio capture, and audacity (with integrated audio) whenever absolutely unavoidable. This is rarely the case. Running Win32 audacity in Wine also seems to work alright but it's an abomination. QUOTE(sotaaikawabo @ Jul 31 2020, 10:27)  still thinking if my 5$ mouse is worth it to be used in my computer than 150$ mouse in marketplace
It's fine. Mine can't be more than $20 new (and that's with Lenovo's brand markup), and I have never felt a need to upgrade. A wired optical mouse with reasonably low DPI is all you need. I even kind of like mechanical ones, but there are some caveats there. This post has been edited by dragontamer8740: Aug 2 2020, 06:19
|
|
|
|
 |
|
Aug 2 2020, 08:12
|
EsotericSatire
Group: Catgirl Camarilla
Posts: 12,781
Joined: 31-July 10

|
QUOTE(loli-hujan86 @ Aug 1 2020, 14:41)  RDNA2 is supposedly to launch on October 7. AMD loves the number 7 right now. It'll be third time.
Depending on price I might go with RTX 3000 series or RTX 4000 series eventually.
|
|
|
|
 |
|
Aug 2 2020, 08:39
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,503
Joined: 22-August 12

|
I hate having to remember to charge the iOS devices I never use periodically or else lose my tethered jailbreaks. Two of my four devices I already owned back when untethered JB's were a thing, so those are fine. Two others I was given after that point, and the previous owners were stupid enough to update them regularly.
On one of them, the only way to get it back is to sideload a self-signed app, and since I don't have a modern enough working mac and Apple broke self-signing outside of xcode a while back I have to do USB pass-through in a QEMU/KVM VM to do the sideloading. Apple's signatures are only good for a week, too.
The other has a really unreliable webkit exploit, which sometimes takes 15 minutes of repeated attempts to successfully finish. That's still less annoying than the sideloading one, though.
----
I also just repaired my third PlayStation's disc drive by using parts from two or three broken chinesium drives I'd kept parts from. I found another dead drive I hadn't thought I had while cleaning out a drawer and it turned out to have the bit I was missing. It's a lot louder when seeking than it was before, but it works now. Will probably oil it in the morning and see how much that quiets it down. I'm still using the original laser assembly, just a different chassis and seeking motor/gear set (since the original sony gears didn't fit on their posts in the aftermarket drive chassis).
I really wanted this playstation to work because it has a better composite video and S-video output quality than the earlier units do. For my RGB screens this doesn't matter, but I also have a composite monitor where it definitely does. It also has a cool visualizer for the CD playback feature in the BIOS, unlike earlier models. I like the earlier models too because they're easier to mod though, and almost no one has working SCPH-1001's anymore it seems, on account of the original drives all failing. The earliest one I have also has a very different GPU and video generation technique than later ones used, with notable differences in the final picture and in the performance of certain effects. It's also the consumer console revision most closely related to the development hardware in terms of architecture. It's just got less RAM than the "playstation-on-an-ISA-card" boards.
This post has been edited by dragontamer8740: Aug 2 2020, 11:58
|
|
|
|
 |
|
Aug 2 2020, 15:16
|
EsotericSatire
Group: Catgirl Camarilla
Posts: 12,781
Joined: 31-July 10

|
There are a few of the Nintendo playstations about, it was fun when they repaired and got one working a few years ago. I can't remember if it could actually play games though.
|
|
|
Aug 2 2020, 16:29
|
elda88
Group: Gold Star Club
Posts: 16,206
Joined: 30-June 09

|
QUOTE(EsotericSatire @ Aug 2 2020, 14:12)  Depending on price I might go with RTX 3000 series or RTX 4000 series eventually.
Was really hoping to get RDNA2 this year. Alas, I can only afford midrange at most. RX560 is inadequate for Crysis 2 & 3 maxed out.
|
|
|
|
 |
|
Aug 2 2020, 22:48
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,503
Joined: 22-August 12

|
QUOTE(EsotericSatire @ Aug 2 2020, 09:16)  There are a few of the Nintendo playstations about, it was fun when they repaired and got one working a few years ago. I can't remember if it could actually play games though.
I only knew about one of those actually existing still. One that sold for way too much. I'm just talking the normal units. And the Nintendo "playstation" didn't play PSX games as we know them, either. IDK if any CD-based software for them exists. This post has been edited by dragontamer8740: Aug 2 2020, 22:49
|
|
|
|
 |
|
Aug 3 2020, 01:16
|
elda88
Group: Gold Star Club
Posts: 16,206
Joined: 30-June 09

|
After many months, only now figured out why the video downloader extension won't detect some video on Youtube. I finally saw a pattern. The extension doesn't recognize WEBM, only common video formats like MP4, AVI & MKV. Nothing to do with API keys, DRM or whatnot.
|
|
|
|
 |
|
Aug 3 2020, 02:15
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,503
Joined: 22-August 12

|
QUOTE(loli-hujan86 @ Aug 2 2020, 19:16)  After many months, only now figured out why the video downloader extension won't detect some video on Youtube. I finally saw a pattern. The extension doesn't recognize WEBM, only common video formats like MP4, AVI & MKV. Nothing to do with API keys, DRM or whatnot.
Why aren't you using [ github.com] youtube-dl? [ ytdl-org.github.io] Normie websiteIt works on far more sites than just youtube, btw. youtube-dl -F (uppercase F, it's important) will list format options, and -f (lowercase) can be used to specify which one to download. By default it'll choose the best possible quality. This post has been edited by dragontamer8740: Aug 3 2020, 04:18
|
|
|
|
 |
|
Aug 3 2020, 04:50
|
uareader
Group: Catgirl Camarilla
Posts: 5,594
Joined: 1-September 14

|
This morning, I found my computer out of session. My first thought was: what if someone managed to remote-connect to my computer? (Maybe I should turn off that thing when I don't use it (IMG:[ invalid] style_emoticons/default/mellow.gif) ) But it's ok, it's just that despite seeing the date of blocking Windows Update coming soon, I failed to reenable it manually, so it did its shit during the night, and rebooted without permission. It had been years since I experienced an auto-reboot of Win10, but it's still around heh (IMG:[ invalid] style_emoticons/default/dry.gif) edit: oh yeah, somehow quality and trust of H@H went unaffected, but it wasn't easy to get it started (it failed the initial connection test and stopped working 2 or 3 times, before a rer-run passed) This post has been edited by uareader: Aug 3 2020, 04:52
|
|
|
|
 |
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|