Lurker News
I'm in a weird place. I used to work as a developer but never thought I was that great. Most of my jobs were small features, fixing bugs, etc. Honestly I was quite lazy and coasted somehow. I’m trying to change all of that now.

I feel like I'm behind 'bootcamp grads' because they can actually push deploy real code.
I have a bunch of hobby project ideas, for example one tries to use the Spotify API and the MapBox API, but every time I start I get overwhelmed with what stack I should use, and how to actually get a ‘real’ application out. It’s hard to explain. I have a lot of anxiety and analysis paralysis about this.
I’m hoping for some great resources to actually build something and learn at the same time, so I can get my confidence up and actually get some MVPs going so I can ‘learn by doing’.
I feel like every tutorial I look at either:
1. Starts out great, explaining stuff but then becomes outdated/frustrating by the end (ex: https://www.smashingmagazine.com/2019/03/spotify-app-vue-nuxt-javascript/)
2. Is WAY too basic. I don’t want to learn basic syntax over and over.
3. Keeps making me switch tech stacks. I just want to use Python/Flask or learn JS/Node. I want to use VUE just because it’s new and it’s docs seem good. I don't even know what's out there anymore or what's good about it. I just want some consistency. Everyone says the stack doesn't matter too much anyway. Just want it to be fun...
RealPython and FullStackPython seem like they have good tutorials so far but what I’ve been googling so far (Spotify Vue Tutorial Project Setup) has not come up with stuff that clicks with me.
Sorry for the ramble… I just want to work without feeling bored or overwhelmed. Any suggestions? Thanks ~

Comments (141) 97 threads

Earlier comments
werber#
I wouldn’t try to Learn nuxt before Vue. Frontendmasters has a great variety of tutorials for Different js skill levels

But that aside, I would probably try to work through eloquentjs, the projects ramp up very quickly and are a great foundation

LegitGandalf1 reply#
I recommend running a serverless stack so you can avoid getting hung up on infrastructure shenanigans. It's super cheap too. React SPA via CreateReactApp using cloudfront+s3 to host the HTML+css+js and API gateway ->lambda backend -> w/dynamodb to store your data and you can get something cool and useable going. In that stack you can mix and match other UI tiers, swapping vue, angular or polymer in for react.

I recently completed a proof of concept with both polymer and react on the above stacks, probably going to do angular next. There were some annoying things in the area of error reporting being unclear from AWS' stack, but once I figured out that CORs warnings from the UI tiers accessing the API gateway usually mean a self inflicted typo in my url it was pretty smooth sailing.

stoicShell2 replies#
A few questions, as I don't know AWS much beyond basic VMs.

- Is all this easy to do following their docs, are we talking 1 h setup or 1 day?
- Cost: how much are we talking per week/month? (assuming no traffic but yours)

brantonb#
For the first year, you get one million requests per month for free. After that, it’s $0.20 per million requests. There’s also a component based on time & memory usage, but it appears to be small, too.

https://aws.amazon.com/lambda/pricing/

LegitGandalf1 reply#
The setup was pretty straightforward with tutorials galore and it's rediculous cheap, the most expensive part is the route53 stuff as it costs a buck a month or something like that to route a domain. Well, I bought a few domains too so those are like 15 bucks a year (I got them from a random registrar, not aws).

Don't get me wrong though, it won't be a path of roses, aws error messages sometimes make no sense whatsoever and require some googling to figure out, typos are NOT your friend!
Luckily Google usually led me to someone trying to set something up similar and I could logic it out from there. My #1 thing that I wish someone had told me was that if you make a Ajax call to your web API and the browser spits out a CORS error, check, triple check the url and what kind of call you are making (POST, GET, etc) because at least on my setup mistakes in those actually shows up as a CORS error instead of your typical 404 error.
I also bit the bullet and figured out how to use one of the serverless sites to deploy the AWS API+lambda+dynamodb one one fell swoop using a .yml file. But first I did it all by hand via the AWS gui so I could get some idea of how it worked. That .yml file is a whole other rabbit hole as the error messages are pretty obtuse at times.
Edit: One thing to watch for on cost is the dynamodb, by default they reserve 25 total transactions per second on the free tier. If you try to increase the performance by reserving much a whole lot more, like 1000 tps per table/index, that will get pricey right quick. So either leave it at 25 and recognize that if you add an index things might get throttled while it builds the index, or do what I did, which is I went ahead and switched it to the pay as you go model since $0.20 per million transactions is plenty cheap and I'm not even flirting with that 20 cents on my proof of concepts that span 5 different web domains.

stoicShell#
Wow, that is everything I asked for and more; thanks a lot for taking the time and effort to summarize all this. Now I feel like I can get started with this tomorrow.

Couple remarks:
> CORS
Oh, that may save me lots of time... Seems related to http headers at first Googlance? These bit me in the past (in middleware and backend apps) and I still don't have a solid grasp of when I should use which.
> dynamodb
I'll probably do the same as you then.
I've got hobbyist hardware at home (behind 1G fiber) so I usually use that as a lab — I still have to make a 'serverless' platform though — so anything too expensive I can balance back 'on-prem'.
I need to learn AWS anyway (who doesn't, I figure, if you intend to CI/CD as small/one-man team). Glad I can go the serverless path to get my feet wet!
Thanks again.

ngz00#
Anyone have any good recommendations on deployment platforms that are cost effective and don't compromise on technology? Think Heroku, but with support for HTTP/2 and internal mesh networking.
ChrisMarshallNY1 reply#
I can't exactly tell where you're at, as far as the need for work.

From what I can see, it looks like you are able to keep the lights on, and you don't need the work.
If so, this is where I'm at. It's both good and bad.
I may be coming from a very different place, so YMMV.
I worked as a "ship" programmer and manager for over thirty years. I've been writing shrink-wrapped software (actual deliverable) for my entire career. It's taught me a great deal.
The last decade or so, my management responsibilities meant that I couldn't code on the job, so I created a number of open-source projects. I didn't have a "We own the ideas that you come up with in the shower" clause at work, so I was free to do this.
They have been fairly successful, in a rather limited scope. Since all the work was initially done with a "bus factor" of 1, the projects are not massive; but they are very, very important to a certain demographic. They needed to be done at a professional level; not at a "hobby" level.
I am now at a place where I never need to work again, if I don't want, but I want to work.
During the week, I get up every morning at 5AM, do my exercise, then roll up my sleeves, and start coding. Weekends, I let myself sleep in until 6:30AM. I've been doing this for the last couple of years. It is now Christmas morning. I am taking my time doing my exercise, and will get back to coding the the Bluetooth OBD driver I'm making in an hour or so.
Yeah, I'm obsessive.
I write every line of code as shipping code; even if I never plan to ship. My test harnesses are fully-qualified apps that could be released to the app store, with localization and full-fat documentation.
Will I work again? Maybe. I certainly have skills and experience that could make folks with established corporations a lot of money, but I've found they are reluctant to hire folks my age; regardless of what I'm capable of doing. I've set up a consulting corporation, and we'll see where that goes. If nothing else, it gives me a structure to buy the toys I want.
No matter. I work as if I am writing shipping code. The satisfaction of finishing a deliverable-level project can't be replaced. I do everything as open-source. My portfolio is gigantic, and is not consistent of dozens of forked projects. Just about every line of code in it was my own. My GitHub ID is solid green. I have over a decade of commit history in dozens of repos.
I'd suggest that you consider establishing a portfolio. Write code that is meant to be shared and re-used. Write developer utilities, drivers and tools. Test the code well. Document it well. Craft it like you are a master goldsmith, creating royal treasuries. Establish a personal/professional brand. Decide on what that brand means, and make all your work reinforce that.
The world needs high-quality software. Write as a vocation; not a hobby, and whether or not anyone else values or pays for your work. If nothing else, it will be useful as an example to others.
Maybe find an NPO/NGO that doesn't have a pot to piss in, but a cause you can support. Write pro-level code for them that they could never afford on their own. That's what I did. I can definitely say that the code I've written has saved lives, and restored hope.
It also feels great to write beautiful code. Every project I do is completely shippable, and highly-polished, with strong branding, rich UX and a great deal of documentation. I'm a reasonably good artist. I was trained as one, many moons ago.
For me, doing the work is its own reward. I haven't been paid to write code in over twenty years. I don't care. I love coding. I've been writing open-source stuff for most of those decades. When they stopped paying me to write code, I didn't miss a beat, and kept writing.
I also like to write articles on my personal sites and Medium. I don't particularly care if anyone reads them or not. They give me practice doing another thing that I like to do: talk about myself ;).
Just my $0.02.
Have a great holiday season!

HAL9OOO1 reply#
Thanks man! I've saved up some money and It's always seemed in my path to stop working at a big company and try to do my own thing... just I'm scared and also I can see when the money is going to run out and the thought of going back to a 'normal life' scares me. I know I have it in me but I just have to find something in myself that I lost along the way. Hard to explain.
ChrisMarshallNY#
No need to explain. I understand completely.

I wish you luck, and your extracurricular work can definitely be a stepping stone towards your dream.
The only suggestion I would make, is to keep your eye on the ball. Always make sure the product and the goal get first priority. If you make enough to buy a Tesla, maybe defer the car, and get some test kit, instead.

Load more comments