 |
 |
 |
What is the last thing you thought?, Tech Edition |
|
|
 |
|
Sep 23 2023, 11:49
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
I grab pickles from a jar with a fork. Also I have a really crappy user script that resizes images on here to roughly fit my screen. It doesn't always work, but it works well enough that I don't have to horizontally scroll very often. Feel free to try it. Unsure, but there might also be a better script someone else wrote to do the same job on these forums somewhere. CODE // ==UserScript== // @name EH Forums Constrain to Screen Width // @namespace dragontamer8740.ehfWidth // @description E-H Forums: Force posts to fit in screen width so horizontal scrolling is not necessary. // @include https://forums.e-hentai.org/index.php* // @include http://forums.e-hentai.org/index.php* // @version 1 // @grant none // ==/UserScript== function vw(){ return Math.min(document.documentElement.clientWidth, window.innerWidth || 0); } function vh(){ return Math.min(document.documentElement.clientHeight, window.innerHeight || 0); } function fitWidth(img){ // offset for things I'm too lazy to find influencing width. // 2 appears to be the bare minimum but I use 4 because no reason. var miscPadding=4; var currPostWidth=document.querySelectorAll(".tablebg")[0].clientWidth; var diff=currPostWidth-vw(); // Fill, but don't stretch beyond 100% normal size if(document.documentElement.clientWidth-diff-miscPadding <= img.naturalWidth) { img.style.width=String(document.documentElement.clientWidth-diff-miscPadding)+'px'; } img.style.height= "auto"; } function doFit(){ var i=0; /* select all images embedded in post fields */ /* note: I don't think this counts signature images */ var images=document.querySelectorAll("div[id^=post-] img"); while(i<images.length) { /* every 800 milliseconds, try to resize the image to the current setting until successful.*/ /* stop after 16 attempts */ var not_reapplied=true; var apply_count=0; function wait_reapply(){ img=document.getElementById("img"); if (apply_count<16 && (not_reapplied && img==null)){ setTimeout(wait_reapply, 800); } else { reapplyFit(); not_reapplied=false; apply_count++; } } wait_reapply(); console.log(images[i].src); images[i].style.height="auto"; images[i].style.margin="0px"; fitWidth(images[i]); i++; } } doFit(); /* in case browser isn't done loading images (which is likely if not cached) */ window.addEventListener('load', doFit, false); This post has been edited by dragontamer8740: Sep 23 2023, 11:57
|
|
|
|
 |
|
Sep 24 2023, 21:26
|
uareader
Group: Catgirl Camarilla
Posts: 5,593
Joined: 1-September 14

|
Was watching on TV a scientist say: "What would we do if we found aliens we may communicate with too far from us? There would be so many things to say, in so many ways. I would send them Google servers. I would send them Internet. And see what they do with that." If one day Tenboro see a massive surge of inscriptions without being able to identify the location of Earth of those new users, he may have the honor of being the chosen human to receive the answer to such a message, due to his site having gotten attention that way. (IMG:[ invalid] style_emoticons/default/laugh.gif) (IMG:[ invalid] style_emoticons/default/laugh.gif) (IMG:[ invalid] style_emoticons/default/laugh.gif) (IMG:[ invalid] style_emoticons/default/laugh.gif) (IMG:[ invalid] style_emoticons/default/laugh.gif) This post has been edited by uareader: Sep 24 2023, 21:27
|
|
|
|
 |
|
Sep 25 2023, 09:04
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
Got myself a Game Boy Color flash cartridge - not one with an SD card or anything like that; just one that I can put in a special device for dumping/flashing game boy carts that I can write games to. Threw Shantae on there. Cost of cart + programmer: $50 or so. Additional carts of this type without a programmer would be about $30 each. Cost of loose original copy of Shantae for Game Boy Color: ~$400=$1,000. I feel no guilt.
Also this cart has some switches on it that I can flip, so I decided to put a copy of a Pokémon ROM hack in the remaining space. Though I need to open the cart up to flip the switches to put it in "Pokémon Mode."
This post has been edited by dragontamer8740: Sep 30 2023, 00:08
|
|
|
|
 |
