« first day (1939 days earlier)      last day (2903 days later) » 

1:00 PM
I should note that value classes really aren't pass by value, but rather copy on write
 
@cat doesn't work, fact is not defined.
 
but I think the two are equivalent, if you didn't know what was happening behind the scenes
 
@NathanMerrill Will you have modifiers/scala-style traits?
 
except for when the clone method gets called
unfamiliar with that
 
@NathanMerrill behind the scenes
@NathanMerrill It actually happens on every assignment
 
1:01 PM
no, the clone method is not behind the scenes
 
no, it's just the normal clone is the same as the behind-the-scenes clone
copy-on-write value types are lazily cloned on every assignment
 
@MartinBüttner After compression, it only costs 12 bytes
 
? you mean there's a default implementation of clone?
@MarsUltor right.
 
@KennyLau wooo, tied with Mathematica :P
 
@NathanMerrill Depends, usually there's an accepted implementation
 
1:03 PM
but when one of the clones get written to, I call the clone method
on the class
 
@MartinBüttner By the way, decompression
 
f=lambda a,b,k=1:b and(a and f(a-1,b,k*a)or f(k,b-1))or a this hurts so much
 
@MarsUltor can you explain what you meant by modifiers/scala-style traits?
 
Leaderboard (evaluated):
Jelly:       !¡
Actually:    `!`n
CJam:        q~{m!}*
Pyth:        Mem=.!GH
Mathematica: #!&~Nest~##&
UGL:         iilRc%l$d:_l*%:%rd:_o
Julia:       x->y->eval(parse("$x"*repeat("|>factorial",y)))
Python:      f=lambda a,b,k=1:b and(a and f(a-1,b,k*a)or f(k,b-1))or a

Leaderboard (without evaluation):
Julia:       x->y->"$x"*repeat("|>factorial",y)
Chat mini-challenge: given positive integers x and y, output the result of the application of factorial to x for y times
For example, 3,2 -> (3!)!
 
@NathanMerrill Basically classes, but they're not meant to be used, and add functionality to the class that extends them
e.g. DeepCopy<n> could provide clone(n) when inherited (if you aim to support it)
 
1:06 PM
but scala is statically typed
 
in scala it's inherited using the with keyword btw
 
how does DeepCopy know about the variables that inherit it?
or is that just magic
 
@NathanMerrill It doesn't
That's not actually in Scala
 
oh, are we talking like Java interfaces?
 
@NathanMerrill No
 
1:08 PM
if I implement DeepCopy, I'd have to implement the clone function?
 
@NathanMerrill More like DeepCopy provides clone (this is not actually in scala, but it would be nice in your language)
 
er, that wouldn't work, because it is statically typed
 
@NathanMerrill What language is it written in?
 
er, haven't decided, but that is irrelevant.
I mean, I could make it magic
but I like all magic to be reproducible (aka, a user could write a class that does the same thing)
 
So your language is strongly typed?
 
1:11 PM
yes
 
i.e. absolutely zero dynamic support?
 
its technically gradually typed
I'm on the fence with reflection
 
Maybe just make shallow clone a language feature/operator/whatever?
wait, that won't work
 
well, there technically is a default clone(n) method
but it just calls n.clone()
which has a default implementation
(which is magic)
but since that magic happens at compile time, that's fine
 
then make deepClone(n) use clone?
oh wait
 
1:14 PM
oh, clone will take a parameter
a default parameter depth
 
foo.clone(depth = 1)?
 
so, clone(a, depth=4) or what you just said
@MartinBüttner our conversation yesterday (the day before?) made me start playing Go again
 
oh nice :)
 
I'm getting better at seeing more than 1 move ahead
 
@aditsu might like to hear that since he's still playing more actively than I am :) ^
 
1:18 PM
huh? wha.. Go! \o/
 
cat
@EᴀsᴛᴇʀʟʏIʀᴋ fact = lambda n: 1 if n < 2 else n * fact ( n - 1 )
 
