Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "trial and error"
How I've decided to answer the "can you hack" question from here on in...
"Can you show me how to hack this account please?"
"Sure, you'll need a hammer, a blow torch, chloroform, some pliers and couple of bottles of really pure vodka!"
"What the hell?!"
"Oh, it's so much quicker to just extract a password from a person, than it is to break into a system, I'm not exactly trained in inflicting pain on the human body, but I'm sure you'll be able to figure it out through trial and error, good luck!"15
So I got the job. Here's a story, never let anyone stop you from accomplishing your dreams!
It all started in 2010. Windows just crashed unrecoverably for the 3rd time in two years. Back then I wasn't good with computers yet so we got our tech guy to look at it and he said: "either pay for a windows license again (we nearly spend 1K on licenses already) or try another operating system which is free: Ubuntu. If you don't like it anyways, we can always switch back to Windows!"
Oh well, fair enough, not much to lose, right! So we went with Ubuntu. Within about 2 hours I could find everything. From the software installer to OpenOffice, browsers, email things and so on. Also I already got the basics of the Linux terminal (bash in this case) like ls, cd, mkdir and a few more.
My parents found it very easy to work with as well so we decided to stick with it.
I already started to experiment with some html/css code because the thought of being able to write my own websites was awesome! Within about a week or so I figured out a simple html site.
Then I started to experiment more and more.
After about a year of trial and error (repeat about 1000+ times) I finally got my first Apache server setup on a VirtualBox running Ubuntu server. Damn, it felt awesome to see my own shit working!
From that moment on I continued to try everything I could with Linux because I found the principle that I basically could do everything I wanted (possible with software solutions) without any limitations (like with Windows/Mac) very fucking awesome. I owned the fucking system.
Then, after some years, I got my first shared hosting plan! It was awesome to see my own (with subdomain) website online, functioning very well!
I started to learn stuff like FTP, SSH and so on.
Went on with trial and error for a while and then the thought occured to me: what if I'd have a little server ONLINE which I could use myself to experiment around?
First rented VPS was there! Couldn't get enough of it and kept experimenting with server thingies, linux in general aaand so on.
Started learning about rsa key based login, firewalls (iptables), brute force prevention (fail2ban), vhosts (apache2 still), SSL (damn this was an interesting one, how the fuck do you do this yourself?!), PHP and many other things.
Then, after a while, the thought came to mind: what if I'd have a dedicated server!?!?!?!
I ordered my first fucking dedicated server. Damn, this was awesome! Already knew some stuff about defending myself from brute force bots and so on so it went pretty well.
Finally made the jump to NginX and CentOS!
Made multiple VPS's for shitloads of purposes and just to learn. Started working with reverse proxies (nginx), proxy servers, SSL for everything (because fuck basic http WITHOUT SSL), vhosts and so on.
Started with simple, one screen linux setup with ubuntu 10.04.
Running a five monitor setup now with many distro's, running about 20 servers with proxies/nginx/apache2/multiple db engines, as much security as I can integrate and this fucking passion just got me my first Linux job!
It's not just an operating system for me, it's a way of life. And with that I don't just mean the operating system, but also the idea behind it :).20
Spaces Vs Tabs - A real world case.
So one of the menial tasks I was given here was to take a pretty mock and turn it into an HTML email template. Needless to say, I hate emails and HTML.
After many weeks of trial and error, rejection and tweaks, we're doing our final tests when someone noticed that Google's clients are chopping off the footer and saying "View Full Email".
A few searches yield that Google has a 102KB cut off for email size. We did some checks and found that we were at 104KB. I immediately thought it was my CSS inliner being a little too verbose, but as I went in to edit things, I noticed that the file was intended with spaces!
Now I'm a fan of Silicon Valley, and I recalled an episode from this past season where Richard mentioned something about saving file size by using tabs. I had never really considered that point.
So I went back into VSCode and told it to convert all of the individual templates that make up this giant email to indent with tabs...
The file size dropped from 104kb to 82kb.
I wasn't very polarized on the Tabs vs Spaces debate, but this here has given me a nice real world example as to why tabs rule.22
I was in a hostel in my high school days.. I was studying commerce back then. Hostel days were the first time I ever used Wi-Fi. But it sucked big time. I'm barely got 5-10Kbps. It was mainly due to overcrowding and download accelerators.
So, I decided to do something about it. After doing some research, I discovered NetCut. And it did help me for my purposes to some extent. But it wasn't enough. I soon discovered that my floor shared the bandwidth with another floor in the hostel, and the only way I could get the 1Mbps was to go to that floor and use NetCut. That was riskier and I was lazy enough to convince myself look for a better solution rather than go to that floor every time I wanted to download something.
My hostel used Netgear's routers back then. I decided to find some way to get into those. I tried the default "admin" and "password", but my hostel's network admin knew better than that. I didn't give up. After searching all night (literally) about how to get into that router, I stumbled upon a blog that gave a brief info about "telnetenable" utility which could be used to access the router from command line. At that time, I knew nothing about telnet or command line. In the beginning I just couldn't get it to work. Then I figured I had to enable telnet from Windows settings. I did that and got a step further. I was now able to get into the router's shell by using default superuser login. But I didn’t know how to get the web access credentials from there. After googling some and a bit of trial and error, I got comfortable using cd, ls and cat commands. I hoped that some file in the router would have the web access credentials stored in cleartext. I spent the next hour just using cat to read every file. Luckily, I stumbled upon NVRAM which is used to store all config details of router. I went through all the output from cat (it was a lot of output) and discovered http_user and http_passwd. I tried that in the web interface and when it worked, my happiness knew no bounds. I literally ran across the floor screaming and shouting.
I knew nothing about hiding my tracks and soon my hostel’s admin found out I was tampering with the router's settings. But I was more than happy to share my discovery with him.
This experience planted a seed inside me and I went on to become the admin next year and eventually switch careers.
So that’s the story of how I met bash.
Thanks for reading!10
After switching between Fedora, Ubuntu, Debian, Manjaro, Antergos and a dozen WM's I've settled for Arch on the desktop.
Took me over a week of trial and error, but it's worth the pain for the level of control you get.
Switching to Linux reminded me much of trying to find out if I liked text editors or IDE's more when I first started programming. I changed tools every day before I settled.
Screenshots of course. Now to actually get back to my JDBC projects before I start obsessing over how to get all my apps on the terminal. :D14
When will Google understand what an ecosystem means ?
Love it or hate it. What makes Apple devices homely is the ability to build a banded and consolidated associative user space that feels the same anytime on any platform. Crafting an ecosystem might be a daunting task , and requires adaptive and perfective rework through a long period. But it pays of , just like apples utility app suite does today. It was a journey to get it right.
Now we have Google , a company that is confused most of the time , releasing new apps everytime they have new feature in mind. According to me , Google did a phenomenal job in building hangouts and Allo , hangouts was a huge step forward from gChat , and Allo was way ahead of its time for a fun and innovative IM app. But what's the need for 2 different apps ? One has video calling , text messaging , group sharing , everything the Allo had.
Then all of a sudden you get Google Duo " The best ever video calling app " Why wasn't this integrated with hangouts and marketed the same way ?
Trial and error is one thing , this seems a lot like the lack of effort in architecting coaction and a well designed internetworking application framework. A lot of unnecessary choices have led to the shutting down of majority of their apps. Allo and hangouts included , but all this would have been unnecessary if the goal was to always build upon iteratively.
While I believe Allo was marketed as a cross platform chat application unlike hangouts , an integration plan could have always circumvented this issue.
I have to talk about another one of Google's failed efforts in recognition of potential , the hello app , but this rant has gone a bit too far already. So I'll post 6 hours later 😅
Well I'll always have the hope to see Google integrate the best of their ideas in a more relaxed and realised structure than what exists today. :)14
Not really a bug, but once I tried to learn building function ajax per table asynchronously instead of calling all of them at once. Spend like couple of hours of trial of error. It wasn’t needed at the time, but suddenly I need to fetch something separately because of a new feature. Just write a couple and line it’s done
The stranges computer error I have seen.
When modems still was the way you communicated I worked with support.
We where the general distributor for TDC's PCCard modems.
One day we got a computer with modem with intermittent problems (worst kind).
After much trial and error we found that stroking the computer lightly in the top right corner made the modem work perfectly :)
Cause will be reviled later :p4
Me: *spends 5 hours screwing around with recursion and performing operations in reverse order*
Unit tests: *pass*
Me: Wow. Okay, that’s interesting.
*run tests again*
Me: Right, well, that’s just dandy. Now, how did I get here and how do I document this...
TL;DR I spent 5 hours fucking about and accidentally came up with a working solution that I can’t explain
EDIT: RIP wrong category1
Erm..... Here goes nothing.
Hello everyone, I'm [REDACTED] from [REDACTED] in the SEA region. I'm a highschool student, 17, with a hobby of programming in Python 3 as a self-taught trial-and-error script kiddy, mostly small scripts from random "Yea I should do that, how long will it take?! ¯\_(ツ)_/¯"-moments. I found DevRant while talking with people in a few programming Discord servers. Hope this is enough for a "Hello World!" post....and yea, welcome me to DevRant *pop confetti and hope not forced to clean up later*14
I feel a bit ashamed posting this, compared to some of the amazing things you guys have built.
Coolest thing I have built was my first app:
It was back around new years 2014-2015. I bought a charango and started playing some gigs. I carried around a book with chords. I thought it was a bit annoying to have to take it with me. Looked for an app and there wasn't any (today there are 2-3 other). So I decided to make an app.
Bare in mind that I had just a bit of experience with C from university. No OOP. So I went on youtube and started watching some tutorials while I developed it. Learned by trying. Trial and error.
After around 2-3 months of working on it every day after class until going to sleep, it was ready.
I decided to put it on play store for other people to use. Turns out there was a need. I got 10,000 downloads in less than half a year (it is quite a niche, so unexpected). Since then it has stayed around 6000 installs on active devices.
It is my biggest personal project success.
Since then, I have continued making apps in my free time, getting better and more professional. But none has come even close to that ones popularity. My plan is that to mark the 5th anniversary, I am working on a v2.0 (complete rewrite) with new features and instruments.
Sorry about tl;dr7
My entire career I've never had a mentor. I've learned everything I know though trial and error. When I started off as a Junior at my first company, I thought I would have someone to help me, turned out that company just expected you to sink or swim. There was a lot of extenuating circumstances at that company and I didn't totally sink but didn't swim as fast as I would have liked to either.
The next job, I got the opportunity to read and work with thousands of different codebases mostly troubleshooting performance issues. This actually allowed me the most opportunity to learn. I learned so much reading other developers code and troubleshooting (mainly I became very good at knowing what not to do)
Fast forward to today. I am a solo dev at a very large multinational brand/manufacturer. I do a lot of very complex coding and figuring out the logic to make it happen. I have no over site. I have nothing out anyone to bounce ideas off, to review my code, to even compare my skills against.
It is a comfortable job, no hard deadlines. I have the time to learn and figure things out. But I do know how important having a mentor can help in advancing your knowledge. It's something I've always wanted/needed to get past this plateau of mid level.
So last year, I made a very specific set of criteria for the next company I wanted to join. I have interviewed hundreds of times for dozens of companies, but none really perfectly fit this criteria.
Then, I heard of one of the legends in my niche market was looking for a good mid level developer to mentor. I applied to said company, in fact, just got back yesterday from the final interview. Just received my offer letter. I am joining a team of highly skilled super smart people that will spend the time to help me hone my craft. I am super stoked. I've had offers from other companies and turned them down because either the team's I didn't feel were expert enough to get me to my next level, or I was still going to be a solo dev, or it just didn't feel right.
Today, I found the perfect team and the perfect company to become one of the best in the industry.
It's so important to be in a conducive environment that will help you be your best.
So thank you to all the mentors out there that take the time to push us to be our best and give us the direction we need.
Today, I start my journey to the top.4
Doing tons of research and learning, trial and error to infinity and pushing through when I thought 'fuck this shit I'm so fucking done'!
Finally fucking managed to setup quite fast map tile hosting including the tile generation after ages of research and trial and error.
I love this open (source) maps (openstreetmaps) project but man, figuring out what to do from a gazillion sources can be rather hard.
Now I'm just having some styling issues and the filesize is fucking insane (only the Netherlands with all data, 20gb+ if I remember correctly) so I'm just generating road maps for now. If someone knows some more about the styling as for the maps, please let me know!
Yeah, this is fucking satisfying.2
In college when we had programming labs where we had to use the schools unix server to compile and run.
My professor was very bad at explaining what actually needed to be done in the labs to the point where even the TAs didn't know what to do.
We were suppose to write an application in C to find out by "trial and error" how large we could make an array (or something like that, it's been too long). This not being explained well and no one knowing that much about C, I wrote a loop that just kept growing an array until it couldn't anymore. I watched it consume 72GB or memory from the servers before quitting the loop and realizing with the TA what the professor really meant.
I now feel bad for the IT staff monitoring the system wondering where 72GB just went...2
When you finally understand how a RxJava operator works in different multithreaded scenarios after hours of trial and error...3
It was not until 20 that I had access to regular computing. In school I had to take up Finance as my Maths was weak. I couldn't take Sciences including computers and how could I , my childhood wasn't as fortunate as my peers.
When I entered college I got my brothers old gaming pc as we had a couple of work laptops at home. I was always the inquisitive one. I got interested in web development just because of curiosity while I was on my first job and I hated it. I used to write article and freelanced and ran a website for friends where I learned a lot by trial and error. I single handedly learned mySQL, PHP and basic web development.
The main job was a core night from 11pm -8 am . Drained me and my social life drowned. I lost my brother in an accident. Silver Lining: I quit my job.
I understood I was interested in computers like nothing else. I single handedly learned a programming language. After leaving the job I took up classes to learn from root level in a structured manner: Web design and Development.
Now though I am jobless and I am searching for my second job it is for something I love. :)2
It has been a long long time since I posted, a lot has happened the past couple of months.
I lost my grandfather, I got a nice dev job and God I miss ranting here. I finally published my side project and all I have to say is
AWS is a b*tch! But beautiful at the same time, had to learn a lot the old way (trial and error).
I don't have any anime pictures as I've changed phones recently but I find this picture just as awesome.
Hope you are having a great day ranters.2
Not really a rant and not very random. More like a very short story.
So I didn't write any rant regarding the whole Microsoft GitHub topic. I don't like to judge stuff quickly. I participated in few threads though.
Another thing is I also don't use GitHub very much apart from giving 🌟 to repos as a bookmark. Have one hobby project there. That's all. So I don't worry that much. I'm that selfish and self concerned. :3
I was first introduced to version control system by learning how to use tortoisesvn around 2008. We had a group project and one of the guys was an experienced and amazing programmer unlike the rest of us. He was doing commercial projects while we were at our 1st and 2nd year. Uni had svn repo server. He taught us about tortoisesvn. He also had Basecamp and taught us how to use it as well. So that's how I learned the benefits of using versioning tools and project management tools. On side note, our uni didn't teach any of those in detail :3
After that project, I was hooked to use versioning tools. So until school kicked me out, I was able to use their svn server. When I was on my own, I had to ask Google for help. I found a new world. There are still free svn services that I can use with certain limited functions. That's not the new world; I found people saying how git is better than svn in various ways. It was around 2010,2011.
At first I was a bit reluctant to touch git because of all the commands in terminal approach. But then I found that there is tortoisegit. I still thank tortoisesvn creator for that. I'm a sucker for GUI tools. So then I also have to pick which git servers to use. Hell yeah, self hosted gitlab is the way to go man. Well that's what the internet said. So I listened. I got it up and running after numerous trial and error. I used it briefly. Then I came back to my country on 2012-2013; the land of kilobytes per minute (yes not second, minute).
My country's internet was improved only after 2016. So from 2013 to 2016, I did my best not to rely on internet. I wasn't able to afford a server at my less than 10 people, 12ft*50ft office. So I had to find alternative to gitlab which preferably run on windows. Found bonobo and it was alright. It worked. Well had crazy moments here and there when the PC running Bonobo got virus and stuff. But we managed. We survived. Then finally multi national Telecom corporates came to our country.
We got cheaper and faster mobile data, broadband and fiber plans. Finally I can visit pornhub ... sorry github. Github is good. I like it. But that doesn't mean I should share my ugly mutated projects to the rest of the world. I could keep using Bonobo but it has risks. So I had to think for an alternative. I remembered that gitlab didn't have cloud hosting service when I checked them out in the past. So I just looked into Bitbucket and happy with their free plans of 5 users and unlimited private repos. I am very very cheap and broke.
That's why I said I don't really care that much about the whole M$GitHub topic at the beginning. However due to that topic, I have visited GitLab website again and found out they have cloud hosting now and their free plan is unlimited users and unlimited repos. So hell yeah. Sorry BB. I am gonna move to cheaper and wider land.
TL;DR : I am gonna move to GitLab because of their free plan.4
I'm really into coding now for half a year. I really love that kinda flow when there pop up no errors and you work yourself through the code writing using trial and error. It's really addicting and the perfect evening.
But here comes my question: There are sometimes unsolvable errors for me (still not figuring out how to use firebase properly 😞). Is this stuff going to be fewer as I advance in coding, or am I just terrible at googling? To other beginners: Do you have often errors to that feel unsolvable for you?1
I think I'm getting crazy...
Yesterday evening I finally thought it was a great idea to set up Gitlab CI to let the server build (ng cli) and deploy (via FTP) an Angular5 SPA on commits on the master branch.
The npm package "vinyl-ftp" thinks it is pretty fucking funny to just randomly stop in the middle of uploading files or just upload some files with 0 bytes in size.
WHAT THE HELL?
After some hate infested trial and error, it seems that the more parallel channels I set up, the more chance I get that all files are correctly uploaded, but never all.
If anybody here happens to be some kind of mighty byte bender and knows what to do, I'd be thankful. But I will probably try out a different client in the docker image...1
Learned basic Java syntax and created an Android app by reading a lot of posts on stackoverflow
Also a lot of trial and error...
How many of you feel you learn something on the job?
As for myself, I learn much more from books than sitting day in, day out at work, doing more or less of the same things.
To me, this whole trial-and-error way of 'learning' is not really learning. I don't subscribe to this dogma. I don't 'learn' by messing up and fixing something. I need a full specification of why something works, when and how. I'm not satisfied by just being a code plumber.
This, next to the fact that most jobs in small startups don't provide a budget for you to expand your knowledge.6
!rant real talk though.
I am frustrated. Lately i have been having a slow time on the job, and it somehow dulled me down a lot.
In games you often have to think about transforms and rotations and offsets and hell knows what else.
I am usually pretty good at 3d object manipulation, it's one of those IQ test skills i generally score well on.
However lately i have not been able to come up with jack shit, i am simply unable to coherently think through a set of positioning and rotation changes to aquire the correct outcome for a mechanic and it pisses me off.
I have to fall back to slow as all hell trial and error and i don't even know what to do otherwise. It's been months now, do i have brain cancer or some shit? Arrrrrrg!4
Working in my first "modern" website, a personal blog. Holy fscking crap does this shit suck. Layout and CSS etc is basically a trial and error gig at best. There is no rhyme or reason. Why?!?!5
A simple bot on Telegram
Just hit and trial
Wanted same for Facebook, some error while accessing token tho. :(1
Is it weird that I'm excited to get to test my code for my side project that I'm working on? It feels like I should hate this since I'm going to graduate next year and my career will be doing this as a job. Really, though, I'm glad to make sure my code is designed properly. It gives me confidence in my programming skills. BTW, if anyone is trying to use a build tool in Python there are NO guides to get started that I've seen! I had to go through trial and error to get pybuilder running!2
Be me, get a consultant job, go to a supposedly great client that has fame of getting scouted by Google. (attn: I doubted all this shit before I started)
Learn the basics by a awesome mentor and trial/error stuff at the same time to get the hang of things, after that was done, I noticed there was no documentation whatsoever, code is spaghetti and your documentation, good luck!
Royal spaghetti, you can't make heads or tails of it, dev code in production, empty try/catch blocks, empty statements, if (true)... (incl. their core classes)
Keep in mind this is a multi milion dollar company...
Someone please understand my pain...6
Everyone argues about the perfect date, so I searched and found it using complex machine learning, a lot of trial and error, and too much alcohol:
- %Y stands for one number of the last year
- %M stands for one number of the following month
- %D stands for one number (09 are two numbers for example) of SQRT((CURRENT_DAY^7)/3)
- %h stands for one number of the hour next evening(12h system)
- %% stands for either 7 or 3, 7 means that the hour(%h) is a.m., 3 means that the hour is p.m.
- %m stands for the minute the next solar eclipse will happen
- %s stands for one number of the second you will hate yourself to have this system implemented.
How to use it im 3 simple steps:
1. Implement it using ???
29 november 2018 i was blessed for the first time after months and months and Months of trial and error
not gonna say what happened cause its kinda private
but i will forever remember this date. this date is sacred to me.7
1) Search for "what is *language-I'm-interested-in* useful for?" on ddg;
2) Google the same thing 'cause you never know;
3) If it looks cool/useful and adds something to the tech I already know, I find a tutorial and follow it.
4) Trial and error on a new project that I will end up doing in another language because by that time I will find the new project so cool that I have to finish it in a language I use proficiently.
Every damn time.
So, I decided over the weekend that I would move my entire dev environment to Linux. No Windows on the laptop and only as a backup boot system for my home PC. I wanted to wean myself off of Linux as only being a VM and move to the full blown desktop.
I can only describe my experience to that of having your first kid: lot's of crying and joy at the same time.
Things I've learned:
1. The install is amazingly painless. Wi-Fi and Bluetooth work straight out of the box no configuring needed.
2. OH MY GOD THE CUSTOMIZATION. Rocking Arc Dark theme on Gnome3 = EVERYTHING IS
ALWAYS DARK MICROSOFT WHY IS THIS NOT A THING.
3. Getting Java servlets to work has been hell. I gave up trying to get them to work in eclipse and moved over to IntelliJ. More trial and error before I can figure out why tomcat won't fucking work in eclipse but it's fine in IntelliJ.
4. The UI and overall work flow has been improved after getting past the learning curve. Gnome3 is way better from when I tried it out 4 years ago.
5. Vim has a steep learning curve but I am starting to understand the net benefits of it. It'll probably be a solid month before I get good with it.
6. Loosing Microsoft Office has been a little bit of a challenge but their suite is online so....meh. I do miss Visual Studio though, and am still looking for an adequate replacement for C++ and C# development.
Overall it's been a challenge but I think it's been a net gain. Now if only I could get the whole sys-admin team to use it. ;)12
The worst technology i had to deal with was probably a piece of hardware. It was a mini-pc combined with sensors and digital IOs and thus, it should have been able to do process control all by itself.
At that time, there was hardware that did that, but this one had an intel cpu, windows embedded and some powerful libraries pre-installed.
Sounds good, didn't work. The thing was so unstable and buggy and crashed on everything. The sensor part had lots of parameters and the right order was trial and error, documentation didn't match behavior, fixes promised but never delivered.
Lucky for us: it was just a demokit, no real project.
I still remember it with a smile. We got in contact to that company at a trade fair and they had most impressive booth. I also remember their companies image movie from their homepage with developers in dark labs with holographic monitors and the boss in his shiny bright office as he looked out of the window and quoted a famous german author.
Hilarious and sad. :-)2
Recipe for reverse engineering data structures / binary formats:
1℅ understanding the theory.
1℅ expections about what you will find.
45% trial and error.
Could say uni, or first job, or mentor...but I think what 'how I learned to program' boils down to is: trial and error
Trial and error.
Taking an existing code base and playing with it to see what does what. Eventually learning enough to create basic programs. Eventually I wanted to make more complicated things so started reading documentation.
It's always irked me that people can't RTFM simple things. But I've often just hacked my way through code, brute-forcing equations here and there until they work by trial and error. Nothing for an employer or anything, but nonetheless, I was not RTFMing. I was doing all the D and as little of the R as possible in R&D, just to save time. I'm trying to change that about myself. It's easier to implement systems when you properly understand them. No more hackery.
I suppose this rant was from me, about me.
Finally decided to get myself some remote server on DO, faffing around and setting things up, and suddenly I decide to look at my access logs, someone was trying to figure out how to connect to mysql, phpMyAdmin and what's not... Too bad for him I won't have any of those installed until I know how to properly secure all this :)
Heh... Welcome to the real world I guess?4
Today is October 31st, ‘Halloween’ according to ancient pagan tradition. I can’t help but wonder if those pagans of yore felt as I do now in their attempts to yoke unruly bands of spirits. I sit wearily at my desk in painful and tiresome reckoning with those new hellcats we call node dependencies. Many an hour I have toiled, maestro of a cacophonous orchestra akin to that tucked in later pages of Bulgakov’s magnum opus, pleading with the band to follow my wand. And to no avail. In the wee hours of the morn I can scarcely tell who is conducting who. My sleep laden eyes blink on each execution of yarn install, my fingers knowingly re-execute with an up-arrow enter when that instruction is returned with gnarled, gruesome errors. And I ask again: “who is conducting who?!“. Will this great devil of machinery eventually meet me with an error so fearsome that I myself lay asunder? It is a battle, make no mistake. It is the “trial of a thousand years”! And who shall come out victorious I know not, but rest shall not come until I either lay myself down into the jaws of dependency hell or emerge victorious.
Today is November 1st. Compiled on the first try, no additional changes FML2
After many days of trial and error,i finally found my preferred way of passing Django objects and variables to angularjs,now I can create killer apps with Django and angularjs.2
IIS curse you and your nuances!
I launch my local web application (which was working fine) and now get CORS errors and 404 not found. Wtf. I clean the solution rebuild, same thing. Then I restart my PC and try again. Same thing.
Then I use Firefox instead if chrome and it magically works. Wtf!
It's hard to fix broken things when they fix themeselves afyer trial and error2
1. For my employer to invest in QA. Honestly, even if I'm 101% confident about my code, if nobody tests it other than me, I would advise against prod-ing(Is that a word?) it.
2. For recruiters so stop expecting a Full stack dev to be perfect in both ends (especially with an entry level salary. Stop taking advantage of them!!). Just stop using the term full stack entirely, please.
3. For API docs of other companies to be deserving of the title 'Documentation'. I'm so tired of figuring out other API parameters via trial and error. Just make your docs as clear as you can please, so we don't have to bother each other with so much email.
That's all for now. Thanks dev Genie.3
Tmw your carefully crafted plan of some feature you thought would be a particually bit of tricky code turns, through a bit of stumbling and trial and error, into something even better than your well calculated plans -- however clever you thought you were -- you have to admit that the result exceeded your expectations and intelligence. Especially when it works!1
Today I discovered trial and error driven development for myself:
Me, reading spec..
Spec: „Do something with an CSR“ (not the exact wording :D)
So instead of just googling C# + CSR and copying the code examples,
I went like:
What means CSR -> Certificate (Something Something)
-> could be this namespace (Something with „Crypto...“ in its name)
-> could be this class (Something with „Certificate“ in its name)
-> take the easiest overload (string is always nice)
-> try filling in the parameters from the spec
-> start debugger and inspect properties
-> repeat if necessary
I don’t know if this is the correct pattern to proceed my project with...
But hey, today it worked and now I also know, what „distinguished“ means
My path into development started with my dad. He was a COBOL programmer and would bring his work home to debug by hand. He would explain his thinking and programming concepts as he went through his code.
I then got into Basic, and Visual Basic 6.0 (right before .NET). In high school CS I and CS II consisted of VB.NET and Java, but it also solidified some foundational concepts I was missing; binary, hex, flow charts, etc.
After that though, everything else was self exploration and trial and error. It all came together. I love my path, and it brought me here to devRant via the programming friends I have made along the way.
I started learning to programming when my dad introduced me to it, I then just started teaching myself and learning via trial and error. Started in C#, went to web (learnt HTML, CSS, JS) then started on SASS and CoffeeScript, after that went to C and C++, then started looking at Angular, and now I'm on Ruby.
And every project from these languages has at least 10 errors -.-3
I had a splash of inspiration. I would like to develop a method for analyzing unknown bitstreams of data. The method would involve determining the format of the data by trial and error machine learning algorithms. This would allow determining data types and byte formats and meanings of streams of data. Could be useful in data forensics. I would call the method: heuristic translation machine learning. I am currently developing code that does this. It will be fun to learn about reinforcement algorithms.5
I "programmed" (or better changed code) long before I even knew this is programming. I basically changed levels in gorillas and nibbles back then during my DOS time thru trial and error by looking and guessing what was written there in the BASIC files. I basically used goto alot 😂.
Later I copied code listings from computer magazines that never worked but took days to type down. My first real programming experience where I bought a much to expensive book and went through it front to back was Java 1.1 or 1.2 ( don't know exactly anymore but it was no later than 1.2) and I learned it because there was this guy that told me about it and I wanted to find out what he was talking about.
For all the iOS developers in here, Xcode 8.2.1 has a bug, when trying to sign an archive for store deployment, you will get an unexplained error saying "code signing fail", after for hours of frustration, tears and trial and error, I ended up signing it with xcode 7. I hope this helps2
I googled the topic I was interested in (a topic that I never worked in) for personal research purposes. I found the call for applications online, but I was 10 days late. I sent mine anyway, one month later I had the job.
I'd call it a mix of sheer luck and trial-and-error.
How can I avoid coding in trial/error when learning a new framework (recompiling and testing)? I’m learning Unity and find myself constantly recompiling just to test if a single line works. This adds up to a lot of wasted time - am I missing something or not doing something properly?2
unigine sim engine has the worst documentation i've ever seen. it was written in bad english, occasionally did not follow a word convention (i.e. functions doing analogous work used different keywords), most items were just reiterations of function names (made up example for clarification: getAngularVelocity(): gets angular velocity...). i had to use it for my first ever job, and had to learn in from scratch, mostly by trial and error. it's been months since i switched jobs, and they were rolling a version 2 when i left, i hope they improved on their docs.
I guess these days I work with Golang, gRPC, and Kubernetes. I guess that's a dev stack. Or turning into one at the very least. The only thing that annoys me about this stack, is how different deployments for kubernetes are different for CSPs. The fact that setting up a kubernetes/Golang dev environment is take a lot of time and effort. And gRPC can be a pain in the ass to work with as well. Since it's fairly new in large scale enterprise use, finding best practices can be pretty hard, and everything is "feet in the fire" and "trial by error" when dealing with gRPC.
And Golang channels can get very hairy and complicated really really fast. As well as the context package in Golang. And Golang drama with package managers. I wish they would just settle on GoDeps or vgo and call it a day.
And for the love of God, ADD FUCKING GENERICS! Go code can be needlessly long and wordy. The alternative "struct function members" can be pretty clunky at times.
Codeacademy, books, friends, w3schools(until I figured out the issues with it) and a whole lot of trial and error. Oh and SO helped when I was stuck as it does now.
Test your code. Take extra time to do self-review. It'll improve your code quality and position within your peers.
When you enter that "minor change-trial-error" phase. Go to sleep or take a long break. You're loosing time and adding more work to be reviewed and corrected later
I once did this project with Apache Tika, which also has a batch module to add concurrency (Tika by itself is not thread-safe).
However, there is maybe 2 pages of documentation which don't explain any of the classes etc, and no javadoc, so I had to figure everything out through trial and error. At the end it still threw an error but magically worked. Turns out it was not fast enough anyway.
Client purchases platform from large tech company. Needs to be able to add custom CSS and JS. Spend weeks combing through sites looking for documentation. Compile my own from my own trial and error, a half ass wiki, and forums.
Client's platform is years out of date.