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

12:00 AM
@Doᴡɴɢᴏᴀᴛ use Jolf it is much better
@AlexA. phooey.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Can I have a link to docs?
 
@Doᴡɴɢᴏᴀᴛ Yes! Gimme a second.
@Doᴡɴɢᴏᴀᴛ lotsa docs
 
So how do I check if a string has a character in it?
 
@Doᴡɴɢᴏᴀᴛ (space)h"string"'c
 
and how do I get input
 
12:03 AM
What type of input?
(string, number, array)?
* `i`, `I`, and `m~`: string input.
* `j`, `J`, and `m:`: numeric input.
* `k`, `K`, and ``m` ``: comma-seperated array.
* `x`, `X`, and `m;`: evaluated input.
 
cool
Watcha working on?
 
2
Q: Coding Convention Conversion

Dariusz WoźniakIn that Coding Golf, you should convert one coding convention with TitleCase to lower_case_with_underscores. And... vice versa! Specification Change the casing in a following way: If underscore character is a delimiter, change the casing to Title Case without any of delimiter. If there are mu...

^ that challenge
 
is there like an if command where I can do something if an expression is true?
 
12:06 AM
Uh...
That's awkward.
I have a ternary choosing of values, ?abc - if a then b else c
Note that you can use $...$ to do a JavaScript literal, if all else fails.
(No pun intended.)
 
okay
How come whenever I click Full Run the input gets swallowed?
 
That's how the interpreter works.
You can try the command line that requests for input whilst testing, or open up the console and type jolf(code,input a, input b....)
 
:/
 
:\
 
12:14 AM
how does retina work =/
2
I can't even replace all occurences of 'a' by 'b'
how does it take input
?!
so confused
 
@CᴏɴᴏʀO'Bʀɪᴇɴ how do I loop through an array?
 
carefully
 
@Doᴡɴɢᴏᴀᴛ You can use (space)F(array)(function) to do forEach, or Μ(array)(function) for map.
A function is something like d(expression) or D(expressions)}
 
I was half expecting that to be a rickroll
 
I dare not lose the first Jolfer.
(Besides me, of course :P)
 
12:19 AM
oh okay
@CᴏɴᴏʀO'Bʀɪᴇɴ why no work? D:
 
@Doᴡɴɢᴏᴀᴛ The M was a capital mu. Copy-paste this: ? hI'_ΜGI'_dH""
(Also, E is predefined to the empty string.)
 
okay
ohhhh
 
Yeah, Jolf uses lotsa greek characters
 
> The M was a capital mu.
whyyy
I'm not learning Jolf now.
 
Because that's the map function...?
@ThomasKwa D:
Oh well. I didn't lose anything ¯\_(ツ)_/¯
 
12:23 AM
Why can't it be lowercase mu?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ how do I make the first character of a string uppercase?
 
@ThomasKwa Because that's the unique function.
@Doᴡɴɢᴏᴀᴛ py(string)1 iirc
 
The retina (UK /ˈrɛtɪnə/ RET-i-nə, US /ˈrɛtᵊnə/ RET-(ə-)nə, pl. retinae, /ˈrɛtiniː/; from Latin rēte, meaning "net") is the third and inner coat of the eye which is a light-sensitive layer of tissue. The optics of the eye create an image of the visual world on the retina (through the cornea and lens), which serves much the same function as the film in a camera. Light striking the retina initiates a cascade of chemical and electrical events that ultimately trigger nerve impulses. These are sent to various visual centres of the brain through the fibres of the optic nerve. In vertebrate embryonic...
@CᴏɴᴏʀO'Bʀɪᴇɴ ok
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What about m and M?
 
@Doᴡɴɢᴏᴀᴛ wow, thanks, I see now
 
12:26 AM
HAH
 
Wait, you should have used Hebrew מ
 
@ThomasKwa m is the math module and M increases the arity of a function by 2.
@ThomasKwa And Jolf is encoded in ISO-8859-7
 
Oh, I see.
 
@ThomasKwa That's hard to type on a lot of keyboards though.
 
@AlexA. would you rate 10/10?
 
12:27 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ why does this not work
 
@AlexA. So are greek letters _/¯(ツ)
 
@AlexA. That doesn't matter. More alphabets = better
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Not if you have a Mac. µ∆π
 
@Doᴡɴɢᴏᴀᴛ Oh, it's py(string)0, haha
@AlexA. That's the first redeeming thing I've heard about mac.
 
@orlp Definitely not. I would rate it 10/10.
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ_ಠ
Once you go Mac, you don't go back.
 
12:29 AM
I had a mac.
It was a defiling experience.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ how do I do .slice(1)?
 
@Doᴡɴɢᴏᴀᴛ (space)L(string)1
 
@CᴏɴᴏʀO'Bʀɪᴇɴ okay
 
12:30 AM
Just cut yourself one slice
 
@CᴏɴᴏʀO'Bʀɪᴇɴ why is this not in the docs D:
 
@Doᴡɴɢᴏᴀᴛ I haven't covered the prototype functions yet.
e.g. (space)(char)(thing)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ How do I do .join("")
 
@Doᴡɴɢᴏᴀᴛ \x10(thing). Replace \x10 with the actual char by doing apply transformation of code.
 
12:32 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ O.O okay
 
Oh god I just realized that image is from a suicide prevention site. ._.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ How do I do regex replace?
 
D: ^^
@Doᴡɴɢᴏᴀᴛ global?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yeah
 
12:34 AM
@Doᴡɴɢᴏᴀᴛ ρ"string""regex""replacement"
(lowercase rho)
 
Only the most important matters make it to my inbox
3
 
avocad very import
4
 
import avocado
 
from mexico import avocado as avocad
avocad.juic()
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Does the replacement have to be a string or can it be a function
 
12:37 AM
@AlexA. def juic(): time.sleep(30 * 60); return "i try for thirtee minut but no juic"
 
@Doᴡɴɢᴏᴀᴛ Um... lemme check
@Doᴡɴɢᴏᴀᴛ Yes, it can be a function:
return x.replace(new RegExp(y,"g"),s);
 
@CᴏɴᴏʀO'Bʀɪᴇɴ \o/
@CᴏɴᴏʀO'Bʀɪᴇɴ Is there an "insert string into another string at index" function?
 
@Doᴡɴɢᴏᴀᴛ I believe so, lemme check
 
I saw that screen cap of my inbox and I tried to click out of it because for a second I thought it was my actual inbox
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Can I split on a regex, like: .split(/(?=[A-Z])/)
 
12:42 AM
@Doᴡɴɢᴏᴀᴛ Yes: R(string/thing to be coerced to string)(regex as string). If that doesn't work, tell me.
 
@Doᴡɴɢᴏᴀᴛ And no, there isn't, but will be added.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ not working :(
 
@Doᴡɴɢᴏᴀᴛ Append L0 to the string eval as regex: L0"(?=[A-Z])"
 
@AlexA. I JUST ATE PIZZA
HOW DID YOU KNOW?!
 
12:45 AM
this is so cool
 
@orlp O SHIT REALLY?!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ok
 
@AlexA. OMG YES!
 
AAAAHHHHH
I HAVE PIZZA POWERS
 
YEEEEEEEAAAAAAAAAAAAAAA
 
12:47 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ I think this is a bug
It's becoming: RegExp["0"]("(?=[A-Z])")
 
@Doᴡɴɢᴏᴀᴛ Wait split is G not R.
 
@Doᴡɴɢᴏᴀᴛ RegExp["0"] is eval as regex
 
the face of defeat
 
12:48 AM
@orlp me irl
 
@CᴏɴᴏʀO'Bʀɪᴇɴ \o/ that did it
 
@Doᴡɴɢᴏᴀᴛ \o/
 
And how do you do join?
oh that's R
 
How do you make the whole string lowercase?
 
12:51 AM
px(string).
 
0
A: Coding Convention Conversion

DoᴡɴɢᴏᴀᴛJolf, 37 bytes ? hI'_ΜGI'_dpyH0pxRGIL0"(?=[A-Z])"'_ Woohoo my first Jolf program! Try it online

\o/
 
1:03 AM
I just ran a 2000-thread "Hello World" program.
 
It was one of the example programs that Chapel comes with. I can change the number of threads to whatever I want, and it prints that many copies.
./hello6-taskpar-dist --tasksPerLocale=2000
 
Chapel is pretty cool. A University of Washington class on high performance scientific computing had a guy from Cray come give a presentation where he introduced Chapel.
We used Fortran 90 for the class though.
 
Although I should note that --taskPerLocale wasn't an argument to a compiler or anything, it set a value that was used by the program at runtime.
 
1:09 AM
_l and _L - slice an array with 2 and 1 arguments, respectively.
Does that sound right?
 
What language?
 
English.
I'm talking "2 or 1 arguments"
 
I think "2 and 1 arguments" is best.
 
Okay, thanks.
@Doᴡɴɢᴏᴀᴛ Prototype module
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yay
 
1:15 AM
@Doᴡɴɢᴏᴀᴛ BTW do you control the automatic byte counter on the userscript?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What do you mean by "control"?
 
I.e. write the code for.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah
 
@Doᴡɴɢᴏᴀᴛ Could you make it so that Jolf is counted in ISO-8859-7 bytes?
You can upload a file to the interpreter encoded as such.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah sure.
 
1:17 AM
Which actually makes your answer 35 bytes. :D
 
oh, sweet :D
 
@MartinBüttner @TimmyD Tough tie with B&C I think, but let's just say agreed anyway :)
 
tfw you go to stroke your beard then realize you shaved it off the other day
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Jolf has been added!
 
@Doᴡɴɢᴏᴀᴛ \o/
 
1:24 AM
@AlexA. Probably the same guy that gave presentations on it at Summer Academy 2011 and 2013. Did he talk about that adaptive mesh problem (or something) that they planned on solving over three separate summers but it took the first summer plus 2 weeks?
 
@El'endiaStarman I don't remember at all. Not even a little.
 
aw, bummer
 
Brad Chamberlain
(just found my notes)
 
I don't remember his name, so I dunno. ¯\_(ツ)_/¯
That said, good on you for taking notes. :P
 
Haha it's a PDF provided by the speaker
The topics he presented on: Cray, Partitioned Global Address Space (PGAS) languages, Chapel and PGAS, Chapel's motivation, its features, and the project status.
 
1:37 AM
TIL about Faraday waves: youtube.com/watch?v=nq3ZjY0Uf-g
2
 
@ThomasKwa How do you represent negation in TI-BASIC?
 
@PhiNotPi Wooooaaaahhhh...
 
@ՊՓԼՃՐՊՃՈԲՍԼ That'll work thanks
 
First time I've seen cornstarch shaken, not stirred.
I mean, tossed up and down by a drum/speaker.
That pun was too good to pass up... >_>
 
1:44 AM
Long story short, vibrating fluids can do some weird stuff: youtube.com/watch?v=3zoTKXXNQIU
 
@PhiNotPi I think I've seen that exact video.
 
Probably.
@El'endiaStarman Have you ever heard of Bohmian mechanics?
 
Hmm. No, I don't think I have.
 
It's a formulation of quantum mechanics that is non-local but deterministic.
 
Huh, interesting.
 
1:50 AM
@PhiNotPi ( ͡° ͜ʖ ͡°)
 
How do I check if a string has a char in Pyth?
 
woah...
 
@Doᴡɴɢᴏᴀᴛ You don't
 
@AlexA. why...
 
1:52 AM
The paths of photons through the double slit experiment as predicted by Bohmian mechanics.
 
@Doᴡɴɢᴏᴀᴛ / counts the occurrences.
 
/ is count occurences, at least
ninja'd
 
@Dennis oh okay
 
@PhiNotPi Does the diagram change if the backdrop moves?
 
You could also @ to intersect. That would return either the char or an empty string.
 
1:54 AM
Ah, }
There we go
 
Right, } is Python's in.
 
How would I split after a capital letter :z"(?=[A-Z])"3 isn't working
 
Ignore the fact that they're in the wrong order. :P
 
1:55 AM
No El'endia, we don't need to deduplicate >:(
 
I was just balancing brackets!
 
@Sp3000 But that means more pyth to go around!
 
@El'endiaStarman I am not sure. The thing about standard Bohmian mechanics is that it actually uses the same equations that regular quantum mechanics does, but justifies them in different ways... so as it stands, it's more of an "interpretation."
 
Huh, interesting.
 
The important idea though, is that it could be the starting point for more things.
 
1:56 AM
yeah
 
The main problem, though, is that it is non-local, which conflicts with general relativity.
Since there is no universal idea of what "simultaneous" means, even though Bohmian mechanics involves all particles influencing each other instantaneously.
 

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