Obtained "access review queues"! :D
 
@Sp3000 How does that hurt?
 
@NathanMerrill wanna play?
 
sure, as long as you give me pointers
you'll likely stomp me
 
1:19 PM
@MarsUltor Everything else on the list has builtin factorial
 
@NathanMerrill char*p,*q;
 
lol
I don't play online, so I don't know what sites are good
 
I prefer gokgs.com (java client)
how strong are you?
 
terrible
 
@Sp3000 They're mostly golfing langs, Mathematica and Julia are math-focused, UGL has nothing other than basic arithmetic
 
1:21 PM
do you play 9*9? or bigger?
 
ok
 
So it's not that much of a surprise
 
Where can we see the game?
@quartata forgive me I added equality to UGL ;_;
 
everybody can use the client and enter as guest (just put in an unused username)
 
1:22 PM
@aditsu I don't have Java. :(
 
you can install it.. or just download the game record afterwards
 
@aditsu Okay, ping me when game finished.
 
@NathanMerrill let me know when you're in
 
do "Play on KGS"?
 
what do you mean?
 
1:25 PM
@zyabin101 are you sure?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Yes.
 
hm
i thought most things come with java now a days.
 
my username is thenameip
 
oh, you are playing go?
 
ok, I'm AutoAtari, I'll set up a game
 
1:27 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Yes. :3
 
go is fun
i suck at go
 
Who plays who?
 
user46049 plays alex
for the AVOCAD CHAMPIONSHIP
john cena announces/narrates
 
@NathanMerrill game is ready in the "open games" tab
 
@aditsu you black?
Just curious.
 
1:28 PM
what, my skin? :p
 
@aditsu No, your stones. :P
 
I'll play white
 
Okay.
 
I don't think it'll matter
 
@NathanMerrill Komi?
 
1:29 PM
wait, I get 4 to start?
 
I gave you some handicap to compensate
 
Because he assumes he will squash you in the round.
 
Komi (コミ) in the game of Go are points added to the score of the player with the white stones as compensation for playing second. Black's first move advantage is generally considered to equal somewhere between 5 and 7 points by the end of the game. Standard komi is 6.5 points under the Japanese and Korean rules; under Chinese, Ing and AGA rules standard komi is 7.5 points. Komi typically applies only to games where both players are evenly ranked. In the case of a one-rank difference, the stronger player will typically play with the white stones and players often agree on a simple 0.5 point komi...
 
no, because he said he's terrible
 
1:30 PM
@aditsu is there a way to spectate?
 
@Nathan what's the komi?
@EᴀsᴛᴇʀʟʏIʀᴋ Yup.
 
komi is a handicap of sorts
 
@EᴀsᴛᴇʀʟʏIʀᴋ sure, if you're connected with the client, you just need to find the game and you can watch
 
White generally gets 1/2 komi because he/she/it goes second.
 
you can search one of us by name
 
1:31 PM
@EᴀsᴛᴇʀʟʏIʀᴋ I forgot which gender is White. XP
Nvm, found it.
> At Sensei's Library we usually refer to White as "she" and to Black as "he" if the players are unknown.
@EᴀsᴛᴇʀʟʏIʀᴋ It's her.
 
So, I got a program for compressing Unipants' Golfing Language to bytecode.
 
@KennyLau can you please not update all of your answers at once?
you're flooding the front page
 
Oh, sorry
what could I do?
 
do 3 at a time, wait 12 hours
 
1:37 PM
oh okay
 
May I use them to add some form of bytecode to an answer?
@StackCodeGolf/mods
@MartinBüttner ^^
 
@zyabin101 if your interpreter can actually read a source file containing only the byte code.
 
@MartinBüttner Oh, okay.
 
@MartinBüttner Can the compiler be written after the challenge?
(not the language, just the compiler)
 
no
languages are defined by their implementations
(as far as PPCG is concerned)
 
