Goals for the Summer

Goals for the summer... I've written a few of these in my life, it'd be nice to not have to do them again.

#1 - Code generator that generates code generators.
#2 - ORM which, based on inputs, will map the appropriate choice of ORM to my current needs. An ORM Mapper.

https://twitter.com/jasontconnell/status/989965266141569025

More null than null

// no value which is more null than null in this case.

A comment in my code just now. I highly enjoy implying degrees of things which have no degrees. Binaries. It is now more perfect code with this comment in there.

https://twitter.com/jasontconnell/status/989926649465638912

Statistically Hilarious

"Trying to determine a good base average for what I spend every month. But every month is an outlier"

Statistically speaking, that joke is hilarious.

https://twitter.com/jasontconnell/status/989237488651767808

My nail maintenance by necessity

my nails would not be considered "long" by any stretch, but once they get to a certain point, like millimeters, i basically can't type anymore

https://twitter.com/jasontconnell/status/988480972722200576

Royal Family News

Is there a way to turn off Royal family news? I managed to go years without knowing anything and I'd like to keep it that way

https://twitter.com/jasontconnell/status/988394646823895040

Gulp Coffee

compiling coffee script with gulp

"i can just do gulp coffee it looks like.
which is what i do all day anyway."

https://twitter.com/jasontconnell/status/986275775916773376

Philadelphia Sports 2018

I just need the Flyers, Phillies, Villanova, and the Sixers to win Championships this year then I'll be satisfied.

https://twitter.com/jasontconnell/status/980961145271005184

Too bad the Flyers are out of it though.

Brain Bending Stuff

I work on some pretty brain bending stuff, but today I was amazed when I went downstairs and when I got down there I remembered what I went down for :)

https://twitter.com/jasontconnell/status/979879776151318528

Flurry of Posts

I will be making a series of posts. Basically, I find the stuff I write on twitter is hilarious :D And it's only available on twitter.

Also, I was working on a guitar project. I am a huge fan of The Kinks. So I recorded myself playing guitar along with the entire Kinks - We Are The Village Green Preservation Society album. It's my favorite. The project was: Record myself playing guitar, figure out the songs that same day (usually, I did know a few already), it would have to be recorded on my cell phone, and mistakes are allowed!

So generally, the quality is bad and the playing is ok. The music is still great though. Here it is, the Village Green Office Sessions

For twitter posts, I'd probably like to write something that scans twitter for my posts tagged with a certain tag and import them automatically as posts. But I'm in a transition period on this site. Basically I want to learn Google's Cloud suite of tools and rebuild it there. So updates will have to wait.

Google App Engine on Windows

For the life of me, the Google App Engine "Quick Start" wasn't working for me for starting up the development server in Go. The command listed as "dev_appserver.py app.yaml" is the one I'm referring to. Windows kept asking me which program I wanted to use to run it.

Trying to avoid installing another copy of python, since it comes with the Google Cloud SDK, and I knew the "gcloud" command used python, I decided to look for that gcloud.cmd. And I found it. And I copied it. Only to run the dev_appserver.py instead of gcloud.py :)

Here it is. Just put it alongside the dev_appserver.py and it'll run fine.

 


@echo off

SETLOCAL

SET "CLOUDSDK_ROOT_DIR=%~dp0.."
SET "PATH=%CLOUDSDK_ROOT_DIR%\bin\sdk;%PATH%"

SETLOCAL EnableDelayedExpansion

IF "%CLOUDSDK_PYTHON%"=="" (
  SET BUNDLED_PYTHON=!CLOUDSDK_ROOT_DIR!\platform\bundledpython\python.exe
  IF EXIST !BUNDLED_PYTHON! (
    SET CLOUDSDK_PYTHON=!BUNDLED_PYTHON!
  ) ELSE (
    SET CLOUDSDK_PYTHON=python.exe
  )
)
IF "%CLOUDSDK_PYTHON_SITEPACKAGES%" == "" (
  IF "!VIRTUAL_ENV!" == "" (
    SET CLOUDSDK_PYTHON_SITEPACKAGES=
  ) ELSE (
    SET CLOUDSDK_PYTHON_SITEPACKAGES=1
  )
)
SET CLOUDSDK_PYTHON_ARGS_NO_S=!CLOUDSDK_PYTHON_ARGS:-S=!
IF "%CLOUDSDK_PYTHON_SITEPACKAGES%" == "" (
  IF "!CLOUDSDK_PYTHON_ARGS!" == "" (
    SET CLOUDSDK_PYTHON_ARGS=-S
  ) ELSE (
    SET CLOUDSDK_PYTHON_ARGS=!CLOUDSDK_PYTHON_ARGS_NO_S! -S
  )
) ELSE IF "!CLOUDSDK_PYTHON_ARGS!" == "" (
  SET CLOUDSDK_PYTHON_ARGS=
) ELSE (
  SET CLOUDSDK_PYTHON_ARGS=!CLOUDSDK_PYTHON_ARGS_NO_S!
)


SETLOCAL DisableDelayedExpansion


"%COMSPEC%" /C ""%CLOUDSDK_PYTHON%" %CLOUDSDK_PYTHON_ARGS% "%~dp0\dev_appserver.py"" %*