Details
Joined devRant on 10/9/2016
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
-
Database tip of the day:
Spent hours on Amazon's DynamoDB and ultimately found it couldn't do what I wanted, not without a complicated workaround.
Switched to Mongo and had it working in literally under 5 minutes.
Hooray for Mongo 😀3 -
What advice would I give a new dev?
"Learn COBOL"
No one specified that it had to be 'good advice'7 -
I've spent so much time writing terms and conditions, I'm tempted to list it as a feature of my app2
-
@dfox feature request: polls
It would be great to ask (for example) "what's your preferred os?" and have ppl respond by hitting 1 of the 4 options:
a) linux (60%, 600 votes)
b) mac (30%, 300 votes)
c) windows (0%, 0 votes)
d) other (10%, 100 votes)
Sorry if already requested.26 -
// during testing, fortunately!
addresses = [
'user1@blah.com',
...
]
x=0
while ( x < addresses.length ) {
toEmail = addresses[x]
sendEmail ( toEmail )
// forget to increment x
}
// user1 not too happy4 -
Pathetic dev moments: Any time my macbook fans rev up, I worry that I'm working my baby too hard, so I start closing applications.3
-
I'm not an iOS expert, I just wanted to get Google ads on my iOS app so that I could make a few petty dollars at the expense of my users. Is that too much to ask?
I started by following Google's instructions: install cocoapods, copy and paste some swift code... Compile failed, app broke. Carefully retrace my steps. Nothing.
Stackoverflow (praise be with them) suggests upgrading Xcode. Go to app store and click to upgrade Xcode. No progress bar, no status updates, just that pissy little spinner for several minutes. I become impatient try a few more times. It ain't happening.
Stackoverflow (holy of holies, defender of the weak) points me to an alternate source for Xcode, on the app store dev console. 4GB and some time later, an attempt to unzip gives "unknown error". Genocide of sorts.
Stackoverflow (all that is pure, all that is kind, all... I think you get it) says upgrade your OS. I tried months ago but I had issues with that pissy little spinner. Persist. 5GB and a "heavy-year" of time later (sorry), it installs. Then Xcode installs. Then bar a few errors, the app compiles.
So after almost 24 hours, life resumes. The lesson.. respond to all obscure iOS errors by upgrading. If fully upgraded, calmly acquire a baseball bat and destroy your machine. Make sure you have a good book nearby in case of either event.
Thank you for reading my rant. Now if you'll excuse me, I have to pay Apple
$150 so that I may list my app in the app store.11 -
EVACUATE NOW! Early this morning I was woken by the fire alarm at my apartment. I jumped out of bed and immediately reached for my laptop. After carefully sliding it into its bag (top side up of course), I grasped it tightly, took a deep breath and ran to safety.2
-
Appreciate how lucky we are. We get to say "It's a bug" instead of "I've made mistakes". Suddenly it's not our fault.3
-
Most embarrassing dev moments:
Many years ago before I knew anything about javascript minification, I opened a .min.js file and thought "wow the guy who wrote this must be insanely smart"2