« first day (1967 days earlier)      last day (2859 days later) » 

5:00 PM
> "If I feel unhappy, I do mathematics to become happy. If I am happy, I do mathematics to keep happy."
s/mathematics/programming
 
Today I discovered we have Personal Productivity. A new and interesting way to procrastinate...
10
 
roflamo
 
I've closed the tab or I'll lose hours in there... :)
 
Hai
@trichoplax hahaha
 
@EᴀsᴛᴇʀʟʏIʀᴋ Maybe we should link it from our help page for when PPCG addiction gets out of hand...
 
86
A: How addicted to Stack Overflow are you?

Bill the LizardI've managed to break the addiction recently, but back in November I gained 200 reputation points on my wedding day, and on each day of my week-long honeymoon.

Much formatting, such wow.
 
I'm back in chat, but won't be talking as I'm waiting for Upgoat.
 
Why aren't you talking?
 
He should be coming sometime soon, as I estimated.
 
^ me trying to use node debugger
 
5:21 PM
I guessed right with a 2 min error :D
@Upgoat Could you please come to the zyabinVI beta room?
 
Okay
 
@Upgoat you type by running into walls? that explains the typos
 
@zʏᴀʙiɴ101 I am not see text of where I type on Gitter which is why my typing is nonsense >_>
ill get back when I'm on computer
 
@El'endiaStarman Finally a nice montage that doesn't always skip back and forth: youtube.com/watch?v=sK5yIYEP9ao
 
@flawr That's pretty cool.
 
5:36 PM
@zʏᴀʙiɴ101 link?
What should be outputted when you attempt to print a class. Not an instance of a class?
 
@DrGreenEggsandIronMan Thanks, I just read the entire thing instead of writing code :P
 
Lol, you're welcome.
There's also this:
77
Q: How to stop my husband from answering your questions?

Marry Possible Duplicate: How can I keep from getting addicted to Stack Overflow? It is time for him to take care of our life problems.

 
Seriously, get him out of the house, away from the computer. Drinks and dinner are a great start. Less clothing is also good. Nerds are human first and foremost. — CrazyCoderz Sep 4 '11 at 13:59
 
OH MY GOD YES, CHEDDAR ACCESSORS AND OBJECTS WORK \o/ \o/ \/o \o/ o\/ \iu/\/o\ /o\/ \o/ \o/ \o/ \o/ \o/
cheddar> String.letters
"abcdefghijklmnopqrstuvwxyz"
 
> See "Pair Programming"
( ͡° ͜ʖ ͡°)
 
5:44 PM
Pears go well with cheddar.
 
Eww, gross.
Wat is that?
 
it's a window covering the chat screen
 
An anti-censor bar?
 
the impending doom of darkness
 
5:46 PM
I'm in an old music mood.
 
That's amazing. I don't generally like John Mayer, but that's really cool.
 
dafuq
0
A: g​o​l​f​ ​a​t​a​n​2

