These are chat archives for miketheprogrammer/go-thrust

15th
Nov 2014
Michael Hernandez
@miketheprogrammer
Nov 15 2014 00:01
Theoretically you could use something like https://sites.google.com/site/gowebuitoolkit/ with go-thrust in order to avoid html and javascript
William McGann
@tehbilly
Nov 15 2014 00:12
I have nothing against html/js, personally. Not that I'm a fantastic designer. I use me some AngularJS and bootstrap/foundation juuuuust fine
Sorry I didn't quote the args, makes sense that they'd need to be, I suppose. Was very distracted.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 00:16
yea definitely, its all good :)
im really loving this, theres already two Demo apps made with literally just a few lines of Go code, I cant wait to see what can be created with the Go/js/html harmony
especially with bin2go we can embed all the html we need in the executable, which improves the security of the application
William McGann
@tehbilly
Nov 15 2014 00:42
go-bindata is the utility I generally use for it, although it sometimes hilariously inflates the executable size. not really an issue with html for interfaces, though.
I had a lot of fun with the IE workaround at work, I made it do lazy provisioning, kind of like the spawn downloader. Cached assets from central server, and I sent a message over websockets when remote assets were updated, so it would make the client redownload them immediately.
Pretty fun little thing.
Daughter going to bed in a bit, and hopefully done with my lovely evening of BAs complaining. Then it's personal coding time! Having a daughter, girlfriend, and job makes this a rare delight.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 00:49
@tehbilly true, i dont have any children, but I have a great girlfriend soon to be fiance hopefully tomorrow
i will check out go-bindata
just discovered bin2go yesterday
William McGann
@tehbilly
Nov 15 2014 00:56
I should chart out my most frequently used external libraries. It's a shame I can't share my internal code.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 00:59
yea, damn freakin licensing issues
William McGann
@tehbilly
Nov 15 2014 01:00
You've looked over awesome-go, right? and let's see, I can off the top of my head name my favorite packages, if not most commonly used.
logrus for logging, especially handy with io.MultiWriter for sending logs to logstash directly AND local files.
I log locally either to a single file (redirecting stdout), or through lumberjack
Michael Hernandez
@miketheprogrammer
Nov 15 2014 01:03
speaking of which, i would like to remove the dependency on alexcasaro/log from go-thrust
and use the std logger, with through an interface so that the user than provide their own impl
William McGann
@tehbilly
Nov 15 2014 01:06
I wasn't going to say anything about that, honestly. :P I'd like to see the stl log package used, too, with a simple way to set the logger from the base package.
Being careful not to log anything (like in init()) before it's set up.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 01:08
yea :), thats why i use fmt.println a bit in the spawn package
I really like the idea of reducing dependencies
especially since the dep list may grow as the project gorws
grows
William McGann
@tehbilly
Nov 15 2014 01:08
That's not terrible to do, because someone can at least redirect stdout before initializing your package.
That's my ideal position for a library to be in, minimal external dependencies.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 01:11
yea, but things like websocket abstractions if we provide an IPC/RPC interface are important
the question is, how much to provide to the user, and how much to let them do themselves
for instance, I could see using the new web-components spec, along with rpc, to create some really nice reusable components for an interface in go thrust
@spolu might be adding web-components to the thrust core, but even without it there are polyfills, web-components are like custom html elements that encapsulate css and javascript
William McGann
@tehbilly
Nov 15 2014 01:16
With a binding/interface like this, personally I'd love to see extra optional packages (like the golang.org/x/ packages) combined with a simple no-frills scaffolding for standard web apps. Like if you want to convert an existing web app you just specify starting window dimensions and endpoints for the main page.
Gahhhhh sleepy toddler. Work is handled. afk again!
Michael Hernandez
@miketheprogrammer
Nov 15 2014 01:21
lol, yea, i would love a go-thrust-* ecosystem down the line, and i would love to code go-thrust with that in mind
go-thrust should only contain the core technologies needed to create an application
Michael Hernandez
@miketheprogrammer
Nov 15 2014 01:31
its quite amazing, go-thrust and all its helpers in the jankybrowser exe on windows, only use about 20mb a ram to start
actually dammit, change that to 50mb
William McGann
@tehbilly
Nov 15 2014 01:52
Split by process, where is the memory weight coming from? Typically my go apps weigh in at less than 5mb unless they're under heavy load
Michael Hernandez
@miketheprogrammer
Nov 15 2014 02:15
ughh, my company decided to do a friday night deploy, of a technology we have not maintained thats two years old
Mike to the rescue, even though i dont know the codebase
the memory weight is coming from blink/v7
v8
the Go process clocks in at 1.0mb on windows
with 1 tab open
William McGann
@tehbilly
Nov 15 2014 02:48
Because that's go for you! My ba complaint is based on them telling lies about the region their issue is in. Do not call stage production and expect me to not get pissed.
I expected chromium to be lighter than that, honestly.
William McGann
@tehbilly
Nov 15 2014 02:55
Oh sweet jebus I'm finally on my home computer.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 02:57
lol
William McGann
@tehbilly
Nov 15 2014 03:01
Cloned, updated gosublime, woman is almost asleep
Fresh hard cider cracked.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:12
yo, my girl just saw your name and recongnized you from staunton river high
William McGann
@tehbilly
Nov 15 2014 03:13
Bwahaha, seriously? That's absolutely insane
Yeah, I went there for... 9th grade, maybe part of 10th.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:14
yea, shes not sure, but she recognized your name and was like wait... what
William McGann
@tehbilly
Nov 15 2014 03:15
Mind if I ask who she is? I might remember. Not entirely sure, but maybe.
It was something like a decade and a half ago
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:15
lol yea
William McGann
@tehbilly
Nov 15 2014 03:16
The name sounds familiar, hmm
Anyways, probably. Can't pick staunton river out of the air like that.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:17
yea, pretty cool though, small world
William McGann
@tehbilly
Nov 15 2014 03:18
Absolutely. Happenstance on the internet from code.
Well, tell your old lady I said hello! I'm assuming y'all aren't in the backwoods, so congratulations for that.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:20
lol yea, 2 vapers/ gophers meet trying to bring the future of cross platform ui to the world, and realize they have a linked history
lol
William McGann
@tehbilly
Nov 15 2014 03:21
I say we make the best portmanteau we can of it. "Gopists". "Vaphers".
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:22
lol
William McGann
@tehbilly
Nov 15 2014 03:23
Now that my overly complicated co-dev setup is complete, I work on at least one issue!
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:23
sounds good
William McGann
@tehbilly
Nov 15 2014 03:33
Gah, github you silly git
Merged your PR so I could work off of it
And it's saying I authored it. wat
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:34
lol, thats cool
im sure the git blame still blames me for all of my stupid code
William McGann
@tehbilly
Nov 15 2014 03:36
I'm still getting used to the git "flow" of things
Sorry, github.
We use gitlab, stash, and bare repos at work.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:36
yea i use gitlab and stash at work to
William McGann
@tehbilly
Nov 15 2014 03:36
But mostly? Mostly it's CVS
GAHHH DRY HIT
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:39
ughh i got like 3 of those today
William McGann
@tehbilly
Nov 15 2014 03:39
Had a nice ~110 watt one earlier. -_-
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:42
ughhh, im probably at like 12 watts on my mechanical if i had to guess without doing the math
William McGann
@tehbilly
Nov 15 2014 03:42
Resistance?
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:43
i havent checked it today, but last time it was at .37-.39
expect a high of 4.2v on a fresh battery
my comps dying, and im gonna lay down with my girl
William McGann
@tehbilly
Nov 15 2014 03:48
Well, your "perfect" wattage would be >40. But it won't actually get it.
Alright, y'all have a good evening. Expect some PRs
Michael Hernandez
@miketheprogrammer
Nov 15 2014 03:48
feel free to reach out to me @ michael.hernandez1988@gmail.com if you need me for anything
William McGann
@tehbilly
Nov 15 2014 03:49
Will do, I'm sure I'll be good, though!
William McGann
@tehbilly
Nov 15 2014 05:14
Headed to bed myself. My go-gettable branch off of wip-0.4.0 should actually make go get work fine, however it's painful to test without actually merging it into master. I say we merge, carry on, and figure out when 0.4.0 can be merged in.
Honestly, a temporary fix would be to make an almost empty thrust.go file in the base that's just this:
// This is package level documentation, and will display at the top on godoc.org/etc
package thrust
Or cherry-pick thrust.go in from the wip-0.4.0 branch after accepting the PR later. Anywho, ciao.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 12:48
@tehbilly I say merge it
this is an unstable alpha version and obviously not being used by anyone in any serious fashion
we should focus on getting it to stable as fast as possible
William McGann
@tehbilly
Nov 15 2014 13:32
Working on master and getting the api stable and sage would be far easier, and make more sense. Feature branching more afterwards!
Also, good morning lol
Michael Hernandez
@miketheprogrammer
Nov 15 2014 13:51
lol yea good moring
btw, there may be a memory leak in thrust core
i made an issue today
breach/thrust#231
lets merge everything into master then for now, and let godoc handle the documentation updates as well
ill create a pr for 0.4.0
William McGann
@tehbilly
Nov 15 2014 13:58
Aye aye. I'll be baby free in a bit. And the woman will be gone for some hours. Yayyy
Michael Hernandez
@miketheprogrammer
Nov 15 2014 13:58
im creating a release of the current 0.3.3 source code, and then creating the PR for 0.4.0 naming the version in README and Versions wip-0.4.0
William McGann
@tehbilly
Nov 15 2014 14:03
In going to need some of the orange dragon before I'm productive. The munchkin is a handful this morning
Michael Hernandez
@miketheprogrammer
Nov 15 2014 14:12
lol :)
Michael Hernandez
@miketheprogrammer
Nov 15 2014 14:36
cute kid
William McGann
@tehbilly
Nov 15 2014 14:55
Yeah, I think so. Of course I'm pretty biased. She loves getting into whatever I'm doing, so I can't do much until she's gone
Michael Hernandez
@miketheprogrammer
Nov 15 2014 17:06
lol, cherish it, because when she grows up she will be too busy for you
William McGann
@tehbilly
Nov 15 2014 17:15
She's completely and utterly a daddy's girl. I love it. her mother was hours late picking her up today, and I don't care in the slightest. :P
Also, you look over the changes on my go-gettable branch? About to merge them in.
William McGann
@tehbilly
Nov 15 2014 17:52
Bah, damnit cygwin. For the record, go get github.com/miketheprogrammer/go-thrust works now
Michael Hernandez
@miketheprogrammer
Nov 15 2014 17:56
cool
i havent been able to look it over, but im sure its good, feel free to merge
i am leaving in 20 minutes or so, and will be gone through the night, possibly through the end of the weekend
William McGann
@tehbilly
Nov 15 2014 17:57
Knock yourself out! I'll be doing stuff on and off. Working on my box mods, coding, loafing. I haven't planned a single thing completely yet, ha
William McGann
@tehbilly
Nov 15 2014 18:39
Oh, I forgot to mention, thrust-shell on windows is having issues because of missing dll files
Michael Hernandez
@miketheprogrammer
Nov 15 2014 20:11
yea i thought so
i was hoping it was just a VM issue
i will start a fresh VM and we can try to bundle the dll files in the repo
most applications will have an installer, and the dlls can be bundled in that as well
William McGann
@tehbilly
Nov 15 2014 21:26
I'm pretty confused as to why they're not included with thrust shell. I believe they're distributable.
Michael Hernandez
@miketheprogrammer
Nov 15 2014 21:39
We should mention it to @spolu
i dont know if you caught the names, otherwise ill start a new vm during the week and note the names
actually i did a sort of my dlls and i have the names here
msvcr120.dll
msvcp120.dll
William McGann
@tehbilly
Nov 15 2014 22:35
Yep, those are it. I haven't downloaded them to test any further yet. I did a quick google and don't trust those "free dll download!" sites much.