« first day (1979 days earlier)      last day (2854 days later) » 

6:00 AM
@LeakyNun That's an elegant definition!
 
Hey isn't there a golfing language where the empty program is Hello, World?
 
@quintopia Stuck
 
Isn't that stuck?
 
thx
 
Dammit, ninja
 
6:01 AM
@quintopia Meta-GolfScript
 
Hey @Dennis Do you know which revision of V is on TIO? I'm trying to fix a bug that is in the newer version that doesn't appear to be on TIO.
 
@DrGreenEggsandIronMan is this the infinite loop bug? :3
@DrGreenEggsandIronMan y u haet ninjas ;_;
 
No, it's the bug that prevents me from out-golfing Conor.
Priorities here!
 
@Katenkyo NO
 
@quintopia Stuck
oh ninja'd bug time
 
6:05 AM
@Downgoat lol
Who is Shantanu Jain?
 
@Downgoat is that like a bug that's also a ninja?
 
@Maltysen B movie idea...
 
@quintopia Where?
@Maltysen ninja bug time ( ͡° ͜ʖ ͡°)
oooooooooooooohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh. I forgot to build my code before testing it >_>
 
35 :p
 
@Downgoat here, i would guess, though i saw the name here: quora.com/…
 
6:13 AM
> PHP has about the shortest you could hope for (13 bytes, the same as HTML):
someone doesn't know about compression
@quintopia Hello, World! question is quite popular I wouldn't be surprised if someone outside of PPCG references it
 
Hey, they mentioned us!
 
@Downgoat But would you be surprised if someone outside of PPCG happened to know that Stuck had a zero-byte hello world? that's hard to find info.
 
last time I checked no one mentioned CR 😏. proof PPCG > CR
@quintopia Stuck answer is #1 voted on the Hello World! question
 
Hey, them's fightin' words
 
If he was from PPCG he'd know that PHP is byfar not the shortest Hello, World! you could hope for
 
6:16 AM
@Downgoat ah. didn't think to look there :P. still it's someone who has clearly been here before...
 
cheddar> 1()
Runtime Error: Number is not a function
cheddar> var a = 3
cheddar> a()
Runtime Error: a is not a function
more errors! :D :D :D \o/ \o/ \o/ \o/
 
@Downgoat which widely used language does better?
 
@Downgoat why does the error reporting thing know that 3 is a?
 
@quintopia He never said "popular language"
 
you don't have static typing
 
6:17 AM
@Maltysen var a = 3?
 
@Downgoat it literally says "Amongst widely used languages, PHP has about the shortest you could hope for"
 
@Downgoat You are writing/going to write a compiler for Cheddar right?
 
@Downgoat yes but what is keeping track of that?
cause right now it seems like you're doing variables weird
 
@thepiercingarrow I've already written most of an interpreter. You can download it from cheddar.vihan.org/#download
@quintopia oh, didn't see the first part
 
@Downgoat How about a compiler?
 
6:19 AM
@Maltysen I'm confused, what are you saying? What does or does not the error reporting know?
@thepiercingarrow I don't see the need for a compiler. but JIT compilation is still compilation
>_> i don't know my JITs and AOTs
 
@Downgoat i'm just saying that what if a had been assigned to a function
 
@Downgoat But you'll never be able to compile Cheddar into an executable machine code?
 
@Maltysen then it would execute a
 
@Downgoat here bad example
 
Q: git reset --hard HEAD updates all tracked files and leaves the rest fine, right?
 
6:21 AM
@Downgoat what about (1+2)()
 
@thepiercingarrow well it is being converted to machine code to be executed at all but optimizations happen at runtime, and considering its JIT nature probably not. I might write a C++ version of cheddar
@DrGreenEggsandIronMan NO
 
@Downgoat i just checked, and it doesn't give that nice error
 
It resets all file's contents to the last commit
 
Yes, but only the tracked ones.
Untracked ones are fine.
 
@Downgoat I mean like AOT
 
6:22 AM
@Maltysen online interpreter is not latest. I'm running these changes locally
 
@Downgoat well, what does (1+2)() give?
 
@thepiercingarrow Cheddar is not AOT and probably will never be
AOT is basically compiler + one command
 
@Downgoat PLEASE
 
