Categories
Samuel Thoughts

Why do people refuse to apply the same logic across different topics

The recent unrest at Mizzou is what lead me to finally writing about this topic. The items below are only a few of the many topics where I find the hypocrisy of society overwhelming.

Left leaning social movements:
Protesters get irate when police officers forcibly remove journalists from the Ferguson protests
When protesters demand “safe space” and forcibly remove journalists from their protest they are defended

Right leaning evangelicals:
People demand that the government leave them alone and stop interfering with their lives
This same group of people turns around and tries to force government officials to pass laws that allow the government to interfere with marriage and attempts to deny women the basic right to make their own choices for matters that affect their own bodies.

Right leaning tea party types:
People cry foul of government regulation getting in the way of too many personal liberties
These same people turn around and demand the government outlaw all drugs and “wage a war on drug users”

Left leaning progressives:
People talk about how prohibitions never work, the yell about how the war on drugs is not effective and how you can’t legislate morality
This same group of people turns around and demands that the government put a prohibition on owning firearms, and they yell from the rooftops how if you make guns illegal it will solve our problem of mass shootings.

The list really could go on for several more of these, but the moral of the story is I just have a real hard time comprehending why most people don’t see the hypocrisy in their view points. Everyone wants to push their own agenda ahead, and take no time to pause and reflect on how to apply their views evenly across a large set of issues. This kind of mentality makes me sad for our country.

Categories
Julia Shorts

This moment brought to you by Uber

I take way too many Uber rides. This was my thought as I hopped out of the car, a ford I think, and smelled a hint of smoke and the cold of fall in the night around me. As I unlocked the door to my building I thought about how warm my new-ish sweater is and how much I love the new boots on my feet. I bought the boots after buying a pair for my little brother, slogging out early early adulthood in New York – one for you, one for me. I rarely shop so when I wear the new stuff I like to cherish it. Anyway it was just one of those moments tonight where the cool air and the smell of the leaves made me feel alive and happy to be here. Too many Uber rides or not.

Categories
Samuel Thoughts

2 weeks of ideal food

Breakfast:
1 egg and 3 egg whites
1 cup of oatmeal
green machine drink

Lunch:
grilled chicken or fish
rice (brown or white)
oats and or peanuts

Dinner
grilled meat of any kind
sweet potato & green vegetables
whole milk & protein for dessert

Snacks
2 cups of baby spinach any time during the day (vinegar & oil dressing)

Categories
Fixing Stuff Samuel

Fixing FlashFXP Site Import Error

If you are like me and just re-formatted your computer and are getting the following error from FlashFXP never fear I just found a fix and its pretty simple. Error in question:

An Unexpected error occured while saving your application data. Your Changes have not been saved. Please restart FlashFXP. E2 = C:\ProgramData\FlashFXP\5\schedule.dat

flashfxp-error

To fix this error do the following:

1.) open up my computer and navigate to C:\ProgramData\FlashFXP\5\ (please note the folder ProgramData may not be visible, it was not on my computer. Just type it directly in the nav bar to get there).

2.) delete the file schedule.dat (do this when flash fxp is closed)

3.) open up flashfxp, the file should be re-generated and the error message should no longer pop up.

Categories
Uncategorized

a work in progress

I wonder, is anyone as surprised as I am to find themselves an adult? I think in someways I’ve got it down: I pay my bills on time, I work a full-time job, I have learned how to cook and can keep myself alive, I have decorated apartments and not with posters or string lights or cheap sheets for my bed, and I appreciate NPR news radio in a way  my six year-old self would have never thought possible (ok my 18 year old self too).  But a lot of the time it’s a bit of a shock to find out that I am an adult and what’s more, people look at me like I am an adult.

In all the ways I have a half grasp on adulthood I also feel like I’m nothing but a kid. Let me count the ways: I’m supposed to pay my dad for my car insurance but he forgets and I don’t remind him (also hello 28 year-old, get the title from your dad and get Illinois plates on your car). I have laughable savings, and while I have an IRA and two mutual funds (also with laughable amounts) I could only tell you abstractly at best what the hell those things even are. I put off doctors and dentist appointments like I’m a scared little baby – and even when I read articles about how important it is for me to consider some radical choices for a gene marker I have? I prefer to put those appointments off too. Remember how I said I can cook and survive? I don’t cook for myself nearly as much as I should – thus a reason for my pathetic bank accounts. I think mainly what consistently makes it a shock to me that I am an adult is the struggle it is to keep close the people you love. When I was a kid it was so easy, they were all around me. It’s the adultness (yes that is not a word, you are correct) of living across states from my siblings and across the country from best friends and apart from the people who I feel know me best that shouts *YOU’RE AN ADULT!” The most.

Apparently this in between stage, though it seems to last a lot longer for this generation, will be a time we look back on fondly. I’ve never been a girl to like the unknowns, so I’m looking forward to feeling like I’ve got this adult thing under better control soon. Maybe I’ll start by making a couple appointments and writing my dad a check.

Categories
Fixing Stuff Laravel Samuel

combining css and js files into 1 http request

install gulp onto the server:

1.) upload the files (gulpfile.js) and (package.json) into the root directory of the site (make sure to update file paths to the correct css and js directory’s first)

2.) ssh into the server and run: npm install, do this in the same root directory you just uploaded both files to. (if this errors out just manually upload all needed node_modules files to the root directory)

3.) make sure the node_modules directory and all sub directory can execute files (chmod +x directory_name -R)

4.) execute the combining script to combine all the js and css files (./node_modules/gulp/bin/gulp.js) must be run from root directory of site or else will fail

5.) change out the javascript and css script files to the new combined file for each

If all went according to plan you now limited your css and js files down into 1 http request respectively and minifid them both.

general notes:

if you upload a new file or edit a file in the css or js directory you have to ssh into the server and run:

./node_modules/gulp/bin/gulp.js

*this generates the new combined file
*would be a good item to add to a deploy script

If the page errors out (or white screens of death) explcitly define the order of the js files in your gulpfile.js. What most