rmg51 | Morning | 09:23 |
---|---|---|
ChinnoDog | Morning | 11:50 |
teddy-dbear | Morning peoples, dogs, turkeys, hamsters and everything else | 12:10 |
jedijf | what's fosscon? www.fosscon.us/Attend | 12:10 |
teddy-dbear | must be something jedijf keeps sending emails about :-/ | 12:11 |
jedijf | lol | 12:13 |
jedijf | you unfortunately will be getting more | 12:13 |
jedijf | i did apologize yesterday......must not have /meant/ it \o/ | 12:14 |
teddy-dbear | not me! I don't get any :-D | 12:15 |
MutantTurkey | JonathanD: the fosscon site is bonkers | 14:23 |
MutantTurkey | the speaker list has links and thy're all forbidden | 14:23 |
JonathanD | MutantTurkey: just fixed | 14:25 |
MutantTurkey | so we have waltman pleia2 ? | 14:26 |
MutantTurkey | anyone else giving a talk here? | 14:27 |
JonathanD | MutantTurkey: you | 14:32 |
jedijf | MutantTurkey: just *you* are forbidden | 14:38 |
MutantTurkey | JonathanD: thanks | 14:42 |
MutantTurkey | jedijf: 'talk info now up | 14:52 |
jedijf | MutantTurkey: thanks; just finished spamming around the globe | 14:55 |
jedijf | social listy - leaflets | 14:56 |
JonathanD | MutantTurkey: are you registered? | 14:56 |
JonathanD | MutantTurkey: if you register now, you'll be number 200! | 14:56 |
jedijf | yesterday | 14:57 |
jedijf | JonathanD: hold off til noon forthe next drumroll | 14:57 |
MutantTurkey | i am | 14:57 |
MutantTurkey | can i register again? | 14:57 |
JonathanD | Does that mean I can take a nap? | 14:57 |
JonathanD | MutantTurkey: if you bring someone with you :P | 14:58 |
MutantTurkey | company -> Chernobyl Poultry Associates Inc | 14:58 |
MutantTurkey | LLC | 14:58 |
MutantTurkey | low-level-chicken | 14:58 |
MutantTurkey | ♫ rollin west philly, listening to big willie, driving my mini-van, afraid of getting pulled ova in lower merion, ♫ | 15:00 |
waltman | Is that a song? | 15:03 |
MutantTurkey | i just made it up | 15:05 |
JonathanD | MutantTurkey's talk is on making up music on the fly. | 15:06 |
MutantTurkey | DJ Nucleo-BASS | 15:06 |
qtrain | Hello everyone. Can anyone help with a quick $PATH issue? http://askubuntu.com/questions/508655/installing-a-script-in-path | 15:14 |
MutantTurkey | surely | 15:15 |
MutantTurkey | here's the solution, well it doesn't work like that | 15:16 |
MutantTurkey | you are trying to run 'yo' right? | 15:16 |
MutantTurkey | so you need to mark the head of the cli.js file with a proper shebang (it might be there), and chmod +x it | 15:16 |
JonathanD | Howdy qtrain | 15:16 |
MutantTurkey | not to familiar with with node though | 15:17 |
qtrain | JohathanD: Hi! | 15:17 |
qtrain | MutantTurkey: Yes trying to run yo | 15:17 |
MutantTurkey | maybe a symlink would work best here, in addition to that | 15:18 |
MutantTurkey | my guess is there are several js files? | 15:18 |
MutantTurkey | at the top of your cli.js file you should put a shebang like this | 15:18 |
MutantTurkey | #!/usr/bin/env node | 15:18 |
MutantTurkey | then chmod +x cli.js | 15:18 |
MutantTurkey | then ln -s cli.js /usr/bin/yo | 15:19 |
qtrain | MutantTurkey: yes cli.js and yoyo.js and a subdirectory node_modules | 15:19 |
MutantTurkey | right | 15:19 |
MutantTurkey | so first, | 15:19 |
qtrain | running node cli.js brings up the generator | 15:19 |
MutantTurkey | head -n 1 cli.js | 15:19 |
MutantTurkey | what do you see? | 15:19 |
MutantTurkey | $ head -n 1 cli.js # run this | 15:19 |
MutantTurkey | if you come to fosscon we can help :p | 15:19 |
qtrain | #!/usr/bin/env node | 15:19 |
MutantTurkey | great! | 15:19 |
MutantTurkey | now | 15:19 |
MutantTurkey | chmod +x cli.js | 15:19 |
MutantTurkey | that will set it 'executable' | 15:20 |
JonathanD | qtrain: indeed, come to fosscon! | 15:20 |
MutantTurkey | qtrain: did that work? | 15:20 |
MutantTurkey | $ chmod +x cli.js # run this | 15:20 |
qtrain | MutantTurkey: ran chmod command but yo still isn't returns command not found | 15:21 |
MutantTurkey | qtrain: you need to create a symlink to it now | 15:21 |
MutantTurkey | $ sudo ln -s cli.js /usr/bin/yo # run this | 15:21 |
MutantTurkey | #tbt to the time i didn't know anything about linux and told jedijf there was no such command as 'is' b/c is and ls look identical on the crappy tty fonts | 15:22 |
qtrain | MutantTurkey: ln: failed to create symbolic link ‘/usr/bin/yo’: File exists | 15:22 |
MutantTurkey | uh | 15:22 |
MutantTurkey | type which yo | 15:22 |
MutantTurkey | 'which yo' | 15:22 |
MutantTurkey | cat /usr/bin/yo | 15:22 |
MutantTurkey | ls -l /usr/bin/yo | 15:23 |
MutantTurkey | might already be a symlink | 15:23 |
MutantTurkey | you might need to chmod +X /usr/bin | 15:23 |
qtrain | which yo returns no output cat /usr/bin/yo returns no such file or directory | 15:23 |
MutantTurkey | ok so there is no /usr/bin/yo | 15:23 |
MutantTurkey | did you do it as root? | 15:23 |
MutantTurkey | with sude that is | 15:24 |
MutantTurkey | JonathanD: any ideas here? | 15:24 |
qtrain | sudo returns command not found for sudo /usr/bin/yo | 15:24 |
MutantTurkey | o | 15:24 |
MutantTurkey | no | 15:24 |
MutantTurkey | i mean the ln | 15:24 |
qtrain | ls -l /usr/bin/yo returns lrwxrwxrwx 1 root root 29 Aug 6 12:41 /usr/bin/yo -> ../lib/node_modules/yo/cli.js | 15:24 |
MutantTurkey | so it exists | 15:24 |
MutantTurkey | and ther's already a symlink for it | 15:24 |
JonathanD | MutantTurkey: not really. | 15:24 |
MutantTurkey | qtrain: what happens if you do /usr/bin/yo | 15:25 |
MutantTurkey | oh but that's a relative symlink, so i don't know about that | 15:25 |
qtrain | no such file or directory | 15:25 |
MutantTurkey | qtrain: is ls -l on the file red | 15:25 |
MutantTurkey | or indicate in some way the link is broken? | 15:25 |
qtrain | /usr/bin/yo -> ../lib/node_modules/yo/cli.js is all red | 15:25 |
MutantTurkey | right | 15:26 |
MutantTurkey | so that's a 'broken' link | 15:26 |
MutantTurkey | ok | 15:26 |
qtrain | ok gotcha | 15:26 |
MutantTurkey | so remove that | 15:26 |
JonathanD | MutantTurkey: I'll read scrollback when I have a few and see if it makes any sense :) | 15:26 |
MutantTurkey | because it points to nowhere | 15:26 |
MutantTurkey | then try to run the sudo ln -s cli.js /usr/bin/yo | 15:26 |
qtrain | ok not sure how to remove symlink. pretty new | 15:26 |
MutantTurkey | rm | 15:26 |
MutantTurkey | just like any other file | 15:27 |
qtrain | rm /usr/bin/yo? rm -r? | 15:27 |
MutantTurkey | rm /usr/bin/yo | 15:27 |
MutantTurkey | sudo !! if you need it | 15:27 |
qtrain | ok done. ls -l returns no such file | 15:28 |
MutantTurkey | you created the symlink? | 15:28 |
MutantTurkey | you cannot do a relative path in your symlink btw | 15:28 |
MutantTurkey | it needs to be | 15:28 |
MutantTurkey | /full/path/to/cli.js /usr/bin/yo | 15:28 |
qtrain | no not yet was just checking to make sure it was removed | 15:29 |
MutantTurkey | oh | 15:29 |
qtrain | ok so create symlink? | 15:29 |
MutantTurkey | ye | 15:29 |
qtrain | ln -s /home/qtrain/.node/lib/node_modules/yo/cli.js /usr/bin/yo | 15:30 |
qtrain | is that correct? | 15:30 |
MutantTurkey | yes | 15:30 |
qtrain | MutantTurkey: B-e-a-utiful Yo works. Thanks so much! | 15:32 |
MutantTurkey | surely | 15:33 |
MutantTurkey | FOSScon is the premire local open source even taking place at the Franklin institute tomorrow, and it's free! | 15:33 |
MutantTurkey | there's my plug | 15:33 |
qtrain | FOSScon? awsome! right outside of philly. I'll be there! | 15:34 |
waltman | yay | 15:36 |
MutantTurkey | waltman: still workin on cricket | 15:37 |
MutantTurkey | JonathanD: what's with the open block at 10 am? | 15:38 |
JonathanD | MutantTurkey: we're short a talk (maybe not though, waiting on confirmation) | 15:39 |
MutantTurkey | ah | 15:39 |
MutantTurkey | again, i have great free-form raps | 15:39 |
MutantTurkey | also can solve a rubiks cube | 15:39 |
MutantTurkey | i own a raspberry pi, so i am basically like richard stallman level of prophet | 15:40 |
qtrain | hahaha emacs is soo hard!! | 15:42 |
JonathanD | qtrain: don't forget to register! | 15:42 |
JonathanD | qtrain: https://secure.fosscon.us | 15:42 |
JonathanD | qtrain: it's free (or you can contribute and get a shirt) but we need reasonably accurate counts :) | 15:42 |
waltman | MutantTurkey: I can bring in a cube for you to solve! | 15:42 |
lazyPower | o/ | 15:45 |
lazyPower | good afternoon | 15:45 |
lazyPower | (almost) | 15:45 |
JonathanD | Howdy. | 15:45 |
JonathanD | lazyPower: are you coming to fosscon? | 15:45 |
qtrain | JonathanD: done thanks. | 15:46 |
lazyPower | i see the registration link - when is it? | 15:46 |
JonathanD | lazyPower: tomorrow. | 15:46 |
lazyPower | oh :( no, i'm going to the WPLUG picnic | 15:46 |
lazyPower | already promised to help out with provisioning/etc. | 15:46 |
lazyPower | man | 15:46 |
lazyPower | we need to coordinate with you guys | 15:46 |
lazyPower | thats it. i nominate myself to be the gopher for the PA LOCO and WPLUG | 15:47 |
lazyPower | plz plz plz ping me with events so i can relay them to our linux/bsd homies of WPLUG | 15:47 |
JonathanD | lazyPower: relocate picnic. How's a rooftop deck on the Franklin Institute sound? | 15:48 |
lazyPower | haha, already paid to reserve a shelter @ north park | 15:48 |
JonathanD | lazyPower: we'll cover the shelter cost :P | 15:48 |
lazyPower | maybe next year we can forego the picnic and go to fosscon instead. | 15:56 |
lazyPower | I'm about due for another philly steak | 15:56 |
lazyPower | https://lh3.googleusercontent.com/-Kdr88rxEW3A/U6RyM-4bnsI/AAAAAAAAJt8/PG59DP-JNlE/w1191-h881-no/IMG_20140618_201457.jpg | 15:56 |
MutantTurkey | WPLUG? | 17:34 |
MutantTurkey | west pa? | 17:34 |
MutantTurkey | shouldn't there be a super active pittsburgh lug? | 17:34 |
jedijf | MutantTurkey: that's it | 18:19 |
MutantTurkey | oh | 18:28 |
jedijf | saplug == wplug | 18:33 |
square-r00t | MutantTurkey: #wplug on freenode | 19:46 |
=== jedijf is now known as po_box | ||
=== po_box is now known as jedijf | ||
waltman | what's the sa stand for in saplug? | 20:45 |
waltman | er, the sap | 20:45 |
jedijf | super active pittsburgh lug | 20:47 |
waltman | aha | 20:53 |
MutantTurkey | got to hangout with the head of CS at CMU earlier this year | 20:57 |
MutantTurkey | we happen to be family friends! and there was a wedding so we spent some extended time at the wedding | 20:57 |
MutantTurkey | weird how people are just people | 20:57 |
waltman | MutantTurkey: who's the head of CS there? | 21:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!