00:00:06 -!- Lymia has joined. 00:02:02 Of when what is done? 00:05:26 zzo38: the wiki converts ais523's customary spam block lengths of 24 years into that for some reason. 00:06:04 it wasn't me who invented them 00:06:09 they were already customary by the time I was made an admin 00:06:25 iirc it started around the same time that time wrapped past the unix 2038 limit, right? 00:06:36 `` echo $((4*3600+19*60+12)) 00:06:46 15552 00:06:48 what happens if you use 21 years? 00:07:10 oerjan: when we hit the Y2038 limit, for a while 24-year blocks didn't work, then after an upgrade they did but with that weird 15552-second offset 00:09:00 -!- mauris_ has quit (Ping timeout: 256 seconds). 00:11:00 `` printf "%x" 155552 00:11:03 25fa0 00:11:09 as far as i can see in https://esolangs.org/wiki/Special:Block/37.57.231.135, the actual expiry time listed is 24 years ahead, no offset (unless the seconds are wrong, i didn't see those) 00:12:33 `` date '+%s' Sun, 29 Jan 2040 19:16:25 GMT 00:12:36 date: extra operand `Sun,' \ Try `date --help' for more information. 00:12:42 `` date '+%s' 'Sun, 29 Jan 2040 19:16:25 GMT' 00:12:44 date: extra operand `Sun, 29 Jan 2040 19:16:25 GMT' \ Try `date --help' for more information. 00:12:48 dammit 00:13:47 `` date '+%s' --date='Sun, 29 Jan 2040 19:16:25 GMT' 00:13:49 2211477385 00:13:57 `` date '+%s' --date='Sun, 29 Jan 2016 19:16:25 GMT' 00:13:58 1454094985 00:14:10 > 2211477385 - 1454094985 00:14:12 757382400 00:14:43 -!- boomboompsh has joined. 00:16:13 > 757382400/15552 00:16:15 48700.0 00:16:20 ooh 00:16:33 it's an exact multiple... 00:16:42 > 757382400 `mod` 15552 00:16:44 0 00:17:20 that cannot be a coincidence 00:17:36 > 15552 `divMod` 3600 00:17:38 (4,1152) 00:18:03 > second (`divMod` 60) $ 15552 `divMod` 3600 00:18:05 (4,(19,12)) 00:18:56 ais523: that _is_ quite eerie, the extra offset is a divisor of the correct one 00:19:18 hm... 00:20:15 !c int main(void) { printf("%f", (double)(float)757382400); } 00:20:17 No output. 00:20:22 !c int main(void) { printf("%f", (double)(float)757382400); } 00:20:23 No output. 00:20:28 hmm 00:20:36 !c printf("%f", (double)(float)757382400); 00:20:37 757382400.000000 00:20:51 !c printf("%f", (double)(float)757382400000000.); 00:20:52 757382384713728.000000 00:21:07 probably isn't a floating point rounding situation 00:22:50 the correct offset is 48700*15552, the reported one is 48701*15552 00:27:39 hm... 00:28:03 `factor 15552 00:28:05 15552: 2 2 2 2 2 2 3 3 3 3 3 00:28:14 oh that's a pretty number 00:28:34 not that unlikely it might appear somewhere, then 00:28:52 2^6 * 3^% 00:28:55 2^6 * 3^5 00:29:31 > 15552 `gcd` 86400 00:29:33 1728 00:29:48 -!- hppavilion[1] has joined. 00:30:08 `factor 86400 00:30:09 86400: 2 2 2 2 2 2 2 3 3 3 5 5 00:30:47 factors of 2 might spring into existence easily, but 3? 00:31:13 `factor 48700 00:31:14 48700: 2 2 5 5 487 00:31:28 `factor 48701 00:31:30 48701: 31 1571 00:32:05 -!- boomboompsh has quit (Quit: Page closed). 00:34:20 [wiki] [[Special:Log/block]] block * Oerjan * blocked [[User:114 buy levitra]] with an expiry time of 2 decades, 3 years, 10 hours, 8 minutes and 24 seconds (account creation disabled): Blocking this ancient obvious spam account for an experiment 00:35:32 `` date '+%s' --date='Sun, 30 Jan 2039 00:34:18 GMT' 00:35:34 2179960458 00:35:44 `` date '+%s' --date='Sun, 30 Jan 2016 00:34:18 GMT' 00:35:46 1454114058 00:35:49 `echo $((10*3600+8*60+24)) 00:35:50 ​$((10*3600+8*60+24)) 00:35:56 `` echo $((10*3600+8*60+24)) 00:35:57 36504 00:36:22 > (2179960458-1454114058) 00:36:23 725846400 00:36:27 > (2179960458-1454114058) / 36504 00:36:29 19884.023668639053 00:36:40 oops 00:36:42 hmm 00:37:04 typo somewhere? or just a coincidence lurking somewhere? 00:37:09 24 years has a lot of factors 00:37:16 it does 00:37:19 `factor 36504 00:37:20 36504: 2 2 2 3 3 3 13 13 00:37:40 @24*365 00:37:40 Unknown command, try @list 00:37:43 @eval 24*365 00:39:36 > 725846400 + 36504 00:39:38 725882904 00:39:59 `factor 725882904 00:40:01 725882904: 2 2 2 3 3 3 3360569 00:40:16 `factor 725846400 00:40:18 725846400: 2 2 2 2 2 2 2 3 3 3 5 5 31 271 00:41:40 oerjan: What... exactly are you doing? 00:41:55 Also, I think that mediawiki should measure "2 decades" as "1 score" 00:42:07 hppavilion[1]: trying to find out the reason for mediawiki's weird block length reporting bug 00:42:15 oerjan: Ah 00:42:26 oerjan: What bug is that? 00:43:02 hppavilion[1]: it reports 24 years as 2 decades, 4 years, 4 hours, 19 minutes and 12 seconds and i just now checked that 23 years -> 2 decades, 3 years, 10 hours, 8 minutes and 24 seconds 00:43:11 oerjan: Ah 00:44:25 the 24 year one had an eerie coincidence that the 23 year one doesn't. 00:49:26 http://sprunge.us/iBVG?php is what it uses to go from seconds to a list of things. 00:50:02 aha 00:50:15 With http://sprunge.us/XaFK?php for the $durationIntervals table. 00:51:02 hm... 00:51:13 -!- hppavilion[1] has quit (Ping timeout: 265 seconds). 00:52:16 Since "years" is based on what I assume to be an average year length over a 400-year interval, but the seconds it starts from uses the exact leap years for the particular time span, I'd assume that to go at least somewhat wrong. 00:52:33 ooh.. 00:52:38 -!- jaboja has quit (Ping timeout: 256 seconds). 00:53:47 > 757382400 `divMod` 31556952 00:53:49 (24,15552) 00:54:24 Well, that seems quite confirmationary. 00:54:47 > 725846400 `divMod` 31556952 00:54:49 (23,36504) 00:56:35 That's what you get by trying to human-format a "duration" given as a number of seconds rather than a start and end timestamp. 00:57:29 -!- tromp has joined. 00:59:37 -!- oerjan_ has joined. 00:59:48 grmbl 01:00:03 -!- oerjan has quit (Disconnected by services). 01:00:10 -!- puck1pedia has joined. 01:00:11 -!- oerjan_ has changed nick to oerjan. 01:00:57 does irssi have a command to tell it "pretend this server has already lagged out and reconnect already" 01:01:44 * oerjan sees in the logs that his most important message got through just in time 01:02:17 -!- glowcoil_ has joined. 01:02:54 ais523: well, mystery solved 01:03:30 it was both simpler and more stupid than hoped 01:03:39 -!- pikhq_ has joined. 01:03:50 oerjan: hmm? 01:04:04 -!- puckipedia has quit (*.net *.split). 01:04:05 -!- trn has quit (*.net *.split). 01:04:08 -!- gniourf has quit (*.net *.split). 01:04:10 -!- APic has quit (*.net *.split). 01:04:15 -!- glowcoil has quit (*.net *.split). 01:04:16 -!- tromp_ has quit (*.net *.split). 01:04:16 -!- pikhq has quit (*.net *.split). 01:04:16 -!- Deewiant has quit (*.net *.split). 01:04:17 -!- puck1pedia has changed nick to puckipedia. 01:04:53 ais523: the reporting is done with a flawed algorithm for splitting out the years 01:05:15 ah right, the X hours we see is actually made out of amortized leap days? 01:05:27 ...i guess. 01:06:27 -!- Deewiant has joined. 01:06:35 -!- APic has joined. 01:07:27 > 86400 * ( 365 + ( 24 * 3 + 25 ) / 400 01:07:29 :1:39: 01:07:29 parse error (possibly incorrect indentation or mismatched brackets) 01:07:35 > 86400 * ( 365 + ( 24 * 3 + 25 ) / 400 ) 01:07:37 3.1556952e7 01:07:42 dammit 01:07:53 > 86400 * ( 365 + ( 24 * 3 + 25 ) / 400 ) :: CReal 01:07:55 -!- glowcoil_ has changed nick to glowcoil. 01:07:55 31556952.0 01:08:10 heh it's at least a whole number of seconds 01:11:14 if it hadn't been, maybe they would have thought twice. 01:11:26 -!- gniourf has joined. 01:12:32 also, this means the bug has nothing to do with crossing 2038 per se 01:12:56 it should show up almost every time you have a duration > a year 01:18:01 [wiki] [[Special:Log/move]] move * Oerjan * moved [[50.161.94.113]] to [[User talk:50.161.94.113]]: This does not belong in the main namespace; really you should register to get a proper user page but this'll have to do for now. 01:25:25 I was confused about that. 01:28:46 @metar ENVA 01:28:47 ENVA 300050Z 25035G48KT 9999 FEW055 06/M02 Q0968 RMK WIND 670FT 26026G48KT 01:28:56 "WIND" is correct 01:29:42 Ooh: 35 knots, 48 in gusts. 01:29:46 Except I still can't read that. 01:30:07 @metar EGLL 01:30:07 EGLL 300120Z AUTO 22016KT 9999 -RA OVC010 11/10 Q1009 NOSIG 01:30:24 It was slightly windy here earlier, but not really. 01:30:51 it might be abating here too 01:34:17 "Knowledge of the main components of an application architecture." what does this mean? 01:37:28 reading this https://en.wikipedia.org/wiki/Applications_architecture i don't really understand if that's a real thing or it just means to know how a system is designed 01:39:29 I have a vague suspicion it's not the applications architecture your quote is talking about. 01:39:47 then i'm not sure what it is 01:40:17 I'm not sure either. 01:41:04 But the latter thing insists on calling it "applications architecture", plural, while your quote doesn't, which makes me think it's more about the architecture of a single application. 01:41:05 i think the last issue in the top box might be relevant hth 01:41:08 But who knows. 01:41:49 Well. I'm sure buzzwords feature heavily in whatever the "correct" meaning is, as well. 01:42:43 "To create patterns, one needs building blocks. Building blocks are components of software, mostly reusable, which can be utilized to create certain functions. -- An application is a compilation of various functionalities, all typically following the same pattern. This pattern defines the application’s pattern." 01:43:09 sounds pretty vague? 01:44:04 Sounds pretty enterprise. 01:45:21 I don't think that is a very good encyclopedia article. 01:47:00 -!- trn has joined. 01:48:52 I clicked the "Zachman Framework" link and now I'm regretting it. 01:50:43 On the other hand, at least now I know that an "event list" is the contextual when, while a "data entity specification" is the physical what. 01:51:40 * izabera was applying for a junior sysadmin position and this was in the requirements 01:55:45 In that case, you might have been right, and it could have been something vaguely related to the notion of applications architecture the Wikipedia page was about. Maybe. 01:56:37 "Row-six provides measured return on investment for Individual Projects and, potentially, for the entire investment portfolio. Without row-six the Framework only identifies sunk-cost, but the row-six ROI permits it to measure benefits and to be used in a continuous improvement process, capturing best practices and applying them back through row-two." 01:56:56 I'm entirely unable to distinguish between "serious" enterprise architecture talk, and parody of enterprise architecture talk. 01:59:57 "The Zachman Framework methodology has for example been used by the United States Department of Veterans Affairs (VA) to develop and maintain its One-VA Enterprise Architecture --" didn't I hear something in the news about how they've got years of backlog in processing applications there? 02:00:12 Well, I'm sure https://en.wikipedia.org/wiki/Zachman_Framework#/media/File:VA_EA_Meta-Model_Cell_Details_Enlarged.jpg will take care of all that in no time at all. 02:08:26 -!- ais523 has quit (Ping timeout: 240 seconds). 02:09:04 -!- Phantom_Hoover has quit (Read error: Connection reset by peer). 02:09:48 -!- augur has quit (Remote host closed the connection). 02:10:24 -!- augur has joined. 02:11:54 found another one and they want a sysadmin that can work on unix/linux/windows, knows access, mysql, mssql, vba, cups... aaaand.... ms office and cobol 02:13:29 Are you sure you're reading a real job listings site? 02:13:39 i hope so -.- 02:13:55 who the fuck writes cobol in 2016 02:14:26 People who are desperately trying to maintain a legacy system in some sort of a working order, is my guess. 02:14:27 or even in the last 20 years 02:16:45 izabera: another channel I'm in runs a cobol bot 02:16:52 whyyyy 02:16:55 (they also have quotes on gopher, so eh) 02:17:00 whyyyy^2 02:17:36 kind of surprised that this channel doesn't have a cobol bot 02:17:52 fungot: are you cobol? 02:17:52 olsner: i see, so ( letrec* ( ( a 2 1) ' ( 02:17:58 We have a Gopher enthusiast regular, at least. 02:18:19 fungot: That doesn't look like COBOL at all 02:18:20 fizzie: something to read that paper all the time when theorems were making forced entry. as an explanation, but you can have a hope of educating myself in order to 02:18:37 hm, that looks slightly more like cobol 02:18:53 at least more enterprisey 02:24:16 `unidecode - 02:24:22 ​[U+002D HYPHEN-MINUS] 02:29:26 `unidecode – 02:29:28 ​[U+2013 EN DASH] 02:29:58 stupid monospace makes them hard to distinguish 02:30:47 there was this guy here once who knew cobol. *something*iggins 02:31:15 i think he was older than me 02:32:35 I... also know COBOL, sadly. 02:41:53 where do i find a cobol interpreter to set up a bot? 02:43:06 Not easily: it's largely compiled. 02:43:53 That said, GnuCOBOL. 02:44:09 do you need something like 02:44:19 i dunno, special whitespace things? 02:44:26 like newlines somewhere? 02:44:43 or can you write a whole function in a single line? 02:44:48 Oh my shit yes. In traditional COBOL, *columns* are significant. 02:45:28 That's the case for traditional FORTRAN as well. 02:45:54 And freeform COBOL is not very common. 02:46:05 The joy of working with ancient technology? 02:47:14 Freeform FORTRAN was introduced in Fortran 95, and might be relatively common. 02:47:19 As far as these things go. 02:48:03 Hm 02:48:20 INTERCAL depended on using backspace to combine characters originally, didn't it? 02:48:26 Yes. 02:49:03 this gnu cobol thing has a gui 02:49:16 Old APL charsets did that too (and of course the original typeballs did too); I guess it was pretty popular back then 02:49:23 Specifically U+0008. 02:49:38 Right, the backspace glyph 02:49:46 or not glyph.. character 02:49:47 Though a pain to type, and won't render right, it'll still "work". 02:50:12 Vim has an option to have infix backspace compose digraphs in insert-mode 02:50:15 funnily enough 02:50:33 It's not exactly overstriking, but I guess it's somewhat similar 02:53:11 -!- MDude has joined. 02:57:08 @metar EGLL 02:57:08 EGLL 300250Z AUTO 26019KT 9999 -RA BKN012/// BKN025/// OVC042/// //////CB 11/09 Q1008 RERA TEMPO SCT012 02:57:19 Hm. "RERA". 02:57:58 Huh. That's apparently for "recent" weather. 02:58:30 So "light rain, recently less so". 03:02:20 -!- nisstyre has joined. 03:05:35 -!- lleu has quit (Ping timeout: 260 seconds). 03:09:49 -!- nisstyre has quit (Changing host). 03:09:49 -!- nisstyre has joined. 03:10:45 it's for those pesky backwards-in-time flying planes 03:15:05 -!- Alcest has quit (Ping timeout: 245 seconds). 03:23:33 How do you do memcpy between different buffers in a JavaScript code? 03:24:35 <\oren\> I'm back 03:25:43 -!- Tod-Autojoined has changed nick to TodPunk. 03:30:15 Nevermind I figured it out 03:33:48 -!- mihow has quit (Quit: mihow). 03:34:56 -!- vodkode has quit (Remote host closed the connection). 03:47:06 -!- hppavilion[1] has joined. 04:31:40 -!- hppavilion[2] has joined. 04:36:23 -!- hppavilion[1] has quit (Ping timeout: 276 seconds). 04:40:26 -!- hppavilion[2] has changed nick to hppavilion[1]. 04:48:14 -!- oerjan has quit (Quit: Nite). 04:56:35 -!- MDude has changed nick to MDream. 05:24:15 I think the debugger built-in to Firefox is defective 05:35:10 -!- vodkode has joined. 05:47:50 -!- Treio has joined. 06:04:25 I find ZORKMID is useful not only for debugging Z-machine story files, but also for debugging other Z-machine implementations. 06:11:47 zzo38: What's a Z-machine again? 06:12:11 Ah, a VM for ZORK or something 06:12:23 Yes 06:13:11 And, ZORKMID is a implementation of Z-machine that I have written in C, and includes a debugger (although it is also usable just for play game even without using the debugger) 06:16:46 Cooool 06:20:20 The name is short for "Zork Machine Interpreter and Debugger" 06:25:11 -!- bender| has joined. 06:27:06 But there are many options too, so you can use "zorkmid -rh" to disable save games and debugging, in case a secure environment is required. 06:28:13 Well. 06:28:26 One of the most popular searches for porn in Hawaii is "Hawaii" 06:29:46 * izabera wonders what hawaii means 06:30:49 izabera: It's... a US state 06:31:07 izabera: Nice vacation spot. An island chain. 06:31:25 (I really hope you mean you don't know, less that be a bit embarrassing xD) 06:31:40 wasn't serious 06:43:41 If we were to just use porn consumption per capita as a predictor of political orientation, we could have predicted the results of the 2012 elections with 70% accuracy. 06:43:58 (src: http://www.pornhub.com/insights/red-versus-blue-us-states/) 06:44:06 (I swear, I have no clue how I wound up there) 06:50:12 (Also, it's technically SFW) 08:02:26 -!- hppavilion[1] has quit (Ping timeout: 276 seconds). 09:16:39 -!- zadock has joined. 09:36:43 -!- MoALTz has joined. 10:03:09 -!- Reece_ has joined. 10:05:17 -!- kragniz has quit (Ping timeout: 276 seconds). 10:09:55 -!- bender| has quit (Ping timeout: 240 seconds). 10:11:01 -!- kragniz has joined. 10:39:26 -!- AnotherTest has joined. 10:50:25 -!- AndChat|186921 has joined. 10:52:08 -!- J_Arcane has quit (Ping timeout: 250 seconds). 10:52:56 -!- zadock has quit (Ping timeout: 250 seconds). 10:58:36 -!- ^^v has quit (Remote host closed the connection). 11:09:06 -!- sebbu has quit (Ping timeout: 240 seconds). 11:36:23 -!- Reece_ has quit (Read error: Connection reset by peer). 11:41:21 -!- bender| has joined. 11:43:26 -!- AndChat|186921 has quit (Ping timeout: 276 seconds). 11:43:58 -!- lleu has joined. 11:43:58 -!- lleu has quit (Changing host). 11:43:58 -!- lleu has joined. 11:46:06 -!- kragniz has quit (Ping timeout: 240 seconds). 11:51:57 -!- J_Arcane has joined. 11:53:38 -!- kragniz has joined. 12:05:01 -!- sebbu has joined. 12:33:19 -!- jaboja has joined. 12:47:25 -!- Reece_ has joined. 12:50:06 -!- AnotherTest has quit (Quit: ZNC - http://znc.in). 13:40:34 -!- AlexR42 has joined. 13:58:14 -!- MDude has joined. 14:02:26 -!- MDream has quit (Ping timeout: 265 seconds). 14:03:24 -!- J_Arcane has quit (Ping timeout: 265 seconds). 14:06:47 -!- AlexR42 has quit (Quit: My Mac has gone to sleep. ZZZzzz…). 14:12:46 -!- jaboja has quit (Ping timeout: 250 seconds). 14:25:46 -!- boily has joined. 14:52:33 `wisdom 14:52:51 perpetual motion machine/Perpetual motion machines came with FreeFull's phone. They were hallucinated by Slereah's lack of entropy. 14:53:31 `culprits wisdom/perpetual\ motion\ machine 14:53:36 No output. 14:53:44 `` culprits wisdom/perpetual\ motion\ machine 14:53:49 oerjan elliott boily boily 15:19:41 boily: You're at fault 15:22:17 FrelloFull. yup. 15:26:42 -!- p34k has joined. 15:32:38 -!- Reece_ has quit (Quit: Alsithyafturttararfunar.). 15:56:04 -!- LexiciScriptor has joined. 15:57:14 https://googledrive.com/host/0B4J9OAzXNfZAcG5vcDhkWGFKd3M IMPORTANT: DANGER DEER 16:25:07 -!- Reece_ has joined. 16:39:00 @metar lowi 16:39:01 LOWI 301620Z 16016G28KT 110V190 CAVOK 11/M01 Q1016 WS R08 NOSIG 16:41:28 @metar CYUL 16:41:28 CYUL 301600Z 21004KT 15SM BKN017 OVC100 M07/M11 A2994 RMK ST6AS2 SLP141 17:35:07 -!- oerjan has joined. 17:46:09 -!- LexiciScriptor has quit (Quit: LexiciScriptor). 17:48:35 -!- augur has quit (Ping timeout: 240 seconds). 17:49:52 -!- jaboja has joined. 17:55:53 -!- Treio has quit (Ping timeout: 265 seconds). 17:56:25 -!- Treio has joined. 17:57:27 -!- augur has joined. 17:59:40 @tell hppavilion[1] (I swear, I have no clue how I wound up there) <-- well i know why i did (for SCIENCE). alas, i note that several of the comments point out much of this can be explained by variation in broadband penetration between states. 17:59:40 Consider it noted. 18:00:37 @tell hppavilion[1] so it's ice cream causing shark attacks all over again 18:00:37 Consider it noted. 18:02:06 (mainly i clicked because i realized my prejudices were about evenly split about which of republicans and democrats would be watching the most porn) 18:06:22 I think from the stereotypes, republicans should be more hypocritical about it? 18:06:44 -!- cyclops has joined. 18:09:18 -!- Treio has quit (Quit: Leaving). 18:10:59 -!- jaboja has quit (Ping timeout: 264 seconds). 18:11:30 fizzie: yeah 18:13:21 -!- J_Arcane has joined. 18:18:03 -!- oerjan has quit (Quit: Later). 18:22:22 -!- shikhin has changed nick to dryoyleujiy. 18:22:35 -!- dryoyleujiy has changed nick to shikhin. 18:23:19 -!- shikhin has changed nick to dryoyleujiy. 18:23:34 -!- dryoyleujiy has changed nick to shikhin. 18:24:15 -!- shikhin has changed nick to driyoyleujiy. 18:24:27 -!- driyoyleujiy has changed nick to shikhin. 18:25:44 -!- LexiciScriptor has joined. 18:33:13 shikhin: shellokhin. identity crisis? 18:33:42 Yes. I also go by a God named driyoyleujiy in my free time. nortti is my agent, talk to em if you want to. 18:34:06 nortti: nellortti. shikhin is a god? 18:34:27 yes. a chaotic evil one, at that 18:37:35 * nortti ponders the consequences of being a high priest of a malevolent god 18:38:08 * shikhin lures nortti in with promises of a world filled with esoteric languages and Hindu routers. 18:38:31 ...that's a world I already live in 18:38:53 Then you must consider the possibility that you already are my high priest. 18:39:21 I know that 18:40:24 Oh. I have nothing more. 18:40:30 * shikhin procrastinates on doing malevolent stuff. 18:40:50 that's one good part of you 18:40:53 `? shikhin 18:40:58 shikhin? ¯\(°​_o)/¯ 18:41:25 `learn shikhin is a Malevolent God, who will promise you stuff tomorrow. 18:41:28 Learned 'shikhin': shikhin is a Malevolent God, who will promise you stuff tomorrow. 18:41:32 `? nortti 18:41:34 nortti boy. very nortti boy. 18:41:36 :D 18:41:50 :D 18:42:01 -!- Reece_ has quit (Read error: Connection reset by peer). 18:42:16 `learn nortti is a very nortti boy. He yielded to shikhin's promises, and now is his High Priest. 18:42:19 Learned 'nortti': nortti is a very nortti boy. He yielded to shikhin's promises, and now is his High Priest. 18:42:36 damnit, was going to add that myself, using sed -i 18:42:43 mwah ah ah. 18:43:03 -!- hydraz has joined. 18:45:11 -!- cyclops has quit (Ping timeout: 265 seconds). 18:55:11 -!- tromp__ has quit (Remote host closed the connection). 18:57:43 cheese tonight! 18:57:52 -!- boily has quit (Quit: WINDOWED CHICKEN). 18:58:58 -!- AnotherTest has joined. 19:17:14 -!- Phantom_Hoover has joined. 19:25:42 -!- AlexR42 has joined. 19:28:22 -!- Reece_ has joined. 19:31:38 -!- YourDeathIsComin has joined. 19:31:58 -!- YourDeathIsComin has quit (Client Quit). 19:36:14 -!- J_Arcane_ has joined. 19:36:28 -!- J_Arcane has quit (Ping timeout: 250 seconds). 19:36:39 -!- J_Arcane_ has changed nick to J_Arcane. 19:39:53 -!- PinealGlandOptic has quit (Quit: leaving). 19:40:36 -!- PinealGlandOptic has joined. 19:41:56 -!- PinealGlandOptic has quit (Client Quit). 19:42:17 -!- PinealGlandOptic has joined. 19:42:36 -!- PinealGlandOptic has quit (Client Quit). 19:43:22 -!- Reece_ has quit (Read error: Connection reset by peer). 19:44:43 -!- PinealGlandOptic has joined. 19:47:06 -!- PinealGlandOptic has quit (Client Quit). 19:50:20 -!- PinealGlandOptic has joined. 19:50:29 `cat bin/culprits 19:50:30 hg log --removed "$1" | grep summary: | awk '{print substr($2,2,length($2)-2)}' | sed "s/.$/\x0F&/" | xargs 20:05:08 -!- tromp_ has joined. 20:07:30 -!- Reece_ has joined. 20:09:06 -!- carado has quit (Quit: Leaving). 20:09:46 -!- tromp_ has quit (Ping timeout: 256 seconds). 20:13:56 grep|awk|sed x.x 20:14:57 it's nicely compositional 20:18:23 Put some cats in between. 20:19:03 That's the sort of pipeline I write when doing one-offs, because it's just how I think them up. 20:28:49 -!- carado has joined. 20:30:55 -!- Reece_ has quit (Ping timeout: 245 seconds). 20:31:50 -!- AlexR42 has quit (Quit: My Mac has gone to sleep. ZZZzzz…). 20:32:24 -!- Reece_ has joined. 20:39:29 -!- hEr3 has joined. 20:42:13 <\oren\> I usually use perl 20:44:46 I think awk could even do the grep and sed steps too you can have a condition for each block, which can be a regular expression 20:46:27 `cat cat cat 20:46:29 cat: cat cat: No such file or directory 20:46:33 `` cat cat cat 20:46:35 Meow~~ >^.^< \ Meow~~ >^.^< 20:47:13 `` cat cat | cat | cat - cat 20:47:14 Meow~~ >^.^< \ Meow~~ >^.^< 20:47:29 good punctuation 20:47:37 `` cat < canary 20:47:38 ​*tsjørp* 20:47:43 <\oren\> `` neko 20:47:44 bash: neko: command not found 20:47:53 <\oren\> wha, no nyaaa 20:48:18 `dog 20:48:19 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: dog: not found 20:50:39 `` tac <(echo a;echo b) <(echo c;echo d) 20:50:41 tac: cannot create temporary file in `/tmp': Invalid argument 20:51:09 huh 20:51:52 Huh. 20:51:59 is that zsh? 20:52:02 ``echo $SHELL 20:52:04 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: `echo: not found 20:52:06 `echo $SHELL 20:52:07 ​$SHELL 20:52:09 `echo $0 20:52:10 bash, I assume 20:52:11 ​$0 20:52:17 You want a space after ``. 20:52:21 ` echo $0 20:52:22 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: : not found 20:52:26 `` echo $0 20:52:27 bash 20:52:33 there 20:52:50 `` touch /tmp/foo 20:52:51 No output. 20:52:54 Hmm. 20:53:04 bash stole a few cute ideas from zsh 20:54:16 touch /tmp/123 20:54:18 `` touch /tmp/123 20:54:19 No output. 20:54:29 `` ls /tmp 20:54:30 No output. 20:54:51 -!- Melvar` has joined. 20:54:56 It's just calling mkstemp on a string that says "/tmp/tacXXXXXX". 20:55:01 Assuming it's the coreutils tac. 20:55:19 but why does that go wrong? 20:55:33 I'm puzzled. 20:56:02 It doesn't have strace. :/ 20:56:11 I wanted to see what exactly it's trying that returns EINVAL. 20:56:21 what a shame. 20:57:14 -!- Melvar has quit (Disconnected by services). 20:57:18 -!- Melvar` has changed nick to Melvar. 20:57:37 -!- idris-bot has quit (Ping timeout: 265 seconds). 20:57:48 `` t=$(mktemp "/tmp/tacXXXXXX"); ls -l $t; rm $t 20:57:49 ​-rw------- 1 5000 487868 0 Jan 30 20:57 /tmp/tacH2R8sT 20:57:54 I mean, that's just fine. 20:58:28 -!- XorSwap has joined. 20:59:25 `` tac <(echo a; echo b) 20:59:27 b \ a 20:59:31 And that is fine as well. 20:59:42 But once you add a second pipe, no. 20:59:47 `` tac <(echo a; echo b) cat 20:59:49 b \ a \ Meow~~ >^.^< 20:59:53 That's also fine. 21:00:28 so that leaves lseek (unlikely) and ftruncate... 21:00:45 -!- Melvar` has joined. 21:01:20 AFAICT, it would be creating a temp file for any non-seekable file. I'm confused as to why adding a second one would make it barf. 21:01:28 -!- Melvar has quit (Disconnected by services). 21:01:31 -!- Melvar` has changed nick to Melvar. 21:01:32 fizzie: it reuses the temp file 21:01:49 (at least according to my local strace output) 21:02:03 Oh, okay. 21:02:22 So it does. 21:02:26 Missed the "static" part. 21:02:52 But it should give a different error if it failed while seeking. 21:03:17 The "failed to create temporary file in %s" occurs only in the initial if (tempfile == NULL) branch. Maybe it's some sort of a ulimit. 21:03:38 `` tac <(echo a;echo b) <(echo c;echo d) 21:03:39 tac: cannot create temporary file in `/tmp': Invalid argument 21:03:45 hmm, ulimit 21:03:56 `` tac <(echo a;echo b) <(echo c;echo d) <(echo e;echo f) <(echo g;echo h) 21:03:58 tac: cannot create temporary file in `/tmp': Invalid argument \ tac: cannot create temporary file in `/tmp': Invalid argument \ tac: cannot create temporary file in `/tmp': Invalid argument \ b \ a 21:04:08 Ssswhat. 21:04:39 maybe that tac is buggy? 21:04:44 `` tac --version 21:04:45 tac (GNU coreutils) 8.13 \ Copyright (C) 2011 Free Software Foundation, Inc. \ License GPLv3+: GNU GPL version 3 or later . \ This is free software: you are free to change and redistribute it. \ There is NO WARRANTY, to the extent permitted by law. \ \ Written by Jay Lepreau and David MacKenzie. 21:05:31 `` echo <(:) <(:) <(:) 21:05:32 ​/dev/fd/63 /dev/fd/62 /dev/fd/61 21:05:55 not sure why it doesn't work with tac 21:07:33 Oh, that's a different error string than in the tac source I'm looking at. 21:08:26 The one I'm looking at says "failed to create temporary file"; that tac says "cannot create temporary file". 21:09:37 The coreutils 8.13 apparently comes from before they invented the tempfile reuse. 21:10:01 fizzie: the 8.13 version of tac is just buggy: it makes no attempt to reuse the temp file, and the 'template' variable is reused without being reinitialized; so the second time, there's no XXXXXX in there anymore 21:10:02 This one's copy_to_temp always makes a new file. 21:10:08 Huh. 21:10:13 That's pretty buggy. 21:10:17 maybe update it? 21:10:31 is that what ubuntu is shipping? 21:10:42 `` echo $BASH_VERSION 21:10:44 4.2.37(1)-release 21:10:44 izabera: the VM is rather old. 21:10:50 maybe update it? <.< 21:11:11 The system it's running on has tac 8.23. 21:11:32 `` echo $PATH 21:11:33 ​/hackenv/bin:/opt/python27/bin:/opt/ghc/bin:/usr/bin:/bin 21:11:41 well, let's write our own tac 21:11:53 `catcat 21:11:55 No output. 21:12:03 * int-e rolls his eyes. 21:12:07 `cat bin/catcat 21:12:08 `` type gawk awk 21:12:14 echo No output. 21:12:14 bash: line 0: type: gawk: not found \ awk is /usr/bin/awk 21:12:22 But hackbot has its own chroot, and I haven't been touching that. 21:12:56 `` mawk -W version 21:12:57 compiled limits: \ max NF 32767 \ sprintf buffer 2040 \ mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan 21:13:07 `` awk -W version 21:13:09 compiled limits: \ max NF 32767 \ sprintf buffer 2040 \ mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan 21:13:11 :\ 21:13:16 mawk sucks 21:13:23 is this some sort of stripped ubuntu? 21:14:03 -!- jaboja has joined. 21:16:16 -!- hppavilion[1] has joined. 21:16:20 -!- Reece_ has quit (Ping timeout: 245 seconds). 21:20:16 -!- hEr3 has quit (Quit: hEr3). 21:25:50 `` printf 'FNR == 1{ for (i = max; i >= 1; i--) print a[i] } { a[max=FNR] = $0 } END { for (i = max; i >= 1; i--) print a[i] }' > bin/tac; chmod +x bin/tac 21:25:55 No output. 21:26:01 `` tac <(echo a;echo b) <(echo c;echo d) 21:26:03 ​/hackenv/bin/tac: line 1: syntax error near unexpected token `(' \ /hackenv/bin/tac: line 1: `FNR == 1{ for (i = max; i >= 1; i--) print a[i] } { a[max=FNR] = $0 } END { for (i = max; i >= 1; i--) print a[i] }' 21:26:08 what 21:26:22 oh 21:26:25 i'm stupid 21:26:51 `` printf '#!/usr/bin/awk\nFNR == 1 { for (i = max; i >= 1; i--) print a[i] } { a[max=FNR] = $0 } END { for (i = max; i >= 1; i--) print a[i] }' > bin/tac 21:26:54 No output. 21:26:56 `` tac <(echo a;echo b) <(echo c;echo d) 21:26:57 No output. 21:27:03 -.- 21:27:58 -!- Reece_ has joined. 21:28:48 `tac bin/tac 21:28:49 ​#!/usr/bin/awk \ FNR == 1 { for (i = max; i >= 1; i--) print a[i] } { a[max=FNR] = $0 } END { for (i = max; i >= 1; i--) print a[i] } 21:29:25 :( works in gnu awk 21:29:27 stupid mawk 21:29:39 whatever -.- 21:30:05 Maybe you should install GNU awk (I think on Ubuntu you have to use the program name "gawk" for GNU awk; "awk" is mawk instead) 21:32:50 `` printf '#!/bin/bash\nfor file do mapfile -t lines < "$file"; for (( i = ${#lines[@]} -1; i >= 0; i-- )) do printf "%%s\\n" "${lines[i]}"; done done' > bin/tac 21:32:53 No output. 21:32:55 `` tac <(echo a;echo b) <(echo c;echo d) 21:32:56 b \ a \ d \ c 21:33:27 what does tac do? 21:33:42 prints the lines in reverse order 21:33:51 ah 21:34:37 -!- Reece2 has joined. 21:35:55 -!- Reece_ has quit (Ping timeout: 245 seconds). 21:36:41 izabera: It's a Debian 7.3 in a chroot. 21:36:55 Probably with a rather limited selection of packages. 21:37:00 that's why everything is so old 21:37:27 (The thing around it is a regular Debian 8.2, because I accidentally upgraded it the other day.) 21:38:14 -!- Reece_ has joined. 21:39:46 -!- Reece2 has quit (Ping timeout: 240 seconds). 21:42:30 -!- Reece2 has joined. 21:42:34 -!- J_Arcane has quit (Ping timeout: 265 seconds). 21:43:46 -!- Reece_ has quit (Ping timeout: 240 seconds). 21:55:46 -!- tromp_ has joined. 22:00:16 -!- tromp_ has quit (Ping timeout: 250 seconds). 22:06:31 <\oren\> I got two ships in rendezvous to a few metres! 22:07:06 <\oren\> Only using a rocket, no RCS! 22:11:50 is this ksp? 22:13:09 <\oren\> yah 22:13:17 <\oren\> http://ctrlv.in/704702 22:13:25 * Elronnd hasn't bought ksp yet 22:15:53 -!- hppavilion[1] has quit (Ping timeout: 276 seconds). 22:16:43 ksp got more expensive 22:16:51 last I checked it was ~20-30 dollars 22:16:53 now it's 40 22:17:17 when i bought it it was like £13 22:17:35 <\oren\> Elronnd: the canadian dollar has eakened 22:18:17 * Elronnd is in the US, uses USD 22:18:32 <\oren\> uh... that's wierd then 22:19:02 Should I get it? 22:19:10 -!- hppavilion[1] has joined. 22:20:01 Elronnd, there's a demo isn't there 22:20:11 it's yet another time sink 22:20:12 yes 22:20:29 have you tried it, did you like it 22:20:44 I haven't tried it 22:21:00 -!- Reece2 has quit (Quit: Alsithyafturttararfunar.). 22:21:05 KSP_demo_linux.zip 98%[=========================> ] 470.21M 2.29MB/s eta 5s 22:21:22 -!- Reece_ has joined. 22:21:43 -!- Reece_ has quit (Remote host closed the connection). 22:22:08 -!- Reece` has joined. 22:22:29 -!- Reece` has quit (Remote host closed the connection). 22:22:52 -!- Reece` has joined. 22:24:38 -!- XorSwap has quit (Ping timeout: 256 seconds). 22:26:32 -!- Reece` has quit (Client Quit). 22:29:01 -!- Reece` has joined. 22:33:01 -!- Reece` has quit (Client Quit). 22:34:48 -!- XorSwap has joined. 22:43:46 Steam had it in the sale, though skipped. 22:43:52 Now it's £30 here. 22:45:05 Heh, Steam's store page for the KSP demo: "English language not supported. This product does not have support for your local language. Please review the supported language list below before purchasing." 22:46:12 lol 22:47:17 I guess it's all in Kerbalese. 22:53:09 If English is not supported, see if the language can be switched to American or Canadian instead 22:53:48 hezzo38 22:53:58 zzhello38 22:54:04 zzyo38 22:54:13 am i the only one here without double letters 22:54:25 2zs 2ps 2ns 22:54:42 quintopia: clog 22:54:51 I guess? 22:54:59 clog is not human 22:55:27 although i cant claim its not paying attention 22:55:41 its attention span is unmatched 22:55:55 but it does not participate 23:02:02 -!- hppavilion[1] has quit (Ping timeout: 276 seconds). 23:05:38 Is there a "show unused imports" tool for Haskell that's sort of de-facto standard? 23:06:37 -!- MDream has joined. 23:08:10 Hm, -fwarn-unused-imports in ghc maybe. 23:10:46 -!- MoALTz has quit (Ping timeout: 240 seconds). 23:10:47 -!- MDude has quit (Ping timeout: 240 seconds). 23:10:53 -!- MDream has changed nick to MDude. 23:11:18 -!- AnotherTest has quit (Quit: ZNC - http://znc.in). 23:12:23 -!- XorSwap has quit (Quit: Leaving). 23:18:20 -!- bender| has quit (Ping timeout: 250 seconds). 23:23:12 -!- PinealGlandOptic has quit (Quit: leaving). 23:24:05 -!- hppavilion[1] has joined. 23:25:30 -!- PinealGlandOptic has joined. 23:25:57 -!- LexiciScriptor has quit (Quit: LexiciScriptor). 23:28:08 I want to make an esowiki article on the ban/nat/nit/nepit 23:28:11 Which name should I use? 23:29:03 Or should I roll all the strange units of measurement into one big article? 23:29:38 (ban/nat/nit/nepit is a base-e unit of measurement to the bit's base-2) 23:30:23 I think I'll do that 23:35:06 -!- jaboja has quit (Ping timeout: 240 seconds). 23:41:15 -!- PinealGlandOptic has quit (Quit: leaving). 23:41:50 -!- PinealGlandOptic has joined. 23:42:19 -!- ais523 has joined. 23:53:23 -!- PinealGlandOptic has quit (Ping timeout: 276 seconds). 23:55:51 I think you should put them together in one article, probably. 23:57:01 -!- tromp_ has joined.