00:48:38 -!- hwpplayer1 has quit (Quit: Leaving.).
00:52:18 -!- hwpplayer1 has joined.
01:35:32 <oerjan> `` zalgo <<<Ohai esoteric
01:36:18 <HackEgo> #!/usr/bin/python \ import codecs,sys,random \ stdin=codecs.getreader("utf-8")(sys.stdin) \ stdout=codecs.getwriter("utf-8")(sys.stdout) \ x=[unichr(0x300+i) for i in range(0,112)+[393,2887]] \ def z(n,c): \ if c in ["\n"]+x: \ n=0 \ return u"".join(x[random.randrange(0,len(x))] for i in range(n)) \ stdout.write(u"".join(c+z(2,c) for c in st
01:37:02 <oerjan> we have a script for fixing that, but it's much easier to use from bash than python
01:37:41 <HackEgo> #! /bin/bash \ cmd="$1" \ shift \ f="$*" \ if [[ -z "$f" && "$cmd" == *\ * ]]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi \ if [[ -z "$f" ]]; then echo try: \`f command filename; elif [[ -e "$f" ]]; then "$cmd" "$(< "$f")"; else echo no such file: "$f"; fi
01:40:18 <HackEgo> bin/` \ bin/̊ \ bin/ \ bin/! \ bin/? \ bin/¿ \ bin/' \ bin/@ \ bin/* \ bin/؟ \ bin/ \ bin/ \ bin/1 \ bin/5 \ bin/e \ bin/f \ bin/h \ bin/q
01:40:28 <HackEgo> echo elieser224: ¿por qué con frecuencia altas y bajas?
01:40:50 <HackEgo> #!/usr/bin/perl -p \ s/([aeiouy])([bcdfghjklmnpqrstvxz])/$1h$2/ig
01:40:56 <HackEgo> âELF............>.....°@.....@.......ð..........@.8..@.........@.......@.@.....@.@.....À.......À............................@......@............................................@.......@.....Ì......Ì........ ............Ð......Ð`.....Ð`.................... ...........ø......ø`.....ø`..... ....... ................
01:41:09 <HackEgo> #!/bin/sh \ allquotes | if [ "$1" ]; then \ if expr "$1" + 0 >/dev/null 2>&1; then \ sed "$1q;d" \ else \ grep -P -i -- "$1" \ fi \ else shuf -n 1; fi
01:42:10 <HackEgo> ` \ `` \ ^.^ \ ̊ \ \ ! \ ? \ ?? \ ¿ \ ' \ @ \ * \ ؟ \ \ \ \ 1 \ 1492 \ 2014 \ 2015 \ 2016 \ 2017 \ 5 \ 5quote \ 8ball \ 8-ball \ aaaaaaaaa \ addquote \ addtodo \ aglist \ allquotes \ analogy \ anonlog \ append \ arienvenido \ as86 \ aseen \ asm \ autowelcome \ bardsworthlist \ before \ benvenuto \ bf \ bff \ bienvenido \ bienvenue \
01:42:29 <HackEgo> #!/bin/bash \ TIMEFORMAT="real: %lR, user: %lU, sys: %lS" \ shopt -s extglob globstar \ eval -- "$1" | rnooodl
01:43:52 -!- Koen_ has quit (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”).
01:43:54 <HackEgo> echo $(ls bin | shuf -n 1) $*
01:44:43 <oerjan> that doesn't really work, does it
01:46:13 <HackEgo> <int-e> ` chmod +x bin/\\* \ <int-e> ` echo \'echo $(ls bin | shuf -n 1) $*\' > bin/\\*
01:47:17 <HackEgo> cat: bin/<: No such file or directory
01:48:05 <oerjan> hm #! interpreters cannot be scripts, can they...
01:48:47 <HackEgo> ls: cannot access bin/|*: No such file or directory
01:54:53 -!- lambda-11235 has joined.
02:11:51 -!- jaboja has quit (Ping timeout: 264 seconds).
02:32:05 -!- MoALTz has quit (Quit: Leaving).
02:34:57 -!- Phantom_Hoover has quit (Quit: Leaving).
02:54:54 -!- Tiktailk has quit (Changing host).
02:54:54 -!- Tiktailk has joined.
02:54:57 -!- Tiktailk has changed nick to Tiktalik.
02:59:16 -!- bender has joined.
03:03:24 -!- hwpplayer1 has left.
03:10:30 -!- augur has joined.
03:12:15 -!- moon_ has joined.
03:26:47 -!- oerjan has quit (Quit: Bye!).
03:28:32 -!- augur has quit (Remote host closed the connection).
03:35:42 -!- moon_ has quit (Ping timeout: 244 seconds).
04:07:49 -!- Moon_ has joined.
04:08:29 <zzo38> You don't need "random non-bf page". Make SQL codes feature, you can then write that as a SQL code.
04:33:39 -!- augur has joined.
05:53:07 <izabera> first actual day @ new job
05:53:28 <izabera> now i'm on my second train to get there
06:02:41 -!- Sprocklem has joined.
06:04:51 -!- augur_ has joined.
06:05:47 -!- augur has quit (Ping timeout: 250 seconds).
06:06:46 -!- Moon_ has quit (Ping timeout: 250 seconds).
06:38:33 -!- bender__ has joined.
06:39:13 <\oren\> second train the get there?
06:39:46 <\oren\> What miracle land do you live in?
06:40:27 -!- bender has quit (Ping timeout: 250 seconds).
06:40:47 <izabera> do you only have one train in norway?
06:41:40 <izabera> i may be wrong on the norway part
06:42:55 <coppro> oerjan is the one train?
06:44:20 <\oren\> no but my city has only two subway lines
06:44:59 <\oren\> almost everyone has to take cars to work
06:45:15 <izabera> i live some 120km away and don't own a car
06:45:31 <zzo38> When creating a window in X you can specify the depth independently of the visual, but the depth is already defined by the visual anyways. What exactly does it mean if a window has a different depth than the visual?
06:45:40 <\oren\> you'd essentially be screwed in Toronto
06:47:34 -!- lambda-11235 has quit (Ping timeout: 260 seconds).
07:07:53 -!- Destructible has joined.
07:08:22 -!- Destructible has quit (Client Quit).
07:10:25 -!- Kaynato has quit (Ping timeout: 260 seconds).
07:21:56 -!- hppavilion[1] has joined.
07:21:58 <hppavilion[1]> "For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow" (Ecclesiastes 1:18)
07:27:49 <zzo38> If you have wisdom and knowledge they might have sorrow/grief, but that doesn't make science and learning to be bad.
07:33:48 <asie> hppavilion[1]: That is not to say that
07:34:12 <HackEgo> /home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: sorrow: not found
07:34:14 <asie> Why do you think negative emotions and feelings are inherently bad?
07:34:27 <zzo38> It is not supposed to be sorrow it is supposed to be sorry
07:34:41 <asie> They're just emotions. They can lead to great things.
07:35:07 <shachaf> hppavilion[1]: "programmer's google"? I don't get it.
07:35:23 <shachaf> Are you talking about the search engine and/or the company?
07:35:41 <HackEgo> A programmer's google is equal to 10^100, or 110
07:36:06 <hppavilion[1]> `` mv "wisdom/programmer's google" "wisdom/programmer's googol"
07:36:16 <HackEgo> A programmer's google is equal to 10^100, or 110
07:36:18 <zzo38> Wisdom and knowledge and learning can be the good things.
07:36:41 <hppavilion[1]> `` sed -i 's/google/googol/' 'wisdom/programmer's googol'
07:36:42 <HackEgo> /hackenv/bin/`: eval: line 4: unexpected EOF while looking for matching `'' \ /hackenv/bin/`: eval: line 5: syntax error: unexpected end of file
07:37:21 <hppavilion[1]> `le/rn programmer's googol/A programmer's googol is equal to 10^100, or 110
07:37:25 <HackEgo> Relearned «programmer's googol»
07:37:29 <hppavilion[1]> shachaf: The joke is ^ is bitwise xor, not exponentiation
07:38:28 <shachaf> I also don't really get Я.
07:38:45 <shachaf> None of the letters in hsilgnE are flipped.
07:38:46 <HackEgo> Я is the 8th letter of the hsilgnE alphabet
07:39:03 <hppavilion[1]> shachaf: Yeah, because the letters are flipped before mirroring.
07:39:15 <hppavilion[1]> shachaf: Natural language isn't neat and tidy like programming
07:45:43 -!- hppavilion[1] has quit (Ping timeout: 252 seconds).
08:29:11 -!- AnotherTest has joined.
08:43:44 -!- augur_ has quit (Remote host closed the connection).
08:57:36 -!- Sprocklem has quit (Ping timeout: 276 seconds).
09:07:02 <HackEgo> jwinslow23//JWinslow23 is not here.
09:12:25 <HackEgo> tanebvention//Tanebventions include automatic squirrel feeders, necessity, Go, submarine jousting, the universe, weetoflakes, persistence, the BBC, progress, and this sentence. See also tanebventions: math. He never invents anything involving sex.
09:14:17 -!- Moon_ has joined.
09:16:07 <HackEgo> //cat: : No such file or directory
09:18:04 <HackEgo> tanebventions: math//Mathematical tanebventions include D-modules, Chu spaces, the torus, Stephen Wolfram, the reals, Lambek's lemma, pointless topology, and histograms.
09:18:26 <shachaf> Is Stephen Wolfram a mathematical tanebvention?
09:18:39 <shachaf> I guess he's Mathematica l.
09:18:50 <HackEgo> Stephen Wolfram is an esolanger with too much money and power. Taneb invented him.
09:19:20 <HackEgo> This sentence was not invented by Taneb. Taneb invented it.
09:19:49 <shachaf> `slwd this sentence//s#not invented by Taneb#invented by oerjan#
09:19:52 <HackEgo> wisdom/this sentence//This sentence was invented by oerjan. Taneb invented it.
09:20:25 <HackEgo> The universe was invented by Taneb as an opposing force to oerjan.
09:20:54 <Moon_> Taneb invented everything
09:21:11 <Taneb> I didn't invent anything to do with sex
09:21:31 <shachaf> I thought you invented the torus?
09:21:35 <b_jonas> Do you think radix 5×6 as defined here counts as an esoteric radix => http://www.madore.org/~david/weblog/d.2015-11-09.2335.html ? It probably does, because the intent is not to use it, as opposed to some of the weird numerical notations used in the past and sometimes the present (I hate roman numerals).
09:23:08 <shachaf> `slwd tanebventions: math//s#the reals#Klein bottles, the reals#
09:23:11 <HackEgo> wisdom/tanebventions: math//Mathematical tanebventions include D-modules, Chu spaces, the torus, Stephen Wolfram, Klein bottles, the reals, Lambek's lemma, pointless topology, and histograms.
09:25:02 <FreeFull> `wisdom <# The famous waffleheart.
09:25:03 <HackEgo> //cat: : No such file or directory
09:25:12 <shachaf> `le/rn_append the universe/Escardó proved that it was indiscreet.
09:25:15 <HackEgo> Learned 'the universe': The universe was invented by Taneb as an opposing force to oerjan. Escardó proved that it was indiscreet.
09:26:38 <HackEgo> The universe was invented by Taneb as an opposing force to oerjan.
09:26:56 <shachaf> `` ls -l wisdom/{the\ ,}universe
09:26:59 <HackEgo> -rw-r--r-- 1 5000 0 107 Jun 20 08:24 wisdom/the universe \ -rw-r--r-- 1 5000 0 67 Dec 9 2015 wisdom/universe
09:27:39 <shachaf> `learn A universe is a poem in one stanza.
09:27:43 <HackEgo> Relearned 'universe': A universe is a poem in one stanza.
09:31:52 -!- bender__ has changed nick to bender.
09:42:32 -!- hwpplayer1 has joined.
09:42:34 -!- hwpplayer1 has quit (Max SendQ exceeded).
09:43:15 -!- hwpplayer1 has joined.
09:43:26 -!- hwpplayer1 has quit (Max SendQ exceeded).
09:44:06 -!- hwpplayer1 has joined.
10:03:27 -!- bender has quit (Ping timeout: 264 seconds).
10:21:11 -!- Destructible has joined.
10:27:29 <b_jonas> fungot, do you have chickenpox?
10:31:58 -!- Destructible has quit (Ping timeout: 250 seconds).
10:37:10 -!- hwpplayer1 has quit (Ping timeout: 258 seconds).
10:49:46 -!- Destructible has joined.
10:50:38 -!- Destructible has quit (Client Quit).
11:20:52 -!- boily has joined.
11:40:40 -!- MoALTz has joined.
12:20:06 -!- boily has quit (Quit: SHRUNK CHICKEN).
12:22:50 -!- LegionMammal978 has joined.
12:23:05 -!- LegionMammal978 has left.
12:25:06 -!- Phantom_Hoover has joined.
13:03:57 -!- Koen_ has joined.
13:08:10 -!- tromp has quit (Read error: Connection reset by peer).
13:16:05 -!- MoALTz_ has joined.
13:16:45 -!- Alcest has quit (Ping timeout: 260 seconds).
13:18:52 -!- MoALTz has quit (Ping timeout: 244 seconds).
13:19:52 -!- MoALTz_ has changed nick to MoALTz.
13:47:53 -!- oerjan has joined.
14:01:05 -!- Sgeo has quit (Ping timeout: 260 seconds).
14:05:48 <oerjan> <\oren\> and some trams <-- my city has only one tram hth
14:06:03 <oerjan> several trains, though.
14:07:54 <oerjan> (well, those generally leave and arrive in the city. there are no internal train lines)
14:08:39 <oerjan> but it's the regional train hub of mid norway
14:11:59 <b_jonas> yeah. whereas I live in a proper city, with no hurricanes or earthquakes, but several lines of trams
14:12:08 -!- iaglium has quit (Ping timeout: 272 seconds).
14:12:47 <oerjan> my city doesn't have hurricanes or earthquakes either. or volcanos. all we get is the occasional storm.
14:13:10 <oerjan> i guess that can be a hurricane, in theory.
14:14:51 <oerjan> maybe the scientists will come up with some mutant monsters.
14:16:21 <b_jonas> no lava spitting mountains or dark water splitting mountains
14:16:30 <oerjan> izabera: are you working in an evil lair on the slope of vt. vesuvius twh
14:17:05 <oerjan> (or even better, inside)
14:17:32 <oerjan> (but i'm not sure real evil lair technology is that advanced yet)
14:18:25 <oerjan> "dark water splitting mountains"?
14:19:19 <oerjan> i suppose that may just be scenery
14:19:40 <oerjan> now if the water were actually black...
14:20:53 <b_jonas> oerjan: dark water is what you have in video games instead of lava on Game Boy, since it only has a black and white display with crude graphics. it doesn't look like lava at all.
14:21:15 <b_jonas> I think I even added a wisdom for this
14:21:48 <oerjan> but now i have an image of a dark mountain rising up from a dark sea
14:22:18 <oerjan> with assorted ominous figures flying to and fro
14:22:30 <b_jonas> `slashlearn dark water/Dark water is an instadeath terrain type in Game Boy games that would represent lava if you had lots of imaginations.
14:22:34 <b_jonas> `slashlearn dark water/Dark water is an instadeath terrain type in Game Boy games that would represent lava if you had lots of imagination.
14:22:45 <HackEgo> Dark water is an instadeath terrain type in Game Boy games that would represent lava if you had lots of imagination.
14:23:25 <oerjan> technically a lot of real lava is black when it's cooled down to only slightly lethal
14:24:18 <oerjan> (or not so slightly. there's a tvtropes page for this stuff)
14:24:24 <b_jonas> oerjan: sure, but video game lava isn't real lava
14:24:44 <oerjan> i'm just saying that being dark is not necessarily disqualifying
14:24:57 <b_jonas> oerjan: sure, dark is fine, it just looks to me like water
14:25:02 <oerjan> now, being able to step right next to it with no harm, on the other hand...
14:25:09 <b_jonas> the Danube looks quite dark too
14:25:19 <b_jonas> and so does the Balaton too
14:25:39 <oerjan> the Danube being lava would have made much of european history a lot stranger
14:26:03 <b_jonas> How would you even get lava in a castle?
14:26:09 <oerjan> i guess it would just have been an impenetrable barrier
14:26:20 <oerjan> b_jonas: evil lair technology hth
14:32:18 <oerjan> `culprits wisdom/this sentence
14:32:37 <HackEgo> shachaf oerjan shachaf shachaf oerjan elliott shachaf
14:33:26 <oerjan> `hoag wisdom/this sentence
14:33:34 <HackEgo> <shachaf> slwd this sentence//s#not invented by Taneb#invented by oerjan# \ <oerjan> revert \ <shachaf> ` sed -i \'s/was not/was/\' wisdom/\'this sentence\' \ <shachaf> ` sed -i \'s/was/was not/\' wisdom/this\\ sentence \ <oerjan> revert \ <elliott> revert 1 \ <shachaf> echo >wisdom/this\\ sentence \'This sentence was invented by Taneb. Taneb in
14:35:05 * oerjan wonders why he reverted the last time
14:35:42 -!- iaglium has joined.
14:35:58 <oerjan> `slwd this sentence//s/oerjan/shachaf/
14:36:04 <HackEgo> wisdom/this sentence//This sentence was invented by shachaf. Taneb invented it.
14:36:05 -!- bender__ has joined.
14:36:28 <oerjan> @tell shachaf i made this sentence more accurate hth
14:37:51 <HackEgo> The magic was in you all along. \ Taneb invented it.
14:38:24 <b_jonas> I should write that properly. And make it add other suffixes randomly, like "Except in bed." or "Except on Tuesdays.
14:41:10 <izabera> https://www.reddit.com/r/linux/comments/4ov74y/ovh_founder_on_twitter_canonical_is_attempting_to/
14:42:12 <HackEgo> Nausea \ 1B \ Sorcery \ All creatures get -1/-1 until end of turn. \ EX-C, 7E-C, 8ED-C
14:42:32 <b_jonas> `random-card 1B\nSorcery\nAll creatures get -1/-1 until end of turn.
14:42:35 <HackEgo> Nausea \ 1B \ Sorcery \ All creatures get -1/-1 until end of turn. \ EX-C, 7E-C, 8ED-C
14:42:37 <b_jonas> `random-card 1B\nSorcery\nAll creatures get -1/-1 until end of turn.
14:42:40 <HackEgo> Shrivel \ 1B \ Sorcery \ All creatures get -1/-1 until end of turn. \ ROE-C, M14-C, MM2-C
14:46:37 <HackEgo> Gryff's Boon \ W \ Enchantment -- Aura \ Enchant creature \ Enchanted creature gets +1/+0 and has flying. \ {3}{W}: Return Gryff's Boon from your graveyard to the battlefield attached to target creature. Activate this ability only any time you could cast a sorcery. \ SOI-U
14:47:47 -!- nycs has joined.
14:55:06 -!- bender__ has changed nick to bender.
15:01:41 -!- Sgeo has joined.
15:06:01 <oerjan> @ask shachaf did you misspell "indiscrete" on purpose?
15:06:18 <HackEgo> The universe was invented by Taneb as an opposing force to oerjan. Escardó proved that it was indiscreet.
15:29:43 <int-e> oerjan: fwiw I thought "indiscreet" looked deliberate
15:30:53 <int-e> also I like the idea of a universe spilling secrets
15:34:39 -!- iaglium has quit (Ping timeout: 246 seconds).
15:38:59 -!- iaglium has joined.
15:57:28 -!- spiette has joined.
15:58:14 -!- iaglium has quit (Ping timeout: 260 seconds).
16:07:50 -!- Koen__ has joined.
16:08:33 -!- iaglium has joined.
16:10:34 -!- Koen_ has quit (Ping timeout: 272 seconds).
16:14:53 -!- moon___ has joined.
16:16:18 -!- adu has joined.
16:21:42 <HackEgo> [wiki] [[IANAL]] N https://esolangs.org/w/index.php?oldid=47237 * FMota * (+1392) Created page with "IANAL (I Am Not A Lawyer) is a programming language. Programs in this language are presented in the form of a legal contract, and they run with the aid of a human interpreter..."
16:25:04 -!- spiette has quit (Ping timeout: 260 seconds).
16:27:52 <HackEgo> [wiki] [[User:FMota]] https://esolangs.org/w/index.php?diff=47238&oldid=35261 * FMota * (+14)
16:30:17 <HackEgo> [wiki] [[Joke language list]] M https://esolangs.org/w/index.php?diff=47239&oldid=47080 * FMota * (+46) /* General languages */ Added IANAL.
16:30:42 -!- moon____ has joined.
16:30:46 -!- Moon_ has quit (Ping timeout: 250 seconds).
16:31:02 -!- moon____ has changed nick to moon_.
16:31:10 -!- moon_ has changed nick to moon____________.
16:31:25 -!- moon____________ has changed nick to moon_.
16:31:49 -!- moon_ has left.
16:33:20 -!- moon___ has quit (Ping timeout: 260 seconds).
16:34:08 -!- Kaynato has joined.
16:39:56 -!- spiette has joined.
16:40:11 -!- bender has quit (Ping timeout: 250 seconds).
16:48:41 -!- moon_ has joined.
16:49:39 -!- moon_ has quit (Remote host closed the connection).
16:55:15 -!- iaglium has quit (Quit: Bed Time).
16:56:41 -!- nycs has quit (Quit: This computer has gone to sleep).
16:56:52 -!- nycs has joined.
17:03:48 -!- iaglium has joined.
17:04:08 <oerjan> glad that's settled tdh
17:04:54 <shachaf> oerjan: i was going to make more of a pun there but i couldn't think of one
17:05:19 <shachaf> maybe it would go ebtterin the other wisdom entry
17:05:32 <HackEgo> A universe is a poem in one stanza.
17:11:10 <oerjan> i dunno, that one looks better when concise.
17:14:05 <shachaf> `1 xxd wisdom/this\ sentence
17:14:10 <HackEgo> 1/1:0000000: 5468 6973 2073 656e 7465 6e63 6520 7761 This sentence wa \ 0000010: 7320 696e 7665 6e74 6564 2062 7920 7368 s invented by sh \ 0000020: 6163 0f68 6166 2e20 5461 6e65 6220 696e ac.haf. Taneb in \ 0000030: 7665 6e74 6564 2069 742e 0a vented it.. \
17:18:31 -!- iaglium has quit (Quit: Bed Time).
17:21:20 -!- iaglium has joined.
17:24:12 -!- adu has quit (Quit: adu).
17:43:09 <oerjan> shachaf: i figured if i didn't put that in, you'd just `revert it hth
17:49:27 -!- moon___ has joined.
17:57:11 -!- iaglium has quit (Ping timeout: 240 seconds).
17:57:20 -!- oerjan has quit (Quit: Later).
18:19:58 -!- Koen__ has quit (Remote host closed the connection).
18:31:54 -!- moon___ has quit (Read error: Connection reset by peer).
18:46:58 <HackEgo> Mathematical tanebventions include D-modules, Chu spaces, the torus, Stephen Wolfram, Klein bottles, the reals, Lambek's lemma, pointless topology, and histograms.
18:47:08 -!- iaglium has joined.
18:47:25 <shachaf> is the sextant a mathematical tanebvention
18:54:33 -!- iaglium has quit (Ping timeout: 240 seconds).
18:56:41 -!- Koen_ has joined.
19:01:43 -!- iaglium has joined.
19:29:17 -!- augur has joined.
19:29:24 -!- spiette has quit (Ping timeout: 276 seconds).
19:44:05 -!- spiette has joined.
20:09:13 -!- augur has quit (Remote host closed the connection).
20:11:06 <\oren\> oh so thats what ianal stands for. i have been reading it in my head literally.
20:18:22 <\oren\> why doesnt C have a rotate operator?
20:18:46 <\oren\> mpst processors have a rotate instruction.
20:20:21 <\oren\> oh maybe the pdp 11 didnt
20:22:11 -!- ^v has quit (Ping timeout: 244 seconds).
20:25:19 <\oren\> for that matter whytf don't more languages allow you to test for overflow simply? most processors have an overflow flag for that purpose!
20:28:49 <\oren\> goddamn people pandering to special snowflake processor designers
20:31:09 -!- ^v has joined.
21:03:03 -!- ^v^v has joined.
21:03:10 -!- ^v has quit (Ping timeout: 272 seconds).
21:03:31 -!- ^v^v has changed nick to ^v.
21:19:09 <izabera> gcc lets you use all of that with __builtin_*
21:19:33 -!- jaboja has joined.
21:23:37 -!- augur has joined.
21:26:29 <FreeFull> \oren\: Rust has a rotate method
21:30:17 <int-e> . o O ( so does Postscript )
21:31:06 <FreeFull> x.rotate_left(y) and x.rotate_right(y) (Yeah, the names are pretty long.. )
21:32:11 <fizzie> Most compilers turn (a >> K) | (a << (W-K)) of a W-bit unsigned type into a single rotate-by-K instruction.
21:32:26 -!- spiette has quit (Ping timeout: 244 seconds).
21:34:02 <fizzie> `` echo 'unsigned f(unsigned x) { return (x << 7) | (x >> (32-7)); }' | gcc -x c - -o - -S | tr '\t' ' ' | grep roll
21:34:40 <izabera> it's doubly stupid that you have to write it like that
21:36:14 <\oren\> hmm what if i made an assembler with a c like syntax
21:37:55 -!- spiette has joined.
21:38:30 <izabera> a language where you can add * anywhere randomly and it will still be valid
21:40:08 <\oren\> Or for 6502: A+=*(0x6000+X)
21:42:45 <\oren\> which turns into 7d 00 60
21:43:34 <\oren\> ideally it can figure out even ones that take more than one instruction
21:45:18 <\oren\> hmm and maybe it would also have type inference for pointers
21:46:31 <\oren\> but the point is this would avoid learning so many opcode mnemonics
21:54:25 <\oren\> you would still have to know what the registers are named but perhaps those would be in a header
21:57:51 <int-e> \oren\: so what are you imagining to do with the MMX/SSE{,2,3,4} mess?
21:58:23 <\oren\> probably the type sysyem will include arrays or structs
21:59:10 <int-e> ah, the AVX family seems to be the most recent addition there.
21:59:28 * int-e has stopped paying attention to processor developements :/
21:59:29 <pikhq> \oren\: FWIW those have been done; they're generally considered "high level assemblers".
21:59:44 <pikhq> (not that that should stop you)
22:02:04 <\oren\> pikhq: ive looked at a few...
22:03:29 <\oren\> they seem to revolve around providing if and while rather than algebraic notaton
22:06:00 <\oren\> basically ive becone fed up with c. i just wish gcc would stop optimizing based on undefined behaviour and instead define said behaviour in a useful and consistent manner
22:07:00 -!- Sprocklem has joined.
22:07:10 <pikhq> A huge amount of UB comes from C wanting to support different CPUs without requiring inefficient code gen, FWIW...
22:07:35 <pikhq> If GCC decided to abandon that, then it'd in some cases be forced to, well, emit inefficient code to support the semantics.
22:08:29 <\oren\> well what they could do is have a flag -fx86semantics
22:08:49 <pikhq> Would that include the floating point semantics?
22:09:17 <\oren\> yes it would just do whatever the obvious thing is
22:09:34 <pikhq> Then it would be forced to do a software floating point implementation.
22:10:13 <\oren\> the obbvious thing is that adding two doubles emits a fadd
22:10:14 <pikhq> ... Because x86 is unique in having 80-bit floats. And only 80-bit floats.
22:10:40 <pikhq> Unless you use SSE2 math, but most on x86 don't.
22:11:11 <int-e> -ffloat-store exists for a reason.
22:11:29 <int-e> but I don't think that's the stuff \oren\ is complaining about anyway
22:11:40 <\oren\> right. essentially i want a flag that defines things as the most obvious way to do in asm
22:12:01 <int-e> it's thing like "oh this code path dereferences a null pointer, which is undefined behavior, so let's mark it as never taken"
22:12:20 <int-e> and breaking overflow checks
22:12:32 <pikhq> int-e: -ffloat-store produces non-conformant behavior... But, on the other hand, on compilers before GCC 5, the default was both non-conformant *and utterly inconsistent*. :)
22:14:31 <pikhq> (-ffloat-store stores intermediates to the stack as 64-bit or 32-bit floats immediately. What C requires is intermediates only get reduced down to that on a cast or store to double or float; what GCC did was reduce down to that whenever it would spill to the stack.)
22:15:35 <\oren\> int-e: yeah. the overflow of signed integers has -fwrapv but ideally there should be something that defines all UB.
22:38:22 <\oren\> accessing an undefined variable shoukd just give you some value. it shouldn't delete the code of the entire containing function..
22:41:03 -!- spockers has quit (Excess Flood).
22:41:49 -!- spockers has joined.
22:44:00 <fizzie> Well, now. The x87 FPU control word *does* have a precision control, being able to select single (24), double (53) or double extended (64) precision.
22:44:22 <fizzie> "These settings are provided to support IEEE Standard 754 and to provide compatibility with the specifications of certain existing programming languages."
22:44:40 <fizzie> (From what I recall, they don't affect the exponent range, though.)
22:47:15 <pikhq> fizzie: Yup, they can't really be used for saner floats because of that.
22:51:37 -!- nycs has quit (Quit: This computer has gone to sleep).
23:00:02 -!- boily has joined.
23:02:37 <lambdabot> CYUL 202100Z 22025G33KT 30SM FEW075 SCT250 32/16 A2975 RMK CU1CI3 SLP074 DENSITY ALT 2300FT
23:03:02 <boily> thirty-fungotting-two outside. sunny, face wind. much fun to bike. bleh.
23:03:32 <lambdabot> CYUL 202100Z 22025G33KT 30SM FEW075 SCT250 32/16 A2975 RMK CU1CI3 SLP074 DENSITY ALT 2300FT
23:03:34 -!- AnotherTest has quit (Quit: ZNC - http://znc.in).
23:03:36 <lambdabot> ENVA 202150Z 16015KT CAVOK 16/07 Q1003 RMK WIND 670FT 18024G38KT
23:03:52 * boily should import some ørjanlandweather
23:04:16 <HackEgo> lambdabot: @@ @@ (@where weather) CYUL ENVA ESSB KOAK
23:04:18 <lambdabot> CYUL 202100Z 22025G33KT 30SM FEW075 SCT250 32/16 A2975 RMK CU1CI3 SLP074 DENSITY ALT 2300FT \ ENVA 202150Z 16015KT CAVOK 16/07 Q1003 RMK WIND 670FT 18024G38KT \ ESSB 202150Z AUTO 15005KT 9999 NCD 14/10 Q1014 \ KOAK 202153Z 28014KT 10SM FEW080 FEW120 23/11 A3007 RMK AO2 SLP181 T02330111
23:04:33 <lambdabot> KSJC 202153Z 30013G18KT 10SM FEW070 SCT120 SCT200 29/07 A3005 RMK AO2 SLP173 T02890067
23:04:55 <boily> hellochaf. please stop moving twh
23:05:13 <lambdabot> KPHX 202151Z 18009KT 10SM FEW120 FEW200 SCT250 46/03 A2977 RMK AO2 SLP056 T04560028
23:05:51 <lambdabot> CYYZ 202118Z 24020G28KT 15SM BKN060TCU BKN075 30/21 A2977 RMK TCU5AC2 SLP081 DENSITY ALT 2500FT
23:06:03 <lambdabot> LLBG 202150Z 18004KT CAVOK 25/18 Q1010 NOSIG
23:09:08 <boily> Canada is topping the temperatures. there's something wrong going on...
23:09:47 <lambdabot> FTTJ 202100Z 23004KT 9999 FEW040 FEW050CB 28/23 Q1013 NOSIG
23:10:17 <boily> it's warmer here than N'Djamena. please someone who has admin access reboot the Earth.
23:10:33 <shachaf> boily: did you see KPHX hth
23:11:23 <boily> aberrant outlier. statistically unsound, and it goes against my rant.
23:11:54 <boily> I highly doubt it's possible to reach +46 in the K??? block hth
23:12:05 <\oren\> toronto has a horrible heat island
23:12:29 <boily> okay, KPHX is Phoenix. perfectly plausible.
23:12:48 <boily> \oren\: the Big T is disastrous for heat.
23:13:02 <\oren\> when you enter the farmland the temperature drops 10 degrees on a typical summer
23:14:12 <\oren\> one day ill run for mayor and build a giant air conditioned dome over the entire GTA
23:15:06 <boily> you should build it around here. much better immo.
23:15:27 <\oren\> it will be a big beautiful dome, and ill make the albertans pay for it!
23:15:44 -!- spiette has quit (Ping timeout: 260 seconds).
23:15:53 <boily> oh. please yourself! as long as they pay I'm fine with it.
23:16:32 <HackEgo> [wiki] [[FiM++]] https://esolangs.org/w/index.php?diff=47240&oldid=45608 * 85.244.128.237 * (-5)
23:17:19 <lambdabot> KCHD 202147Z 17007KT 20SM FEW200 45/03 A2980
23:17:40 <lambdabot> KTUS 202153Z AUTO 00000KT 10SM CLR 43/02 A2993 RMK AO2 SLP074 T04330022
23:17:47 <boily> okay, okay. american heatwave. I'm still complaining, tho!
23:17:59 <shachaf> You know, when I moved to the US, I thought it was a cold country.
23:18:24 <\oren\> the dome will generate revenue as it will be opaque abd white, so we can project advertisements onto it to be visible to everyone in the city
23:18:26 <shachaf> Anyway does Arizona even really count?
23:18:29 <lambdabot> KSAN 202151Z 18009KT 10SM FEW040 SCT100 25/16 A2989 RMK AO2 SLP123 FU SCT100 T02500161
23:19:13 <\oren\> the big dipper will be replaced by the coca cola logo
23:20:18 <shachaf> whoa whoa whoa, remember _The Man Who Sold the Moon_?
23:20:27 -!- oerjan has joined.
23:20:59 <\oren\> shachaf: well it would only visible from inside the dome
23:21:24 <\oren\> so revenue would go to the municipal government only.
23:21:40 * boily mapoles the corporate shill out of \oren\
23:21:57 <shachaf> "In Robert A. Heinlein's 1951 novella The Man Who Sold the Moon the protagonist raises funds for his lunar ambitions by publicly describing means of covering the visible lunar face in advertising and propaganda, and then taking money not to do so."
23:22:21 <\oren\> lol that could also work
23:25:08 <\oren\> we could project visuals of the night sky onto the dome with brightness enhanced making toronto the only metropolis where the milky way is clearly visible
23:26:34 <Koen_> shachaf: he bought the moon with money he got for not buying it?
23:26:41 <\oren\> in emergencies the dome coukd also display news footage or instructions for response personnel
23:26:47 <shachaf> Koen_: For not advertising on it, I guess?
23:26:58 <Koen_> that sounds like diverting money
23:27:06 <shachaf> I'm not sure that he bought the moon. I guess he did?
23:27:16 <shachaf> But I think that story is mainly about how he sold it.
23:27:19 <Koen_> there is an iranian film about the death penalty
23:27:34 <shachaf> \oren\: Or a picture of a bat?
23:27:42 <Koen_> the father of a murdered girl asks the father of the murderer for money in exchange of which he will not press charges
23:28:21 <Koen_> but it turns out that since men are worth more than women, the state won't execute the murderer unless the family of the victim pays the difference
23:28:41 <Koen_> so the father of the victim is planning to use the money he got for not pressing charges to pay for the execution
23:32:08 <\oren\> hmm it appears that noone has proposed an *opaque* done...
23:33:51 <Phantom_Hoover> shachaf, holy fuck i thought those metars were in fahrenheit
23:38:01 <boily> bonne ploeirjane lune et bjohan senlstice!
23:46:52 -!- spockers has quit (Read error: Connection reset by peer).
23:47:28 -!- spockers has joined.
23:49:26 <oerjan> <\oren\> oh so thats what ianal stands for. i have been reading it in my head literally. <-- the beauty is that it doesn't really change the meaning much hth
23:57:06 -!- MoALTz has quit (Ping timeout: 244 seconds).