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

5:00 PM
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
 
5:02 PM
@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.
 
5:03 PM
@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?
 
5:13 PM
@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)
 
5:14 PM
@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
 
5:15 PM
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
5:16 PM
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
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
 
5:18 PM
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
 
5:19 PM
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?
 
5:21 PM
@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}.
 
hm ok
 
@labela--gotoa appears to be on fire?
 
I can't connect to it .-.
 
5:22 PM
@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.
 
5:23 PM
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
 
5:24 PM
@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
 
hastebin.com/mibeyumuco.lisp is this a good idea
 
5:27 PM
@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
 
5:29 PM
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]?
 
5:30 PM
@DJMcMayhem
 
@HyperNeutrino x]a[y
 
@HyperNeutrino The latter.
 
@HyperNeutrino B
 
@flawr ...uh please...
 
5:31 PM
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?
 
5:33 PM
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?)
 
5:34 PM
@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
5:36 PM
rofl?
 
@Dennis o_O
Dang
 
"lol" rather than laugh, sounds like "lol? wtf?"
 
5:38 PM
lol
 
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
 
5:40 PM
@Mr.Xcoder s/your programming language/anything
 
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 /
 
5:41 PM
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>//
 
5:43 PM
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.
 
5:46 PM
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.
.-.
 
5:48 PM
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?
 
5:51 PM
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
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
 
5:54 PM
@labela--gotoa APL, 4 bytes: a:→a
 
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
@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.
 
5:56 PM
@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
 
5:58 PM
@Pavel Thanks :)
Note that it only acts niladically for now. (You cannot do function@value yet) :(
 

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