1:48 PM
alright
 
@zyabin101 Oh, you're @schas002 on GitHub...
I did wonder...
 
@GeorgeGibson Yes, I am.
 
Does someone have the meta post about what to do when languages specs are updated and there are answers with this language in the old spec?
 
nothing. those answers simply use an old version of the language.
 
sure but
 
1:53 PM
37
A: Can I win with a version of a language that didn't exist when the challenge was posted?

Martin BüttnerI would apply the same rules as to a new language, because it opens the same loopholes as using a newer language: any language author could just patch in a handy built-in to solve the challenge. So yes, you can post it, but no your answer is not eligible for being accepted. Hence, answers using ...

 
Do I have to provide a way to check that answer?
 
@Fatalize You have to at least specify the version
 
not really, but I think in most cases the version from back then will still exist in some commit of your language's repo, I guess?
@MarsUltor not all languages have version numbers
 
Some background:
 
unless otherwise specified, I'd assume "latest version at the time the challenge was posted"
 
1:55 PM
I rewrote Brachylog's transpiler from Java to Prolog
but the grammar changed a bit for the better because of it
I want to get rid entirely of the Java code on the repo
but then old answers are not valid anymore in the new transpiler
 
@MartinBüttner Version as in version number/commit id
@Fatalize Entirely?
 
@MarsUltor entirely what? :p
 
@MartinBüttner Shouldn't compressions be specially treated?
 
@MarsUltor even so, there's technically no requirement for languages to be in versioned repos
 
@Fatalize As in delete?
 
1:56 PM
@KennyLau why?
 
@MarsUltor Yes, it will be obsolete
and the code is horrible anyway :p
 
@MartinBüttner Yeah, then they will need to provide an interpreter + proof
 
@MartinBüttner Because it doesn't add any new feature
 
@Fatalize But isn't it still in the git history?
 
@MarsUltor I guess it is
 
1:57 PM
@KennyLau "oh hey, I have come up with a new compression method... it's pretty horrible on average, but this one program I posted yesterday happens to be compressed to a single byte, isn't that sick?"
 
I guess I'll just indicate on answers that they are no longer valid, and worked on the old transpiler that you can find in Git's history
 
I see...
 
@NathanMerrill oh, you left?
 
@aditsu I'm done for now
 
I was going to review
 
1:58 PM
Leaderboard (evaluated):
Jelly:       !¡
Actually:    `!`n
CJam:        q~{m!}*
Pyth:        Mem=.!GH
Mathematica: #!&~Nest~##&
UGL:         iilRc%l$d:_l*%:%rd:_o
Julia:       x->y->eval(parse("$x"*repeat("|>factorial",y)))
Python:      f=lambda a,b,k=1:b and(a and f(a-1,b,k*a)or f(k,b-1))or a

Leaderboard (without evaluation):
Julia:       x->y->"$x"*repeat("|>factorial",y)
Chat mini-challenge: given positive integers x and y, output the result of the application of factorial to x for y times
For example, 3,2 -> (3!)!
 
ah ok
how do I rejoin
 
@Fatalize how many answers does that affect?
 
@MartinBüttner I'd say between 10 and 20
didn't count though
 
k, please update them in small batches if you do
 
no, I will flood the main page with "edited by Fatalize"
therefore my answers will get more visibility, thus more green points
 
2:00 PM
or red ones...
 
:(
 
@EᴀsᴛᴇʀʟʏIʀᴋ I read your first message as "okey" so I thought I accidentally typed something in here by accident. No biggy
 
okey
welcome to the biggest time waster this side of the tavern
@Fatalize lol
 
@aditsu wins by 85 and a half.
Replay, reset, revanche, revert, return, re...?
 
>_> this name
the most recent snippet
I did the N queens and slackbot, but "Captain Wifi Network" posted one also.
 
2:33 PM
83 messages moved to Trashcan
Four full pages of pure noise.
 
10/10 most constructive way to finish it
2
 
@NathanMerrill @aditsu how was the game?
 
@MartinBüttner @aditsu won by 85 and a half.
 
I'm still reviewing
 
ah okay, go on then :)
 
