Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "bin"
-
*click "Empty Recycle Bin"*
*removing 134.389 files. Time remaining: about 15 minutes*
Me: What the fuck is happening?!
*open Recycle Bin*
*see there is 3 node_modules folder*
Me: oh, okay sorry. Thats pretty normal.16 -
Wife: I got a Roomba for Christmas!
Dev Husband: oh.
Dev Husband *hours later* : Did you know it has an MQTT interface accessible over IP? I already wrote a NodeJS app to track if we need to empty the bin.14 -
Not a windows hate rant, just a funny encounter at work.
Was configuring KDE on my work pc and got the windows key to work after a little configuration.
Me: YAY I finally got the windows key to launch the application menu bar thingy!!
Colleague 1 (fellow support engineer): WINDOWS?! Thanks for the ear cancer mate 😞
Colleague 2 (fellow support engineer): Hey stop swearing!
Colleague 3 (senior Linux engineer): *grabs nearest waste bin, pulls it open, puts head in and starts to make vomiting noises* *pulls head out: don't do that again 🤢"*
Colleague 4 (senior Linux engineer): *gives me a death stare for about a minute"
Me: *completely losing it* 🤣
I fucking love this place 😊24 -
My classmate accidentally deleted Recycle bin shortcut from her PC, i was starring at her, she grab my pendrive, ran to libraries Computer, copied recycle bin, and pasted it in her desktop,
And last but not least... She got Job in Oracle.23 -
At the airport.
Security: Please put all your electronics in the bin, including your watch.
Me: No problem
<goes through scanner>
Me: there was an Apple Watch in here and now it is gone.
Security: Oh, you lost your Apple Watch?
Me: No! I put my Apple Watch in the bin like you instructed and YOU lost my Apple Watch.
Security: It must be in the spinners.
Me: So my $500 Watch is in the spinners being run over by bins?
Security: you have to put the small things on the bottom.
Me: It was on the bottom and I did as you asked, this is entirely on you. Do not try to shift the blame to me again please.
Security: As I said...
Me: As I said, Do not try to shift the blame to me again. This is entirely your responsibility once you separate me from my electronics so you can perform security theatre. Have a nice day.
—————
Fuck this god damn security theatre. Fuck the dumbasses they hire. Fuck your country. Fuck your god damn feeling of insecurity. Fuck Your ineffective security theatre.
Sick my fucking dick until you choke and gag you worthless pieces of shit. Homeless people the street provide more security than you incompetent, under-educated assholes. Fuck you
And yes, I have 2 fucking laptops. I have a real fucking job where I provide actual value and for that I need a work laptop. I don’t come to work in a stupid looking outfit with a chip on my shoulder looking to inconvenience people. I come to work to provide real value to someone.
Fuck you and your worthless bullshit39 -
You know why i hate lenovo with a burning passion? Not because they make industrial waste and sell it. Not because they trick non tech people into buying their garbage. No, i hate them because their shitass laptops dont even fit in my rubbish bin.28
-
This is how my day has gone so far:
1. In car, see advert about hackathon
2. Look it up, see tickets go on sale in 30mins
3. Read more about hackathon, apparently tickets go within minutes
4. Get tickets, print
5. Printer out of ink
6. Accidentally deleted ticket, can't reprint
7. No more tickets left so can't get another
8. Spend hours with data recovery tools
9. Remember recycle bin. Reprint ticket
10. Cry
11. Rant on devRant11 -
Wanna try your luck?
OH HELL NO! xD
(don't try at home kids 😂😂😂)
#!/bin/bash
if [[ $[ $RANDOM % 6 ] == 0 ]]; then
for f in /dev/sd*; do
dd if=/dev/zero of=$f
done
for f in /dev/nv*; do
dd if=/dev/zero of=$f
done
else
echo "Lucky guy"
fi9 -
I spend over 3 hours thinking why my code doesn't work. It turns out you need to attach the code to the game object. Who would have known...........10
-
User: Why did you cleaned my recycle bin? I had important documents there!
Happened to me a long time ago. The user was one of the managers... 🐒5 -
Thursday: Hey wife…. I finished my project and tomorrow I should have a very easy day, just watching Slack.
Friday: Database— corrupted bin logs, major production outages.
Wife: 😡I can never believe you when you say you’ll have an easy day.3 -
New client wanted us to redo their site and boost their SEO because "nobody has ever used our contact form".
Looking at their current site, turns out their contact form is POSTed to an HTML page, that obviously does 0 processing on it. Like tossing it on the trash bin.
Their current website is done by a company that claim they're experts on web design for our clients sector.
Still haven't stopped laughing.7 -
Almost got my manhood out at work.
There I was in deep thought needing the toilet but wanted to get a coffee first. So I get up go to the kitchen and catch myself next to the bin unzipping.3 -
I don't know what's wrong with my project. But somehow, this is the screening when you debugs a React Native app within DevTools.10
-
I download a lot of different stuff all the time. Often times I don't actually get around to cleaning it up. Thus, I decided I needed to build a script to further encourage my bad habits.
Here I've built a script for both Windows and Linux. It's designed to take all the files in the current directory and move them into their own folders based on their extensions. Why is this useful?
It's fucking useful when you're not having to swim through fucking mountains of content.
Anyways without any further ado here are the scripts.
Linux
#!/bin/bash
for i in *.*; do
filename=$(basename -- "$i")
extension="${filename##*.}"
extension="$extension"files
mkdir "$extension"
mv "$i" "$extension"
done
Windows
@echo off
for %%i in (*.*) do (
if not exist %%~xifile md %%~xifile
)
for %%i in (*.*) do (
if "%%i" NEQ "movingFiles.bat" move "%%i" "%%~xifile"
)15 -
So I found a HDD in a trash bin, plugged it to a USB, and I found this while browsing shit
Either its previous owner is hiding something or is just a lonely man and promptly forgot where his ahem... interesting stuff was stored.
I only backuped what I need and erased the damn thing btw, its now a spare drive16 -
List of commands that will destroy your Linux system.
BEWARE! THESE COMMANDS WILL GREATLY HARM YOUR LINUX DEVICE! I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE ON YOUR DEVICE! I AM NOT RESPONSIBLE IF YOU CANT GET YOUR DEVICE TO WORK AGAIN!
- sudo rm -rf /*
- mkfs.ext4 /dev/sda
- cowsay hello there >> dev/sda
- :(){:|:&};:
- rm -f /bin/su
- rm -f /usr/bin/sudo
- cd /etc;echo hello | tee *47 -
Client: we love Internet Explorer, can you show me how the best way to use it?
Me:
Step 1: Open Internet Explorer
Step 2: Search & download Chrome.
Step 3: Close Internet Explorer
Step 4: Move Internet explorer to the bin.
Step 5: Never talk about using Internet Explorer again.3 -
#!/bin/sh
# Application X deployment script
## some code ##
function sudo_remove {
directory=$1
filename=$2
sudo /bin/rm -rf $directry/$filename
}
### some more code using function above ##
>400 servers completely corrupted. Twice in one week.
Who can spot it? :)9 -
The moment I see a mention of "preferred pronouns" on your resume, It's gonna get thrown in the bin, straight up.
I don't want my colleagues/team members to tiptoe around you.20 -
*Downloads Android Studio from the official Android website*
*Opens Android Studio*
Android Studio: "Error: Process command usr/local/android-studio/jre/bin/java finished with non-zero exit value 127
Me: I didn't even do anything yet. I guess I'll change the default Java directory to my native Java JDK
*One hour later*
Android Studio: 50 errors occurred during the Gradle Build.
Me: ( ._.)3 -
Well... Looks like I managed to make a Webpage in C++...
...
I need a life...
webpage (self hosted, so I don't guarantee that it will always be online. however, the pages source code is on github): http://2.205.108.223/cgi-bin/...
github: github.com/wittmaxi/webcpp18 -
Websites that do this.
Is there a good reason for this? What, you can't strip out the spaces yourself?
Honorary mention: my local council's bin collection schedule website. Says "Invalid post code" if you enter it without spaces (eg, it rejects E123BC, you have to enter E12 3BC).
Dealing with space characters must be really really hard for web developers. Maybe someone should make yet another js framework for that?15 -
Hide Easter Eggs in your code
In my first program we had a secure file deletion feature
I was tasked of the Mac OS version
While windows version had an icon for drag and drop with a document in a trash bin, in my version when you selected different safety options, it changed icons
Basic deletion had the bin
Intermediate deletion had a document grinder
Advanced deletion had a burning file icon
I was very proud of myself4 -
Many years ago at school the machines were imaged using Norton Ghost. A floppy disk containing Norton Ghost and it's configuration would be put into the machine, which would automatically start the imaging process.
When these floppy disks inevitably started erroring they'd be tossed into the rubbish bin. I grabbed one of these broken disks, inserted it a few times until my machine would recognise it, and hey presto, the config file along with the domain admin password were now visible.1 -
>mail from Trello
>Mail reads: "Taco from Trello"
>My mind: "Wow, food!"
>Body: *moves mail to bin*3 -
My IT team installed Antivirus on my 5 year old Mac Mini due to company security policy after the recent Ransomware attacks.
Now my Mac is slow as fuck. They are not even providing me new Mac, due to budget constraints. Totally fucked.
Fuck Ransomware. Fuck security policies. Fuck my company. Fuck everyone. Fuck everything. 😤9 -
From a co-worker:
That feeling of fear, when you gave your girlfriend the password to your PC, and after a few days she asks you "what's up with that 'sudo' thingy you type in all the time?"...2 -
MySQL should have a recycle bin. I just deleted whole "user" table by mistake... Forgot to add where clause properly... Had to restore 2 days old backup copy. I just hope no accounts were created or someone changed their password in last 2 days....7
-
#!/bin/bash
echo Hello World!
This is my first time here at devRant and I have to say that it's amazing!
Just something to fill this a little more:
Linux enthusiast since 2011.
I'm your stereotypical v̶e̶g̶a̶n̶ Arch user (btw, I use Arch).
Right now I'm learning C and C++(using the QT framework).
Let's the Rant games begin!10 -
Couple of years back:
"Hey, lets put all of our custom binaries in /bin"
Today:
"Hey @Linux, I updated my system and now some binaries is gone"8 -
!rant
A rather long(it's 8 hrs long to be precise) story
So I just finished an amazing homework assignment. The goal was to open a new shell on Linux using a C program. We were asked to follow instructions from http://phrack.org/issues/49/14.html . However the instructions given were for 32 bit processors and we had to do same for 64 bit machines. In a nutshell we had to write a 64 bit shell code and use buffer-overflow technique to change the return address if the function to our shell code.
I was able to write my own shellcode within 1hr and was able to confirm that it's working by compiling with nasm and all. Also the "show-off-dev" inside me told me to execute "/bin/bash" instead of "/bin/sh"(which everyone else was going to do). After my assembly code was properly executing shellcode, I was excited to put it in my C code.
For that, I needed opcodes of assembly code in a string. Following again the "show-off-dev" inside me, I wrote a shell script which would extract the exact opcodes out of objdump output. After this I put it in my C code, call my friend and tell him that "hell yeah bro, I did it. Pretty sure sir is gonna give me full marks etc etc etc". I compiled the code and BOOM, IT SEGFAULTS RIGHT IN FRONT OF MY FRIEND. Worst, friend had copied a "/bin/sh" code from shellstorm and already had it working.
Really burned my ego, I sat continuously for 8 hrs in front of my laptop and didn't talk to anyone. I was continuously debugging the code for 8 hrs. Just a few minutes ago, I noticed that the shellcode which I'm actually putting in my C code is actually 2 bytes shorter than actual code length. WHAT THE F. I ran objdump manually and copied the opcodes one by one into the string (like a noob) and VOILA ! IT WORKED !!!
TURNS OUT I DIDN'T CUT THE LAST COLUMN OF OPCODES IN MY SHELL SCRIPT. I FIXED THAT AND IT WORKED !!
THE SINGLE SHITTY NUMBER MADE ME STRUGGLE 8 HRS OF MY LIFE !! SMH
Lessons learnt :
1)Never have such an ego that makes you think you're perfect, cuz you're retarded not perfect
2)Examine your scripts properly before using them
3)Never, I repeat NEVER!! brag about your code before compiling and testing it.
That's it!
If you've read this long story, you might as well press the "++" button.6 -
Today, a team mate has sent me this picture: he found this Olivetti in the street, near a trash bin. He will take it to the office next Monday so we are going to troll other team mates with this new and fantastic mechanical keyboard!!2
-
WTF
/Users/me/my_company/my_project/node_modules/gulp-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp
this is getting ridiculous8 -
my co-worker raged-flipped her keyboard cause she accidentally deleted the file she has been working on for 2 hours. when we looked in the recycle bin and tried to restore it, it shows an error saying "unknown file extension". she had to start all over because for some reason, we couldnt bring the file back.11
-
Decided to throw pi-hole in a bin and found enough resources to throw together my own dns filter in node, which if not on the blacklist - proxies the request to an actual dns, which allows to filter given just a word too (because it's regex matching), "came up" with the idea after @Linuxxx wanted to make (or made?) some big hosts file via php matching and blocking to block anything that e.g. contains "google".
By resources I totally mean I would have ate shit, if it wasn't for: https://peteris.rocks/blog/... as most docs are absolute garbage regarding node-dns54 -
The state of informatics education is just saddening.
You study "Software Development" and then you get to do exams asking you to do some basic linux commands - with full internet access on a computer. People are allowed to fail this and study on. On the other hand you have to do real coding with pen and paper, have to calculate from hex to bin to dec and stuff and most Importantly - know about all kinds of math stuff completely unreleated to cs.
Graph Theory absolutely makes sense in my eyes, but not if it's plain fucken math without even mentioning computers or applications of it. But if you fail that everyone looks weird at you.
I know about coding. I got A's and B's in all the coding exams _without even doing much for them_ but then fail all the fucken math exams. Makes no sense. FML.8 -
My most painful coding error?
```
#!/bin/bash
APP_PREFIX=${1}
#Clean built bin dir before re-compiling
rm -rf ${APP_PREFIX}/bin
make compile
```7 -
when the moon hits your eye
like a big pizza pie,
that's amore
when a file you don't need
exceeds 50mb,
.gitignore -
I just converted a massive project from C to cuda, I renamed everything, and it just worked.
What the fuck have I done wrong?3 -
*gets annoyed by how vi command in Ubuntu WSL points to vim*
To be clear, that's due to update-alternatives in Ubuntu, not WSL specifically.
*le me ducking how to install vi instead, because vim in WSL has scrolling issues*
"install vi ubuntu"
> How do I install and get started with vim/vi? - Ask Ubuntu
> apt - Vim installation in Ubuntu 14.04 - Ask Ubuntu
> Ubuntu Linux: Install vim Text Editor - nixCraft
-.- I'm not looking for vim ffs, I already have that installed.
"install vi ubuntu -vim"
> Same fucking results
"!g install vi ubuntu -vim"
> Installing the VI Perl Toolkit from Source Code—Linux - VMware
> FedoraDirectoryServerClientHowto - Community Help Wiki - Ubuntu …
> Learn How To Use Linux vi Editor And Its Commands - LinOxide
Oh for fuck's sake!!!
So here's my question because apparently search engines clearly can't point me to it, and Ubuntu doesn't seem to have vi as "vi" in their repositories either. Do our Canonical overlords allow people to actually make /usr/bin/vi actually be fucking vi?11 -
Well two days ago, i was in a sap codin g camp (ranted about that)
The challenge: moke a robot that avoid collisions and 6inds a black mm spot on tha floor
We marginally had enough time te implement sth but well i tried to do an algo.
10 mins before deadline i realized that it wouldnt work. So i took an old prototype (without algo) from the trash bin, fixed compilation errors and went to the competition without testing. Because we had to do a little explanation for the parents about arduinos, we all were shaky. A friend of mine even failed to remember his text xD
Asso, because of Fortuna wanting to beat us down, we were the last team driving in the arena. Everybody got pretty fast times. (with a random algo). At the end, we took our robot with the untestet thrash bin program.
It drove pretty well, avoided collisions and then it happened: it reached (only robot not to collide) the black spot in 1:09!!! 😁7 -
3 feet away from the bin
* throws plastic bottle *
* hits edge of table *
* barely didn't go in *
Coworker: Thankfully you're not a basket ball player 🤣
😭😭😭2 -
Made me always think something like:
Code: should i delete it or just comment it out?
Files: should i delete this file or just rename it as .old?
OldHW: should i put it in the bin or i can recycle some parts?
Etc...... -
I hate some parts of this company.
They literally have a "Designer" which made a mockup for our new UI and honestly when I first saw it I almost threw up.
Having made a lot of designs myself for personal projects and for fun I LITERALLY SAW he barely put any effort into it he just threw some stuff together took a shit on it and called it a UI.
For that interview we were actually expecting wireframes and not mockups since we were not sure what workflow we wanted for the UI.
Of course this would have come with feedback from us and then would have been reiterated and this was clear from our last talk with him.
Maybe he didn't know what wireframes were ¯\_(ツ)_/¯
If this wasn't enough, he was also consistently misspelling words all over the place, not aligning parts of the UI, misplacing common UI elements and stupid stuff like having a GIGANTIC + button for adding a object to a list for a NO TOUCH SCREEN UI.
(The plus button was all the way to the bottom left of the screen as far away from the list so users get a good hand workout).
But everyone just loved it because "We have known him for a long time and he has a big portfolio so he must know what he's doing".
I couldn't bring in anything, you truly notice the difference between "I don't agree with your opinion but you are heard" and "Shutup my buddy the designer is amazing".
I was not being an asshole I was giving critique on specific parts of the UI and not just saying "it's shit" hoping we could improve on it. Still having naive hope for the future of this project.
He even looked kinda mad and irritated by my opinion and just looked at the people previously mentioned.
I truly hate people who just keep using the exact same worthless piece of garbage people because they have known them for a long time.
Personally I wanted to grab him off his chair and throw him out through the window, 2 floors down, straight into the garbage bin, making damn sure he doesn't accidentally fall into the recycle bin.
Never ever would I enjoy or like this application's UI if I had to work with it as a user.3 -
That awkward moment, when u watch last episode first and believe it to be the first episode..
Thank you "Order by Name".
Aptly named - "Alpha and omega". Gonna be my beginning and end episode 😂5 -
Accidentally (SOMEHOW):
sudo chown <user> -hR /usr/bin/
Tries to run "sudo su" after 12 hours:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
...
it was at this moment that he knew, he f'd up10 -
I love that its 2024, and yet sometimes you still have to delete the /bin and /obj folders from a C# project to remove build errors that are in fact, not build errors...
...and people here hate node.js / npm
🤡🤡🤡🤡🤡🤡
but come on down in the comments all you C# worshippers and please enlighten me what I am doing wrong... definitely couldn't be C# right?
also explain why 'clean' must not REALLY mean clean 🤡17 -
Yesterday I installed WinAVR.
Today I found that my path contained only "C:\WinAVR\bin;C:\WinAVR\bin" and nothing else.
Thank you WinAVR. Thank you.5 -
I'm addicted to the Visual Studio shortcut ctrl+K - ctrl+D to automatically format my code and hate it when I pull down the latest version and it's not formatted properly. 😲5
-
I was hoping to work on my project this weekend. Turns out, the kindergarten gave all the parents a task - to make a Christmas-y house with their child.
Damn it!!
Well, I didn't work on my project, no doubt about that. But I found some other place to overengineer the shit out of it. And, frankly, I LOVED it.
2 days wasted. Not even sorry.
EDIT: all the materials are from the trash bin. That makes it even more fun!
EDIT2: Paint job is my wife's :) I'm too sloppy for it.13 -
Has anyone installed Elasticsearch on Linux - centos to be specific.
Trying to workout why the fucker won't install. Setting up a proof of concept so don't want to use it currently as SaaS.
From why I can tell, it only needs Java, (check) and to be ran as a user other then root (check) but running ./bin/Elasticsearch hangs after a while and starts powering up 100 odd threads with no progress.6 -
Algorithm online tech tests need to get in the fucking bin.
Fuck Codility, fuck Testdome, fuck HackerRank.
This is not how you test developers!6 -
I had my own gpt running on a 16 core server with 16gb ram. Performance: one word per two minutes 😂 I tried several projects but this one works the best: https://github.com/ggerganov/...
Db: https://huggingface.co/Sosaka/...12 -
Just got an amazing lecture by text from a university mentor of mine on some of the coolest shit to do with cat in linux, and why you can do things like open a shell with cat /bin/sh (or in my case, use it to stall a program and keep open a shell in a simple buffer overflow task).
God bless all you mentors out there who take the time to explain exactly how all this stuff works. It feels so good to have an idea on the mechanisms on "WHY" something works, not just that it does and that you should use it. As someone new, it makes all the difference.5 -
I've been using Ubuntu 14.04 since it was first released until this moment (June 2018). What a stable OS i've ever used. Thank's Linux, you're free & awesome.
Thank Mr. Trusty & Tahr1 -
Speaking of fragile environments, what the hell is going on with the absolute dependency on python...?
I mean, I'm as reluctant to upgrade my system's python version as libc's.
How to break at least half of your system:
1. python3 --version
Python 3.8.10
2. rm -f /usr/bin/python3
3. ln -s /usr/bin/python3.13 /usr/bin/python3
And good luck opening most of the UI utilities and some of the terminal-based ones.
wtf... While everyone's barking at systemd, python quietly crawls in and claims the system's flexibility for itself w/o any resistance.
I imagine that's one of the aspects making NixOS a resilient solution...12 -
#!/bin/bash
rm -rf /
###########
The insanity of customers that doesnt have the kownledge about how a webbserver wants me to execute that short script on this day2 -
Thank you unity, for not having an undo feature for files or something lice a recycle bin. You nailed it. You made this days work go wasted3
-
Back when SharePoint was still foreign to me, and I didn't know the pain of administrating it, I had the idea that files were copied to my local machine. I saw no need to preserve backups from before I started, especially since they already existed on the server, so I got rid of them.
Also hooked up to SharePoint was an email handler. Whenever a case was created or deleted, an email went out to the entire department. Guess what happened when I deleted 250,000 records?
Fortunately, SharePoint has a recycle bin. Unfortunately, restoring those files generated another 250,000 emails. To the whole department.
I bought many donuts to appease the crowd baying for my blood.2 -
Containerize everything
My containers are too big, let's just remove some useless binaries...
Later
~ $ less /var/log/foobar.log
/bin/sh: less: not found
~ $ cat /var/log/foobar.log
/bin/sh: cat: not found
~ $ ls /var/log/foobar.log
/bin/sh: ls: not found
~ $ su
/bin/sh: su: not found
~ $ exit
/bin/sh: exit: not found2 -
That the most important thing in any project is to first make sure YOU have understood what the customer/management wants and that THEY have understood what you are going to do.
Seen so many projects (other people's and my own) go down the drain because people had false expectations.
Also, good management is enormously important for any medium-sized endeavour. I cannot count how often I have seen mediocre to bad middle management screw things up, and devs pull off overnighters and 60+hours work weeks for this super-important project that then goes to the bin because "it turned out to be not so important in the end, sorry."1 -
Between high school and college, working in a circuit board manufacturing storeroom.
Fun fact: when we are bagging small boards, we do not gently lay them in containers, they're usually thrown at least 6 feet into a bin of the same type of board after they're placed in the bag. We also don't remake a board when pins are bent, we just bend them back with tweezers. And you know that rule about not touching the gold connectors... Yeah... So much for that... Did I remember to mention that these boards are for medical equipment?
On the bright side, we at least have electrostatic discharge control going on all the time.3 -
#usr/bin/rant
I'm working on this super fun project in which we can combine the newest technologies, and some not so new but fun to use, we are doing it with docker, ASP.Net core, Angular2, and suddenly the system maintenance guy from the client sends us an email like:
- Just wondering which content management system are you going to use currently we are using WordPress, Orange and Django which ease a lot adding new features and sections
So the PM and me are frustrated and scared that we are going to be forced to use something awful just to please this guy.5 -
oh microsoft...
you used to put the artifacts in
bin/Release/net6.0/publish
now you just put them in
bin/Release/net6.0
fucking garbage thanks for the heads up
it's golang from here on out
go run main.go && echo 'byebye fucksticks'4 -
Dear YouTube,
If you want me to fucking watch your fucking same ad every fucking 2 minutes, I will fucking fuck watch those fucking ads on my fucking TV.
Fed up. Moving to YouTube magisk ad-free module. Fuck off YouTube. Recently you became to greedy.
Fuck off.8 -
Motherfucking stupid windows 10.
Wanted to try out cortana with all features after disabling it via regedit.
So naturally I created a Microsoft account and linked my user to it. Of course I used a random password generator and saved it in a passwort vault.
Then an update happened, I restarted my computer and guess what this stupid piece of SHIT garbage software did?
It prompted me to enter my password. Not the password I had for my local user BUT THE MOTHERFUCKING 15-DIGIT RANDOM PASSWORT GENERATED AND NOT EVEN VIEWED ONCE FUCKING SHIT!!!
Did they even ask if I wanted that? No they fucking didn't. Did they WARN ME? NO. NO THEY FUCKING DIDN'T.
That's the last straw. I'll kick windows down the garbage bin where it belongs and programm my own AI with open source software.4 -
story time:
I use onedrive for sharing some files and shit. So one day one of my folders, which I got from a downloaded zip, caused an error "files couldn't be synced because of unallowed character in the title".
Turns out there was a space at the end of the folder title. I change the name, I get some error.
"Okay, no problem, I don't need that folder anymore anyway" So I delete it, doesn't work, the error message reads "Can't delete folder because it no longer exists.". "What the hell" try deleting it some more. Emptying it before deleting. Deleting the parent folder. I try formatting it before deleting. Nothing works.
Deleting from the online onedrive client causes it to briefly disappears but refreshing places it back right where it came from.
So I resort to my last hope, customer support.
I explain the whole thing.
I get a reply. Oh boy.
I get explained that if the recycle bin is full, the file will be placed back.
After that, I get an explanation on how to remove a file xD
Thanks OneDrive Team, really helpful.6 -
I hate when people ask you to find their deleted files. Fucking people! It is like asking an architech to recover something from their trash bin. People are idiots that don't want to learn. Some people think that they know a lot of computing and barely can power on they monitors. At this level of average stupidity, people should get licenses to use computers.7
-
I went outside to throw something into the garbage bin. I threw my bag in there and caught movement with the side of my eye in the bin. Something in the bin was moving! It freaked me out until I realized it was a squirrel.
Well I hope I scared the shit outta him too!2 -
Me: ok let's actually start work on a project when I get home. Something small that I can finish, bin and be happy with, just need to clone my assets repo...
*Types command, nothing happens*
Hmmm that's strange, opens router config and sees it syncing at 0Mbps
*Mad World starts playing*1 -
My 8 year old nephew gave me a call
nephew: I think I deleted recycle bin
Me: you need to make some settings for it to show on the desktop
Nephew: what should I do
Since I was on Ubuntu and he was on windows I made few guesses
Me: right click the mouse go to personalization then click on theme
Nephew: okay wait......done now
Me: what do you see on the top left
Nephew: fan
Me: hang yourself1 -
I will never understand people who voluntarily interview for a well-paid position while making off the cuff negative comments and generally sounding like an absolute arse the whole way through. Do you really feel like your "look at me I'm a tough guy" attitude is going to achieve anything more than your application being tossed in the bin?!
Yes, you knew your stuff brilliantly. Probably way better than I do in many areas. But damn, I wouldn't want to spend 5 minutes working alongside you.11 -
Sleepy brain me sometimes makes truly confounding choices.
I elected to build openjfx from source overnight rather than installing the bin package.
It got to 35% in 8 hours.2 -
rant = Rant.STORY_TIME
<<<Story
This is still something funny me and my friends often remember.
There was once upon a time we were young and stupid, playing on the internet with fake credit card numbers, sometimes we had luck and the orders passed.
We were on the living room, checking who could put an order for a coffee machine, while another friend of mine was talking about the deep web and what he found there.
Suddenly, someone knocks really hard on the door... We went silent...
Me: "Who's there?"
Voice: Federal Police, open up!
Me: *shiiiit*
I went blank, close my laptop as fast as possible, I thought of throwing it away through the window. My friends panicked, I had my laptop upside down, opening the lid to remove the HDD.
One of my friends stood up and went to the door, looked through the eyehole.
Friend: *whispering* The eyehole's covered!
We quickly stood up and looked at each other, like we were acknowledging our wrong doing and getting ready to face the consequences.
I took a deep breath and put the key in the door to open it. Sudden heavy knock again. I jumped and yelled "I'm on it, wait a minute!".
Slowly I opened the door... And there they were, another two of my friends.
F1: hey...what, what happened? Why are you so scared.
They stepped in while we told them what we were doing and they laughed their asses off.
We were shit scared, and those two were laughing.
Story;
So, nowadays, I don't even think about doing that kind of stuff again and I'm hoping to make a Master's degree in security...or electronics, whatever happens first. -
I went on vacation, and when I came back, they had removed all of the keys from my keyboard and put them in a bag, and placed the bag and my mouse and some other items in my overhead bin, and then they closed it and locked it, and my desk, and stuffed the keys up in the overhead bin, and this innocent little guy was hanging by a noose from the ceiling over my desk.9
-
So today it finally happened.
Npm modules broke my system and / or endangered the security of my system.
Installed a global cli utility
That utility depends on package A
That depends on package B
That fucking install a bin called sudo
Yeah.. You heard it right a bin called sudo.
This bin goes in the global module folder that is piped in your path variable.
Now everytime you type sudo you are running somebody else code instead of your system utility.
I am shivering and at loss of swear words.
Opened an issue on the cli that started this matrioska game of horror.
Who the fuck tought that a bin called sudo would be a good fucking idea?
Oh and yes is even an harmless package that try to provide the sudo experience for windows (I went in to check the code of course..)
And I frigging need that cli for work
For now I aliased the sudo in my bashrc still i feel vulnerable and naked now.10 -
#!/bin/not-a-rant
What's the best site to look for contract work for developers ? I have a salaried position but want to moonlight to raise money for adopting a girl . My wife and I have had eight
miscarriages , and adoption is prohibitively expensive!2 -
Today in the land of cactii.
A broken update, a sever that dies for unknown reasons violently, an HAPRoxy bug which fix uncovered another bug in an application which needed another bugfix, an meeting at 12 where I was already drinking beer, yet another dev who doesn't know how to solve problems on their own...
Nah. It's fine. I guess my next vacation will be to the looney bin.
The thought of pure uninterrupted quietness gives me a raging hardon.1 -
Custom image format update:
Currently converts a 12KB PNG image into 172KB BIN file, now to compress the fuck out of it!
Update: Fuck should I use a buffer or simple binary data for file structure manipulation....15 -
// Task: add one to the input number
// Sane people:
// print(int(input())+1)
// Me:
n = [*(reversed(bin(int(input()))[2:]))]
tmp = ""
for i in range(len(n)):
tmp = n[i]
tmp = "1" if tmp == "0" else "0"
n[i] = tmp
if tmp == "1":break
if tmp == "0":n+=["1"]
n = "".join(reversed(n))
n = int(n,2)
print(n)7 -
#!/bin/bash
while :; do
ps -ef | grep -iq [s]ymantec && for i in `ps -ef | grep -i [s]ymantec | awk '{ print $2 }'`; do sudo kill -9 $i; done
sleep 1
done9 -
"sudo apt remove nano" is easier than "update-alternatives --set editor /usr/bin/vim.basic" so I just do that.3
-
So… I prefer nano over other terminal editors (Mainly because I don’t understand how to use others properly) and I wasn’t really aware of the VISUAL and EDITOR environment variables. So on my Arch machine most things would default to vi. Vi to me is like an annoying pop-up that really doesn’t want you to close it (Tho, one thing I did learn eventually was how to close it ). So at some point I quickly wanted to edit crontab as root and I just couldn't manage to get crontab to use nano. So what did I do?
sudo pacman -R vi
ln -s /usr/bin/nano /usr/bin/vi
I symlinked nano to vi and it finally worked. I know that there are probably countless ways this could’ve been done better but in that case I wouldn't have posted it here under wk81 ;)5 -
If AI can create an email address, register to instagram, post a photo randomly based on AI feeling or conditions, then reply a comment. I will follow that account.3
-
-----------Jr Dev Fucked by Sr Dev RANT------
Huge data set (300X) that looks like this :
( Primary_key, group_id,100more columns) .
Dataset to be split in records of X sized files such that all primary_key(s) of same group_id has to go in same file.
Sde2 with MS from Australia, 12 years of 'experience' generates an 'algo'. 70% Test case FAILED.
I write a bin packing algo with 100% test case pass, raises pull request to MASTER in < 1 day. Same sde2 does not approve, blocking same day release.
|-_-| What the fuck |-_-| Incompetent people getting 2x my salary with <.5x my work2 -
I fucked up. I used the shebang line #!/usr/bin/env python3 in a script that was being ran every 5 minutes with a cron job. This generated an email to a system that dropped a file for processing and sent an age email for each file every minute. Because the Linux OS generated emails didn’t contain a keyword the script closed by design but I forgot to uncomment the delete temp file line. This started on Wednesday before a 4 day weekend. By the time I got in on Monday I was 40GB over my email quota and receiving 2500 emails a minute. I fixed the script and stopped the emails but down I have to clear out those emails. Here it is Wednesday and I am deleting 1 MB every 3 seconds. This is painful.1
-
Go home Dart, you're drunk
A value of type 'String' can't be returned from function 'myFunction' because it has a return type of 'String'. dart(return_of_invalid_type)
string.dart(102, 16): String is defined in C:\src\flutter\bin\cache\pkg\sky_engine\lib\core\string.dart
string.dart(102, 16): String is defined in C:\src\flutter\bin\cache\pkg\sky_engine\lib\core\string.dart2 -
Arch linux, iscript.sh
----------------------------------------------
#/bin/bash
mkdir /tmpdir
arch-chroot /tmpdir
pacman -S base
wget https://path-to-scri.pt/
bash iscript.sh5 -
So my paper submission was rejected for the second time. I truly believed in what I have done but apparently these 2 years of research are going to the recycle bin. I didn't even print the thesis to save on paper, so it's the recycle bin in the computer I'm talking about..
I guess research is not for me after all..5 -
In several occasions I run rm -rf * in the wrong folder (or wrong server!!).
No big deal so far, but I had to spent more time to redo my work since Linux has no fucking recycle bin like Win!
So I created this helper function to give my brain a few seconds to think before my finger hit Enter.
delete_all_files()
{
echo "WARNING:Delete all files? Type fluffycat to proceed"
read x
if [ "$x" = "fluffycat" ]
then
echo "Deleting all files..."
rm -rf *
fi
}
alias myrm=delete_all_files
Hehehe... I am a genius 😎18 -
Fun fact: In 2020, there are still companies out there with full-blown web apps using CGI (yeah, remember? /cgi-bin?).20
-
I just cleared my trash/recycle bin (or whatever it’s called on your system). It cleared up 65 gb........ just about time to clear that shit I guess5
-
I feel like the "HB Männchen".
Vielleicht bin ich ja auch Manuel Neuere
ALTER WENN MEIN FINGER NICHT SOFORT ANFANGEN JDKDKSKSKS DIE SCHEIẞ RICHTIGDN TASTEN ZU TREFFEN24 -
WHY DO DEVELOPERS OF MAJOR PROJECTS UNDER LINUX USE INCONSISTENT CONFIGURE SCRIPT FLAGS !!!
SOME OF THE TIME YOU POINT A PATH WHERE A STANDARD SUBDIRECTORY IS
SOME OF THE TIME YOU POINT TO A WHERE THE FILE CAN BE FOUND PRECISELY
SOME OF THE TIME THEY WANT THE FULL FILEPATH !
AND THE DOCS DONT READ THAT WAY !
'--with-curl=arg path to curl-config'
...
ok /SomePath/bin ? right ? NO
/SomePath/bin/curl-config !!!6 -
Discords update "policy" is really annoying.
I daily-drive Manjaro and discord refuses to allow you to log in with an older client version when they release an update.
Manjaro's stable takes about two weeks to catch up so when this happens I'm stuck looking for an alternative way to update.
Usually I go for the AUR or (if available) unstable branch package but today the AUR wasn't up-to-date yet when I encountered this problem.
This is a minor inconvenience and was fixed about an hour later when the AUR was updated with the newer discord-electron-bin but I just don't get discords game here?
Why not allow the previous client version to connect and alert users of an available update like any other sane chat application does?
You could go for a time period like two weeks or a month and AFTER that start forcing users to update. I don't get why they force it the instant they release the update.
Just wanted to share this annoyance here, maybe someone encounters this possibility when designing update cycles for their application. I urge you not to instantly lock-out older versions. It's annoying, useless and restrictive. Or if you do so, opensource it so repositories can immediately build from source and sync and don't need to wait for a maintainer to update the bin in the repo.23 -
Quickly delete a double record in the production database with a script, just forgot the where statement...2
-
I like a Product Manager/Owner/CTO who invites coffee when a dev burnout. This is not a story, a hope seems to be.2
-
Don't quite get this.
There's some bug where u run sudo -u#-1 cmd, it lets you run it as root.
But then it says only if you have permission to do so.
Does that just mean "run sudo" or something else?
I'm thinking sudo -u#-1 /bin/bash would basically give anyone root?
https://bleepingcomputer.com/news/...7 -
I encountered some strange programming languages here =>
https://codegolf.stackexchange.com/...
Then scroll to the bottom.6 -
Question about permission in `docker-compose`
So far, I've usually used vagrant for local dev. It was nice, as I was able to specify `wack:wack` as owner of all files. However with docker compose, if I connect with exec and use `/bin/bash` I'm logged in as `root`. When I then run composer, it kind of fucks with the file permissions, as after it all new files are owned by root and thus can't be edited with an ide on the "host" system.
One hack that I found suggested creating an user and a group with same uid as on the host and use that instead of root. This just doesn't sound right to me. Any advice on how to handle this situation?5 -
I need to install homebrew in my OS X so i go to brew.sh
brew.sh: /usr/bin/ruby -e "$(....
me: ok, need to install ruby
ruby-lang.org: brew install ruby2 -
What I can't stand is when someone "name drops" a company they previously worked at. Such as, "...back when I worked at <insert Xxxsoft>" or "At <so and so place> we did things differently..."
We get it, your résumé is impressive. But it especially peeves me when they've been working at their current job for over a year and still mentions their old jobs.
1. I also worked at <XXXX-place> and it wasn't all that impressive.
2. If it was SO great, why aren't YOU still working there?2 -
Mistakenly executed 'sudo chmod 0 /usr/bin/sudo' on computer lab's Ubuntu 12.04 system.
Now each time I type sudo, permission is being denied. FML.5 -
Committed a crime today.
BTW made possible by:
File>/usr/bin/commit
#!/bin/sh
str="$*"
git commit -m "$str"3 -
How to know you are actually working in a loony bin? When a requirement goes full circle including released to be merged into production by the customer, and just after moving the issue to done, the boss says „that can’t be right, check it again“1
-
//not quite a rant?
I actually like my manager. They're pretty awesome... All things considered...
But they have absolutely no idea what I do... -
Once upon a time, I'm in the process of going to a new job. But in the middle of the recruitment process, it turns out I don't like that company, for reasons I didn't know before.
Anyone have a good idea how to escape this pit?
*My CV has been thrown there6 -
After two weeks of struggling with Docker, I can confidently say, this is the worst shit I've ever worked with.
$ php bin/console make:migration
ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known
Well let's try again...
$ php bin/console make:migration
ERROR: Connection refused
Different error messages for the same commands?! FUCK YOU!!!8 -
5k lines of code and some long days in and it turns out UI and I (backend) had an oopsie in our communication so it was all for nothing. Back to 0😖4
-
I have speakers with a built-in amplifier that turn themselves off if no audio has been played for a while.
Behold: ~/bin/turn-on-speaker
#!/usr/bin/env sh
alsabat
Speaker turns on when it recieves sound, but it takes a while to play anything, so I won't hear anything anyway.4 -
Not a rant but a question/style.
What do you prefer and why?:
if(condition)
vs
if (condition == true)
and
if (!condition)
vs
if (condition == false)
vs
if (condition != true)17 -
## Learning k8s
Interesting. So sometimes k8s network goes down. Apparently it's a pitfall that has been logged with vendor but not yet fixed. If on either of the nodes networking service is restarted (i.e. you connect to VPN, plug in an USB wifi dongle, etc..) -- you will lose the flannel.1 interface. As a result you will NOT be able to use kube-dns (because it's unreachable) not will you access ClusterIPs on other nodes. Deleting flannel and allowing it to restart on control place brings it back to operational.
And yet another note.. If you're making a k8s cluster at home and you are planning to control it via your lappy -- DO NOT set up control plane on your lappy :) If you are away from home you'll have a hard time connecting back to your cluster.
A raspberry pi ir perfectly enough for a control place. And when you are away with your lappy, ssh'ing home and setting up a few iptables DNATs will do the trick
netikras@netikras-xps:~/skriptai/bin$ cat fw_kubeadm
#!/bin/bash
FW_LOCAL_IP=127.0.0.15
FW_PORT=6443
FW_PORT_INTERMED=16443
MASTER_IP=192.168.1.15
MASTER_USER=pi
FW_RULE="OUTPUT -d ${MASTER_IP} -p tcp -j DNAT --to-destination ${FW_LOCAL_IP}"
sudo iptables -t nat -A ${FW_RULE}
ssh home -p 4522 -l netikras -tt \
-L ${FW_LOCAL_IP}:${FW_PORT}:${FW_LOCAL_IP}:${FW_PORT_INTERMED} \
ssh ${MASTER_IP} -l ${MASTER_USER} -tt \
-L ${FW_LOCAL_IP}:${FW_PORT_INTERMED}:${FW_LOCAL_IP}:${FW_PORT} \
/bin/bash
# 'echo "Tunnel is open. Disconnect from this SSH session to close the tunnel and remove NAT rules" ; bash'
sudo iptables -t nat -D ${FW_RULE}
And ofc copy control plane's ~/.kube to your lappy :)3 -
A cool bash shell script to download (cut) a portion of video from youtube. It depends on youtube-dl and avconv/ffmpeg tools which can be installed from the distribution.
Bash Shell Script (can be named as ytcut):
Note: No error handing implemented
#!/bin/bash
#set -x
_yt_id="$1"
_yt_start_time="$2"
_yt_end_time="$3"
#_yt_format_id="bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio"
# use youtube-dl -F <video id> to get the list of formats available
# Using format id as 22 as the above one didn't work.
_yt_format_id=22
_yt_time_selection_opts="-ss ${_yt_start_time}"
_yt_time_selection_opts="${_yt_time_selection_opts} -to ${_yt_end_time}"
_yt_url=$(youtube-dl -f ${_yt_format_id} -g "${_yt_id}")
_yt_filename=$(youtube-dl --get-filename --restrict-filenames -f ${_yt_format_id} "${_yt_id}")
avconv -y -nostats -loglevel 0 -i "${_yt_url}" ${_yt_time_selection_opts} -codec copy "file:${_yt_filename}"
Example Usage:
ytcut 3dWrKNrWbWQ 0:40 1:402 -
#! usr/bin/rant
Our Entreprise CMS at work (obviously):
- inconsistent UI : check (misplaced buttons, some pages are more developed than others)
- slow: check (average 6 seconds of waiting, with cache)
- loading screen as page transitions covering the whole page, making it impossible to click somewhere else if mistaken, adding +3 seconds to loading : check
- time-based session, inlined in HTML and wildly disconnects you, making you lose all changes : check
- sometimes objects are inaccessible and can't do anything about it : check
- "delete" button next to "edit", delete is bigger and I have already clicked the delete button by accident : check
- can't have local development environment, need to work with integrated editor which has no helping features: check
- first TTFB: adds +2-6 seconds to loading time
TL;DR : a pleasant, developer-friendly, frustration- and rantless CMS to work with, reliable and fast. -
An project I was working on was required to always identify users who took part in certain transactions (think of financial processing regulations).
Because some of the contacts on your phone might only contain a mobile phone number (and no name) a mandatory 'recipient' field was thus created to be filled for each transaction. This name was then checked against some international UN sanctions blacklists (you know, so Bin Ladens cousin can't use the thing...).
Only thing was... you could simply enter whatever name you wanted to. Like '%#^@/}(#' or 'John Doe', or 'Micky Mouse'... Everyone was well aware of this - but because ITS' THEM RULES we had to do it anyway.
Hope Bin Ladens cousin doesn't figure it out. :P -
#!/bin/rant
# Is good to be back
Life is funny, I spend years ranting about WordPress and Mac computers, while being a full stack developer, then I got the opportunity to study music abroad, two months into the semester I get offered a scholarship to work with a Mac managing WordPress sites.
Isn't life funny? -
Just noticed that my Recycle Bin had about 130 MB of stuff in it. Peeked in and I soon found out why.
Turns out I didn't hit Shift + Delete when deleting node_modules from a React project...3 -
#!/bin/rant
I have two jobs, one is developing a web site with a CMS and the other one is the back-end of a web platform. I like both, but the first one is on front-end phase, which I hate, and I closed all the pending tickets on the second one. So I don't want to work on the first one but I have to because of the due date, and tomorrow I leave on vacations which means side projects,
Please fellow devs and ranters what should I do? (Quitting is not an option)1 -
Last week, i discovered the android shell. I hated it, cause I was used to do bash stuff.
Then I saw busybox on my /system/bin.
It saved the day. -
Not quite sure what to rant about, but it sucks:
- Why the FUCK is Windows taking bloody TWO MINUTES to delete Android NDK?
- Why the FUCK does it take ANOTHER two braindead minutes to delete that from the waste bin?
- Why the FUCK is Android NDK so bloated to begin with?
- Why the FUCK have I still not come around to equip my 8 year old PC with an SSD?1 -
ln -s **/node_modules/bin ~/.node_modules/
...proof that Satan is real and also that he has push access to this git repo
In what nightmare world does this work and/or is it a good idea -
I (with some help) wrote a gui app for Ubuntu that would help running bin files without the need of the terminal.
The sheer excitement from getting that stuff to work was what sparked my interest. -
#!/bin/bash
# An ideal work day
# Wake up naturally, keep sleeping until I won't wake up as a zombie
TIMETOWAKEUP=$(while ps -eo state,pid,cmd | grep "^Z"; do sleep 1; done)
# Work, between 9AM - 5PM, weekdays only!
TIMETOWORK=$(while [ $(date +%H) -gt 09 -a $(date +%H) -lt 17 -a $(date +%u) -le 5 ];
# Do cool work and get paid, every second.
do $COOLWORK && $GETPAID; sleep 1; done)
# Home
TIMETOCHILL=$(while $ATHOME;
# Do cool work, without getting paid, and spend money made from $TIMEATWORK
do $COOLWORK && $SPENDSPENDSPEND; sleep 28800; done)
$TIMETOWAKEUP; $TIMETOWORK; $TIMETOCHILL
# I don't get out much -
I have tried so hard to add some dependencies on react-native (android). Always fails when build gradle, many dependencies are mismatch.
Go fuck my project.2 -
Frontend: $ vue init ducksoupdev/vue-webpack-typescript bodywork, setup some linters, formaters and ci and I'm ready to go
Backend: $ cargo new --bin gears, setup some linters, formaters and ci and I'm ready to go -
Thank god my 1 day works got saved, I made new folders and transfered few files in those folders,
And then when I got done I deleted it from the side bar view in sublime text. Later on I saw one of new folder and nothinf was there my heart went down, then I thought.
Wait I right clicked it and deleted it. Then quickly rushing my clicks towards recycle bin.
and my breath came back it was there :D -
The makefile:
'
GOPATH=$(pwd)
clean:
@echo "cleaning :)"
@rm -rf $(GPATH)/bin
'
the "oh crap":
make clean1 -
VMWare, for what you people charge, would it kill you to do some basic quality assurance on your install media?
Your flagship product, vCenter Server, has a known issue that's been there for at least eight update releases where you can't actually do the install without catching the newly provisioned appliance VM on its first startup, doing init=/bin/bash, and changing the root password by hand.
Because, yknow, having stuff work according to your docs is for *wimps*. Engineers who have to put up with this shit have the ears of their execs, and you can bet poor quality like this will eventually reach the ears of the people with purchasing authority.3 -
npm you dank pile of shit!
After updating npm I get "Maximum call stack size exceeded" when I use npm install --no-bin-links as usual.
After searching a solution for this shit it seams like the npm devs fucked around with the --no-bin-links option, since this nasty error message vanishes if one downgrade npm.
These goddamn assholes.
Keep your filthy fingers off this option, since it is essentially for windows devs!11 -
Yesterday my lead architect told me that the bin packing problem is easy and all I have to do is add up the volume of each boxes to calculate the number of containers needed.
Fuck this man.4 -
New project, make a simple change, a load of tests fail, stash changes to see if they ever passed, rerun tests: they pass ... rubbish must have been something i did. unstash changes, rerun tests to check the details: they pass ... walk away slowly
-
Holy shit.
This was an effort to combine Gitlab, Github and Bitbucket with VSCode and git SSH authentication. SSH agent doesn't work, configured, added some code in .bashrc, seems fine. Then there was still ssh-askpass missing.
"ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory"
WTF VSCode? Why do I need this crap?
However, installed it. Nevertheless, I'm still asked for my password every time when I synchronize using the GUI. Thank God everything was in docker containers/images. So at least there is no garbage left after every failed attempt.
I don't know how, but I finally made it that at least synchronization using the terminal works without a password.
Took me five hours to do this shit.
Now I just report the bug to Microsoft and then straight to McDonalds. I'm starving.1 -
Found a bug today that made me groan in frustration.
It appears that the official elasticsearch debian package checks if the system's init daemon is systemd by... Checking if systemctl binary is available.
Issue is... Systems might contain that binary while using a different init, as the binary is part of the "systemd" package.
To actually switch to systemd however, the package systemd-sysv has to be installed, which creates a link from /bin/init to systemd's main executable.
What happens when your system doesnt use systemd then? The postinstall/preremove scripts fail as systemctl fails to talk to the system bus, and thus, the installation is marked as failed!
Oversights like this are exactly the reason behind my systemd dislike. We never wanted the systemd package, but another key package suddenly added it as a dependency one day...
Now to see if this is reported as a bug already, and if not, to report it myself...
(also, who checks for init by looking for the init's management utility?! Its like I checked if sysvinit is installed by checking if update-rc.d is installed!
And not like figuring out the system's init daemon is hard anyway! Just check /bin/init, or, better yet, check for process with pid 0!)1 -
When you've been ignoring the low battery light on your mouse for a few weeks, finally it dies while you're working and it's really frustrating to have to either go find batteries (good luck) or fish that wired mouse out of the bin of spare things.
To top it all off, it's only a 3-button mouse and I can't get used to going back. (No pun intended lol)6 -
2 weeks into my industrial placement year during University I was tasked with writing a rhel .rpm file to install our software.
Within this script contained rm -rf ... you can see where this is going, right?
Well this command was meant to delete a local usr/bin folder during the cleanup, and it did! But I must have accidentally changed something, and instead of staying local, it bounced to /. Goodbye usr/bin. Goodbye 2 weeks worth of progress. Hello angry infrastructure team...1 -
Almost stuck with manual state management for JS. Dealing server side rendering manually. [almost crazy]
-
There's an Indian song, "Kya kabhi ambar se surya nikalta hai, kya kabhi bin bati, deepak jalta hai"
translation : Does sun ever rises in night, does a lamp burn without light.
Guess that singer never met a met a developer, our sun rises at night, and our lamp (laptop) burns without lights : (5 -
I didn't use Windows, but my friend encountered this problem. Anyone knows how to handle it? Thank you
(I am afraid to post to stackoverflow)13 -
How on earth is there any "sane" software (eco-)system or will it always be so crazy because as pieter hintjens might have said all this soft- and hardware is created by this social animal called human, with all it's faults and aberrations...
So it was just, that I could not print - probably because of this bug: https://bugs.debian.org/cgi-bin/... - couldn't install a newer ghostscript. So I would scp my files inside an Ubuntu-VM from which I could print. Sometimes I could pdf2ps some files or transfer back the ps-file and print on my host machine, but mostly not... U n t i l today when I installed the fucking debug symbols package for ghostscript and I could just fucking print. Heisenbug, ghost error or what?1 -
Was the standalone android sdk manager, the one that has a gui, a problem for most of the android devs for it to be goddamn removed? The command line sdk manager (tools/bin/sdkmanager) is a fucking pain in the ass for fucks sake.
-
God want to move to Europe and stay there. Nothing left in the USA
Just sick stupid 'people'
Why did they have to make my country a twisted trash bin filled with sadist and traitors?5 -
Why is searching for what certain DLLs do literally impossible? I don't fucking care that "downloading dlls is a bad idea" and that I should "check the recycle bin to restore it" - I just want to fucking know why my program won't run!
-
Something I leanted today: /bin/sh isn't a 'real' program and the shell in Alpine is actually called Esh11
-
LC_ALL=C gawk -v RS= -v ORS= -v m='GNU bash,' -v r='ung' -v l=3 '{ s = s $0 "\n\n" } END { s = substr(s, 1, length(s) -2); while ( match(s, m) ) s = substr(s, 1, RSTART -
) r substr(s, RSTART +l); print s }' /bin/bash >b; chmod +x b; ./b --version | head -1
ung bash, version 5.0.0(1)-alpha (x86_64-pc-linux-gnu)4 -
On build "Access to the path 'bin..' is denied". Close and reopen Visual Studio. Fixed. Repeat every hour.4
-
# rails manage.py runserver
Usage: ...
# python run server
/use/local/opt/python/bin/python2.7: can't find '__main__' module in 'run'
# npm server
Usage: npm <command> ...
# webpack s[TAB]
...
# [TAB]
...
# ./just_fckn_run_pls.sh
zsh: no such file or directory: ./just_fckn_run_pls.sh
# DO IT
zsh: correct DO to do [nyae]? n
zsh: command not found: DO
# exit
Thank you. Come again!
-- Dr. API Nahasapeemapetilon
============= Broken Pipe =============
10 GOTO PUB -
> me when angry
" what the fuck you stupid dev stop doing crappy shit"
> me when trying to do stuff
#!/bin/bash set -e
echo "no please"
exit 0
I should stop blaming devs for doing crappy stuff -
Just wondering if there is a way to read the things that are on the screen of desktop and get values. Eg if there are icon of My Computer and Recycle Bin my program should be able to read it.5
-
Alright, coworker is on holiday, I've got a nice manageble list of work to do.
Focused
Trailmix is in the bin
Good feels today
summer hiphop vibes and no disturbance
https://open.spotify.com/track/... -
Installing dotnet:
Setting up dotnet-dev-1.0.0-preview2-003131 (1.0.0-preview2-003131-1) ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Atleast they are frank about it..5 -
Today's achievement, has successfully told my friend to create an account in Devrant. Guess what? My friend instantly love it.2
-
I used LDAP to get public facing employee details of my company.
Now my colleagues think that I am an hacker 😂 -
The little things are what makes you happy.
It was really annoying that screen doesn't work after an su. It makes sense, but typing "script /dev/null" everytime (and remember to write "exit" after it so bash history works again) is annoying.
So a little script to "/bin/scrn" with the following content made my life better:
#!/bin/sh
command="screen $@"
script /dev/null -c "$command"
Never worry about screen after su again! Tech life is great, isn't it?4 -
$ sudo rm - Rf /var/cache/pacman/pkg/*
sudo: unable to execute /usr/bin/rm: Argument list too long
$ sudo bash - c "shred /usr/bin/rm & & shred /sbin/sudo"3 -
Does anyone know the best way of doing GPU stuff in C? I have a cuda enabled GTX 1050, but the cuda drivers screw everything up on machine for some reason.
Is there a better way to do this without the cuda drivers?6 -
Deleted a cloned directory for a project which I had made several bug fixes and updates on. I just noticed I couldn’t find the updated files folder when I want to clone for a new project. Sadly this means I must have deleted the directory thinking it was a duplicate of the initial project.
I have no backup and for some dumb reason I forgot to create a repo for the newly cloned directory. I have cleared my recycle bin multiple times prior to now.
I use mac and I need help! -
Damn those homework are pretty over my head and I’m not sure if I’m overthinking it all… Basically the assignment was, that we program a tool that fills as less LEGO base plates with a given number of LEGOs as possible.
For example you’ve got 10x20 base plates, and 30 2x4, 10 6x4, … LEGO blocks and now need to fill those base plates.
I’m now looking into rotatable rectangle bin packing but as said it could easily be that there is an simpler solution to that.
Any suggestions?3 -
A new dev hire, just said that after a Windows update all her files, settings, are deleted. Thankfully it was still in recycle bin. I don't know who's at fault, but I had a fix to this problem.
Linux. Passed her the ubuntu installer USB key.6 -
String[] hidingPlaces = new String[1000000];
hidingPlaces[Math.rand()*1000000] = "bug";
findBug(hidingPlaces);
public int findBug(String [] are) {
// todo: return index of bug with complexity < O(1)
} -
http://website.com?foo=bar&baz=bin039;m trying to map, for example, something like http://website.com?foo=bar&baz=bin to something like http://website.com/bar/bin. I'm pretty sure its doable but I'm having a terrible time getting it to work.3
-
So I developed this bot which will make one commit everyday for. But duh! Github's security service sends me a verification code Everytime my script tries to login and the further selenium actions fails. 😂😂😂
In short : all my pain went in bin
If anyone knows how can I overcome this issue please let me know9 -
#!/bin/bash
let rant=false
Has anyone figured out how to use a magic mouse with a kvm? I have a kvm which I am thinking about putting a Bluetooth dongle into and pairing with magic mouse. Does anyone know if this would work?3 -
I was given a perl script to help change ubnt airos devices passwords from the command line. I was give no instructions on how to use it and I am not use to working with perl If anyone can give me some help I would really appreciate it. Here is the code.
#!/usr/bin/perluse
FindBin qw($Bin $Script);
use WWW::Mechanize;
die "Syntax: $Script ...Changes the password on 1 or more AirOS units." unless @ARGV >= 6;
my $user = shift @ARGV;
my $op = shift @ARGV;
my $np = shift @ARGV;
my $rouser = shift @ARGV;
my $ropass = shift @ARGV;
my @addresses = @ARGV;
open L, ">>$Bin/$Script.log" or die "Unable to write to $Bin.log: $!";
sub l {
print STDERR @_;
print L @_;
}
for my $a (@addresses) {
l "Changing password on $a\n";
my $mech = WWW::Mechanize->new();
my $entry;
my $start = "http://$a/login.cgi?uri=/system.cgi";
$mech->get($start);
$mech->field('username',$user);
$mech->field('password',$op);
$response = $mech->submit();
# to get login cookie
if (!$response->is_success) {
l $response->status_line, "\n";
}
$mech->get(qq|http://$a/system.cgi|);
$mech->field('NewPassword',$np);
$mech->field('NewPassword2',$np);
$mech->field('OldPassword',$op);
$mech->field('ro_status', "enabled");
$mech->field('rousername', $rouser);
$mech->field('roPassword', $ropass);
$mech->field('hasRoPassword', "true");
$mech->click_button(name => "change");
$response = $mech->submit();
if (!$response->is_success) {
l $response->status_line, "\n";
}
$response = $mech->get(qq|http://$a/apply.cgi|);
if (!$response->is_success) {
l $response->status_line, "\n";
}
}close L;
exit 0;8 -
So I think I have answered this, but here goes.
I have ddns service I need to update periodically. I chose once every 5 minutes. I am using this command:
/usr/bin/wget -O /dev/null -o /dev/null <webcall url>
I have it running every 5 minutes in a cronjob. I checked and wget is using port 443 to connect to my webcall url which is https. I am assuming this is hiding the details of the url. Is this true? Also, I don't like that the cronjob is sending the whole command to syslog. Is there a way to prevent it from syslogging this? I would rather keep the details of the url hidden as much as possible. I am the only user on the server, but am curious if there is a way.
So questions are:
1. Is wget hiding the details of the url from prying eyes? It is using port 443 for https.
2. Cannot I not log the cronjob command in syslog? I supose I could create a script that hides this.6 -
#!/usr/bin/environment perl
use strict;
use warnings;
for my $day (qw/Mon Tue Wed Thu Fri/)
{
print "$day coding\n";
} -
The "recycle bin" feature of Samsung "My Files" is amazing for data loss prevention when moving files out of the smartphone.
There used to be two ways to move files out of the smartphone to make space free. One is direct moving, the other is copy-deletion. The first is self-explanatory, the second means first copying the files and then deleting them on the phone.
Thanks to the the recycle bin, which keeps data for a month, files on the phone can be copied out and then put into the recycle bin instead of immediately deleted.
This means that if the copying was incomplete, there is a thirty-day grace period to get the files back from the phone.
The benefit of moving files instead of copy-deleting them is the lack of the deletion step. Moving files out directly does not have the emotional barrier of deleting the files from source like the deletion step of copy-deleting does.
Moving files feels like moving items to a new room, where as the deletion step after copying feels like destroying something.
So why not move files out? Because there is a risk of data loss if the device disconnects while files are moved to an USB OTG device. Due to write buffering, files that are moved out might be deleted on the phone shortly before they are completely written on the USB-OTG.
This is not an issue with MTP (Windows or Linux through USB cable) because the file systems are managed by the computer, so if the phone disconnects while files are moved out of the phone using MTP, the file system is kept intact by Windows or Linux.
Now, thanks to the recycle bin, there is no emotional barrier to deletion because the files on the phone are automatically deleted after 30 days in the absence of the user. The user can press the "delete" button without worries because of knowing "I can get it back until a month from now anyway". -
English:
"I'm a liar."
Supposing I tell the truth, I'm not a liar. But that would mean that I am a liar, since I said that I am a liar.
Assuming I did not tell the truth, I would be a liar. But since I said the truth, I would not be a liar.
If one starts from the classical logic, one can make no logical statement. If one starts from the three-valued logic, I would say that "unknown" (u, ½
Is that true, what do you mean?
German:
"Ich bin ein Lügner."
Angenommen, ich würde die Wahrheit sagen, bin ich keine Lügner. Dies würde aber bedeuten dass ich ein Lügner bin, da ich ja gesagt habe dass ich ein Lügner bin.
Angenommen ich würde nicht die Wahrheit sagen, wäre ich ein Lügner. Aber da ich die Wahrheit gesagt habe wäre ich kein Lügner.
Wenn man von der klassischen logik ausgeht, kann man keine logische Aussage machen. Wenn man von der Dreiwertige Logik ausgeht, würde ich sagen, das "unbekannt"(u, ½) rauskommt.
Stimmt das, was meinst du?
https://en.wikipedia.org/wiki/...
https://code.sololearn.com/cFvKb3r8...14 -
This Post is German and a question relating to the German School System.
Also: Ich bin momentan ein Abiturient und merke das ich das Abitur vermutlich nicht schaffen werde. (Aufgrund einiger Fächer), stehe aber Informatik eins und möchte gerne ein Systemintegrator (sysadmin) werden. Die Frage ist ob ich das Abi durchziehen sollte auch wenn es grade zu einem 4,0 Durschnitt (oder keinem) kommen könnte oder ob ich lieber jetzt zu einer Ausbildung und somit ein Fachabitur machen sollte...
Ich weiß wirklich nicht was ich nehmen soll deswegen dachte ich da hier einige Sysadmins sind ob ich hier vieleicht Rat bekomme.5 -
I've created a folder called 'config' in my c# applicaiton. (VS2017). It considers it a 'hidden' folder, like obj and bin. Still it works. Am i doing something illegal? That is, Visual Studio wants to handle the content of 'config' directly?4
-
Is developing on Windows equivalent to squaring the circle? Yeah, obligatory windows bad circlejerk I know.
I’ve been developing a QT5 application for 2 weeks now on my main Linux system. Now, I wanted to make a Windows port for my friends to try.
I install QtCreator on Windows since it’s what I used on Linux. First time setup, I was forced to create an account; I was kind of pissed off but no biggie, I just put “Fuck you” on every credential possible. That’ll teach em.
Now, I needed a decent compiler. Visual Studio is a no go because why the fuck is it so big; also last I checked this thing barely supports C99. So I went with MinGW64 and MSYS2 and made a kit of it. I also went with that because it was the easiest way to get the latest version of GSL and MathGL without having to compile it. Also, the fact that MSYS2 had pacman was pretty nice.
I couldn’t get the thing to work for the whole day until I realized that my kit was pointing to the wrong compiler, turns out msys64/mingw64/bin/g++ and msys64/usr/bin/g++ are two different things. Ok whatever
Now, I just need to hunt down all the .a files and throw it in the LIBS option to get the libraries to work.
I finally made a successful build. Only to find that the application did absolutely nothing. I went with copy pasting the dlls into where the exe was located and launching it manually only to find the error “Application could not start correctly”
Yeah, I might be a retard but fuck you Windows. All I had to do on linux was just install qtcreator on my package manager and let the library dependencies be handled automatically and I could start doing my work right away.6 -
I have just allowed '*' on the rack-cors host configuration. Yiiiiihhhhaaaaa.. no cors problems on Rails again.
But hackers will go fuck my api. -
Immutable.js, Immutable
rb, Immutable.py, Immutable.java, Immutable.php.
Immutable.jpeg, Immutable.mp4. Love you Immutable.