« first day (2333 days earlier)      last day (2512 days later) » 

10:00 PM
@ASCII-only merge what?
 
huh. I like Ruby's better but this is definitely an improvement over Python's icky syntax.
 
class Goat(number: shoeSize) {
    binary op +(a, b) { return a.shoeSize - b.shoeSize }
    binary op -(a, b) { return a.shoeSize + b.shoeSize }
}
 
@Downgoat command chain fix and tokenizer location update
@Downgoat :O :O :O how chedr add custom operator
 
372
Q: Build a digital clock in Conway's Game of Life

Joe Z.Since my Tetris question seems to evade being answered even to this day, I thought I'd create a slightly easier challenge, one that doesn't need any user input. Your task is to build a Game of Life simulation representing a digital clock, which satisfies the following properties: The clock d...

 
Isn't that just overloading?
 
10:05 PM
@NewlyFeaturedQuestions >_> this is going to be +2100 soon
 
@ZacharyT Dyalog APL comes with tools to facilitate making programming languages.
 
@ZacharyT haha do you really think cheddar has a builtin foo operator
@Adám So does Haskell
I think most beginners use Haskell
Or Perl
 
Are you talking about the very close relation of operators to functions?
 
@ZacharyT Wait what
 
tought it was the tetris one
 
10:07 PM
"tools to facilitate making programming languages"
 
@TuxCopter me too haha
@ZacharyT Probably not? In APL operators are like the opposite to functions
It's just that most things that are normally operators are actually functions in APL IIRC?
 
That's what I meant to say, I just couldn't think of a way to phrase it,.
 
@ZacharyT I don't see how that makes languages easier to parse though
 
Sorry, I just can't seem to phrase things correctly today.
 
@ASCII-only It's just a matter of nomenclature. APL function = C operator, APL operator = high-order function.
 
10:13 PM
@Adám :| ok
 
@ZacharyT No, I'm talking about libraries to create interpreters for languages that have nothing in common with APL.
 
what was Iverson thinking
2
 
My thoughts when realizing 5-1-2 is 6
 
@ZacharyT wut
 
@ASCII-only 5-1-2 is 5-(1-2) in APL
 
10:17 PM
@ASCII-only These are correct terms in mathematical language. APL was originally (then known as Iverson Notation) a refinement of maths, not a programming language.
@ZacharyT If it wasn't for the rules they taught you in school, why does 5-1-2 ≡ (5-1)-2 make any more sense than 5-1-2 ≡ 5-(1-2) ?
 
Because we write LTR?
 
@betseg Oh yeah? What is 2^2^3 ?
 
2^8
 
10:20 PM
@ZacharyT Looks RTL to me.
 
2^2^3, (2^2)^3 and 2^(2^3) are all the same
@Adám 4^3
 
4^3 => 2^6
6 != 8
 
Wat
 
@ASCII-only :O :DDDDDDDD r u PR?
 
Well, and there you have it. The order of evaluation of traditional mathematics is so confusing that even clever PPCG users can't agree on simple expressions!
 
10:22 PM
@ZacharyT wait, r u srs?
 
Yep.
You could've just plugged them in and tested yourself.
 
Oh wait I got brainfarted
 
@Downgoat no too scared to bork everything
 
you are own your own branch right?
so you can PR and we can resolve merge conflicts and the test will run and all to prevent major bork
 
You should've said something like: I got BRAINF*CKED.
 
10:24 PM
What goes first? Multiplication or application of trigonometric functions?
 
@ZacharyT Why
 
pun.
 
Because it's an esolang
 
