--- Log opened Thu Jan 23 00:00:44 2014 |
00:01 | <@himi> | Hey git people, I want to check out a particular tagged version of the code in a git repo - what's the magic incantation to achieve this? |
00:02 | <&McMartin> | git checkout {tagname} |
00:02 | <&McMartin> | No braces in the text |
00:02 | <&McMartin> | tag names are "commit-ish"es. |
00:04 | <@himi> | . . . oh |
00:04 | <@himi> | Okay, that makes sense |
00:05 | <&McMartin> | You will probably get warnings about "floating head"; this is because you aren't at the tip of any branch anymore. |
00:05 | <@himi> | Which is unusual for git |
00:06 | <@himi> | Yeah |
00:06 | <@himi> | Anyway, I've got the stuff I need right now, so thanks |
00:11 | | gnolam_ [lenin@Nightstar-usbajb.cust.bredbandsbolaget.se] has joined #code |
00:11 | | gnolam [lenin@Nightstar-usbajb.cust.bredbandsbolaget.se] has quit [NickServ (RECOVER command used by gnolam_)] |
00:11 | | gnolam_ is now known as gnolam |
00:11 | | mode/#code [+o gnolam] by ChanServ |
00:15 | < RichyB> | fish |
00:15 | < RichyB> | fish |
00:15 | < RichyB> | fish! |
00:15 | < RichyB> | fish is amazing. :D |
00:15 | <&McMartin> | ? |
00:16 | < RichyB> | fish is the "friendly, interactive shell". |
00:17 | < RichyB> | http://fishshell.com/ âFinally, a command line shell for the 90s.â |
00:17 | <&McMartin> | "Web-based configuration" |
00:17 | <&McMartin> | wat |
00:17 | <&McMartin> | also wat |
00:17 | < RichyB> | It does all sorts of fancy highlighting, tab completion stuff. |
00:17 | <&McMartin> | I am kind of getting a geocities vibe from its use of color, and I don't mean that kindly~ |
00:18 | < RichyB> | That's a slightly silly way of phrasing: when you type "fish_config", it fires up a tiny web app and runs "firefox http://localhost:8000/" so that you can have a HTML GUI instead of ncurses shit. |
00:19 | < RichyB> | The actual command syntax is close enough to Bourne but with a load of brain-damage helpfully omitted |
00:20 | < RichyB> | and instead of spending ages downloading, configuring and one-by-one turning on hundreds of slow-assed bash extensions, you just type "fish" and all the nice stuff immediately works. |
00:21 | < RichyB> | I'm comparing this with zsh, which nominally is supposed to have various shell superpowers too, but which can go rot in a hole for all I care because every single time someone has told me, "zsh is great, you can do $x just by typing $y", something weird happens instead of $x. |
00:22 | < RichyB> | also it does a bunch of neat things like watches the contents of ~/.config/fish/functions/*.fish and automatically re-reads function definitions from there. |
00:23 | < RichyB> | The design comes out way cleaner. e.g. instead of the legacy screwball that is Bourne's PS1, you just write a function into ~/.config/fish/functions/fish_prompt.fish, which spits some bytes to stdout. |
00:23 | <@Shiz> | RichyB â It does all sorts of fancy highlighting, tab completion stuff. |
00:23 | <@Shiz> | so... zsh? |
00:24 | <&McMartin> | 16:17 < RichyB> I'm comparing this with zsh, which nominally is supposed to have various shell superpowers too, but which can go rot in a |
00:24 | <&McMartin> | hole for all I care because every single time someone has told me, "zsh is great, you can do $x just by typing $y", something |
00:24 | < RichyB> | Shiz, yeah, only it works and I didn't have to fuck around with masses of shit. |
00:24 | <&McMartin> | weird happens instead of $x. |
00:24 | < RichyB> | or anything, really |
00:24 | <@Shiz> | works for me and i didn't have to fuck around with anything |
00:24 | <@Shiz> | maybe you're doing it wrong |
00:24 | <&McMartin> | His entire point is that there's less to go wrong, yes |
00:25 | <@Shiz> | hey, whatever makes you productive |
00:26 | < RichyB> | 1. yum install zsh. 2. zsh. 3. (shitty ncurses app, hit appropriate-sounding options). 4. I'd like some fancy colours in my terminal prompt, how do I do that? 5. look up instructions. 6. instructions don't work. 7. ask someone. 8. instructions still don't work. 9. mfw. :| |
00:27 | <@Shiz> | see your first mistake is not installing zprezto |
00:27 | <@Shiz> | :p |
00:27 | < RichyB> | yeah, that's a fundamentally pants approach |
00:27 | < RichyB> | you're just asking me to repeat steps 7 through 9 there. |
00:28 | <@Shiz> | not really |
00:28 | < RichyB> | On the opposite paw, configuring fish is just, 1. "fish". 2. "fish_config", click on some shiny buttons in a trivial HTML GUI that looks like it was designed in 1995, a steep improvement over 1970. 3. oh cool I now have colours in my prompt. 4. oh hey, this is an editable script. 5. (clickity). 6. sweet, now it diplays one of a variety of different unicode cat faces depending on what state the nearest git repo is in |
00:28 | <@Shiz> | i'm asking you to skip over step 4 to 9 and replace them by 'install zprezto' 'read the readme that will tell you to do prompt -l' |
00:29 | < RichyB> | Note that everything was working acceptable by the end of step 1, *well* by the end of step 3, beautifully by step 6. |
00:29 | < RichyB> | s/acceptable/acceptably/ |
00:35 | < thalass> | Toronto Maple Leafs sweater: Check. Conductive fingertip gloves: Check. Drinking Molson's beer: check. Am i Canadian yet? :P |
00:35 | < thalass> | oops wrong channel |
00:39 | | You're now known as TheWatcher[T-2] |
00:45 | < RichyB> | thalass, *conductive* gloves? |
00:45 | < RichyB> | Oh ha, for touchscreens. |
00:45 | < RichyB> | Apparently in theory you can use a sausage. |
00:45 | < thalass> | Yes. It hurts to use my phone outside :P |
00:45 | < RichyB> | No I have not tried this. |
00:45 | <@TheWatcher[T-2]> | thalass: you can't be canadian |
00:45 | < thalass> | I need to try that |
00:45 | <@TheWatcher[T-2]> | you didn't /apologise/ for the mischan~ |
00:46 | < thalass> | Oh yes, true. |
00:46 | | You're now known as TheWatcher[zZzZ] |
01:01 | | AbuDhabi1 [AbuDhabi@Nightstar-1q2q7e.tmi.telenormobil.no] has quit [Connection reset by peer] |
01:17 | | Derakon[AFK] is now known as Derakon |
02:41 | < [R]> | <jeroud> My least favourite "feature" of JSON is the prohibition on trailing commas. <jeroud> There is no good reason for that at all. <-- JSON used to be parsed with eval(), real browsers could handle that. The steaming pile of shit that pretends to be a browser does not. Same as why every other web-tech was crippled for years. |
02:51 | <&McMartin> | The flaw isn't with JSON, but with the JS that JSON is explicitly a subset of~ |
02:57 | < [R]> | Aye |
03:00 | <&McMartin> | Well |
03:00 | <&McMartin> | "The flaw is that JSON decided to be a subset of JS" |
03:01 | < [R]> | The shitty part is they added restrictions JS didn't have. |
03:01 | < [R]> | Like: {a:1} being invalid JSON, but legit JS. |
03:01 | < [R]> | Because I want to double-quote everything. |
03:01 | < [R]> | So much |
03:01 | < [R]> | I just love me them double quotes. |
03:01 | < thalass> | i smell like poopoo |
03:01 | < [R]> | </orange> |
03:02 | < [R]> | thalass: don't go rolling around in press releases then. |
03:03 | < thalass> | OMG |
03:03 | < thalass> | Damn wives |
03:03 | < thalass> | *wife |
03:03 | < thalass> | haha |
03:06 | < macdjord> | thalass: If you've got multiple that might explain why they are trolling you~ |
03:07 | | * thalass laughs |
03:15 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
03:15 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
03:36 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
05:01 | | Derakon is now known as Derakon[AFK] |
05:03 | | Turaiel[Offline] is now known as Turaiel |
05:08 | | Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code |
05:15 | | RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
05:18 | | RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
05:48 | | ErikMesoy|sleep is now known as ErikMesoy |
05:54 | | Turaiel is now known as Turaiel[Offline] |
05:58 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has quit [[NS] Quit: Going dooooown...] |
06:09 | | Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: BED] |
06:12 | | Kindamoody[zZz] is now known as Kindamoody |
06:33 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
06:36 | | himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds] |
06:38 | | thalass is now known as Thalass|omgsleep |
06:49 | | Thalass|omgsleep [thalass@Nightstar-bce70i.eastlink.ca] has quit [Ping timeout: 121 seconds] |
06:56 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
07:05 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
07:16 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:05 | <@Tarinaky> | Of late I think I've been using CSVs more than JSON... |
08:05 | <@Tarinaky> | Although CSV is a lot more limited. |
08:05 | <@Tarinaky> | But simpler. |
08:09 | <@froztbyte> | for what kind of use? |
08:19 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
08:33 | <@Tarinaky> | Reading in (tabulated) data. |
08:33 | <@Tarinaky> | Is there any other use for a csv? |
08:41 | | Kindamoody is now known as Kindamoody|out |
09:06 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
09:06 | | mode/#code [+o himi] by ChanServ |
09:17 | | Derakon[AFK] [Derakon@Nightstar-cb57nb.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
09:24 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
09:27 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has quit [Ping timeout: 121 seconds] |
09:31 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
09:31 | | mode/#code [+o himi] by ChanServ |
09:32 | | Derakon [Derakon@Nightstar-cb57nb.ca.comcast.net] has joined #code |
09:32 | | mode/#code [+ao Derakon Derakon] by ChanServ |
09:32 | | You're now known as TheWatcher |
10:06 | < JustBob> | Hrm. |
10:06 | < JustBob> | So, should I do newton-raphson or bisection? To solve this iterative problem, that is. |
10:09 | <@gnolam> | Well, what kind of problem is it? |
10:10 | <@gnolam> | If you can get away with simple bisection, then there's no need to use a better solver. |
10:10 | < JustBob> | Fairly simple two-variable, one-equation design with the need to find obscene roots. |
10:11 | < JustBob> | But my real goal, so to speak, is to make the TA cry like a bitch. |
10:11 | < JustBob> | (I can actually solve this problem by hand or guess-and-check. It takes three or four easy iterations.) |
10:11 | < JustBob> | What I want to do is throw enough MatLab at this TA to make him stare at me (since I sit next to him in class) and ask me to stop doing that. |
10:35 | < RichyB> | JustBob, IMO, try Newton-Raphson first and then something else iff that doesn't work. |
10:35 | < RichyB> | N-R is beautiful. :) |
10:37 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
10:45 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
10:45 | | mode/#code [+o himi] by ChanServ |
10:57 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has joined #code |
10:57 | | mode/#code [+o Orthia] by ChanServ |
11:36 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Connection closed] |
11:59 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
12:33 | < JustBob> | Whelp. |
12:33 | < JustBob> | Now that I actually started it. |
12:33 | < JustBob> | I stare at it blankly and with rage. |
12:33 | < JustBob> | Because it tells me that the depth is 58,000 meters. |
12:33 | < JustBob> | When, uh. It should be a tiny fraction of that. |
13:00 | | * TheWatcher stabs twitter in the head for their ridiculous API limits |
13:09 | | Kindamoody|out is now known as Kindamoody |
13:09 | < JustBob> | Herpaderpa. |
13:10 | < JustBob> | The equation required flow in m^3/sec, and I was dumb and decided to do it in m^3/day. |
13:10 | < JustBob> | That whole "off by a factor of 86400" bit is kinda important, apparently. |
13:13 | < RichyB> | But hey, what's 5½ times the depth of the Mariana Trench between friends, huh? |
13:22 | < JustBob> | It gets lost in the rounding errors. |
13:24 | <@TheWatcher> | Just say that you're looking at it from an astrophysics perspective |
13:24 | <@TheWatcher> | A 5.5 times error? Totally acceptable |
13:29 | < RichyB> | 5.5 times the depth of the Mariana trench. |
13:30 | < RichyB> | I have a feeling that the actual answer that JustBob was computing is <1m. |
13:30 | <@TheWatcher> | Yeah, that, I'm only partially here, the rest of me is hairpulling anf frothing at twitter |
13:34 | < JustBob> | 0.841 meters, to be precise. |
13:53 | <@TheWatcher> | Still acceptable error to astophysicists~ |
14:01 | | Thalass|omgsleep [thalass@Nightstar-bce70i.eastlink.ca] has joined #code |
14:01 | | Thalass|omgsleep is now known as Thalass |
14:09 | | AbuDhabi_ [AbuDhabi@Nightstar-4b1nel.tmi.telenormobil.no] has joined #code |
14:19 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code |
14:19 | | mode/#code [+o celticminstrel] by ChanServ |
15:00 | | * TheWatcher arghs at Net::Twitter, fucking thing doesn't include the x-rate-limit-remaining response header data |
15:01 | | * TheWatcher may have to fork it just to get that data in there >.< |
15:01 | <@TheWatcher> | Forking thing. |
15:08 | | Turaiel[Offline] is now known as Turaiel |
15:35 | | Kindamoody is now known as Kindamoody|afk |
15:52 | | * TheWatcher gives up, forks it, adds the 6 lines necessary |
15:52 | | Turaiel is now known as Turaiel[Offline] |
16:27 | | Turaiel[Offline] is now known as Turaiel |
16:46 | | Kindamoody|afk is now known as Kindamoody |
17:32 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
17:54 | <@Azash> | http://gcc.gnu.org/ml/gcc/2014-01/msg00176.html |
19:30 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
19:30 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:38 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code |
19:38 | | mode/#code [+o celticminstrel] by ChanServ |
20:27 | | Kindamoody is now known as Kindamoody[zZz] |
--- Log closed Thu Jan 23 21:28:47 2014 |
--- Log opened Thu Jan 23 21:28:55 2014 |
21:28 | | TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code |
21:28 | | Irssi: #code: Total of 41 nicks [20 ops, 0 halfops, 0 voices, 21 normal] |
21:28 | <&McMartin> | OTOH I would not put it past nVidia to make its driver tweaks Steam-aware. |
21:28 | | mode/#code [+o TheWatcher] by ChanServ |
21:29 | | AbuDhabi_ [AbuDhabi@Nightstar-4b1nel.tmi.telenormobil.no] has quit [Ping timeout: 121 seconds] |
21:29 | | Irssi: Join to #code was synced in 38 secs |
21:32 | < AbuDhabi1> | Hmmm. I have heard that it is possible to set up PuTTY to automagically connect me, without me having to give login/password credentials every time, to a *nix shell account. |
21:32 | < AbuDhabi1> | How do I do that, if possible? |
21:34 | <@Tamber> | Keys. |
21:35 | <@Tamber> | You can tell PuTTY to provide a username automatically -- I think it's under 'Data', but I can't say for definite right now. |
21:35 | <@Tamber> | Exactly how you do the keys with putty, though, I don't know. |
21:41 | < AbuDhabi1> | OK. BRB, while I set up my new remote irssi. |
21:41 | | AbuDhabi1 [AbuDhabi@Nightstar-4b1nel.tmi.telenormobil.no] has quit [[NS] Quit: leaving] |
21:42 | | abudhabi_ [abudhabi@Nightstar-7nkq9k.de] has joined #code |
21:42 | | * abudhabi_ arises. |
21:46 | | abudhabi_ [abudhabi@Nightstar-7nkq9k.de] has quit [[NS] Quit: Lost terminal] |
21:49 | | * TheWatcher eyes these test files, sighs |
21:50 | <@TheWatcher> | I think one of the big problems I have with writing tests for some kinds of modules is how horribly contrived they are |
21:52 | | abudhabi_ [abudhabi@Nightstar-7nkq9k.de] has joined #code |
21:52 | <@TheWatcher> | Classes are designed to interact with a web API? And it requires access authorisation, so you can't do it from openly distributed test files? Just replace the LWP::UserAgent handler with your own request handler that always returns successes! |
22:00 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
22:02 | | * abudhabi_ is quite pleased. |
22:03 | < abudhabi_> | Earlier this week I've printed out an image macro on a neighbour's printer, cut and sticky taped it into a postcard, and sent it for 13kr to Germany, and for this, I get a lifetime lease on a shell account. |
22:05 | <@Reiv> | ... you wot |
22:06 | < abudhabi_> | https://freeshell.de/?page_id=197 |
22:09 | | Turaiel is now known as Turaiel[Offline] |
22:09 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:30 | | Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has quit [Ping timeout: 121 seconds] |
22:33 | | Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has joined #code |
22:33 | | mode/#code [+o Syloq] by ChanServ |
22:39 | | Turaiel[Offline] is now known as Turaiel |
23:08 | | Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has quit [Ping timeout: 121 seconds] |
23:09 | | Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has joined #code |
23:09 | | mode/#code [+o Syloq] by ChanServ |
23:15 | | ErikMesoy is now known as ErikMesoy|sleep |
23:41 | | himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code |
23:41 | | mode/#code [+o himi] by ChanServ |
23:53 | | Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has quit [[NS] Quit: .] |
23:53 | | Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has joined #code |
23:53 | | mode/#code [+o Syloq] by ChanServ |
--- Log closed Fri Jan 24 00:00:49 2014 |