00:00:20 <fungot> boily: since that's all i know about monads, though,
00:00:27 <boily> the nostril monad.
00:48:47 -!- variable has joined.
00:55:02 <esowiki> [[User:Challenger5]] M https://esolangs.org/w/index.php?diff=54215&oldid=54164 * Challenger5 * (+39)
00:56:58 <esowiki> [[Z]] M https://esolangs.org/w/index.php?diff=54216&oldid=49651 * Challenger5 * (-3)
01:05:42 <esowiki> [[MiniPig]] https://esolangs.org/w/index.php?diff=54217&oldid=49746 * Challenger5 * (-13)
01:34:21 -!- MDude has joined.
01:41:23 -!- augur has quit (Remote host closed the connection).
01:59:30 <boily> @tell oerjan bonsϿirjan. sorry if it rings you, but another attempt at earworming: https://youtu.be/2SoZzlgQzHM
02:14:50 -!- variable has quit (Quit: /dev/null is full).
02:23:44 -!- variable has joined.
02:42:28 -!- oerjan has joined.
02:44:24 <lambdabot> boily said 44m 54s ago: bonsϿirjan. sorry if it rings you, but another attempt at earworming: https://youtu.be/2SoZzlgQzHM
02:49:42 * oerjan puts boily in the list of people whose links not to follow, together with \oren\_
02:54:44 -!- boily has quit (Quit: SECRET CHICKEN).
03:15:23 -!- variable has quit (Quit: /dev/null is full).
03:23:57 <zzo38> Now my X resource manager implementation in C is works; it is much smaller than the implementation of the Xrm functions in xcb-util and is much smaller than the implementation of the Xrm functions in Xlib, too. I don't know why they made those programs so large.
03:24:24 -!- variable has joined.
03:41:58 -!- augur has joined.
03:46:20 -!- augur has quit (Ping timeout: 255 seconds).
05:23:50 <oerjan> well, queen albia was a big surprise.
05:31:59 -!- rodgort has quit (Quit: Leaving).
05:36:11 -!- rodgort has joined.
06:06:30 -!- variable has quit (Quit: Found 1 in /dev/zero).
06:28:03 <int-e> wow, early update?
06:35:17 <zzo38> How can I download Kaiji One Poker Hen 218-221 in 7-Zip format? I found RAR format, but it won't even download.
07:03:07 <int-e> oh there's an xkcd as well
07:03:39 <int-e> (I guess the image title saves it)
07:18:56 -!- sleffy has quit (Ping timeout: 256 seconds).
07:21:54 -!- oerjan has quit (Quit: Nite).
07:30:48 -!- APic has quit (*.net *.split).
07:30:48 -!- prooftechnique_ has quit (*.net *.split).
07:30:48 -!- staffehn has quit (*.net *.split).
07:31:20 -!- sftp has quit (*.net *.split).
07:31:20 -!- optimus[m] has quit (*.net *.split).
07:31:21 -!- heroux has quit (*.net *.split).
07:31:22 -!- shachaf has quit (*.net *.split).
07:31:22 -!- grumble has quit (*.net *.split).
07:34:14 -!- sdhand has quit (Ping timeout: 260 seconds).
07:35:57 -!- sdhand has joined.
07:36:21 -!- sdhand has changed nick to Guest27527.
07:36:46 -!- sleffy has joined.
07:47:38 <zzo38> I thought of a new chess variant, which is 8x10, the Queen's move is only one space diagonal and its only orthogonal move is one space horizontal on rank 0 and 9, you win if you capture opponent's King or if your King or Queen reaches opponent's corner, you can promote only into pieces that have been removed from the board (but they don't have to be your own), two new pieces, and a few other things.
07:53:25 -!- sftp has joined.
07:53:25 -!- optimus[m] has joined.
07:53:25 -!- heroux has joined.
07:53:25 -!- shachaf has joined.
07:53:25 -!- grumble has joined.
07:57:37 -!- APic has joined.
07:57:38 -!- prooftechnique_ has joined.
07:57:38 -!- staffehn has joined.
07:58:20 -!- APic has quit (Max SendQ exceeded).
08:00:08 -!- optimus[m] has quit (Ping timeout: 255 seconds).
08:00:19 -!- copumpkin has quit (Ping timeout: 255 seconds).
08:03:55 -!- APic has joined.
08:11:48 -!- prooftechnique_ has quit (*.net *.split).
08:11:48 -!- staffehn has quit (*.net *.split).
08:11:50 -!- sftp has quit (*.net *.split).
08:11:50 -!- heroux has quit (*.net *.split).
08:11:50 -!- shachaf has quit (*.net *.split).
08:11:50 -!- grumble has quit (*.net *.split).
08:18:23 -!- HackEgo has quit (Ping timeout: 276 seconds).
08:22:25 -!- heroux has joined.
08:22:27 -!- shachaf has joined.
08:22:33 -!- sftp has joined.
08:22:49 -!- grumble has joined.
08:33:20 -!- prooftechnique has joined.
08:34:08 -!- staffehn has joined.
08:34:45 -!- xkapastel has quit (Quit: Connection closed for inactivity).
08:42:43 -!- augur has joined.
08:45:46 -!- sleffy has quit (Ping timeout: 256 seconds).
08:47:13 -!- augur has quit (Ping timeout: 256 seconds).
09:01:25 -!- optimus[m] has joined.
09:14:08 -!- copumpkin has joined.
09:14:58 -!- AnotherTest has joined.
09:21:57 -!- AnotherTest has quit (Ping timeout: 264 seconds).
09:31:59 -!- LKoen has joined.
09:43:05 -!- AnotherTest has joined.
09:47:27 -!- AnotherTest has quit (Ping timeout: 240 seconds).
09:48:05 -!- Melvar has quit (Ping timeout: 240 seconds).
10:01:53 -!- Melvar has joined.
10:18:23 -!- AnotherTest has joined.
10:43:49 -!- AnotherTest has quit (Ping timeout: 260 seconds).
11:02:33 -!- AnotherTest has joined.
11:09:19 -!- AnotherTest has quit (Ping timeout: 248 seconds).
11:25:15 -!- grumble has quit (Quit: and I keep telling myself it's all in my head).
11:31:17 -!- grumble has joined.
11:35:21 -!- boily has joined.
12:09:28 <fizzie> (is what they're calling the current UK weather)
12:13:59 <boily> fizziello. strange weather in UK?
12:14:58 -!- Guest27527 has changed nick to sdhand.
12:15:05 -!- sdhand has quit (Changing host).
12:15:05 -!- sdhand has joined.
12:20:21 -!- ybden has left.
12:24:18 -!- boily has quit (Quit: SINGULAR CHICKEN).
12:24:47 -!- AnotherTest has joined.
12:29:36 -!- AnotherTest has quit (Ping timeout: 256 seconds).
12:39:33 -!- augur has joined.
13:08:57 -!- Melvar has quit (Ping timeout: 240 seconds).
13:21:43 -!- Melvar has joined.
14:29:33 <fizzie> @tell boily "The Arctic blast, which has been called “the beast from the east”, will cause temperatures to plunge below zero from Sunday night, with some areas experiencing lows of -8C (17.6F), and snow forecast to fall in London and the east of England."
14:44:23 -!- `^_^v has joined.
14:55:58 -!- AnotherTest has joined.
15:07:53 -!- moei has joined.
15:50:07 -!- `^_^v has quit (Quit: Leaving).
15:50:23 -!- `^_^v has joined.
15:55:59 -!- augur has quit (Ping timeout: 256 seconds).
15:56:23 -!- augur has joined.
16:00:33 -!- Melvar` has joined.
16:01:39 -!- AnotherTest has quit (Ping timeout: 256 seconds).
16:01:45 -!- Melvar has quit (Ping timeout: 268 seconds).
16:07:00 -!- sleffy has joined.
16:15:51 -!- yaewa has joined.
16:17:05 -!- moei has quit (Ping timeout: 248 seconds).
16:18:47 -!- AnotherTest has joined.
16:41:15 -!- xkapastel has joined.
17:10:01 <esowiki> [[Special:Log/newusers]] create * Lynn2 * New user account
17:22:57 -!- Melvar` has quit (Ping timeout: 240 seconds).
17:23:43 -!- zzo38 has quit (Ping timeout: 248 seconds).
17:25:39 -!- zzo38 has joined.
17:36:10 -!- Melvar` has joined.
17:59:48 <esowiki> [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=54218&oldid=54172 * Lynn2 * (+134)
18:00:18 <esowiki> [[Z80golf]] N https://esolangs.org/w/index.php?oldid=54219 * Lynn2 * (+2565) Created page with "'''Z80golf''' is a very simple fantasy [https://en.wikipedia.org/wiki/Zilog_Z80 Zilog Z80] machine designed for [[Golf|code golf]], used on [http://golf.shinh.org/ anarchy gol..."
18:07:10 -!- shachaf has quit (Ping timeout: 240 seconds).
18:07:50 -!- LeoLambda_ has quit (Ping timeout: 276 seconds).
18:07:53 -!- kmc has quit (Ping timeout: 265 seconds).
18:22:27 <int-e> We're sorry, but the HackEgo mutex is currently not available. Please try another time.
18:23:35 <\oren\_> are mutices the correct way to do this even?
18:25:32 <\oren\_> I'm trying to make sure two threads don't alter an std::map at the same time
18:29:23 <\oren\_> so should I lock the map, then lock the member of the map, then unlock the map?
18:33:28 <int-e> why isn't it enough to lock the std::map itself, what does "alter" mean... too many questions.
18:33:59 <\oren\_> int-e: well ok, so i have a web server thingy
19:26:28 <esowiki> [[Z80golf]] https://esolangs.org/w/index.php?diff=54220&oldid=54219 * Lynn2 * (+93)
19:27:08 -!- esowiki has joined.
19:27:18 <esowiki> [[Z80golf]] https://esolangs.org/w/index.php?diff=54221&oldid=54220 * Lynn2 * (+0)
19:31:09 -!- variable has joined.
19:37:38 -!- variable has quit (Quit: /dev/null is full).
19:38:43 -!- variable has joined.
19:41:56 -!- LKoen has quit (Remote host closed the connection).
19:47:47 <esowiki> [[Z80golf]] https://esolangs.org/w/index.php?diff=54222&oldid=54221 * Lynn2 * (+139)
19:52:05 -!- Melvar` has quit (Ping timeout: 240 seconds).
20:03:33 <esowiki> [[Z80golf]] https://esolangs.org/w/index.php?diff=54223&oldid=54222 * Lynn2 * (+957)
20:04:00 -!- Melvar` has joined.
20:04:04 <esowiki> [[Z80golf]] https://esolangs.org/w/index.php?diff=54224&oldid=54223 * Lynn2 * (+40)
20:07:09 <esowiki> [[Z80golf]] https://esolangs.org/w/index.php?diff=54225&oldid=54224 * Lynn2 * (+44)
20:07:58 <esowiki> [[Z80golf]] https://esolangs.org/w/index.php?diff=54226&oldid=54225 * Lynn2 * (+296)
20:11:45 -!- `^_^v has quit (Quit: This computer has gone to sleep).
20:14:35 -!- `^_^v has joined.
20:16:58 -!- `^_^v has quit (Client Quit).
20:17:34 -!- augur has quit (Remote host closed the connection).
20:19:37 -!- `^_^v has joined.
20:28:09 -!- augur has joined.
20:30:53 -!- `^_^v has quit (Quit: This computer has gone to sleep).
20:32:33 -!- augur has quit (Ping timeout: 248 seconds).
20:34:35 -!- wob_jonas has joined.
20:36:27 -!- Phantom_Hoover has joined.
20:36:27 -!- Phantom_Hoover has quit (Changing host).
20:36:27 -!- Phantom_Hoover has joined.
20:37:25 <wob_jonas> Some large stores are now routinely putting throwaway RFID anti-theft chips on products that cost less than 500 HUF and aren't especially common targets for theft. RFID sure has become cheap.
20:38:27 -!- `^_^v has joined.
20:41:25 <wob_jonas> Admittedly this is a store that sells mostly its own branded products, and the RFID chip doubles as faster barcode-less checkout system, which is why it's worth to add it on everything, even cheap products.
20:42:18 <wob_jonas> Most supermarkets only add RFID on the more expensive products, and the ones that are expensive relative to their physical size and likely targets for theft, such as small liquor bottles.
20:45:39 <wob_jonas> \oren\: normally you lock the whole map (put it behind a mutex),
20:46:52 <wob_jonas> \oren\: but if you have lots of concurrent accesses on a map from many threads in performance-sensitive contexts, which most often happens in an OS kernel, then you can use a trickier structure with more fine-grained locking, usually a hash table but technically can be a tree style map too.
20:48:32 <wob_jonas> \oren\: if you have lots of concurrent reads but fewer modifications, then you can also use a read-write lock on the whole map, which allows concurrent reads from multiple threads, but excludes other type of concurrent access, and is not much more expensive than the simple mutex
20:49:43 <wob_jonas> \oren\: in modern C++, there's an std::shared_timed_mutex and std::shared_mutex class that implements the read-write lock semantics for threads
20:49:56 <fizzie> wob_jonas: The CaC host is down again. Or at least unresponsive to SSH.
20:55:35 -!- aeyxa has quit (Ping timeout: 260 seconds).
21:00:29 <wob_jonas> Ebay's Paypal payment interface still uses the very uninformative "1.00 HUF = 0.00 USD" style rounded currency conversion rate.
21:02:06 -!- `^_^v has quit (Quit: This computer has gone to sleep).
21:03:36 -!- `^_^v has joined.
21:06:10 -!- `^_^v has quit (Client Quit).
21:11:54 -!- `^_^v has joined.
21:16:05 -!- Melvar` has quit (Ping timeout: 240 seconds).
21:18:32 -!- `^_^v has quit (Quit: This computer has gone to sleep).
21:20:44 <zzo38> A leap year algorithm in a C code can be: int leapyear(unsigned int y) { return !((y%100?:y/100)&3); } You could use optimizations having to do with integer division by a constant, if writing in assembly language. An implementation of this in MMIX with the division instruction uses 64 cycles, but maybe it can be shortened by avoiding a division instruction.
21:24:42 <wob_jonas> zzo38: does this need to work for negative y too?
21:25:57 <int-e> the Gregorian calendar isn't that old
21:27:29 <zzo38> wob_jonas: No, it only works for the Gregorian calendar.
21:28:45 <zzo38> (I wouldn't have written "unsigned" if it is meant to work for negative numbers too.)
21:29:26 <wob_jonas> int-e: yes, I know, but some people extend the Gregorian calendar infinitely back for solar system astronomy or something. zzo38: oh right, unsigned int
21:29:28 -!- Melvar` has joined.
21:32:17 <zzo38> On MMIX, division is six times as slow as multiplication, so it could help to use multiplication instead, even if you need two multiplications.
21:34:08 <wob_jonas> zzo38: you always need only at most one multiplication to simulate a division of single-word numbers by a constant, but you need a number of other instructions next to it. compilers automatically do that optimization these days, because division is always slow, and multiplication is fast on modern cpus.
21:34:39 <wob_jonas> however, in some cases you can get a shorter sequence if you know that the sign bit of the dividend is positive, and compilers often can't prove that.
21:35:37 <wob_jonas> another case when you may have to help the compiler is if you do a lot of divisions by the same divisor, but the compiler doesn't realize that.
21:36:09 <zzo38> Shouldn't the compiler be able to prove if it says "unsigned int", though? And in this case you need the remainder as well as the quotient (but the quotient is irrelevant unless it is exact).
21:37:07 <wob_jonas> zzo38: no, the problem is that sometimes the CPU has a signed integer multiply instruction but no equally cheap unsigned integer multiply. if the sign bit is clear, you can substitute one for the other. this particular case can occur on x86.
21:37:20 -!- LKoen has joined.
21:37:49 <wob_jonas> this is a more frequent problem if you need to do an actual division with a variable dividend, but it can still happen with division simulated by multiplication.
21:38:11 <wob_jonas> zzo38: but even without that the sign can matter:
21:38:36 <variable> zzo38: years divisible by 400 are not leap years
21:39:16 <wob_jonas> zzo38: if you want to divide by 4, and you use the C division operator, which these days has truncating division semantics, then you need like three or four instructions with no multiplication; but if you know the sign bit is clear, then you can use just one instruction, a shift (or a bitwise and for modulo), which does floor division.
21:41:19 <wob_jonas> you could technically also be in trouble if you don't have both signed shift and unsigned shift instructions, but I don't think that occurs on any modern cpu (modern meaning one that has fast multiplication)
21:43:29 <zzo38> Years divisible by 400 are leap years. If it is divisible by 100 then it is not a leap year, unless it is also divisible by 400.
21:46:07 -!- Melvar` has quit (Ping timeout: 248 seconds).
21:46:55 <zzo38> variable: Why do you think it is not a leap year? I think it is a leap year.
21:51:04 <variable> zzo38: https://en.wikipedia.org/wiki/Leap_year
21:51:13 <variable> For example, in the Gregorian calendar, each leap year has 366 days instead of the usual 365, by extending February to 29 days rather than the common 28. These extra days occur in years which are multiples of four (with the exception of years divisible by 100 but not by 400).
21:52:50 -!- `^_^v has joined.
21:59:26 <zzo38> Yes, so 2000, which is divisible by 400, is a leap year.
21:59:47 -!- Melvar` has joined.
22:04:25 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client).
22:06:53 -!- `^_^v has quit (Quit: Leaving).
22:07:02 -!- `^_^v has joined.
22:25:25 -!- HackEgo has joined.
22:27:22 -!- LKoen has quit (Remote host closed the connection).
22:28:03 -!- variable has quit (Quit: /dev/null is full).
22:31:05 -!- `^_^v has quit (Quit: This computer has gone to sleep).
22:34:05 -!- ais523 has joined.
22:36:31 <esowiki> [[Special:Log/newusers]] create * ZM * New user account
22:40:58 <esowiki> [[BS]] M https://esolangs.org/w/index.php?diff=54227&oldid=41504 * HereToAnnoy * (-2) Fixed example program (the one on github also seems to be wrong)
22:46:49 -!- ais523 has quit (Remote host closed the connection).
22:47:03 -!- ais523 has joined.
23:02:42 -!- boily has joined.
23:14:41 -!- AnotherTest has quit (Ping timeout: 248 seconds).
23:25:11 <lambdabot> fizzie said 8h 55m 38s ago: "The Arctic blast, which has been called “the beast from the east”, will cause temperatures to plunge below zero from Sunday night, with some areas experiencing lows
23:25:11 <lambdabot> of -8C (17.6F), and snow forecast to fall in London and the east of England."
23:25:39 <boily> fizzie: frozzenello.
23:25:56 <fizzie> I hope you're at least boilying.
23:26:14 <fizzie> (It's not actually all that cold here. But headlines.)
23:29:58 <ais523> this could be a severe problem for me, as I can't feel the cold, but am still /affected/ by it
23:30:11 <ais523> so I'll have to pay a lot of attention to remember to wear a coat
23:30:54 <ais523> although, "below zero, some areas lows of -8" isn't actually all that cold in an absolute sense
23:31:03 -!- variable has joined.
23:31:32 <ais523> the coldest I've been out in without a coat (due to not realising) was -15°C, that was definitely not a good idea but I survived it
23:31:34 -!- variable has quit (Client Quit).
23:31:36 <boily> fizzie: I'm freezing raining.
23:33:04 <ais523> at least, I think it was -15, might just have been -8
23:33:07 <ais523> it was a while ago now
23:37:20 -!- variable has joined.
23:38:23 -!- variable has quit (Client Quit).
23:50:56 -!- xkapastel has quit (Quit: Connection closed for inactivity).