←2021-11-17 2021-11-18 2021-11-19→ ↑2021 ↑all
00:07:02 -!- delta23 has joined.
00:10:45 -!- delta23 has quit (Client Quit).
00:12:33 -!- FreeFull has quit.
00:20:03 -!- user3456 has quit (Quit: ZNC - https://znc.in).
00:21:24 <esolangs> [[Language list]] https://esolangs.org/w/index.php?diff=89736&oldid=89651 * Moose * (+16) /* Z */
00:21:33 -!- user3456 has joined.
00:30:58 -!- Lord_of_Life has quit (Ping timeout: 256 seconds).
00:32:06 -!- Lord_of_Life has joined.
00:32:38 -!- wareya has joined.
00:36:58 <esolangs> [[Joke language list]] https://esolangs.org/w/index.php?diff=89737&oldid=89504 * Moose * (+102) /* Brainfuck derivatives */
00:39:10 -!- oerjan has joined.
00:51:21 <oerjan> <riv> no the site was totally fine... <-- there are a lot of people with this strange delusion that new stuff is better than old hth
00:52:24 * oerjan waves his cane at them o======
00:53:15 * oerjan goes back to reading the logs in Internet Explorer
00:56:05 <fizzie> A web search suggests at least some of those images are from Unsplash, which has a *very* permissive license, but still isn't quite CC0. :/
01:00:33 -!- NotApplicable has quit (Quit: Leaving).
01:01:03 -!- NotApplicable has joined.
01:05:12 <b_jonas> int-e: yes, I also write #if 1 ... #endif often. I replace it with if(1) more often, but that works better in untyped languages like python.
01:07:02 <b_jonas> int-e: that's a lie, you can use conditional compilation for any flags, the main limit is that you have to set the defines in the rustc command lines rather than from in the program source code. it's the cargo tool that restricts how the conditional compilation is used significantly, but I don't like cargo, because I'm not buying a whole religion/toolkit/platform/framework, just a decent programming
01:07:08 <b_jonas> language and good compiler for it.
01:08:04 <b_jonas> int-e: that said, that you can only set defines from command-line is limiting for this kind of use, and further, the compile-time constant computations are much less advanced than in C++ currently, so you can't easily use template replacements (rather than the preprocessor) like you often can in C++
01:09:07 <b_jonas> int-e: for just #if 1 you can write #[cfg(all())]{..}, and for #if 0 you can write #[cfg(any())]{...} but that's much more awkward than the c preprocessor version
01:12:42 -!- delta23 has joined.
01:13:47 <b_jonas> I wonder if this A3 paper really is just 0.419 m long instead of 0.420 or I'm measuring it wrong with my 0.3 long ruler and lack of engineering experience
01:15:52 <b_jonas> probably the latter, I'm used to handwritten potatoes rather than precise stuff
01:20:24 <oerjan> > iterate (/2) $ sqrt 2
01:20:26 <lambdabot> [1.4142135623730951,0.7071067811865476,0.3535533905932738,0.1767766952966369...
01:20:52 <oerjan> hum
01:21:12 <oerjan> > drop 3 $ iterate (/2) $ sqrt 2
01:21:14 <lambdabot> [0.1767766952966369,8.838834764831845e-2,4.419417382415922e-2,2.209708691207...
01:21:35 <oerjan> oh wait
01:22:27 <b_jonas> I haven't cut paper with a knife at exact lines next to a ruler for so long that I almost forgot how to hold the knife to keep it along the plastic ruler but not cut into it, and how much pressure I need to just score a line vs to cut through the paper vs to cut through ten layers under it
01:23:18 <oerjan> i have forgot if i ever knew how to do that hth
01:24:07 -!- dutch has quit (Quit: WeeChat 3.3).
01:25:34 <oerjan> > 2**(-3/4)
01:25:35 <lambdabot> 0.5946035575013605
01:25:38 <b_jonas> `python3 -cprint("".join(["%.4f " % 2**((1-k*2)/4) for k in range(7)])) # A series metric paper sizes
01:25:40 <HackEso> 1.1892 0.8409 0.5946 0.4204 0.2973 0.2102 0.1487
01:26:01 <oerjan> oops off by one
01:26:58 -!- dutch has joined.
01:27:10 <b_jonas> there is a trick to it, but you have to consider one ruler disposable before you learn it
01:27:21 <oerjan> okay
01:28:18 <oerjan> > 2**(-5/4)
01:28:20 <lambdabot> 0.42044820762685725
01:44:23 -!- Guest88 has joined.
03:35:46 <esolangs> [[User talk:Moose]] N https://esolangs.org/w/index.php?oldid=89738 * Ais523 * (+440) checking licenses on the images
04:05:52 <esolangs> [[Special:Log/newusers]] create * TommyWombo * New user account
04:14:24 <esolangs> [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=89739&oldid=89724 * TommyWombo * (+308)
04:45:07 -!- delta23 has quit (Quit: Leaving).
06:09:06 -!- SGautam has joined.
06:20:04 <zzo38> Some of the good things that had been added in C include the #embed command and also some GNU extensions. Some of the bad things of C include the confusing syntax for types, some of the rules dealing with undefined behaviour, and some things lacking.
06:20:26 <zzo38> (and also some of the C99 and newer features are not so good, but some are good)
06:21:35 <zzo38> Some things I would want to think to add would be parameterized types and an additional kind of macros that are scoped and used in the compiler instead of the preprocessor (which should still exist too).
06:22:33 <zzo38> This new kind of macros could be defined anywhere that it is allowed to declare a global or local variable or a member of a structure or union.
06:31:13 <zzo38> Also might wanting to have a block to define the codes which are executed at compile time, which can inspect the structure of the program and can read any file that you would be allowed to access with #include or #embed, and can inspect the preprocessor state, and can then emit tokens and data.
06:32:36 <zzo38> Also the question: Does any compiler have such optimization option as, timing safe optimization mode, and time limits for optimizations (to disable some optimizations if they are taking too long (although there might be a difficulty to do so))?
06:44:47 -!- oerjan has quit (Quit: Nite).
06:50:40 <esolangs> [[Hello world program in esoteric languages (nonalphabetic and A-M)]] M https://esolangs.org/w/index.php?diff=89740&oldid=89722 * Quintopia * (+5) /* FiM++ */
06:58:49 <esolangs> [[Hello world program in esoteric languages (N-Z)]] https://esolangs.org/w/index.php?diff=89741&oldid=88901 * Quintopia * (+96) resplicate
08:25:37 -!- Guest21 has joined.
08:26:13 -!- Guest21 has quit (Client Quit).
08:39:49 -!- earendel has quit (Quit: Connection closed for inactivity).
08:44:20 -!- Sgeo has quit (Read error: Connection reset by peer).
10:05:45 <int-e> b_jonas: I did find --cfg eventually... it's kind of hidden in https://doc.rust-lang.org/reference/conditional-compilation.html (two occurrences, no specific examples)
11:02:41 <b_jonas> int-e: there's the relatively new "Rustc book" "https://doc.rust-lang.org/nightly/rustc/index.html", so the canonical documentation of the command-line option itself is "https://doc.rust-lang.org/nightly/rustc/command-line-arguments.html"
11:03:03 <b_jonas> but yes, what you link to is the docs for the attribute itself
11:30:11 -!- AnnArcana has joined.
12:08:34 -!- SGautam has quit (Quit: Connection closed for inactivity).
12:23:25 -!- tech_exorcist has joined.
12:58:50 -!- AnnArcana has quit (Remote host closed the connection).
12:59:05 -!- AnnArcana has joined.
13:00:32 -!- AnnArcana has quit (Remote host closed the connection).
13:00:46 -!- AnnArcana has joined.
13:01:32 -!- AnnArcana has quit (Remote host closed the connection).
13:01:47 -!- AnnArcana has joined.
13:03:16 -!- AnnArcana has quit (Remote host closed the connection).
13:03:31 -!- AnnArcana has joined.
13:34:13 -!- AnnArcana has quit (Remote host closed the connection).
13:34:28 -!- AnnArcana has joined.
13:41:55 -!- AnnArcana has quit (Remote host closed the connection).
13:42:09 -!- AnnArcana has joined.
13:48:14 -!- AnnArcana has quit (Remote host closed the connection).
13:48:28 -!- AnnArcana has joined.
13:49:01 -!- AnnArcana has quit (Remote host closed the connection).
13:49:16 -!- AnnArcana has joined.
13:59:59 -!- AnnArcana has quit (Remote host closed the connection).
14:00:15 -!- AnnArcana has joined.
14:02:20 -!- AnnArcana has quit (Remote host closed the connection).
14:02:49 -!- AnnArcana has joined.
14:50:04 -!- arseniiv has joined.
15:17:24 -!- Guest88 has quit (Quit: Client closed).
16:24:06 -!- jryans has quit (K-Lined).
16:24:08 -!- Deewiant has quit (K-Lined).
16:24:10 -!- craigo[m] has quit (K-Lined).
16:24:11 -!- msmith12[m] has quit (K-Lined).
16:35:31 -!- jryans has joined.
16:35:57 -!- ProofTechnique has quit (Ping timeout: 265 seconds).
16:36:41 -!- dnm has quit (Ping timeout: 264 seconds).
16:37:04 -!- dermato has quit (Ping timeout: 268 seconds).
16:37:53 -!- mich181189 has quit (Ping timeout: 264 seconds).
16:38:20 -!- dermato has joined.
16:39:39 -!- aarchi has quit (Ping timeout: 265 seconds).
16:39:54 -!- yuu_ has quit (Read error: Connection reset by peer).
16:39:59 -!- j4cbo has quit (Read error: Connection reset by peer).
16:40:02 -!- integral has quit (Read error: Connection reset by peer).
16:40:03 -!- Argorok has quit (Read error: Connection reset by peer).
16:40:03 -!- sunarch has quit (Read error: Connection reset by peer).
16:42:07 -!- sunarch has joined.
16:42:26 -!- dnm has joined.
16:42:26 -!- ProofTechnique has joined.
16:42:42 -!- yuu_ has joined.
16:42:52 -!- integral has joined.
16:42:58 -!- mich181189 has joined.
16:43:14 -!- j4cbo has joined.
16:43:23 -!- aarchi has joined.
16:45:16 -!- Argorok has joined.
16:46:19 -!- Deewiant has joined.
16:46:19 -!- craigo[m] has joined.
16:46:19 -!- msmith12[m] has joined.
16:59:30 -!- jryans has quit (Quit: Client limit exceeded: 20000).
17:01:34 -!- msmith12[m] has quit (Quit: Client limit exceeded: 20000).
17:15:38 -!- Koen has joined.
17:36:45 -!- wareya has quit (Ping timeout: 250 seconds).
18:26:28 <riv> https://twitter.com/shafikyaghmour/status/1459558469472714758 C programming Language?
18:26:35 -!- jryans has joined.
18:26:36 -!- msmith12[m] has joined.
18:26:46 -!- delta23 has joined.
19:24:56 -!- Koen has quit (Remote host closed the connection).
20:23:01 -!- zegalch has quit (Remote host closed the connection).
20:23:26 -!- zegalch has joined.
20:26:50 <esolangs> [[Special:Log/newusers]] create * Hcaelbxorolc * New user account
20:29:51 <esolangs> [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=89742&oldid=89739 * Hcaelbxorolc * (+160)
20:30:08 <esolangs> [[Numbers]] https://esolangs.org/w/index.php?diff=89743&oldid=89605 * Hcaelbxorolc * (-2391)
21:23:16 -!- tech_exorcist has quit (Quit: see you tomorrow).
21:30:00 <esolangs> [[G85]] N https://esolangs.org/w/index.php?oldid=89744 * Danielle * (+3684) i hope i remembered to include everything!
21:37:31 <esolangs> [[G85]] M https://esolangs.org/w/index.php?diff=89745&oldid=89744 * Danielle * (+202) added categories
21:38:25 <esolangs> [[G85]] M https://esolangs.org/w/index.php?diff=89746&oldid=89745 * Danielle * (+1) fixed typo (sorry for multi edit)
22:27:56 -!- Koen has joined.
23:07:36 -!- Sgeo has joined.
23:10:25 -!- arseniiv has quit (Ping timeout: 250 seconds).
23:13:54 -!- Hooloovoo has quit (Ping timeout: 260 seconds).
23:17:03 -!- Hooloovoo has joined.
23:27:33 -!- Koen has quit (Quit: Leaving...).
23:39:07 <int-e> Meh... rust disallows "complex generic expressions in const arguments".
23:39:40 <int-e> so that's another habit from C++ I can't transfer :P
←2021-11-17 2021-11-18 2021-11-19→ ↑2021 ↑all