Back
Similar todos
Make an iced cocoa (20g of pure cocoa, so as much caffeine as a cup of tea) by myself for the first time in my life; spent a ridiculous amount of time trying to figure out how to get Go to store my user password hashed; ran into an issue using the 'air' live reloader where it wasn't working after I redid the project structure, and it didn't have useful error messages or documentation to help me figure out what setting I needed to set to get it to work again; got past the air issue, it turns out I had to specify the directories to watch and without any leading "./"; created a user via the Vuetify app and confirmed that the password is hashed on the backend; created a Stack Overflow Q&A explaining how I fixed the issue for future newbies; committed my code. Set a goal for tomorrow: implement the authenticationHandler.
See similar todos

No replies yet

Started work on a Go+Vuetify+Digital Ocean template, copied over the parts of my README for my Flask+Vuetify+Digital Ocean template that should also apply here. Feeling good about making forward progress towards making Go apps instead of staying stuck in tutorial hell.
See similar todos

No replies yet

Only got ~5hrs of sleep after two double espressos yesterday, so I took a Lycopene capsule...signed up for a LinkedIn Premium free trial so I could send a message to a Kasikorn backend engineer to ask why users can't export their transaction history in CSV format...removed the 'Blog' link on nw.com b/c I don't have the WordPress blog up and I never really used the blog that much, added a link to my email address instead so people can contact me...started going through the Kasikorn API "Slip Verification" challenges...got the first one done...the second one requires I have SSL set up on my domain and not through Cloudflare...discovered while doing that that my whatdo site is returning a 404 if I try to sign in...got GoLand's db tool connecting to the digital ocean postgres db b/c I noticed that wasn't set up yet...install postgres on my macbook b/c something got messed up and somehow it seemed to not be installed...got all the db problems fixed, don't know how that happened...now having a CORS issue when running locally, all this stuff was working, IDK how it all broke...ok I remember now, I YOLO'd the backend code and disabled the existing router to get the Line echo bot working...sent an email to another local YouTuber to ask if I can be in a video with him...installed cursor and tried using it for a simple refactor task to get a sense of how it works...figured out a way (thanks to ChatGPT) to get the Line callback handler working while also not breaking the existing routes...went for a massage to give my brain cells some time to recover...used cursor some more and I get the hype, this is really cool, I'm surprised Jetbrains hasn't copied it yet...after a long while I finally got my whatdo backend working properly again (auth + user middleware working), it was a good learning experience with cursor and Go...got a GitHub Action set up so my DO dokku VPS will update when I push to main, so now both frontend and backend will update automatically when I push to GitHub...ending the day on this banger set: www.youtube.com/watch?v=d2340… Tomorrow: I need to bill hours to my client to make $, I want to try to finish the KBank API challenge to see if I can do the Slip Verification, I want to email another YouTuber, if I have any time left over I want to keep going with that Line/ChatGPT bot and try to make a frontend interface for it.
See similar todos

No replies yet

Started going through the "Let's Go" ebook, started my first Go web app.
See similar todos

No replies yet

Spent an hour reading some of [the backend code][1] for a Go / Vue chat app I saw posted to Reddit, as a way of trying to build familiarity with how my Go / Vue projects should be structured / work. [1]: github.com/wizzldev/backend/
See similar todos
Worked on a first draft of a 1-page "how to hire and manage remote workers" PDF that I want to start sending along with my resume and possibly also use as a marketing thing for my Wailes & Company remote work management consultancy idea...drank a double espresso ~4-5hrs before my expected bedtime, I hope I don't regret this...emailed another YouTuber but w/ a slightly different email approach...continuing to learn how to use Cursor, resolved a deploy.yml error by signing into GitHub after some Googling to understand what was going on...spent a while breaking up my backend code into sub-app directories as a way of setting the stage to work on multiple app ideas at the same time, and also to continue to build familiarity with Go since I'm still very new to it...spending the time after the caffeine high has kind of worn off (3hrs post-double-espresso) just thinking about what I should work on next...decide on some next small steps for tomorrow: 1) be able to query the Algolia HN API and get back the list of HN jobs, 2) set up a new db schema for the jobs app, 3) figure out how to best use ChatGPT to analyze the different job posts (individual queries vs. some kind of batch request).
See similar todos

No replies yet

Spent time learning about using Go for a web app back-end to see if it would be better than using Python.
See similar todos

No replies yet