2:39 PM
I think I lost @NathanMerrill though
@zyabin101 so the game record is here
@MartinBüttner somewhat fun, I ended up killing everything (sorry Nathan)
 
@aditsu Ikr.
 
@NathanMerrill sorry to hear that. did you enjoy it though/learn something? :)
 
Welcome one and all to the stage of show "Exploring the Mac." Starting soon.
>_>
 
grabs his pickaxe let's explore! :)
 
@aditsu Sorry, no pickaxes here. This is a show.
Exploring the Macintosh Plus, and its System Software, and its other software. >_>
 
2:46 PM
@aditsu Will you please leave your pickaxe outside?
 
@zyabin101 I'd love to watch, but I just remembered I had a root canal appointment
 
@aditsu Root canal appointment?
 
like.. at the dentist
 
that sounds pretty horrible :/
 
(not as horrible as that show though)
 
2:48 PM
@aditsu Oooh, I had one visit at the dentist.
Were removing a double tooth.
 
A question regarding this challenge: http://codegolf.stackexchange.com/questions/80288/find-all-the-solutions-to-this-number-puzzle-in-the-shortest-time-possible

Does anoyne here understand whether we now have to print solutions for row/col sums of 29, or solutions for row/col sums all equal?
 
I breathed nitrous oxide.
It was as sweet as in a sweet world.
It was wonderful.
 
I'd like to try that sometime (N2O)
 
@EᴀsᴛᴇʀʟʏIʀᴋ well your about section asks me to do this.
 
:P
what brings you here?
 
2:53 PM
@EᴀsᴛᴇʀʟʏIʀᴋ ping
 
@EᴀsᴛᴇʀʟʏIʀᴋ the power of ಠ_ಠ ofc
 
you two have a reason to do that.
@ardaozkal :D
 
I hope Nathan's ok..
 
what happened?
 
3:00 PM
I was reviewing the game with him, and he just disappeared
 
To celebrate Puzzling's new icon that looks like Workplace's icon, they now also have question titles which look like Workplace titles :(
 
they should change the subdomain to workpuzzles or something
 
Hmmm...
 
@aditsu Sorry to hear that. Root canals suck.
 
3:05 PM
uh.. you guys really thought I was serious?
 
Uh, yes?
 
it was just a way of making an excuse while implying "I'd rather.."
I did have 2 root canals done last year though
 
@aditsu In here you need to end every sarcastic statement with (!) or :P and even then you will often be taken seriously. It's all part of the fun...
 
Back. Sorry, hosting lots of family today
@aditsu thanks for the explanation
 
oh ok, I was still in the middle of it, but we can leave it there I guess
 
3:09 PM
@MartinBüttner I didn't expect to win, but I did learn a lot
 
great :)
 
I know, but it's crazy here
 
is advert for other coding websites allowed xd
 
Is any language allowed on PCG?
esp. Indev ones?
 
@ardaozkal There is a definition on what is a programming language.
 
3:11 PM
@trichoplax actually looks more like academia to me.
 
@ardaozkal as long as it satisfies meta.codegolf.stackexchange.com/a/2073/8478 and existed before the challenge was posted.
 
@ardaozkal mostly yeah, but it has to be a real programming language and older than the challenge.
 
(you can still post an answer if the language/version is newer than the challenge but then you should mark the answer as non-competitive)
 
Only has to be older to be competetive though, you can answer in a newer langauge but not win.
dangit @MartinBüttner
stop ninja'ing
 
I would expect it to have a compiler/interpreter publicly available
 
3:12 PM
@EᴀsᴛᴇʀʟʏIʀᴋ it's what I do
 
Yes, public.
 
