« first day (1847 days earlier)      last day (3010 days later) » 

12:04 AM
Downvoting to make your score a multiple of 5
 
@AlexA. just based on your code /shrug
 
TIL: pyth is a pro csgo player
 
@Quill I actually knew about pyth the pro csgo player before I knew about pyth the golfing language
Anyways if you're looking for the online interpreter it is at pyth.herokuapp.com
 
I'm glad I did that do while challenge now. D: I found a problem with if/if-not.
 
Man Strawpoll's font makes curly braces look like shit
Anyways, srs opinion poll: strawpoll.me/6856682
{} for lambdas and <> for sets
`` for lambdas and {} for sets
 
12:16 AM
I hope you don't mind me voting... :P
 
<> for lambdas and {} for sets
@El'endiaStarman not at all
 
Code Review pushed English Language & Usage off of my stub of network links.
 
Backticks are just impractical for everything. Try entering a vowel after the tick - get's converted to an accent. Just annoying.
 
The plan is to make \for, \while, etc. functions that take lambdas.
So keep in mind that with whatever delimiter you pick for lambdas, it should look nice like this:
\for[1..x,{x:code}]
 
Anonymous
@mınxomaτ Not on US keyboards: a worked fine
 
12:21 AM
@Mego Try using a German keyboard.
 
also this isn't an esolang we want it to look pretty
 
I know what he's talking about.
 
Yeah on foreign language keyboards it is annoying
 
It's not even used in German.
 
A with an accent grave?
 
12:22 AM
@quartata Then why the backslashes? Is it LaTeX or something?
 
@AlexA. Area51 pushed PPCG off my flair
 
