Welcome Guest ( Log In | Register )

455 Pages V « < 305 306 307 308 309 > »   
Reply to this topicStart new topic
> What is the last thing you thought?, Tech Edition

 
post May 9 2021, 19:08
Post #6121
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


I gave up on trying to get GM.setVal and GM.getVal working on Greasemonkey 4.0.

I have an old user script I wrote for Greasemonkey 3.x, and it works in violentmonkey as well, but because they changed the GM* functions to all be asynchronous in GM4 (which should be a good thing) I no longer have any idea how the fuck I get an actual value out of the "promises" that the GM.getVal() function returns.

No matter how many guides I see and how much documentation I read, I guess I'm just too stupid for asynchronous Javascript. Even the workarounds like await() don't seem to do jack shit. Maybe I should make an await() be the topmost line of code in the script and wait for getVal() to finish before I do absolutely anything else. Maybe I should make my entire userscript be the contents of an anonymous callback function.

I just really hate programming like that, which both makes my code way uglier and way longer, so I'm just going to stick to GM 3.x in the browsers that still use it and ViolentMonkey for the ones that don't.

Not a huge fan of violentmonkey either, since some of the source is hard to read (i.e., possibly obfuscated on purpose). Really would like to get it working in greasemonkey.

Maybe I'll try [addons.mozilla.org] firemonkey.

I might try the thing I just mentioned (the callback thing) later on, but I am too annoyed in this exact moment. For things like user scripts which are supposed to be kind of easy to write quickly to accomplish useful tasks, it seems strange that Greasemonkey would require users to understand asynchronous javascript to write them with things like persistent storage. Kind of makes them even less accessible and user friendly than they already were, and raises the entry barrier.

P.S.: Fuck tampermonkey, that proprietary licensed piece of shit. If you are using it, switch to something else.
The last code commit on the public source repo on github is from 2015; since then they've added an issue template and changed the readme; nothing else. The source corresponds to version 2.9. They are currently on 4.12 and obfuscate their releases.

Edit:
Just installed firemonkey, even my complicated user scripts like a twitter media dumper tool seem to be working. Excellent.
QUOTE(uareader @ May 9 2021, 13:04) *
Thought:
The "change size of the mouse cursor" thing of Windows may be surprisingly useful when I read 100% text things for afar with a 300% browser zoom.
Is that the thing where moving the mouse faster makes the cursor larger or something (To easily locate the cursor when you've not used it in a while)?

I haven't seen it in Windows yet, but Mac OS has had it for a while now and it annoys the fuck out of me there.

There are valid use cases, yes, but I still don't really like it. No objectively wonderful reason except "me no like change," though.

This post has been edited by dragontamer8740: May 9 2021, 19:30
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2021, 23:00
Post #6122
RepStormy



Casual Poster
***
Group: Members
Posts: 216
Joined: 14-November 20
Level 90 (Lord)


I just realized that my laptop has an M.2 port, even though I use a SATA 3 SSD

I can't afford to buy an M.2 SSD, but it's curious to know that detail
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2021, 00:10
Post #6123
uareader



Critter
*********
Group: Catgirl Camarilla
Posts: 5,594
Joined: 1-September 14
Level 500 (Ponyslayer)


QUOTE(dragontamer8740 @ May 9 2021, 19:08) *
Is that the thing where moving the mouse faster makes the cursor larger or something (To easily locate the cursor when you've not used it in a while)?
Nah, it really just change the cursor size, no more, no less.
At max size, I could fit 8 cursors vertically at 2560x1440, but I just need size 2 or 3 when using it as stated earlier (portrait mode, text zoomed by 300%, at a distance from the screen)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2021, 01:45
Post #6124
Pillowgirl



Grammatically Incorrect (☞゚∀゚)☞
*********
Group: Gold Star Club
Posts: 5,458
Joined: 2-December 12
Level 485 (Godslayer)


QUOTE(RepStormy @ May 10 2021, 07:00) *

I just realized that my laptop has an M.2 port, even though I use a SATA 3 SSD

I can't afford to buy an M.2 SSD, but it's curious to know that detail

A M.2 1TB SSD costs 100$.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2021, 07:31
Post #6125
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


I kind of wonder if HDD's or SSD's currently have a notably greater profit margin on them right now, after considering supplies/energy/time costs for production.

My gud tells me SSD's are quite lucrative but I know just slightly more than fuck-all about how their manufacturing processes work (I know how most non-volatile memory types work/are made, that's about it).

This post has been edited by dragontamer8740: May 10 2021, 07:33
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2021, 13:48
Post #6126
EsotericSatire



Look, Fat.
***********
Group: Catgirl Camarilla
Posts: 12,772
Joined: 31-July 10
Level 500 (Ponyslayer)


QUOTE(dragontamer8740 @ May 9 2021, 19:31) *

I kind of wonder if HDD's or SSD's currently have a notably greater profit margin on them right now, after considering supplies/energy/time costs for production.

My gud tells me SSD's are quite lucrative but I know just slightly more than fuck-all about how their manufacturing processes work (I know how most non-volatile memory types work/are made, that's about it).