@thepiercingarrow why AOT over compiler?
 
@Downgoat isn't AOT the same as compiler?
 
6:24 AM
@Downgoat i dont get it
what does that mean?
 
@Maltysen it means everything is borked and cheese would explode
 
@Downgoat also, online 3() does give a error message
 
^^ see that
 
(1+2)() does not
 
@Maltysen but it throws the THATS NOT A FUNCTION YOU IDIOT error, right?
 
6:26 AM
yeah
but (1+2)() error itself
 
 1 | (1+2)()
   |      ^
syntax error
 
Cheddar is confusing
 
ok fine, say that the parser was fixed, and that could be a runtime error
what would it give then?
 
@Maltysen then it would give the error
 
@Downgoat If I pull request your website to remove jquery would you merge?
 
6:27 AM
but what error?
 
@thepiercingarrow YES DEFINETLY
 
@Downgoat Or do you have to speak with your partner?
 
@Maltysen The ___ is not a function
 
@Downgoat would it be 3 is not a function or (1+2) is not a function
 
Cool thanks
 
6:28 AM
@thepiercingarrow partner? I have no partner ;_;
 
@Downgoat Oops lol nvm thanks
 
@Maltysen It would be Number is not a function as it get's the Name property from the evaluation stack head
 
@Downgoat oh I see
 
I could just as well make it 3 is not a function. But essentially each class has their casting properties and I'd need to call the cast to string, which you do not want to do in an error, unless you wanna have an error throwing the error
 
no, that makes sense
:30719843 (I was agreeing with you)
only question is when you go to do eval a(), why is a not evaled, before getting called?
why is a involved in the error
variables should eval to 3 and then have the calling attempted to be applied to them
same way that (1+2) does
 
6:33 AM
take for example: "a".b.c() that is tokenized to: "a", b, c, () in that case c does not resolve to a function until it's been looked up into a scope. The name is passed to a after the evaluation stack begins. The name to error is passed to the scope manager, which returns the result. If the result is not found, I'll still need to throw an error which is why the name is a
and also showing the variable name is easier for debugging
Hello @Optimizer
 
@DrGreenEggsandIronMan The lastest changes are from June 8. The commit is 691453ffef15180ff076deff4255d61cd87eda65
 
@Downgoat but "a".b.c should be completely evaled into a value before () happens
 
@Dennis Thanks!
 
@Maltysen if the variable were to return nil (e.g. if it was declared var myvar;). And I were to run myvar(). You'd get Runtime Error: nil is not a function which is just about the least helpful error message I could do. if you were to get myvar is not a function that at least gives you some info on what's going on
 
oh, you're doing this on purpose
i didn't get that part
 
6:37 AM
although I'm planning to pass token data (index, matched terminals, etc.) as a special property so soon it won't matter
 
you're purposely tracking the variable name throughout the call stack
 
it's just whether or not I should
yeah
 
that's fine then, I was just a little confused cuz i thought you were doing something weird with variables.
i personally, still think that not using the variable name is better, but, either way is fine and its up to you
 
its not that bad if you don't do things like returning nil instead of raising outOfBoundsExceptions cough js cough
@Downgoat var myvar; doesn't work
judging by the error message, i think you haven't included it in your grammer
 
6:40 AM
isn't array index out of bounds like most dreaded error in java
 
@Downgoat Vihan.org is your personal site?
 
@thepiercingarrow yeah
 
@Downgoat its better than returning undefined
 
@Maltysen ok good point
 