|
Sep 30 2023, 00:08
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
IDK if there's a good place to put this, since it's not a script for this site, but I just made a userscript that redirects you through F95zone's "link masking" (where they hide the actual URL from you for the filehosting site you're going to navigate to). Still need to be logged in, unfortunately. Not sure there's anything I can do about that. Nice for if you're opening a bunch of tabs at once, though, when you have new tabs set up to open in the background and can just middle click a whole bunch of links in a row. [ gitlab.com] Source code for script[ gitlab.com] script installable link (i think) [ gitlab.com] All of my other scripts---- I got an SXGA+ (1400x1050) 12" LCD for my thinkpad X61 tablet, since the original had bubbles under the glass and I broke it while trying to separate the glass pane from the panel itself. It really cost far too much to get one from an X60 tablet (the one which doesn't have a layer of pine tar-like glue in between the glass and the panel itself), since all the ones on aliexpress probably are x61 screens where they've dissolved the glue and replaced the polarizer with an inferior one... but I do like the results. And the alternative (using a 1024x768 panel) is unacceptable to me. Also need to swap the fan on it since it rattles. But that's going to be really annoying to get to, since it's underneath the main board. At least I can practice by removing the board from the donor X60 tablet before doing it on the X61. ---- Just swapped the fan in my X61 tablet thinkpad with one from the X60 I used as a screen donor. The one in the 61 was rattling badly when not lying on a perfectly flat surface. Not sure all the screws are still in the right places, but most of them are and it's working fine for now. Also replaced the thermal compound; we'll see if this helps with temperatures or not. Actually, that X60 also has been a donor for the entire lid portion of this laptop, as well as the keyboard bezel/palmrest. So it's coming up on being more of an X60 with an X61's motherboard, keyboard, and chassis. The colorful IBM red/green/blue badging is a nice plus. It's what I always remembered thinkpads having, even if they've been lenovo for just about as long or maybe longer now. Even this one still has a little lenovo badge below the LCD. ---- Edit: Replacement fan from parts laptop is buzzing now, too. Fuck. Ordered one from China; no domestic sellers at the moment, and all the secondhand laptops online are too expensive to justify it. It'll be here in a month. This post has been edited by dragontamer8740: Sep 30 2023, 23:22
|
|
|
|
 |
|
Oct 1 2023, 09:51
|
silverwaretooth
Newcomer
 Group: Recruits
Posts: 37
Joined: 30-September 23

|
You seemed very knowledgeable with technology.
|
|
|
|
 |
|
Oct 1 2023, 10:28
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
Thank you.
I just spend too much time screwing around with it. I really think anyone can, if they're determined enough to not spend money on stuff and also force themselves to do things the hard way sometimes. Otherwise I never really learn why something works how it does.
Now if only i could get a job where I didn't hate/feel completely disinterested in what I was doing. It wouldn't have to pay amazingly if it was enough to live on and not be going paycheck to paycheck.
Unfortunately though being knowledgeable about some kinds of technology doesn't show up on a resume very well, especially when half your stuff is related to adult content so you can't include it as projects you've worked on for most companies you'd apply to. And I sort of doubt sites like e-hentai have full time developers. And 'live-action'/real people adult sites like pornhub don't interest me, even if they are hiring.
I am happy that I know what I know, and I don't intend to stop doing the kinds of things I do. Just wish I could use what i know in a way that didn't make me feel guilty about what I was doing or completely dead inside.
So yeah, that's the last thing I thought.
----
Also been working on doing a relatively minimal source port of the QuakeWorld client and server to modern linux. Changing the sound system from using OSS to SDL, fixing some small bugs that stop it from working right, upping the amount of memory it can use to support higher resolutions in the software-rendered version. It's still going to play music off a CD, though, rather than from files stored on the computer. You can always emulate a virtual CD drive though.
I also hate how all the modern quake clients are the OpenGL version instead of software rendered Quake (the original way it was released).
I hate how all the modern quake clients try to add a bunch of features and make it less like the original game.
I already have WinQuake/XQuake (X11 quake for Linux/Unix) totally working; QuakeWorld is my next step for better multiplayer support. Been working directly from the otherwise untouched the John Carmack/Id Software source release to keep it faithful.
Honestly, the Quake source code is pretty good and easy to read, and most of it still basically works/is sound logically. I also like that they implemented both pure-C and assembly versions of things that they had optimized for x86, which means that it can be easily ported to other architectures if you're okay with lower performance. Build system is a little finnicky, but not super bad either.
Already got the QuakeWorld client to build and start, but it crashes pretty early on so I just have to figure out why that is.
Edit: Got it all patched up and working wonderfully. Played a long session on it today on my desktop. But then it crashes when I copy the binary to another computer. Curious. Guess I have more to do still.
---
And on another note, importing a PC-9801 derivative computer (a clone by Epson). Got it pretty cheap. Hoping it still works. Seller said it did when it was stored, and it has its original box. Just worried the battery could have leaked out and destroyed everything.
If it still does work, though, then it'll be a lot of fun. It's got a 486 in it, and an FM sound C-bus card. Might cost more to ship it than I paid for it.
This post has been edited by dragontamer8740: Oct 2 2023, 09:54
|
|
|
|
 |
