--- Log opened Thu Aug 29 00:00:06 2019 |
00:07 | | gnolam [lenin@Nightstar-e3tf4i.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
00:11 | | Pinkhair is now known as Pink |
01:25 | | celmin|away is now known as celticminstrel |
02:11 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
02:11 | | mode/#code [+o himi] by ChanServ |
03:53 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
04:04 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
04:04 | | mode/#code [+o Reiv] by ChanServ |
04:24 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
05:07 | | VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
05:09 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Ping timeout: 121 seconds] |
05:28 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [[NS] Quit: This unit is entering a hibernation state.] |
05:33 | | JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
05:33 | | mode/#code [+o JustBob] by ChanServ |
05:39 | | Derakon is now known as Derakon[AFK] |
05:45 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code |
05:45 | | mode/#code [+o celticminstrel] by ChanServ |
06:11 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:15 | | Vorntastic [uid293981@Nightstar-2dc.p8m.184.192.IP] has joined #code |
06:15 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
06:20 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
06:23 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code |
07:24 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds] |
07:34 | | gnolam [lenin@Nightstar-e3tf4i.priv.bahnhof.se] has joined #code |
07:34 | | mode/#code [+o gnolam] by ChanServ |
07:59 | | * gnolam flails at The Hardest Problem. |
08:01 | <~Vorntastic> | Fancy_wismo |
08:04 | <@gnolam> | Naming Things is hard enough without the people requesting the feature changing their minds halfway through about what the feature should actually be. :P |
08:05 | <@ErikMesoy> | CustomerNames_Feature |
08:33 | <@gnolam> | Ehh, that gives me sebA/sebB/sebC vibes. |
08:34 | <@ErikMesoy> | What are those? |
08:41 | <@gnolam> | There was a project Derakon worked on where the previous developer had just named things after himself instead of anything descriptive. |
08:41 | <@gnolam> | Like sebA.py, sebB.py, sebC.py, etc. |
08:44 | <@ErikMesoy> | I can see how that would be a problem. |
08:44 | <~Vorntastic> | Oh my God I had blocked that from my memory |
08:46 | <@gnolam> | Anyway, https://i.imgur.com/HxbyfpZ.png |
08:49 | <&McMartin> | <3 |
09:19 | < Pink> | I guess seb heard of namespaces but decided the name said it all? |
09:20 | <~Vorntastic> | I mean my code is often named after me, like I have a lib named vornmath |
09:21 | <&McMartin> | Also Vornonoi, and Vorns Ahoy, and several other things |
09:21 | <~Vorntastic> | But that at least tells you what I'm after |
09:21 | <~Vorntastic> | Crossvorns |
09:21 | <&McMartin> | To be fair Vornonoi is the only possible name for that project |
09:21 | <&McMartin> | Also presumably you are already aware of this |
09:21 | <~Vorntastic> | Oh yes |
09:21 | <&McMartin> | But there is a brand of floor and desk fans by the name of VORNADO |
09:22 | <~Vorntastic> | I own one~ |
09:22 | <&McMartin> | Also, it is worth noting that the sebcode was not merely sequential letters. |
09:22 | <&McMartin> | They meant things about the modules |
09:22 | <&McMartin> | sebH, for example, was the module that held the "helpful" functions. |
09:23 | <~Vorntastic> | C'mon |
09:23 | <&McMartin> | This is technically no worse than the sadly omnipresent Utils.py module |
09:24 | <~Vorntastic> | Technically |
09:29 | <~Vorntastic> | I need to add more neat shit to vornmath but that's fallen off the back of the stove again |
10:34 | | VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving] |
10:34 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
10:34 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
10:52 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
10:53 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
10:53 | | mode/#code [+o himi] by ChanServ |
11:03 | | Kindamoody[zZz] is now known as Kindamoody|out |
13:15 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code |
13:15 | | mode/#code [+o celticminstrel] by ChanServ |
13:29 | | celticminstrel is now known as celmin|away |
14:05 | | Vorntastic [uid293981@Nightstar-2dc.p8m.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity] |
14:19 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
14:19 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
15:09 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:09 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:12 | <&ToxicFrog> | https://github.com/Apple-FOSS-Mirror/Libc/blob/2ca2ae74647714acfc18674c3114b1a5d3325d7d/gen/wordexp.c#L192 |
15:13 | <&ToxicFrog> | tl;dr apple libc implements (or used to implement) POSIX.1 wordexp(3) by shelling out to perl. |
15:20 | <~Vornicus> | what. |
15:33 | <@TheWatcher> | ahahahahha |
15:33 | <@TheWatcher> | That's awesome |
16:35 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
17:28 | < Yossarian> | $ sobriety.sh -l |
17:28 | < Yossarian> | 349 days, 23 hours, 28 minutes, 5 seconds |
17:28 | < Yossarian> | 4 'errors' accumulated |
17:37 | <~Vornicus> | ??? |
17:48 | <&[R]> | Errors being prescribed stuff? |
18:07 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
18:31 | | Kindamoody|out is now known as Kindamoody |
19:59 | <&[R]> | # sed 's/$'"/echo \\\r/" input.txt > output.txt |
19:59 | | * [R] cringes |
20:00 | <&[R]> | From: http://www.xappsoftware.com/wordpress/2009/04/09/dos2unix-using-sed-how-to-remove-m-chars-from-a-dos-file/ |
20:01 | | Derakon[AFK] is now known as Derakon |
20:02 | <&[R]> | `echo | sed 's/$/\r/g' | xxd` and `... | sed 's/\r$//g' | xxd` are what you'd want |
21:17 | <&McMartin> | [R]: I don't remember the exact invocation, but I remember someone won an Obfuscated Perl context with a dos2unix implementation |
21:17 | <&McMartin> | ... in zero lines of Perl |
21:18 | <&McMartin> | Because you could make it happen with commandline options alone, none of which were -e |
21:25 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
21:25 | | mode/#code [+o Reiv] by ChanServ |
21:39 | <&[R]> | Nice |
21:40 | <&[R]> | If you make a certain assumption, you can do it with tr |
21:40 | <&[R]> | Or cut (but that'll damage the data even more if the assumption is wrong |
21:41 | <@Reiv> | what's this? |
21:41 | <&McMartin> | Some of my lazy retrocomputing lately has involved the 8-bit Atari systems, which for some godforsaken reason uses 0x9b as its newline |
21:41 | <&McMartin> | Reiv: Conversion from DOS/Windows/Internet Standard \r\n line endings to \n Unix ones. |
21:41 | <&[R]> | Reiv: https://termbin.com/fqwd |
21:43 | | * Vornicus checks c64, 0x0d |
21:44 | <&McMartin> | Yeah, \r alone was the microcomputer standard |
21:44 | <&McMartin> | And honestly |
21:44 | <&McMartin> | Most early DOS programs I can think of used \r as being the "real" return. |
21:45 | <&McMartin> | Definitely in BASIC if you were trying to print a newline you did it with PRINT CHR$(13). |
21:45 | <&McMartin> | Er, in GW-BASIC |
21:46 | <&McMartin> | Now I'm curious if that was a BASIC quirk or not. |
21:46 | <&McMartin> | \r alone is now usually marked as "Mac newline" despite the fact that no Mac has used bare \r as a newline for approximately 20 years |
21:55 | | Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code |
21:55 | | * McMartin looks at man perlrun |
21:55 | <&McMartin> | OK, I can't get it to work |
21:56 | <&McMartin> | But I'm pretty sure that dos2unix in zero lines of perl involves both -p, -l, and -i. |
21:57 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
21:57 | | Derakon_ [Derakon@Nightstar-f1lpvo.ca.comcast.net] has joined #code |
21:59 | | Derakon__ [Derakon@Nightstar-f1lpvo.ca.comcast.net] has joined #code |
22:00 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code |
22:00 | | Derakon [Derakon@Nightstar-f1lpvo.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
22:02 | | Derakon__ is now known as Derakon |
22:02 | | mode/#code [+ao Derakon Derakon] by ChanServ |
22:02 | | Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
22:02 | | Derakon_ [Derakon@Nightstar-f1lpvo.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
23:23 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
--- Log closed Fri Aug 30 00:00:07 2019 |