« first day (1835 days earlier)      last day (2998 days later) » 

11:09 PM
I'm thinking of making a golf language for array processing
I'll call it F♭, probably
 
implemented in F#, I presume?
 
B♭ has so much more puntential, though :(
 
@AlexA. Yes
@Geobits That's the second runner up
Since F# + B♭ + C# is a nice chord
 
Cool. I hate to see a good pun wasted.
 
And then I'll be writing B♭ code
 
11:12 PM
Wait a sec, isn't F♭ just E?
 
Just like the old days
@AlexA. Yes =P
More or less, anyway
 
ಠ_ಠ
 
I'm pretty sure it'd be something slightly different
 
I've seen F-flats in things I've played before. They come about for similar reasons that double-sharps and stuff exist.
 
@AlexA. It's written that way in some keys IIRC. It's the same note.
 
Just like F# and G♭ are slightly different
 
@Roujo They're the same note physically, on the piano anyway.
 
For every key you need to have an A-G, that's all. It leads to weird things.
 
By one ninth of a tone
@Doorknob In practice, yeah. In theory, they're slightly off.
 
@Calvin'sHobbies I voted for the Jelly one. It's hilarious. :P
 
11:14 PM
IIRC, tones are separated by 9 intervals
F# is F + 5 intervals
 
@Doorknob F-flats and C-flats are very common in key signatures where B or E are flat and you don't want to use a natural (which makes the key natural for the whole measure)
 
G♭ is G minus 5 intervals
 
I've never heard of that kind of interval o_O
 
However, yeah, that never comes up in practice because that'd lead to absurd instruments
 
Oct 13 '15 at 21:43, by Optimizer
but no avocado juic?
 
11:16 PM
In musical tuning, a temperament is a system of tuning which slightly compromises the pure intervals of just intonation in order to meet other requirements of the system. Most instruments in modern Western music are tuned in the equal temperament system. "Tempering is the process of altering the size of an interval by making it narrower or wider than pure. A temperament is any plan that describes the adjustments to the sizes of some or all of the twelve fifth intervals in the circle of fifths so that they accommodate pure octaves and produce certain sizes of major thirds." Temperament is especially...
^ Related
 
advocado no juic i tri
 
@Roujo So, say, F# on most instruments is just F plus 4.5 thingies?
@quartata avodad
 
@Doorknob Yup. Technically off, but it's the best compromise and you won't hear the difference =P
 
Musical temperament is actually really interesting
 
I'm just going by memory, mind you - my brother gave me a summary of his music theory courses back when he had them
 
11:17 PM
If you ever have access to an actual piano (not a keyboard), try holding down C (without it making noise) and hitting the next G
You'll notice something ;)
 
@quartata Dah, I was in front of one just an hour ago =P
I'll try to remember it ^^
 
I had to get rid of my piano years ago. It was made in 1908 and I couldn't take it with me :(
 
You'll hear the C ring
 
There are lots of different temperaments.
 
Nobody hear actually plays piano but me, huh?
 
11:19 PM
0
A: Difference of three input integers

ӍѲꝆΛҐӍΛПҒЦꝆDUP, 31 bytes [2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.] Try it here! My first DUP submission ever! There are less than 256 characters used in DUP, so 1 char = 1 byte. It's an anonymous function/lambda. Usage: 5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]! Explanation [ {start...

 
The ninths of a tone thing is just a closer approximation to integer ratios than 12-TET, but it's still an approximation.
 
@RikerW I play piano. And saxophone (alto and soprano).
And I have absolute pitch (no bragging :))
 
@RikerW I play. Plus a bit of guitar, plus the recorder ^^
 
@ӍѲꝆΛҐӍΛПҒЦꝆ You can't score like that.
 
@RikerW IIRC PhiNotPi does. I know he composes, and I think he plays, too.
 
11:20 PM
@ӍѲꝆΛҐӍΛПҒЦꝆ What pitch am I thinking of?
3
 
@RikerW I've played it for years
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Wow, that's awesome. I have good pitch memory, but no absolute pitch =)
 
I used to play piano, but would be quite rusty now.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Good, cause I suck badly.
@Geobits I think he only plays clarinet?
 
@ThomasKwa B sharp :)
 
11:20 PM
I'm better on guitar, and can play tin whistle reasonably well.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ lol
 
@ThomasKwa Wait why not?
 
Cause MAGIC
 
Like everything, I self-taught myself the piano. Unlike programming, the result was not as successful.
 
11:21 PM
@ӍѲꝆΛҐӍΛПҒЦꝆ because the encoding doesn't exist yet
 