(I won't go any further)
(no pun intended)
 
@Adám actually, to be fair, it doesn't go RTL, it goes top-to-bottom
İt's just we write it RTL when we can't put it vertically
 
10:26 PM
Is sin ⍺π equal to (sin ⍺)π or to sin(⍺π) ?
 
@betseg Seems like a bad choice.
 
The latter.
 
@betseg a/b/c is also really vertical, but somehow it is (a/b)/c
 
@Adám the latter i believe
 
10:28 PM
@ZacharyT So what is sin ⍺ cos ⍺ ? is it (sin ⍺)(cos ⍺) or sin(⍺ cos ⍺) ?
@Downgoat ^
 
Former.
 
@ASCII-only I noticed charcoal isn't in our relationship graph, what would you say inspired charcoal?
 
@Adám former
 
@ZacharyT Ouch. Formalize that, please.
@Downgoat ^
 
@Adám because we write topright-to-bottomleft the powers. Yeah powers don't make sense.
 
10:29 PM
@Phoenix Nothing :P
 
Huh
 
@betseg APL was made to replace maths with something that does make sense.
 
Well really the syntax is kinda C-derived though
With overloading so maybe C++
 
Didn't you embed part of the wolfram language?
 
Yet, it DOESN'T make sense at times.
 
10:29 PM
@Phoenix Yeah, so I guess that counts as well
 
@ZacharyT What, APL doesn't? When?
 
That wouldn't make sense to be the only arrow in tho
 
@Adám but you've been using APL since you were 5. I haven't been used to it, so it feels weird.
 
@betseg Understandable. No excuse though. Notice how fast you went from "wat" to "feels".
 
0 divided by 0. 0 to the power of 0. And having to use flatten EVERY SINGLE LINE DUE TO NESTED VECTORS.
 
10:31 PM
@Adám Function -> id "(" expression ")" | id (item | unaryExpression | binaryExpression)
 
@Adám it feels wat, I was expressing my feelings
 
APL is weird.
 
@Phoenix different ≠ weird
 
That is true
 
10:32 PM
APL is amazing, especially at problem solving for maths.
 
Doesn't make APL not weird though.
 
Our current mathematical notation is a work of several millennia. Therefore, that notation > Iverson's
 
(Except floor and ceiling, I hate that stupid greatest-integer nonsense)
 
@ZacharyT 1=0÷0 was probably a mistake. In J it doesn't give 1, and Dyalog added an option alter the behaviour. 0 power 0 looks ok to me - can you find a problem with that? No you don't, that's just being silly.
@betseg Iverson didn't start over, he stood on the shoulders of those millennia.
 
@betseg Just because it's been here for longer doesn't mean it's better
 
10:35 PM
@ZacharyT What?
 
@betseg Just because C is ancient doesn't mean VSL can't ever be faster than it, just because Go is ancient doesn't mean AlphaGo can't revolutionize it
 
@Phoenix That's just because they taught you traditional math in school.
 
@ASCII-only ik, jk
@ASCII-only ik, jk
 
I see the reasoning behind both of them. Anything divided by itself is 0.
 
@betseg :O :O :O dupe message someone pls trash hammer
 
10:36 PM
But anything divided by 0 is undefined.
 
@ZacharyT Not really, there's a reason why 0**0 is 0
 
Because its 0**x
 
@Downgoat That is weird.
 
@ZacharyT mathematica says x/0 == ComplexInfinity
 
@Adám or just make implicit multiplication with function have reaalllly low precedence
 
10:38 PM
It's also x**0, which is why I'm always confused about 0/0 and 0**0 in programming.
 
@Downgoat that won't work for sin ⍺x
 
@Adám ∀x∈ℝ-{0}, x⁰=1 and ∀x∈ℝ-{0}, 0ˣ=0. What is 0⁰?
 
It's the set {0,1}. LOL
 
@ZacharyT (x-1)^2/(x - 3) for x = 4 is not undefined last time I check
or well I guess it is, but not really
halp math is weird
@betseg counterexample ^
 
Btw, if I want APL to error on any division by zero, I just use .
 
10:43 PM
@Adám look at my last message. Is that being silly?
 
@betseg No, the being silly part was meant at And having to use flatten EVERY SINGLE LINE DUE TO NESTED VECTORS.
 
ah k
 
@betseg Sorry, badly worded on my part. "No you don't" = "No you don't have to flatten, etc."
 
When did I say that was undefined?
 
@ZacharyT However, I do agree that IBM made the wrong choice when they had to chose between the two ISO APL standards for reduction: insertion and rank-reduction. They chose the latter, while IPSA chose the former, and we've had to write ,/ since.
 
10:49 PM
I just never understood having, say, what you think is a reasonable implementation of a centroid function return [[0,1]] for input [[0,1]], but [[0,1],[0,1]] produces [0,1]
 
Having an order-of-evaluation becomes untenable as you add more and more functions/operators. Eventually you have to choose LTR or RTL. Iverson chose RTL so that the very common prefix- could stay on the left, but moving the post-fix !, rather than moving - to match !.
 
Yeah cough perl cough
 
Also, RTL lends itself better to English reading order: -3÷2*!x (the negation of three divided by two to the power of the factorial of x) rather than x!*2÷3- (x-factorial, powering two, dividing three, negated).
 
Help I was stupid and I made a directory and then git cloned something into that directory and now I have a directory inside a directory help
 
And, RTL lends itself better towards Hebrew (and Arabic, etc.)
 
10:58 PM
RTL also naturally lends itself to having "default left argument", (0)-x(1)÷x(e)*x etc.
 
You're confusing your notations, my friend.
 
@ZacharyT No it doesn't. The rightmost words will tend to speak about what's on their left, i.e. LTR.
 
@Cyoce as in, you have something like foo/foo/<stuff>/ when you wanted just foo/stuff/ ?
 
@ToxicFrog yes help
 
(because you didn't realize git clone would create the directory for you)
Yeah that's an easy fix
 
11:00 PM
@ZacharyT You mean ^ instead of *?
 
Yeah. Or ÷instead of /
 
Assuming the directory is named foo, and you're in the place you ran git clone @in cd ..; mv foo foo.old; mv foo.old/foo foo; rm -ri foo.old
Git doesn't care where the directory is or what it's called, so you can move it around however you like after cloning.
 
@ZacharyT I intended to make it easier to understand for those that do not know APL, but are used to power being ^ (which it is in J, btw.)
 
You can also just blow away the whole thing and re-clone from the right place, if you haven't done anything in it yet that you want to preserve.
 
11:02 PM
\
]?]'[;.l,]
 
