-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
Congratulations bud, a basic feature is now working in Kobo
-
What in tarnation is that?
-
Hey bud, I am getting a deja vu by looking at this code, didn't we already discuss it earlier? Anyway, good to see ChatGPT help you solve it.
-
Quite an interesting idea, right up my ally of making quick and jank solutions like this
-
Is that even a thing in Windows 11 anymore? I used to love those effects in Windows 7 (Ah the nostalgia)
-
Well bud guess what... do you know that there is a wget2 now? That's right, they made a literal 2nd part of wget, just like in the movies It's a completely new program that was written from the ground up and it has many neat features: So it might be able to replace aria2 for you, give it a go. You can find the prebuilt EXE here: https://github.com/rockdaboot/wget2/releases/latest I had completely forgotten about this until just a few days ago
-
May I should've used "must" instead of "can" in this sentence Either remove it entirely or change /dev/null to a proper file path of the file to be downloaded.
-
Ah okay, I thought you got the idea after looking at the example I provided where I used the byte ranges trick to actually download 0 bytes while getting the final download URL The equation is pretty simple actually, you get double to wear and tear since you're writing double the data (once for downloading and once for combining). So if you download a large file the impact would be a lot more compared to downloading a small file. Awww bud it's no biggie, don't mention it It's been so long ago that I forgot the entire context of that bud... You couldn't get it to work? The first aria2 example command I gave you uses curl to fetch the final download URL. This is the command: curl -L -s -w '%{url_effective}' -r 0-0 -o /dev/null --cookie $cookies_file $url It will send the final URL to standard output while downloading 0 bytes (you can adjust value for the output (-o) switch since /dev/null doesn't exist in Windows)
-
@TheSaint You forgot to mention your bud who gave you the idea of using curl with byte ranges 😢 In any case, the vast majority of people won't need to use curl to do this sort of crippled multi-threaded downloading, there's a much better program for that called aria2 and it's a dedicated CLI downloader program and supports multi-threaded downloading natively... so it doesn't have to combine the separate parts later on and cause double the wear and tear as it would with curl
-
Yes bud, used it all the time. I see that you are indeed using TABs
-
Gawd, didn't you say that you were configuring the number of spaces that were inserted when you hit Tab? Let me find the quote...
-
Yes bud, it does, I am tired of pretending that it doesn't And spaces defeat that purpose because they are inflexible unlike TABs which can be of any size depending on the user's preference. On small screens it is desirable to only have 2-character wide gap, but if your code is using spaces then you're out of luck, you have to muck around and forget about sharing your changes. Not at all bud, not at all, all coders should be aware of the implications of using spaces and tabs, that is the reason why I am kind of hijacking your thread A responsible coder should use TABs unless there is a very good reason not to. The people creating those editors are to be blamed for propagating the continued use of spaces in this modern age. So you shouldn't rely on them to pick the right approach for you. Well bud I hope you understand now, hopefully I have enlightened some of you. Peace! 🕊️ P.S. I do apologize for the momentary interruption caused by my passionate posts regarding this topic.
-
Nothing really, I was just expressing my frustration of seeing people use spaces in this age Bud tell me which character is the better choice for indentation A one byte character which is purpose made for indentation and adapts to the user's preferred length on any computer A character which is not made for indentation but for separating words, has a fixed length and doesn't give a damn about the user... plus it also takes an arbitrary no. of bytes depending a 3rd party's preference which is a mere approximation of good indentation according to their specific screen size. Also it requires a special editor which will insert the N of characters when you literally press the key for the correct character should've been used instead
-
Who said that you were manually tying spaces? Perhaps you are unaware of the TAB character, no it's not just a shortcut key for N spaces. The real function of the "TAB" key is to insert a tabulation character, or just tab in short. It's just a single character which takes up one byte and it is specifically built to represent spaces for indentation, so instead of having files littered with a fixed amount of spaces, you could use a TAB character and simply tell your text editor program to make your TABs as wide as 4 spaces or whatever the number of spaces you'd prefer.
-
Can we switch to TABs already? This post perfectly exhibits all of the issues with using spaces. With TABs people can set the amount of indentation they prefer and it will work for ALL tabs.
-
Well bud, don't put faith on me because I did not do the conversion nor did I check it I just put it through ChatGPT and at a glance it *looks* right, if it doesn't work with the correct image id string then let me know, I'll have another look. Anyway I see that you've done quite well for yourself, did you take GPT's help with the Python code? If not, good job on getting it to work on your own. Sorry bud, don't count on it, I have my own projects that aren't making much progress But this is very trivial code so I am hoping another savvy python coder here can help you convert it to AutoIt.
-
Bud that's just getting the image id from whatever "result" is, it is not related to the hash function. Do you understand the concept of Maps in AutoIt? This is the exact same thing. You can swap it out with any arbitrary string and it will work, no "dictionary" required.
-
That's pure rubbish bud, the output of the qhash function is just a plain number.
-
Basically every fact it said is incorrect, it's just hallucinating the details. That's why it is dangerous, it is very convincing even when it lies, so you at-least need to know enough to know when it is lying. According to the python code you gave me the hash function is custom-made, it is not one of the standard algorithms, certainly not something which _Crypt_HashData can handle. There's a reason why I gave you the AutoIt version of that function