This is the view from the apartment.
The hallway leading from the apartment to the elevator.
The view from the elevator entryway.
The elevator has mirrors in it.
This is the sidewalk in front of the apartment.
A bridge that crosses a part of the Truckee River.
A Truckee river duck.
Another view of a Truckee river duck.
The office is a two block walk from the river.
The stairway leading to the office.
Finally made it. She let me in.
This is actually from my cousin’s restaurant in Ashland, OR.
It’s called Hither.
Happy October. I wanted to share this fresh tune.
This is a working document. I really want to know your thoughts in the comments below.
Question 1 – Trials Expands the rights of crime victims
YES – This seems like a good thing. If someone is a victim of a crime, it seems reasonable that they should be able to get information related to the case, get their stuff back and all the other things noted in the bill.
Question 2 – Taxes Exempts feminine hygiene products from sales tax
YES – Based on principles, the government wastes money so tax cuts are generally a good thing. Especially if these tax cuts go to women.
Question 3 – Energy Regulations on the energy market
YES – Based on principles, I don’t think it’s the government’s job to regulate electricity. The external costs are so I’m open to being swayed here. At the end of the day, I think it’s better to err on the side of freer markets, rather than more tightly regulated ones.
Question 4 – Taxes Sales tax exemption for medical equipment
YES – Our health care system is ludicrous compared to the other countries I’ve seen in the world. In my experience, Thailand, Australia, and Costa Rica all have better, cheaper health care than the United States. Why not start slashing those medical costs?
Question 5 – Elections Automatic voter registration with the Department of Motor Vehicles
NO – My experience with required elections in Australia taught me that it’s fine for people not to vote. Voting is an option in a free society, not a requirement.
Question 6 – Energy Requires 50 percent of energy to come from renewable resources by 2030
YES – We will one day need to have our power system based on renewable energy. Why wait? Humanity is running a bonkers experiment of putting carbon into the atmosphere as fast as possible. Whether or not you care about carbon emissions, it doesn’t matter there is no way we can have non-renewable energy forever because it’s non-renewable.
Ranked in order of my top choice to my last choice:
From her website, it appears that Jacky is a pro. She appears to be motivated to shift immigration, environmental policy. Also, I believe in an ineffective government so Democrats are good in the Senate for now as they will limit the power of the executive for the next 2-6 years.
Update: I received a call from Nevada Advocates for Planned Parenthood (https://www.plannedparenthoodaction.org/local/nevada) and they support Mrs. Rosen.
This guy appears to be a lifetime politician who worked as a stock trader for a short time. I like that he is from Carson City, the same place I was born, but I don’t see anything other than business as usual. As Republicans have a lot of power these days, I think it’s best to go with the Democrat for the time being.
Tim Hagan – Libertarian Party of Nevada (website)
Update: I received a call from Nevada Advocates for Planned Parenthood (https://www.plannedparenthoodaction.org/local/nevada) and they support Mr Sisolak.
I’ve not deeply researched this. If you have a suggestion for me to change the way I plan to vote PLEASE let me know what and why in the comments below.
When first trying to get an understanding of polymorphic associations in Rails, I was completely lost. At this point in my learning curve, polymorphic associations are a high-level concept in Rails which allows the programmer to reuse a single model to be useful for other models. It’s difficult to describe without an example. So… here we go.
An example of a polymorphic association is as follows. Let’s say you’re building a sports history database. Baseball players and basketball players are both athletes, but you want to be able to keep the baseballers separate from the basketballers. One way to do that is to create an Athletes model.
The Athlete model would be a way to tie the sports together.
This requires a migration where we connect the athletes with the sports they play:
rails g migration AddSportToAthlete sport_id:integer sport_type:string
First we set the polymorphic association model:
class Athlete < ApplicationRecord belongs_to :sport, polymorphic: true end
Then we assign that association to the baseballers and the basketballers:
class Baseballer < ApplicationRecord has_many :athletes, as: :sport end class Basketballer < ApplicationRecord has_many :athletes, as: :sport end
$ irb rbenv: pry: command not found The `pry' command exists in these Ruby versions: 2.3.1
I was having the issue in which I was attempting to test code using
Apparently, pry was interrupting my usage of
To fix it, I just updated pry:
gem install pry
Now it’s updated and working correctly. Here are my related software versions:
$ rails -v Rails 5.2.1 $ pry -v Pry version 0.11.3 on Ruby 2.5.1 $ irb -v Pry version 0.11.3 on Ruby 2.5.1