|
Oct 2 2023, 14:38
|
Ass Spanker
Group: Gold Star Club
Posts: 4,184
Joined: 25-July 12

|
Broke my M40x cup recently. Technically still usable after I threw some superglue in but I reckoned it be time for me to get something new. Got 770 Pro because everyone and their mom recommend that pair. Doesn't fit on my huge head.
|
|
|
Oct 3 2023, 00:00
|
EsotericSatire
Group: Catgirl Camarilla
Posts: 12,644
Joined: 31-July 10

|
QUOTE(Ass Spanker @ Oct 2 2023, 02:38)  Broke my M40x cup recently. Technically still usable after I threw some superglue in but I reckoned it be time for me to get something new. Got 770 Pro because everyone and their mom recommend that pair. Doesn't fit on my huge head.
It doesn't have a metal band so you can adjust it for your head? Maybe I am thinking of a different model.
|
|
|
|
 |
|
Oct 3 2023, 05:47
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
Still playing quake. Still not 100% sure why no one else has bothered to make or maintain a nice faithful software-rendered version for modern systems. There's plenty of OpenGL ones. Had to help a friend who is using windows to unpack the resources from a quake install CD manually since they wanted to use software rendered WinQuake as well, and the installer on their disc was 16-bit (therefore unable to run on windows 10). It used the LH5 variant of LHA compression. Also I found a great bug report. All alsa sound broken on 32-bit linux (programs segfault). [ bugs.debian.org] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051901So someone didn't test their builds on either 32 bit x86 or arm before releasing. And that's why my Quake builds were breaking, too!! - I hadn't done anything wrong. This post has been edited by dragontamer8740: Oct 3 2023, 08:12
|
|
|
|
 |
|
Oct 3 2023, 08:21
|
Ass Spanker
Group: Gold Star Club
Posts: 4,184
Joined: 25-July 12

|
QUOTE(EsotericSatire @ Oct 3 2023, 06:00)  It doesn't have a metal band so you can adjust it for your head? Maybe I am thinking of a different model.
No I mean my skull is literally too big for this thing to physically fit unless I manually mod it somehow. Even when the band is hugging my scalp, I struggle to fit my ears into the ear pads.
|
|
|
Oct 3 2023, 13:53
|
uareader
Group: Catgirl Camarilla
Posts: 5,593
Joined: 1-September 14

|
Got my first keyboard with backlight. Thus learned it may be ok if the keyboard is completely useless with unreadable keys if the light is off for any reason. And too bad for the users some special keys (like media keys or keyboard features control keys) are not backlighted and barely more visible than the others (and invisible in the dark of course)
|
|
|
|
 |
|
Oct 3 2023, 19:31
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
QUOTE(uareader @ Oct 3 2023, 07:53)  Got my first keyboard with backlight. Thus learned it may be ok if the keyboard is completely useless with unreadable keys if the light is off for any reason. And too bad for the users some special keys (like media keys or keyboard features control keys) are not backlighted and barely more visible than the others (and invisible in the dark of course)
Best (and only) backlit keyboard I ever had was a secondhand logitech K800. Its only problem was unreadablekeys in darkness, but it didn't matter because I can touch type and the keys were in pretty standard positions. Well actually I had some thermaltake mechanical keyboard with blue backlight as well because a friend of mine spilled mountain dew on it and gave it to me. Worked okay after cleaning it out but I don't care for cherry clicky switches much. No tactility. Also had the dim legends problem. Actually the powerbook g4 keyboard was available backlit, mine's just the non-backlit version. Still uses the same keycaps though. Because the keys are silver instead of black, the legends are visible. Shell script to download the latest .deb package of the Signal desktop client for linux (without having to add an apt repository): CODE #! /usr/bin/sh wget --quiet https://updates.signal.org/desktop/apt/dists/xenial/main/binary-amd64/Packages.gz -O - | \ zcat | \ grep Filename | \ sed 's!Filename: !https://updates.signal.org/desktop/apt/!' | \ sort -V | \ tail -n 1 | \ xargs wget I hate it when people make repositories for singular programs and refuse to give direct links on their sites. This post has been edited by dragontamer8740: Oct 3 2023, 19:42
|
|
|
|
 |
