--- Log opened Sun Mar 18 00:00:50 2018 |
02:52 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
02:52 | | mode/#code [+qo Vornotron Vornotron] by ChanServ |
03:02 | <&McMartin> | Victory, ish. https://www.dropbox.com/s/pq1i0xfo6yxt2c8/sprcont.smd?dl=1 |
03:08 | <&McMartin> | Complete, if simple, music driver in 125 bytes of code and 6 bytes of player state. |
03:22 | <~Vornotron> | it's a sprite and controller test! |
03:22 | <~Vornotron> | With nyancat! |
03:25 | <&McMartin> | The NyanCat animation could probably be done pretty well with sprites for the head and legs, Scroll Layer A for the pop tart and maybe the rainbow too, and then Scroll Layer B for the stars. |
04:09 | | Vornlicious [Vorn@Nightstar-2esek4.sub-174-211-10.myvzw.com] has joined #code |
04:12 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
04:14 | | Derakon is now known as Derakon[AFK] |
05:12 | | mac is now known as macdjord|slep |
07:09 | | celticminstrel is now known as celmin|sleep |
09:11 | | Kindamoody[zZz] is now known as Kindamoody |
11:12 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
14:28 | | Kindamoody is now known as Kindamoody|afk |
14:41 | | Vornlicious [Vorn@Nightstar-2esek4.sub-174-211-10.myvzw.com] has quit [[NS] Quit: Bye] |
14:41 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
14:54 | | celmin|sleep is now known as celticminstrel |
14:56 | | macdjord|slep is now known as macdjord |
15:01 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [[NS] Quit: Live Long and Prosper.] |
15:12 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
15:12 | | mode/#code [+o macdjord] by ChanServ |
15:53 | | Degi [Degi@Nightstar-7vris9.dyn.telefonica.de] has joined #code |
17:03 | <@macdjord> | Batch scripting question: I need to find the PID of all running processes with the image name 'foo.exe', then execute the command 'bar.exe [PID]' for each PID found. How do I do this? |
17:06 | <~Vornotron> | ps -C foo.exe | xargs bar.exe |
17:06 | <~Vornotron> | need more formatting options, see what you get with ps |
17:07 | <@macdjord> | Vornotron: Batch, not bash. |
17:07 | <~Vornotron> | oh batch, meh |
17:07 | <&[R]> | $ ps -C bash -o pid,comm |
17:07 | <&[R]> | Derp |
17:07 | <&[R]> | Install WSL to have decent tools |
17:36 | <~Vornotron> | https://imgur.com/gallery/mqiLD |
17:44 | <@celticminstrel> | Kinda wish I had pushd and popd on the mac, it's pretty convenient. |
17:44 | <@celticminstrel> | I mean I can easily get the same effect, but not in quite as convenient a way. |
17:45 | <@macdjord> | celticminstrel: Write scripts that do it, name them that, drop them in some folder in your path? |
17:46 | <@celticminstrel> | I think a pushd/popd script pair might actually be very complicated... |
17:46 | <&[R]> | Doesn't Mac OS X ship with zsh? |
17:46 | <@celticminstrel> | Unless there's some way of storing information associated with your terminal login session that's zapped when you close the terminal. |
17:47 | <@celticminstrel> | It does, apparently. |
17:49 | <&ToxicFrog> | celticminstrel: environment variables are exactly that |
17:49 | <@celticminstrel> | Oh come to think of it, I guess they are? |
17:49 | <&ToxicFrog> | And yeah, zsh and bash should both have pushd/popd |
17:50 | <@celticminstrel> | ...wait, bash has it? |
17:50 | <&ToxicFrog> | And if not, writing it yourself as shell functions using an envar should be easy enough |
17:50 | <&ToxicFrog> | yes |
17:50 | <@celticminstrel> | Well, I guess my bash is too old then. |
17:50 | <@celticminstrel> | Or wait. |
17:50 | <&ToxicFrog> | It's had it since at least 2009 |
17:50 | <@celticminstrel> | "pushd: no other directory" doesn't sound like an error for an unrecognized command. XD I guess I should've read the error message before concluding it wasn't supported. |
17:54 | <&[R]> | Mac OS X ships a few things that are astoundingly old |
17:54 | <&[R]> | IIRC bash is one of them |
17:54 | <@celticminstrel> | My Mac OS X is itself "astoundingly" old though. |
17:54 | <&[R]> | IIRC because that's the last release before a change in licences. |
17:55 | <&[R]> | ... you made me check if I spelled it right :/ |
17:55 | <@celticminstrel> | ? |
17:55 | <@celticminstrel> | Oh, it's quoted because I don't know if it quite qualifies as astounding but I wanted to reuse your phrasing. |
18:20 | | Emmy is now known as Emmy-Noms |
18:48 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
19:01 | | Emmy-Noms is now known as Emmy |
19:08 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
20:40 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving] |
20:44 | | Kindamoody|afk is now known as Kindamoody |
21:03 | | * TheWatcher thumbtwiddles while unity updates |
21:14 | <&McMartin> | Is this the game engine or one of the like five other technologies with that name? |
21:49 | <@TheWatcher> | The game engine |
21:50 | <@TheWatcher> | I've been slowly learning it and c# |
22:29 | | Degi [Degi@Nightstar-7vris9.dyn.telefonica.de] has quit [Connection closed] |
22:36 | | Derakon[AFK] is now known as Derakon |
22:51 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
22:52 | | mode/#code [+o mac] by ChanServ |
22:54 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
23:09 | | Vornlicious [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
23:12 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
23:13 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
--- Log closed Mon Mar 19 00:00:51 2018 |