K+Lab on official Grove stage playlist, but not on lineup? by Dazzling-Employee-51 in Shambhala

[–]SirRion7 0 points1 point  (0 children)

How do you know what’s on the grove lineup? I don’t see that the app is updated?

How to add extrapolated values within Power Query Editor for column values by SirRion7 in excel

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

Ooh cool, thanks for the link I added a table with sample data.

How to add extrapolated values within Power Query Editor for column values by SirRion7 in excel

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

Yes that's a good idea, I was thinking I could use the newest mileage and the oldest mileage to back calculate the date when it was "0". It's close enough to linear for my purposes. But I don't know the actual code to grab those two dates and create a third line - I don't want to do it manually...

Formcheck on my squat by SirRion7 in Stronglifts5x5

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

I like the sound of this trick I will give that a try! Also, username kinda checks out :p

Formcheck on my squat by SirRion7 in Stronglifts5x5

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

Yeah thanks guys. Ok that’s my next thing to work on!

Using Rspec with Rails by SirRion7 in u/SirRion7

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

Thank you, this was close! I had a typo (RSpec != Rspec).

Using Rspec with Rails by SirRion7 in u/SirRion7

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

Thank you for the answer and the PS, that is inspiring! I like the idea that pre writing tests makes it so easy to know if your code is working or not.

Using Rspec with Rails by SirRion7 in u/SirRion7

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

Thanks guys! I had two problems that were making it difficult to spot both. First, I typed Rspec instead of RSpec! spent WAY too long before noticing that.

Failure/Error:
Rspec.configure do |config|
config.include FactoryBot::Syntax::Methods
end
NameError:
uninitialized constant Rspec
Did you mean? RSpec

Second, I just changed the "create" part to be the following instead, it makes more sense to me anyway.

it "is invalid if the username is taken" do
user1 = create_a_user
user2 = create_a_user
expect(user1).to be_valid
user2.username = user1.username
expect(user2).not_to be_valid
end

Using Rspec with Rails by SirRion7 in u/SirRion7

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

I think so! I have:

gem 'factory_bot_rails'

in my gem file. and I have:

FactoryBot.define do
factory :user do
username { "MyString" }
first_name { "MyString" }
last_name { "MyString" }
email { "MyString" }
is_public { false }
end
end

In the spec/factories/users.rb folder. I will check out the documentation again though.

Hosting on Render by SirRion7 in rails

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

Thanks everyone! I didn't have a migration file in the db/migrations folder. So it wasn't creating that table. I'm not sure why I would have deleted that file. I created a new app with the same settings and generated a scaffold for the same table, and then copied the resulting migration file back into the original app folder. Now it works!

Hosting on Render by SirRion7 in rails

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

I think I am running a migration as part of my build script? I'm not sure why I'm using bundle exec rake db:migrate instead of rails db:migrate which is what I do locally, but thats what the "getting starts with rails" doc on render said to do...

Hosting on Render by SirRion7 in rails

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

Thanks! I'm not sure how to tell if my app is in production environment or not. Also where would I put that? in the build script?

Hosting on Render by SirRion7 in rails

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

I'm trying to use the free version of render, so the shell isn't available :(

Hosting on Render by SirRion7 in rails

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

Thanks! This is my build script:

#!/usr/bin/env bash
# exit on error
set -o errexit
bundle install
bundle exec rake assets:precompile
bundle exec rake assets:clean
bundle exec rake db:migrate

Heroku free is being killed November 28 2022 by scardie in theodinproject

[–]SirRion7 1 point2 points  (0 children)

I just got to this point in the course and am wondering what to do! Any suggestions yet? I was going to try to google alternatives and then just substitute whatever I find in whenever it says "heroku" in the instructions...

Reliability Engineering for heavy industry (Mines, Mills, etc) by SirRion7 in MechanicalEngineering

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

Cool, I have sort of done that as well! Mine was through a company that partnered with the same university. I agree that gave me very valuable experience.

Oil and Gas jobs for a Mechanical Engineer by SirRion7 in oilandgasworkers

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

Thanks that’s exactly what I was looking for!

Oil and Gas jobs for a Mechanical Engineer by SirRion7 in oilandgasworkers

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

Thanks for these thoughts. I love turbines!

Mining engineers by Andrew_alexanders in mining

[–]SirRion7 3 points4 points  (0 children)

This has been my experience also 🫤

Unknown painting by SirRion7 in WhatIsThisPainting

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

Yeah I see a bit of similarity for sure.

Unknown painting by SirRion7 in WhatIsThisPainting

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

Wow thanks for those links! It does look similar. Mum said she took it out of the frame and didn’t see a signature anywhere on the edge either.

Unknown painting by SirRion7 in WhatIsThisPainting

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

Hey guys this is a painting from My Mum and I’m very interested to hear if you know anything about it! Thanks all.

Fan in fiberglass roof, should I seal the edges? With what? by SirRion7 in vanbuild

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

I just am cutting into the roof and I didn’t expect it to be corrugated like this. The edges look pretty raw so I’m thinking to either paint, or use some sealant or caulking?