SSDs have the highest margin if you are the run the fab for the nand, then the margin on the products is around 30% profit.

If you are buying nand the profit is lower and can be much lower, though some brands go for lower quality nand to lower costs.

hard drives depend largely on variable costs but I don't think the margin is as big. Many of the big hard drive manufacturers moved production to countries with lower labor costs to try to maintain profits.

At its peak, the margin was the same for hard drives but then fell to 19% and has been slowly declining. I am not sure if I interpreting the reports correctly but looks to be 11-15% profit margin now for traditional hard drives.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2021, 15:42
Post #6127
RepStormy



Casual Poster
***
Group: Members
Posts: 216
Joined: 14-November 20
Level 90 (Lord)


QUOTE(Pillowgirl @ May 9 2021, 18:45) *

A M.2 1TB SSD costs 100$.


I know, although for now I am not able to buy it, because my phone died

Priorities
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2021, 15:57
Post #6128
EsotericSatire



Look, Fat.
***********
Group: Catgirl Camarilla
Posts: 12,772
Joined: 31-July 10
Level 500 (Ponyslayer)


QUOTE(Pillowgirl @ May 9 2021, 13:45) *

A M.2 1TB SSD costs 100$.


Prices have inflated here over the past six months.

The closest I could find was 125 and the average is 150
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2021, 21:10
Post #6129
Wayward_Vagabond



ii-Kagen ni Shiro.
*********
Group: Gold Star Club
Posts: 6,305
Joined: 22-March 09
Level 387 (Dovahkiin)


Ordered protoboard, 1N4148 and BTY133TA (basically a 1N4007) diodes, and a bunch of passives from digikey. Somehow my diode box has bookoo zeners, but is shy on nornal rectifier and switching/signal diodes.


Anybody have a cheat sheet for using transistors as relay drivers, logic inverters, etc handy? Think I found a good active low driver, but need to switch another active low line with a likewise signal, and need an active high line to be active low.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 11 2021, 07:26
Post #6130
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


QUOTE(Wayward_Vagabond @ May 10 2021, 15:10) *
Ordered protoboard, 1N4148 and BTY133TA (basically a 1N4007) diodes, and a bunch of passives from digikey. Somehow my diode box has bookoo zeners, but is shy on nornal rectifier and switching/signal diodes.
Anybody have a cheat sheet for using transistors as relay drivers, logic inverters, etc handy? Think I found a good active low driver, but need to switch another active low line with a likewise signal, and need an active high line to be active low.
Really sorry, but transistors fry my brain and I always forget how to do biasing. If I had a sheet for you I'd definitely share because I need one, too.
I do have a copy of "the art of electronics" (an old edition; I think second edition since it talks about the Motorola 68000) that I could look in.

For logic though, here's some links (though idk how useful they'll be to drive actual loads; I typically cave in and use 7400-series chips and MOSFETs).

Do you want resistor-transistor logic, diode-transistor logic, transistor-transistor logic, or something else?

[hyperphysics.phy-astr.gsu.edu] http://hyperphysics.phy-astr.gsu.edu/hbase...ic/trangate.htm
[www.cs.bu.edu] https://www.cs.bu.edu/~best/courses/modules...nsistors2Gates/

This post has been edited by dragontamer8740: May 11 2021, 08:05
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 11 2021, 13:51
Post #6131
Wayward_Vagabond



ii-Kagen ni Shiro.
*********
Group: Gold Star Club
Posts: 6,305
Joined: 22-March 09
Level 387 (Dovahkiin)


