Wednesday, March 1, 2017

crushing fetish

It's a thing. I heard about it for the first time in watching Paul Verhoeven's film "Elle" staring Isabelle Huppert (which I recommend). I thought it was joke, something they just made up for the movie the way the liquid drug P2P was made up for "Stone Cold" ...and no that biker movie wasn't exposing the evils of pier-to-pier sharing. Per Rule 34 of the Internet, we have: "crushing"

 
 

Hey, the HTML for the iFrame above is kinda fun:

<iframe width="560" height="315" src="https://www.youtube.com/embed/mTl6BQRWr_k"
      frameborder="0" allowfullscreen>
</iframe>

 
 

It has allowfullscreen which apparently allows one to call .requestFullscreen() from JS to make the crushing overwhelming.

With Angular 2 you can bind to properties like checked but not attributes like aria-checked.

I mean properties and attributes at HTML tags that is. So... no Aria yet. Boo!

Cannot pass 'whatever' as a ref or out argument because it is a 'foreach iteration variable'

You cannot do the ref thing inside a foreach loop in C# and what is more, even if you try to hack around this by just handing in a reference type without the ref keyword, the stuff you set on your object in the method to doctor it up will not "stay around" so to speak back at the end of the foreach loop. Lame! I found a StackOverflow article that kinda suggested that this has to do with the enumerator getting confused. Whatever.

What version of node/Angular/TypeScript am I using?

Run the command prompt at your PC laptop as Administrator and then navigate into the folder where you'd otherwise run "npm start" to get your Angular 2 app afloat. Herein, try these commands:

  1. node -v
  2. npm ls @angular/core
  3. npm -v
  4. npm ls typescript

That last one needs to have "typescript" in it and not "TypeScript" which won't work so well. The application detailed here, here and here has the following specs. The commands above reveal the following details:

  1. 6.9.5 of Node.js
  2. 2.1.2 of AngularJS
  3. 3.10.10 of npm
  4. 2.1.5 of TypeScript

These numbers all look like semantic versioning to me and the MAJOR.MINOR.PATCH shape of things.

How can I tell where GitHub is putting a local folder for my project?

right-click on a project at the upper left of the desktop client and pick "Open in Explorer" in Windowsland environments

  • my various folders were in a common folder at C:\Users\Thomas\Documents\GitHub