About31 year old dude from Denmark. Crafty with code, electronics and home improvement. Need to talk? contact: Telegram: @redeyetg Discord: RedEye#8298
Joined devRant on 4/21/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Today I officially switched from 5 working days per week to just 4 days. It will be less money, but much more freedom & happiness.
I'm a lucky guy to have this opportunity, but I also put my big chunk of effort to achieve this degree of freedom. And I'm proud for that.12
I don't like noob techies who are into IT for the money.
My friend is jealous of me and he wants to get to my level. I told him that he should take Oracle certifications if he wants a good chance to a raise or a promotion (at least, it's a well-respected series of certs and everyone I know who took them got serious salary increases and respect from their managers).
For example, I studied for 12 weeks, for 12 hours per day for the OCA. He thinks he can just quickly cram a cert in three days and get big money. Nope.
This guy failed Network+ countless times. I remember he wanted to quickly get his CCNA when he barely understands how folders work.
The level of foolishness is amazing..
[Two collegues A and B are working on a complex regex together]
A: What does this fucker want?
A: Some dumb Client
A: [accepting call] you know regex?
A: Because thats what we working on for half an hour
B: What did he say?
A: He hung up
B: Perfect. So lets go on.6
Sorry, but this is my day off. Maybe you shouldn't have let junior run queries on the production database.
He didn't have access for a reason, fucknuts.10
I know a lot of people aren't fans of Microsoft here, but does anyone have some extended experience with using powershell?
I've been using it for creating a script that handles quite a large set of tasks for setting up and configuring some application servers and so far I have been really digging the language. Being able to invoke the script against remote hosts in parallel like ansible has been a really cool learning experience.
Admittedly it's verbose as fuck, so getting the same thing done in something like python/perl might be like half the lines of code. And I know that some of the commands illicit a "WTF?" every now and again. But I think one of the powershell tutorials I watched early on in attempting this helped make using powershell not suck ass.
Every command is basically 'verb-noun'. You don't know what the command or switches are:
> get-help "command" -showwindow
It will give you a list of options if you didn't select the exact command with get-help.
It feels* amazingly buttoned up as a scripting language and it's really cool to be able to take advantage of lower level stuff, like you can run alternative shells (we have cygwin installed on some of our servers), you can run C# code, you have access to interfacing with .NET api's. I haven't messed with anything azure yet, but being able to interface with products and services like SQL/Exchange/O365/azure/servers/desktops from the same language seems pretty cool.
Admittedly, the learning curve feels terrible though. I felt like a dunce for the first couple weeks, couldn't navigate the language at all, and was always in the docs trying to figure stuff out. I think I just needed to understand how the people developing powershell intended for it to be used. Once I was able to put two-and-two together about the verb-noun structure and how to find information/examples about the cmdlets it's been quite easy to work with it.
If anyone else has any extended experience with it, please share your thoughts/opinions. Curious to see if your experiences are/were similar to mine.
If you don't have Powershell experience, please feel free to share your opinions of Micro$haft and me for using Micro$haft products too! It's all good 😎11
Believe it or not, something like this *really* happened to me once: I was demoing a product to customers and my CEO stopped me when I was halfway through because he genuinely thought that what I was demoing did not exist.
"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!"
So, as the author of the code in question, I join the bridge... And what happens next, I will simply never forget.
First, a little backstory... Another team within our company needed some vendor client software installed and maintained across the enterprise. Multiple OSes (Linux, AIX, Solaris, HPUX, etc.), so packaging and consistent update methods were a a challenge. I wrote an entire set of utilities to install, update and generally maintain the software; intending all the time that this other team would eventually own the process and code. With this in mind, I wrote extensive documentation, and conducted a formal turnover / training season with the other team.
So, fast forward to when the other team now owns my code, has been trained on how to use it, including (perhaps most importantly) how to send out updates when the vendor released upgrades to the agent software.
Now, this other team had the responsibility of releasing their first update since I gave them the process. Very simple upgrade process, already fully automated. What could have gone so horribly wrong? Did something the vendor supplied break their client?
I asked for the log files from the upgrade process. They sent them, and they looked... wrong. Very, very wrong.
Did you run the code I gave you to do this update?
"Yes, your code is broken - fix it! Production is down! Rabble, rabble, rabble!"
So, I go into our code management tool and review the _actual_ script they ran. Sure enough, it is my code... But something is very wrong.
More than 2/3rds of my code... has been commented out. The code is "there"... but has been commented out so it is not being executed. WT-actual-F?!
I question this on the bridge line. Silence. I insist someone explain what is going on. Is this a joke? Is this some kind of work version of candid camera?
Finally someone breaks the silence and explains.
And this, my friends, is the part I will never forget.
"We wanted to look through your code before we ran the update. When we looked at it, there was some stuff we didn't understand, so we commented that stuff out."
You... you didn't... understand... my some of the code... so you... you didn't ask me about it... you didn't try to actually figure out what it did... you... commented it OUT?!
"Right, we figured it was better to only run the parts we understood... But now we ran it and everything is broken and you need to fix your code."
I cannot repeat the things I said next, even here on devRant. Let's just say that call did not go well.
So, lesson learned? If you don't know what some code does? Just comment that shit out. Then blame the original author when it doesn't work.
You just cannot make this kind of stuff up.78
A student close to my place ask me to help him install some Software.
Me: Sure this does not take long.
Over to his laptop I noticed this weird popup on screen.
he said: Oh. you just need to click that away. :)
I'm clicking it away and opens up his browser typing in the address bar the search term for the software.
The Laptop quickly copy and paste my search term into a sketchy search website with not correct results..
Then another popup came again on screen.
His response: Oh. you just need to click that away. :)
I'm already internally face palming. but continue my effort to get him his software.
tried different approach on the searching part en trying to click the install button for the software..
and again. my click is high jacketed and it downloads something completely different.
and guess what.. a popup showed up
His response: Oh. you just need to click that away. :)
Stop Molesting your laptop dude! Fix your Shit I'm out!13
Azure. Its so vast has something for just about anything, and isn't crazy expensive if you implement whatever it is you're doing with cost in mind.
Used different features of it at old companies Storage (blob/table), service bus, application insights, app centre, event hub, functions etc...
Currently at a company that is slowly moving over to Azure which is a great process to be apart of. Get to spend a lot of time investigating what is available as it seems each and every time I come to use it, its grown substantially.
I found something really interesting depicted in the image.
It is because of memory alignment / padding.
I could explain it to you guys, but this url would do a far better job:
Team meeting, discussing current project task, dude just slammed his hand on the ground and screaming like a child that he needs help and his taks is more important than others
Fucker got fired 7 months later, took long enough7
I tried to build an application in a container, but the build failed with 54 warnings and 86 errors.
My coworker watched the build fail from behind me, and jokingly said "Well... have fun going through all that".
I told him to wait just a second.
I switched out the image for the build step with a slightly altered one.
Build fails with one error.
Coworker just stares at the screen with his mouth open.
I'm starting to appreciate Docker now.6
I have spent 6 hours waiting for Chrome OS to build and my new smartphone to arrive.
It's 14:56 +0900 JST and there's no sign of the courier yet, Chrome OS still getting those packages built...
I hate the waiting game9
WTF ? Who fucking deleted their account again. (Not Jade cause he didn't ++ me anymore)
I was at 41.5K
I get back from work and I'm at 40.2K.
This is not OK.28
My Android phone is 5 years old. Everybody tell me I should buy a new one but I'm a stingy environmentalist and I refuse buying new stuff if it is not strictly necessary.
So, for 9€ I replaced the phone battery and then I installed a custom ROM, so it looks a bit newer.
Unfortunately, it seems that something in the network configuration has been fucked up.
The phone is able to browse the Internet, but:
- WiFi hotspot is not working
- USB tethering is not working
- Bluetooth tethering is not working
- PPP over USB is not working
But, hey, I never give up, so this is my current setup:
- I installed a proxy server on the phone
- I'm using "adb forward" to forward the proxy port from the phone to my laptop
- I configured Firefox to use that proxy
And, yes, I'm using that connection to write this post. :D11
windows: please restart to use newly installed tool
me: *opens menu and sees "update and restart"* NOOOoo this takes longer than usual
me: well see y'all im gonna go get some breakfast2
A friend I used to do computer support for, on learning that I was busy one weekend writing a program for a paying client, decided to wind me up by saying it wasn't a "real" program because I didn't also write the language. I stupidly took the bait and went off on a 15 min rant about modularity and cross-platform compatibility (issues he never understood). This friend is now a lawyer and winds people up for a living.1