« first day (2572 days earlier)      last day (2568 days later) » 

17:00
counting from zero
is 0 <= i < n
from 1 is 1 <= i <= n
Yay, fenceposting.
then why it doesnt fail then there is something in RO data
@betseg undefined behavior includes 'never fail unless something else happens'
in fact it might only fail once you put it inside a billion dollar space shuttle
one of the reasons C and C++ are so notoriously unsafe
@quartata Our 2016 user meeting had a half-day workshop on neural networks, and half a day on compiling what they'd made in the first half. Still I find a few promising repos on GitHub…
@Adám I remember watching a video on dyalog.tv about someone transpiling APL to Futhark and then running Michael Nielsen's recognising handwritten digits example in his book
17:02
@orlp has that happened
I actually really like the name differentiable programming instead of neural networks
@betseg when* why are t and w so close on the keyboard /s
Space shuttle death by undefined behavior
temperature underflow?
@Cowsquack Yup. One of the repos I found right now.
17:03
@LuisMendo thanks, I think I passed with @AnderBiguri's triangle stuff :)
@Pavel death I don't think so
but I'm sure something has gone wrong at some point due to undefined behavior
like a mars lander was lost to a unit conversion error
one team was using metric the other imperial
@Mr.Xcoder Cogito ergo sum(x,1)
Lol 10/10
CMP: Does this syntax idea sound like a good idea for Proton? a ~ b ~ c ~ ... ~ d == a(b, c, ..., d)
@HyperNeutrino what does either of those do?
17:13
@HyperNeutrino why?
@flawr the second one is a function call
@flawr well a ~ b ~ c ~ ... ~ d is the proposed syntax and a(b, c, ..., d) is a function call.
@HyperNeutrino Hmm, separating the function the same way as the elements seems quite odd, but It migh tbe helpful... But isn’t that subtraction?!?
@NieDzejkob not sure, just a random idea
@HyperNeutrino I'd rather see a @ b ~ c ~ d
hm
so you propose that b ~ c ~ d is (b, c, d)
17:14
@Mr.Xcoder those are tildes, not minus signs
Oh ~, not -
Then yeah
@Mr.Xcoder yeah. your font might render them similarly :P
I actually would like l ~ f ~ r to be f(l, r) though.
Basically like Mathematica
17:15
that's where I drew the inspiration :P
though that causes infinite recursion which I could fix using a repeat sequence, but I only want 3
meanwhile just sitting casually over here on pytek's corpse stuffed with emeralds
wait repeat takes args
@quartata uh wat
Yeah, I don't think your first proposal is really needed anywhere
pytek as in elendia's language?
@Pavel yeah. The second one can help reduce the number of brackets for chained function calls (as well as @ and |>) but the first proposal is kind of useless and unintuitive :P
yes, said language where we basically did all of this design
ngn
ngn
17:16
isn't that exactly how lisp's s-expressions work?
(the first proposal)
(f x y) is an s-expr
f[x y] is an m-expr
Who cares about Lisp :P
ngn
ngn
x f y is apl :)
@ngn yes but I think they're more interested in syntax
what's with the emeralds though
are emeralds not valuable
17:18
how's this: a ~ b ~ c ~ d ~ e == d(b(a, c), e)
and so on
@quartata ok yes but is there a reference i don't get or like why is it a corpse stuffed with emeralds
Q: Proposals’s for what the syntax character $ should do in Physica.
Variable names.
Is Physica meant for golfing or practical
@HyperNeutrino Practical
ok
$"varname" == varname
and $a = globals()[a] essentially
17:19
Wait... Lol I completely, completely misread Dennis’ message
or make $ a valid identifier that doesn't form a word with other identifiers
for$in range... :P
@HyperNeutrino So this means that ~ is right-associative, right?
@flawr no, left associative.
@HyperNeutrino Use $ like Perl or Ruby's $_
What's going on with TIO?
17:21
@Mr.Xcoder for the website, it would be nicer if the href attribute was given to the div in the navigation, rather than the text
oh god the mathjax
@HyperNeutrino I like the idea, but it would need to be ${a}.
@labela--gotoa appears to be on fire?
I can't connect to it .-.
17:22
@HyperNeutrino Too useless :P I am going to transpile '_' to ' _ '
@Dennis panic!
@Mr.Xcoder Oh ok :P
I can either panic or fix it
4
rip __magic__ functions
@Dennis well it appears to be fine now :P
@labela--gotoa Should be fixed.
17:23
It's back!
yay \o/ thanks
Ninja'd
\\o/
oh, no md escapes needed here .-.
Some hiccups with the secondary server. The main one is down for maintenance.
ah
wish fast fix
17:24
@Cowsquack Good idea!
a#b == a[b], should a@b#c == a(b[c]) or a(b)[c]?
@HyperNeutrino While updating your Pyth answer, I think you overlooked my comment on your Python one
Should @ take precedence over # or should they be on the same level LTR/RTL?
@Mr.Xcoder oh indeed i did .-. thx
IMO @ should take precedence over #
;-; I have to update 5 pages of HTML
17:27
@HyperNeutrino ah right, that wouldn't make a lot of sense
@betseg I don't think it's a good idea to make it a macro
why not a function?
to avoid the unavoidable *&&**&***&
@HyperNeutrino a(b[c])
I personally favor LTR-same-level
17:29
I chose LTR... ninja'd kinda
@Dennis Will you tag this ?
@betseg "avoid the unavoidable" [...?]
@HyperNeutrino Do you support 2d arrays? (a[x, y] rather than a[x][y])
curry everything
CMP: a[x, y] == [a[x], a[y]] or a[x, y] == a[x][y]?
17:30
@DJMcMayhem
@HyperNeutrino x]a[y
@HyperNeutrino The latter.
@HyperNeutrino B
@flawr ...uh please...
17:31
I wonder why it got closed as off-topic though. Since when are bug reports off topic on meta?
@Dennis There's a close-option for "no longer relevant"
No idea. I'm voting to reopen
@HyperNeutrino I don't see it
@HyperNeutrino That's an "Other"
was it custom-raised by some random person then?
17:33
No, it's just "off-topic" with no further explanation
Maybe.
@DJMcMayhem no the reason is not included in the desc
@HyperNeutrino It was. The comment was auto-deleted when the post was closed.
oh ok
well it's reopened now lol
.oO(How is that funny?)
17:34
@HyperNeutrino You know what I just realized? If you index into a 2d array with a[x,y], then a[x][y] is basically the same thing but curried.
@HyperNeutrino The latter, and I'll try to implement it in Physica too I think :)
@Pavel lol yes :P
@Dennis sorry, "lol" doesn't mean i'm laughing for me. :P
i guess i use it a bit too often ¯\_(ツ)_/¯
@HyperNeutrino lol
:P
hm how do I respond to that? normally I'd say "lol" but that's too uncreative. I guess this works as a response to that :P
meta-response o0
XD?
ngn
ngn
17:36
rofl?
@Dennis o_O
Dang
"lol" rather than laugh, sounds like "lol? wtf?"
Since we're anyway so off-topic. One of the neighbours here has a car with the license plate "TIO RUN". Coincidence?
7
oh wait I can tiebreak because i'm making the language
That feel when you really want to work on something but TNB swallows you like a black hole.
@Adám what this conversation is 100% on-topic General discussion for codegolf.stackexchange.com
17:40
@Mr.Xcoder s/your programming language/anything
ngn
ngn
@HyperNeutrino why don't you make them the same character? :)
TNB is my number one source of being less productive than I should be
@ngn uhhhhhhhhh
@Adám what
@DJMcMayhem and you need a trailing /
17:41
Oh really?
@Adám ask them if they're on PPCG /s; who knows, maybe they're a user of this site and you'd never know because their account doesn't have their real name! :P
Huh. What if I just claimed it was vim rather than sed?
@DJMcMayhem Yes
Then ¯\_(ツ)_/¯
@DJMcMayhem Then you need a :
Fun fact about vim's :s command: None of the trailing slashes are needed. :s/foo/bar works, :s/foo is equivalent to :s/foo//, and :s is equivalent to :s/<last-search>//
17:43
the flag on right on the message looks like a thunderbolt for me. who did make it the logo for flag...?!
well, it looks like a flag in color, but not in black-white
Btw, our chief architect at Dyalog drives a Mazda Roadster with the license plate "DL06 APL"
leaves TNB such that the rate of productivity loss is lower
@Mr.Xcoder Yeah, right.
since @ is right-associative, @# would have to be as well if they were on the same level.
@Mr.Xcoder I knew you'd come right back.
17:46
his icon isn't in the user list rn :P
@HyperNeutrino Consider a#b#c
I must have done this... .-.
@HyperNeutrino He did come right back though. Probably got a notification, and just had to see.
yeah. Since @ and # have different associations, they probably have to be separate. Final decision made for @>#
how the heck is it a flag.
.-.
17:48
It is clearly a flag, IDK man
but the gray icon, not the colored onme
Yes
@labela--gotoa It is exactly the same outline, just a solid grey.
i need to get close to screen to say it's a flag
@Adám but it doesn't look like a flag .-.
how
@labela--gotoa Does the coloured one look like a flag to you?
17:51
yes
aaargh
nvm
@labela--gotoa Which language is your user name in?
@ThomasWard The -- doesn't look BASIC to me.
@Adám Actually, a polyglot if you replace -- with a semicolon, because I can't put a ; in my nick
ngn
ngn
does basic have "label"?
@ngn Yeah, at least modern versions do.
Maybe I should make an own esoteric language to make my nick work in it
17:54
@labela--gotoa APL, 4 bytes: a:→a
ngn
ngn
@Adám ah, ok. last time I used it was on an 8-bit computer
@Adám I did not know APL had goto
@ngn Last time I did was on 16-bit, and it did have labels.
ngn
ngn
@Pavel "branch"
@Pavel In the old days, that was the only flow control. Today, you can also spell it :GoTo if that makes you happier.
17:56
@Adám "modern"
VB has labels, but not that syntax.
@HyperNeutrino Implemented. integer = 4, inp = Input@, Print[${inp}] now prints 4 when the input is "integer"
Ooh yay :D
And I only added 2 lines of code :D
That's an excellent idea: foo@ == foo() when whatever comes after @ isn't a value.
@Pavel Right. QBasic used LABEL:GOTO LABEL
17:58
@Pavel Thanks :)
Note that it only acts niladically for now. (You cannot do function@value yet) :(

« first day (2572 days earlier)      last day (2568 days later) »