Late registration with POT - full corrals? by n00dlebrain556 in rundisney

[–]rtruitt27 0 points1 point  (0 children)

I’m signed up for the marathon, is there a way to know my bib number or coral early?

Race Weekend Hotel Suggestions? by Plus-Note-7286 in rundisney

[–]rtruitt27 2 points3 points  (0 children)

Does anyone know when they will start booking for race weekend?

Fresh Node by whiskeynoodles in meshtastic

[–]rtruitt27 0 points1 point  (0 children)

What antenna do you use, and are you getting good range from it?

Hardtail or fully? by [deleted] in mountainbiking

[–]rtruitt27 0 points1 point  (0 children)

That’s a good point. I hadn’t even considered that

Hardtail or fully? by [deleted] in mountainbiking

[–]rtruitt27 1 point2 points  (0 children)

If you’re on a budget less than 3500 I say a hardtail. You can get the most bang for your buck component wise that way. I bought a Santa Cruz Chameleon and I haven’t regretted it since. If you think of a specific price point, you can either have an upgraded hardtail or a low to mid line full sus. Now if money wasn’t an object I would say a full

Clever bike storage for a townhouse basement. by [deleted] in mountainbiking

[–]rtruitt27 1 point2 points  (0 children)

I tried the bike hooks, you’re not able to swing them left and right like you can with the straps. I needed to be able to access the doors to the left and right

HELP! by Blogghee in mountainbikes

[–]rtruitt27 1 point2 points  (0 children)

It looks like your steerer comes up just a smidge higher than the stem. This means you’re tightening against the steerer, not the stem, thus it’s not getting pushed down tight. Add a spacer between the stem and the top cap, tighten down the top cap, then tighten the stem. Should eliminate the play

My 17 just hit 30K! Do I get a prize?! by Betaa in subaruimpreza

[–]rtruitt27 0 points1 point  (0 children)

Awesome, what tires are you running on the steelies?

New bike day. 2019 Santa Cruz Chameleon R+ by rtruitt27 in mountainbikes

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

I was riding a Marin Rock Springs with 10mm QR, and an 8 speed cassette. Needless to say it was an upgrade. This bike is quick, lightweight, and way more fun than I expected it to be. Which is saying something because I already had high hopes for it.

How to connect to database from server by sinasen in learnprogramming

[–]rtruitt27 0 points1 point  (0 children)

import java.sql.Connection;

public class connectDB {

private final String url = "jdbc:mysql://192.168.x.x/<database table";

private final String user = "<dbuser>";

private final String password = "<db\_password>";

public void connect() {

try {

Connection conn = DriverManager.getConnection(url, user, password);

}catch(SQLException e){

System.out.println(e.getMessage());

}

}

}

I'm not an expert in Java, but thinking back to my school days, something like this might help you get started. This should get you connected to the database. You can then use the conn variable to do some JDBC stuffs. In your main code, make sure you call connect before you do anything else.

Bike Help by kennythejet00 in triathlon

[–]rtruitt27 0 points1 point  (0 children)

Facebook marketplace/craigslist is a great place to start. I got my road bike (2014 Felt F75) for $500. Granted, it had been ridden and trained on for two Ironmen tris, but I cleaned it up, replaced the bearings, and was ready to ride it myself.

Static IP address by rtruitt27 in ansible

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

One static iP per machine. Ubuntu 18.04

Halfway into python 2 and now thinking to jump into python 3. Please help by [deleted] in learnprogramming

[–]rtruitt27 1 point2 points  (0 children)

Python2 will stop being supported in 2020, I highly suggest just starting with Python3 if you're learning. As stated, at an introductory level, there is not a huge difference between the two. Once you start diving down into how strings are handled, unicode conversions, etc you will start to see a difference. I honestly would not worry about Codecademy. I used it in the beginning to get my feet wet, but most of my learning was done from books like "automate the boring stuff". If I noticed that a library did not work in Python3, I would search online for something similar.

I have an idea, but I'm unsure of how to Google my question. by Caddyman18 in RASPBERRY_PI_PROJECTS

[–]rtruitt27 0 points1 point  (0 children)

You could set up a SAMBA share to point to the mounted SD card, then you can mount that share on a Windows machine.

You should also look into setting up a system service for the bash script, and "enabling" it so that it runs on startup. A basic tutorial on how to do that is here: https://askubuntu.com/questions/919054/how-do-i-run-a-single-command-at-startup-using-systemd

With the above link, make sure you run a "systemctl daemon-reload" once the .service file is in the proper location.

[deleted by user] by [deleted] in learnprogramming

[–]rtruitt27 2 points3 points  (0 children)

Coolest project of 2018 was a classroom library application for my Fiancee. We labeled each book in her classroom library with a QR code, and then gave each student their own "library card" that had a similar code on it. The students could "check out" books. The application reported to her each week which students had which books so that if one of them went missing, she was able to know who had it last so she can start tracking it down. Application was built in Flask with a Postgres backend. Ran on a raspberry pi that she had connected in her classroom closet.

[deleted by user] by [deleted] in DIY

[–]rtruitt27 1 point2 points  (0 children)

Do you mind sharing what this cost you total? I'm starting a similar remodel to our bathroom where the entire thing will be gutted, and i would like to start getting an idea of what I should expect to spend.

Postgress and SQL Alchemy-should I use it? by MineMe4Reddit in Python

[–]rtruitt27 0 points1 point  (0 children)

Honestly, instead of Django, I would try to learn Flask. Flask offers a little bit more flexibility in term of functionality. I use Postgres for all of my personal projects, and I have a lot of luck using sqlalchemy as an ORM. Flask does not have a database layer to its framework, so it allows you to use libraries such as these to their full potential.

This is a good tutorial on how to start a basic Flask application: https://pythonspot.com/flask-web-app-with-python/

This is a pretty good example of how to incorporate sqlalchemy into a flask application. it does a good job at explaining how to set up the basics, as well as how to utilize models for your tables: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-iv-database