AboutChemistry major that writes code in free time
Joined devRant on 6/2/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
I used to think that I had matured. That I should stop letting my emotions get the better of me. Turns out there's only so much one can bottle up before it snaps.
Allow me to introduce you folks to this wonderful piece of software: PaddleOCR (https://github.com/PaddlePaddle/...). At this time I'll gladly take any free OCR library that isn't Tesseract. I saw the thing, thought: "Heh. 3 lines quick start. Cool.", and the accuracy is decent. I thought it was a treasure trove that I could shill to other people. That was before I found out how shit of a package it is.
First test, I found out that logging is enabled by default. Sure, logging is good. But I was already rocking my own logger, and I wanted it to shut the fuck up about its log because it was noise to the stuffs I actually wanted to log. Could not intercept its logging events, and somehow just importing it set the global logging level from INFO to DEBUG. Maybe it's Python's quirk, who knows. Check the source code, ah, the constructors gaves `show_log` arg to control logging. The fuck? Why? Why not let the user opt into your logs? Why is the logging on by default?
But sure, it's just logging. Surely, no big deal. SURELY, it's got decent documentation that is easily searchable. Oh, oh sweet summer child, there ain't. Docs are just some loosely bundled together Markdowns chucked into /doc. Hey, docs at least. Surely, surely there's something somewhere about all the args to the OCRer constructor somewhere. NOPE! Turns out, all the args, you gotta reference its `--help` switch on the command line. And like all "good" software from academia, unless you're part of academia, it's obtuse as fuck. Fine, fuck it, back to /doc, and it took me 10 minutes of rummaging to find the correct Markdown file that describes the params. And good-fucking-luck to you trying to translate all them command line args into Python constructor params.
"But PTH, you're overreacting!". No, fuck you, I'm not. Guess whose code broke today because of a 4th number version bump. Yes, you are reading correctly: My code broke, because of a 4th number version bump, from 188.8.131.52, to 184.108.40.206, introducing a breaking change. Why? Because apparently, upstream decided to nest the OCR result in another layer. Fuck knows why. They did change the doc. Guess what they didn't do. PROVIDING, A DAMN, RELEASE NOTE. Checked their repo, checked their tags, nothing marking any releases from the 3rd number. All releases goes straight to PyPI, quietly, silently, like a moron. And bless you if you tell me "Well you should have reviewed the docs". If you do that for your project, for all of your dependencies, my condolences.
Could I just fix it? Yes. Without ranting? Yes. But for fuck sake if you're writing software for a wide audience you're kinda expected to be even more sane in your software's structure and release conventions. Not this. And note: The people writing this, aren't random people without coding expertise. But man they feel like they are.6
Wrote some code, not realizing code has TOCTOU race condition until a healthy 4 hours later, and the fix was to move two lines of code upward. I hate me, myself and I.
P/S: What happened to PrivateGER, devTea and linuxxx?3
4 days into 2020 and I'm locked out of my own Windows user account due to some obscure reasons I don't know what. And now I sit here retaking ownership of files in ~ and migrate to a new account.
And I wasted at least 4 hours of my life into this. Why.
Gotta love people. Recently I finished a small program to check the timetable because the predecessor app died. Make a release, get the link, send the link to the FB group (I don't use FB much anymore). Some likes, some comments, some shares, some bugs, nothing awful.
IF IT'S NOT THE 20 COMMENTS GOING "WHAT THE FUCK ARE YOU A WEABOO TRASH?" because of __BOTH__ my GitHub pfp and FB pfp. God fucking dammit why can't you just ignore the pics and click the damn link like normal people do?? NOPE! NOT GONNA DO THAT UNTIL I SHAME THE DEV TO HELL FOR LIKING ANIME GIRLS!!5
College has been rough, especially when I've been having my hand held through 12 years. More stuff to learn, to do; and my life hasn't been great.
It's official that I'm following Chemical Engineering, specifically Food Engineering major (or whatever the heck it's called). I still code but I'm not sure if I'm gonna get to the level of the properly-trained folks. Heck I don't even know DFS and BFS and they seem important.
So yea, I'm not dead, just on life support. What did I miss on dR since July guys?1
So, I made this: https://github.com/PythonTryHard/...
Aside from the JS code that may trigger the JS devs, I think I did good. Maybe a bit too overboard with the comments.
What do you think guys?2
0) I can be as socially withdrawn as possible without getting eyes and comments on being socially withdrawn. Going to a tea house with a laptop to code in a corner sipping Earl Grey is great without getting questioned.
1) I can make whatever the hell I want. I can do whatever the hell I want. I can automate whatever the hell I want. And then I can Humble Brag™ to everyone.
2) Because it's fun. I get to meet more folks I haven't met before through hubs like this and programmer Discord servers. And we can be nerdy together.
Edit: Also because I have a fecking pillow fort on my bed made for tucking in while coding. It feels gud in pillow fort. All of us needs a coding pillow fort.1
Favorite place to code include:
+ Bed (laying down)
+ Bed (sit up with pillow fort)
+ Bathroom (with laptop wrapped in plastic food wraping in bath)
+ Bathroom (on toilet)
"I didn't get paid so I open-sourced my client's project". What do you think about this approach, folks? Pretty neat to me, plus people get good free stuffs! Unless the client finds out about the cod- Who am I kidding? They're client!9
I don't know what the devs at ProShow are smoking but I want some. Their product, specifically ProShow Production, is garbo. Don't get me wrong, the stuff is great for making slideshow with effects and stuff but good GOD.
+ If your image's name or the full path to the image contains anything that is not (I think) ASCII, the program will refuse to work with it.
+ If you're using non-English characters for eg. caption ("ẫ" for example) even on a Unicode font that supports that char, it will render a box. You know which box it is. You have to specifically use a font family to have it rendered correctly at the exchange of ugly-ass fonts that has been overused.
+ A majority of keyboard shortcuts are not supported while editing a slide (Ctrl + A, Ctrl + Z being my two favorite).
The best part? I'm forced to use this thing because of time constraints. I'd rather fry my puny 4GB RAM stick and crappy Intel HD Graphics 550 working with Premiere/After Effects than using ProShow. But nooope. ProShow. Fuck you.
"No i mean the bot goes offline like whatever is hosting it goes offline and then the bot literally doesnt respond to commands"
- One guy trying to prove how "unreliable" a bot is.
Whoever the fuck wit coded the entire system for the university/college application information portal over here in my country needs to be hung, shot, hung again and shot.
It's **ABSOLUTE FUCKING GARBAGE** on the design. First we have the search box. It literally takes a good 20 seconds to query 1000 entries at low traffic and 3 MINUTES at high traffic. Bad enough? Because it would also take that long to give you a table of search result which is, I shit you not, identical to the drop-down results you get while typing except rendered inside a <table></table> with some overlay!
Oh, did I mention it didn't have partial match? Yea, IT DIDN'T. For example, "John Hurr Doe City" would not match "John Hurr Doe city" just to piss you off. And then we have the fuckers that do this:
- University A John Hurr Doe city
- University B JHD City
- University C JHD city
That and no partial match. Yea. It's BS.
Also. if you wanna search again after view a school, you have to press "Back", the physical "Back" of the browser. Fair, it's good, but if you press anything other than that button, welll, you're fucked although lightly.
The cherry on top of the rant cone? The whole thing is made by the studentfucking Ministry of Education and Training, the mother of overlord of students. Yea. The fucking Ministry itself. Really. You wanna go "catch up with the world and master the 4.0 Industrial Revolution" and yet you can't fucking code the site properly. Fuck you, fuck you, fuck your horse you're riding and probably fuck you as well.
Sorry for getting slightly political at the end, the damn page is getting on my nerve.
I'm not too proud of it but.... https://github.com/PythonTryHard/...
It's garbo, especially on code quality but it's my coolest piece of garbo9
Fuck you and your Electron gobbling up RAM like it's free food at a all-you-can-eat buffet. It's not. Please take your Electron and fuck the fuck off from my computer.
Sincerely, with a double middle finger and double middle toes,
Game completed. Deleting save file "2018"
Initiating "New Game +", save file name "2019"
Wish this save grant you bonus starter STR, INT and LCK.
Happy Lunar New Year 2019 too all of you awesome folks from Vietnam3
So, this poor fucker right here has spent 3 hours straight trying to install KDE Neon AGAIN, FOR THE 14TH TIME AS OF TIME OF WRITING on an old 0.5TB hard drive with some GiB-wise partitioning size and apparently the disk doesn't like it.
Can someone give me a dildo so I can fuck myself more because life is not fucking me hard enough? No lube needed kthanksbye11
Sorry, I have to say this. I get patriotic at times.
Asian Cup 2019, we Vietnam had made it to Quarter Finals after defeating Jordani in the penalty shots.
I'm happy. It's stressful watching the shots. It's stressful watching the match but I'm happy. We're happy.
And now back to homework.2
I was bored so I fuzzed around on Shodan and found this piece of gold. GeoVision camera running on Linux 2.6.x (at least that's what Shodan said) and I'm on Firefox 647
nH recently shut down their API due to it causing problem with their front-end (paraphrase of their latest tweet (hopefully latest)). Lemme tell ya mate that front-end is **infested** with pop-up ads that will quite literally pop up at every interaction except scrolling. Pretty sure the shutdown is to ensure their ad revenue rather than making sure the apps doesn't over request (although there can be apps that over-request due to poor coding, in which case I'm sorry).
Kinda justified? Since the page doesn't have the paywall nor anything to grab your money so...kinda justified? Still.
And that's the story of how I became pretty much the only one beside the dev that give a shit about an app for nH on Android.5
I have trust issues because of my J-Music orientation. Why, you ask? Simple. I cannot trust the vocal.
For example... Reol, while sounding like a Vocaloid and is what I'd been seeing her as for quite a long while (1 year) because of her inhumanly-high-pitch sections turns out to be human. Welp. And almost at the same time I discovered that Yokomin, while have a human female vocal turns out to be a guy and a Vocaloid. And 5 days ago I found out Mafumafu is a guy, human, despite his high female vocal.
What. What the fuck? Do check them out though, their music is good (ie. not corporate pop)5
Now I feel bad for calling myself a programmer as a highschooler after seeing so many people shitting on the younger people. Goddammit I picked up programming because I thought it was cool and fun not because I want money or shit. I'm not the retard kiddies that overstate my ability. I like coding, I just like coding.
Now I wanna quit.7
Obligatory subjective view from inexperienced eyes of a highschooler
I think it's evolving to be more beginner-friendly and more easily accessible. I'm seeing ppl roughly my age can program pretty well (ignoring the mandatory programming classes in highschool that stuff is just no (I know, we had this convo before but do hear me out, although it teaches fundamental programming in Pascal, the execution sucks ball because "mandatory")). I'm not saying we are on par with the in-industry devs, it's just we can code well enough to at least make decent small program/script.
With newer scripting languages that are easy to pick up and syntactically similar to English which is obviously Python, both objectively and subjectively, and its ability to be OOP without scaring first-timers of the what-the-blyn-is-this blank program (looking at you C#) people can be introduced to programming and programming concepts fairly easily and they can switch from Py to other languages with little to some hiccups, from my personal exp at least.
But then there's the "too much kiddies in the field" arguments I saw on dR (I think) a while back then when SO decided to better support newbies. To that, I can only say "Please give us a chance". We're completely oblivious to how the dev world work nor how you guys do your work so before you scold us on this, at least tell us how to work like you before you go on a 2-A4-page rant on how the industry is not as good as before and how it has degraded.
That leads to the problems of politics invading programming. We have it, I hate it, goddammit I wanna murder them. Linux CoC controversy is just...no. And then there's forced diversity in hiring (also ranted on dR a while back) and corporations pissing devs off to satisfy a minor group. I'll just shut up on this. No no no no no no no NO I'm not gonna. Not gonna.
Do correct me if I'm wrong though. I'm a less than a junior dev.2
- Master C# and contribute to osu!lazer
- Get a girlfriend (preferably programmer as well)
- Own a gaming rig
- Get a cat
- Survive National Graduation/University Admission Test (not China, Vietnam)
- Go to GER to hug my friend
- Break through my depression and suicidal tendency (not a joke)
- Get a part-time job at a tea house near school6
Today, my dad can finally ditch his iPhone 4 which is passed down from my eldest sis to my mom and to my dad, all thanks to my brother-in-law getting a Samsung Galaxy J7 on Black Friday.
Finally. No more Apple bullshit in my house!! NO FUCKING MORE!!! *insert hysterical laughter* GOODBYE STUPID 20-PIN CHARGER CABLE~ GOODBYE ITUNES~ GOODBYE ICLOUD~ FUCK YOU!!!7