go golang woe

go run wiki.go
# command-line-arguments
./wiki.go:48: function ends without a return statement


meant “your version of go is older than the one you were using before, update it [possibly have to update your ubuntu distro before that will happen though]“

duralast starter vs ultima

Prefer ultima, see my description of my duralast [for my honda accord 96] below.

Just so you’re aware, the following occurred:

I bought a new starter [duralast, lifetime warranty], and installed it presumably well.
It worked once, however, the 2nd, 3rd, and 4th times, it just “spins” like the solenoid isn’t connecting.
I reinstalled it. Same deal. Reinstalled my previous starter [the semi-broken one], still works ok, no spinning.

Took in the starter to get a replacement [lifetime warranty, right?] and the clerk informed me that, unfortunately, unless it tests bad [this one test good, but fails under load], he couldn’t give me a replacement. So I…turned in my new starter for its *own* core charge, and proceeded to decide to never shop at AutoZone again.

gcc woe

C:\dev\ruby\screen-capture-recorder-to-video-windows-free\configuration_setup_utility\temp>gcc go.c -lshell32 -lole32
go.c: In function ‘BrowseToFile’:
go.c:9:24: warning: initialization makes pointer from integer without a cast
C:\Users\packrd\AppData\Local\Temp\cceESlw2.o:go.c:(.text+0xd): undefined reference to `ILCreateFromPath’
C:\Users\packrd\AppData\Local\Temp\cceESlw2.o:go.c:(.text+0×39): undefined reference to `SHOpenFolderAndSelectItems’
C:\Users\packrd\AppData\Local\Temp\cceESlw2.o:go.c:(.text+0×44): undefined reference to `ILFree’
collect2: ld returned 1 exit status


meant “use g++ for this, not gcc” though I ended up just shifting to visual studio express instead…it might work for you now…

see also https://gist.github.com/rdp/9748303