Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
When I can see actual clients using my software, and can get real feedback from them.
I usually work on backstage projects and my job never really affected "real, normal users". When I have something pushed and can really see user feedback and smiles, that means I've made it.
Of course, if that's on a decent job, with a decent team and decent pay. Which is where I am at now.
Soon, the app will be released - if the external infrastructure guy stop sucking. So, I'm hoping to feel I've made it soon, real soon :)
I think it's time to learn a new language. Python is kind of making me depressed.
Some context. I'm a consultant, mostly in Python and DevOps. I work for a big firm, huge really, great company. Not perfect but definitely no real complaints.
I learned Python about 6 years ago and the first 2 years I did a lot of varied things with it, which was enjoyable but now no one is doing anything really amazing with Python. At least that's how I feel. Compared to DevOps? Which is just taking off and getting more and more complex, Python is still well... Python! It's great but it's not really fulfilling me any more. Maybe it's Coronavirus or maybe I'm just done telling myself the same thing over and over.
Python was the first language I ever learned. I added Kotlin and C# to my toolkit but quickly realised I wasn't going to make any MVVM apps any time soon. In the meantime I also had a love-hate relationship with Unity and the entire .NET framework and Net Core. C# is really good though, I just wish I could warm up to it more. Apparently 2 years still isn't enough and Unity is still really fucking intimidating.
That left me with 3 languages under my belt that I all felt pretty sour about. So I moved more towards DevOps. It's like a reflex and I feel like I definitely made it already in this category.
For me personally, programming is like that video game that you love but suck at. Yet some people are just able to pick up a controller/mouse and kick ass. Of course not everyone is born great and some of the best weren't naturally gifted, they were just insanely determined and had a lot of free time.
If Coronavirus has taught me anything. It's that free time is the most important thing in life. I got everything I ever wanted thanks to free time.
So while I still have some left, I think I'm going to learn C++. Yeah I said it. When I look at C++ projects, they look so much fun. They're fast, impressive, reactive and insanely powerful. Every game I play that makes me say "Wow! It's so fluid, so smooth, what the fuck is this written in?" 9/10 it's C++
Games, apps, mobile, heck even web backend is done in C++ when performance is a huge priority. My car's "computer" is written in C++
So I think first I'm going to read a lot about C++. Something I pretty much skipped over doing when I learned Python and much of Kotlin. I'll read and watch a lot of talks from people who know the language well. Have watched it grow etc. I'll try to use everything I learned from the mistakes I made with Python, Kotlin and C#.
Maybe I'm kind of crazy. Maybe I'm just going to make segfaults left and right for months. Maybe I'll constantly compare it to C# and wish it had "garbage collection". Who knows. But I'll give it my best shot.
Honestly if I've learned anything working with programmers/developers and other consultants. It's, if you are confident with C++, nothing else is remotely intimidating.
Except Perl 😂4
In Visual Studio 2017, when an error occurs and you hover your cursor over it, you cannot copy the fucking error to do a Google Search. Who was the idiot that didn't think this through?
The ONLY way is to go to the separate Error List in the bottom, and even then I can only copy all or nothing.
Man, fuck Unity for not having a better default IDE already...1
Is docker even suitable for anything that isn't deployment?
So much time, so much effort, so much trial and error, and I still feel like I don't know what Docker is for.
I had a development VirtualBox machine, which I used just to compile my code and test my application. So I said "why don't I just use Docker? It would be way simpler". Also because that fucking Virtualbox image was like 10GB, and it was slow af.
The VirtualBox machine wasn't created by me, but it was just given to me by a previous developer, so I just had to imagine what I needed and pick up the pieces. In few hours I was ready with my Dockerfile.
So I tried it, and....... obviously it didn't work. I entered inside my container and I tried to manually execute commands in order to see where it breaks, and I tried to fix each of them. They were just the usual Linux dependencies problems, incompatibility among libraries, and so on.
Putting everything in order, I started over again with a virgin Ubuntu image, and I tried to fix every single error that appeared, I typed something like 1 hundred commands just to have my development machine up and running.
Now I have a running container that works, I don't know how to reproduce it with a Dockerfile, and I don't know what I'm supposed to do with it, because I'm afraid that any wrong command could destroy the container and lose all the job I did. I can't even bind folders because start/exec doesn't support bindings, so I've to copy files.
Furthermore, the documentation about start/exec is very limited, and every question on StackOverflow just talks about deployment. So am I wrong? Did I use containers for something that wasn't their main purpose? What am I supposed to do now? I'm lost, I feel so much stupid.
Just tell me what to do or call a psychologist6
I just got yelled at by our fed ex delivery guy. I took 15 seconds to open the door and sign when they rang. They were mad because “I knew I had a package coming so what took me so long”
For reference I have a severe spinal injury and was icing my back and eating lunch. I got up as fast as my body would allow and practically sprinted for the door. Could not have been faster.
Best of all the package was for my neighbor (we share an address so I have to sign for all their mail usually). So no, I didn’t know it was coming. And In any case we’re talking about 15 seconds and what do you want me to do, sit by the door and have a conversation with the wall for your three hour window?
Just one of the many reasons I resent the last 20 years of technological progress. I’m just totally perplexed10
I'm one year into the industry as a Software Engineer, and I don't see myself working like this for 40 years.
I think that a job switch from this tiny service based company might help, but with the lockdown situation and the shortage of product based companies hiring in my country, things look really tough.
What are your thoughts on this? Is it okay to feel stuck from time to time? Is taking a break to upskill or pursue higher studies a good idea? What would do in such a situation?2
I am yet to start the phase of life where i am more than just a student but i often see things around and have some thoughts. Recently i was feeling that the 2 biggest crimes a person could commit is being repetitively irresponsible or being always dependent.
Like, if i am a father , a husband , a sole earner or have someone dependent on me, i could not afford to make simple everyday mistakes that i often do in my current youth age and people ignore. These days i sleep at 5 am after watching movies, wake up at 3pm , knowing that mom has already made me food, my college mates have already made assignment, and there's nothing better that i could do . Life is relaxing.
But my dad cannot afford mu luxurious lifestyle. He cannot waltz on the bike at 90, he can't sleep till 3 , he can't afford to watch long webseries. Heck, he can't even afford to have a platform like this and rant or post stuff. He has to run at 6 am in morning to get groceries for our restaurant. I wonder how he or any other mature person relaxes their mind.
Similarly everyone has to show some boss characters in life. You can't rely on a stick forever, you got to have your own spine. Dad used to have a biz partner who took most of our restaurant decisions, but then business went low and he ran away. So at the end dad himself had to take up all the things in his hand.
I on the other hand am totally spinless. Clg has taken the decision for me that i gotta give papers that's why am studying. Later company will take decision to fuck me up and work infinitely and i might just do that . I usually never come up with a good innovative app idea with a solid vision and therefore end up following other people's ideas , visions, etc and that too rather incompetently.
I wish i had more courage.
'Responsible' people of devrant (bread earners, family runners, etc you know if you are one) , would you like to share your life tips or let me know if my thoughts are wrong?2
According to a report from ZDNet: IBM's new toolkit give developers easier access to Fully Homomorphic Encryption (FHE) which is a technology with promise for a number of security use cases. In case you do not know about FHE, you can take a look at My Quora Answer (https://qr.ae/pNKR2p).
"While the technology holds great potential, it does require a significant shift in the security paradigm," the report adds. "Typically, inside the business logic of an application, data remains decrypted, [Flavio Bergamaschi, FHE pioneer and IBM Researcher] explained. But with the implementation of FHE, that's no longer the case -- meaning some functions and operations will change."
The toolkit is available on GitHub for MacOS and iOS and it will soon be available for Linux and Android.1
Well to be honest with you concerning this coding practice. As a deliberated of obsession without coming from a divers angle of reasoning,by application of ardent and candid Wisdom,and more on a logical pattern of presentations,even in the absence of sentimental aggregations I will move with a conspicuous and convertible analysis,base on imperative understanding of this matter,having in mind not to be influenced by perceptional retroversion which can interfere with good judgmental alibis. Hmm therefore, I will advice or come to a conclusion that point going too deeper cause this is just untainted matters of circumvention and irrational amplitude.Do you comprehend or should I go deeper?2
Alright. I was testing some js, only to find a mysterious bug. No error message, but the program isn't doing what I want
I spend some time debugging, but everything seems to be working fine. Strange. But lets keep looking
After almost 30 minutes of this shit, I find my mistake
I TYPED THE WRONG FUCKING EQUALITY SIGN. THERE WAS NO FUCKING BUG TO BE FOUND, I'M JUST AN IDIOT. FML5
So I just had to tell three people to read the fucking docs in the comments of an AUR package.
They complained about linker errors, figured "oh happens with GCC 10, doesn't with GCC 9, let's use GCC 9".
If they had read the docs, they'd know that maybe, all that was needed to be able to compile the code was a single command-line flag. `-fcommon`.
People, just RTFM. If you see "oh upgrading from version X to version Y causes some issue", look up "porting from S X to Y", and find something like this: https://gcc.gnu.org/gcc-10/...
Was it so hard? Yes? Then why are you compiling any packages for yourself with a PKGBUILD when you should rather just stick to the non-customized packages built by people that know what they're doing, from the repositories?20
More adventures in fixing specs.
This particular failing spec is in an included spec helper; I cannot run the spec itself because rubymine is stupid and doesn't know how. Not kidding. I also don't know the codepath it's actually testing because it's fucking convoluted, so I need (rather: want) a debugger to progress. I put breakpoints everywhere I thought it could be, and... nothing.
The stacktrace shows the calling spec in the helper module, a generic `process` method that just calls `super` (from where? who knows!), and a `wrap_every_action` in the ApplicationController. in other words: absolutely nothing helpful. I stepped through the code for most of an hour and didn't get anywhere; just saw lots of rails internals.
I'm going to keep bashing my head against this, but what the fuck, why can't you give me something goddamn useful!?5
Disclaimer: I can't 'officially' verify this.
I've been using Firefox as main browser with about 5 addons for added privacy for ages now. When googles (fucking) reCaptcha takes more than a few minutes on Firefox (about 90 percent of the time, I'm estimating), I switch to Chromium (with the same amount of (similar) privacy addons) so I can go on with my stuff.
Now, I recently thought 'why not try to do user agent spoofing on Firefox to see if reCaptcha would start working 'normally'?
So, I installed a user agent spoofing addon on Firefox/Chromium, results:
Firefox reCaptcha success rate: 10 percent approx. (mostly 2+ minutes)
Chromium: 90 percent. (mostly instant)
Firefox: 90 percent approx.
Chromium: 10-20 percent approx.
Again, I can't prove any of this yet but mother of fucking god, whenever using Chromium or spoofing Chromium on Firefox the succession rate skyrockets.
Google, what the fuck are you up to?13
man if i could figure out how to do stuff and had the money to do stuff i'd be dangerous as fuck, but as of now i can only posit questions... it sucks.
- What do modern browsers/crawlers do when hit with, say, an "HTTP 450 Blocked by Windows Parental Controls" or an "HTTP 374" status code?
- What happens if I do <xyz minor edge case thing> on <system?> (just use your imagination, this happens for every edge case i can think of for every system and the list wouldn't fit in a few megs' worth of half-byte ASCII, much less *here*)
- What if I made like a board to fuck with busses while systems were on? Press a button and for like five bus clock cycles pins like 6 and 7 are shorted? That sort of thing. As for system/bus types, *literally any* (old consoles with expansion ports, PCI/-e/-X/whatever, southbridge, etc.)
- What if I did <filetype> shenanigans by doing <something indescribably horrible> to this file? How do things react?3
Okay, let's admit this, being a programmer, I never heard of devRant. The thing that made me join this platform was that it was giving away some free goodies, please don't hate me xD. I thought this would be like any other meme sharing platform where all nonsense is talked. But boy, how wrong I was. I ended up, using this application all the time. The people here, they are just amazing, I learned a lot here.
But the irony is, that I never received free goodies xD.6
I spent most of today debugging the server part of my service. The logo on the page didn't show on the local Windows Server.
My first thought was that the static files path is messed up (nginx with Windows path might be confusing, is it D:/file, D:\file, or even D:\\file), so I tried playing with it. But wait, the page works, so it must be something else because css and js and even the fonts are loaded.
Could it be a cache issue? Are the images too big?
No, fuck you Microsoft, Internet Explorer doesn't show webp images. FML6
Been wondering about something and can't figure out if I am a retard or a genius 😂.
If MD5 is so outdated and should not be used to store password hashes (let's say for whatever reason you cannot effectively switch to another algorithm) wouldn't it just be easier and more secure to just re-encrypt the hash again, so just MD5 the MD5 hash... in theory, wouldn't that make the hash virtually uncrackable because instead of trying to brute force actual real words, you now have a hash of essentially random characters which have no relation to the others, and even then, suppose you manage to crack the hash, you will get another hash to crack before getting to the password?5
I think I have multiple but this guy stands out.
He was a fellow student at my software development study. Used primarily FOSS systems/software, not because he cared about ethics as much but because that way he could tinker with the software as much as he wanted.
He was always searching for new things to tweak, write, explore and so on. And he shared as much as he could with fellow students.
A few examples of what he did:
- wanted to change something about how Linux worked at its core (he mainly used debian based systems) so he learned how to write kernel modules and wrote his solution.
- wanted to be able to monitor his gas/power usage so he hacked an arduino thing into the power/gas meter and got it to send updates to a messenger at command.
- setup and automated mini data center because fuck it, fun to do.
His thinking was always very creative and to this day I still appreciate what he taught me on that!4
Have you ever been in that situation where you really wanted to start a pet project, but you didn’t have the energy to do it after work, but in the same time you didn’t want to work on your project you have been assigned to at your job, so you slacked all day because you didn’t have the guts to work on your pet project at your job? I’m pathetic.3
The only advice I ever got about transitioning from a dev student to actually working in the dev world came when I was on my first semester in an elevator from a random person who already had a job in dev. Not her words, but paraphrased later by someone else:
"The only qualification you really need to make it just fine is the ability to utilise search engines better than the average gorilla"
... and she was right. Also, never before had I noticed, and I was dumbfounded when I did, how bad people actually were at searching for information.2