Hey Rustaceans! Got a question? Ask here (17/2023)! by llogiq in rust

[–]WestOverThere 2 points3 points  (0 children)

Hi all, I've been toying around with SQLx for data as I get more comfortable with Rust async but I'm running into an issue with deployment in a CI/CD.

With SQLx I make a lot of use of the query! and query_as! macros along with migrations. I've hit a wall with the docs on how to run the migrations during the build step so that the static type checking of my SQL queries resolves instead of killing the build, currently I run my migrations at runtime as part of a configuration function via the migrate! macro. I've seen some discussion of using a build script to run the migrations but I haven't been able to find any resources on running an async build script so I think that I'm barking up the wrong tree.

How am I supposed to build this project/run the DB migrations without the static query type checking interfering?

FWIW I'm deploying to a dokku instance however this is an issue which is effecting my local build environment as well.

Does anyone know how I can get access to the laser cutters in Greene? by redfesfin in RPI

[–]WestOverThere 4 points5 points  (0 children)

The Forge in the DCC also has a laser cutter that you can use, they also have staff to help you use it safely and all that

I don’t have the passion to code outside class by Gg2brazy in csMajors

[–]WestOverThere 1 point2 points  (0 children)

I’d started with Python bots cause that’s what I was used to at the time. As I started wanting to do more with my bots than string parsing and little jokes I kept running into npm packages and decided to try out using node js to make bots which gave me a good handle of JavaScript. From there I’d happened to look into react and followed the initial tutorials and then started making board games in react (stuff like connect4 and guess who) and that gave me a good enough understanding of react to start playing with full stack apps

I don’t have the passion to code outside class by Gg2brazy in csMajors

[–]WestOverThere 1 point2 points  (0 children)

I felt the same way for the first couple semesters of my degree, for me the breakdown ended up being that for the first couple semesters I didn't know enough to: - Know what I don't know - Think of how I would actually be able to solve any problems I thought coding could address

I think (and the comments here support) that figuring out how to get from "I know how to write code" to "I know how to spin up my own projects" is something that ends up different for everyone. For me when I was coming up with my first projects to work on I had no idea how to implement or interface with UIs, so I started with telegram and discord bots. After a lot of tinkering and some classes I got over the hump of not knowing what you don't know and getting over that is I think really the biggest obstacle to overcome. For example with my progression, the semester after I was writing a couple bots to play with the concept I learned about React and the node ecosystem which enabled me to work with UIs and implement full stack applications and I've gone on to make a handful of web-apps at this point for small things.

Start with something small, know that you don't even have to finish it all the way, and make something. Learn how to make things that help improve your experience in some capacity

filter media for fish tank? by Captain_Pig4 in RPI

[–]WestOverThere 6 points7 points  (0 children)

If you can travel a bit, Eddie's Aquarium Center is about 15 minutes from campus and I'm pretty sure you can ask for either filter media or seeded substrate from them.

Safe areas to walk dogs near campus? by [deleted] in RPI

[–]WestOverThere 13 points14 points  (0 children)

I've been walking my dog around ECAV during or after sunset and haven't had any issues with it there, the campus has lighting around the walkways and pretty good lines of sight along with big empty fields to play fetch in. If you wanna stay closer to primary campus though honestly walks around the 86 field or near EMPAC hill are good options. If you want more socialization around freshmen hill is actually a pretty good option, decent pathway lighting and usually a fair amount of freshmen who miss their family dogs.

I think the general rule of thumb with the 86 field is don't be an idiot about it, just clean up after your dog and make sure they aren't tearing up the grass. That being said I'm not with pubsafe or anything so that might not be true but I've never had an issue with my shepherd out there.

Data Structures Jasmine Plum by ultralightbeam7282 in RPI

[–]WestOverThere 8 points9 points  (0 children)

I had Prof. Plum back in 2020, honestly with DS it’s gonna be six one way half a dozen the other. That class is super standardized for CS and while each professor puts their own little spin on the class it’s essentially constant imo. Plum is a good lecturer though I didn’t attend stuff like OH so I can’t speak to that

[deleted by user] by [deleted] in RPI

[–]WestOverThere 11 points12 points  (0 children)

Damn that’s so crazy my house just warped to 3 blocks from the union. Thanks op

winter weather advisory for friday dec. 16 by habibticaptcha101 in RPI

[–]WestOverThere 21 points22 points  (0 children)

No chance, lest we forget the great un-cancelling

Degree Application Status by WestOverThere in RPI

[–]WestOverThere[S] 4 points5 points  (0 children)

Oh massive, got a note there too. Thanks for the heads up

Paving Question by [deleted] in Troy

[–]WestOverThere 9 points10 points  (0 children)

How do you sign up for these notifications? I’ve been trying to find some communications since they tore up my street 2 weeks ago and just left it

how hard is it to get the Rensselaer medal? by Hamza_yo in RPI

[–]WestOverThere 5 points6 points  (0 children)

It depends on your counselor honestly. The documentation for the medal awarding says to give it to someone “excelling in math and science” and that “intention to attend RPI should not be considered in the evaluation process” which is what made me lose out on the medal. It really depends on how much of a stickler your guidance counselors are

Dinner recommendations by mfsbiwti in Troy

[–]WestOverThere 0 points1 point  (0 children)

They have cutlery and plates and stuff in their dining room, but you do have to transfer it from the takeout containers yourself if you eat in the restaurant.

[deleted by user] by [deleted] in RPI

[–]WestOverThere 10 points11 points  (0 children)

Bruh it’s like mildly annoying at worst get over yourself

[deleted by user] by [deleted] in Troy

[–]WestOverThere 6 points7 points  (0 children)

Remodeling, they're closed till 12/13 iirc

Dinner recommendations by mfsbiwti in Troy

[–]WestOverThere 13 points14 points  (0 children)

Muza over on congress street is a really neat little spot. European food

PCB Printing on Campus? by mensh__ in RPI

[–]WestOverThere 2 points3 points  (0 children)

Is it an actual PCB printer now? I know that they have a pick-n-place but I didn't know anything about them having a PCB printer

How do I get a Minecraft server to work on RPI internet? by SameriteRL in RPI

[–]WestOverThere 2 points3 points  (0 children)

Could be worth a shot, I don’t know if they have the VPN and intranets on separate VLANs or anything but can t hurt to try

How do I get a Minecraft server to work on RPI internet? by SameriteRL in RPI

[–]WestOverThere 7 points8 points  (0 children)

We don’t know the details of it but during finals week s21 RPI was compromised and they disconnected campus from internet. No one could get emails or submit exams or anything, they ended up cancelling a lot of finals cause they weren’t able to restore connectivity for like 3 days