00:09:50 -!- oerjan has joined. 00:10:10 -!- oerjan has quit (Client Quit). 00:39:32 -!- Phantom_Hoover has quit (Read error: Connection reset by peer). 01:04:57 -!- Antoxyde has quit (Quit: Leaving). 01:17:55 -!- jaboja has quit (Remote host closed the connection). 01:41:19 -!- ATMunn has changed nick to the_moon_in_ksp. 01:44:42 -!- xkapastel has joined. 02:19:59 [wiki] [[Special:Log/newusers]] create * HereToAnnoy * New user account 02:21:06 -!- the_moon_in_ksp has changed nick to ATMunn. 02:24:45 [wiki] [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=52699&oldid=52692 * HereToAnnoy * (+312) /* Introductions */ 02:25:17 [wiki] [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=52700&oldid=52699 * HereToAnnoy * (+105) /* Introductions */ 02:27:45 [wiki] [[User:HereToAnnoy]] N https://esolangs.org/w/index.php?oldid=52701 * HereToAnnoy * (+23) Created page with "What should I put here?" 02:35:18 -!- augur_ has quit (Remote host closed the connection). 02:52:11 -!- hppavilion[1] has quit (Ping timeout: 255 seconds). 02:54:48 -!- augur has joined. 02:58:57 -!- augur has quit (Ping timeout: 240 seconds). 03:01:54 -!- ATMunn has quit (Quit: See ya! o/). 03:06:21 -!- hppavilion[1] has joined. 04:03:58 -!- MrRoboto has changed nick to GeekDude. 04:23:45 -!- hppavilion[1] has quit (Ping timeout: 248 seconds). 05:05:45 Is there a faster way of dealing with sign-magnitude on a computer that doesn't use sign-magnitude? 05:06:44 faster than what? 05:07:51 Than always dealing with the sign and magnitude separately (which does work, but is there a better way?) 05:08:56 not sure, what does java do? 05:09:37 I don't know 05:10:00 (Also, I mean specifically for integers; floating-point is already sign-magnitude) 05:10:18 (well, kind of; it is sign-fraction-exponent-magnitude) 05:10:40 why not just do regular two's compliment arithmetic. 05:11:22 Mainly in case you are working with data or programs that use sign-magnitude, such as if you are implementing MIX, which uses sign-magnitude. 05:11:41 oh, never mind about java, not sure why I thought java did weird stuff with ints, maybe I was thinking of floats 05:11:42 oh. 05:11:48 hm. 05:12:03 hasn't been long enough since I've programmed in java 05:12:26 well, it doesn't really stop you from doing regular integer arithmetic. just different wrapping/overflow conditions. 05:12:54 [wiki] [[Assignless]] https://esolangs.org/w/index.php?diff=52702&oldid=52678 * Rdococ * (+17) 05:13:26 Yes, I suppose so. 05:14:13 Although there still may be some other considerations with the sign 05:14:42 such as? 05:15:25 also, I hope you're storing those numbers as native binary and not as a single bool + n-bit integer. 05:16:29 Even so, it is necessary to keep track of negative zero and positive zero 05:16:36 [wiki] [[HI9+]] https://esolangs.org/w/index.php?diff=52703&oldid=51373 * Rdococ * (+141) Arbitrary_effect_at_an_arbitrary_point 05:16:47 [wiki] [[Language list]] https://esolangs.org/w/index.php?diff=52704&oldid=52694 * LyricLy * (+9) /* L */ 05:16:53 [wiki] [[HI9+]] M https://esolangs.org/w/index.php?diff=52705&oldid=52703 * Rdococ * (+1) 05:16:59 true. but that still lies on underflow/overflow conditions. 05:17:31 meaning when a negative zero is added to some positive number, as some positive zero is added to a negative. 05:17:36 I guess. 05:18:47 [wiki] [[Ly]] https://esolangs.org/w/index.php?diff=52706&oldid=52689 * LyricLy * (+110) /* Interpreters */ 05:20:05 [wiki] [[HI9+]] M https://esolangs.org/w/index.php?diff=52707&oldid=52705 * Rdococ * (-9) 05:20:29 [wiki] [[HQ9+]] M https://esolangs.org/w/index.php?diff=52708&oldid=52477 * Rdococ * (+93) 05:20:37 The esolang wiki article about "MIX (Knuth)" describes what happens in this case on MIX, at least. (Other things using sign-magnitude might do differently maybe) 05:21:40 (I don't know if MIXPC is actually doing it correctly; if it is wrong, I will fix it) 05:24:05 (But I think the rule is basically like: If x+y=0 then the result has the same sign as x. For multiplication and division the sign of the result is already unambiguous anyways) 05:25:28 [wiki] [[MIX (Knuth)]] https://esolangs.org/w/index.php?diff=52709&oldid=52696 * Zzo38 * (+3) 05:27:31 [wiki] [[HI9+]] https://esolangs.org/w/index.php?diff=52710&oldid=52707 * Rdococ * (+415) quines 05:28:12 [wiki] [[HI9+]] M https://esolangs.org/w/index.php?diff=52711&oldid=52710 * Rdococ * (+73) 05:29:55 [wiki] [[Talk:HI9+]] M https://esolangs.org/w/index.php?diff=52712&oldid=51381 * Rdococ * (+236) 05:30:05 [wiki] [[Talk:HI9+]] https://esolangs.org/w/index.php?diff=52713&oldid=52712 * Rdococ * (+79) 05:34:38 [wiki] [[HI9+]] https://esolangs.org/w/index.php?diff=52714&oldid=52711 * Rdococ * (+373) more quines 05:48:02 -!- j-bot has joined. 05:58:22 I invented a few new kind of astrological house system, such as "Hemisphere-Null" system, which is similar to the "Null" (or "Aries") system, but the houses are flipped in the southern hemisphere. 06:02:00 Do you like this? 06:52:16 -!- rdococ has joined. 06:53:38 -!- doesthiswork has quit (Quit: Leaving.). 07:01:07 Ugh, why am I so scared to talk here? 07:02:21 I don't know? 07:05:40 `grwp scar 07:05:41 intelligence:Intelligence is a scarce resource that is distributed by the CIA. \ ß:ß is not a beta. It's a "scharfes S", aka s with a scarf. \ the universe:The universe was invented by Taneb as an opposing force to oerjan. Escardó proved that it was indiscreet. 07:06:12 it's a mystery. 07:06:29 sometimes we mock people. 07:08:08 -!- Gregor has quit (Quit: Coyote finally caught me). 07:08:23 I'm still hunting for an original concept. Am I going about this whole esolanging thing wrong? 07:10:14 Depends whether you intend to make only the original one or to just make it anyways regardless of that, I suppose. (Or, do something in between.) 07:12:18 rdococ: "1) Watch everything, read everything, and especially read outside your subject -- you should be importing, not recycling." from https://www.lspace.org/books/apf/words-from-the-master.html seems relevant 07:13:13 Yes, that too 07:13:21 in almost all cases, inspiration is taking a couple of ideas and combining them in a new way... which means you need to learn about the existing ideas first. 07:23:06 rdococ: don't fear looking stupid. 07:23:30 I know I look stupid every time I type something or share some weird thing I wrote. 07:23:45 imode: When I look back on what past me has added to the wiki, I faceplant. 07:24:04 meh. it's ideas. 07:24:26 some may like them, some may not. point is they're yours and they reflect your preferences. 07:24:32 Well... whether it works out or not, I have an idea in my head right now (if you want to hear about it). 07:24:49 sure, it's late and I have some booze. hit me. 07:25:56 K. The idea is that there would be no subroutines; only coroutines. Subroutines would be simulated using a while (true) loop and a call to yield() at the end of each iteration of that loop. 07:26:25 oh oh oh. I have done this. 07:26:54 Rather than calling a subroutine, you would pass parameters to and resume the coroutine. 07:27:56 imode: so, what do you think? 07:28:41 it's an interesting concept. I experimented with it for something like a tuplespace. 07:30:34 the gist was you'd have a large what was basically an assembly program, yet execution was based on coroutines, so that segments of the program would fall through to other segments in sequence. each segment would search for matching tuples in the tuplespace and work on them if it found them, else it would drop to the next segment, in an infinite loop. "yield" was essentially putting tuples back into the 07:30:34 tuplespace. 07:31:02 in this way it could be seen as multiple agents working on a shared blackboard. it works well, but only if you have a decent model of execution backing it. 07:31:16 I have some python code if you wanna see it. 07:31:37 I'd like to see it. 07:32:19 -!- Gregor has joined. 07:33:02 https://ptpb.pw/urGZ/python 07:33:32 I treat all my python files as sort of scratch files. they are not pretty. 07:33:35 but this is turing complete. 07:34:02 it is not complete in documentation, though. if you scroll down to the bottom you can see some code. 07:34:26 it's seen as a linear sequence of instructions but the way the matches are set up, you either jump back to a previous statement or fall through. 07:34:39 it's kind of like... a declarative assembly language, if you wanna read it from a moving car. 07:38:06 Eh... okay... 07:38:38 the point is it worked pretty well. the yields were implicit. 07:38:57 meaning you didn't have to do the windows 3.1 thing of giving CPU time to something. 07:41:13 one of the advantages of that method is that you don't need a stack to do anything. functions that you define, or subroutines as you call them, are _always running_, searching for work to do and where to send the results. 07:42:47 it'd be interesting to see an esolang that utilized that model. 07:46:11 I barely understand the model myself. 07:47:23 think of it like this. you have chunks of code, whatever they may be, that represent some functionality of your program. say for example a square function, or something that computes raising a number to a power. 07:48:07 so one chunk may be one function, one chunk may be another. instead of having a single entry point to your program, and a cursor racing back and forth between subroutine calls and the call stack... 07:48:43 you have no call stack. the cursor zips linearly around. you can still jump to instructions, sure, but you eventually have to fall through to other chunks of code. what you do differently is you have a sort of mailbox/work order system. 07:49:16 so you say "I am from function Foo, I am requesting a result from Bar with these parameters. I'm going to send it to Bar's mailbox. Please post the result with my name on it afterwards, so I can pick it up." 07:49:42 then you yield. if no other functions have work, they simply yield. 07:49:46 O_o 07:50:13 Umm... okay? 07:50:16 but Bar will go search in its mailbox and say "oh wow I have a letter. oh it's from Foo. cool I'm going to post the result of me mangling this value or whatever back in his mailbox." 07:50:34 and eventually execution will trace back to Foo, he'll receive the work. 07:51:24 Again, I'm not sure... 07:53:03 it's kind of like standard coroutines only, like I said, yields are implicit, as are entry points. a segment can pause and resume because it can save its work in its own mailbox, and other segments can send stuff to its mailbox so it can act as a function/subroutine. 07:53:21 sounds a lot like the actor model erlang has, actually. 07:53:31 with a blackboard system attached. 07:54:21 To me, it sounds like it could be an object-oriented system. 07:54:32 As in, objects sending messages to eachother. 07:54:45 certainly can! work at your chosen level of abstraction. :) 07:56:21 in fact, I was implementing this for a game, so I'd be writing game objects in that style. 07:56:32 so you really aren't that far off the mark. 07:56:58 I'd also like an opinion on the concept of http://esolangs.org/wiki/Assignless - at the moment, its syntax is borrowed from C/C++ but it has no actual assignment operation. 07:57:32 so.. like a functional language. 07:57:51 I guess, but it is imperative......is it? 07:57:57 Yeah, it's imperative. 07:58:13 in the fact that you don't do mutable assignment. 07:58:44 you just declare values, and code that acts on values. they don't need names attached to them. 07:59:12 I guess... 07:59:50 why the dots? 08:00:24 I tend to be very uncertain. 08:01:01 uncertainty is the first step towards certainty. 08:01:18 Odd, "#input"? I don't remember what that # was for. 08:01:28 [wiki] [[Assignless]] https://esolangs.org/w/index.php?diff=52715&oldid=52702 * Rdococ * (-1) 08:01:51 Ohh, I see now. 08:01:54 judging from the syntax, a comment. 08:02:01 (forall a b. (Dim a, Dim b) => Layer a b -> v a x -> v b x) -> v a x -> Network a b -> v a x 08:02:15 That's the most frustratingly slightly awkward type signature I've written in a while 08:02:16 neural nets in haskell? :P 08:02:28 Yeah! That's what I'm trying to do 08:02:32 sweet. 08:02:45 imode: # is used for comments, yes, but I was talking about the line "if (step < #input) {". 08:03:01 rdococ: yeah, I was wondering if you meant to comment it out or something. 08:03:34 imode: I guess so, but "if (step < " doesn't seem to be a very useful line to me. 08:03:41 lol. 08:04:24 it's a bit of a cliffhanger 08:04:36 imode, I work for a company that writes neural net compilers and I want to get a feel for how it all works 08:05:01 Taneb: huh. interesting. done anything with integer-only NNs? 08:06:06 imode, I don't think so, I'm afraid 08:06:24 But there's no real reason why we couldn't 08:06:49 they're mainly intended for systems with small memory footprints but for large-scale ops they couldn't hurt. 08:07:09 I guess it fits, but we mostly use half-width floats 08:07:39 hehe. the main strength was also the simplicity in implementation. no need to mess with floating point numbers for devices that lacked an FPU. :P 08:08:09 From the sound of it, they're not out of our remit 08:08:27 https://cdn.intechopen.com/pdfs-wm/9274.pdf some literature if you're morbidly curious. 08:08:37 interesting that you choose haskell though. what brought that on? 08:09:02 I don't know, I just joined 08:09:10 Oh, you mean me personally? 08:09:15 yuh! 08:09:18 I like to use Haskell as much as I can 08:09:30 Joined this company because I heard that they use Haskell 08:09:41 It's the language I know best 08:09:54 -!- erkin has joined. 08:09:59 nice. I don't think I've ever seen a NN libarary for haskell... 08:10:15 no time like the present. though I agree, that is an awkward type signature. :P 08:10:28 It looks like there's a few on Hackage 08:10:37 @type foldr 08:10:39 Foldable t => (a -> b -> b) -> b -> t a -> b 08:10:45 That's what the type signature wants to be 08:11:55 I'm trying to make a type-safe-as-possible feed forward network 08:12:49 It's going to be a fair bit awkward but I'm doing this for fun mostly 08:13:25 's all that matters in the end. 08:14:15 -!- xkapastel has quit (Quit: Connection closed for inactivity). 08:15:05 feedForward sigmoid = foldNetwork (\l i -> sigmoid <$> weights l !* i - biases l) 08:15:10 I love how neat that is 08:16:14 damn. 08:31:16 Now I've defined an analogous function to mapAccumL, I'm going to try and figure out backpropogation 08:52:20 -!- ski has joined. 08:58:30 -!- g0d355__ has joined. 09:13:23 -!- btiffin has joined. 09:23:06 -!- augur has joined. 09:36:39 Would it be a good idea to use "function" to refer to functions that can't form closures, and "closure" to refer to those that can? 09:46:45 -!- zseri has joined. 09:49:03 -!- augur has quit (Remote host closed the connection). 09:52:55 -!- imode has quit (Ping timeout: 246 seconds). 09:58:24 -!- imode has joined. 10:11:00 imode: One other idea I had was different flavours of function: @funcs inherit their scope from their caller, rather than their creator (that is, no closures), &funcs have /no/ scope of their own - all variables they define can be accessible from after the function is called, and ^funcs force their caller to return when they return. 10:11:19 They would be used in defining custom control structures. 10:16:30 -!- ^v has quit (Ping timeout: 240 seconds). 10:17:50 -!- ^v has joined. 10:19:01 -!- augur has joined. 10:23:20 -!- augur has quit (Ping timeout: 246 seconds). 10:25:27 interesting concept, but alas it is far too late for me to even consider the ramifications. 10:25:48 head go on pillow now. sweet dreams. 10:30:24 -!- imode has quit (Ping timeout: 258 seconds). 11:08:40 -!- Phantom_Hoover has joined. 11:18:21 -!- wob_jonas has joined. 11:18:44 I am cutting the book from the cover right now. And AAAAAAA IT HURTS ME INSIDE SO MUCH even though I know it's the right thing to do rationally. 11:26:38 -!- jaboja has joined. 11:28:51 -!- Antoxyde has joined. 11:36:35 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client). 11:45:11 -!- LKoen has joined. 11:49:33 -!- btiffin has left. 12:14:16 -!- FreeFull has quit. 12:23:53 -!- LKoen 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.”). 13:04:00 -!- ybden has quit (Read error: Connection reset by peer). 13:05:05 -!- ybden has joined. 13:25:03 -!- jaboja has quit (Ping timeout: 240 seconds). 14:00:25 -!- doesthiswork has joined. 14:09:57 -!- jaboja has joined. 14:13:20 -!- HTTP_____GK1wmSU has joined. 14:13:36 -!- HTTP_____GK1wmSU has left. 14:28:05 -!- jaboja has quit (Ping timeout: 240 seconds). 14:30:50 -!- ATMunn has joined. 14:32:21 -!- jaboja has joined. 15:01:42 -!- xkapastel has joined. 15:09:50 [wiki] [[Talk:Assignless]] N https://esolangs.org/w/index.php?oldid=52716 * Zseri * (+154) Created page with "Assignless looks like a more functional version of C. Is it (pure) functional? ~~~~" 15:27:21 -!- boily has joined. 15:28:51 -!- Phantom_Hoover has quit (Read error: Connection reset by peer). 15:49:05 `5 w 15:49:10 1/2:numbers//Numbers: 0, 848, 1344, 1696, 1969, 2192, _, 2544, 2688, 2817, _, 3040, _, _, 3313, 3392, ... \ `whoops//`whoops is a repluralizer. \ qdb//qdb is used like: `quote; `quote regexp; `quote id; `addquote ...; `delquote id; `pastequotes regexp; `pastenquotes [n]; see also quoteformat \ sleep//Sleep is for the weak. \ ping//Ping is a Peking 15:49:12 `n 15:49:13 2/2:Duck H4XX0R who amuses himself by making people's IRC connections timeout. 15:49:44 `quote some.*thing 15:49:46 48) both of you, quit it with the f-bombs. kaelis: what's the matter? something censoring stuff you're interested in? \ 73) Making a small shrine to Lawlabee in my basement is something I should get around to at some point. \ 96) AnMaster: to any airbus plane. 3 passengers sadly died the most awesome thing e 16:18:51 [wiki] [[User:HereToAnnoy]] https://esolangs.org/w/index.php?diff=52717&oldid=52701 * HereToAnnoy * (+2) 16:32:36 -!- boily has quit (Quit: KERNAL CHICKEN). 16:33:27 [wiki] [[Assignless]] https://esolangs.org/w/index.php?diff=52718&oldid=52715 * Zseri * (-26) remove unneeded returns 16:39:37 [wiki] [[Assignless]] https://esolangs.org/w/index.php?diff=52719&oldid=52718 * Zseri * (-44) remove semicolons after braces 16:43:03 -!- ATMunn has quit (Remote host closed the connection). 16:45:37 -!- ATMunn has joined. 16:46:28 @metar eddf 16:46:28 EDDF 121520Z 21009KT 9999 -RA FEW010 SCT020 BKN026 17/14 Q1018 NOSIG 16:46:49 seems plausible. 16:46:52 @metar lowi 16:46:52 LOWI 121520Z 08004KT 040V120 9999 FEW025 BKN075 16/11 Q1022 NOSIG 17:05:44 -!- augur has joined. 17:10:02 -!- augur has quit (Ping timeout: 246 seconds). 17:21:18 -!- FreeFull has joined. 17:27:01 -!- boily has joined. 17:31:19 -!- erkin has quit (Quit: Ouch! Got SIGABRT, dying...). 17:37:18 -!- copumpkin has quit (Ping timeout: 240 seconds). 17:38:18 [wiki] [[Ans]] M https://esolangs.org/w/index.php?diff=52720&oldid=52418 * Zseri * (+1) fix 'dead link' note 18:03:56 -!- jaboja has quit (Ping timeout: 246 seconds). 18:26:18 -!- imode has joined. 18:31:37 -!- AnotherTest has joined. 18:54:19 -!- copumpkin has joined. 19:03:04 -!- moony has joined. 19:03:22 Just trying to look for a quick solution, how do you guys limit UMLbox's disk space on HackEgo? 19:17:02 -!- jaboja has joined. 19:28:28 I don't think we have limits on total disk space, though we do set ulimit -f 10240 (i.e., RLIMIT_FSIZE of 10 megs) to limit the maximum size of created files. 19:29:56 If you wanted a hard upper bound, Linux does have filesystem quotas, or you could just have the root on a filesystem of limited size. The failure mode of that might not be terribly great if exceeded, though. 19:34:11 fizzie, mk. im working with a box i cant change the kernel or software on, so ulimit will have to do for now 19:34:57 (well i can change software, root, but cant edit disk to make a new limited partition even if i wanted to) 19:37:24 You can make a file you loop-mount as a block device. Either inside or outside the UML. 19:37:52 i never thought of that 19:38:22 -!- Sgeo has quit (Ping timeout: 260 seconds). 19:38:27 But, as i dont need it to be permanant, i could probably use a tmpfs 19:40:27 -!- augur has joined. 19:45:47 -!- wob_jonas has joined. 19:47:24 Maybe other elements aren't patented because the guys who patented tungsten has also patented the method of patent trolling by patenting chemical elements and natural mineral resources, and they're lashing out on other patents of elements using that. 19:49:16 why even allow patenting something that is part of everyday life that we cant help? :V 19:49:31 because sooner or later someone is gonna patent air and make people pay fees to breath 19:51:13 @metar CYQB 19:51:13 CYQB 121800Z 05006KT 040V110 25SM FEW010 FEW014 BKN031 BKN070 21/17 A2982 RMK SF1SC2SC4AC1 SF TR TCU EMBD SLP101 DENSITY ALT 1100FT 19:51:57 " Is there a faster way of dealing with sign-magnitude on a computer that doesn't use sign-magnitude?" => I'm not sure. There's probably not too much to gain over keeping the sign and magnitude separate if you do have to keep track of the sign of zeros. There might be some tricks, so you could check Hacker's Delight and Knuth vol 4 for ideas 19:51:58 . 19:53:21 zzo38: keeping the sign and magnitude separately definitely helps with at least MIX memory words, which are often accessed as partial fields 19:54:05 wob_jonas: Yes, and I have certainly thought of that 19:54:25 Which is one reason why I had decided to keep them separately 19:56:55 for some temporary values, you can use different formats of course, such as how you already do with addresses 19:59:26 Yes, MIXPC stores the address as a plain number instead of MIX bytes, but still keeps the sign separately. However, an implementation that supports only binary MIX could store all five fields in a single 30-bit value, for example if implementing MIX on MMIX. 20:01:47 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client). 20:01:50 Also, the MIXASM program included with MIXPC stores MIX word values internally as the sign and five fields in decimal, together with another number whose bits specify how the fields are divided; if a "BASE 100" command is omitted in the input file, it uses that data to output a deck that is independent of byte size. 20:10:50 -!- wob_jonas has joined. 20:12:07 -!- wob_jonas has quit (Client Quit). 20:12:41 -!- wob_jonas has joined. 20:12:57 Hello 20:13:23 I think I may have posted some message while you are not on temporarily 20:13:48 (But of course it is commonly what is happen on the IRC anyways, I think) 20:14:34 zzo38: in particular, you can't easily store mix words as doubles, because the IEEE 754 rules handle signed zeros differently than the MIX addition. 20:15:15 also extracting fields from such a representation would be very difficult 20:15:25 wob_jonas: Yes, I can see 20:22:21 -!- D33P-B00K has joined. 20:24:25 -!- D33P-B00K has left. 20:25:41 At least, on MMIX, it look like bitwise complement by the sign bit (if the number is a 32-bit number rather than a 64-bit number) by MXOR 20:26:00 (I don't know if it is help though, or what kinds of programs it might help with if at all anyways) 20:32:21 -!- oerjan has joined. 20:39:59 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client). 20:43:20 -!- wob_jonas has joined. 20:45:03 fizzie, just one last question: Which kernel do you use for umlbox? 20:53:25 moony: I don't really maintain the bot. The test installation I have locally uses linux-3.7.10. 20:53:46 The one on HackEgo seems to be 3.13.0. 20:54:54 mk 21:04:04 -!- doesthiswork has quit (Quit: Leaving.). 21:05:19 Do you know that the latest version of MIXPC also has a new I/O unit 36 which is the television (in addition to fixing several mistakes, and adding the feature to set a breakpoint)? 21:11:21 zzo38: can't the teletype output already be connected to a CRT? 21:11:33 I mean, the computer itself doesn't have to know the difference 21:12:53 nor do programs have to know the difference much, unless the CRT displays less than 70 characters per line 21:12:58 -!- Sgeo has joined. 21:14:06 Of course it can be already connected to a CRT, although unit 36 is for APA mode rather than text. 21:14:36 what is APA mode? 21:14:40 (You can physically display them on the same screen if you want to) 21:14:59 wob_jonas: All-points-addressable. 21:15:23 (Although output to unit 36 will replace the entire picture at once with the contents in memory starting at the specified address.) 21:15:59 what? do you mean a pixel-based full screen frame buffer? that would have more memory than a MIX computer, it's totally unrealistic for that era. 21:16:30 The resolution is very low; only 80x40 21:17:36 huh... that's not really APA mode, that's more like high-resolution text mode 21:17:40 but ok 21:18:17 I thought real graphics starts at over 128 pixels width 21:18:54 Yes, and it is actually implemented in MIXPC using text mode, although each pixel in the 80x40 area is limited to being either on or off (or even different intensities, up to the size of a MIX byte, although MIXPC only implements on/off) 21:19:00 real graphics? 21:19:47 ooooh. as in real pixel manipulations rather than textmode. 21:21:57 ok, I guess that's not really true. there is one cheap graphing calculator, the TI-80, that has only a 64x48 pixel display 21:22:46 -!- dingbat has joined. 21:23:08 yeah, there's a lot of small displays that allow per-pixel manipulation. 21:23:18 but that's unusually low even for an early graphic calculator 21:23:39 hell even an 8-column lcd has per-pixel manipulation. 21:25:23 Casio fx-6300G may be an even smaller example 21:25:35 EDSAC (which predates MIX) has a graphical display too, although with a lower resolution. 21:26:16 -!- Sgeo_ has joined. 21:27:03 -!- Sgeo has quit (Ping timeout: 258 seconds). 21:27:40 and sure, I have plotted functions on a programmable calculator with the 14x3 text characters, so you only see three values at a time and have to watch as the curve scrolls through and you need a VERY active imagination, but I don't call that "all pixels addressable" or anything close 21:29:04 OK, then 21:33:26 -!- PinealGlandOptic has quit (Quit: leaving). 21:35:45 The assembler I wrote for MIX is not quite the same as MIXAL, such as it has no compile-time multiplication/division, and omits a few other things too, but does have a few new commands such as FILL and PUNCH. 21:36:21 (PUNCH is used for appending additional data that will be loaded at runtime, rather than in the loader routine.) 21:37:56 wob_jonas: Do you like my way of fitting the loader program onto one card instead of needing two cards? 21:43:05 The same restriction to which characters can be punched still holds. 21:43:20 (I actually made two loader programs; one for specific byte sizes and one for programs independent of byte size.) 21:45:25 -!- Sgeo__ has joined. 21:45:27 For the one for specific byte sizes, the rest of the program still takes (approxmiately) the same number of cards, although the format of the cards is different; in order to handle negative numbers, the numbers are stored "biased"; the first five columns store the address and the last five columns must be blank; multiple words on one card are on addresses skipped by 2 instead of by 1; the transfer card is different (it overwrites the loading routin 21:47:14 -!- Sgeo_ has quit (Ping timeout: 246 seconds). 21:50:16 The assembler also tries to reduce the number of holes to be punched, so that it will use spaces instead of zeros where possible. 22:24:20 -!- ais523 has joined. 22:25:00 -!- zseri has quit (Ping timeout: 260 seconds). 22:25:29 zzo38: I don't much care if it's one card or two card. the loader format already isn't trying to compress the program much, so one extra card doesn't hurt anyone. 22:26:11 OK, although I still decided to do it with just one card anyways, mainly just because I want to do 22:26:23 sure 22:31:05 However, this one card program may be faster (although I have not actually tested the speed), and needs to use only 31 words of memory while loading. 22:31:59 (Or maybe it isn't faster; I don't know) 22:34:42 home sweet home 22:36:34 zzo38: isn't the speed of loading mostly limited by the speed of the card reader though? 22:36:35 -!- augur has quit (Remote host closed the connection). 22:40:33 -!- Guest13399 has joined. 22:53:22 wob_jonas: Yes, I suppose so 22:54:04 -!- Guest13399 has quit (Quit: Leaving...). 22:54:26 -!- jaboja has quit (Ping timeout: 246 seconds). 22:58:02 I don't actually know how fast is the card reader anyways, although it may be implementation-dependent. 22:58:54 it is implementation-dependent 22:59:00 but slow enough in any case 22:59:35 Anyways my version does not need any special logic for the transfer card, and since I have returned the book to the library I cannot compare the method used for loading signed numbers 23:01:27 -!- ais523 has quit. 23:01:36 -!- ais523 has joined. 23:02:58 -!- doesthiswork has joined. 23:06:47 A more efficient encoding for the independent-byte-size loader could be made though; currently each number needs one card, which seem too much 23:07:44 The speific-byte-size loader though is already efficient. 23:13:30 -!- AnotherTest has quit (Ping timeout: 240 seconds). 23:19:26 You're saying umlbox doesnt provide init :v `Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.` 23:20:58 It does provide an init. 23:21:21 It's right there in the repository, init.c. 23:22:56 The Makefile should put it in the umlbox-initrd.gz, and the umlbox script gives that as an initrd argument to the UML kernel. 23:23:09 Support for "BASE 64" should also be added into this assembler; currently it only support 100 and independent. 23:25:05 zzo38: or make it support any base from 64 to 100 inclusive 23:25:26 for ternary or more unusual machines 23:25:29 Yes, it ought to, you are right. 23:25:48 huh, it does contain init... Why is it not executing it? 23:25:48 but yes, 64 and 100 cover most of the practical cases 23:25:55 (MIXPC already does, although MIXASM currently doesn't.) 23:26:55 moony: Maybe try passing -v to umlbox and see if all the paths in the command line it runs seem to be right. 23:27:27 In any case you could use the independent mode if you really need to, although it would be better to support any base from 64 to 100 anyways, in case you do not want to use the independent mode. 23:27:36 they all look good. here's the output of a test: https://hastebin.com/anobevubum.pas 23:29:39 -!- oerjan has quit (Quit: Nite). 23:29:53 moony: Odd. Does zcat /usr/bin/../lib/umlbox/umlbox-initrd.gz | cpio -t say "init"? 23:30:25 yup 23:34:15 zzo38: you could even have a base 256 machine. it's not quite standard according to the book, but the only change you really need is extending the CHAR instruction with an extended encoding format for large numbers and add a new NUME instruction that decodes that format 23:35:16 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client). 23:35:22 fizzie, i think its another case of the linux kernel being magic :V 23:35:32 -!- wob_jonas has joined. 23:35:37 it's still possible to encode a word into a word a word into ten punchable bytes easily 23:35:48 OK, it is another idea, although standard MIX programs may assume that the base is 64 to 100 and that it isn't larger than 100. 23:36:04 yes, they may assume that 23:36:22 moony: I don't have any good ideas, since it's not really saying much by the way of useful errors. Though I guess "Failed to execute /init" need not really mean it's missing, could be something else as well. 23:36:38 i wish the kernel would tell me why :V 23:36:51 So this new way is not really MIX, it is "nearly MIX", I suppose. (Still, it can be a possible variant anyways) 23:36:51 -!- augur has joined. 23:36:59 yes, it's a variant 23:37:46 -!- copumpkin has quit (Ping timeout: 258 seconds). 23:37:56 moony: Heh, well, looks like that error in a more current kernel (4.10) has changed to "Failed to execute %s (error %d)\n", so maybe someone else wished that as well. 23:38:56 -!- augur has quit (Remote host closed the connection). 23:39:37 https://github.com/torvalds/linux/commit/ba24762bd "make init failures more explicit" 23:40:27 hmm 23:40:38 i'll try(tm) to see if it'll work with a recent kernel 23:41:03 If I'm reading github right, that commit made it to 3.13, which is what we've got on HackEgo. 23:41:16 So that might be a reasonable version to try. 23:41:38 I remember running into problems when I tried a 4.x series one when trying to set up my local test environment. 23:42:33 -!- augur has joined. 23:43:13 You might also want to verify ("file init", "file umlbox-linux") your both executables are for the same architecture. 23:43:51 (Instead of, say, x86 and x86-64.) 23:47:01 fizzie, that was exactly the problem :V kernel 32bit init 64bit 23:47:03 23:47:17 -!- augur has quit (Ping timeout: 246 seconds). 23:49:04 Maybe I should've said that first, then. :) 23:50:26 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client). 23:51:44 melted blue stilton on a burger is the best thing in the world. 23:55:29 fizzie does umlbox not work with 64-bit kernels for some reason, or is it just being silly and enforcing the kernel be 32bit? 23:55:57 It should work with 64-bit kernels just fine. 23:56:03 I use it with one. 23:56:20 init: ELF 64-bit LSB executable, x86-64 -- umlbox-linux: ELF 64-bit LSB executable, x86-64. 23:56:27 Just as long as you have both the same.