nicaelJavaScript, 145 bytes Graphical representation is more convenient to me (sorry if not valid, I'll delete it then) :) (x,y)=>{(d=document).write`<canvas>`;c=d.querySelector`canvas`.getContext`2d`;c.moveTo(0,25);c.lineTo(25,25);c.lineTo(0,25+y/x*25);c.stroke()} Demo (accepts two coords, comma-d...

 
Who the heck upvoted it now??
 
5:58 PM
@flawr oh :| I thought it was valid
 
Haha, I thought it draws the number, cause I entered (2, 3) and it looked like a 7. (I didn't check the test IO)
 
Well I have to admit the idea was creative, and I really had to look for a reason why this did not comply with the specs=)
 
I might send it to Code Review if you like it. :3
 
RPN?
 
@flawr R P N.
 
6:05 PM
@zʏᴀʙiɴ101 idea for zyabin101: a RPN calc
 
@zʏᴀʙiɴ101 So you mean NPR? :D
 
@flawr I mean PN.
@Upgoat It's hard, as my best attempt had the arguments switched for - and /.
 
@zʏᴀʙiɴ101 what is hard?
 
it seems to be a long-winded way of getting the result of something
 
@Upgoat Have the argument order right.
Okay, I'll make the output implicit after every operation.
@CᴏɴᴏʀO'Bʀɪᴇɴ Check the program now.
Welcome to Pfxcalc. Type 'help' for more information.
>> help

        Pfxcalc is a prefix notation calculator.
        Prefix notation, aka Polish notation, is a form of notation for logic,
        arithmetic and algebra, like infix and postfix (reverse Polish)
        notation.

        The expression '+ 3 4' in prefix notation is as valid as '3 + 4' in
        infix notation, as well as '3 4 +' in postfix notation.

        Every computation starts with entering a command and the result is
        printed *and* saved in a variable that can be recalled by entering
 
6:11 PM
@zʏᴀʙiɴ101 cool
does it have things like +3 ans
 
Nope.
 
If it were a calculator, I'd want to be able to type things like +3 4 and get a result
 
you should add that
^^
 
@Upgoat You can do + / 3 / result.
 
If it were a calculator I'd like it to be infix though >_>
@zʏᴀʙiɴ101 wat
isn't / divide
7/10 very confusing
 
6:12 PM
I give it / / 10
 
@Upgoat Slashes here divide the commands.
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't know how to do it.
 
why?
 
@zʏᴀʙiɴ101 It's not too hard.
 
it shouldn't be too hard
 
It is equivalent to + <return> 3 <return> result.
 
6:14 PM
just match /[+-*\/]|(\d+(\.\d+)?|\.\d+)|(ans)/
 
(>_>)?
Then how to parse it?
 
regex
 
import re; re.findall(r'[+-*\/]|(\d+(\.\d+)?|\.\d+)|(ans)', input())
 
It's hard to understand.
 
6:16 PM
You're well on your way towards obfuscation
 
It's not good code.
 
@Upgoat Wait...what is this? Python 3?!
 
@El'endiaStarman Python 2.
 
@zʏᴀʙiɴ101 Your code is, but I think Upgoat's is Python 3.
 
Python 2: Electric Boogaloo
 
6:19 PM
@El'endiaStarman idk how to python pls halp
 
So, should I submit the Pfxcalc code to Code Review?
Latest commit strip.
 
@HelkaHomba: Dude, I tried to design something very similar to, if not almost exactly the same thing as your block elevator, but tried to use it only for player transport and never thought about using it for blocks!
 
I'm making a poll based on it soon.
 
Also, wow, savage. Just bumping that villager off into nothingness. What did they ever do to you?!?
 
@El'endiaStarman What?
 
6:22 PM
Oh sweet kinetic sculpture! :D
 
6:41 PM
@zʏᴀʙiɴ101 :D I found bug in strawpolll
 
Alright, based on apparent attention on anything except me, I see that I shouldn't submit the Pfxcalc code to Code Review.
 
it says Domain {0} on voting and Domain {1} on results
@zʏᴀʙiɴ101 why not?
 
Another bug: the stylish checkboxes don't work!
@Upgoat Okay, I will! :D
 
:D \o/
cheddar> b.letters
readline.js:925
            throw err;
            ^
10/10 most descriptive error node
> throw err;
;-; chedr is off starboard
 
@zʏᴀʙiɴ101 Do you really base everything you do based on this chat? If so you should stop
 
6:48 PM
 
@El'endiaStarman Now I'm going to read all Helka's posts in Helka's voice... :)
 
Here go the begots...
from plugs import shameless
2
0
Q: A prefix notation calculator that asks about everything step by step

zyabin101I made a prefix notation calculator. Prefix notation, aka Polish notation, is a form of notation for logic, arithmetic and algebra, like infix and postfix (reverse Polish) notation. The expression '+ 3 4' in prefix notation is as valid as '3 + 4' in infix notation, as well as '3 4 +' in postfix...

 
Is there a way to suggest features for Cheddar?
 
@DanTheMan The most common way is to ask @Upgoat with the tag in either here or the Cheddar room.
 
Thanks
 
7:17 PM
Chat mini challenge: Reduce the arguments given over division
 
@flawr Oooh, interesting.
 
@zʏᴀʙiɴ101
0
A: A prefix notation calculator that asks about everything step by step

Easterly IrkUse a shebang at the beginning This is something like #!/usr/bin/env python or #!/usr/bin/env python2, and helps interpreters know how to run it. Remove some of the unnecessary comments Comments are good. Excessive comments are just hard to read. e.g. elif cmd == "+": x = (lorr_input("...

