#CS50w

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2025-01-14

UNISA has been taking forever to get back to me about credit exemption. Kinda wanna sort it out so I can register. We might go in today and try sort it out in person.

I would really like to end the endless admin and just get back to studying. Really is a game of hurry up and wait.

In better news, I'm halfway through Problem set 7 of #CS50p. Means when I'm done, just week 8 and 9 left. Hopefully I don't grind to a halt at the final project like #CS50w

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-12-01

I am actually nearing the end of my #CS50w project and hoooooo boi do I need to bitch about something.

So html forms encode data in the application/x-www-form-urlencoded format, which Django just handles. But if you send a request using the JS Fetch API, then that's not encoded the same way, and you're usually sending JSON. Django does not just handle this.

I spent an embarrassing amount of time reading docs to get back to json.loads(request.body)

I feel like Django *should* handle this.

It's a me, Mauromauro@mograph.social
2024-11-12

And by the way, Iโ€™ve just received my final evaluation and certificate from Harvardโ€™s #CS50w.

Pretty proud about it!

#webdev #compsci

My certificate from Harvardโ€™s course CS50w, Web programming with Python and JavaScript.
It's a me, Mauromauro@mograph.social
2024-11-03

Just submitted my final project for #CS50w and cancelled my Adobe subscription after something like 10 years.

What a day.

It's a me, Mauromauro@mograph.social
2024-10-31

On another note, I just finished my #CS50w capstone project right now! I can't believe this is happening...

#webdev

It's a me, Mauromauro@mograph.social
2024-10-24

And here I am. Finally, implementing a custom state management system in my vanilla JS app...
I saw it coming!

I honestly really need to finish this project and move on, as it's getting a bit ridiculous.

Let's say the exercise was useful to have a solid understanding on what front end frameworks do in the background, and why they exist in the first place, as in what problems are trying to solve.

Time to move on to these frameworks!!!

#webdev #cs50w

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-10-18

This week I'm back on the horse. I had good momentum on my #CS50w final project for a week or two and then four fucking months passed without touching it. Basically starting over, having forgotten almost entirely how to django, with a much smaller scope project. Got two good days of work under the belt, we have user sign up and log in/log out. Gotten the mindset away from pulling teeth and now we're merely pushing a very heavy boulder up the mountain. Will report back if I have any news.

It's a me, Mauromauro@mograph.social
2024-07-11

I've been really struggling with starting to build my #CS50w capstone project for a while now.

I know I'm overthinking it, but I'd like to build something with at least a bit of value, at least to myself, not another todo application.

Well, my biggest contenders in the end (just like a todo application) are not very original, and that's blocking me.

I'd like something in the spirit of the #indieWeb and the #Fediverse and so I've been thinkin about yet another #RSS aggregator.

#webDev

2024-07-03

[ live | python | django | pt3 ] Fazendo o curso CS50W ~ โ˜€๐Ÿตโ™พ ~

bolha.tube/videos/watch/7d437b

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-06-22

#CS50w I think that's it. I think that's it. Just ran through final check, caught some issues, fixed them... YESS BOYY I THINK THAT'S PROJECT 4 DONE

Screengrab of social network app
(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-06-20

#CS50w pagination is done, just final check and video upload! Most of the work I did late last night and I am paying for it today. Very unproductive today. Think I'll take the day off to not suffer so much. Start fresh tomorrow.

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-06-19

#CS50w the end is almost in sight. Last thing that needs doing is pageination. Thing that stumped me today was mostly how I set up my follow model. Since a Follow is a separate model that contains the following_user and the followed_user, reverse that, then populating a list of users from the follows is actually quite a lot to mentally track. Anyway, it works, just have to limit all this to ten posts per page.

2024-06-15

[ live | python | django | pt2 ] Fazendo o curso CS50W ~ โ˜€๐Ÿตโ™พ ~

bolha.tube/videos/watch/ffda49

2024-06-15

[ live | python | django | pt1 ] Fazendo o curso CS50W ~ โ˜€๐Ÿตโ™พ ~

bolha.tube/videos/watch/38f300

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-06-12

#CS50w I have been HARD AT WORK today.

Biggest thing was getting the asynch like to work. For the most part is easy, set up url, create a view, return some JSON, buuuuut then came the CSRF token. That stumped me for a while because with Email they copped out and just CSRF excempted it. Didn't think we could do that but that was a whole adventure. Eventually had to include a token on the page, use JS to grab the token then in the fetch request change the header and mode. But it worked!

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-06-08

#CS50w Working in Project 4 Network. Good start so far but maaaan my Django is rusty. Forgot to pass models.Model to the function when defining my model, forgot to pass self to my __str__ function, forgot to use post.save() in my view and for the life of me couldn't get to HttpResponseRedirect(reverse("index"))

Let that be a lesson. Don't procrastinate so much in between projects. Use it or lose it.

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-05-27

I haaaate doing the demonstration videos for CS50 projects. Just the worst.

And now because of the disparity between my monitor resolution and the output resolution of the video that I didn't notice while recording through OBS its ever so slightly cut off on the right and bottom.

FFS I am not redoing all that, this one will just have to have a slightly cut off video. Ugh. But just this admin and I can move on to the second last lecture of #CS50w

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-05-23

#CS50w HOT FUCKING DOG

I knocked this one out so quickly! Almost up to spec! Must be something in the air today because I am ON FIRE.

Lots of it is a little clumsy, the thing I'm struggling the most with now is fixing prefilling a response with 'baz@example.com wrote ' and it just looks jank as all hell. Think I'll leave that for tomorrow.

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-05-23

#CS50w still busy with mail. Sat for like a good five minutes trying to remember display:flex; justify-content:space-between; but then I got that working. I also forgot how JS's For In loop works, honestly should just memorize it as for(let i in array) because I tried it as for(let email in emails) and used it incorrectly. Silly me. I've been so used to using that way in Django Template Language. Ah well.

Anyway, I wish we could more in the style.css, hate doing inline CSS, very annoying.

(Matthew)=> ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฟ๐Ÿ‡ฆ๐ŸŽฎ๐Ÿ’ป๐Ÿ“–mdstevens0612@mas.to
2024-05-16

#CS50W sigh...

Honk honk, I'm going to put my little clown shoes on and get my clown keys to drive my clown car

Guess who started on their project, struggled to figure out what was wrong with their API call for 20 minutes only to find i set the url to '/email' instead of '/emails'

Me. I'm an absolute clown. I live in the circus.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst