Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "dos"
Another story on the spirit of wk93. TL;DR I DOS'd the whole campus network for some beers.
In highschool teachers had this blackboard system (a sort of moodle) and we used to have really lazy teachers who only read the PowerPoint presentations and made us take notes. One day I was fed up with their bullshit and figured these lazy ass professors wouldn't "teach" crap as soon as there was no internet connection...so the race was on...
10 minutes before the bell rang a friend and I managed to break in into a computer lab, I booted up Kali and searched for the access points, 3 routers through the building all with CISCO OS.
I figured they had all the default configs, time was running out so I decided to Smurf the three access points with the lab's IP range, scheduled an automatic shutdown in 2 hours and blocked the PC. The bell rang and as predicted, no internet, no class, my friends and I used that free time to go to a bar (on a Monday afternoon).
Funny side note, since the 3 routers were down the whole network collapsed, no cameras, no access control, no faculty network or any network. We kept doing it and every time we did campus security would be desperately searching for someone with a black hoodie.6
I was young and stupid. Remember floppy disks? Yeah, we still had them when I was studying. Went to a computer cafe, rented a PC and DOS was already booted up (I'm an old fucker). I didn't want to reboot because PC rental was metered. I inserted my floppy disk and got infected by a virus that deleted my work. No git back then and my backup was on the same disk (fuck me). Back home, rewrote the whole thing from memory.
I got mad and wanted revenge. De-constructed a floppy disk, replaced the magnetic media with sandpaper and went to each and every PC on that computer cafe.
It was closed for day.3
Some time 199x, when I was still a little kiddo, my dad bought a PC. It had a big ass HDD (dimensions-wise), 1x 3.5" floppy disk drive and a 5.25" floppy disk drive. It ran DOS. Dad managed to hook up a dot matrix Epson printer to it and used the computer for writing... whatever, really :)
Then dad got some of those 5" floppies with games and installed them on our PC. Mach3, Indy, Entity and Atlantis were my favourite ones. Later we got Wolfenstein 3-D, but that was just too scary, too intense for me.
All that was years before we got Windows 3.0 installed there.
Dev of 15 years here. All my career historically started and evolved/revolved around Microsoft in one way or the other, so was my exposure to only DOS and the Windows as a child and growing up.
Like already discussed in multiple rants here, I was one of those naturally Windows -favoring ppl through all my life. That is not to say I didn't try Linux here and there, for hosting of personal projects, as one usually does. But it never quite stuck with me as a personal daily driver, mainly because all I ever needed for personal use was a browser, discord, and Steam/GOG/Epic Games store for gaming (work-wise I always had and still have company provided laptops which are OF COURSE Windows powered)
Anyway, maybe you can see where I'm going with this... I recently gave Nobara Linux a go (Glorious Eggroll's Fedora flavor, with some custom kernel patches) and I have to say, not thinking of going back to Windows at all.
Just a few thoughts on comparing two sets of experiences with Win vs Nobara
- Win definitely feels more sluggish
- Nobara's default desktop env was Gnome 42 with some extensions pre-enabled. I dove right into hacking/customizing it to my tastes and it looked glorious. Never would have achieved this customization with Win
- I was using RDP to remote into my work laptop from my personal desktop setup with Windows and I still successfully do so with Remmina now in Linux
- A week ago I dove deeper and installed Awesome window manager as a UI and mh boy does this feel intimidating at first. But then the allure of having nice window managing experience was too strong, and 15 years of coding do help with just seeing a new language and kinda feeling at home instantly (Lua language for AwesomeWM customization/themes). Fast forward a week and now I'm sitting happily with 3 monitor setup, one of them vertical, all properly auto aligned with arandr on startup, variety+wal for wallpaper auto circling and applying a theme out of main wallpaper colors every so often (+wrote a script to put those main colors into my RGB peripherals via OpenRGB)
- Gaming. I still game, Steam Deck from steam gave me all the confidence to set up Linux gaming that I needed. I think I am now properly versed in all things Wine/Proton/Lutris/Bottles/Heroic Games Launcher, you name it. Recently finished Cyberpunk 2077.
ANYWAY, thank you for coming to my Linux appreciation TED talk. It's amazing.
I am currently under a desperate crunch at work, trying to get things wrapped up before my honeymoon.
Of course, this is when My Greatest User decides he will come to my office no fewer than five times today. Not once was it for an actual, legitimate issue that he had not created himself. Here were the top three for today:
MGU: "The scroll wheel on my mouse isn't working. I used to be able to scroll stuff with it but now I can't."
ME: *Looks at his mouse. All looks well.*
ME: "Show me what you're trying to do."
MGU: "I'm trying to scroll this Word document. See? It won't scroll!"
ME: ..."That's because there is nothing to scroll... The entire document is on your screen..."
MGU: "I can't move my mouse off the edge of my screen! I used to be able to move it from my monitor to my laptop screen and I can't do it anymore!"
ME: "Did you move your laptop?"
MGU: "Yeah I moved it to the other side of the monitor. That shouldn't make a difference, should it?"
MGU: "You know the DOS commands?"
ME: *Does a triple take.* ... ... "Huh?"
MGU: "The DOS commands. You know how you can use DOS commands to make the computer do stuff. Like Ctrl+M."
ME: "Ah. You're talking about keyboard shortcuts."
MGU (ignoring me): *Goes on a long, confusing explanation of something he's trying to do in Outlook and wants to know a keyboard shortcut for instead of clicking.*
ME: "I don't know what the shortcut for that would be and honestly I don't have time to look right now. I really need to keep working on this project."
MGU: "You don't know?"
MGU: "Oh... I'd have thought that with being a programmer you'd have gotten into the DOS commands."
I have never been so tempted to quit.
I have a power nap after lunch. No matter what. Waking up from a nap is like getting a new extra day for free. And this time whatever was bad before the nap just doesn't seem so bad anymore.7
Customer Service: “I apologize for the delay in entering your warranty info. My system is a bit slow.”
Me: “That’s ok.”
Also me: *What is this, 1986?! Upgrade from DOS already!!*2
I actually made a friend on gitter. We were regulars in a few channels, we started talking. Then we paired for some projects, he would help when I was stuck and vice versa. I ended up traveling 9000 miles to meet him and he took me to party for 2 weeks straight. That was fun.
How do you counter DOS attack? I have one online service where an idiot just calls curl command to one endpoint.
Although my service is working and server performance is not affected, I found it annoying.
Cloudflare could be a solution, the reason I did not use before is user might have to wait a few seconds before seeing the app, but if no choice then.17
My first experience with computer was when I was 4/5 years old. We had DOS computer. I did not know anything that time. How to start game or anything. So my dad wrote down steps on my notebook for starting the 'Dave' game. I played that game nearly 2 years, along with 'Prince'. This brings lot of dos memories. :)2
We had an ADAM/Colecovision unit before this, but I don't really count it, as it was more of a console for us than a computer.
In 1986 dad brought home a Tandy 1000 SX. It had an Intel 8088 processor, 64k of memory, and no hard drive. With dual 5.25" floppy drives, our write-protected DOS 3.1 disk stayed in drive A almost all the time. Games and other software were run from drive B, or from the external cassette drive. For really big games, like Conquest of Camelot and Space Quest 3, we were frequently prompted to swap disks in B: before the game could continue.
Space Quest, King's Quest, Lords of Conquest, Conquest of Camelot, Chuck Yeager's Advanced Flight Trainer, several editions of Carmen Sandiego, and at least a dozen other games dominated our gaming use. We wrote papers with WordStar, and my parents maintained their budget with Lotus 1-2-3.
A year or two later, Dad installed a 10 MB hard drive, and we started booting DOS off that instead. Heady days.1
I just want to rant now. Is the limit between rants still enforced? I hope so, I am afraid that I start complaining, I will just not stop. I've been holding up so much by now. Well whatever, I've got used to not complaining for so long, that I just lost all desire to rant.3
My first experience with a computer was when I was about 7-8 years approx. I came back from school and dad told me he got me enrolled with a teacher who lived around 5 kms away. Me and my dad walked in the warm summer afternoon (one of my most fond memories tbh), cut through a meadow that had freshly cut grass and reached his place. He lived in the third floor, and there was a stray dog that used to stay in the second. The stench was horrible, but over time I got used to it.
He opened the door and showed me how to boot up a computer, then asked me to open LOGO (it ran on MS-DOS at the time). Taught me the fd 40 rt 90 stuff and I loved it - he noticed and asked me to go to town. I started drawing on the screen and remember being delighted at how it ran what I asked it to run.
We then did some theory, and every grade I finished my syllabus in like 2-3 days. Too bad we didn't have coding until I was like 14, but that's another story and deserves another post :)
Sorry for the long post, got carried away
I was having a weird time playing manager because we had none. And the new one kind of sucks and it is too junior for the role. Acting as TL too and had almost no time to code or do PRs. And. Gee. Yesterday I went back to coding after a few months. And I found out that We have a team member that just shits all over the code. Tests that are invalid, basically testing nothing. Methods done apparently for no reason. It took me a good deal of time to sort things thru. And now I'm at a point where I can finally do some reviews. Long day today.1
Having sex. Or long hot showers. It's amazing how doing either of those helps me unplug for the day and start to refresh my self for the next day of coding.
Context, I used to burnout quiet often. Learning to unplug allowed me to be a better software engineer that could work better over an extended period of time.3
First computer I saw was an Apple II running Oregon Trail in grade school. Then I played computer games on my uncles Apple IIe. The first home video game I ever saw was Pong. It was a device you hooked to the RF input on the TV. It had 2 paddles to control the input (single axis controllers). The first game console I played on was the Atari. The first computer I programmed was on a black and white Macintosh. Then the other programmers in my high school told me the PC was better. Well, it was better for learning IMO. That was with Windows 3.0. But the programming was Turbo Pascal in DOS. DOS gave you complete control of the machine. Better at the time for me learning to do graphics and sounds programming. The first computer I bought was a 386 and I played with VR programming. Made my own joysticks using the limited joystick port. Fun times learning electronics and software together.
My first interaction with Computers started in 1996/1997 and it was Dangerous Dave, PacMan, Mario, Pre that pulled me in so deep. We had multiple Floppy Disks and each of them used to go awry after a few months of use. Had to keep deleting stuff to fit all my Favourite Games
A year later I learnt the basics of MS-DOS and GWBasic. Looking at seniors do C Programming on Borland Turbo made me feel scared and one of them said it is the real language to make Games, and all types of Animation stuff. I was very intrigued but only for a while. I kept playing Games which was what I was fit for at that time
I may need some ideas for a personal project in mind:
I plan to have a server that shall connect to a usb stick/device, the usb is plugged to a TV. The usb device can create its own local wifi network which provides CRUD on media files via REST. My own server should be accessible via the internet, but at the same time connect to the local usb wifi, once the usb wifi is available, and then send requests to it. Kind of a user-friendly bridge.
There's a PC near the device, almost always turned on. It's used by family members as regular office machine and could run a local server. What if as remotely accessible server? Then what about DOS attacks? (Would that "kill" the PC?)
An alternative would be a separate server. A raspberry pi? A dedicated server?1