@PhiNotPi Nice. We know! =P
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Same reason your username isn't 11 bytes :P
 
@quartata oknvm :P
 
Thanks.
 
:27410544 Lol the screen moved as I pressed the reply button - sorry :)
 
11:23 PM
It is okay.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Nope, A natural.
whispers I think @ӍѲꝆΛҐӍΛПҒЦꝆ doesn't really have absolute pitch
 
@ThomasKwa Dangit. Just a note and a half off!
Okay I fixed the encoding thingy.
 
Good.
 
TIL the blackboard bold ESMin doesn't show up on my phone, so answers just look like , 3 chars / 476 bytes
 
@AlexA. That happens with me too.
I understand.
 
11:28 PM
Hey @ӍѲꝆΛҐӍΛПҒЦꝆ does ESMin have a safe mode?
 
It only lives dangerously
 
@AlexA. get a sane browser.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ maybe you should make your languages have regular names then :P
 
@quartata pssh who needs that? :)
Anyway, no it doesn't.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah, like chrome.
 
11:30 PM
@Doorknob Never.
 
lol
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Safari?
 
>Deaf woman (first ever to win an Academy Award) signs along with singers at Super Bowl
>About 20 seconds of screen time
 
@RikerW Chrome is very much insane.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Well I kinda do because I wanted to put it in Databot to test Unicode and ES6
But ok
 
11:31 PM
Oic
That would be sorta nice...
 
.....if I told you Japt is in Databot would that motivate you to make a safe mode?
You can't let Japt beat you
 
@quartata Lolwow. Of course not!
 
Oh.
 
Wait -- why do you even need safe mode?
 
Because we don't want people evaluating JS and reading our files
 
11:32 PM
Or perhaps, how do I implement it?
 
@ӍѲꝆΛҐӍΛПҒЦꝆ That was pretty much my reaction when prompted to make a safe mode for Jolf.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ To avoid unwanted language pregnancies
 
@AlexA. ESMin is sterile tho
 
Disable any form of eval or raw JS support, and any way of accessing the internet
 
...oh
 
11:32 PM
Clean code amirite
 
@Downgoat could you add Simplex under CP 1252 encoding?
 
@quartata Oh... That will be superbly difficult.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Simplex?
ok
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Really?
Oh.
 
Um... you see, ESMin is highly dependent on the internet.
 
11:33 PM
Well then don't bother
 
@Downgoat Thanks!
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Wait, why?
 
All the libraries and stuff.
 
Oh that's OK. We'll download those and add them in manually
We already pretty much hacked Japt to bits getting shoco working.
 
Oh okay. Also, eval is used in the interpreter itself...
And it's aliased.
Is that just taken out?
 
11:35 PM
We just need to make sure that there's no way for malicious code to do a call to eval
 
@CᴏɴᴏʀO'Bʀɪᴇɴ is it stylized CP-1252 or just CP 1252?
 
So no commands that run code and make sure that if you use eval in parsing or whatever there's no potential for a code injection
 
Okay.
I have no idea if that's the case with ESMin.
 
should while read the last item of the stack or pop it?
 
11:36 PM
Yusss Panthers get the pick.
 
Aww yeh
You on the Bowl too?
 
@Cyoce I like read.
 
Basically just make sure of the following: there's no way to call eval from within an ESMin program and that any calls your interpreter makes to eval use stringify to escape anything nasty
 
@ӍѲꝆΛҐӍΛПҒЦꝆ I only watched the cool introduction thing
 
JS has stringify right
 
11:37 PM
@quartata JSON.stringify?
 
yap
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah probably
It escapes nasty stuff right?
 
-__-
 
Gimme an example io
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't liek either team dis yr.
 
11:37 PM
JSON.stringify(myObj) lel
 
JSON.stringify("\"") => "\\""
 
Although Super Bowl City is astonishingly close to where I live.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Moved to the living room and using my laptop for exactly what it was designed for.
It's literally on my lap.
 
