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 - "ftw"
-
Relatives: You're a computer guy, right, what are you working on these days?
Me: *should I bother explaining, should I not* Oh, just some stuff.
R: Oh come on, tell us, how difficult can it be?
M: *sigh* I'm working on a custom garbage collector for-
R: !!
They're now under the impression that I'm involved in collecting rubbish from bins. Sigh. My hair doesn't help here, either, lol (I have one of those tangled, unruly mops of hair)
This will take time to explain.18 -
Tired of staring at white background in github.
Searched for dark theme extension.
Guess what... My github is now dark.
FTW10 -
Ever since I joined devRant, I've been the most motivated I've been in the past 3 years to work on my personal projects and learn new stuff
I freakin love you folks 💞2 -
I don't even know where to start with this rant!
I haven't paid rent for 3 months now.I haven't paid the WiFi and electricity bills too.Hell, I haven't even paid the fucking college fees and it's almost mid-semester.I have like 100+ other bills I haven't paid.I have exhausted loans from all of my banks and I am at the fucking end now!!!!
What's worse is that some motherfuckers owe me close to 4 million in local currency!!!The project was finished in April and until now they can't fucking pay me because their "CEO has not signed the cheque". Motherfuckers, we were all in the same room when we agreed on the pricing.That half-assed CEO was also there!
What the fuck is wrong with people?WHAT THE FUCK IS WRONG WITH PEOPLE?????
How many fucking times do I have to come to your stinking shit office to follow up on payments.How many fucking times????How many fucking times do I have to see new V8s parked outside your office yet you claim you still collecting the funds.How many fucking times?!!?
Please fucking pay me!.I fucking need that money stupid.I don't survive on eating flies! FTW!9 -
So I upgraded my 8 year old Acer Aspire 7250 with Linux Solus and performance increased OVER 9000000000
FUCK YOU MICROSOFT I AM GOING LINUX!!!16 -
YouTube: you want 3 months of free YouTube premium? YouTube originals!!!
*Closes YouTube app and returns to Yatse to control my Kodi installation*
*Returns back to the YouTube app*
YouTube: oh, did you ever wish that you could play videos in the background?!
FUCK NO!!! I've got NewPipe and youtube-dl for that!!! The latter even combines nicely with my BlackPlayer EX!!!
Open source is amazing. The ability to just say no to those profiteering gluttons because you already have what they're offering as a "premium feature". Fucking awesome!9 -
Always at home: check
Dark themes ftw: check
Black hoodie: check
At least 2 monitors: check
1k Browser tabs: check
Up all night: check
Tiered 24/7: check
notepad++: check
Keyboard wakes my sister from 2 rooms across: check
Burns in sunlight: check
DevRant: check
What else to be a successful programmer?29 -
1) get an idea for a cool app
2) evaluate feasibility and execution
3) ensure accessible data streams and APIs
4) get excited and realize the idea is doable
5) see someone has done that exact thing and it's already published on the Appstore :/10 -
I was gonna talk shit about Microsoft but I just won an Azure swagbag on Twitter so I'll keep it to myself for today.7
-
Working on the privacy site.
DAMN frontend can be a FUCKING pain in the ass!
I JUST WANT TO GET A SIMPLE BOOTSTRAP PAGE WORKING, IS THAT TOO MUCH TO ASK FROM A BACKENDER? 😭30 -
Yesterday, the whole dev team went out to lunch and we ate a lot and we drank a lot until we all got drunk! Since we are paid for the number of hours we work, we all decided to go back to the office and work.
WE WERE DRUNK WORKING! Drunk coding ftw
Result: The server is down right now because someone fucked it up and I think i ruined my code yesterday because I wasn't really myself. The whole team was crazy as fuck. One of us just came back from Poland so we were drunk and high from all the polish chocolate we ate.
I hope they fix the server so I can check what kind of bullshit the drunken me did yesterday o.O8 -
Blender.
3D modelling, UVs, texturing, animation, video editing, compositing, motion graphics, motion tracking, 2D animation, and a fucking powerful render engine? Check.
Great community? Check.
Powerful and easy scripting system? Check.
A well organized dev team? Check.
People who care about UI/UX? Check (look at Blender 2.8).
Does it compete with a major corporation that would go into sloth otherwise? Check. (If you thought M$ was shaftware wait till you see Autodesk)
There are other FOSS projects that I really like, but my vote definitely goes to Blender.9 -
This is from my days of running a rather large (for its time) Minecraft server. A few of our best admins were given access to the server console. For extra security, we also had a second login stage in-game using a command (in case their accounts were compromised). We even had a fairly strict password strength policy.
But all of that was defeated by a slightly too stiff SHIFT key. See, in-game commands were typed in chat, prefixed with a slash -- SHIFT+7 on German-ish keyboards. And so, when logging in, one of our head admins didn't realize his SHIFT key didn't register and proudly broadcast to the server "[Admin] username: 7login hisPasswordHere".
This was immediately noticed by the owner of a 'rival' server who was trying to copy some cool thing that we had. He jumped onto the console that he found in an nmap scan a week prior (a scan that I detected and he denied), promoted himself to admin and proceeded to wreak havoc.
I got a call, 10-ish minutes later, that "everything was literally on fire". I immediately rolled everything back (half-hourly backups ftw) and killed the console just in case.
The best part was the Skype call with that admin that followed. I wasn't too angry, but I did want him to suffer a little, so I didn't immediately tell him that we had good backups. He thought he'd brought the downfall of our server. I'm pretty sure he cried.5 -
Reason #387 I wish I worked from home:
Some dude at this office needs to be banned from toilets. I'm pretty sure he craps in his hand then tries to swat it into the bowl with a slotted spoon.2 -
I have never been in a dev company , though I am programming now for 6 years. Started to freelance last year as android dev, making good money. Company Head Hunter called me yesterday Offering me a 60k € salary as employee. Told him : sorry, Its not that convenient for me (I Prefer to stay independent, even though it sounded very charming)...later that day he contacted me and Offered 90-100k as entry.. Wow.. I didnt even finish my degree yet and I get Offered that much. Android ftw!
23 years old and from Germany btw11 -
I have been asked to teach a few things for newbies at work, without coding background.
I used the metaphore of pizza, empty pizzabox and no box for teaching NULL. I have read it here on Devrant, written by someone awesome of the community here.
My boss overheard me explaining it, and said that that was the most beautifull expanation of NULL he ever heard.
.......I was like: yaaay Devrant FTW!
Also newbies understood it instantly so kudos to you sir, original poster!2 -
VueJS FTW!
Today I realised I've been a fucking idiot.
For the last few years I have familiarized myself with libraries like React, VueJS, Preact etc.
All while playing around on my own side projects but when it came to doing actual work (perhaps from a lack of confidence/working experience with them) I always reverted to vanilla js or jQuery because I convinced myself it wasn't the `right` use case or `the project was too simple or small`.
I WAS AN IDIOT.
The below screenshot is a prototype of a n invoicing tool I needed to write which uses VueJS and is implemented in 50 beautiful, clean, maintainable loc. Combined with TypeScript it is a dream - never did I think I would see the day where I could grab an inputs numerical value without prepending the variable with + so I don't end up concatenating them as strings.
If your like me and haven't started using some kind of data binding view framework stop procrastinating and just do it. I feel like I wasted a large chunk of my life clinging onto my old ways.7 -
Client ask for "quick fix". Done.
Client asks for the invoice. Freaks out. "WTF you are charging thousands of dollars for 15 minutes of work!"
Reply: "It took me 15 years to fix it for you in 15 mins!"
Picasso FTW!5 -
Best part of working from home? Oh boy, here I go
1. NO COMMUTE !! Fuck public transport. I can just grab my laptop straight to my bed, get comfortable and work in whatever posture I wish to.
2. Relaxation and peace of mind. The local park, library, football ground. I can go anywhere to get work done. All I need is my phone and laptop.
3. Better food - I can cook my own food. Dieting actually works by eating home-made food and not the fried bullshit we eat outside.
4. No office politics - Remote working means you don't have to think about being a circle and getting liked or not. Get your work done and that's it.
5. No "Extra" Activities - We all know HRs are just bored af people making employees have "fun" activities just to push a "culture" agenda on LinkedIn. Umm no thanks.
6. No toxicity - Well, this one is a doozie, you don't get workplace toxicity but you do get home toxicity. People assuming that you stay in ur room all day and do nothing. I'd still take home toxicity though.
7. If there is no work, I don't have to pretend that I am working and hiding my screen from my boss. I can just play video games in that time.
8. Option to start a side-hustle. You have more chances to retain some energy after your shift to start investing/putting time into something that can make you extra cash.
9. Worldwide opportunities - Because of WFH, I work with clients from Netherlands, Estonia, London and Cayman Islands. It never would have happened if I was in an office job.
10. Only work, no extra bullshit - be it smoke breaks, casual tea, conferences, work summits etc. None of that and I don't want it.
11. Your errands get done - Need to go to the dentist at 10 am? You can do that. Need to pick up your kid at 3 pm? You can do that. You need 5 pm time dedicated to go the gym? You can do that.
In conclusion, I absolutely vouch for WFH and would never take WFO for as long as possible.
WFH FTW !!!9 -
I'm typing this with my mouse and an on-screen keyboard, because I don't have my physical one at the moment...
Fuck, imagine coding with a mouse...6 -
I now know why people don't write tests.
Been trying to get started with React unit tests for weeks now.
Hope Driven Development FTW.9 -
Working on a database priorly designed and maintained by some private agency.
The fuck I'm dealing with!
Boolean values stored as 'TRUE'/'FALSE'. It's varchar, my dudes.
There are no FK relations. Just the values of IDs in a column.
There are no indexes, all on just the PKs, nothing else. Nothing.
Null, what's that? I'm dealing with 'N/A', my dudes.
Unique key, what's that? The table which stores users has all the fields nullable. Email is not unique ( even though that's the required behaviour).
ALL the numeric values are stored as varchar. Varchar, my dudes. Varchar. '1', '1.1'
And finally, the good ole, 1 table to rule them all. Normalisation, fuck that.
And what's the root cause of all this? My PM used to hand them Excel sheets she maintains on her local system. FTW. I don't have a enough explanations.7 -
Oh my dear DevRant, please add code-formatting standards & check-style validation on submitted code snippets, because the wrong indentations of code snippet posts on DevRant is driving me crazy, check-style ftw!2
-
!rant
My work does this contest where they email everyone a puzzle where you have to guess a safety slogan. They give you maybe 1-2 letters in each word and there are about 5 or 6 words. So I found a list of every word in the English language online, I imported it into a database and I ran a few queries to return all possible words for each, depending on the length of the word, and where the letter hints are placed. I haven't missed one puzzle so far. :D
p.s. I told my girlfriend and she said, "I am dating a nerd".6 -
WordPress related, get ready for some disgust.
So today early in the morning my boss forwarded me an email from a client, it was about a bug, and asked me if I can have a look at it and fix it.
"Yaay, WordPress!" I thought and opened the page containing the mentioned bug. She wrote that in the italian version of the page, users can select dates in the calendar, which should be disabled, like in the german version.
So yeah, I opened the code. Everything in the function looked perfect. Really. And the Data was also correctly set in the backend of WP.
The function was only 3 lines of code:
- Get the german post ID of the current post (german or italian) by its ID (using a Polylang function)
- Get an Advanced Custom Fields field by name and from a post with the ID from before
- json_encode its content and echo it to a JS var for initialization and later use in some AngularJS.
No fucking missing semicolon, it was fucking perfect like a sunset with your soulmate.
So I tried to find the bug with my personal way of debugging:
"Shitstream Debugging"
When a creek suddenly is full of water mixed with shit, walk upstream through the turds until you reach clear water. This is where the bug is.
=> So I first looked at the HTML source: Turds.
=> Then the ACF field content: Still turds.
=> Then the ID of the german post: Shit stain and turds (var_dump: null)
=> Please god at least $post->ID? Nope, fart smell and turds.
=> Nothing more to check: Clear fucking water and the flowery smell of 99 devVirgins
So it replaced $post->IT with get_the_ID() and it worked like a charm.
Afterwards I feel stupid, but $post->IT worked all the times before...
Conclusion:
FUCK YOU WORDPRESS YOU UGLY PIECE OF HUMAN-CENTIPEDE-PROCESSED-DOGFART.
Thanks for your patience.
Only one beer was sucked dry during the writing of this fucking rant.2 -
Grammarly just found and corrected an embarrassing mistake in a legal document...
My typo was "onimated"...
Googles spelling and grammar changed it to "dominated"...
Grammarly figured out it should have been "nominated".3 -
So I landed this interview with a company that provided military simulations, to work as an android intern (mobile). And man was I intent on getting it, I could only dream of my first job being as a dev, for a company that developed cool software. 😯
I show up, pull out my laptop, go over some of my projects (crap at the time, since I was 16, but ChessAI ftw) and also show them an android app I developed.
Then, I pulled out my calculator and showed them a clock I'd made on it. That's probably when I lost them... ☹️
They asked me a couple questions about software development, like if I knew what agile was, or if I unit tested my code (didn't even know they existed at the time ☹️ ) , etc.
I had done research on the company and asked them questions about specific software and so on, also asked about what working there would look like, etc.
They never called.
I called.
They never answered.
😭
Ended up washing dishes. Honestly, fuck my life.5 -
So mum wanted me to purchase her a new lettop.
Yeah, we just spoke.
While consulting on what she needs, I noticed that little flaw. So I gently told her :"mum, it's written with an A".
Mom goes:" aaaah! A LAB-TOP!"
Could not blame her. She made her life as first best scoring woman in business degree at her time.
And sure enough she understood laptop and we laughed a lot ='D2 -
My PM once inserted test data directly into the dev database [ We do have an admin panel ].
Took screenshots of what was not working properly with the imagined data.
Posted them on the WhatsApp group.
Greets me in the fucking morning with "I WROTE TEST CASES YESTERDAY".
FTW -
Almost every dev on devRant put HTML and CSS as their skills, but damn I suck at HTML and CSS. Bootstrap FTW!15
-
Step 1: try a third party defragmentation tool as windows' one is shit
Step 2: go to sleep while shit is getting done
Step 3: ???
Step 4: prof- Wait what ? Fuuuuu5 -
Me always:
*starts coding in C/C++*
*M so gonna use raw pointers... Raw pointers ftw!*
*Spends 2 hours to code*
*Spends next 4-6 hrs trying to find why it is crashing/giving segmentation fault*
*Finally finds the solution and feels like winning a boss in Dark souls*
*Totally worth using raw pointers* 😎😎😂😂3 -
Me (front dev): We should use nodejs for this project...
CTO (back): Nah... Fu*k Node! Php ftw
Now: we have a php framework with a nodejs server for the front end6 -
+++++++++++[>+++>+++++++++>++++++++++>+++++++++++<<<<-]>>+++.>>----.<<---.>---.<<-.>>>-.<---.---.<<.>>>+++.--------.+++.------.<-.11
-
I think my productivity at work seriously went up when I discovered this site with custom noise generators. Blocks out my coworkers, and I can pretend it's raining all the time. Perfect for coding!
http://mynoise.net/NoiseMachines/...2 -
C# FTW! New features for C#7.0:
blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/
tuples, pattern matching, local functions *coder-gasm*6 -
i understand some developers like to write wrapper functions to handle tedious things, I even understand how to write dynamic SQL queries, but for the love of fucking god and sanity, NEVER FUCKING DO THIS!!!!
Yes its PHP, but its not even bad PHP, its a fucking abomination from hell of PHP.rant mysql legacy code gone wrong bourbon lots of bourbon why the fuck god no php sql injection ftw what in the flying fuck30 -
I just realized that i can do better in designing websites without bootstrap or other CSS frameworks. Thanks to CSS GRID. FTW4
-
Just had an old coworker from a previous job send me some stuff for a php script he was having issues with.
There was too much glory in what he was trying to do: mixing php inside of jquery code, not using strict types would have prevented like 10 issues he was having on his script on another portion, mixing headers, weirdly named variables, poorly constructed, reused db connections, 0 oop or proper dependency management in his code, horrible use of sessions and cookies, O (n²) logic all over the place.
But the cake.....are y'all ready for it? It was code screenshots, not even of just the section, no, the full page, from a windows machine (to make it better he is hosting the application on an IIS server and his configuration was not properly set) but I digress, back to the cake:
He was writing his code inside of wordpad :P
FUCKING WORDPAD
I just politely told him that I was busy at the moment and happily ignored him. Dude is not a good person to begin with imo, for example, he brought the subject of homosexuality during one of our talks after he saw me talking to my bf, who just so happens to be gay, his statement was "I do not understand how there can be gay people when there are women that are so hot"
My comeback was "I do not understand how we can be heterosexual when there are some really attractive dudes out there, see how stupid your logic sounds? attractiveness is not the basis for homosexuality ye dipstick" he let it go after that, but close minded people like that are not really my cup of tea.14 -
Best part about being a dev? You need just a laptop and an active Internet connection to learn and start building.1
-
I only develop UIs with react and only ever with functional components
I would actually DIE without my MacBook Pro 16”
I spend roughly 30 minutes a day trimming my beard. I’m a civilized man after all
I only drink Starbucks coffee, and only if it’s a triple pump latte
Ew what’s jQuery? Sounds like something my grandpa used
Omg really? Are you still using PHP in 2020?! Lame!
Gross. Windows is for n00bs and Linux is for nerds. macOS FTW
Post is comprised of quotes from a classmate who annoyed the living hell out of me14 -
Do we still do this ratey setup thing or am I too old?
Also, pro gamer here.
Blazing MLG ftw hfgl10 -
FOR THE LOVE OF CHRISTMAS, LET'S STOP THE LANGUAGE WAR.
JUST FOR TODAY AND TOMORROW, WE CAN DO IT.6 -
am i the only one who's currently happy using bash on Windows 10?
don't get me wrong. i used to use ubuntu and elementary os for my dev use. but after win10 bash update i can work and play at a same os xP which is FTW for me.6 -
The entire modern gaming ecosystem is a scam.
I added The Crew: Motorfest trial version to my library for free.
Click on Install and it downloads 43 GB of data.
Now it's time to launch.
Click on launch and Ubisoft Connect takes over and it starts downloading another 43 GB??????
WTF ??
If I can't even get the trial version of a game without nearly wanting to kill myself, how does the company expect me to pay full price for it?
Piracy FTW. Fuck all the companies.16 -
I just read a rant about Java by a guy who moved from JS/python.
FFS, until now you were using some aberration of OOP by creating "objects" and making them however you want instead of sticking to concept of blueprinting and managing your classes in a way shit happens properly.
Yes, I do hate js/python-like langs if I would have to do something big in them, because I need to constraint my program so it works predictably every time. I don't feel like I'm doing that by putting some arbitrary key-value pairs into some random object :v
Java and her sexier sister Kotlin ftw and nothing gonna change my mind <315 -
Just had a fire at work.
git add, git commit, git push.
No one was hurt. But, the fire was in a server room and the git server is down. At least the halon deployed successfully.
The off site backup should be up in 20 mins. I wonder how often they pull the repo.3 -
Man I love VM's!
I'm on a very tight deadline and my laptop died this morning and needs a reformat, usually this would be a very dire situation... Luckily I use a virtual machine for my dev env so I just remoted into a pc at my office using my phone, launched an instance of my vm and forwarded a public IP to it.
I'm currently working on my rasberry pi while machines installing linux. The only noticeable difference so far is that I only have enough ram to keep open around 5 browser tabs. :-D4 -
I added some boards to this fucking Beowolf of a fucking Raspberry Pi!
Pi with 4GB RAM, 2TB SSD, 8 USB ports, 2 Ethernet ports, and a sense hat.
Gonna put this between my modem and router and see what fun I can get up to.
Would like to build a web portal that tracks my family's data usage with the tcpdump to graph approach, and probably a little weather widget to go with it using the sense hat.9 -
Fuck web development - especially CSS. Actually only CSS.
Love Js/Ts, Vue, React (NextJs ftw) and especially thank you to SCSS for making things easier.
But CSS is my most detested LaNgUagE now.
After I finish these 2 projects, I’m not doing CSS anymore. Minimal touches, sure, but no more positioning.
Maybe that’s why I like Flutter, no hassles yet.20 -
My college lecturer when someone was having problems with FileZilla:
- Let's go back to Dreamweaver.
I never thought I'd here these words... on the other hand he's using Internet Explorer :(1 -
I knew someone that typed with only 2 fingers ( index fingers )
There were no comments in the code because, it would take ages to write a sentence.
I don't know how someone that was born with a laptop in her lap doesn't know how to use all the fingers to type.
But, for her this was just a job. No personal projects, no will to learn new things. Just do the work they give her, as slowly as possible.
I remember I forced myself to learn how to type using all fingers when I was little. Now I even rebind the movement keys on games because is more comfortable to use "the right keys" ( I hate wasd, esdf ftw!)
How about you, do you know anyone that-s bad at typing?11 -
Is this here your bloody fucking diary?!
Then maybe back the fuck off to Insta and Fagbook commercials Stockholm syndrome circle jerk. Right where your mind is at ease.rant devrant ad block ftw reeeeeeeee insta commercial voting system instagram facebook fagbook influencer4 -
Got a Radeon RX 570 to complete my light gaming and rendering setup. This is easily the most powerful GPU I have ever owned, super hyped to try out all my games on this now. Works great after it crashed under Linux a few times for god knows what reasons but hey, not disappointed at all so far.
All AMD setup here (Ryzen + Radeon), feels good to be back on AMD after a long Intel/Nvidia stint.10 -
Oh hell yeah. I just spent a good few hours optimizing an ok mySQL query and made it so much better and faster. Inner join ftw!!3
-
Whoever said green tea helps you lose weight was right.
I accidentally spilled some on my laptop, and I can't work properly now because I've to replace the keyboard and spare parts are expensive (at least for my model).
And it'll take 3 weeks to arrive!
So with the stress of projects and deadlines piling up, yup, I'm losing weight alright!
Green tea !FTW3 -
What a silly end of the week. Have to continue developing at a project a student started at our company. Today I had a phone conference with the client. They told me there where missing several data. At first I thought it is only a frontend issue but now I know it is a database issue so I have to work through several database procedures which are all undocumented and the student who build those is not reachable. Business integration ftw
-
I haven't built a new computer in 9 years, but I finally, finally got together enough money to go big.
POWER: Seasonic Focus Plus 850W 80+ Gold
MOTHERBOARD: NZXT N7 Z370 ATX LGA1151 (Black)
GPU: EVGA GTX 1080 FTW GAMING
CPU: INTEL Core i7-8700K 3.7GHz 6-Core
RAM: G.SKILL TridentZ 3000 Mhz 32GB (2 x 16 GB)
SSD: SAMSUNG 860 EVO 1TB
CPU COOLING: NZXT Kraken X62
I can't fucking wait for it to arrive.5 -
Day 3 since I purchase a laptop and my productivity level has risen significantly. Love not being restricted to my desk.2
-
Fuck jQuery. The only reason I see anyone using it legitemately is because of backwards compatibility. Almost every jq method is either native js or native css. The problem is, some devs become practically dependent on a library. By then, they are no longer js devs. They are jQuery devs. When you find yourself going to the docs of a lib before native methods 9 times out of 10 you've gone past the turning point. When you find yourself including jQuery instinctively, you're gone. StackOverflow is a great example of this:
Question - 1 up
Pure JS answer - 0 ups
jQuery answer (same length) - 2 ups and accepted
Come on man. It's 2018! We shouldn't be writing jQuery anymore. Native methods ftw!15 -
Pushed out a ridiculously complicated customization to our software with no errors, no user complaints and no needed modifications. Finally my 4 month long project is over.6
-
Oh my God I'm a failure. Been working on this booking system backend for two weeks, refactored some code, and now it doesn't work at all.
I've gone back through the entire thing, and I can't find the problem.
Open up indeed, start browsing for low-skill jobs. Maybe the carnies will have me back!
*Re-reads error message, adds missing underscore to function call.1 -
I just broke 2 phones in two days... believe it or not... Both screens cracked and no swipe functionality survived...
I miss my fucking Nokia Lumia 930... that motherfucker was almost fully destroyed, screen cracked as shit, I could actually hold the screen on one hand and the rest of the phone on the other and it was still fucking working...
Needless to say, I'm going to Amazon and I'm getting a new Nokia phone, fuck LG, fuck Sony.2 -
While working, I suddenly noticed my own reflection on monitor
*starts thinking*
"I should get a haircut"
*starts coding again*
😐2 -
Was running low on ssd space, so I decided to have a thorough look at what was occupying all of it. First I found out that I had about 5 gigs (!) of leftovers from microsoft sql server which I unfortunately had to use once (thanks microsoft for your shit uninstallers). Then I found I still had a .gradle folder (uninstalled a while ago, maven ftw) with another 5 gigs of cache. That should give me some room to breathe.4
-
## Building my own router
IT HAS ALREADY PAID OFF!!!!!
So I (with my fam) have evacuated from the capital of Lithuania into a distant place - much smaller, where average age is prolly >30 or even >40 years. I live in a village now. In a house with very good neighbours. In fact these neighbours own that house :D
Back to the point.
So these neighbours used to share their wifi (w/ internet) between the two houses. They have the line, the mian router has quite a strong antenna and that other house has 2 repeaters: 1 on the outside wall and another one -- indoors. Sepeaters are connected sequentially, i.e. the indoors one is repeating the outdoors one. ikr....?
The first day was alright. We settled in, got everything set up wifi-wise. Peachy.
The second day repeaters refused to issue a DHCP IP. That's something, right? Alright, nvm - I don't mind setting up static IPs. In fact I prefer them over the DHCP magic!
And by the noon both repeaters were connectable but neither of them could provide internet connection... We that sucks! I restarted both of them a few times, neighbours restarted their main router -- still no luck.
Here comes my router [God am I happy with this purchase and the whole idea of a customized router!!! Thanks @hakx20!].
I brought it outside, plugged it in. Connected to it through it's hotspot, used nmcli to connect to neighbours' main router with an internal wifi card (that shitty mPCIe operating in USB mode. yes, the same one, manufactured in 2003. Yes, in g mode.). A couple of iptables rules for traffic forwarding et voila! I have built my own repeater! And tomorrow I can WFH w/o any issues.
Yes, hardware routers are faster and easier to maintain. Yes, hardware routers are cheaper and usually have nicer bells and whistles. But when hardware fails you and the last thing you want is going to the public (shop), soldering rod won't help you. A software solution becomes the easiest to set up, considering you know how to.
Boi am I so happy about my purchase! CentOS router FTW!
P.S. even though we've fled the city we are responsible citizens and we've self-quarantined ourselves for the 14 days period. No local person any closer than 10 meters for the whole period until we're cleared. Being away from the city gives us sooo much freedom! Especialy now, when cities are shitting bricks in fear.rant ap success story repeater quarantine wifi centos hotspot custom router coronavirus custom router4 -
Here's a followup to my previous desk photo; this is my desk at work. Portrait monitors and Sci-Fi posters FTW!7
-
The new regime our PM took on this morning with a newly hired, and still mentally sound dev.
"We will solve bugs for an hour everyday"
FTW11 -
"fullstackcircus! he doesn't know what he's doing!"
how's that pure HTML / javascript monstrosity you've built going for you? can you repeat it for any site you need?
gatsby FTW
get rekt scrubs -
Jesus goddamn Christ, fuck all the poorly designed UX. I wish there was an API for everything, it would make everyone's lifes way more pleasant4
-
The best feeling according to my buddy is when drawing a character and then taking a photo of it and the phone recognizes the head as a real face.
Made me wonder of some programming equivalent scenarios.
Like checking your website for the first time on validator.w3.org and seeing the `No errors or warnings to show.`
Or writing code in a plain text editor and it works on first try without any errors.
How about letting a coworker do something you really want to do and already thought heavily about, to later realize they did it exactly how you imagined it.
Or even as simple as getting your first assignment on a new job and totally nailing it.
Do you got any good examples of a similar "omg ftw" moment?7 -
Spec meeting with my client: "Accessibility is very, very important to us. We want to be sure that we meet AA guidelines, at a minimum."
Client delivers front end mockups, can do nothing. Not one single element on it is compliant - have to send it back for revisions.
The fact that they were aware of the WCAG and the AA tier guidelines, and still handed me these shitty designs is pretty impressively stupid.2 -
A programmer is a person who fixed a problem that you don't know you have in a way you don't understand.
-
How do you reply to multiple people in a rant without having to mention their names explicitly?
Click reply on the first person, go back, click reply on the next person, go back and so on!7 -
Today I will be locked into a small room with an accountant, 2 computers and I can't leave until the new system is complete. Efficiency ftw if I want to see my kids today.1
-
I have finally decided to stop helping people setup a proper machine learning environment inside of their machines with Proper GPU support.
I-fucking-give-up.
Goggle Colab, EVERYONE is getting dey ass sent to Colab. I DON'T GIVE A FUCK about privacy and shit like that at this fucking moment, getting TIRED af of getting messages about someone somehow fucking up their CUDA installation, and/or their entire machine (had one dude trying to run native GPU support through WSL 2, their machine did not have the windows update version 2004 and he has on an older build, upon update he fucked everything up EVEN THOUGH I TOLD HIM NOT TO DO IT YET)
.......fuck it, I am sending everyone to Colab. YES I UNDERSTAND THAT PRIVACY IS A THING and Goggle bad and all that jazz......but if you believe in Roko's Basilisk then I AM DOING THEM A FAVOR
I work hard to get our robot overlords into function, let it be known here, I support our robot overlords and will do as much as possible to bring them to life and have me own 2b big tiddy with a nice ass android.
I should also mention that I've had a few drinks on me already and keep getting these messages.5 -
Tried flutter for the first time in life, for 2 days, java based Android dev here.
I have some.... thoughts...
Flutter does not feel extremely new to me. It is very much relatable if you have ever tried basic the spring/ other java based gui framework. It is trying to achieve the goods from multiple worlds,its so far good, but mann its playing on thin ice.
Flutter : Yo boy embrace me. I am the beauty. checkout my hot reload.
Me :❤️❤️😍 (But wait. your first execution is wayy longer than a simple android studio build. And AS would generally take smaller time after every rebuild. And you are going to take the same long time as first build, if app gets closed or my usb gets accidentally removed. So I see what you did there ;))
Flutter: Ha. Checkout my function passing as parameter. ever thought your puny java going to give you that?
Me :you got me ,❤️. (Although this style is not so uncommon with web devs)
Flutter: everything is a widget, everything is stateful or stateless, Single Streams FTW!
me: ❤️
Flutter:You kotlin devs are gonna love me, i got Small, concise code
Me: Now wait, This is a thin ice for me, okay? I hated when kotlin replaced everything with symbols & lamdas for a confusing but small code, So be careful,even though your code is still good.
Flutter : Control every pixel , dear! No more xmls!
Me : Yes, what is with that? are we accidentally going in the past?
Java desktop apps, spring framework used to build whole layouts with programming language. The day i stepped into Android, it was xml for ui and java/kotlin for code. was that a bad decision or is this one?
Anyways i liked my stuff seperated, but that's just me.
Flutter : Ugh so much whining. Are you going to work with me or not?
Me : Yes mam! ❤️4 -
If is funny when you see a code challenge that requieres to reverse and array and you use ruby.
array.reverse! #fucking done5 -
The best kinds of comments:
/**
Gets user CC info datas.
*/
public Object getUserCCInfoDatas() {}
If you really want to outdo yourself:
/**
Gets user CC info datas.
@param someshit Outdated docs ftw
*/
public Object getUserCCInfoDatas(String unrelatedToDocAbove) {}
Honestly, no documentation is better in some cases. At least I can't be angry about their shitty quality... And they don't waste my time.1 -
Picked up an older project which is in prod for 2 years now. I got a DB error related to a null in an array.
Proceed to check the front end(angular 1.5). Ended up in a 3000 lines file😫
What's worse the array was processed by multiple functions including 'filter' and 'filter2'. Naming conventions ftw😂 I don't know whether to laugh or cry 😂1 -
Me: here is my idea with the code. Does it follow what you had in mind?
Dev lead : this is good...really good but if you could take everything you have here and make it a reusable module that would be great!
Me: so it is or isn't what you had in mind?
Dev lead :: it is but I need you to change it all.
Me....FML -
Not 3 weeks have passed and I am almost at where I was in the SwiftUI version of my app but this time in UIKit. Conclusion? SwiftUI slowed me down, significantly.10
-
Had a teacher in high school who ordered us to learn MS Access, even tho most of us already knew MySQL... It was to learn about relations and the likes...
We spend way to long on that subject, because most of really didn't find the Access interface intuitive and she had to walk from table to table helping...
The only two finished the task where those who say screw it and used MySQL 😅 -
Hmm Monday morning and no Internet..
How do I stack overflow my "programming"?
Just kidding, Mobile Hotspot ftw.2 -
ftw !!!! js sucks
importing js files giving errors 😐
used require(blah_blah) and
import { blah_blah as blah } from blah
How do I do it ?😶7 -
Anybody else want to DDoS whole Russia and China Hosting Companys for there god damn dead Servers?
Always get a lot of spoofing and ssh login try's from there.
fail2ban FTW!8 -
Window not responding... should I wait for it? Nope, this isn't my first rodeo. Checking for dialog behind window FTW.2
-
This made my day: (Translation: In reality the earth is a star with 12 spikes and generated by this css script.4
-
I love Heroku. It's so simple to use with all the add-ons, the deployment options and the fact that it's free for most of my projects. Heroku FTW.1
-
looks up JavaScript question, gets jQuery answer
Are you kidding me? Does anyone even do plain JS anymore?? D:1 -
When you accidentally forget the wk98 tag as well as the time it happened...
Thank you guys for caring about the anime I lost. Love this community2 -
Doing react-native and find out I can't develop iOS apps on windows pc.
Fuck you Apple and your XCode1 -
!rant
What is something I can complete in a week (let's say 30-40 hours) as a newbie (I made an android app, played around with engines like unity and unreal here and there, tried some c#, and I always mess around with the linux command line, my RPi, etc etc)? I'll start working in a dual-studying job ('applied CS') in 2 weeks so I'll have enough learning-without-doing to do. I just want to learn something by doing something useful (e.g. a small android app that I can put ads in or sell, or maybe provide something for free that people like. I don't want to write my own engine( that'd take very long anyways) or make a compiler because I feel that'd be kind of useless and even though it'd probably be fun, I would lack initiative.5 -
That James May "fizzy feeling" down there when you can use Replace Text on 400 lines of rather repetitive If Else statements instead of scrolling through and copy pasting.
-
Something tells me Silicon Valley will be discussed a lot in the eps to come here.
BTW, translate_tabs_to_spaces: true; FTW!1 -
Hey, guys, little help here I am about to graduate and I want a job as Linux support engineer or junior sysadmin but apparently, the job experience required for these jobs is 1-2 years. Any suggestions how should I proceed with this because my other option will be to opt for software developer then.
Thanks in advance.3 -
Whenever I see anyone mentioning anything about JavaScript (IRL or the interwebs), I desperately want to join the conversation.2
-
You should just switch off your adblocker for one day....
... and see what blatant ads are available these days. 😡5 -
!Rant
Java devs, here is an ugly but handy REPL web frontend for you. JShell FTW!
http://137.74.64.141/jshell-fronten...
Please note this uses Websockets, so not guaranteed to work on all browsers7 -
So I broke my beloved Fedora Dist. instead of doing a little "sudo chmod -R 754 ./" on a development folder, I did it on root folder ( / )
Now, OS crashed, and I'm getting infinite loops when booting.
But I'm not even mad. I'm impressed :o7 -
since everybody seems to hate gradle i would like to say how much i like gradle for its possibility to build even big java projects from the commandline without the need of a a lot o scripts and especially the possibility to create a wrapper in order to use it even when its not installed on said machine.
it is the only reason why i am learning java now (i fucking loathe eclipse at the moment).
and regarding its speed. i had both. windows and linux. and for some reason i could only verify its slowliness on windows.1 -
Why the FUCK did I decide to get this EXPENSIVE ASS MECHANICAL KEYBOARD before examining it to see if its software had non-windows support? THE SHIT IS WINDOWS ONLY AND IT WON'T RUN IN WINE!!! Okay, sure, there's an SDK, a C++ SDK. So I decide to download it and then... the "ReadMe.txt" looks like this:
(§@) Example•ÿø˝§∫®Á:
1.Ωd®“∞ı¶Êƒ“
2.Ωd®“Source Code;
3.Ωd®“ª°©˙
(§G) SDK •ÿø˝§∫≤[
1. CoolerMaster LED Table.xls : LED Øx∞}™Ì(6 row x 22 Column)
2. SDK Function.doc :¥£®—™∫®Á¶°ª°©˙
3. x86•ÿø˝: ∞ ∫A≥sµ≤®Á¶°Æw°B Lib¿…§Œº–¿Y¿…
3. x64•ÿø˝: 64 bit ∞ ∫A≥sµ≤®Á¶°Æw°B Lib¿…§Œº–¿Y¿…
I FEEL FUCKING CHEATED! WHAT THE FUCK AM I SUPPOSED TO DO NOW?!?!?!?!? THIS SHIT HAS NO VISIBLE DOCUMENTATION!!!15 -
Ok so I studied Computer Science in college, even got my pretty little associate's degree saying I didn't eat shit.
Decided to work in ops and not as a dev because life finds a way
End up being asked to write code at work anyway because I know enough to not break everything1 -
Adding "highly skilled in code divination and paying off bankrupcy-level technical debt" to my resume.
Thanks PHPepsi, you trained me good for this...1 -
PyCharm's Warning: "Function name should be lowercase for PEP8 naming conventions."
Do Python developers not like camel case function names?4 -
This is amazing!
Got some case of heavy eye floaters which can be either a symptom of age or intoxication.
Mine is the latter and I tried to detox with Chlorella algae. Threw in 6 capsules at noon and now it looks like they are nearly gone.
I double checked with an about:blank page, because by looking at bright and even textures I see them all (hence a dark theme is absolutely necessary).2 -
Question:
Do we have any Ingress players around here? What do you think about the upcoming Ingress Prime? I am somehow excited, but only because I just decided to upgrade my mobile phone some days ago 😉 Now the graphics boost can come. 😁 And I really hope that Niantic does not fuck up everything when they plan to be more entry level friendly in the future.
Resistance FTW!26 -
when instead of coding one spends far too much time on expanding the syntax highlighting for better readability...
I mean, yeah it took me like 2h, but now I have a vague idea on how to quickly add things which improve readability for me.
emacs config ftw. -
Just a short story of me and how things can go right after so many years.
This was my first job. Only two other programmers in the company of like 10 employers.
First one is some one who stopped learning like 10 years ago. Winforms Ftw huh..
The other one was my boss who was really a pro but died not too long ago.
Because of this I got the responsibility for all his projects and the future ones. Beside that I'm also employed for our customer support. So pretty much to do here. Even new stuff I never heard of I have to learn asap now. Of course I have learned pretty much here. But I have reached the point where I have reached the maximum. I can't really learn much more. The salary is a joke.
But my other boss does not really care. Emotionally he has the feelings of a stick. No joke. This is going on even before the dead.
Many coworkers just gave up or got even sick of here.
But now I'm taking my consequences. I was looking for a new job now.
I was really lucky there.
Wrote 3 job application and even got invited 3 times. 2 were declined (luckily). The third one was a dream. For the people, the bonuses etc.
Now I'm waiting to sign the contract and the cancelation of my current one. The salary is a joke. Not chance of increasing. -
People going crazy over the new Intel CPU exploit. I'm just sipping coffee looking at my AMD CPU that's never done me wrong 🙌15
-
Might be a minority here... But I really like Kdevelop for almost all of my programming needs.... Bash, Windows Batch, C, Java, Python.. You name it... Kdevelop's got my back! :)2
-
I don't know if this can be classified as a legit "regret" or not, but anyway (hence no wk78 tag).
I've always chosen to focus more on the theory behind computers and computing rather than on practical dev skills. Not saying that the more theoretical things aren't fun - concepts from theoretical CS and maths still regularly blow my mind, as do the more "esoteric" languages like Haskell, Idris, and Coq. However, after seeing you fine folks here at dR talk about practical development, it feels like there's a whole world of stuff that I've missed about computers and programming, especially web programming. I think I'll tackle that next when I have some free time, maybe spend some time learning PHP to see what all the hate's about... (really though, it must do something right if it has such a huge userbase, plus, I think devRant uses it too...?)
Anyway, just wanted to say that you folks are really cool and an awesome source of inspiration. Best community ever.3 -
I have until Friday to write a service that's going to consume our backend api.
I'm doing it with Python, the back end is in Node. It's going to be the first pyhon service in our company, so everybody is looking at it to see if we could/should do more Python!
Under pressure! -
Some user profiles I thought were worth stealing for a post:
PonySlaystation
"Full Stack Software Engineer, Electrical Engineering Student driven by OCD & Club Mate."
'club mate' read: probably white powder and ritalin. I heard he once dismembered a horse and put the bloody head in a rivals bed.
uyouthe
"Russian assassin leader, Apple fanboy. Tabs ftw"
Comrade, apple is bushwazee capitalist filth. Onlytrue comrades use windows, because the upgrade is free.
Root
"Magical processor fairy; part-time misanthropic bane of idiots. 🧚♀️🏹 Ergo sum miseriae"
Do you sprinkle magical processor fairy dust in each new generation of chips to increase their
clock rate? -
tl;dr never heard about rubber duck debugging before devrant
i didnt worked with Yii fw in the past but we bouth a site written in Yii and i wanted to add a form but could not pass the model to the view so i went for a smoke with my roommate to think about it
"i have the view, i have the model, the action but dont know how to pass the model variable because its an existing view..."
"...it should be passed to the render function in the existing index action but thats written somewhere else, so if i could pass it there..."
"...i can write the action there and then i should pass the variable to the render function in the index action and goddamit, so thats how you do it, thanks mate!"
he stared at me like wtf? o.O
room mate debugging ftw!1 -
learn design patterns.
you can instantly understand where goes what and you can make sense of any large projects.2 -
I'm running a spin-off and the team is still small. So, I was wondering how a minimal backup system should be. I do not mean to use github, that we already use, I am concerned about the HD of our servers and laptops. Thanks in advance!3
-
I can't believe how simple SwiftUI is compared to UIKit.
Unbelievable how Apple screwed up with the simplicity (or lack thereof) with UIKit.1 -
so... apparently Lync is encrypted, but if your partner doesn't notice your message it's sent as a plain text "Missed conversation with..." email...3
-
I am getting tired of people bragging about being pissed off by their families and wanted escape to work office. Is family really worst than some random crowd at your company?10
-
Fun story
tl;dr; analog FTW!
so we've just had a nice game. A few teams internationally gathered together in the aws gameDay. We had aws accounts set up [one per team] and our goal was to maintain our t2.Micros to deal with incoming load. The higher the latency - the less points we get, the more 5xx - the more points we lose. The more infra we have, the more points we pay for it.
So we are quite new in aws, most of us know aws only in theory. And that's the best part!
So at first we had some steady, mild load incoming. But then bursts came up and we went offline. It's obvious we needed an lb w/ autoscaling. Lb was allright, we did set it up and got back online. We also created an autoscaling group and set it up.
Now what we couldn't figure out is how the f* do we make that group scale automatically, as a response to traffic! So we did what every sane person would do - we monitored LB's stats and changed autoscaling group's config manually 😁
needless to say we won the game w/ 23k points. 2nd place had 9k.
That was fun!3 -
I hate Microsoft.
I got my new laptop from work today. Pretty nice, 4 cores, 8 threads, an SSD.
It also came with the upgrade to Windows 10.
I work quite a lot on virtual machines, so my work laptop ends being an email and RDP client.
So, I connect to my usual VM, open up vscode and begin working.
But I quickly realize, that for some reason I can't do the Ctrl+Alt+DownArrow combination anymore, even though it worked on my old win7 machine.
Turns out that these keys are reserved, and I have absolutely no way to work around this.
I have to stop using a keyboard shortcut, that I use every few minutes.
Thanks for nothing.17 -
I wish eclipse would use an useful charset like UTF-8, instead of the windows-1252 charset. I feel like he only propose of this damm thing is to give germans a harder time coding
-
Have an older client. Older company. Older staff. Older managers. Older workflows. Older policy.
I program for them in Dreamweaver because it's what they deserve.8 -
Just did a minimal install of Ubuntu in VirtualBox and also installed i3. Been a Windows user until now. This simply feels soooo good.7
-
I am an idiot.
Apparently, I was running 2 year old drivers for my APU. I didn't notice until today but now that I did, I get those sweet performance improvements. -
I was about a year into working for this small marketing company as the only developer. I was still pretty new to development, my first real gig, 2006'ish.
Form processing was still a struggle for me, so my really cool idea was to use an open sourced tool that would create and process any type of contact form, (think wufoo, but on your own server)
Anyway it was working great, then a few months later we decided to move all 30 of or our small clients to a new server, I moved everything over and deleted the old site (didn't make a backup of any DB (who does that?) got a call the next morning that none of our contact forms were working and nobody had any info stored from previous contacts.
Spent the next 2 weeks getting really good at php. We never did that again. -
When your project manager promised to give you a script generator for the big database migration and came back with an Excel sheet where you have to copy-paste every table name and fields to get the table specific part of the script.
Damn copy-pasting programmation ... -
We should start giving devRant profile link in Resume/CV lmao.
Hope that will be a new trend haha.6 -
Off to meet one of our customers next week. Requires my first long haul flight ever! 22hrs on a plane (with a wee stop in the middle!) Planning to buy a new set of noise cancelling headphones in the airport before I go! Duty Free Electronics FTW!!
See you down under!!1 -
I had to program a webservice in PHP (never touched it before). First of all, i get why this language is so much hated. Second i had to debug one function for 5h because of 'é' in my DB.... UTF8 FTW i guess.
Let's finish this by a pun
PHP is really a rich language. -
Reading fine print FTW... Samsung Galaxy Watch features only work with Galaxy phone...
Yes uh.. no...1 -
Thank you community for letting me know about Digital Ocean's Hacktoberfest. Since I have been contributing a lot to open source lately, I got a mail as soon as I registered for Hacktoberfest that I have successfully submitted 4 PRs. Now patiently waiting for my swags. 😀
-
My favorite xkcd quotes (order is not significant )
1. _*It's the world's tiniest open-source violin.*_
2. ...too honest. Scale it back.
3. I'd like to bestow upon you the first annual AWARD of EXCELLENCE in BEING VERY SMART. May you continue to grace our internet with your wisdom.
4. wait, what?
5. Yeah, uh ... I accidentally took the Fourier transform of my cat ...
6. Okay, we _suck_ at this.
7. You either need more medication or less. Not sure which.
8. I THINK EVERYONE INVOLVED HERE IS CUTE
9. World's Greatest Daughter
10. People who open bananas for the other end
11. Just for the sake of the argument, we should get a boat! You can invite the Devil, too, if you want.
12. This explain a lot.
13. My bag is 90% backup batteries.
14. Well- will you be my "it's complicated" on facebook?
15. Oh God. Gotta get out. The window.
16. Sweet! I finally got my subduction license!
17. I'll tell you later - you wouldn't appreciate the punchline over this 12kbps cell phone codec.
18. RON PAUL evolves into TRON PAUL
19. Just talk to them like a f***ing human being
20. In ordering #5, self-driving cars will happily drive you around, but if you tell them to drive to a car dealership, they just lock the doors and politely ask how long humans take to starve to death.
21. I eat my body weight in food every 31 days. That's slightly faster than the human average.
22. Nice try, Mike. Get out of the well.
23. Apollo retroreflectors
24. Can't see space vampires
25. My class on screenshots was a big hit, although for some reason I only ever sold one copy of the digital textbook.
26. WHAT.
27. Introducing The xkcd Phone 6, VIII, 10, X, 26, and 1876. We didn't start this nonconsecutive version number war, but we will not lose it.
28. My morality has evaporated over the harsh UV light.
29. Come on. Somewhere at the edge of the bell curve is the girl for me.
30. P.P.S. I can kill you with my brain.
31. Time to accelerate this giant machine up to terrifying speeds and steer it using my hands, which I am allowed to do because I took a 20-minute test in high school!
32. My normal approach is useless here
33. Wake up, sheeple!
34. Sir- strategic command has send us a lunch order.
35. Yeah, but first I'm gonna go comatose for a few hours, hallucinate vividly, and maybe suffer amnesia about the whole experience.
36. HOLY S***. Guys- people are complicated!
37. OH GOD- SPIDERS
38. Perhaps you need a crash course in taking hints. Here's your first lesson: We're not actually walking somewhere together; I'm trying to leave this conversation and you're following me.
39. How did the pole vaulters get up to our balcony?
40. Friggin' Python
41. I am the goddamn *Michael Jordan* of blurring the line between metaphor and reality. [tosses a basketball] -
When I thought that JavaScript was everything because of node modules, frameworks and such until I learnt Python and Django.
Although, I have been wrong before.3 -
Ever since I've switched to Linux, I've stuck with Ubuntu. Thinking about changing it up and trying something new. Any suggestions?19
-
Today I released the next versions two of my company's Android projects. Today was a good day.
Also, releasing on a Friday afternoon FTW! (they are beta releases, so I'm good).1 -
Had a Nas with a single 3tb seagate HDD in it.
It ran well for half a year and it was my main backup and a time machine for my dad.
The time came that my budget was allowing a second drive for redundancy so I powered it off, added the second drive and powered it back on.
😐😓😧😭
The drive did indeed die and yes, it was one of those drives with an extremely high failure rate.
My dad was pretty mad that his backups were gone even though he didn't need them.
So my biggest lesson from this was to always encrypt such drives because dads backup wasn't and my files and such weren't either, so someone could restore our hole life's from the drive.
So I can't Rma that fucker.
Zfs at rest encryption ftw!
By the way, writing this I noticed that I didn't need to power the Nas down to add the second drive....
Ffffffffuuuuuuuuucccckkkkkk.
Another more recent thing was a refurb 4tb we red that I bought used for a bargain.
It reported 2 unwritable sectors but I didn't care for the money.
After about a month, it died.
The interesting part is how it died.
It spinns up, gets detected, you can access the data.
You can copy the data.
But after a few moments of continues load, all operations start timing out and the drive either disconnects completely or the zpool degrades and shuts down.
In the first case, replugging brings the drive back untill it does it again.
On zpool degradation only a reboot brings it back.
Put a fan on it in case it was overheating but that didn't fix it.4 -
I wish it was as easy as:
> hack FBI
Cannot hack, root privileges needed
> sudo hack FBI
Hacking...2 -
Just found half a box of these dinosaurs in my desk drawer, right next to a 2003 Digitech Electronic Organizer, a Dell Pocket PC, and a Sega IR 7000. Retro treasure trove ftw!2
-
Do we have vfio enthusiasts here?
Now that I made my second GPU boot into Arch Linux (inb4 I use arch, btw. jokes in the comments), I also set up a windows vm with GPU passthrough.
When I plug the monitor cable into the hdmi port of my passthrough'd GPU, I can see windows os on the screen.
My problem is that I want to have it inside of the same monitor without changing the from hdmi port to hdmi port manually, but "softwarely" (neologism ftw).
I read about looking-glass in the arch wiki (I use arch, btw. + On a serious side note though, I really like the arch wiki. It is very straightforward.), but I could not get it to synchronize with the Spice display server.
Does someone know how the solution to this problem?6 -
Found a bug
- Calling function sent wrong parameter.
- Calling function itself was shit. Changed it.
- Few hours later, revamped whole class, updated all references and pushed to production next day.
Till date that class has not changed and still works flawlessly!
And probably first time I used queues in java. Algorithms FTW -
Implemented a feature against a "restful" json api. The feature works, test-driven development ftw.
Yet on the run with the live api: certain important fields all only contain the value `0`.
Confused I asked around what's going on, expected a bug in the api. Now I've been told that those fields never worked and the relevant information has to be gathered by either querying against a (deprecated!) mysql database. Or use a different endpoint increasing the http request overhead by factor over 1000.
We call it team work. -
Writing DAL code that I am 99% sure will be replaced really soon along with the database schema.
Angry coding is almost as good as tipsy coding - AMAZING. -
Client wanted to backup the uploaded files by users to a different drive.
The servers I was working on was Windows servers so I just used robosync between the 2 folders, saved as a batch script.2 -
I'm a software developer but my phone is 4 year old..with the only updated rom is cm 11.2 nightly build
Full hardware qwerty FTW!
Samsung relay s 4g, the last of a kind.5 -
Fuck concrete and the likes! Just fuck it. If I enjoyed grinded stone so much I'd move to fucking Romania or camp inside the Chernobyl dome or something.
I want every concrete building to have a disclaimer saying that 'you are now entering a fucking Faraday cage - the contractor who built this place hates puny nerds like you with a vengeance!'2 -
thymeleaf try to made us to become super strictly writing html tag both open and close tag, thats good but sometimes annoying when you got the html template from your UI mates, there will be bunch update until its working.
-
Spent the weekend to configure my pc to be able to build Love2D to Android. Had problems with NDK, but it turns out that I need to install an old version of it (release 9 to be exact). Productive weekend ftw!
-
Seriously corp....who the hell thought is was going to be a good idea to try and cram together a Microsoft product with os....wtf. typescript has NO business being used with REACT. Ummm if ts doesn't know what push() is we are all f'ed
-
New in my Masters. Have a module called software engineering. Almost already know everything through own projects...
-
Hell is: having a high tolerance to caffeine. Meaning coffee and energy drinks do nothing for me.
I'm so sleepy.6 -
No matter what brands nor expensive your Android Phone, it still sucks if it has no Pure Android OS in it
-
Me: I spent some time cleaning up code because our server was crashing every time I called this api I needed for the new feature we are building this sprint.
Scrum master: why are you working on things that were not planned in this sprint
Me: .... -
Slight behaviour change request. If you hit reply to someone then their id is added to the message. If you go back to view the thread, and hit reply again then another copy of their id is added.
A simple clear won't work as someone may be mid rant reply, but perhaps if the app checks if the id is already in the message window before adding in another copy.
@dfox1 -
"Then you get a message saying the software is no longer supported, but that's ok"
Outdated technologies ftw -
Ugh. Just found some really old script where I was using UA sniffing to change content. Super-restrictive CMS FTW.
-
It only takes three commands to install Gentoo:
> cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub && init 6
that's the first one2 -
oh dear the stocktaking i did (maybe am still doing? don't know whether it's done yet🤷) with my dad for his little shop😩
his pc/office skills had begun with microsoft excel (he taught me how to use a pc all together) ... and have stopped there. Excel for almost everything. To be fair, he uses PCs like a normal user and isn't of that metier, ok fine🤷.
but when i saw the table he uses, which he copied over the years from the previous versions (still ok), i quickly found out that his table entries were written by him FOR HIM. it was very hard for me to help him (he tells me the article he sees in his storage, i have to include, so i look it up in the table and do stuff) as he had nicknames for his articles that only he associated with😐.
next he prints out a list a company has given to him where he buys some products from, which is ordered by id number ... my dad works with the correspnding names instead so of course all product names are random😑, so every time i need a price for an article he has to scan every list item. you've guessed it, n² search😪😒.
i tell him multiple times to call the company and send him a list in alphabetical order but he refuses as "we've almost finished" ... 🙄 (i'm not allowed to ask for him, as the company will only talk with the responsible one😑)
so I'm tied to a pc, talking to my dad over phone, who has to walk around and has to help me very often to find the article he's meaning to, at the end, do a n² search to add all the prices....😩
I absolutely want to help him automate things for sanity's sake🤔😅
install databases, connect via internet, connect to companies databases for up-to-date prices etc., make some desktop/web app/i don't know for fast access and boom...
and i don't even know where to start and where to find the time for it and whether it's even all possible😅🤔😐🤷