@AlexA. It's a style thing.
`\` means a function.
 
@Quill RIPPCG
 
@quartata We have Umlaute (äöü), nothing else (well, sharp s "ß").
 
Hm.
 
12:23 AM
@mınxomaτ Haha, true, but I wouldn't be surprised if Germans write foreign names more often than Americans do...
s/Germans/near everyone in Europe/
 
@El'endiaStarman Practically never.
 
Humph. There goes that theory. :P
 
If someone claims to have an accents in their name, we just ignore it until they give up.
²³{[]}\\^´@'*+~-_.:,;<>|µ€°!"§$%&/()=? <- all those are one key-press less than a backtick.
 
How do you type an @ symbol?
 
I forgot that
 
12:27 AM
\o/ No more error bars in Vitsy!
Time to see if I implemented BigDecimal right. >.>
 
Oh, and backslash.
Seriously, though, how? If I switch to a German keyboard, I want to be able to type @ without having to switch back.
 
@El'endiaStarman ALT-GR and Q
 
@quartata {} for sets, || or \ for lambda
 
@orlp That could be terribly confusing. Why'd you pick pipes, anyway?
 
Say, doesn't Ruby do pipes for lambda?
Oh no wait
It does pipes for the args
 
12:29 AM
@mınxomaτ Oh sweet, thanks!
 
@quartata what is the use case anyway?
 
For lambdas?
Or for sets?
 
Both
what is the context?
 
This is for Pytek, the (non-eso) language El'endia and I are concocting.
 
> how can we make Code in R has command solve faster
lel that question title
 
12:30 AM
@El'endiaStarman Or ⌥+L in OS X.
 
I've got a Windows box, but ALT+GR worked.
 
Sets are like Python sets, but we also want to support set builder notation:
{1,2,3} or {x | 0 < x <= 3 and x in \Z}
Lambdas are... well... lambdas:
<x,y,z...:codez>
 
that looks cool
 
You can check out our chat room.
We don't have a complete spec yet
 
@quartata but what is the point of it
code golf?
 
12:32 AM
Real programming.
You know
 
for the set builder, where is the set of all x?
 
oh I didn't see (non-eso)
 
in Pytek, Feb 9 at 18:15, by El'endia Starman
Pytek is intended to be an actual, mainstream language that aims to reduce the amount of programmer work, largely by identifying and leveraging common patterns, such as nested loops. There are two overarching goals: 1) make the computer do as much of the programming work as possible, and 2) succinctness is power - there are great benefits to saying much with few words.
 
@Maltysen You mean set of all real numbers? That'll be built-in as \R.
 
@quartata What about \x,y,z -> x*y+z?
 
12:33 AM
no, in that example
oh, and x in \Z
 
Yeah.
 
I borrowed that from math.
 
The two statements are equivalent, see.
 
that's kind of awkward, why is that nessacary as an and
 
The one on the right is called set-builder notation:
In set theory and its applications to logic, mathematics, and computer science, set-builder notation is a mathematical notation for describing a set by stating the properties that its members must satisfy. Forming sets in this manner is also known as set comprehension, set abstraction or as defining a set's intension. Although some simply refer to it as set notation, that label may be better reserved for the broader class of means of denoting sets. == Direct, ellipses, and informally specified sets == A set is an unordered list of elements. (An element may also be referred to as a member)...
 
12:34 AM
@quartata yeah, but its traditionally done {x in Z | x>3}
 
I think it's fairly elegant/succinct.
 
@orlp We have something else that uses -> called chains, that would be ambigious
 
@MartinBüttner Does Hello, World! have a time limit? I have a program that needs to increment to 46758282851806618588827407 to print Hello, World!. (but I don't think it runs out of memory, if that helps :P)
 
It would define a chain with two stages, one that applied \x and pushed y and z, and one that pushed x*y+z
 
well
 
12:36 AM
@Calvin'sHobbies If it's not in the spec then there's no limitation. (AFAIK)
 
\x,y,z: x*y+z would work as well
 
@Maltysen well traditionally it's {x|<predicate>}
 
the point is that \ looks like λ
 
So all the x in Z x>3 stuff is to the right of the pipe
@orlp Hmmmm
 
@quartata I'm talking about the domain of x
the x>3 is the predicate, but the x in Z is awkward as the predicate
 
12:37 AM
@El'endiaStarman Could that work, or would it be ambiguous to a named function?
 
hmm
orlp's suggestion?
 
Yea.
 
(If my responses seem slow, that's because I'm typing on a German keyboard and frequently have to find symbols by trial and error.)
 
@Maltysen You can just do x in 1..3 of course for this :P
 
@El'endiaStarman change layout?
 
12:38 AM
It'd be good to get used to it though...
 
@quartata yeah, i'm just saying. look under "Convention of annotating the variable domain on the left of the 'such that'" in the wikipedia article
 
@El'endiaStarman soon my new keyboard arrives and I have to get used to my new layout
you ready?
drumroll
 
Might as well start getting used to it now? :P
 
 
whoa
 
12:40 AM
...oh
 
@El'endiaStarman can't until I get it
 
I see that now. :P
Also, it's mildz annozing how zs and ys are switched... :P
Just gotta get used to it.
ANYWAY...
 
@quartata you gonna do real ranges?
you seem to have a set for \R
 
@orlp wat
 
@orlp My concern with this is that the ´\´ usually denotes a command, so using it for a lambda might be confusing.
 
12:43 AM
@El'endiaStarman it's not for haskell programmers
 
IMHO the <> looks nicer
 
Python people: If I raise an exception based on some condition while in a loop, does the loop automatically terminate?
 
@AlexA. you get to use both thumbs productively, and you can put your hands as far as you want
 
@Maltysen How do you mean? Like [0, 0.5, 1.0]?
 
and the keyboard is fully prorammable
 
12:44 AM
@El'endiaStarman well, I guess it would be like interval notation
 
@AlexA. I think it should terminate.
 
@AlexA. If you don't catch it, yes.
 
So I don't need an explicit break after the raise?
 
@AlexA. Yes, the exception raises in flow of control.
@AlexA. You can, but the break would never execute
 
Right. Okay.
Thanks all!
 
@Maltysen I've been playing with the idea of doing something like ´0..0.5...10´, which would have a list of all integers and half-integers between 0 and 10.
 
What kind of exception should be raised if I make a bad request to an API?
 
@El'endiaStarman but that's only rationals, and you seem to have a set of all reals
@AlexA. what typale of bad request? ValueError is the traditional one
 
@Maltysen Mmhmm. What exactly are you expecting?
 
@AlexA. To the client? HTTP 400.
 
12:48 AM
@mınxomaτ Right. The response I get from the API will be 400. I'm wondering what kind of Python exception I should raise should that happen.
@Maltysen HTTP 400. Could be a bad parameter or just about anything.
@El'endiaStarman nvm you weren't replying to me lel i can has eyes
 
@El'endiaStarman the ability to make intervals on the real # line, do operations on them,
like x in [3, inf)
 
Oooh, @quartata ^
 
You should distinguish between inf and -inf
 
and like x in [3, 6) + (8, 20]
or even [4, inf) - [7, 10]
 
I like that idea.
My concern now is how to represent tuples.
 
12:51 AM
\( \)
¯\_(ツ)_/¯
 
By the way, @AlexA., docs on exceptions. Scroll to the bottom to see the exception hierarchy.
 
p-
oops, plate on keyboard
 
@AlexA. I'd prefer to make it easy to read and understand. That particular notation isn't really either.
 
Trü
 
@El'endiaStarman What did I miss
 
12:56 AM
7 mins ago, by Maltysen
@El'endiaStarman the ability to make intervals on the real # line, do operations on them,
 
@quartata your language is now a brainfuck derivitive
 
@El'endiaStarman k
@Maltysen nuuuuuuuuu
 
I like the idea. Thinking on how to notate it.
 
We might have to go out of ASCII into Unicode :P
 
I'd prefer to avoid that. :P
ASCII is supported everywhere.
 
12:58 AM
@El'endiaStarman nope
I'm sure there is some system somewhere that does not use ASCII :)
 
They're probably a hippy.
 
You know perfectly well what I meant. :P
 
"Yeah bruh, windows ME is the bomb."
 
What's the best practice for calling a function that could raise an exception if I still want that exception to happen? Do I try and except and rethrow or do I just let it do its thing?
 
12:59 AM
@AlexA. just let it do its thing
 
@AlexA. I do the former if I want to something on my own with the error.
 
Mixed response :P
 
I don't usually follow the best practice.
 
my response is the same as @orlp's. you just call it
 
If you don't want to do anything with the exception, don't put it in a try-catch.
 
1:00 AM
Okay
Thanks again, everyone!
 
what api are you making?
 
I'm connecting to one
 
If you want to glean information from the exception, you can do this:
 
@Maltysen See here
 
try:
    foo()
except Exception as e:
    print(e)
    raise e
If you want the stack trace...
 
1:02 AM
@Dennis Pull Vitsy again (in, like, 30 seconds)?
 
@El'endiaStarman If I want the stack trace, couldn't I use with_traceback?
 
I guess so.
 
try:
    ...
except SomeException:
    tb = sys.exc_info()[2]
    raise OtherException(...).with_traceback(tb)
This is in the error documentation you sent
 
Ah, okay, cool. I think I use this method.
 
except ValueError as e:
    tb = sys.exc_info()[2]
    raise e.with_traceback(tb)
Could I do that to rethrow with traceback?
@El'endiaStarman ooooooh
 
1:04 AM
I don't know, I haven't used that method.
 
except You as Cant:
    just = "do this"
    raise Your Hands in the Air
2
 
I have, in one day, officially changed more lines of code than I originally had in my entire class system when I started in Vitsy.
 
@VoteToClose o_o wow
 
My brain hurts.
I kinda make up for that bit in the middle there.
 
1:09 AM
try (As hardAsYou = new As("like")) {
  hardAsYou.cant(beatJava);
  throw new YourHandsUpInTheAirException();
} catch (Fever ofTheRhythm) {
  ofTheRhythm.printStackTrace();
}
3
 
^ TeaScript's additions/deletions
 
kek
Then suddenly WORK IS DONE
And bugs are fixed slowly behind.
 
^ so true ^~^
 
Interestingly, I rarely get bug reports. o-o That could mean that a) nobody uses Vitsy :c or b) I don't have many :D
 
I just thought I beat Stanley's Parable, then I found out I hadn't actually "beaten" it.
Now I'm just confused.
10/10 game of the year
 
1:14 AM
/me claps.
 
@VoteToClose It's both. You find out as you're about to win a challenge :P
@quartata The end is never.
 
DDDD:
 
Holy shit there are 19 endings
OK then
 
You guys are getting those graphs from GitHub?
 
1:16 AM
@orlp @El'endiaStarman @Quill Did I do better senpais
 
/graphs/code-frequency
 
SWEET drag-and-drop file upload!
 
^^ ^
 
@El'endiaStarman yeah!
 
OK, so I did "beat" it
I got the museum ending whatever that means
This is a very very meta game
 
1:18 AM
@VoteToClose can't you do YourHandsUpInTheAir = new YourHandsUpInTheAirException();?
 
@quartata I got that from the first (and only, so far) half-hour I played. :P
 
@somebody Nah, I wanted a throw your hands up in the air joke.
@quartata 'Tis the point.
 
yeah, define that and Like = new As(Like) before that try/catch
 
I love games like this
 
@quartata I just wandered around the endless maze for a while and drew the plant
 
1:20 AM
Oh, fair enough.
 
:O Blackberry priv has a physical keyboard in addition to a touch screen. I want one.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Maze? So you went downstairs?
 
@quartata I don't quite remember. It was a while ago.
 
@AlexA. too verbose comments
 
It was with the adventure music
@AlexA. I love your github profile picture XD
 
1:23 AM
"At first Stanley assumed he had broken the map, until he heard this narration and realized it was a part of the game's design all along."
11/10
 
@quartata Playing The Stanley Parable?
 
@AlexA. Yep.
 
@AlexA. the fuck
 
And I feel like I'm taking a psychology test.
 
1:23 AM
@orlp Oh really? I was trying to follow the Google example guide thing.
@Seadrus ¯\_( ͡° ͜ʖ ͡°)_/¯
 
@AlexA. im not joining with you.
 
That's fine
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Did you float in space for a bit?
 
@Seadrus It wasn't a request :P
 
This game
 
1:24 AM
@El'endiaStarman uhhhh? I don't remember.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Hah thank you?
 
@AlexA. ok den
 
I feel.... psychologically abused
And yet I can't stop playing
 
@AlexA. No problem!
 
@quartata Have you played the other game that one of the Stanley Parable guys made?
@CᴏɴᴏʀO'Bʀɪᴇɴ What do you love about it? I am confused by your response. Is just me.
 
1:25 AM
@AlexA. No.
 
@quartata Do you know what I'm talking about though?
 
No.
 
Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist
 
@AlexA. It's a great expression!
eee 4 more rep to 7.1k
 
I didn't even realize I was making an expression. I think that's just what my face looks like.
 
1:28 AM
@AlexA. oh. .-.
imma go back to the dark corner .-.
 
hahahaha
I mean, I guess I'm raising my eyebrows a bit
 
@AlexA. question_count is also pointless
 
^ that's the reason :P
 
it's longer than len(questions), means exactly the same, but can get out of date as questions changes
 
Ugh I want to post something on Code Review but there's a bug that I can't find >:(
 
1:30 AM
@orlp I was using it to avoid a division by zero error if the site has had no questions in 2 weeks
@orlp questions shouldn't change after the request has been made
And I figured it'd be more efficient to compute the length once rather than calling len 4 times
 
if questions:
    avg_answers = sum(q["answer_count"] for q in questions) / len(questions)
else:
    avg_answers = 0.0
 
Fuck, I forgot that empty shit is falsey in Python
 
@AlexA. don't bother with such efficiency stuff unless it's shown to be inside a bottleneck
 
Okay
Would it be better to do avg_answers = sum(q["answer_count"] for q in questions) / len(questions) if questions else 0.0 ?
Or is that wayy too long?
 
tad long
 
1:32 AM
Okay
 
I have no idea what ending I just got
 
The one that ends
 
Most of them do, mind you. But yes.
 
Oh, the "Confusion Ending"
Accurately sums that up.
 
The Stanley Parable?
Yeah, pretty much
 
1:39 AM
yay I "win"
 
May I ask someone for assistance in debugging some code?
 
Also I wonder how they managed to create all of these impossible structures.
I presume a trigger_teleport, but I didn't notice any teleportation.
Seemed pretty smooth.
I might have to decompile the maps with Hammer to find out...
 
yeah that always confused me.
 
holy shit the dev team thinks of everything
I tried going back at the adventure line part to go out the window
but they removed whatever little thingy you used to get up there
 
1:42 AM
@Eridan Yeah. :D
What language?
 
@VoteToClose It's the Karel project. I posted the stuff on Github.
 
Link?
 
stanley look at that fern
 
(bonus points since I'm familiar with some variants of Karel. :D)
 
Yeah I was gonna say, you're the perfect person
 
1:44 AM
@quartata yup that's about all I remember.
 
@AlexA. nice work (y)
 
@Quill Thank you! :D Also, what is (y)?
 
@AlexA. there's a PEP8 limit on characters in one line, I think it's like 130 or 180 or something similar
 
@VoteToClose Should we create a separate room from T19B to discuss this or is here ok?
 
1:45 AM
We should make a separate room. :P
 
@AlexA. like a thumbs up kinda thing, facebook and skype format it as a thumbs up
 
@Quill Oh nice
 
@VoteToClose room
 
moor
 
test message
 
1:47 AM
@Quill It's not 80?
 
It's 79
 
@El'endiaStarman IDK i rarely trigger it
 
Limit all lines to a maximum of 79 characters.

For flowing long blocks of text with fewer structural restrictions (docstrings or comments), the line length should be limited to 72 characters.
 
I like the part where the narrator foolishly assumes that doors are bijective
 
@AlexA. You should make it work for other sites, and then StackApps it
 
1:48 AM
Ah, okay. I remember being taught in C/C++ class that we had to (well, should) limit our lines to 80 characters because that's the standard terminal width.
 
The Stanley Parable: teaching people to never trust geometry, common sense or yellow lines since 2011
6
 
@Quill It does work for other sites now :)
 
LOL "You've been playing the Confusion Ending for 16:11:28"
 
@AlexA. I meant like taking input for site
 
whats the tag for chaining programs together
 
1:53 AM
!!
I will ▄︻̷̿┻̿═━一 it
 
i think its sequence
 
That's for answers referring to other answers.
 
The first time I've ever seen an actual reason for using development textures in a Source map
 
Can someone try to have a conversation with Chatgoat, I tried to make it smarter.
 
1:58 AM
Stanley Parable really is crazy
 

« first day (1847 days earlier)      last day (3010 days later) »