←2018-10-09 2018-10-10 2018-10-11→ ↑2018 ↑all
00:28:47 <shachaf> Sgeo_: Do you have a good language for me that doesn't have C-style lvalues but something more explicit?
00:28:56 <shachaf> I've finally understood what lvalues and rvalues are, I think.
00:31:34 -!- XorSwap has joined.
00:31:57 -!- jix has quit (Ping timeout: 244 seconds).
00:32:05 -!- jix has joined.
00:50:03 <Sgeo_> I'm not totally sure I understand the question, to be honest. Do you mean any statements of the form x = y where x isn't a value of an explicit type designed for that statement would be not allowed?
00:51:08 <shachaf> In ALGOL 68, for example, the thing on the left side of = is a pointer.
00:51:52 <shachaf> Well, it's a :=
00:53:42 <Sgeo_> Picolisp? Assignment forms are set and setq, set takes a symbol like 'foo, setq is a bit more magic and quotes the symbol for you
00:54:16 <shachaf> I'd like something that distinguishes between memory locations and values.
00:54:27 <shachaf> Or, y'know, mutable cells that hold values and values.
00:54:54 <Sgeo_> Haskell? Erlang/Elixir?
00:55:04 <shachaf> OK, but something on the level of C.
00:56:32 <shachaf> When you write "int x; ...; x = x + 1;", the x on the left of the = refers to a memory location, but the x on the right refers to the value in that memory location.
00:57:29 <Sgeo_> Tcl
00:58:08 <Sgeo_> The string "x" or x or {x} is a mutable location, $x is a value in that location
00:58:22 <Sgeo_> set x 5; print $x
00:58:34 <Sgeo_> oops
00:58:42 <shachaf> "x" isn't exactly a memory location (because of scoping?), but I suppose that's closer.
00:59:01 <Sgeo_> http://tpcg.io/EXzEuZ
00:59:57 <shachaf> I guess this is true in sh, actually.
01:00:04 <Sgeo_> Hmm, I don't remember enough Rebol off the top of my head
01:00:21 <Sgeo_> I've considered Rebol to be a better Tcl with a better ability to fake lexical scope, but I don't remember much else
01:00:23 <shachaf> You write x=5 to set and $x to get.
01:01:14 <Sgeo_> Rebol is x: 5; x
01:01:29 <Sgeo_> x: is a word similar to but not the same as x
01:01:47 <shachaf> ALGOL 68 has automatic coercion from "ref t" to "t"
01:18:45 <fizzie> You could kind of say Forth's @ and ! words are explicit like that. Or VALUE/TO. (For a word FOO defined with VALUE, "FOO" fetches from value to stack, and "TO VALUE" stores from stack to value.)
01:20:38 <shachaf> hizzie
01:21:00 <shachaf> Isn't it odd that "a.x" has two different meanings, depending on whether "a" is an lvalue or an rvalue?
01:25:12 <shachaf> I agree, Forth is like that. But Forth doesn't use variables the way most languages do.
01:37:35 -!- izabera has quit (*.net *.split).
01:37:35 -!- XorSwap has quit (*.net *.split).
01:37:36 -!- tromp has quit (*.net *.split).
01:37:36 -!- sebbu has quit (*.net *.split).
01:37:36 -!- FreeFull has quit (*.net *.split).
01:37:36 -!- MDude has quit (*.net *.split).
01:37:36 -!- ski has quit (*.net *.split).
01:37:36 -!- int-e has quit (*.net *.split).
01:37:36 -!- fungot` has quit (*.net *.split).
01:37:36 -!- hakatashi has quit (*.net *.split).
01:37:36 -!- shikhin has quit (*.net *.split).
01:37:38 -!- dingbat has quit (*.net *.split).
01:37:39 -!- clog has quit (*.net *.split).
01:37:39 -!- ATMunn has quit (*.net *.split).
01:37:39 -!- Bowserinator has quit (*.net *.split).
01:37:39 -!- Lymia has quit (*.net *.split).
01:37:39 -!- diginet has quit (*.net *.split).
01:37:39 -!- rdococ has quit (*.net *.split).
01:37:40 -!- ocharles has quit (*.net *.split).
01:37:41 -!- J_Arcane has quit (*.net *.split).
01:37:42 -!- olsner has quit (*.net *.split).
01:37:43 -!- Hoolootwo has quit (*.net *.split).
01:37:43 -!- xkapastel has quit (*.net *.split).
01:37:43 -!- myname has quit (*.net *.split).
01:37:44 -!- rain2 has quit (*.net *.split).
01:37:44 -!- lynn has quit (*.net *.split).
01:37:44 -!- ^[ has quit (*.net *.split).
01:37:44 -!- mich181189 has quit (*.net *.split).
01:37:45 -!- rodgort has quit (*.net *.split).
01:37:45 -!- vertrex has quit (*.net *.split).
01:37:46 -!- neanias has quit (*.net *.split).
01:37:46 -!- moony has quit (*.net *.split).
01:37:46 -!- fizzie has quit (*.net *.split).
01:37:46 -!- \oren\ has quit (*.net *.split).
01:37:47 -!- copumpkin[m] has quit (*.net *.split).
01:37:47 -!- Storkman_ has quit (*.net *.split).
01:37:47 -!- zemhill____ has quit (*.net *.split).
01:37:47 -!- sparr has quit (*.net *.split).
01:37:48 -!- heroux has quit (*.net *.split).
01:37:48 -!- arseniiv has quit (*.net *.split).
01:37:48 -!- lifthrasiir has quit (*.net *.split).
01:37:48 -!- FaerieFly has quit (*.net *.split).
01:37:48 -!- Deewiant has quit (*.net *.split).
01:37:48 -!- subleq has quit (*.net *.split).
01:37:48 -!- jix has quit (*.net *.split).
01:37:48 -!- doesthiswork has quit (*.net *.split).
01:37:49 -!- erdic has quit (*.net *.split).
01:37:49 -!- trn has quit (*.net *.split).
01:37:49 -!- shachaf has quit (*.net *.split).
01:37:49 -!- lambdabot has quit (*.net *.split).
01:37:49 -!- joast has quit (*.net *.split).
01:37:50 -!- HackEso has quit (*.net *.split).
01:37:50 -!- GeekDude has quit (*.net *.split).
01:37:50 -!- pikhq has quit (*.net *.split).
01:37:50 -!- fractal has quit (*.net *.split).
01:37:50 -!- aloril has quit (*.net *.split).
01:37:50 -!- digitalcold has quit (*.net *.split).
01:37:50 -!- Sgeo_ has quit (*.net *.split).
01:37:50 -!- danieljabailey has quit (*.net *.split).
01:37:50 -!- grumble has quit (*.net *.split).
01:37:50 -!- quintopia has quit (*.net *.split).
01:37:51 -!- sftp has quit (*.net *.split).
01:37:51 -!- relrod has quit (*.net *.split).
01:37:51 -!- brandonson has quit (*.net *.split).
01:37:51 -!- Yurume_______ has quit (*.net *.split).
01:43:16 -!- digitalcold has joined.
01:43:17 -!- aloril has joined.
01:43:17 -!- fractal has joined.
01:43:17 -!- pikhq has joined.
01:43:17 -!- GeekDude has joined.
01:43:17 -!- HackEso has joined.
01:43:17 -!- joast has joined.
01:43:17 -!- lambdabot has joined.
01:43:17 -!- shachaf has joined.
01:43:17 -!- trn has joined.
01:43:17 -!- erdic has joined.
01:43:17 -!- doesthiswork has joined.
01:43:17 -!- jix has joined.
01:43:33 -!- Sgeo_ has joined.
01:43:33 -!- danieljabailey has joined.
01:43:33 -!- grumble has joined.
01:43:33 -!- quintopia has joined.
01:43:33 -!- sftp has joined.
01:43:33 -!- relrod has joined.
01:43:46 -!- ocharles has joined.
01:43:46 -!- J_Arcane has joined.
01:44:12 -!- neanias has joined.
01:44:12 -!- moony has joined.
01:44:12 -!- fizzie has joined.
01:44:12 -!- \oren\ has joined.
01:44:26 -!- olsner has joined.
01:44:32 -!- izabera has joined.
01:44:45 -!- Roger9_ has joined.
01:44:45 -!- brandonson has joined.
01:44:45 -!- Yurume_______ has joined.
01:44:56 -!- dingbat_ has joined.
01:44:56 -!- Lymee has joined.
01:44:56 -!- Hoolootwo has joined.
01:44:56 -!- xkapastel has joined.
01:44:56 -!- myname has joined.
01:44:56 -!- rain2 has joined.
01:44:56 -!- lynn has joined.
01:44:56 -!- ^[ has joined.
01:44:56 -!- mich181189 has joined.
01:45:15 -!- shikhin has joined.
01:45:21 -!- XorSwap has joined.
01:45:21 -!- tromp has joined.
01:45:21 -!- sebbu has joined.
01:45:21 -!- FreeFull has joined.
01:45:21 -!- MDude has joined.
01:45:21 -!- ski has joined.
01:45:21 -!- int-e has joined.
01:45:21 -!- fungot` has joined.
01:45:21 -!- hakatashi has joined.
01:45:28 -!- sparr has joined.
01:45:37 -!- copumpkin[m] has joined.
01:45:37 -!- Storkman_ has joined.
01:45:37 -!- zemhill____ has joined.
01:45:47 -!- rodgort has joined.
01:45:48 -!- vertrex has joined.
01:45:57 -!- heroux has joined.
01:45:57 -!- ATMunn_ has joined.
01:45:57 -!- arseniiv has joined.
01:45:57 -!- lifthrasiir has joined.
01:45:57 -!- FaerieFly has joined.
01:45:57 -!- Deewiant has joined.
01:49:02 -!- diginet has joined.
01:49:11 -!- Bowserinator has joined.
01:49:38 -!- arseniiv has quit (Ping timeout: 245 seconds).
01:50:00 -!- subleq has joined.
01:51:43 -!- dingbat_ has quit (Changing host).
01:51:43 -!- dingbat_ has joined.
01:51:57 -!- heroux has quit (Changing host).
01:51:57 -!- heroux has joined.
02:12:31 -!- Sgeo has joined.
02:13:24 -!- Sgeo_ has quit (Ping timeout: 268 seconds).
03:11:39 -!- XorSwap has quit (Quit: the creeping crawling chaos will return.).
03:33:25 -!- dingbat_ has quit.
03:34:02 -!- dingbat has joined.
03:34:38 -!- clog has joined.
03:34:50 -!- dingbat has quit (Client Quit).
03:35:05 -!- dingbat has joined.
03:54:17 -!- Hoolootwo has quit (Remote host closed the connection).
04:01:58 -!- Hoolootwo has joined.
04:07:59 -!- moei has joined.
04:21:23 -!- iconmaster has joined.
05:30:58 -!- doesthiswork has quit (Ping timeout: 272 seconds).
06:10:53 -!- heroux has quit (Ping timeout: 245 seconds).
07:04:37 -!- xkapastel has quit (Quit: Connection closed for inactivity).
18:57:15 -!- esowiki has joined.
18:57:31 <fizzie> I told it to restart, and here it is again.
18:57:50 <fizzie> And the logs seem to be back up. I'll close this as fixed.
18:58:01 <fizzie> (...I mean, I would, if we had a tracker...)
18:58:38 <shachaf> we track bugs in the logs hth
19:07:02 <int-e> `? esowiki
19:07:03 <HackEso> esowiki? ¯\(°​_o)/¯
19:07:39 <int-e> `learn Esowiki is our resident issue tracker.
19:07:41 <HackEso> Learned 'esowiki': Esowiki is our resident issue tracker.
19:08:05 <shachaf> i,i our residents have a lot of issues
19:08:14 <int-e> (This is a mere summary of discussion above, not necessarily funny.)
19:09:55 <int-e> `? oerjan
19:09:56 <HackEso> Your omnidryad saddle principal ideal golfing toe-obsessed "Darth Ook" oerjan the shifty evil grinch is a hazy expert in minor compaction. Also a Groadep who minces Roald Dahl. He could never render the word "amortized" so he put it here for connivance. His ark-nemesis is Noah. He twice punned without noticing it.
19:10:14 <int-e> `doag password
19:10:16 <HackEso> No output.
19:10:17 <int-e> `dowg password
19:10:19 <HackEso> 11622:2018-10-02 <oerjän> learn The password of the month is wearing shorts despite the weather \ 11619:2018-09-05 <oerjän> learn The password of the month is ripe for picking \ 11587:2018-08-03 <int-̈e> learn The password of the month is alphanumer1c. \ 11584:2018-07-20 <int-̈e> learn The password of the month will be short-lived. \ 11570:2018-06-03 <oerjän> learn The password of the month is illegal in six US states and Saudi Arabia \ 11544:2018-
19:10:49 <shachaf> oerjan: It was 29°C here the other day.
19:11:10 <int-e> oerjan is not here... was that for the logs?
19:12:20 <shachaf> I assume that if I say "oerjan" things will make their way to him one way or another eventually.
19:12:25 <shachaf> I don't worry about the exact mechanism.
19:14:24 -!- S_Gautam has joined.
19:47:54 -!- wob_jonas has joined.
19:48:11 <wob_jonas> fizzie: thank you
19:56:16 -!- ais523 has joined.
20:07:24 <wob_jonas> ais523: hi
20:07:55 <ais523> hi
20:07:58 <wob_jonas> I was here for the M:tG conversation, but I don't know if you replied after that part, because the logs were down
20:09:43 <ais523> you left shortly before I did
20:09:44 <wob_jonas> I was talking about some stupid basic arithmetic and calculus stuff afterwards
20:09:48 <ais523> so I saw them
20:10:11 <ais523> but I pretty much just ignored the conversation because it was offtopic; I tolerate offtopic conversation here but normally don't pay much attention to it unless it's on a topic I'm interested in
20:10:21 <wob_jonas> and how the old NIST maths handbook is in some respects betteer than the new one
20:10:34 <wob_jonas> oh, elementary maths is off-topic, but category theory is on topic?
20:10:48 <wob_jonas> or all of them are on topic, we just allow a lot of off-topic stuff for community
20:10:50 <wob_jonas> yeah, I get it
20:12:14 <ais523> category theory is typically only on topic in as much as it related to Haskell (which would be an esolang if people weren't trying to use it seriously)
20:12:19 <ais523> *relates
20:12:37 <ais523> if you need to know category theory to understand the language you're writing in, that sounds like an esolang to me :-D
20:14:26 -!- erkin has quit (Read error: Connection reset by peer).
20:18:38 <wob_jonas> ais523: yeah. I could write some basic haskell programs without using category theory, but since I'm a mathematician, I can understand others wanting to understand category theory for these sorts of things, whether eso or non-eso
20:18:54 <wob_jonas> I sometimes think of other crazy mathematics for programming simple stuff too, it's only natural.
20:19:04 <ais523> well, computer scientists use category theory to understand programming languages
20:19:21 <ais523> there's some category theory in my thesis, for example
20:19:33 <ais523> (that said, it's a bit out of place because my thesis ended up mostly being a study of syntax rather than semantics)
20:19:39 <wob_jonas> And I don't mean the simple stuff like using an elementary integral to compute the area of a circular sector, but really overpowered stuff I don't need for the problem, only for me it's usually not category theory.
20:20:22 <wob_jonas> Not that I haven't used category theory, I admit I have used it at least once, but only the very basics, like composing some morphisms and inverting them and some direct product, you can trivially rephrase the same proof without category theory.
20:21:08 <ais523> combinatorics seems to be the other field of maths that comes up in programming a lot
20:21:10 <wob_jonas> It ended up in an article I co-authored.
20:21:26 <ais523> at least, if you're programming for the sake of programming rather than to actually accomplish some result
20:21:37 <ais523> also, people normally prefer the category-theory proofs because they generalise to other fields
20:21:56 <ais523> the whole initial point of category theory was to allow theorems to apply to multiple fields of maths at the same time
20:22:07 <wob_jonas> ais523: yeah, but so does some of this numeric stuff, including multi-dimensonal vector arithmetic, whether exact or asymptotics, simple statistics, and numeric analysis to understand which floating-point calculations are numerically stable and what approximations are good.
20:23:44 <wob_jonas> I actually started to think of this area of circular sector and volume of spherical cap thing because it was needed for an approximation in a program by a co-worker, not that I need to understand the integration myself for that, you can just re-use formulas other people have computed, but still.
20:31:49 -!- Hoolootwo has quit (Ping timeout: 252 seconds).
20:37:55 -!- erkin has joined.
20:58:32 -!- Hoolootwo has joined.
21:04:21 -!- Hoolootwo has quit (Ping timeout: 260 seconds).
21:12:00 -!- sleepnap has left.
21:13:42 -!- Hoolootwo has joined.
22:05:05 -!- nfd9001 has joined.
22:40:48 -!- AnotherTest has quit (Ping timeout: 252 seconds).
22:47:16 -!- ais523 has quit (Quit: quit).
22:57:43 -!- S_Gautam has quit (Quit: Connection closed for inactivity).
22:58:12 -!- nfd9001 has quit (Ping timeout: 252 seconds).
22:59:01 -!- nfd9001 has joined.
22:59:18 -!- doesthiswork has quit (Ping timeout: 252 seconds).
23:04:56 -!- Essadon has quit (Quit: Qutting).
23:19:04 -!- Sgeo has quit (Quit: Leaving).
23:19:20 -!- Sgeo has joined.
23:30:52 -!- XorSwap has joined.
23:34:46 -!- hakatashi1 has joined.
23:35:05 -!- tromp_ has joined.
23:35:06 -!- sebbu2 has joined.
23:35:10 -!- hakatashi has quit (Remote host closed the connection).
23:35:14 -!- MDead has joined.
23:37:48 -!- tromp has quit (Ping timeout: 252 seconds).
23:37:48 -!- MDude has quit (Ping timeout: 252 seconds).
23:37:48 -!- MDead has changed nick to MDude.
23:38:21 -!- sebbu has quit (Ping timeout: 252 seconds).
23:44:48 <wob_jonas> Mind you, using the letter "d" in two conflicting ways in that formula is really unfortunate
23:45:16 -!- nfd9001 has quit (Ping timeout: 246 seconds).
23:46:16 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client).
23:57:49 -!- wob_jonas has joined.
23:58:55 -!- wob_jonas has quit (Client Quit).
←2018-10-09 2018-10-10 2018-10-11→ ↑2018 ↑all