Got back into working on my HN-jobs-auto-applier: Built the UI to allow a user to click a button to connect their gmail account to my app and have it save access / refresh tokens to the backend...fixed misc things that broke for unknown reasons...got the backend deploying to digital ocean without erroring, not sure why it stopped working...currently trying to figure out why, when I ssh into my server, it seems to show me at an older commit, when my github action seems to be working without errors and having me at the newest commit...figured out that I was running the wrong command to check the current commit, IDK why an older commit was still present in some of the files...FINALLY got prod working where I can sign into gmail, upload my resume, and send an email to myself. FUCK that was so much harder than it should've been...added a netlify.toml redirect so that I can go to whatdo.com/jobs and have it load the SPA instead of 404ing...fixed a bug where a refresh token wasn't being saved to the db in prod...
See similar todos

No replies yet

Kept going on the code to send Gmail emails from my Go backend, this is a good way to get comfortable with Go...successfully ran the `quickstart.go` file example from developers.google.com/gmail/a… more time reading advice on Reddit about how to apply for jobs.
See similar todos

No replies yet

bought IntelliJ Ultimate All Products Pack annual subscription b/c I want to use GoLand and paying for that and PyCharm is close to the same price as getting all the rest of the IDEs/tools as well; installed GoLand and WebStorm (for Vue dev work); learned I seem to need to open my 'backend' subdirectory as a root project in GoLand to avoid 'unknown dependency' errors; switch from using the gorilla/mux router to chi b/c apparently it's more actively developed(?) and more popular(?); look into using the Huma REST API framework; got the Huma "Hello World" example working in my code
See similar todos

No replies yet

Felt great upon waking up after taking 300mcg melatonin last night before bed; today getting login working: figured out how to translate the email/password validators used in Let's Go Further to Huma's way of doing input validation so the API will return an error if the email/password don't pass basic sanity checks; figured out how to return a 404 error with Huma if the user isn't found in the database; got the code working that checks the supplied password against the hashed password in the db and returns a 401 error if they don't match; pushed pass my normal 2-hour daily work limit to get the endpoint working (returning a token) so I can move on to something else because this sucks. Next up (tomorrow): get the front-end to receive/save the auth token and send it when signing in / etc. #govuetifytemplate
See similar todos

No replies yet

🍟 Side Project Weekend: I'm back!! But spent all my side project weekend hours trying to get my Nuxt app working on new MBP again. Node version issues, installing NVM, creating new super user, got both frontend and backend apps running at least, then realising no local data, installing postgresql, then recalling that i used sqlite for local db, now trying to import old data into new laptop.. 😤💢 #lifelog
See similar todos

No replies yet

Continuing to try to get Dokku working with a monorepo; I think I got past my last problem of how to deploy both apps by running on the server `dokku builder:set backend-app build-dir backend` (and similar for the frontend); now I'm seeing a new error when I try to deploy the frontend app: `Two different lockfiles found: package-lock.json and yarn.lock`; I seemed to fix it by deleting the yarn.lock. New error: "Missing script: start"; fixed that by adding a 'start' entry to my package.json. New error: "Cannot find module '@vitejs/plugin-vue'"; maybe because it's listed as a devDependency? I found this SO post where the guy said he ended up just putting his frontend on Netlify, so maybe I'll try that instead: stackoverflow.com/a/62455021/… ChatGPT is saying the way to do it is to deploy my API at api.mydomain.com and then direct traffic at other subdomains to Netlify to handle frontend requests. So I'll try that tomorrow.
See similar todos

No replies yet

Successfully changed the Gmail quickstart.go example to send an email instead of just print the user's labels...emailed WorkTime support my two local WorkTime directories so they can look into why I'm not seeing any data in the web UI...order more post-its and bic pens...added a button that, when pressed, sends an email with Gmail...definitely noticing myself becoming way more productive now that the sun has set and it's gotten significantly cooler outside...after literally HOURS of fighting with Go (and Vue to a lesser extent) with Cursor's sometimes-unhelpful suggestions, I FINALLY got PDF uploading working...next up is to send the email with that resume...
See similar todos

No replies yet

Only got ~6hrs of sleep, so try taking 120mg of lycopene...emailed back the WorkTime rep b/c their software isn't tracking any activity, it's crazy for it to be so broken in such a basic way...ask on Upwork forums if identity verification ever needs to happen again...created a Jira board for managing studying system design...started a pastebin system for rehearsing basic system design patterns daily b/c that's been working well for studying DSAs...feeling anxiety today, presumably from all the caffeine yesterday, so I'm going to take some Caffeine+ capsules to see if the extra vitamins in it makes the anxiety go away...run the Algolia HN API request that I found in the hnjobs repo in Postman as a first step towards grabbing those jobs myself...spent 30 minutes feeling anxious about what the next step should be, thinking I should set up the backend pulling jobs, before changing my mind and deciding I want to be able to use a frontend UI to connect my email address and then press a button to have the backend send an Gmail email for me...
See similar todos

No replies yet