« first day (1418 days earlier)      last day (3528 days later) » 

10:04 PM
 
m59
I'm crazy confused about gh pages. I want to make a demo site for some of this github.com/m59peacemaker/angular-pmkr-components
Can I just create a demo folder in that repo and use that somehow?
 
pages.github.com @m59 I think
 
m59
gibberish to me
 
you're a gibberish
 
m59
:'(
 
m59
I don't understand what to do with the branch business.
 
m59
gh pages branch
 
git checkout -b gh-pages
 
m59
That doesn't clarify the problem ;D
I just don't get what it's for.
 
10:09 PM
I got snails that eat other snails to control some pond snails in my tank.. Well now the killer snails are breeding and I have too many of them. I think its time for the cobras.
 
m59
In my mind, I have a folder with index.html in my repo...
it should just be published..
 
GitHub will detect that you have a gh-pages branch and actually run that
 
m59
but how does that branch differ from my master branch?
 
That branch, unlike the others, contains the site code. not the project code.
 
m59
they're both kinda the same, though
I don't understand how you could even do it otherwise (your project code wouldn't even be there to use!)
 
10:13 PM
Often, the pages branch is used to host docs or the like
 
Then that's easier. You only need to make the branch. Do this (it's all reversable):
git branch gh-pages
git push
 
m59
from my project folder?
 
aye.
you have an index.html in your project?
 
m59
It's not at the root
 
(or are using jekyll)
 
m59
10:14 PM
nope
index.html bootstraps angular with routing for each component I want to add
I think I know what I should do
 
well, do it anyway and try to go to the url. It is a public repo? link?
 
m59
just a sec (I need to fix something in my gulpfile before that)
So, this is kind of like a different project but on the same repo / different branch?
 
if you just branch master into gh-pages then it's jus the same code. All that does is tell github that you want to make a web page.
you CAN make gh-pages branch completely different than master. It's own separate project that jsut happens to live in the same repo
 
m59
could I make a new folder with a bower.json with a dependency on the master branch, download that, then build the demo site from it?
 
Oh, goodie, two passing tests! (of 36)
 
m59
10:19 PM
grats!
 
That wasn't a breaking change or anything
wait, that was just a syntax error
now only five fail.
 
m59
@Luggage That's the weird part. It sounds wrong to have another dependency setup and build process for the site that is almost entirely built from the main project.
 
@m59 I just used the page generator and it created the gh-pages branch for me. It doesn't look like it polluted the master branch.
It's in the settings of your project
 
m59
I need to make the site myself and all
but, I'm coming around to the idea of it making it more a separate project.
errrggggg then again, no I'm not :)
Schizophrenia!
 
oh, well i just used the templates. Here's what it auto-generated github.com/funkytaco/spyglass/tree/gh-pages
 
10:25 PM
"hey github, clone my repo, checkout branch 'gh-pages' and host it". that's All you are doing.
 
m59
Better question: how do you guys actually develop stuff
I end up going to jsbin a lot
 
Very carefully. :)
What do you mean "how"?
 
@m59 are you new to Git?
 
m59
So, when I made that stuff, I either did it all in jsbin
or in my actual project which had it as a dependency
 
34 passing tests, 2 skipped, 0 fails!
 
m59
10:26 PM
and that blows
 
wheeeeee
 
A terminal for node and an editor
 
What copy said.
 
I have an employee server I host my apps on
 
10:27 PM
About to start using Docker though
 
m59
;D
 
@taco Was that instant? still waiting for my gh-pages branch to be hosted. I make it manually and pushed.
 
m59
So, what did that mean exactly?
 
@Luggage let me check if it's up yet. It wasn't instant
 
@SomeKittensUx2666 No, editor in browser is an unsolvable problem
 
m59
10:28 PM
I've gotta have an html page with my dependencies included
 
funkytaco.github.io still isn't up @Luggage
 
ok, i'll wait. Not even sure i did it right, yet.
jsut make a new repo, put an inde.xhtml in it and pushed a gh-pages branch
 
m59
So, I need this most of the time: jsbin.com/vumuy/1/edit
 
If you didn't use the wizard, I think it needs to be [username].github.io for the repo name, based on what I just read.
 
m59
By the time I get that setup with gulp in a project, I have a website within the project itself
 
10:30 PM
@SomeKittensUx2666 But for quickly sharing code it's actually nice
 
@m59 I use jsbin (or more likely jsfiddle) when i want to share code or get help. I don't do real development in it
well, to try an idea sometimes
 
m59
do you see what I mean, though? Sure, I usually use gulp, but it's the same thing
 
<goes to look up what gulp is>
 
m59
grunt?
 
@copy EGAD! A complement from Copy! I'll alert the media
 
10:31 PM
I use grunt. Gulp seems somewhat similar.
at least after 5 seconds on the home page
 
m59
Gulp is a lot faster.
 
I'll take your word for it.
 
that's like saying "Our bricks cure faster" when what you're really waiting for is the cement in between.
 
m59
Anyway, what I was saying is that if I'm starting a dev server and running an html file to actually write anything, that's already a website for gh pages
 
if you are using gh-pages to test a web-app, you might be using it wrong
it's to host static sites. Usually sites ABOUT your project.
 
m59
10:33 PM
Not what I meant
I'm terribly obsessive =D
 