Not logic perse so much as slow status signals that are either driven by a relay/switch contact, or open collector transistor- slow stuff that's either tied to a rail or floating.
This looks relevant for a relay driver- I could probally just use a divider with maybe 1K5 and 510R to get the 3V3 for Q1.
(IMG:[i.stack.imgur.com] https://i.stack.imgur.com/MBk6W.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 11 2021, 16:34
Post #6132
uareader



Critter
*********
Group: Catgirl Camarilla
Posts: 5,594
Joined: 1-September 14
Level 500 (Ponyslayer)


In the anime Jungle wa Itsumo, the characters can be seen playing with a Game Gear.
Make me realize that in most cases back in the day, they would play with a Game Boy instead (death flag for Sega?).
And nowadays we have tons of ways to slightly change PS or PSX to make a fictional console in animes (IMG:[invalid] style_emoticons/default/rolleyes.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 11 2021, 22:33
Post #6133
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


Hakuneko represents everything I hate in software design. I especially hate how the git repository is > 1GiB and how it's an electron app with a terrible UI. Just give me a goddamn CLI tool in python or something.

To add insult to injury the binary releases are only made in installer and package manager archive formats; there's no plain zip or tar archive with the binaries in it. So I have to extract the .deb archive to run it without installing (it works fine like that). And the chrome sandbox binary included with it (totally unnecessary btw) has the setuid bit set.

Oh yeah, and they have a d*scord, and a d*scord presence plugin

I just wanna download a qt 3.14 wholesome succubus comic with an english translation (english title "I Brought Home a Succubus Who Failed to Find a Job")

The JP version's here, btw

Also it uses 'mangas' as the plural of manga, which is wrong and even Firefox's spell checker knows it

P.S. I wish there were some sfw manga sites that actually worked as well as ehg does (especially ones that let you actually download stuff normally and don't kill my browser with horrible design bloat).

This post has been edited by dragontamer8740: May 11 2021, 23:50
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 16 2021, 09:12
Post #6134
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


Just had to open up my powerbook G4 to try to reflow the DC connector; they made it a real pain in the ass to get to. I had to remove the motherboard and basically everything else (including the screen) to get to it.

I put new thermal compound on the CPU/GPU when closing it back up, but I think it might still be running marginally hotter (or the same) when compared to before. Not really sure. Maybe I used too much paste or something. It's not significantly warmer or anything, I just think the fans might be coming on slightly more regularly.

Originally, the stuff on the 7447a (the CPU) looked like some black glue-y goop stuff (I don't think it was epoxy, though; it felt "goopy.") Maybe it had better properties than the ceramic compound I'm using right now. The GPU was using a shitload of that gray clay-like stuff that everything seems to use.
IDK; I'll deal with it some other time. Fans just kicked off again btw.

I don't really want to open it all up yet again and find out what's up right now. It was almost worse than replacing the blower motor in a Volvo 240 (which is the single biggest pain in the ass thing to replace in the entire car, IMO, apart from maybe synchros in the transmission).

Posting this from it now.

This post has been edited by dragontamer8740: May 16 2021, 09:16
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2021, 05:41
Post #6135
Wayward_Vagabond



ii-Kagen ni Shiro.
*********
Group: Gold Star Club
Posts: 6,305
Joined: 22-March 09
Level 387 (Dovahkiin)


Replaced a 7K5 or so (non-standard 5 band, already lost it) in a 12V switcher with a 12K strapped across a 100K 10-turn trimmer. Wanted 13.8V, which is roughly halfway in the rotation. Now it does 16 to 10V. It's on 4" leads, when I get the switcher in the chassis, I'll stick the trimmer someplace I can tweak it. It had holes for a reverse polarity diode, so stuck one in cause why not.
The bottom end of the divider feeding the voltage reference is SMD, but luckily the upper was not. Bottom resistor has a 4-digit code is also non-standard.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2021, 11:00
Post #6136
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


just rewrote a couple small GTK3 applet thingies I'd made in FLTK. They start a lot faster now, and the text kerning's better, too. They also felt easier to write (and quite a bit faster as well).

I'm probably going to be using FLTK a lot more often from now on.

It'd be nice if there were a simpler way to "theme" it (make the colors fit my desktop) than on a per-application basis in C, but eh, it's good enough now.

Pic: GTK and FLTK versions.
Note the better kerning in FLTK (top). Most noticeable in the 'ce' of "Cancel" and the "mp" of "gimp." Also noticeable in the gap between the 'C' and 'a' in "Cancel."
Attached Image

This post has been edited by dragontamer8740: May 17 2021, 11:12
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2021, 19:03
Post #6137
Wayward_Vagabond



ii-Kagen ni Shiro.
*********
Group: Gold Star Club
Posts: 6,305
Joined: 22-March 09
Level 387 (Dovahkiin)


Beacuse I'm dumb, I wanted to reuse a chassis full of holes, and did a hackey thing. I sprayed 3M 90 adhesive on a copper clad aluminum sheet, and stuck it to the upper half of front of the chassis, then painted the whole thing black. The top/sides has a little lip that'll hide 3 edges. Looks a bit odd, but good enough, and much sturdier than buying an aluminum and plastic chassis on amazon. Leaving the original blue winkle finish on the top/sides of it (bottom/front/back were originally black, but scratched up and covered in legends).

Now I just need to stick a couple of toggle switches, a button, and a couple of lights on the front, and some connectors in the back. Trying to decide how much logic goes in this box and how much in the radio.

Had to order another relay for the radio, accidently got a fancy 4PDT with screening inside for twisted pairs instead of a 6PDT. It does fit the same socket. I guess that's the hazard of cheap eBay New-Old-Stock parts from sellers ignorant about the parts they have.

This post has been edited by Wayward_Vagabond: May 17 2021, 19:08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2021, 21:01
Post #6138
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


Neat idea. Good job.

I got a new old stock cardbus dual-band 802.11n (draft) adapter in the mail today; it's nice that I could at least upgrade something on my powerbook.

It took a lot of research but I finally found one that had an atheros ath9k-compatible chipset in it (ar5416). It beats the hell out of the broadcom 802.11g card this came with (BCM4306), and more specifically it does support the ~5ghz band (which iirc not all 802.11n cards do). And it doesn't need any proprietary firmware blobs, which means it's 100% "plug and play" on linux machines.

Not sure if there are OS X drivers for it, but since I don't even have OS X on this I'm not too worried.

This post has been edited by dragontamer8740: May 18 2021, 21:19
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2021, 03:43
Post #6139
elda88



FREEDOM! FUCK DMCA!
***********
Group: Gold Star Club
Posts: 16,201
Joined: 30-June 09
Level 500 (Godslayer)


Encode the following at CRF=20 Slow:

The Emoji Movie (3D CG) - 3.9+mbps
Uzaki Wants to Hang Out Ep.1 (2D anime) - 3.0+mbps
Magical Sempai Ep.1 (2D anime) - 2.8+mbps

Then, encode Teen Titans Go Vs Teen Titans (2D animation) at CRF 20 Slow - 7.9+mbps

Wasn't expecting the final video bitrate to bloat for the last one. With lots of flat surfaces throughout the movie, I was expecting a highly compressed final video.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2021, 06:04
Post #6140
Moonlight Rambler



Let's dance.
*********
Group: Gold Star Club
Posts: 6,500
Joined: 22-August 12
Level 373 (Dovahkiin)


QUOTE(elda88 @ May 18 2021, 21:43) *

Encode the following at CRF=20 Slow:

The Emoji Movie (3D CG) - 3.9+mbps
Uzaki Wants to Hang Out Ep.1 (2D anime) - 3.0+mbps
Magical Sempai Ep.1 (2D anime) - 2.8+mbps

Then, encode Teen Titans Go Vs Teen Titans (2D animation) at CRF 20 Slow - 7.9+mbps

Wasn't expecting the final video bitrate to bloat for the last one. With lots of flat surfaces throughout the movie, I was expecting a highly compressed final video.
With h.264 at least, there's a tuning preset for animation with all the flat surfaces.
Did you try using a tuning preset like that? I think there's one for HEVC (h.265) as well.

Also, how is the framerate? I've not watched any TTG, but anime has a pretty low framerate typically, so if TTG is more fluid that is definitely part of what happened.

This post has been edited by dragontamer8740: May 19 2021, 06:05
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


455 Pages V « < 305 306 307 308 309 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 24th August 2025 - 14:32