Stefan Hayden

Alt + Shift + Ctrl + K

How to turn on Windows 10 Emoji Keyboard

 

I’m not sure why this was so hard to find. Simply right click on the taskbar and get the menu to appear. There is an option to “Show touch keyboard button”. That will add the touch keyboard to the far right of the taskbar. Clicking that will bring up the keyboard where you can then click the emoji icon.

windows-10-emoji-keyboard

 

emoji-keyboard

User Profile Edit with Autoform and SimpleSchema in Meteor JS

The steps to creating a form with autoform for editing user profile information are simple but not obvious when trying to tie everything together for the first time.

The first step is the set up the Schema. You need to set it correctly for the user data but the profile object is free form where you can add anything you want. Remember that all the things in the profile object are editable by the user. After you craete the schema be sure to attach it to the users collection.

Next you just need to create the form. The autoform quickform helper will spit out a form for all the user data, most of which you probably don’t want the user to be editing. Instead we can easily just show the fields we want to let users edit:

And that’s it. In the autoForm helper the collection accepts either a template helper (no quotes) or a global variable (quotes). For users you need to pass in the “Meteor.users” collection. To set what data to load the doc attribute needs an object with a _id property which the currentUser helper has.

How to use Gem CLI commands in Supervisor on Ubuntu

Supervisor is a great unix program that lets you run persistant long-running programs. In general it’s easy to use and DigitalOcean ($5 a month hosting) has a great tutorial on how to set it up here.

I was interested in Supervisor because I wanted to run the mispy/twitter_ebooks repo for building some twitter bots. It gives you a great command line interface for both creating new bots (ebooks new <reponame>) and starting the bots (ebooks start).

For whatever reason you can’t just point Supervisor at a directory and call that command. You’ll need to find where the gem wrapper is located and run the command from there.

First find the path of the executable gem:

which ebooks

For me it was located here:
/home/shayden/.rvm/gems/ruby-2.2.2/bin/ebooks

Then we can switch the /bin/ dir to the /wrappers/ dir which is the packaged file you will tell Supervisor to run.

/home/shayden/.rvm/gems/ruby-2.2.2/wrappers/ebooks

In Supervisor the .conf file should now look like this:

[program:ebooks]
command=/home/shayden/.rvm/gems/ruby-2.2.2/wrappers/ebooks start
directory=/home/shayden/ebooks_bot/
autostart=true
autorestart=true
stderr_logfile=/var/log/ebooks.err.log
stdout_logfile=/var/log/ebooks.out.log

Now Supervisor should have no problems keeping your twitter bots alive and tweeting.

Unity C# – Torque Look Rotation in 2D

Getting one object to look at another object in Unity can be a very math intensive project.  In 3D there is an easy way to do this by use the transform to look at another object with a simple call:

Quaternion.LookRotation(target.position – transform.position)

In 2D Unity doesn’t hold your hand and you have to figure it out yourself. Most look rotation guides for Unity focus on simply modifying the transform even when talking about moving a Ridgedbody with physics.

If you want to use physics on Ridgedbody to add torque to turn toward another object then the unifycommunity wiki has a guide for 3D. With slight modifications we can get this same code working for Ridgedbody2D:

Pixel Pioneers: A Brief History of Graphics

a  great five part series that goes though many of the innovations in graphics. Definitely subscribing to this channel.

Awhile ago I was listening to a podcast about video games. They focus mostly on console games but for whatever reason they were talking about PC games which is where most of my interest lie and they just said obviously wrong thing after obviously wrong thing. And it made me so angry. So angry that I actually just stopped listening to all of the small handful of podcasts I was subscribed to.

Slowly I am bringing them back. First to catch up with Welcome to Nightvale and then Serial which has swept the internet almost as quickly as Nightvale did. But also Reasonably Sound a great podcast about an area I know very little about.

For me the greatest problem is just that podcasts are something I tend to do on my commute and which is also where I do most of my reading and so they tend to take me from reading. I’m already not reading as much as I should as I let Game of Thrones slow me down to a halt.