Yeah. It just looked as if you were going for the ASCII only notation. / and ^
 
> the @ASCII-only notation
 
o_o
 
@Cyoce that help?
 
@Cyoce mv dir/* .
 
11:04 PM
hello
 
@ZacharyT O.o
@DestructibleLemon Hi
 
Let's not GO down this road, okay?
 
@Mendeleev ∘.○
 
@Downgoat won't work with dotfiles (like .git)
 
I golf my faces: ⍨
 
11:05 PM
@Adám o_O
 
@ZacharyT ⍥
 
@ZacharyT That's perfect
 
I've just stopped messing with mv since I accidentally moved my / to a subdirectory.
 
@Adám That just looks vaguely lewd. I prefer ö
 
11:05 PM
Adam used it as a face before me.
 
Ninja'd
@ATaco You would enjoy btrfs
 
^^ you almost ninja'd me saying ninja'd
 
That would be the rare double ninja'd
 
@ATaco everything in /, or / itself? And if the latter, what filesystem is that, so I can try it in a VM? That sounds amazing.
 
Got it. Thanks guys
 
11:06 PM
There's also triple ninja'd when two people point out this fact
And there's quadruple ninja'd when two people say "triple ninja'd"
 
(Everything in /)
 
@ToxicFrog You can do the second one with btrfs.
 
And on and on and on...
 
(Kinda)
 
My filesystem went from /bin /usr /root /etc... to /www/bin /www/usr and so on...
 
11:07 PM
y
 
@ZacharyT I can't take the honour. It is commonly called "frown" in APL circles.
 
There's APL circles?
 
They were larger a long time ago (AKA, long before I was born)
 
Well, I mean there's ○ but that's not what I mean
 
Ninja'd
 
11:09 PM
@ZacharyT ono what did i do
 
@Mendeleev Surely. E.g. there's a pub meeting this Friday in downtown London.
 
What.
 
@Mendeleev That's an APL pie.
 
oh yeah was cleaning my keyboard sorry
 
@Adám Isn't it how you access trigonometric functions?
 
11:10 PM
And pi
 
@Mendeleev Yes, but the monadic form is pi ×
 
Right
 
oO0∘⍤○⍥ too many.
 
O_o
There's also ( )
 
We need to not GOTO there.
 
11:12 PM
@ZacharyT Yeah, I label this conversation as bad
 
@ZacharyT ⌽⍉⊖⍟
 
@Mendeleev Was that a pun?
 
@Mendeleev I had some issues with brtfs but thankfully I never encountered that one.
 
@ZacharyT yes
@ToxicFrog I'm saying that it's possible, not common.
 
(what happens if you move a directory to a subdirectory of itself? How do you find it afterwards?)
 
11:12 PM
I mean mostly if your root is a subvolume
 
also that splix.io koth has one non-challenge-poster answer
 
Worst io game: spinz.io O_o
seriously look at it
 
is it a shitty version of splix.io
 
no
 
btw did you know there is a company that makes money by making shitty clones of ".io" games
 
11:14 PM
just look
you'll see
 
is this a troll like a rickroll?
 
Would you just STOP the faces. Please. Or this conversation will GOTO trash
Nice rhyme
 
(You are contractually obliged to tell the truth)
 
@DestructibleLemon it has nothing special about it wtf ಠ_ಠ
 
Brace fಠr mಠre faces.
 
11:15 PM
ok I opened it then closed it immediately
@ZacharyT just stop
 
ಠ_ಠ
 
the battery of my laptop discharged by 50% instantly again, do anyone have an idea what can cause that?
 
No, I'm assuming it's a linux?
 
anyway so you guys what say you won't do my koth because you use java, go do the splix.io koth
 
@ZacharyT yes
 
11:17 PM
@TuxCopter the energy anti-powerup
2
 
Might be a problem with the way it senses battery percentages.
GTG. dಠnಠt spam faces.
 
there was one io game that was actually fun. i don't remember the name. i'll try to explain it if someone knows: it's a grid, you try to claim land, you die if other people eat you while you're trying to claim.
 
splix.io
 
it gets to around 68% and then it jumps to 8%
 
@DestructibleLemon ya that's it
 
11:18 PM
I mentioned this a little bit earlier :P
 
oh
im blind
 
but seriously the reason I don't do java koths:
import org.eclipse.collections.api.map.MutableMap;
import org.eclipse.collections.api.set.MutableSet;
import org.eclipse.collections.impl.factory.Lists;
import org.eclipse.collections.impl.factory.Maps;
import org.eclipse.collections.impl.factory.Sets;

import com.jatkin.splixkoth.ppcg.game.Direction;
import com.jatkin.splixkoth.ppcg.game.SplixPlayer;
import com.jatkin.splixkoth.ppcg.game.readonly.HiddenPlayer;
import com.jatkin.splixkoth.ppcg.game.readonly.ReadOnlyBoard;
import com.jatkin.splixkoth.ppcg.game.readonly.ReadOnlyGame;
plus more boiler plate
 
lets plat splix teams? :P
 
hmmmm
maybe
forreal though that boilerplate is incredible
meanwhile, in my python koth:
from base import BasePlayer
@betseg splix.io/#team-bdU2K
 
o shit you distracted me
i was 14th
 
11:22 PM
aaahahahah
we ready to start
 
i think so
 
@DestructibleLemon No
@betseg splix.io
 
wtf was that
 
too late
@DestructibleLemon dunno
teams is hard
who is aaaa
 
teams is laggy as heck
 
11:25 PM
keeps crashing into me
 
goddamnit
 
can you sto pbumping into me please
 
are you aaaaaaaaaaa
 
Hey, @TuxCopter, which distro are you running?
 
11:37 PM
Here's a meta question that's definitely shown the evolution of PPCG.
31
A: What programming language should we consider for the code-golf solution ?

marcogI think that as long as a compiler was released before the question was asked, it is a valid language. This removes stupid answers such as "I created language X with this command Y that solves this in one character".

 
The days before we got good golfing languages!
 
If I showed up with RProgN2 then I'd look like I was cheating.
 
@ATaco Why is it off-topic?
 
I have no idea.
 
What should the inclusive range operator be for Cy? .. doesn't work and -> is taken.
 
11:41 PM
What is Cy?
 
A stack-based non-golfing language I made a while ago that I'm considering redesigning in a way that actually makes sense.
 
I'm assuming ... is taken/doesn't work?
 
@Cyoce how about the old lightning arrow
 
WTF is that?
 
I mean electric arrow
 
11:44 PM
Is it ascii only?
DON'T MAKE THAT PUN
 
you just did
 
(I meant don't ping him, I suck @ phrasing things today)
 
@HyperNeutrino the README question has 130 votes O_o
 
@ZacharyT Yes.
 
Well, sorry, no lightning arrow then. Would ... be possible, or is it used for exclusive range or something?
 
11:56 PM
@ZacharyT @ASCII-only too late
 
I think you're the one that's too late.
 
CSEducators are having a party.
Anyone want to come congratulate them on their public beta?
 
Nah, my experience with CSE educators has scarred me for life
:p
 

« first day (2333 days earlier)      last day (2512 days later) »