|
Oct 4 2023, 05:21
|
elda88
Group: Gold Star Club
Posts: 16,088
Joined: 30-June 09

|
My phone's battery is so swollen, the back cover of the phone popped off. Is it safe to continue to using the phone? Is the risk of catching fire while charging?
|
|
|
Oct 4 2023, 08:12
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
QUOTE(elda88 @ Oct 3 2023, 23:21)  My phone's battery is so swollen, the back cover of the phone popped off. Is it safe to continue to using the phone? Is the risk of catching fire while charging?
You may be able to use it for a bit, but I would not put it in a pocket and I would get it fixed as soon as possible. It could break the screen (or explode) if handled wrong as it is. Simple answer: please get it fixed. Don't push your luck. If it's popped the cover off, then it just makes it easier to get the battery replaced hopefully. This post has been edited by dragontamer8740: Oct 4 2023, 08:13
|
|
|
|
 |
|
Oct 4 2023, 13:33
|
Ass Spanker
Group: Gold Star Club
Posts: 4,184
Joined: 25-July 12

|
QUOTE(elda88 @ Oct 4 2023, 11:21)  My phone's battery is so swollen, the back cover of the phone popped off. Is it safe to continue to using the phone? Is the risk of catching fire while charging?
Don't, go exchange the battery or use this occasion to get a new phone if you feel like it.
|
|
|
|
 |
|
Oct 5 2023, 03:54
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
Been staring at rainbow chromatic aberration effects from composite video for so long today while working on tuning a software temporal comb filter for my laserdisc captures that now I'm imagining rainbowing artifacts on everything else on my screen.
Also, lifted the write protect pin on an eeprom (or flash, idk) chip on my laptop LCD's controller board so I could reflash the EDID data and make the panel run at 60Hz instead of 50Hz.
It worked. Used a shaving razor blade (still partially wrapped in its wax paper) to do the actual pin lifting.
|
|
|
|
 |
|
Oct 5 2023, 06:00
|
elda88
Group: Gold Star Club
Posts: 16,088
Joined: 30-June 09

|
QUOTE(dragontamer8740 @ Oct 4 2023, 14:12)  You may be able to use it for a bit, but I would not put it in a pocket and I would get it fixed as soon as possible. It could break the screen (or explode) if handled wrong as it is.
Simple answer: please get it fixed. Don't push your luck. If it's popped the cover off, then it just makes it easier to get the battery replaced hopefully.
QUOTE(Ass Spanker @ Oct 4 2023, 19:33)  Don't, go exchange the battery or use this occasion to get a new phone if you feel like it.
Forgot to mention the phone is the with "integrated battery" type of phone. It is still possible to merely have battery replaced instead of buying a new phone? Add: Yeah, sure. No harm looking around for phone repair shops and asking them first about the battery. This post has been edited by elda88: Oct 5 2023, 06:05
|
|
|
|
 |
|
Oct 5 2023, 13:57
|
Moonlight Rambler
Group: Gold Star Club
Posts: 6,461
Joined: 22-August 12

|
QUOTE(elda88 @ Oct 5 2023, 00:00)  Forgot to mention the phone is the with "integrated battery" type of phone. It is still possible to merely have battery replaced instead of buying a new phone? Yes. Just mote annoying to do so. A phone repair shop (if you have those where you are) should be able to do it if you don't want to.
|
|
|
|
 |
|
Oct 5 2023, 14:41
|
Ass Spanker
Group: Gold Star Club
Posts: 4,184
Joined: 25-July 12

|
QUOTE(elda88 @ Oct 5 2023, 12:00)  Forgot to mention the phone is the with "integrated battery" type of phone. It is still possible to merely have battery replaced instead of buying a new phone?
Possible, just not plug'n'play kind of easy. Unless you have a very niche OEM phone, it's likely you will find a few tutorial videos on youtube. If you have never done it before, do consider if it's worth the time, efforts, and the risk of you messing up. Personally I would just buy a new phone. If you have been using the phone long enough for the battery to swell that much, probably time for an upgrade. This post has been edited by Ass Spanker: Oct 5 2023, 14:41
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|