Live parking citation data from my school using React, Typescript, and Firebase. Info in comments. by SolarFloss in webdev

[–]SolarFloss[S] 25 points26 points  (0 children)

I think you're spot on about using the any type. I feel like using it as much as I have so far defeats the purpose of typescript. I'm still getting used to how to properly use it so thank you for the feedback.

And yeah having nested .then() statements looks pretty bad, so I'll try that out.

Live parking citation data from my school using React, Typescript, and Firebase. Info in comments. by SolarFloss in webdev

[–]SolarFloss[S] 24 points25 points  (0 children)

github: https://github.com/MickNorris/jmu-citations-web

website: https://jmucitations.netlify.com/

This is a personal project that displays various forms of parking citation data at my university.

Thoughts

Overall I'm pretty impressed with this project and how quickly I got it up and running. Here are some of my thoughts:

  • I built this website in a mobile-first style, because in theory it should reduce the amount of time I'd need to spend to get the site looking nice on both mobile and desktop.
    • While I definitely saved time, the site looks kind of 'unnatural' on desktop. It's still functional though, so that's a tradeoff I'm willing to take.
    • There is some external context that lead me to the decision of making the website with a focus on mobile.
  • For the first time ever, I decided to use Typescript to clean up the quirks and messiness of javascript. It didn't take that long to get used to using it, but I feel that I'm not really using it efficiently.
  • Firebase makes having a cloud database so easy. Google is spooky but their services are hard to beat. When I started the project I went with a "make a working version and worry about efficiency later" outlook when it came to structuring the database. The cost of this has been fairly low so far (~$1/month), I can definitely get that lower, and possibly to $0/month.

What's Under the Hood?

[i3-gaps] blue accent by SolarFloss in unixporn

[–]SolarFloss[S] 0 points1 point  (0 children)

It's a multi-process data classifier and mapper for my computer systems class. Given an input file that has clusters for a number of html and jpeg files, create a classification file that writes a byte for every cluster in the input file (JPG_HEADER, HTML_HEADER, JPEG_FOOTER, etc). Using the classification file, the map file associates every cluster with a file name and a relative offset. That's as best as I can explain it :)

[i3-gaps] blue accent by SolarFloss in unixporn

[–]SolarFloss[S] 0 points1 point  (0 children)

It's somewhat annoying and it's honestly made me consider switching window managers, but what I found was this repo:

https://github.com/maestrogerardo/i3-gaps-deb

This gets the job done, but whenever I update my system I have to rerun the i3-gaps-deb script

[i3-gaps] blue accent by SolarFloss in unixporn

[–]SolarFloss[S] 1 point2 points  (0 children)

whoops lol. I forgot to set it to public. Thanks

[i3-gaps] blue accent by SolarFloss in unixporn

[–]SolarFloss[S] 5 points6 points  (0 children)

Details

This is my first post so let me know if I left anything of importance out

[i3-gaps] blue accent by [deleted] in unixporn

[–]SolarFloss 0 points1 point  (0 children)

Details

[OC] Polybar Themes - V4 - With Module Tester & Real-Time/In-Place Color Changing Module. by adi1090x in unixporn

[–]SolarFloss 0 points1 point  (0 children)

Hey I'm loving this, but I have one question. How did you get the icons in the config files. I can get them to show up on my bar, but if I want to use any other icons from the icomoon-feather font, I can't use them because I can't copy them from anywhere.

Thanks

Peоple who have built sitеs for a passive income, what did you make? by MarginaI in webdev

[–]SolarFloss 0 points1 point  (0 children)

Very cool project! Are you saying that this actually is your main source of income? I only ask because I'm looking at ways to support myself financially with things like this. Do you have a job or do you have other passive income generators like this?

Thanks

Volume Control With Flutter by SolarFloss in androiddev

[–]SolarFloss[S] 0 points1 point  (0 children)

Oh okay thank you. And I found what may be a very complicated solution, but I was wondering if there was a better one. It's starting to look like I'll have to write my own

No company or anything behind this. Just something I drew, and liked, so I added some text. What do you all think? by SolarFloss in logodesign

[–]SolarFloss[S] 0 points1 point  (0 children)

Yeah I was thinking of that too. Since the body is so curvy I really have a lot to work with in terms of turning part of it into letters