I gtg wash the car, bye!!
@CᴏɴᴏʀO'Bʀɪᴇɴ MyEpicLang, ∞ bytes: message too long to send apparently
/s
 
@EᴀsᴛᴇʀʟʏIʀᴋ bai
 
@EᴀsᴛᴇʀʟʏIʀᴋ wait wat bye? no bai D:
 
@Upgoat baidu?
 
Urban dictionary "bai": "short for 'bien tai', which in mandarin means perverted, deviant, abnormal."
 
no it means drinkbai.com
 
@Upgoat horse !== goat
 
No you have to use JavaScript quadruple equals (new ES6 feature): horse ==== goat
 
@Upgoat Quadruple equals?
horse and goat have to submit DNA samples to confirm that they are equal?
 
7:35 PM
it's the opposite of Ruby, confusingly.
But Ruby's === is more helpful.
 
@Upgoat okay
back
:P
will be gone though
 
@Upgoat are you serious or is this a joke?
 
@Maltysen no I'm serious
 
7:36 PM
look at babel es2015 features
 
i leave for 5 min and come back to 37 rep more
 
upgoat ========== serious
 
@Upgoat what does it do?
 
@Maltysen checks if the same object
e.g. 5 === 5 but var a = 5; then a === a
 
...they couldn't have called it is?
 
7:37 PM
idk
 
so wait you're dead serious
[citation-needed]
 
it doesn't work in chrome
 
series of tubes
 
nor in firefox
 
@CᴏɴᴏʀO'Bʀɪᴇɴ definetly (no :P)
 
oh, thank god
 
btw anyone wanna halp make cheddar standard libs
 
(only thing you can't make yet is functions though)
but you can maek clases
;-;
 
you're talking to a functional programming guy
 
7:40 PM
pls halp maek funcshin pls den?
 
"you can't make functions" "cheddar is finished"
 
@Fatalize for the standard lib
 
@Fatalize hey you don't ned fucntions to be turing complet languag
@CᴏɴᴏʀO'Bʀɪᴇɴ idk even how function design should be
i have stupid design on whtieboard but it wont work even
doesnt support lambda vs functions
 
so wait you haven't even implemented functions in cheddar?
 
7:42 PM
those are hard
 
let's go to the cheddar room >_<
 
in slack?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ haha
 
@Upgoat slack or se
 
7:44 PM
@Upgoat This link is no benefit to people who aren't participants of the cheddarlang organization. >_>
Like me.
 
@zʏᴀʙiɴ101 it doesn't let you sign up?
 
@Upgoat Nope.
 
someone remind me, is the character limit 20k or 30k?
 
I have an idea for a 2d stack esolang, anyone mind giving me their thoughts?
 
I have to ask for a ticket from the organization admin.
 
7:48 PM
@Maltysen always :)
 
it'll be made entirely out of ^s and vs
 
@Maltysen Have you got a name for it yet?
 
no
so in each vertical stack, each consecutive set of either ^ or v will collapse, until it reaches the other character, and then based on its length, it will translate to a command
 
example?
 
^
^
^
V
will say be the command for +
 
7:50 PM
so a bit like Lenguage, but possible in this universe.
 
@gcampbell but its 2d
the other part is that in this way, each stack collapses to a single value
which leaves you with another stack, which also gets executed
i'm still working out the details of the stack collapsing, but that's the gist
 
@zʏᴀʙiɴ101 ;-; if your okay with giving me your email i can invite you. else idk
 
@El'endiaStarman :)
 
@Maltysen I don't quite see yet where the 2D-ness is and how you build new stacks at runtime
 
@MartinEnder well the stack i had as my example is one of many stacks
in another "horizontal stack"
 
7:55 PM
@HelkaHomba Oooh hey, would it work as a player transport if you stood on a block?
 
@Maltysen example program?
 
so it kinda be you have to write the program, character by character with a program for each character, except you can do some of the program logic in each character thing
 
@MartinEnder 30k
 
@CᴏɴᴏʀO'Bʀɪᴇɴ i don't have any of the commands worked out yet
 
@El'endiaStarman phew :)
 
7:57 PM
do you plan on posting a 30k char message here?
 
@El'endiaStarman I didn't think of that but I don't think there's enough headroom, and the block would slide out from under you when pushed horizontally
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I meant on main, actually
 
writing up explanations for the 16 logic gates in Hexagony...
 