Comments here

I had this idea several years ago that I should repost comments I make around the internet here. I think Kottke had started doing it though he mostly stopped. I never did it more then once but I certainly regret not doing it more. I would have liked to have had that history here.

Sites like Medium are all the rage now and I have not had much interest in posting there. For me when content feels more ephemeral I’m more willing to give it away and Medium feels just like blogging but without the content ownership.

Facebook, Twitter or Tumblr is where the conversation is happening and it feels like a conversation. Mostly short responses that are apart of a larger context. Posting them here wouldn’t even make sense out of context and posting them here removes them from the conversation which is the only reason to post them in the first place.

Some parts of the internet, I think, are starting to encourage longer responses though. Idea Channel, like I just posted below, has build an amazing community partly due to youtube’s longer comment length but also due to so many being called out in the last few minutes of the show.

When I look back on my childhood I can barely remember what I did or liked or watched and I kind of hate that. This site should be that log of what I did and liked. Lets see if I can once again start posting stuff here that is less for others and more for future me. Because I want future me to remember this stuff better then I am usually able to.

Hyperbole is a crutch

So do we over use hyperbole? Yes… well sort of… and also maybe not.

I think the over use of hyperbole is very much in the realm of pop culture. An since pop culture is kind of every where these days it can feel like an all encompassing use of bombastic words.

Yet when people talk about books I hear less talk of inabilities to even and more nuanced treatises of not only what is good or bad but what things mean. This isn’t just people in my peer group but also what I see across the booktube fandom on youtube.

So why do people seemingly have such a strong ability to talk about books while when topics of pop culture come up, like say Breaking Bad, can we only extol how it is the BEST EVER or AMAZING?

I think the difference simply comes from how current society is behind the time in critique of pop culture. Many people grow up in schools where a staple of English class is reading books and finding deeper meaning. Even after people graduate from school book clubs around America and the world meet to not just drool over books with overly positive (or negative) reactions but to point to the parts that succeed and fail in their eyes.

Pop culture does not have a class at school that deconstructs it. And approaching most culture in this serious way is seen as a bit silly. Because we don’t have a muscle for talking about culture in that way I think we resort to words with less intellectual umph.

As TV Critics and other pop culture critics gain more prominence and we become more accustom to taking a more serious look at pop culture I think our general ability to talk about will increase. Because while tumblr is the home of people who can’t even it’s also the home of some smart deconstruction of pop culture.

Deeper conversations are coming and I think it will create a feed back loop that will only make pop culture even better.

On a side note I think gaming has the same problem of no real natural wide spread ability to talk intelligently about games. As criticism gets better and more a part of the every day thinking for games it will only make games better just as it has already started to makes other parts of pop culture better.

The Machine Stops

I read The Machine Stops in college and it took a while for me to really get it. It really nails the internet but the trick is it was written in 1909. Also since it’s from 1909 it’s out of copyright but there is no good version of it online so this is my new version of it.

Only a few months after Youtube buys Twitch they start locking the site down. 3 years of past videos will be deleted and all “copyrighted” music will be muted. Most music on Twitch is copyrighted as is the game play.

Ligaya Tichy on How Startups Grow

This is pretty spot on to my experiences. I do think there are ways to counteract this risk aversion to some degree. And I think Shutterstock has done a pretty good job of it.

Julie Horvath

What were a few of the biggest changes you saw with these companies as they grew?

Ligaya Tichy

So, in the early stages, I started at yelp it was 10 people and Airbnb was 12ish, and the passion index is high when companies are young because they can’t pay anybody market salaries. So the people who want to work there are people there love these products. And so there is this incredible excited and this sort of energy in these offices.