you get things like `x[123].blah
undefined has no property blah
 
6:41 AM
@Maltysen no not yet
 
@Downgoat but js only does it because arrays are implemented as objects with numeric keys, so it kinda makes sense
 
I wouldn't be able to get a name though since x will be managing the lookup
Rhino had a bug where if you made an array big enough you could do ar.Infinity and it would work due to JS's number -> string casting
 
haha
 
@Downgoat What are skel.min.js, util.js, and main.js? Which one should I work on?
 
@thepiercingarrow no idea
I just found the JS online
I just made the design/theme, I got the responsive framework from somewhere else
 
6:44 AM
@Downgoat Ah okay
@Downgoat Did you write any of the js files, or just the other ones?
 
@thepiercingarrow i didn't write any JS on the website
 
@Downgoat Awesome thanks
 
>_>
 
Shoot these frameworks are way to bloated to fix
I'm guessing one of your frameworks depend on jquery?
 
¯\_(ツ)_/¯
no idea
idk how the stuff even works, i just themed it
 
6:48 AM
Lol
How did you do it?
I wanna do the same thing
for my website
 
@thepiercingarrow html5up.net
 
@Katenkyo thanks
 
i gtg bai
 
Awesome!!
@Downgoat Bye!
 
7:26 AM
1
Q: codegolf: color conversions

Titusinput 3 bytes (red, green and blue values of a color), calculate the nearest cmyk values, and output them. make a function with parameters and return value or a program that operates on stdin/stdout use the color profile of your choice, but provide a reference input and output may be either sep...

 
7:49 AM
Hello
 
hiya
 
8:04 AM
I love when someone comes in and say "Hey, remember when I talked about the meeting you had to setup for next week? I kinda fucked up, so you have to be ready for 11 o'clock. Thanks bud'!" -_-
 
hi @Vi.
 
3
Q: Starbucks to English

luser droogIn the classic days of Starbucks before these newfangled sticker-printers and wireless drivethrough headset palmtop scanner dealies, in the heady days of 2000-ish, Starbucks' had a concise system for describing beverages with a strict syntax and accompanying encoded form. Vertically on the cup t...

 
Vi.
@Maltysen, I'm here just to check if there are any [additional] replies to my yestersay's messages.
 
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ ಠ_ಠ ಠ_ಠ ಠ_ಠ
 
@aditsu u no i hate phantom replies
 
8:17 AM
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ ಠ_ಠ
 
@aditsu Also, FUZxxl hates chat, so what should I do? Chat in the comments? Come on, fuzzy!
 
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ you can chat in here, just don't do stupid stuff
 
@aditsu I mean, I can't chat in the comments with FUZxxl just because (s)he hates chat, come on!
 
also, I don't know what FUZxxl has to do with it
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ I really don't know what you're talking about
 
8:22 AM
and what does that have to do with me?
 
@aditsu Someone tried to quine with cat. (S)he cheated. I downvoted. I started discussion in comments, until the opportunity to go to chat came on. I went to chat. (S)he complained because I didn't clutter the comments. (S)he said (s)he didn't cheat multiple times. (S)he said "the source code is read by the interpreter, so no, it's not a cheat." I said "think of every character as a call to a function that prints its argument. The character is the argument. The function, eventually, gets
called for every byte of the program. Thus, the program reads its own source code."
 
still don't see how it's related to me
 
1
Q: Calculate the sum of ILD

Kevin CruijssenInput: An integer (or a string representing an integer). Output: Sum of the input itself + the length of the input + each individual digit of the item. nr + nr-length + {sum of individual digits} = output For example: Input: 99 Output: 99 (nr) + 2 (nr-length) + (9 + 9) (digits) -> 119 Inp...

 
8:55 AM
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ You could have just flagged it as invalid. Then high-rep users and mods could handle it.
 
9:27 AM
@zʏᴀʙiɴ101 hey, that's cool. That might be enough to get me to finally get around to writing V docs.
 
10:02 AM
Going to the beach now :D
See you around.
 
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ You can golf (s)he down to they to save 1 byte - if anyone complains just tell them it has hundreds of years of precedence in English usage...
 
they for singular sounds so wrong though
even though it's correct
 
@Fatalize that's an interesting phenomenon
the voiced "th" just elided with the previous "n" in your mind?
@trichoplax Or, as I always say, s/he.
 
@LeakyNun the problem with (s)he, s:he and the like, is that I will always read them as she and will, in my head, point to a gender (f in this case) instead of leaving it as a blank case
 
Safest to golf it right down to it and offend everyone equally. A true compromise
 
10:11 AM
@trichoplax Except people who thinks they are objects
 
Maybe such honest recognition of reality deserves priority...
We like they because it doesn't assume the person in question is singular
 
@trichoplax We're glad to read that
 
THIS JOKE WAS MADE POSSIBLE BY THE TEAM AT USE THE SANDBOX PTY LTD
6
 
that's fast
 
10:28 AM
@trichoplax I really don't care about golfing messages. No, I like it as (s)he or (S)he sometimes, and sometimes as They or they. You can't golf such a thing. I maintain appearance on my posts/comments/messages when "golfing" them.
 
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ It was intended to be light hearted - I'm not seriously suggesting you golf anything but code :)
 
@trichoplax Yeah, did you know that my reply was light-hearted though? Some things can't be golfed, i.e. the space here: @trichoplax Yeah, or this: @trichoplax -> @tri.
 
In fact I'm much more likely to upvote golfed code if the explanation is clear and well presented
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ No I completely missed that it was light-hearted... Oops!
 
@trichoplax You are not a probability density function.
 
@Eʀɪ I think the first three letters works (anything less doesn't), although my misjudgement of your previous comments makes me suspect you already know this...
@LeakyNun I suspect that I am :)
 
10:45 AM
@trichoplax Hmmm....
@tr Did this work for you?
 
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ No I'm pretty sure three is the minimum
 
@trichoplax Were you notified at all with the two?
I know the "three"
 
The 3 should be mininum.
 
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ No there was no sound, no pink highlighting of "@tr" and no grey highlighting of my previous message. Chat just seems to ignore it.
 
@tri OK.
But what if someone is called "trinity", and you are also in ("trichoplax")?
 
10:52 AM
I think everyone who matches gets a ping. Which is why I'm glad to have a fairly uncommon initial three letters...
 
@bal I still don't know who is pinged by this
 
(You two should be fine with your small caps too)
 
Weird, only me, @tri and @Eᴀs are here. (And @Lea)
 
that doesn't matter
 
Quill is here too, just greyed out from not actively posting
 
10:54 AM
it still needs 3 at min
And zyabin is always here.
 
@trichoplax ;-)
 
@trichoplax I think mine is more uncommon... :P
 
@Quill :P
I saw what you did :)
 
@Eᴀs Smallcaps tend to be more uncommon, because not many people join the ranks.
 
10:56 AM
Hey, @Tùx is here!
Well, I'm trying to make my 3 first characters unique. I think they're unique enough currently. (confirmed)
Guess what, @zʏᴀ is not very active for days.
@zʏᴀ You've got an edit history!!! Also, your first 3 chars are unique. Yes, I still remeber when wizzwizz4 posted that message for the "Mod Sandbox" :D:D:D:D
 
@Eᴀs That mod sandbox, yeah bro! It exists, wizzwizz4 uncovered it.
 
mod sandbox? there isn't a mod sandbox
 
@Quill You need 5 modrep points before you can use the mod sandbox
 
11:13 AM
Hey, @wiz, can you say something about the mod sandbox???
@wiz? RU HERE? I DONT CU, I CU <-!
 
If the username doesn't autocomplete then that user has been out of the room for too long to be pinged, and they won't receive any notification
 
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Oh no, you have found me xD
 
11:38 AM
1
Q: Can Pac-Man Eat This String?

atlasologistIn the arcade version of the game, Pac-Man eats pac-dots. However, in this challenge, he's hungry for alphanumeric characters and punctuation in a string. Your task is to create a function that feeds Pac-Man a string, evaluates if he can eat it or not, and returns the string with Pac-Man's locat...

 
@New That seems hard...
 
LOLOLOL
@EᴀsᴛᴇʀʟʏIʀᴋ +1 your comment
I love a good joke!
 
11:44 AM
> So the pellets have no expiration date?
Rotfl
 
yeah
not a joke though
best way to phrase it imo.
 
I know, but I found it amusing.
Its funny.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Pacman easy
 
Recursion without self-referencing: ideone.com/Cq9Qls
fac = (lambda r:r(r))(lambda r:(lambda n:(n*r(r)(n-1) if n else 1)))

print(fac(4))
 
11:53 AM
hm?
 
the first lambda makes the second lambda receives itself as an argument
 
Ahh thats clever
 
not original xd
 
12:45 PM
@LeakyNun I prefer self destructing functions :p
 
@Katenkyo Quoi veux-tu dire?
 
function foo()foo=nil end
in lua :)
 
Cela marche? :o
 
@LeakyNun Yes, I think it should work in Javascript too
 
oh, en python aussi, fac=lambda n:n*fac(n-1)if n else 1
 
12:47 PM
and any other language which have weak types/dynamic types
 
I just thought you can't access the function from inside
how would it translate to assembly language?
 
A function is just a variable ^^
@LeakyNun Writing something where a function.part of the code is stored
 
foo = pointer to 0xAA
AA = move nil to AA
something like this
 
Yes
 
Fun fact: All polynomials are linear recurrences of constant coefficients.
 
12:50 PM
It's only rewriting in an adress you have already used
 
@LegionMammal978 ?
@Katenkyo as-tu lis mes commentaires?
lu*
 
That is, all functions of form f(x)=an*x^n+...+a2*x^2+a1*x+a0 are also of form f(x)=a1*f(x-1)+a2*f(x-2)+...+an*f(x-n).
 
because past participles
@LegionMammal978 that's interesting
 
(but not vice versa)
 
why not?
 
12:53 PM
@LeakyNun Yep, I'm editing
 
because the a in both expressions are different?
 
@LeakyNun Well, the Fibonacci sequence isn't a polynomial...
@LeakyNun And yes, both ai and n in both expressions are different
 
what would f(x)=x^4 become?
and how do I transform?
 
It only depends on the order of the polynomial
 
sure, but how do I find the coefficients?
@Katenkyo t'as pas tous change/
 
12:57 PM
@LeakyNun Something that looks like it involves binomial coefficients (which I've never understood well)
For f(x) = x^4, it would be f(x) = 5*f(x-1) - 10*f(x-2) + 10*f(x-3) - 5*f(x-4) + f(x-5)
 
@LeakyNun I did
 
For f(x) = x^2, it would be f(x) = 3*f(x-1) - 3*f(x-2) + f(x-3)
 
@Katenkyo s and s
 
@LeakyNun It's replaced by s only
 
x^2 = 3(x-1)^2 - 3(x-2)^2 + (x-3)^2?
@Katenkyo print((s and s
 
1:00 PM
@LeakyNun Oh, this one!
Currently, checking if I can drop the and and just put or
 
$ MathKernel
Mathematica 10.1.0 for Linux x86 (64-bit)
Copyright 1988-2015 Wolfram Research, Inc.

In[1]:= FullSimplify[3(x-1)^2 - 3(x-2)^2 + (x-3)^2]

         2
Out[1]= x
 
@LegionMammal978 nice
you post it or i post it?
@Katenkyo s and s est toujours equivalent comme s
e/quivalent*
 
@LeakyNun ( équivalent à s) also, have to bugfix my z:sub(i+1)
@LeakyNun shortest final print I can find(with the bugfix) : print((s or'')..'<'..z:sub(1+(i or 0)))
 
nice
 
0
A: Sandbox for Proposed Challenges

SEJPMImplement Takewhile code-golf Introduction and Credit Today without a fancy prelude: Please implement takewhile. A variation of this (on a non-trivial datastructure) was an assignment at my university functional programming course. This assignment is now closed and has been discussed in cla...

 
1:13 PM
Gotta test if changing the flow of the program makes it better
 
1
Q: Prove me wrong!

SEJPMIntroduction Your mission in life is simple: Prove people wrong on the internet! To do this you usually carefully analyze their statements and point out the contradiction in them. It's time to automate this, but as we are lazy, we want to prove people wrong with the least effort (read: shortest ...

 
@LeakyNun found a 162 Bytes solution!
 
@Katenkyo merveilleux.
 
There's still a ternary that I think I could hack with
shoot, bug on edge case
The bugfix made it > 190 :/
 
1:33 PM
...
just use mine lol
 
1:43 PM
@LeakyNun Haven't saw it before
ALso, accessing a nil value ^^
 
@LeakyNun me
 
Is "synopses" a right plural version of "synopsis"?
 
ye
 
So when do we get PPCG swag?
 
@Fatalize When we get PPCG design.
 
1:55 PM
@zʏᴀʙiɴ101 Oh, so never then?
 
lol
 
If it took four months just for Community ads we're problably looking at a good 3 years for the design
 
@Fatalize not really. Community ads are a Community Manager process but the design is a designer process
 

« first day (1979 days earlier)      last day (2854 days later) »