8:05 PM
@El'endiaStarman Though testing a bit more, use as a player elevator seems to usually work if the first couple pistons properly work. So maybe tweaking them is all that's necessary.
 
Another thing to investigate: is it possible to build an elevator that does not travel in a square helix?
 
goat/10 would creepy agai
 
@El'endiaStarman That slime elevator that I made on the ppcg server works well for players (in singleplayer at least :I). Though for blocks there are probably other designs.
Though something that can lift gravity affected blocks limits things a lot
 
I meant using the same piston method, just wiggling it differently.
 
0
Q: Create a polish notation calculator

TùxCräftîñgYour task is to create a polish notation calculator. For those who don't know what is polish notation, it's a mathematical notation where operators are before the operands. Eg: + 1 2 = 1 + 2 Your calculator should implement integer addition, substraction multiplication and division. Standard ...

 
8:15 PM
In Minecraft 1.9, what is the text in the bottom right corner that says an in-game action, like "Villager mumbles"?
 
@zʏᴀʙiɴ101 Subtitles. You can deactivate it in Menu -> Options -> Music & Sounds -> Show subtitles
 
episode 7 on its way
 
The Force Awakens?
 
In git, how do I drop all commits before a certain commit (e.g. all commits before HEAD~25). Google is not helping >_>
 
@Upgoat IIRC reset?
 
8:25 PM
that drops all commits after a certain commit
 
@Upgoat oh wait what
why do you want to do that?
 
fix my history
it's completely borkedked
 
hai
 
8:27 PM
@Upgoat rm -rf .git
this fixes your history
 
ಠ_ಠ
only one branch is borked
and that branch has important commits I need to save
 
rm -rf .git/branchname?
@HelkaHomba are you planning on doing another mc let's play today?
 
@Upgoat git is not meant for that kind of use cases.. changing past can have serious butterfly effects
 
@El'endiaStarman probably
 
I could do git checkout -b release-1a master; git merge --no-ff develop. But that'll only keep the top commit
 
8:29 PM
@Optimizer relavent
 
y u do dis git
 
give up
play tf2 with me
give me extra phlog
i need phlog
 
@EᴀsᴛᴇʀʟʏIʀᴋ how giv u flog
 
by giving phlog
 
how
 
8:29 PM
giv valve avocad juic and tehy weel
 
@EᴀsᴛᴇʀʟʏIʀᴋ I'll probably record one but it would be published tomorrow since I already released a video today
 
o_O wai it no show up
 
@EᴀsᴛᴇʀʟʏIʀᴋ No, I would not mind at all.
 
> git checkout ppcg-design
> ppcg-design not found
 
8:30 PM
brb 100 rep bountying
 
@EᴀsᴛᴇʀʟʏIʀᴋ how giv valv avocad juic. do thy aksept hay?
@Optimizer ?
 
I am currently trying to self-learn Java
 
@HelkaHomba episode 7?
 
yes
 
It's a really syntax heavy language
 
8:31 PM
@R.Kap function syntax is weird. lambda x something something
 
@R.Kap You should learn Cheddar if you're learning a new language. It's what all the cool goats kids are using these days
 
So much more different than what I am used to in Python 3
 
does windows have make built-in?
 
windows dont need make up
 
but maek is gud
 
8:32 PM
Really amazes me how much we have innovated in terms of computer languages.
 
