00:21:09 -!- arseniiv_ has quit (Ping timeout: 255 seconds). 00:22:56 How to program in GNU make so that depending which target is selected it will use different options for compiling the C codes? 00:24:51 zzo38: you add makerules, with a target, dependencies, and a body, where most of the body can be a few make variables 00:27:49 You can do variable assignment with "target ... : VAR = value", as in https://www.gnu.org/software/make/manual/make.html#Target_002dspecific 00:28:15 (It also gets propagated to prequisites.) 00:28:39 OK, thank you that will help 00:28:52 fizzie: oh nice, I have never used that 00:29:11 that's better because then you don't need to write the body 00:29:29 the body can come from a single wildcard target, you only write the target and deps and the variable 00:29:48 but of course writing a body isn't complicated either 00:31:12 Well, the body won't set make variables. 00:31:20 "A variable definition in a “rule context” which is indented by a tab as the first character on the line, will be considered part of a recipe, not a make variable definition, and passed to the shell." 00:31:28 sure 00:31:41 the body will contain the full command, except most of it is abbreviated with make variables 00:31:53 note that make variable definitions can contain other make variables 00:32:02 references to them, even references to $@ and $+ 00:33:00 but you don't even need that, you can just write a body like $(CC) $(CFLAGS) -lcustom-for-this-rule -Dcustom-for-this-rule -o $@ $+ 00:33:45 Right, but you can't make that compile foo.o from foo.c differently depending on whether you're building "make zing" or "make zong". 00:33:48 you could use a specific variable instead of $(CC) $(CFLAGS), or even multiple ones, one for each different type of rule 00:33:54 oh! 00:34:00 you mean depending on the top level target? 00:34:02 that's different 00:34:15 Well, that's how I interpreted "depending which target is selected". 00:34:22 Maybe it didn't mean that. 00:34:31 that's one I don't really want to do, because it would mess with the whole point of Make where it doesn't rebuild targets that are already present depending on mtimes 00:34:48 I'd give different names to the targets then, possibly in different directories 00:35:26 That's kind of a problem with target-specific variables as well, except even more so, because if you have two targets (with different target-specific variable assignments) both depending on foo, it's not clear which variable values get used. 00:36:05 So, yeah, maybe it's better in that case to arrange things so that you build "foo-zing.o" and "foo-zong.o" differently. 00:37:44 right 01:13:26 -!- sebbu2 has changed nick to sebbu. 01:17:56 -!- b_jonas has quit (Quit: leaving). 02:24:50 [[Symbolic Python]] https://esolangs.org/w/index.php?diff=61330&oldid=60520 * Cortex * (+145) 02:26:16 [[Symbolic Python]] https://esolangs.org/w/index.php?diff=61331&oldid=61330 * Cortex * (-6) /* Random hex digit */ 02:53:34 I think I figured out how to do it, I will have to see if it work (I don't use make for my own programs, but was modifying one that does) 03:03:24 It is work. 03:22:33 -!- Melvar has quit (Ping timeout: 245 seconds). 03:27:16 -!- FreeFull has quit. 03:34:41 -!- Melvar has joined. 04:05:52 [[Armok]] M https://esolangs.org/w/index.php?diff=61332&oldid=46470 * Prof Apex * (+30) /* True Hello World! */ Add code blocks 04:07:42 -!- mrtnpwn has joined. 04:07:44 -!- mrtnpwn has quit (Read error: Connection reset by peer). 04:41:17 -!- mynery has changed nick to myname. 05:56:48 -!- Frater_EST has joined. 06:26:19 -!- Frater_EST has left. 06:50:21 -!- xkapastel has joined. 07:10:54 -!- Hooloovo0 has changed nick to Hooloovoo. 07:23:20 [[User:Total Vacuum]] https://esolangs.org/w/index.php?diff=61333&oldid=61200 * Total Vacuum * (+123) /* ideas for names */ 07:23:32 -!- AnotherTest has joined. 07:25:02 -!- Lord_of_Life has quit (Ping timeout: 245 seconds). 07:28:22 -!- Lord_of_Life has joined. 08:35:34 -!- oerjan has joined. 09:01:18 early oerjan? 09:08:41 hint-e 09:10:59 Good afternoerjan. 09:12:07 i like that one 09:21:18 hichaf. it's about 40 minutes too early to respond in kind. 09:21:59 In oerjan standard time? 09:23:30 OST 10:04:14 now is the time 10:05:04 we are in the same timezone, i guess 10:06:08 so there's a third repeating holiday called "mother's day"? <-- norway's is on the second sunday of february hth 10:06:19 good shachafternoon! 10:06:29 thx int-e 10:07:33 I read https://en.wikipedia.org/wiki/Mother's_Day the other week... such a mess. 10:07:59 i am assuming we don't do it in may because it's usually packed with other celebrations. 10:08:04 (Okay, "read" is an overstatement.) 10:09:59 of course nowadays people also tend to celebrate valentine's day so the timing no longer seems as good. 10:09:59 -!- xkapastel has quit (Quit: Connection closed for inactivity). 10:11:55 there are people celebrating valentine's day? 10:12:42 Well, all you need for a celebration is an occasion. 10:13:14 Cynical me (aka me) wants to suggest 9/11. 10:13:48 what do you want to celebrate? 10:14:00 @metar ENVA 10:14:01 ENVA 230950Z 27005KT CAVOK 13/05 Q1019 NOSIG RMK WIND 670FT 10006KT 10:14:33 myname: You're missing my point. It's the celebration that matters. Who cares what it's about? :P 10:14:34 myname: well at least the shops are. 10:15:13 myname: he's the patron saint of the plague! 10:15:21 oerjan: yeah, but valentine's day is like the worst day to go out with somebody 10:15:24 myname: Of course personally I find Valentine's day highly offensive. 10:15:30 hahaha 10:15:39 myname: because it's too crowded, i assume 10:15:42 And beekeepers 10:16:20 of course if it _also_ coincides with mother's day, that gets magnified. 10:51:07 -!- wob_jonas has joined. 10:57:57 -!- arseniiv_ has joined. 10:59:04 -!- arseniiv_ has changed nick to arseniiv. 11:01:06 -!- oerjan has quit (Quit: Later). 11:19:34 -!- Lord_of_Life_ has joined. 11:22:07 -!- Lord_of_Life has quit (Ping timeout: 240 seconds). 11:22:13 -!- Lord_of_Life_ has changed nick to Lord_of_Life. 11:31:28 -!- xkapastel has joined. 11:52:40 [[User:A]] https://esolangs.org/w/index.php?diff=61334&oldid=61296 * A * (+800) Weird idea of programming GNU nano 12:48:21 [[Esolang:Featured languages/Candidates]] M https://esolangs.org/w/index.php?diff=61335&oldid=61316 * Helen * (-3) Fixing a minor detail about the computational class and some small spcaing+grammar changes 13:06:11 [[Talk:Bitch]] M https://esolangs.org/w/index.php?diff=61336&oldid=61326 * Helen * (+47) /* Incrementing */ Took out the big unhelpful message and replaced it with a disclaimer 13:55:29 -!- AnotherTest has quit (Ping timeout: 246 seconds). 14:20:55 -!- xkapastel has quit (Quit: Connection closed for inactivity). 14:31:08 Has the CSS on nlab changed recently? Looks more... papery 14:49:29 I have a slight suspicion that Swapfuck might not be an LBA. 14:56:18 [[Swapfuck]] https://esolangs.org/w/index.php?diff=61337&oldid=54944 * Rdococ * (+751) 14:57:17 -!- Sgeo has joined. 14:58:28 -!- Sgeo_ has quit (Ping timeout: 244 seconds). 14:58:59 -!- Sgeo has quit (Read error: Connection reset by peer). 15:00:03 -!- Sgeo_ has joined. 15:01:05 testing testing ◌͜◌͝◌͞◌͟◌ͣ 15:01:12 argh 15:06:54 -!- wob_jonas has quit (Remote host closed the connection). 15:08:40 oh, now it works 15:54:48 @metar CYYZ 15:54:49 CYYZ 231541Z 13010KT 15SM -SHRA SCT075 BKN090 12/08 A2979 RMK AC4AC3 ACC ASOCTD PRESFR SLP090 DENSITY ALT 600FT 16:13:48 -!- AnotherTest has joined. 17:38:59 -!- xkapastel has joined. 18:31:39 -!- atslash has quit (Quit: This computer has gone to sleep). 18:33:48 -!- atslash has joined. 19:08:34 Taneb: Yes. nlab is a paper now. 19:27:08 -!- Lord_of_Life has quit (Ping timeout: 244 seconds). 19:29:01 -!- Lord_of_Life has joined. 19:53:07 -!- dingwat has quit (Quit: Connection closed for inactivity). 20:20:16 -!- Phantom_Hoover has joined. 20:33:49 -!- Sgeo__ has joined. 20:37:03 -!- Sgeo_ has quit (Ping timeout: 255 seconds). 20:41:23 -!- AnotherTest has quit (Ping timeout: 252 seconds). 21:28:38 -!- xkapastel has quit (Quit: Connection closed for inactivity). 22:12:12 -!- FreeFull has joined. 22:43:13 web.le-basic-rush: points -10.90, score 11.28, rank 47/47 23:03:44 -!- Sgeo__ has quit (Read error: Connection reset by peer). 23:05:07 -!- Sgeo has joined. 23:08:25 -!- FreeFull has quit (Ping timeout: 276 seconds). 23:19:13 https://www.ctvnews.ca/world/philippines-duterte-threatens-war-if-canada-doesn-t-take-trash-back-1.4390852 23:20:38 -!- xkapastel has joined. 23:25:24 -!- Phantom_Hoover has quit (Read error: Connection reset by peer). 23:33:17 -!- sombrero has joined. 23:34:34 hi 23:36:19 is there somo inter definition language like Apache Thrift or Babel but for Esoteric programming languages ??? 23:36:54 https://computation.llnl.gov/projects/babel-high-performance-language-interoperability/#page=home 23:37:05 https://thrift.apache.org/ 23:37:43 orin: strong language, but a valid demand. 23:39:05 or like Melange http://melange.inria.fr/ ... 23:40:46 Hmm, given how fundamentally different esolangs tend to be, I'm not sure how realistic that is. 23:41:54 I wonder what kind of Haskell code Thrift generates... 23:42:25 `relcome int-e 23:42:27 ​int-e: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: . (For the other kind of esoterica, try #esoteric on EFnet or DALnet.) 23:42:37 Just wondering about the existence of such a monster :P, but for more than two would be fine 23:43:27 shachaf: Do you realize that that's the least offensive of all *elcomes for me? :P 23:43:43 Why would I want to offend you? 23:43:45 https://thrift.apache.org/tutorial/hs <-- ah here's a taste. 23:44:03 what is the most offensive elcome? 23:44:53 Probably the Swedish one. 23:45:02 `wElCoMe is pretty bad 23:45:05 iS: pReTtY: bAd: WeLcOmE To tHe iNtErNaTiOnAl hUb fOr eSoTeRiC PrOgRaMmInG LaNgUaGe dEsIgN AnD DePlOyMeNt! FoR MoRe iNfOrMaTiOn, ChEcK OuT OuR WiKi: . (FoR ThE OtHeR KiNd oF EsOtErIcA, tRy #EsOtErIc oN EfNeT Or dAlNeT.) 23:45:30 Hmm, that one has a different behavior for people with even and odd nick lengths. 23:45:36 shachaf: it would offend my eyes. 23:45:39 `wElCoMe is pretty ba 23:45:41 iS: pReTtY: bA: wElCoMe tO ThE InTeRnAtIoNaL HuB FoR EsOtErIc pRoGrAmMiNg lAnGuAgE DeSiGn aNd dEpLoYmEnT! fOr mOrE InFoRmAtIoN, cHeCk oUt oUr wIkI: . (fOr tHe oThEr kInD Of eSoTeRiCa, TrY #eSoTeRiC On eFnEt oR DaLnEt.) 23:45:51 That must be what you find offensive. 23:46:00 `WeLcOmE is pretty bad 23:46:03 Is: PrEtTy: BaD: wElCoMe tO ThE InTeRnAtIoNaL HuB FoR EsOtErIc pRoGrAmMiNg lAnGuAgE DeSiGn aNd dEpLoYmEnT! fOr mOrE InFoRmAtIoN, cHeCk oUt oUr wIkI: . (fOr tHe oThEr kInD Of eSoTeRiCa, TrY #eSoTeRiC On eFnEt oR DaLnEt.) 23:46:29 But since I filter colors, `relcome is just `welcome to me. 23:46:38 Do you feel welcomed? 23:47:06 The other day someone was saying that WebAssembly is a reasonable IR for distributing portable programs that have nothing to do with the web. 23:47:13 I'm pretty skeptical. 23:47:20 Does that seem true? 23:48:25 I'd think that something like LLVM IR would be better 23:48:31 Things are headed in that direction... WebAssembly is the next Java 23:48:46 I can't say that it's "reasonable" 23:48:50 That's not a recommendation. 23:49:07 Well, at least WebAssembly doesn't do garbage collection. 23:49:12 my recommendation is to fire anyone who recommends webassembly 23:49:30 sigh 23:50:07 maybe it's okay, but I've never heard anything good about it 23:50:08 sombrero: I guess the closest thing esolang people do is write interpreters for one esolang in another. 23:50:24 It's surely better than asm.js 23:50:37 But now people are using it for things that have nothing to do with web browsers? 23:50:59 It seems unreasonable on the face of it. 23:51:01 At some point, we're going to switch to using WebAssembly via GHC at Obsidian. 23:51:07 node.js, electron... it was just a matter of time? 23:51:19 Electron is obviously just absurd. 23:51:25 i can't stand those people 23:51:29 for both technical and non-technical reasons 23:51:32 but you already know that 23:51:35 GHCJS is still more mature, but the WebAssembly backend has a much better shot at actually being upstreamed into GHC proper. 23:52:13 Well, Haskell is scow for programming anyway. 23:52:38 i'm also caring less and less as time goes on, which is good 23:52:42 shachaf: The main Isabelle developer is tinkering with VisualCode. :/ 23:52:45 `? scow 23:52:47 Scow (S-cow) is canned meat made from cows with a lisp. 23:52:49 ... Visual Studio Code. 23:53:06 Whatever code GHC produces will be slow no matter what the backend is. 23:53:38 But there's often a huge margin between slow and not fast enough. :P 23:53:55 also mutable state is the best 23:54:06 plus memory unsafety 23:54:08 unless you have a bug 23:54:24 i wish the rust people weren't shit heads 23:54:29 i wish they hadn't ruined open source for me 23:54:33 but there's no going back 23:54:34 shachaf: plus unsynchronised threads? 23:54:36 they didn't 23:55:22 int-e: What are synchronized threads? 23:55:47 shachaf: the one big lock kind of threads :P 23:56:06 (but I had shared memory with uncoordinated access in mind) 23:56:23 shared memory with uncoordinated access seems fine 23:56:26 (obviously each thread working on their own little part of memory is perfectly sane) 23:56:33 you can use a library to coordinate the access 23:56:51 but certainly that wouldn't be "best" by your definition. 23:57:09 What's my definition? 23:57:25 The one that includes "memory unsafety". 23:57:37 I think memory unsafety is a pretty reasonable feature. 23:57:40 It's like Turing completeness. 23:57:52 Not ideal, but maybe better than the alternative? 23:59:22 Memory unsafety is fine so long as you're not forced into using things which are unsafe just to do basic stuff all the time. 23:59:58 I want to keep my sanity intact. Which means, sure, I may occasionally break abstractions (including managed heaps) to gain some performance, but I don't want to deal with it 99% of the time.