my page finally appeared.
 
m59
Dang I need an in-person dev friend.
Too hard to type out my thoughts.
 
just make the branch and push it. then wait a few minutes
 
@copy 404, did you publish it?
 
10:36 PM
@m59 are you a hobbyist?
 
the only wa yto make progress is to see what happens and adjsut your actions to change the outcome
 
@m59 You'll really like what Runnable has in store next. Staging as a Service
 
m59
@taco no
 
oh ok
 
m59
Why?
 
10:36 PM
@SomeKittensUx2666 I can't do that anonymously?
 
@copy Not as far as I know
good feature request
 
m59
I'm the only employee of my company @taco
 
@m59 Ok makes sense now.
 
Also known as 'unemployed'. j/k :)
 
There are cheap VM's you could rent
 
m59
10:37 PM
basically I have a contract with my employer to build something
 
We're pretty expensive
 
@taco who's "we"?
 
PEER 1
 
@SomeKittensUx2666 While you're at it, you could also make more obvious that the snippet is private
 
you make that gh-pages branch and push, yet?
 
m59
10:38 PM
nah, I don't feel like fixing my gulpfile for all that at the moment
still obsessing over some things
 
your gulpfile is immaterial.
 
m59
no index.html without it
 
ok
 
Our Zunicore product is affordable, though, zunicore.com but it's unmanaged
 
m59
it's jade
 
10:39 PM
gulp doesn't SOUND faster than grunt. :)
 
@taco Are you guys in the acquiring mood?
 
Haha
 
m59
Oh, it'd take 2 minutes, but I'm literally too obsessed with other stuff to stop haha
 
Well, I can do it in grunt in 1.9 minutes.
 
@SomeKittensUx2666 doubt we would as we're under the umbrella of a cable company. Runnable seems pretty cool though
 
10:41 PM
@taco ewww
 
I would commit seppuku if we were Comcast, though
 
You shouldn't tell people that. It's like saying you did a little contract work for the Nazis.
hah, i work for a big evil corporation, too.
 
Which one?
 
not all big corporations are evil, but mine is.
Xerox
 
Xerox invented the mouse though
 
10:43 PM
Xerox Palo Alto rResearch. different company.
 
Ah, ok
 
They were once the same, though
 
Yeah, they spawned alot of awesome shit. That Mother of All Demos video is amazing
 
Xerox is evil? I thought they were just old.
 
@SomeKittensUx2666 Cogeco
 
10:45 PM
Maybe not all of Xerox, but my only experience is bad. Stripping every benefit we had before we were acquired, horrible Bureaucracy, etc.
 
Ouch. So internally evil
 
they make arbitrary rules.. like what type of servers we have to buy, etc.
 
In Node, how can I tell if a given string filepath resolves to a higher directory? i.e. asdf/../.. does but ./asdf/pants/../leggings doesn't
without resorting to some hacking with path
 
anyway.. i could go on. but i'll move on
 
Gonna head out
 
10:48 PM
wait, path.normalize how did I skip that?
later, @taco
 
@SomeKittensUx2666 maybe use path.relative('.', to) where to is your path you're trying to check?
If it's above the cwd it would begin with .. I would think
. would be current working directory
 
m59
@Luggage @Loktar can verify that gulp is faster :)
On principal, it just has to be.
that doesn't mean gulp is better and all..
just preference
I don't use it for the speed (trivial anyway)
 
for me the speed wasn't trivial at all
was a matter of seconds vs ms
but yeah other than that definitely just preference
 
Faster at what?
 
10:58 PM
I prefer gulp personally because its writing code, rather than configurations
 
The code the does things like, say, compile your jade, is not gulp
 
@Luggage less compilation was one major point where it was faster
also js minification
but the next vs of grunt (0.5 I think?) will have streams as well
 
faster to setup or faster to build your project?
 
The Uberfication of everything is turning San Francisco into an assisted living community for the young. #youngisthenewold
 
faster to build @Luggage
 
10:59 PM
@Loktar do you use browserify?
 
@SomeKittensUx2666 yea
 
How does that compare in gulp?
 
I assumed that most of my build time was the coffeescript and jad compilers.
Not grunt.
 
runs great
 
in build time?
 
11:00 PM
gulp/grunt shouldnt make a diff with browserify though since it runs through browserify seperately
 
build time is fine, but in fairness I haven't used browserify with grunt
 
m59
@Loktar you're right, tasks are much faster
 
also I'm not using watchify (I'm using the build in gulp watcher), which I really should
 
2.62 seconds is my current build time. I'll just have to live with that until I have to time re-do my build process.
 
Yeah, that's the main bottleneck in our build
 
random article on it, youll find tons like it, node streams give gulp the major edge
but grunt will be using streams very soon last I heard, next major release
/me goes to eat dinner
 
user2620028
Whats up guys. Just sold my dirt bike and now im a little sad :/
 
@AaronSiciliano go code
 
11:18 PM
hellooo
 
you again
 
yes. me.
 
@AbhishekHingnikar ping, I have a request of you. msg me when you get this
 
Semver is weird.
Holy cow, 142 downloads in one day!
 
@SomeKittensUx2666 Lucky. Ours is the slow as shit typescript compiler...
 
11:51 PM
> the game itself is abover average
 

« first day (1418 days earlier)      last day (3528 days later) »