←2016-01-29 2016-01-30 2016-01-31→ ↑2016 ↑all
00:00:06 -!- Lymia has joined.
00:02:02 <zzo38> Of when what is done?
00:05:26 <oerjan> zzo38: the wiki converts ais523's customary spam block lengths of 24 years into that for some reason.
00:06:04 <ais523> it wasn't me who invented them
00:06:09 <ais523> they were already customary by the time I was made an admin
00:06:25 <oerjan> iirc it started around the same time that time wrapped past the unix 2038 limit, right?
00:06:36 <ais523> `` echo $((4*3600+19*60+12))
00:06:46 <HackEgo> 15552
00:06:48 <oerjan> what happens if you use 21 years?
00:07:10 <ais523> 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 <ais523> `` printf "%x" 155552
00:11:03 <HackEgo> 25fa0
00:11:09 <oerjan> 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 <oerjan> `` date '+%s' Sun, 29 Jan 2040 19:16:25 GMT
00:12:36 <HackEgo> date: extra operand `Sun,' \ Try `date --help' for more information.
00:12:42 <oerjan> `` date '+%s' 'Sun, 29 Jan 2040 19:16:25 GMT'
00:12:44 <HackEgo> date: extra operand `Sun, 29 Jan 2040 19:16:25 GMT' \ Try `date --help' for more information.
00:12:48 <oerjan> dammit
00:13:47 <oerjan> `` date '+%s' --date='Sun, 29 Jan 2040 19:16:25 GMT'
00:13:49 <HackEgo> 2211477385
00:13:57 <oerjan> `` date '+%s' --date='Sun, 29 Jan 2016 19:16:25 GMT'
00:13:58 <HackEgo> 1454094985
00:14:10 <oerjan> > 2211477385 - 1454094985
00:14:12 <lambdabot> 757382400
00:14:43 -!- boomboompsh has joined.
00:16:13 <oerjan> > 757382400/15552
00:16:15 <lambdabot> 48700.0
00:16:20 <oerjan> ooh
00:16:33 <oerjan> it's an exact multiple...
00:16:42 <oerjan> > 757382400 `mod` 15552
00:16:44 <lambdabot> 0
00:17:20 <oerjan> that cannot be a coincidence
00:17:36 <oerjan> > 15552 `divMod` 3600
00:17:38 <lambdabot> (4,1152)
00:18:03 <oerjan> > second (`divMod` 60) $ 15552 `divMod` 3600
00:18:05 <lambdabot> (4,(19,12))
00:18:56 <oerjan> ais523: that _is_ quite eerie, the extra offset is a divisor of the correct one
00:19:18 <oerjan> hm...
00:20:15 <ais523> !c int main(void) { printf("%f", (double)(float)757382400); }
00:20:17 <EgoBot> No output.
00:20:22 <ais523> !c int main(void) { printf("%f", (double)(float)757382400); }
00:20:23 <EgoBot> No output.
00:20:28 <ais523> hmm
00:20:36 <ais523> !c printf("%f", (double)(float)757382400);
00:20:37 <EgoBot> 757382400.000000
00:20:51 <ais523> !c printf("%f", (double)(float)757382400000000.);
00:20:52 <EgoBot> 757382384713728.000000
00:21:07 <ais523> probably isn't a floating point rounding situation
00:22:50 <oerjan> the correct offset is 48700*15552, the reported one is 48701*15552
00:27:39 <oerjan> hm...
00:28:03 <oerjan> `factor 15552
00:28:05 <HackEgo> 15552: 2 2 2 2 2 2 3 3 3 3 3
00:28:14 <oerjan> oh that's a pretty number
00:28:34 <oerjan> not that unlikely it might appear somewhere, then
00:28:52 <oerjan> 2^6 * 3^%
00:28:55 <oerjan> 2^6 * 3^5
00:29:31 <oerjan> > 15552 `gcd` 86400
00:29:33 <lambdabot> 1728
00:29:48 -!- hppavilion[1] has joined.
00:30:08 <oerjan> `factor 86400
00:30:09 <HackEgo> 86400: 2 2 2 2 2 2 2 3 3 3 5 5
00:30:47 <oerjan> factors of 2 might spring into existence easily, but 3?
00:31:13 <oerjan> `factor 48700
00:31:14 <HackEgo> 48700: 2 2 5 5 487
00:31:28 <oerjan> `factor 48701
00:31:30 <HackEgo> 48701: 31 1571
00:32:05 -!- boomboompsh has quit (Quit: Page closed).
00:34:20 <HackEgo> [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 <oerjan> `` date '+%s' --date='Sun, 30 Jan 2039 00:34:18 GMT'
00:35:34 <HackEgo> 2179960458
00:35:44 <oerjan> `` date '+%s' --date='Sun, 30 Jan 2016 00:34:18 GMT'
00:35:46 <HackEgo> 1454114058
00:35:49 <ais523> `echo $((10*3600+8*60+24))
00:35:50 <HackEgo> ​$((10*3600+8*60+24))
00:35:56 <ais523> `` echo $((10*3600+8*60+24))
00:35:57 <HackEgo> 36504
00:36:22 <ais523> > (2179960458-1454114058)
00:36:23 <lambdabot> 725846400
00:36:27 <ais523> > (2179960458-1454114058) / 36504
00:36:29 <lambdabot> 19884.023668639053
00:36:40 <oerjan> oops
00:36:42 <ais523> hmm
00:37:04 <ais523> typo somewhere? or just a coincidence lurking somewhere?
00:37:09 <ais523> 24 years has a lot of factors
00:37:16 <oerjan> it does
00:37:19 <ais523> `factor 36504
00:37:20 <HackEgo> 36504: 2 2 2 3 3 3 13 13
00:37:40 <hppavilion[1]> @24*365
00:37:40 <lambdabot> Unknown command, try @list
00:37:43 <hppavilion[1]> @eval 24*365
00:39:36 <oerjan> > 725846400 + 36504
00:39:38 <lambdabot> 725882904
00:39:59 <oerjan> `factor 725882904
00:40:01 <HackEgo> 725882904: 2 2 2 3 3 3 3360569
00:40:16 <oerjan> `factor 725846400
00:40:18 <HackEgo> 725846400: 2 2 2 2 2 2 2 3 3 3 5 5 31 271
00:41:40 <hppavilion[1]> oerjan: What... exactly are you doing?
00:41:55 <hppavilion[1]> Also, I think that mediawiki should measure "2 decades" as "1 score"
00:42:07 <oerjan> hppavilion[1]: trying to find out the reason for mediawiki's weird block length reporting bug
00:42:15 <hppavilion[1]> oerjan: Ah
00:42:26 <hppavilion[1]> oerjan: What bug is that?
00:43:02 <oerjan> 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 <hppavilion[1]> oerjan: Ah
00:44:25 <oerjan> the 24 year one had an eerie coincidence that the 23 year one doesn't.
00:49:26 <fizzie> http://sprunge.us/iBVG?php is what it uses to go from seconds to a list of things.
00:50:02 <oerjan> aha
00:50:15 <fizzie> With http://sprunge.us/XaFK?php for the $durationIntervals table.
00:51:02 <oerjan> hm...
00:51:13 -!- hppavilion[1] has quit (Ping timeout: 265 seconds).
00:52:16 <fizzie> 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 <oerjan> ooh..
00:52:38 -!- jaboja has quit (Ping timeout: 256 seconds).
00:53:47 <oerjan> > 757382400 `divMod` 31556952
00:53:49 <lambdabot> (24,15552)
00:54:24 <fizzie> Well, that seems quite confirmationary.
00:54:47 <fizzie> > 725846400 `divMod` 31556952
00:54:49 <lambdabot> (23,36504)
00:56:35 <fizzie> 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 <oerjan_> 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 <oerjan> 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 <oerjan> ais523: well, mystery solved
01:03:30 <oerjan> it was both simpler and more stupid than hoped
01:03:39 -!- pikhq_ has joined.
01:03:50 <ais523> 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 <oerjan> ais523: the reporting is done with a flawed algorithm for splitting out the years
01:05:15 <ais523> ah right, the X hours we see is actually made out of amortized leap days?
01:05:27 <oerjan> ...i guess.
01:06:27 -!- Deewiant has joined.
01:06:35 -!- APic has joined.
01:07:27 <oerjan> > 86400 * ( 365 + ( 24 * 3 + 25 ) / 400
01:07:29 <lambdabot> <hint>:1:39:
01:07:29 <lambdabot> parse error (possibly incorrect indentation or mismatched brackets)
01:07:35 <oerjan> > 86400 * ( 365 + ( 24 * 3 + 25 ) / 400 )
01:07:37 <lambdabot> 3.1556952e7
01:07:42 <oerjan> dammit
01:07:53 <oerjan> > 86400 * ( 365 + ( 24 * 3 + 25 ) / 400 ) :: CReal
01:07:55 -!- glowcoil_ has changed nick to glowcoil.
01:07:55 <lambdabot> 31556952.0
01:08:10 <oerjan> heh it's at least a whole number of seconds
01:11:14 <oerjan> if it hadn't been, maybe they would have thought twice.
01:11:26 -!- gniourf has joined.
01:12:32 <oerjan> also, this means the bug has nothing to do with crossing 2038 per se
01:12:56 <oerjan> it should show up almost every time you have a duration > a year
01:18:01 <HackEgo> [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 <fizzie> I was confused about that.
01:28:46 <oerjan> @metar ENVA
01:28:47 <lambdabot> ENVA 300050Z 25035G48KT 9999 FEW055 06/M02 Q0968 RMK WIND 670FT 26026G48KT
01:28:56 <oerjan> "WIND" is correct
01:29:42 <fizzie> Ooh: 35 knots, 48 in gusts.
01:29:46 <fizzie> Except I still can't read that.
01:30:07 <fizzie> @metar EGLL
01:30:07 <lambdabot> EGLL 300120Z AUTO 22016KT 9999 -RA OVC010 11/10 Q1009 NOSIG
01:30:24 <fizzie> It was slightly windy here earlier, but not really.
01:30:51 <oerjan> it might be abating here too
01:34:17 <izabera> "Knowledge of the main components of an application architecture." what does this mean?
01:37:28 <izabera> 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 <fizzie> I have a vague suspicion it's not the applications architecture your quote is talking about.
01:39:47 <izabera> then i'm not sure what it is
01:40:17 <fizzie> I'm not sure either.
01:41:04 <fizzie> 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 <oerjan> i think the last issue in the top box might be relevant hth
01:41:08 <fizzie> But who knows.
01:41:49 <fizzie> Well. I'm sure buzzwords feature heavily in whatever the "correct" meaning is, as well.
01:42:43 <fizzie> "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 <izabera> sounds pretty vague?
01:44:04 <fizzie> Sounds pretty enterprise.
01:45:21 <fizzie> I don't think that is a very good encyclopedia article.
01:47:00 -!- trn has joined.
01:48:52 <fizzie> I clicked the "Zachman Framework" link and now I'm regretting it.
01:50:43 <fizzie> 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 <fizzie> 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 <fizzie> "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 <fizzie> I'm entirely unable to distinguish between "serious" enterprise architecture talk, and parody of enterprise architecture talk.
01:59:57 <fizzie> "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 <fizzie> 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 <izabera> 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 <fizzie> Are you sure you're reading a real job listings site?
02:13:39 <izabera> i hope so -.-
02:13:55 <izabera> who the fuck writes cobol in 2016
02:14:26 <fizzie> People who are desperately trying to maintain a legacy system in some sort of a working order, is my guess.
02:14:27 <izabera> or even in the last 20 years
02:16:45 <olsner> izabera: another channel I'm in runs a cobol bot
02:16:52 <izabera> whyyyy
02:16:55 <olsner> (they also have quotes on gopher, so eh)
02:17:00 <izabera> whyyyy^2
02:17:36 <izabera> kind of surprised that this channel doesn't have a cobol bot
02:17:52 <olsner> fungot: are you cobol?
02:17:52 <fungot> olsner: i see, so ( letrec* ( ( a 2 1) ' (
02:17:58 <fizzie> We have a Gopher enthusiast regular, at least.
02:18:19 <fizzie> fungot: That doesn't look like COBOL at all
02:18:20 <fungot> 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 <olsner> hm, that looks slightly more like cobol
02:18:53 <izabera> at least more enterprisey
02:24:16 <oerjan> `unidecode -
02:24:22 <HackEgo> ​[U+002D HYPHEN-MINUS]
02:29:26 <oerjan> `unidecode –
02:29:28 <HackEgo> ​[U+2013 EN DASH]
02:29:58 <oerjan> stupid monospace makes them hard to distinguish
02:30:47 <oerjan> there was this guy here once who knew cobol. *something*iggins
02:31:15 <oerjan> i think he was older than me
02:32:35 <pikhq_> I... also know COBOL, sadly.
02:41:53 <izabera> where do i find a cobol interpreter to set up a bot?
02:43:06 <pikhq_> Not easily: it's largely compiled.
02:43:53 <pikhq_> That said, GnuCOBOL.
02:44:09 <izabera> do you need something like
02:44:19 <izabera> i dunno, special whitespace things?
02:44:26 <izabera> like newlines somewhere?
02:44:43 <izabera> or can you write a whole function in a single line?
02:44:48 <pikhq_> Oh my shit yes. In traditional COBOL, *columns* are significant.
02:45:28 <fizzie> That's the case for traditional FORTRAN as well.
02:45:54 <pikhq_> And freeform COBOL is not very common.
02:46:05 <FireFly> The joy of working with ancient technology?
02:47:14 <fizzie> Freeform FORTRAN was introduced in Fortran 95, and might be relatively common.
02:47:19 <fizzie> As far as these things go.
02:48:03 <FireFly> Hm
02:48:20 <FireFly> INTERCAL depended on using backspace to combine characters originally, didn't it?
02:48:26 <pikhq_> Yes.
02:49:03 <izabera> this gnu cobol thing has a gui
02:49:16 <FireFly> 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 <pikhq_> Specifically U+0008.
02:49:38 <FireFly> Right, the backspace glyph
02:49:46 <FireFly> or not glyph.. character
02:49:47 <pikhq_> Though a pain to type, and won't render right, it'll still "work".
02:50:12 <FireFly> Vim has an option to have infix backspace compose digraphs in insert-mode
02:50:15 <FireFly> funnily enough
02:50:33 <FireFly> It's not exactly overstriking, but I guess it's somewhat similar
02:53:11 -!- MDude has joined.
02:57:08 <fizzie> @metar EGLL
02:57:08 <lambdabot> EGLL 300250Z AUTO 26019KT 9999 -RA BKN012/// BKN025/// OVC042/// //////CB 11/09 Q1008 RERA TEMPO SCT012
02:57:19 <fizzie> Hm. "RERA".
02:57:58 <fizzie> Huh. That's apparently for "recent" weather.
02:58:30 <fizzie> 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 <oerjan> it's for those pesky backwards-in-time flying planes
03:15:05 -!- Alcest has quit (Ping timeout: 245 seconds).
03:23:33 <zzo38> 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 <zzo38> 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 <zzo38> 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 <zzo38> I find ZORKMID is useful not only for debugging Z-machine story files, but also for debugging other Z-machine implementations.
06:11:47 <hppavilion[1]> zzo38: What's a Z-machine again?
06:12:11 <hppavilion[1]> Ah, a VM for ZORK or something
06:12:23 <zzo38> Yes
06:13:11 <zzo38> 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 <hppavilion[1]> Cooool
06:20:20 <zzo38> The name is short for "Zork Machine Interpreter and Debugger"
06:25:11 -!- bender| has joined.
06:27:06 <zzo38> 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 <hppavilion[1]> Well.
06:28:26 <hppavilion[1]> One of the most popular searches for porn in Hawaii is "Hawaii"
06:29:46 * izabera wonders what hawaii means
06:30:49 <hppavilion[1]> izabera: It's... a US state
06:31:07 <hppavilion[1]> izabera: Nice vacation spot. An island chain.
06:31:25 <hppavilion[1]> (I really hope you mean you don't know, less that be a bit embarrassing xD)
06:31:40 <izabera> wasn't serious
06:43:41 <hppavilion[1]> 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 <hppavilion[1]> (src: http://www.pornhub.com/insights/red-versus-blue-us-states/)
06:44:06 <hppavilion[1]> (I swear, I have no clue how I wound up there)
06:50:12 <hppavilion[1]> (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 <boily> `wisdom
14:52:51 <HackEgo> perpetual motion machine/Perpetual motion machines came with FreeFull's phone. They were hallucinated by Slereah's lack of entropy.
14:53:31 <boily> `culprits wisdom/perpetual\ motion\ machine
14:53:36 <HackEgo> No output.
14:53:44 <boily> `` culprits wisdom/perpetual\ motion\ machine
14:53:49 <HackEgo> oerjan elliott boily boily
15:19:41 <FreeFull> boily: You're at fault
15:22:17 <boily> 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 <fizzie> https://googledrive.com/host/0B4J9OAzXNfZAcG5vcDhkWGFKd3M IMPORTANT: DANGER DEER
16:25:07 -!- Reece_ has joined.
16:39:00 <int-e> @metar lowi
16:39:01 <lambdabot> LOWI 301620Z 16016G28KT 110V190 CAVOK 11/M01 Q1016 WS R08 NOSIG
16:41:28 <boily> @metar CYUL
16:41:28 <lambdabot> 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 <oerjan> @tell hppavilion[1] <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 <lambdabot> Consider it noted.
18:00:37 <oerjan> @tell hppavilion[1] so it's ice cream causing shark attacks all over again
18:00:37 <lambdabot> Consider it noted.
18:02:06 <oerjan> (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 <fizzie> 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 <oerjan> 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 <boily> shikhin: shellokhin. identity crisis?
18:33:42 <shikhin> 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 <boily> nortti: nellortti. shikhin is a god?
18:34:27 <nortti> 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 <nortti> ...that's a world I already live in
18:38:53 <shikhin> Then you must consider the possibility that you already are my high priest.
18:39:21 <nortti> I know that
18:40:24 <shikhin> Oh. I have nothing more.
18:40:30 * shikhin procrastinates on doing malevolent stuff.
18:40:50 <nortti> that's one good part of you
18:40:53 <boily> `? shikhin
18:40:58 <HackEgo> shikhin? ¯\(°​_o)/¯
18:41:25 <boily> `learn shikhin is a Malevolent God, who will promise you stuff tomorrow.
18:41:28 <HackEgo> Learned 'shikhin': shikhin is a Malevolent God, who will promise you stuff tomorrow.
18:41:32 <boily> `? nortti
18:41:34 <HackEgo> nortti boy. very nortti boy.
18:41:36 <shikhin> :D
18:41:50 <nortti> :D
18:42:01 -!- Reece_ has quit (Read error: Connection reset by peer).
18:42:16 <boily> `learn nortti is a very nortti boy. He yielded to shikhin's promises, and now is his High Priest.
18:42:19 <HackEgo> Learned 'nortti': nortti is a very nortti boy. He yielded to shikhin's promises, and now is his High Priest.
18:42:36 <nortti> damnit, was going to add that myself, using sed -i
18:42:43 <boily> 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 <boily> 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 <tswett> `cat bin/culprits
19:50:30 <HackEgo> 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 <izabera> grep|awk|sed x.x
20:14:57 <int-e> it's nicely compositional
20:18:23 <fizzie> Put some cats in between.
20:19:03 <fizzie> 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 <zzo38> 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 <int-e> `cat cat cat
20:46:29 <HackEgo> cat: cat cat: No such file or directory
20:46:33 <int-e> `` cat cat cat
20:46:35 <HackEgo> Meow~~ >^.^< \ Meow~~ >^.^<
20:47:13 <fizzie> `` cat cat | cat | cat - cat
20:47:14 <HackEgo> Meow~~ >^.^< \ Meow~~ >^.^<
20:47:29 <int-e> good punctuation
20:47:37 <fizzie> `` cat < canary
20:47:38 <HackEgo> ​*tsjørp*
20:47:43 <\oren\> `` neko
20:47:44 <HackEgo> bash: neko: command not found
20:47:53 <\oren\> wha, no nyaaa
20:48:18 <int-e> `dog
20:48:19 <HackEgo> ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: dog: not found
20:50:39 <int-e> `` tac <(echo a;echo b) <(echo c;echo d)
20:50:41 <HackEgo> tac: cannot create temporary file in `/tmp': Invalid argument
20:51:09 <int-e> huh
20:51:52 <fizzie> Huh.
20:51:59 <Elronnd> is that zsh?
20:52:02 <Elronnd> ``echo $SHELL
20:52:04 <HackEgo> ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: `echo: not found
20:52:06 <Elronnd> `echo $SHELL
20:52:07 <HackEgo> ​$SHELL
20:52:09 <Elronnd> `echo $0
20:52:10 <int-e> bash, I assume
20:52:11 <HackEgo> ​$0
20:52:17 <fizzie> You want a space after ``.
20:52:21 <Elronnd> ` echo $0
20:52:22 <HackEgo> ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: : not found
20:52:26 <Elronnd> `` echo $0
20:52:27 <HackEgo> bash
20:52:33 <Elronnd> there
20:52:50 <fizzie> `` touch /tmp/foo
20:52:51 <HackEgo> No output.
20:52:54 <fizzie> Hmm.
20:53:04 <int-e> bash stole a few cute ideas from zsh
20:54:16 <int-e> touch /tmp/123
20:54:18 <int-e> `` touch /tmp/123
20:54:19 <HackEgo> No output.
20:54:29 <int-e> `` ls /tmp
20:54:30 <HackEgo> No output.
20:54:51 -!- Melvar` has joined.
20:54:56 <fizzie> It's just calling mkstemp on a string that says "/tmp/tacXXXXXX".
20:55:01 <fizzie> Assuming it's the coreutils tac.
20:55:19 <int-e> but why does that go wrong?
20:55:33 <fizzie> I'm puzzled.
20:56:02 <fizzie> It doesn't have strace. :/
20:56:11 <fizzie> I wanted to see what exactly it's trying that returns EINVAL.
20:56:21 <int-e> 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 <fizzie> `` t=$(mktemp "/tmp/tacXXXXXX"); ls -l $t; rm $t
20:57:49 <HackEgo> ​-rw------- 1 5000 487868 0 Jan 30 20:57 /tmp/tacH2R8sT
20:57:54 <fizzie> I mean, that's just fine.
20:58:28 -!- XorSwap has joined.
20:59:25 <fizzie> `` tac <(echo a; echo b)
20:59:27 <HackEgo> b \ a
20:59:31 <fizzie> And that is fine as well.
20:59:42 <fizzie> But once you add a second pipe, no.
20:59:47 <fizzie> `` tac <(echo a; echo b) cat
20:59:49 <HackEgo> b \ a \ Meow~~ >^.^<
20:59:53 <fizzie> That's also fine.
21:00:28 <int-e> so that leaves lseek (unlikely) and ftruncate...
21:00:45 -!- Melvar` has joined.
21:01:20 <fizzie> 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 <int-e> fizzie: it reuses the temp file
21:01:49 <int-e> (at least according to my local strace output)
21:02:03 <fizzie> Oh, okay.
21:02:22 <fizzie> So it does.
21:02:26 <fizzie> Missed the "static" part.
21:02:52 <fizzie> But it should give a different error if it failed while seeking.
21:03:17 <fizzie> 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 <int-e> `` tac <(echo a;echo b) <(echo c;echo d)
21:03:39 <HackEgo> tac: cannot create temporary file in `/tmp': Invalid argument
21:03:45 <int-e> hmm, ulimit
21:03:56 <int-e> `` tac <(echo a;echo b) <(echo c;echo d) <(echo e;echo f) <(echo g;echo h)
21:03:58 <HackEgo> 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 <fizzie> Ssswhat.
21:04:39 <int-e> maybe that tac is buggy?
21:04:44 <int-e> `` tac --version
21:04:45 <HackEgo> tac (GNU coreutils) 8.13 \ Copyright (C) 2011 Free Software Foundation, Inc. \ License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. \ 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 <izabera> `` echo <(:) <(:) <(:)
21:05:32 <HackEgo> ​/dev/fd/63 /dev/fd/62 /dev/fd/61
21:05:55 <izabera> not sure why it doesn't work with tac
21:07:33 <fizzie> Oh, that's a different error string than in the tac source I'm looking at.
21:08:26 <fizzie> The one I'm looking at says "failed to create temporary file"; that tac says "cannot create temporary file".
21:09:37 <fizzie> The coreutils 8.13 apparently comes from before they invented the tempfile reuse.
21:10:01 <int-e> 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 <fizzie> This one's copy_to_temp always makes a new file.
21:10:08 <fizzie> Huh.
21:10:13 <fizzie> That's pretty buggy.
21:10:17 <izabera> maybe update it?
21:10:31 <izabera> is that what ubuntu is shipping?
21:10:42 <izabera> `` echo $BASH_VERSION
21:10:44 <HackEgo> 4.2.37(1)-release
21:10:44 <int-e> izabera: the VM is rather old.
21:10:50 <izabera> maybe update it? <.<
21:11:11 <fizzie> The system it's running on has tac 8.23.
21:11:32 <izabera> `` echo $PATH
21:11:33 <HackEgo> ​/hackenv/bin:/opt/python27/bin:/opt/ghc/bin:/usr/bin:/bin
21:11:41 <izabera> well, let's write our own tac
21:11:53 <int-e> `catcat
21:11:55 <HackEgo> No output.
21:12:03 * int-e rolls his eyes.
21:12:07 <int-e> `cat bin/catcat
21:12:08 <izabera> `` type gawk awk
21:12:14 <HackEgo> echo No output.
21:12:14 <HackEgo> bash: line 0: type: gawk: not found \ awk is /usr/bin/awk
21:12:22 <fizzie> But hackbot has its own chroot, and I haven't been touching that.
21:12:56 <izabera> `` mawk -W version
21:12:57 <HackEgo> compiled limits: \ max NF 32767 \ sprintf buffer 2040 \ mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
21:13:07 <izabera> `` awk -W version
21:13:09 <HackEgo> compiled limits: \ max NF 32767 \ sprintf buffer 2040 \ mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
21:13:11 <izabera> :\
21:13:16 <izabera> mawk sucks
21:13:23 <izabera> 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 <izabera> `` 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 <HackEgo> No output.
21:26:01 <izabera> `` tac <(echo a;echo b) <(echo c;echo d)
21:26:03 <HackEgo> ​/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 <izabera> what
21:26:22 <izabera> oh
21:26:25 <izabera> i'm stupid
21:26:51 <izabera> `` 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 <HackEgo> No output.
21:26:56 <izabera> `` tac <(echo a;echo b) <(echo c;echo d)
21:26:57 <HackEgo> No output.
21:27:03 <izabera> -.-
21:27:58 -!- Reece_ has joined.
21:28:48 <izabera> `tac bin/tac
21:28:49 <HackEgo> ​#!/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 <izabera> :( works in gnu awk
21:29:27 <izabera> stupid mawk
21:29:39 <izabera> whatever -.-
21:30:05 <zzo38> 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 <izabera> `` 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 <HackEgo> No output.
21:32:55 <izabera> `` tac <(echo a;echo b) <(echo c;echo d)
21:32:56 <HackEgo> b \ a \ d \ c
21:33:27 <Elronnd> what does tac do?
21:33:42 <izabera> prints the lines in reverse order
21:33:51 <Elronnd> ah
21:34:37 -!- Reece2 has joined.
21:35:55 -!- Reece_ has quit (Ping timeout: 245 seconds).
21:36:41 <fizzie> izabera: It's a Debian 7.3 in a chroot.
21:36:55 <fizzie> Probably with a rather limited selection of packages.
21:37:00 <izabera> that's why everything is so old
21:37:27 <fizzie> (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 <Elronnd> 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 <Elronnd> ksp got more expensive
22:16:51 <Elronnd> last I checked it was ~20-30 dollars
22:16:53 <Elronnd> now it's 40
22:17:17 <Phantom_Hoover> 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 <Elronnd> Should I get it?
22:19:10 -!- hppavilion[1] has joined.
22:20:01 <Phantom_Hoover> Elronnd, there's a demo isn't there
22:20:11 <int-e> it's yet another time sink
22:20:12 <Elronnd> yes
22:20:29 <Phantom_Hoover> have you tried it, did you like it
22:20:44 <Elronnd> I haven't tried it
22:21:00 -!- Reece2 has quit (Quit: Alsithyafturttararfunar.).
22:21:05 <Elronnd> 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 <fizzie> Steam had it in the sale, though skipped.
22:43:52 <fizzie> Now it's £30 here.
22:45:05 <fizzie> 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 <Elronnd> lol
22:47:17 <fizzie> I guess it's all in Kerbalese.
22:53:09 <zzo38> If English is not supported, see if the language can be switched to American or Canadian instead
22:53:48 <quintopia> hezzo38
22:53:58 <hppavilion[1]> zzhello38
22:54:04 <hppavilion[1]> zzyo38
22:54:13 <quintopia> am i the only one here without double letters
22:54:25 <quintopia> 2zs 2ps 2ns
22:54:42 <hppavilion[1]> quintopia: clog
22:54:51 <hppavilion[1]> I guess?
22:54:59 <quintopia> clog is not human
22:55:27 <quintopia> although i cant claim its not paying attention
22:55:41 <quintopia> its attention span is unmatched
22:55:55 <quintopia> but it does not participate
23:02:02 -!- hppavilion[1] has quit (Ping timeout: 276 seconds).
23:05:38 <fizzie> 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 <fizzie> 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 <hppavilion[1]> I want to make an esowiki article on the ban/nat/nit/nepit
23:28:11 <hppavilion[1]> Which name should I use?
23:29:03 <hppavilion[1]> Or should I roll all the strange units of measurement into one big article?
23:29:38 <hppavilion[1]> (ban/nat/nit/nepit is a base-e unit of measurement to the bit's base-2)
23:30:23 <hppavilion[1]> 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 <zzo38> I think you should put them together in one article, probably.
23:57:01 -!- tromp_ has joined.
←2016-01-29 2016-01-30 2016-01-31→ ↑2016 ↑all