@EᴀsᴛᴇʀʟʏIʀᴋ "real" = fits that meta?
 
Paid languages are sometimes okay.
@ardaozkal yeah
 
I think that my language which started off as a gag fits.
 
@MartinBüttner I thought that was "be really good at weird geometric languages and regex"?
@ardaozkal cool
github or the sorts?
 
3:13 PM
any kind of output allowed? (the language is primarily graphics, but can output logs, is that allowed?)
@EᴀsᴛᴇʀʟʏIʀᴋ on github but private rn.
too many stuff to add.
 
okay
Oh, and welcome to the cult club that is PPCG!
11
hope you like it here
 
soo gimme a sec while I switch over to my phone
 
@ardaozkal the full list of allowable I/O methods is meta.codegolf.stackexchange.com/questions/2447/… but most people allow "STDOUT or the language's closest alternative", so you should be fine
 
some challenges have graphical output
 
Yeah, I don't think that I can participate in them without developing good math functions first (add, divide, multiply are the only ones I've added in by now)
So story time as I walk. The language had no sorts of thinking process before it. The interpreter came before I gave it a name, lol
 
3:23 PM
the review of our Go game is here for whoever wants to see
 
Its main purpose is allowing a small cross platform game framework
 
@ardaozkal that's not really a bad thing... I recently started on a language from a name and really had trouble pulling things together while sticking to the theme ;)
 
Which it is good at. Small games can run on native Windows, webgl, Android, ios, Linux and macos. (aka I coded its interpreter on wpf and unity, lol)
 
sounds pretty cool
 
I'm planning to develop it with pebble.js
I'm also planning to make a compiler for it (that'll convert the code from AGE to C# and compile)
Tbh I just like working on different stuff and this is a good example of it
 
3:34 PM
@ardaozkal What language is it?
 
3:48 PM
@KennyLau I'm pretty busy this weekend, feel free to post a solution yourself
 
@FryAmTheEggman Alright.
 
ohai @ArtOfCode
 
@Downgoat @EᴀsᴛᴇʀʟʏIʀᴋ Trashcan is private for a reason, I'm afraid :P
 
@ArtOfCode but how do I know what was deleted now ;_;
 
3:50 PM
Show starts now.
Welcome one and all to show "Exploring the Mac".
>_>
drags file into window
This is the System Startup disk of System Six dot Zero Eight.
>_>
 
@Downgoat 83 messages were
 
@ArtOfCode Four pages of pure noise.
 
@ArtOfCode what what was the content of the messages
 
@DrGreenEggsandHamDJ decided to public it rn: github.com/ardaozkal/age
 
@Downgoat nothing worth preserving
 
3:52 PM
@zyabin101 yeah, would agree with that
 
Doorknob removed it from the face of Earth into the Trashcan of PPCG.
 
in Trashcan, 2 hours ago, by Eᴀsᴛᴇʀʟʏ Iʀᴋ
everyone knows you get juic from mod if you trhow avocad
and other such nonsense
 
Compare the menu of System 6.0.8 and System 7.0 >_>
 
@ArtOfCode haha, ok, though that sounds like usual discussion here :P
 
yeah, just about
 
3:54 PM
System 6.0.8 was not as advanced as System 7.0. But not the menu divides the systems.
The disk defines the division.
>_>
 
Welcome to the System Startup folder, located on the first partition of the drive of the emulated computer that accepts floppies. Blah bwah boo. >_>
This is the Read Me file, that everyone has to read. It contains important info that isn't seen in the User Guide to Macintosh Plus.
>_>
This is TeachText, the local text editor! ^_^
<_<
v_v
 
@zyabin101 still better than atom :P
 
>_> It can read and write plain text files, and view a special kind of files called Read Me files. Like the one we saw in the bottom right corner hiding as a newsletter with first line "EXTRA!". >_>
@Downgoat Nope, even worse :P
 

« first day (1939 days earlier)      last day (2903 days later) »