> J("\"")
< ""\"""
(J=x=>JSON.stringify(x))
 
er hm
 
11:38 PM
(The outer quotes represent a string.)
 
What function would you use to put backslashes in front of nasty things?
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Me neither .-.
 
@quartata escape?
 
@quartata There isn't any.
 
o
 
11:39 PM
Panthers are kicking off to Broncos.
Down around 20 yard line.
 
here's what I have so far:
 
Ohwow live coverage!
 
> escape(JSON.stringify({a: 'b', b: '{c: 4}'}))
> "%7B%22a%22%3A%22b%22%2C%22b%22%3A%22%7Bc%3A%204%7D%22%7D"
@AlexA. ^^
no, not really
 
Great pass and short run to 38 yd.
 
( ) +1/-1
{ } shift stack
[ ] array
< > compare

. reverse stack
, swap two

: duplicate
; duplicate two

@ while
# repeat
$ while true
% map
& fold
? if
! unless
 
11:40 PM
@Quill er no
 
Pass and out of bounds at 44 yd.
 
44 secs ago, by Quill
@AlexA. ^^
 
I mean if you have a string containing a quote mark, it returns a string with a backslash followed by a quote mark
 
tha_tha
 
@quartata replace?
 
11:41 PM
@Quill ok i don't js
 
Incomplete pass - short.
 
@Doorknob I'm just trying to give @ӍѲꝆΛҐӍΛПҒЦꝆ a sense of what I mean
 
@quartata I have no idea what's happening here.
 
Long pass, caught around 60 yd or something, but there's a flag.
 
@El'endiaStarman I propose that we maintain running commentary of the scoring events of the game in @Calvin'sHobbies's format, to a.) be golfier and b.) prevent me from having to go over to the TV and watch the game. :P
 
11:42 PM
Format?
Well, penalty was against Panthers, and was declined.
 
empty string so far
 
@El'endiaStarman As in, if the Panthers score, you can just say td. :P
 
A run to 74.
Another run, brought down at 85 yd.
 
49
A: Escaping Strings in JavaScript

Paolo Bergantinohttp://kevin.vanzonneveld.net/techblog/article/javascript_equivalent_for_phps_addslashes/ function addslashes( str ) { return (str + '').replace(/[\\"']/g, '\\$&').replace(/\u0000/g, '\\0'); }

 
@Doorknob Hey, you're getting only the necessary stuff. :P
No forward progress.
OH. BLOCKED PASS.
 
@Doorknob stream it on your computer?
 
@Doorknob no please
 
Successful pass, but no gain.
Field goal attempt...
Successful, of course.
It was 15 yards, I think.
 
pls football no juic
 
11:46 PM
@El'endiaStarman I'm still waiting...
 
this is bad the super bowl has invaded the nineteenth byte
 
> white and gold dress that caused a civil war
 
AVOCADOS FROM MEXICO
 
11:48 PM
^ That was from a commercial. :P (and ^^ too)
 
Wow, you guys are really averse to football, huh? Considering all the topics we have in here, I wouldn't have guessed.
 
Panthers start at ~19 yd.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ s/AVOCADO/AVOCAD/
 
@Doorknob no one there
 
We need to have a concise notation for the super bowl.
 
11:49 PM
@Calvin'sHobbies surprisingly
6 mins ago, by Doorknob
@El'endiaStarman I propose that we maintain running commentary of the scoring events of the game in @Calvin'sHobbies's format, to a.) be golfier and b.) prevent me from having to go over to the TV and watch the game. :P
 
If it's not obvious, I count yards from the offense's side.
 
@Downgoat Unhandled exception: no flags provided.
@Doorknob ninja'd .-.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ... why would flags in a regex be required?
 
@Doorknob Unhandled exception: no regex found.
 
11:50 PM
huh. hey look! they all have the same length!
 
(if desired)
 
Super Bowl babies are a thing.
 
addition
subtract
multiply
division
 
o_O
@Cyoce This makes me happy
 
-3 for inconsistency
noun, verb, verb, noun
 
11:51 PM
@Doorknob but +2 for lining up
 
-1 total
 
no. +1 total
 
+200 for fixed widthness
no, +199 total
 
dammit modulus is one character shorter
 
@Cyoce How about modulusF?
 
11:53 PM
@El'endiaStarman what
 
modulous :P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yes, adding a random character to a string that is 1 character too short will make it the correct length
Also:
 
@AlexA. Winning cities see a rise in births 9 months later.
 
@Cyoce modulus Function
 
numeric
boolean
bitwise
 
11:54 PM
@El'endiaStarman that's creepy
 
Well, celebrations...
 
O_O
 
@Calvin'sHobbies I'm surprised that you people are interested in the Super Bowl
 
Sounds like I need to head to Charlotte for the night.
 
Is using | for a number literal too weird?
 
11:56 PM
Yes.
 
@quartata Well, I grew up in North Carolina, and one of the teams is the Carolina Panthers...
 
what about \
 
dat Doritos commercial
2
 
^
 
I´d use # for a number literal.
 

« first day (1835 days earlier)      last day (2998 days later) »