Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Being new to NodeJS, I wanted to use the framework for a small script that involved connecting to a MySQL database and updating 1500+ records.
With NodeJS's preference towards functional programming over sequential, I wanted to do things the NodeJS way with callback functions instead how I'm used to doing it, using loops (and all the MySQL functions were async).
I couldn't update all the rows at once, so I wrote a callback function that calls back itself after the SQL statement is executed. A recursive callback function... am I doing this right?7
Learning Flutter since I've seen it suggested somewhere on here, and therefore I'm having to learn Dart. It just bugs me how it doesn't complain when I leave an extra comma at the end of the constructor parameters3
Updated my Mac this afternoon to macOS Catalina. Apart from rearranging all my apps in Launchpad, the major change I notice is that the terminal is using zsh instead of bash... ok... cool. I don't know anything about zsh... what differences can I expect? Should I go back to bash?5
Built an iPhone app for free for a local nonprofit. This directly lands me a part time well paid internship offer.
And they say you should never work for free3
Me: Hey what's the default password for this?
Me: yeah the password. What is it by default?
Classmate: no that's it. Just "password"
Got paid to follow the wrong instructions on installing an SSL certificate.
It's working now but only after a few hours of trying different things1
So I follow Linus Tech Tips and set my computer's DNS server to 126.96.36.199 but the dumbass in me didn't set any backup servers.
Come Friday night, internet is not working on my computer. After a modem/router restart and it still not working, I thought it was just the internet in the house was down for a little bit (it was connecting to the router perfectly fine). The next morning I wake up and my phone's connected to WiFi and it's working, so I'm like, "great, internet's back"
Not for my laptop lol. Nothing's loading there. Since it's just this device that's having trouble, I decide to forget the network and log back in. Still not working.
I finally remembered my DNS server setting and add Google's external DNS servers to the list and now it's working.9
I'm sorry my GitHub was inactive all 2018. Doesn't mean I wasn't coding. I just put my recent projects up so maybe I can fill out those little squares on my profile
Every time someone here makes one small complaint about their system, there's always that one guy to criticize your choice of OS. REGARDLESS of what OS it is8
TLDR; macOS wouldn’t update to the version I needed because I have a 3rd party SSD. All I needed was a firmware update only found deep within a google search and a secondary SO answer.
I have a video edit project this weekend. No big deal.
Except that the Final Cut Pro project was saved in the latest version of FCPX, for which I need latest MacOS version
As a music producer on the side, I had heard the new file system of MacOS High Sierra would possibly break audio plugins. I didn’t bother updating until now. Looked further into plugin problem, it would be simply a broken hard link which I can easily fix. No big deal.
Except that I have upgraded my MBP SSD from 256gb to this 3rd party 480gb SSD. macOS does not recognize this SSD as compatible with update. No big deal. Simple google search for a terminal command would do the trick.
Except that I found and tried several solutions, including wasting an entire hour updating the original ssd and booting from that to try to update it.
Nothing worked, but deep down in the google search, found in a secondary answer on SO, there was a link for a beta release of a firmware update for the SSD that took two minutes to install, and I was finally able to update.
That firmware update needs to be more prominent everywhere. Wasted well over 3-4 hours updating crap, swapping out SSDs, and googling when all I needed was a fucking firmware update.9
I'm building a web app with little experience and I'm probably Googling stuff 50% of the time and I'm sure I'm doing everything the wrong way but it works so...10
How the hell do I understand want people want???
I listen to them, I pay attention to them (for the most part), but for the most part when someone assigns me something but it is not clearly explained, they expect me know what to do.
I had the most unproductive meeting with this guy I work for because of this... he had a problem, so we worked on ideas for this solution, and I thought I knew exactly what he wanted. We were getting somewhere. I get ready to leave for lunch and it turns out that is not at all what he wanted. We're back to square one.
Is it me, or are people really bad at explaining things?6
C++ Really confuses me... I mean why when defining an array variable is the array notation on the variable name rather than the variable type?1
So my previous rant was about a 13-year-old PC with a ton of dust... It is a 2004 PowerMac G5 1.8GHz, and I recently installed a flavor of debian on it called Lubuntu, so now I actually use it. It currently has 750mb of ram but I found a max upgrade (4x1gb) on eBay and that's in the mail.
Once that comes in I'll have an ok-ish machine but I'll have nothing to use it for.
So what can I use it for? I open to suggestions.19
When you open a 13-year-old PC that has never been opened and there's so much dust that even the vacuum is like "plz no" 😑7
Installed an SSD in my Linux box. Installed fresh distro, tried to log in via SSH on localhost. Didn't work. Tried like three times, turned off firewalls, restarted ssh servers, nothing.
Looked at username. Typo in username when setting things up. *facepalm*1
My first CS class is a basic introductory C++ course. Won't even be going into OOP.
So I want to use my own laptop for the course, but I have a Mac. Thought I could use Visual Studio for Mac for the class, but turns out Visual Studio for Mac is really only for Multiplatform development with C#. Ok, then, screw that. Just wasted 20GB and an evening installing that just to uninstall it.
I'm using JetBrain's CLion for now, but apparently we'll be doing some graphics work later this semester so I'm going to need to install Windows via Bootcamp and Visual Studio there... but my SSD is too small...
I currently have Windows/Bootcamp installed on a 1TB external hard disk but that is slow af. My SSD is only 250GB and I've already used half of it for various programs I need (Adobe crap plus Logic crap cuz I make videos and music).
My only option here is to buy a new SSD but only one manufacturer sells those (OWC), and a 1TB SSD is stupid expensive, $700 almost as much as I paid for this laptop used.
So, I guess I'm just kinda deciding right now whether upgrading storage is really worth it...6
I don't like stickers on my laptop because it clutters it up. But today I realized the importance of them.
A few months ago I was sitting at a coffee shop working on a paper and I noticed a guy with this cool sticker on a MacBook Pro: it had the integral symbol to the left of the Apple logo, and to the right of it a lowercase d and another Apple logo. It took me a few hours to realize what it meant, but I finally did and at that point I also guessed that not many people know what it is.
So I, as antisocial as I am, I finish up my work and before I leave I walk up to him and say hi. At this point I'm a senior in high school and I learn he's a junior in the same college I plan to attend. We talked a little before I had to leave and got to know each other somewhat.
After I leave I find him on Instagram and Facebook and friend him and such.
Recently I posted a picture saying I had recently joined the Apple Developer Team, and also recently reposted a memory on Facebook from 5 years ago that was a screen capture of an iPhone 4 simulator running iOS 5 showing off one of my first apps.
Then yesterday I get a message from the guy I met at the coffee shop asking for some help with an iOS project he's working on. We decide to meet today and I spend the entire morning showing him the basics of Swift, Xcode, Interface Builder, etc. I feel like I really helped him jumpstart his app and helped him understand the basics of different concepts.
If he didn't have that integral sticker on his laptop I would have never had this opportunity to finally share some iOS development experience.
For this I would like to thank my high school calculus teacher, with whom I spent many classes at Starbucks because I was an only student. I'd like to thank laptop stickers, and finally I would like to thank the coffee shop.
TL;DR: Said hi to a guy with an integral sticker on his laptop, a few months later he approaches me for help understanding iOS development.5
Me at 9 pm working on a project: this will only take a couple minutes...
Me a few minutes later: fuck, it's three in the morning...
And that's why I have sleep issues.
Get your goddamn internet speeds up to 1st world speeds
I have a fucking paper to write9
Ooh... one I can participate in...
My dad was a Java developer, which primarily got me interested.
Back in early 2012, a favorite MMOG of mine shut down and I was interested in how it worked. I was 13 at the time. A friend of mine, on hearing of my interest, emailed me a bunch of links including Chris Pine's ruby tutorial and TheNewBoston.
From then on I tinkered a little with a bunch of different technologies, picked up a few programming books, and now we're here. I've made a little money as a Java developer and I'm working on an iOS game, but I'm still learning and tinkering with new technologies.
This programmer right here just turned 18. Maybe now I can get that Apple developer ID and get that app I've been working on for over a year onto the App Store.
And on a side note... let the Facebook comments pour in...17