over_clox
@over_clox@lemmy.world
- Comment on Is it a good idea to use an Android phone as an external SSD for backing up my home folder? 20 hours ago:
Just randomly looking through my recent comments…
Yeah, I did just pull those words out of my ass, so it probably is something of a new twist on an old quote that originally said ‘basket’
If you really do use your spare phone as a data backup, well keep it safe and don’t carry it around with you, that’s how the eggshells end up getting broken…
- Comment on Is it a good idea to use an Android phone as an external SSD for backing up my home folder? 2 days ago:
Follow your gut instinct…
Modern phones are fragile eggs anymore, you might as well be putting all your eggs in one eggshell…
- Comment on ASCII characters are not pixels: a deep dive into ASCII rendering 2 days ago:
Meh, DOSBox is plenty suitable enough, and QBasic is easy enough to find…
winworldpc.com/product/qbasic/1x
I can’t promise that DOSBox emulated results will give the exact color results as original old-school hardware on an old CRT, but results should still be mighty close.
The raw input data files are pretty simple to generate with most graphics software, just downsample down to potato 80x25, then export to raw 888 RGB format.
- Comment on ASCII characters are not pixels: a deep dive into ASCII rendering 2 days ago:
Sure, have at it!
Sorry it’s not a full complete dump with examples, but it’s programmed in QBasic 1.1 and converts raw RGB pixel data into equivalent closest matching color halftone onscreen characters. I designed it in mind with DOS text modes of either 80x25, 80x43, or 80x50 text modes, but I’m sure the technique can work with any text mode that can properly render the old DOS block characters. But, I’m betting that whatever device you’re using right now is almost certainly not configured to display the old DOS block characters as they were back in the day.
Good luck!
REM TEXTPSET.BAS REM over_clox - February 26, 2008 DECLARE SUB DisplayRAW (FileName$, W%, H%) DECLARE SUB TextPSet (X%, Y%, R%, G%, B%) DECLARE SUB TextPixel (Red%, Green%, Blue%, Char$, FGround%, BGround%) DECLARE SUB HTMtoRGB (HTMColor$, Red%, Green%, Blue%) TYPE PaletteType R AS INTEGER G AS INTEGER B AS INTEGER END TYPE REDIM SHARED DOSPalette(15) AS PaletteType REDIM SHARED FakePalette(15, 7, 1 TO 3) AS PaletteType RESTORE FOR I% = 0 TO 15 READ HTMColor$ HTMtoRGB HTMColor$, R%, G%, B% DOSPalette(I%).R = R% DOSPalette(I%).G = G% DOSPalette(I%).B = B% NEXT FOR C% = 1 TO 3 C2% = 4 - C% FOR B% = 0 TO 7 FOR F% = 0 TO 15 R1% = DOSPalette(F%).R: R2% = DOSPalette(B%).R G1% = DOSPalette(F%).G: G2% = DOSPalette(B%).G B1% = DOSPalette(F%).B: B2% = DOSPalette(B%).B FakePalette(F%, B%, C%).R = (R1% * C% + R2% * C2%) \ 4 FakePalette(F%, B%, C%).G = (G1% * C% + G2% * C2%) \ 4 FakePalette(F%, B%, C%).B = (B1% * C% + B2% * C2%) \ 4 NEXT NEXT NEXT 'MS-DOS Text Mode 16 Color Palette DATA 000000,0000AA,00AA00,00AAAA,AA0000,AA00AA,AA5500,AAAAAA DATA 555555,5555FF,55FF55,55FFFF,FF5555,FF55FF,FFFF55,FFFFFF CMD$ = COMMAND$ IF CMD$ <> "" THEN DisplayRAW CMD$, 80, 25 ELSE DisplayRAW "LOGO.RAW", 80, 25 END IF 'DEF SEG = &HB800: BSAVE "LOGO.BSV", 0, 4000 COLOR 7, 0 DO: Hit$ = UCASE$(INKEY$): LOOP WHILE Hit$ = "" SUB DisplayRAW (FileName$, W%, H%) FileNum% = FREEFILE OPEN FileName$ FOR BINARY AS FileNum% CLS : WIDTH W%, H% ScanLine$ = SPACE$(W% * 3) FOR Y% = 0 TO H% - 1 GET #1, , ScanLine$ FOR X% = 0 TO W% - 1 R% = ASC(MID$(ScanLine$, X% * 3 + 1, 1)) G% = ASC(MID$(ScanLine$, X% * 3 + 2, 1)) B% = ASC(MID$(ScanLine$, X% * 3 + 3, 1)) TextPSet X%, Y%, R%, G%, B% NEXT NEXT CLOSE FileNum% END SUB SUB HTMtoRGB (HTMColor$, Red%, Green%, Blue%) Red% = VAL("&H" + MID$(HTMColor$, 1, 2)) Green% = VAL("&H" + MID$(HTMColor$, 3, 2)) Blue% = VAL("&H" + MID$(HTMColor$, 5, 2)) END SUB SUB TextPixel (Red%, Green%, Blue%, Char$, FGround%, BGround%) ' °±²Û (32,176,177,178,219) Diff% = 768: BGround% = 0 FOR F% = 0 TO 15 RDiff% = ABS(DOSPalette(F%).R - Red%) GDiff% = ABS(DOSPalette(F%).G - Green%) BDiff% = ABS(DOSPalette(F%).B - Blue%) NewDiff% = RDiff% + GDiff% + BDiff% IF NewDiff% < Diff% THEN Diff% = NewDiff%: Char$ = "Û": FGround% = F% END IF NEXT FOR C% = 1 TO 3 C2% = 4 - C% FOR B% = 0 TO 7 FOR F% = 0 TO 15 RDiff% = ABS(FakePalette(F%, B%, C%).R - Red%) GDiff% = ABS(FakePalette(F%, B%, C%).G - Green%) BDiff% = ABS(FakePalette(F%, B%, C%).B - Blue%) NewDiff% = RDiff% + GDiff% + BDiff% IF NewDiff% < Diff% THEN Diff% = NewDiff%: Char$ = CHR$(175 + C%) FGround% = F%: BGround% = B% END IF NEXT NEXT NEXT END SUB SUB TextPSet (X%, Y%, Red%, Green%, Blue%) TextPixel Red%, Green%, Blue%, Char$, FGround%, BGround% LOCATE Y% + 1, X% + 1: COLOR FGround%, BGround%: PRINT Char$; END SUB
- Comment on ASCII characters are not pixels: a deep dive into ASCII rendering 2 days ago:
Yeah, I don’t think that’s particularly feasible with my prime directives in coding things meant to render on a potato. If I’m ever gonna revisit that old code again, I want it to continue to be able to run on old-school 286 CPUs, real raw hardware.
Like sure I don’t mind writing old QBasic/QuickBasic code under an emulator, but if I’m writing on such an antiquated language for legacy hardware, I wanna be able to transfer it to a floppy disk and run it on actual hardware from the era.
Other than that, going back to the good old days, I don’t see much reason to do such coding on modern systems. Though I will say this much, neofetch and the newer fastfetch are pretty awesome character based sysinfo utilities!
I just don’t see myself trying to jump through conversion hoops such as ASCII to ANSI for such a project to even keep me awake…
- Comment on ASCII characters are not pixels: a deep dive into ASCII rendering 2 days ago:
I’m not exactly sure how I’d incorporate both techniques into the same rendering system though.
My method doesn’t use letters, numbers or punctuation characters, mine uses the DOS mode block characters, blank space, 25%, 50%, 75% halftone characters, and the 100% solid block character.
I could probably get a little closer with my method if I add in the upper half block and lower half block characters, but when using those characters I’m no longer able to use the halftone dithering and would be limited to 8 background and 16 foreground colors…
I dunno where I’d really even start (over) again to use alphanumeric characters with my text rendering method…
- Comment on ASCII characters are not pixels: a deep dive into ASCII rendering 2 days ago:
I made one myself many years ago for DOS, but mine renders in 512 pseudo halftone colors from a base palette of 16 colors. Results look pretty nice for whatever it’s worth, but yeah mine doesn’t focus on their efforts to get more crisp edges.
Still neat though, food for my thoughts even, should I ever revisit my old project.
- Comment on Interesting chart of how long stuff stays in your body. 4 days ago:
Splitting hairs you say?
Well, the hair follicle test goes back for months of hair growth, so…
- Comment on Interesting chart of how long stuff stays in your body. 4 days ago:
Hgurs
- Comment on I'm Single, I'm Pringle, and I'm Ready to Mingle... 4 days ago:
Ah, thank you. I was lazy LOL! Fixed…
- Comment on I'm Single, I'm Pringle, and I'm Ready to Mingle... 4 days ago:
Nope, more a piss poor attempt at poking at an old meme…
i.pinimg.com/…/8713d802ab34f1345f2bee7d376b64e8.j…
I just didn’t know it was actually a real product…
- Comment on I'm Single, I'm Pringle, and I'm Ready to Mingle... 4 days ago:
You’re welcome 😂🤣
- Comment on I'm Single, I'm Pringle, and I'm Ready to Mingle... 4 days ago:
This image is harder to find than you’d think. I hope it finds you well…
- Submitted 4 days ago to [deleted] | 10 comments
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 5 days ago:
Cool cool, and makes sense really.
According to a number of other comments, when such lighters are used in cleaner settings, they last a lot longer. But when used to light a pack of cigarettes a day, well the lighter gets dirty much more quickly and eventually starts shorting out.
Yes, bad habit, I know…
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 5 days ago:
Flint is actually more reliable in the long run than those electric clicker things, so yeah that’s awesome actually 👍
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 5 days ago:
Yay Dollar Tree! … ☹️
Yeah though, even the refillable ones have their faults. The clicker spark button igniter thing tends to end up breaking all on its own within around ~10 refill cycles, at least in my experience.
I’m all about renewable and reusable tech, and I’m actually happy to have this lighter as long as I can keep it lasting, but sadly nothing lasts forever…
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 5 days ago:
You have a good point regarding not keeping flammable fluids in your camping gear, honestly I’ve barely even thought about factors like that.
I have done some basic tests with my arc lighter, and I figure that if you’re gonna keep something like this in your camping gear, then either have a small pack of toothpicks packed in, or be ready to use a dry twig.
Either way, it’s really easy to start a flame with one of these lighters by lighting a thin and dry stick to start with.
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 5 days ago:
Except for the ones that aren’t.
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 5 days ago:
Please ignore user village604, they clearly don’t know what they’re talking about when they said electric arc lighters are supposedly harmless.
They are most certainly not harmless, in fact they’re as dangerous, if not more, than a regular lighter.
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
Oof ⚡
Yeah I hear you there, even without a metal mesh screen, they’re not all that great for lighting pipes or bongs, that’s still best left to a good old trusty Bic lighter.
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
That’s actually a sort of interesting thought.
I’m not sure if you’d get much out of such a self winding recharge mechanism like that though, as those self winding watches basically rely on your arms swinging as you walk/jog/run around.
Still a nifty idea. I could see one designed without any battery at all and just a little flip out hand crank handle instead. Not like it should take more than 5 seconds or so to light a doobie, so it wouldn’t be all that inconvenient, and you’d never have to bother charging it…
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
That’s awesome! 👍
Going by other comments here, apparently candle wax vapor/deposits isn’t nearly as electrically conductive as nicotine/tar/ash buildup, so basically everyone saying they use theirs to light candles has indeed reported these sort of lighters for many years with no problems.
Things get a lot dirtier a lot quicker and end up eventually shorting out when used to light a pack of cigarettes a day. Yeah, bad habit I know, but at least I know how to clean and maintain mine when it starts acting up.
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
I think the biggest flaw with mine in particular is that they put a chrome plated (electrically conductive) beauty cover cap over the ceramic insulator for the electrodes. ⚡🤦♂️
When everything is perfectly clean it works just fine. But over time, especially when used to light a pack of smokes a day, nicotine, tar and ash build up over the ceramic which ends up leading to electricity bleeding through the tar, shorting out to the chrome plating, leading to a short circuit, incorrect arcing, and pretty rapid failure of the electrodes.
If it had been designed without the chrome plated beauty cover cap, it would most likely last damn near forever without having to bother cleaning it all that much, but sigh, it’s piss poor engineering to put a conductive cover over high voltage arcing electrodes.
Regardless, at least I know how to safely clean and maintain it, and indeed its already saved me countless disposable lighters. But for the average person, the moment it shorts out through the chrome and into the metal shell, and literally zaps the person holding it, most people would basically say fuck that and toss it the moment they get electrocuted.
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
It’s not even loud yo. Are your ears okay?
I’m no medical expert, but I’ve had hypersensitive hearing before.
You might wanna check in with an ENT (Ear, Nose, Throat) doctor if you can…
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
It’s dangerous out there, take Whiskers Jelly with you…
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
😂🤣
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
I was gonna look up something else, but found this first. Enjoy…
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
I found that micro heatshrink/thermalfit works best over the solder splices for the replaced electrodes. I made sure to stagger the splices as well, to avoid any further internal arcing.
- Comment on Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste. 6 days ago:
Oh, I definitely hear that sound too, I’m pretty sure many people do. It doesn’t bother me though, its only like 3 to 5 seconds, not like the sound is on repeat.
Now as far as your cats… 😺