@R.Kap I know. Who would of ever thought of [ for "if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching ] command"
 
I mean, way back then we had Java, which took several hundred bytes to do even the simplest of things. Now we have languages like Pyth that can do those simple things in a matter of a single byte...
 
@R.Kap well it depends at what level you're looking at. At machine code, those several hundred bytes were will several (hundred) thousand bytes shorter at the machine-code level, then something like pyth
 
Well sure, but that's only impressive in the context of code-golf.
 
@R.Kap I can reward in 24 hours. Thanks for answering!
 
8:35 PM
Java's certainly a lot more readable and easier to learn than pyth
 
@EᴀsᴛᴇʀʟʏIʀᴋ All right, that's cool. :)
 
It all depends on what your goal for the language is.
 
@DrGreenEggsandIronMan That's true.
 
@DrGreenEggsandIronMan I beg to differ. —_—
 
8:37 PM
I still find it amazing that in Java it would take several thousand bytes to print the entirety "99 Bottles of Beer" whereas Seriously can do that in 1 single byte...
 
1 byte isn't impressive.
That 1 byte represents thousands of bytes of internal code that you don't see.
It just happens to mean someone thought it would be a fun/useful/clever builtin.
@EᴀsᴛᴇʀʟʏIʀᴋ I beg to differ with your differ-ing. Sure, you or most of the users on PPCG could learn pyth pretty easily, but that's because they enjoy coding enough to do it for fun, and presumably already know at the very least one language, but probably several. If you had to teach pyth to someone who's never coded before, they would have a hard time.
 
I honestly don't think so. (aka I beg to differ with your differing of my differing. (
 
@DrGreenEggsandIronMan Can't argue against that logic though.
 
On the other hand, lot's of people who have never coded before start with java. (or at least they used to.)
 
Although there are all these languages which can do many things in a very few number of characters, those languages will still never be as popular and have the same functionality as Java.
 
8:42 PM
@R.Kap Exactly. These languages are designed for the purpose of using as few bytes as possible, whereas languages like java are designed to be easy and powerful.
Golfing languages are still impressive though.
Especially if you think of it from an information theory standpoint.
@EᴀsᴛᴇʀʟʏIʀᴋ So you think someone with no prior programming experience could pick up pyth as quickly as they could pick up java?
 
@DrGreenEggsandIronMan Yup. And you're right, they are still impressive for what they can do in a few number of characters.
 
@DrGreenEggsandIronMan I agree with you on the point of picking them up for someone who has never programmed before, but I honestly think that Pyth is easier to write code in than Java
maybe not in terms of maintainability, error-proneness, etc... but :P
 
Well, I've never used java or pyth, so I can't argue with that.
:P
Although I could compare, say, MATL and C.
Though that's not really fair since C is a pain in the ass.
 
Although Java is really syntax heavy, it is also very descriptive and everything is broken up into blocks, so you can almost instantly know what the entirely of the code does without having to look through a lot of documentation. However, in Pyth, everything is together in one single line, and a lot of actions take just a single letter, so it's not really easy to figure out what a sample of Pyth code does without checking documentation unless you have some sort of photographic memory.
Same thing goes for writing code in Java and Pyth.
 
does anyone need a bedtime story?
1
A: Golf all the 16 logic gates with 2 inputs and 1 output!

Martin EnderHexagony, 89 bytes Thanks to FryAmTheEggman for some necessary inspiration for the XOR solution. 0000 !@ 0001 ?.|@! 0010 #?#!)@ 0011 ?!@ 0100 +?|@!? 0101 ??!@ 0110 ?<@!!<_\~( 0111 ?<<@! 1000 )\!#?@{ 1001 (~?/@#! 1010 ??|@!) 1011 \#??!1@ 1100 ?(~!@ 1101 ?.|@!) 1110 ?$@#)!< 1111 1!@ All program...

 
8:53 PM
Needs a link for [Try it online!][1].
 
@MartinEnder Hit me
 
@El'endiaStarman oh thanks, copy-paste fail
 
@EᴀsᴛᴇʀʟʏIʀᴋ phlog is trash, don't bother
@MartinEnder niice. always enjoy your diagrams and explanations on hexagony solutions
 
@DrGreenEggsandIronMan the link has 16 of them, that should make you sleepy enough ;)
@quartata thanks :)
 
That is one of the longest solutions I have ever read.
 
8:56 PM
well it's partially due to the fact that it solves 16 problems...
I tried to keep each section short but some of them are just messed up
I also discovered a feature of my own language through one of the programs :D
 
What are you guys talking about? I'm still only on AND...ye can't have read it all already?!
 
@Upgoat General rule of thumb: if it's a POSIX utility Windows doesn't have it
@El'endiaStarman I'm on B implies A
In fact, even more general rule: if it's useful Windows doesn't have it
 
ಠ_ಠ
 
@quartata ಠ_ಠ
 
@Adnan honest truth
since Overwatch doesn't really qualify as "useful"
 
8:58 PM
yeah, it's probably true though :p
 
@quartata Windows has bash now.
 
May 17 at 0:02, by mınxomaτ
@quartata It's baked into the Windows kernel. It's faster than a VM. Think of it like SSHing into a weird second personality of your windows kernel.
 

« first day (1967 days earlier)      last day (2859 days later) »