And as the company scales and there is more pressure to prove the product and grow. Then you need operations people. And a sort of hierarchy emerges, and operations emerges are really good at executing and incredibly smart, but they don’t… At this point you you are past series seed and at your series b or something like that. And you can afford salaries. And they are not doing because they love your company so much, they are doing it because it’s a great career opportunity or they like your product and they see some long term potential.

And then the company keeps scaling and and you just need work horses. you need people to do jobs. And so you fill those role. and you are growing growing very quickly. And so you just hire people who are good at filling one particular function. They may not necessarily be the sort of crazy creative people at the beginning that like wearing multiple hats.

And what happens is that your role changes. before it was really creative and kind of chaotic and some people really like that. And as the company gets larger. Your role gets more and more structured and it gets narrower. And some people like that because they like to focus and other people go like, “Hey wait this isn’t what I signed up for!”. And there is this attrition. There are just new classes of people come in and some people drop out. And as an early person it sucks when the people you love so much leave because they are what galvanized you every day to be there. Because you were building something together.

But this is the natural course of things. and you know I think me personally I figured out I am am an early stage person. when the company gets big it’s great but I don’t know what to do in those kinds of environments. I don’t want to be a middle manager. i like the chaos. I like building foundations. i like the unknowns and i like to experiment. And you don’t get to do that. The companies get much less risk averse.

LEADING DESIGNERS’ 25 FAVORITE EXPERIENCES IN TECH

I was blown away how many of the products they bring up in this awesome talk I have never heard of:

Fixing Google Analytics self referral problem

If you are using Google Analytics you might see your own site listed as a referrer. Most commonly this is the case of having the same tracking code across multiple domains.

In the past this problem was mind numbing difficult to solve. Luckily Google has made this dead easy to fix with it’s new Universal Analytics. Sadly if you have an old Analytics account you can not convert it, but do not worry you can still keep that old tracking code on your site and track to both places.

Once you have set up your new Universal Analytics account you can follow the development guide to get it integrated on your site. Universal Analytics has a ton of new features and is well worth the time to set up.

The Fix:

In your universal Account go to the admin section. Find the “Tracking info” section. In that section there should be a option called “Referral Exclusion List”. Here you may list ANY url that you do not wanted to be listed as a referrer. And that is all it takes.

This does not fix old data and will simply stop this problem from happening in the future. Also the fix is not instantaneous. Each day the number of referals from the url you just added to the “Referral Exclusion List” will show fewer and fewer visits. In my experience it could take one or two weeks for the problem to be totally fixed.

Youtube Stars Joey and Meghan to be in CBS Show The Amazing Race

The biggest news from a youtube creator since annoying orange got it’s own tv show. Meghan Camarena of Strawburry17 and Joey formerly of WinterSpringPro and now his personal channel JoeyGraceffa are going to be on The Amazing Race. And what a great team they will be (or were as the show has already been filmed).

While exciting news for the youtube community who hunger for broader recognition and validation no one is surprised that these two have made such a deal. Both Meghan and Joey are growing stars with a lot of energy and know for their hustle and hard work to make ends meet on youtube Increasingly with low CPM ad impressions and views harder to get as youtube redesigns for bigger partners burgeoning stars have to find more and more way to bring in extra money.

What might have attracted The Amazing Race to these two untested stars?

First Joey and Meghan have almost half a million subscribers combined. Of those Meghan gets on average 20-30k views and Joey between 60-100k view. Of those views I would guess they are in the 13-17 age range and mostly female. This demo, while hard to track on Nielsen, would be an attractive audience for the CBS show to bring in. While holding stead at about 10 million viewers The Amazing Race will need to continue to find new audiences to keep their numbers up on a network where many shows are doing well.

Second Joey and Meghan are naturals in front of the camera practicing talking to a camera for years. Few people get this training and few contests have a proven body of work to demonstrate how they will be on the show.

The benefit is not all on Amazing Race’s side though. Look for Meghan and Joey to take full advantage of being in front of 10 million viewers weekly. I expect to see some interesting weekly online content and live interaction as the show airs building new viewership for their channels as well as the show’s.