Skip to content

Instantly share code, notes, and snippets.

@lynsei
Created May 13, 2016 01:48
Show Gist options
  • Save lynsei/f4c2b08984def43b9f7578eb5ba12afd to your computer and use it in GitHub Desktop.
Save lynsei/f4c2b08984def43b9f7578eb5ba12afd to your computer and use it in GitHub Desktop.
disruptive's log
May 12 03:38:00 <sztanpet> oh no, they dont cross-compile for all archs by default, they just append the arch to everything by default
May 12 03:38:27 <disruptive> I'm starting to think, can't I take an SPA app written in angular2/aurelia and just run it as a standalone on something like gorilla as a router using a goat api
May 12 03:38:44 <disruptive> or would I need to build in chromev8 into the package too
May 12 03:38:48 <sztanpet> not enough buzzwords yet
May 12 03:38:49 <disruptive> to run it as an app
May 12 03:38:49 <noethics> ?
May 12 03:38:55 <noethics> what's that even mean
May 12 03:39:06 <disruptive> run a web app as an actual app
May 12 03:39:14 <noethics> like, as a desktop app?
May 12 03:39:31 <noethics> you're way better off.. not using go for that
May 12 03:39:32 <disruptive> yes, or on android/iphone/darwin or whatever else
May 12 03:39:53 <noethics> node has plenty of webkit things that do that
May 12 03:40:18 <disruptive> yeah but I'm trying to package a really complicated app in a way that doesn't need to rely on nodes stupid dependencies that never work right
May 12 03:40:49 <disruptive> why couldn't I package an SPA like this: http://akveo.com/blur-admin/
May 12 03:40:53 <noethics> look for a webkit wrapper then
May 12 03:40:57 <disruptive> just do it with the chromev8 engine
May 12 03:41:13 <noethics> the js engine is the least of your worries
May 12 03:41:31 <disruptive> why is that
May 12 03:41:52 <noethics> because that's the easiest part lol, there's v8 bindings, plenty of go js implementations
May 12 03:41:57 <noethics> you need to render a DOM
May 12 03:42:31 <disruptive> so how come e2e with webpack can do it with node?
May 12 03:42:36 <disruptive> and I can't do it with go
May 12 03:42:42 <noethics> webpack has nothng to do with it
May 12 03:43:12 <noethics> what do you mean e2e with webpack?
May 12 03:43:48 <disruptive> well you are either using webpack or jspm in node to do es6/es5 packages like this: https://github.com/aurelia/skeleton-navigation
May 12 03:43:58 <noethics> or.. browserify
May 12 03:44:02 <noethics> but yes i use webpack
May 12 03:44:05 <noethics> what's your point?
May 12 03:44:34 <disruptive> you can run e2e tests with aurelia like this: https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-typescript-webpack
May 12 03:44:44 <disruptive> it's supposed to run the code on multiple devices
May 12 03:44:50 <disruptive> so it tests with protractor
May 12 03:45:01 <noethics> why do you keep going back to js
May 12 03:45:09 <noethics> you need to render a dom dude
May 12 03:45:23 <noethics> not run some javascript headless
May 12 03:46:02 <disruptive> so if es6 code and node apps are moving that direction I guess I just don't understand why it couldn't somehow be done in go by using an existing browser or something
May 12 03:46:12 <noethics> wtf.
May 12 03:46:18 <disruptive> lol
May 12 03:46:25 <disruptive> I mean I get it... you have to render the dom
May 12 03:46:47 <noethics> you keep using words :P
May 12 03:46:56 <noethics> i don't think you know what you're talking about
May 12 03:48:07 <disruptive> well I don't know what's possible with go, that's why I'm asking. I'm new to go
May 12 03:48:23 <noethics> just assume anything is possible
May 12 03:48:33 <noethics> but that doesn't mean it's done already
May 12 03:49:20 <disruptive> don't talk to me like I'm an idiot please. I was trying to speculate on an actual scenario for translating a web app into go as opposed to doing it with nodejs
May 12 03:49:24 <noethics> there might even be some go impl of what you want, but i really do recommend you look for node alternatives
May 12 03:49:30 <noethics> people have been working for years on those things
May 12 03:50:11 <noethics> sorry about that! i was sort of abrasive
May 12 03:50:39 <noethics> i think you're bikeshedding though
May 12 03:50:43 <disruptive> no kidding. I totally get it man... I know that presenting the document object model into an app probably requires a bunch of dependencies
May 12 03:51:27 <disruptive> well the reason I'm asking is because I'm trying to make my app as portable as possible. I'm writing this: https://github.com/forktheweb/dockistry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment