« first day (1937 days earlier)      last day (2908 days later) » 

3:00 PM
SyntaxError: not a chance
 
pip install plug
Daaaaarn!
yes | pip uninstall plug
@Sp3000 from plugs import shameless
 
@CᴏɴᴏʀO'Bʀɪᴇɴ nice! From middle/secondary school?
 
HAI @EᴀsᴛᴇʀʟʏIʀᴋ
 
@Mego lol okay
@zyabin101 HAI
@QPaysTaxes okay
oh wait, you probably already graduated. Well, nice!
 
Welcome to The Nineteenth Byte chat @weatherman115!
 
3:07 PM
@EᴀsᴛᴇʀʟʏIʀᴋ try the challenge
 
Given positive integer n, find integers a and b such that a**2 * b = n
and b is square-free
 
@EᴀsᴛᴇʀʟʏIʀᴋ Challenge: Given N, find two numbers X and Y such that X**2 * Y = N holds true, and Y is square-free
 
lol ninj'aed
 
Dardi dardi doh!
 
struck by gods
 
What does the ** bit mean?
 
power
x**2 just means x squared
 
exponentiation.
x to the 2nd power.
 
@El'endiaStarman The very essence of code-golf.
 
3:10 PM
You mean x^2?
 
It's Python syntax.
 
x^2 is 1 byte shorter
 
but some places use ^ for XOR, so ** is often used.
 
I personally dislike ^ for power
 
makes more sense than **
 
:D
 
I personally prefer ^ for power, as a mathematician, but given the need for something to be xor the decision is tough
 
treat ** as "hyper-multiplication"
 
@Fatalize no?
 
3:12 PM
I looooove math.
 
Pytek will have ^ for exponentiation because bitwise operators won't be given their own symbolic operators. (They'll be words.)
 
@weatherman115 good
 
It's the best subject
 
yes
Do you code?
 
Although I do use ^ when talking about maths
 
3:12 PM
Yeah
 
@Fatalize nothing about ^ makes sense, you're only used to it.
 
I do Scratch
 
okay
learn Julia
 
no, learn Python if anything
 
no, learn Julia if anything
 
3:13 PM
@orlp lol, yeah it's not like ^ looks like an arrow pointing upwards that indicates that it should be an exponent
whereas * is not even the symbol for multiplication in the first place
 
Learn both, cos why not
 
@Fatalize it is
all of math uses the centre dot
 
* is not a dot
 
There's actually a thing for Scratch users to ease the transition to Python
 
but ok
 
3:13 PM
Actually, the best operator for exponentiation is (behold): x<sup>y</sup>
 
It's called Slither
 
@Fatalize ^ is not an arrow
 
Bracket the y with <sup> and </sup> aaaand you're done!
 
I didn't say it is
 
and exponentiation doesn't use arrows
it uses superscripts
 
3:14 PM
@weatherman115 Where?
 
which ^ indicates graphically
 
I'm looking, but all I see is slither.io clones
 
It's almost as if things like LaTeX use ^ for superscripts, almost as if it made sense
 
Usually I've seen the * character used for convolution in written mathematics, which I'm sure Luis et al would approve of replacing this silly multiplication operator ;)
 
^ is a notational approximation, ** is a logical approximation (repeated multiplication)
 
** is both
since * is not multiplication
 
as I said before, it is
it's the closest thing we have in ASCII to the centre dot
 
you're just used to * being multiplication ;)
 
Me too
I always use it when doing multiplication
 
In mathematics, Knuth's up-arrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976. It is closely related to the Ackermann function and especially to the hyperoperation sequence. The idea is based on the fact that multiplication can be viewed as iterated addition and exponentiation as iterated multiplication. Continuing in this manner leads to iterated exponentiation (tetration) and to the remainder of the hyperoperation sequence, which is commonly denoted using Knuth arrow notation. == Introduction == The ordinary arithmetical operations of addition,...
 
3:17 PM
now we just need notation for repeated up-arrow notation
 
@trichoplax I wonder if it's possible for me to define an operator that can be chained endlessly in Pytek...
 
and notation for repeated repeated up-arrow notation :D
@El'endiaStarman your lexer can do that
 
@orlp Simple! One up arrow is equivalent to exponentiation, so it's easy enough to do ^^ for two up arrows, ^^^ for three, etc.
 
you can have a lexer translate *** to (*, 3), **** to (*, 4)
 
I hate my slow typing
 
3:19 PM
anyway, reserving ^ for xor is stupid, this operator is a lot less used than power
 
@El'endiaStarman no, you miss my point
 
Case in point
 
Well, I've got to go read Fahrenheit 451
 
a ^ b, a ^^ b, a ^^^ b, ..... a {n times ^ } b
then repeated-up-arrow is a | n, which is a {n times ^} a
then we can repeat that!
 
3:20 PM
In mathematics, Knuth's up-arrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976. It is closely related to the Ackermann function and especially to the hyperoperation sequence. The idea is based on the fact that multiplication can be viewed as iterated addition and exponentiation as iterated multiplication. Continuing in this manner leads to iterated exponentiation (tetration) and to the remainder of the hyperoperation sequence, which is commonly denoted using Knuth arrow notation. == Introduction == The ordinary arithmetical operations of addition,...
a ^² b
 
@Fatalize yes, you see, but now we've just deferred the problem
what if I want to do that n times?
conway's chain notation solves that... until we want to repeat chains!
2 -> 2 -> 2 -> 2 -> ... (n times) ... -> 2
then what if we want to repeat that?
it's a never ending cycle of repetition
 
This reminds me of Vsauce's recent video on orders of infinity...
 
meta-meta-meta-uparrow
meta*n-uparrow
 
"what if we want to repeat that?" no point in inventing notations for things you don't use anyway
 
@KennyLau that's good, but what if I want to repeatedly use meta*n-uparrow?
 
3:23 PM
well
meta^n-uparrow
 
@Fatalize you've come to the wrong place if you wanted useful things :P
@KennyLau same question :P
 
well
meta(meta^n)-uparrow
 
Couldn't it just be triadic? f (base, value, meta-arrow-ness)
 
@KennyLau what if I want to repeat n metas?
meta(meta(meta(meta(meta...
@FryAmTheEggman ah, but what if I want to repeatedly do f(f(f(f(f(f(f(f(base, value, ...?
 
@orlp I ran out of notation
or not
meta(^n
 
3:25 PM
f^2(.........)?
 
@KennyLau I believe that was the goal :P
 
I've alway seen f o f = f^2(x)
 
Hmm, variadic? f(base, value, first-meta-ness, second-meta-ness, ...)
 
@FryAmTheEggman And then repeat that?
 
3:26 PM
Couldn't you just add one more argument if you wanted to repeat it?
 
Continuing that xor discussion, ^ isn't even a used symbol for xor in math
 
and then if I want to have n arguments?
 
@Fatalize I'd like to see a symbol which reflects the symmetry of repeated operation
 
What do you mean by n arguments? A different argument for each meta level?
 
For xor they probably looked at ⊻ and went "Hmm, ^ is close enough, right?" "No, wouldn't everyone confuse that with AND?" "Well, do YOU have any better ideas?"
 
3:28 PM
regardless of what operation you come up with, I can always come up with a function that grows faster by repeated application
⊕ is what cryptography papers use for XOR
the logic behind it is that it's addition without carry
so it's a plus sign with a circle around it
(\oplus)
 
Does anyone use multiplication without carry?
 
you thought BB(n) grew fast? try BB(BB(n))
 
It's called and @trichoplax
 
@trichoplax yes
@KennyLau no
it's multiplication of polynomials over GF(2)
(XOR is addition of polynomials over GF(2))
 
For bitwise?
 
3:32 PM
@trichoplax can you rephrase?
 
Well, "phrase" since I didn't bother phrasing it the first time :)
 
I don't know what you mean with "for bitwise?"
 
I mean is the (2) because we're talking about bitwise and?
 
sorry I apologize (partly)
GF(2) addition is XOR, multiplication is AND
but that's only for a single bit
(hence field size 2)
 
Ah I see
 
3:34 PM
however, for larger fields
e.g. GF(2^64) for 64 bits
addition is still XOR
but multiplication becomes polynomial multiplication, and it's no longer simple AND
 
Right
 
it's also not unambiguous
you have to choose your multiplication operation
because you need to reduce the polynomial multiplication modulo some irreducible polynomial
this is for example why there's multiple flavours of CRC (cyclic redundancy check)
you have CRC-32, CRC-32C (Castagnoli), CRC-32K
(Koopman {1,3,28}), CRC-32K2
(Koopman {1,1,30}), which differ by choice of irreducable polynomial
 
3:53 PM
@Downgoat :D I got the cheddar install script!
 
@EᴀsᴛᴇʀʟʏIʀᴋ \o/ Where?
 
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
command="git clone github.com/cheddar-lang/Cheddar.git; cd Cheddar; eval npm install;echo 'alias cheddarrepl=\"node $DIR/Cheddar/dist/interpreter/tests/t_repl.js\"' >> ~/.bash_profile"

if [ -f ~/.bash_profile ];
then
   if grep -q 'cheddarrepl' ~/.bash_profile
	then
		echo "Script already ran, or remove the any mentions of `cheddarrepl` from your .bash_profile."
	else
		if [ ! -d ~/Cheddar ];
		then
			eval $command
		else
			echo "Please delete the Cheddar directory before retrying."
bash only right now
i need to upload
 
that should all be a node script inside package.json
 
@Quill Then we can't use the script easily.
 
well you can save it as a .sh file in the repo
 
3:58 PM
@Quill ^^
It must be available using a curl command
Something like
 
and then add "dowhatever": "bash whatever.sh" to the package.json
 
And it has to be in a command such as
Also, some people don't have npm. :P
Welp, apparently, all Node users have npm.
But it must be available at ease.
Someone has also to create cpm install cheddar :P
 
4:18 PM
now it's day 2 of typing on the new keyboard, back to 40 wpm
But it can go down to 20 when I have to type multiple words in a row with letters that I struggle with.
I struggle with the right hand and 'b' because I always had my right hand on hjkl instead of jkl;.
 
q=k=>{u=k;l='';for(x=0;x<k+1;x++){if(k%x==0){y=k/x;p=Math.abs(x-y);if(p<u){u=p;l‌​=[x,y];}}}for(t=k;t<u+k;t++){o=Math.sqrt(t);l=o%1==0?[o,o]:l;}return l; }
 
multiline code blocks won't work in chat
 
Or, rather, you can't mix multiline code with a clickable hyperlink
 
I like this form of operator.
1138
Q: What does the C ??!??! operator do?

Peter OlsonI saw a line of C that looked like this: !ErrorHasOccured() ??!??! HandleError(); It compiled correctly and seems to run ok. It seems like it's checking if an error has occurred, and if it has, it handles it. But I'm not really sure what it's actually doing or how it's doing it. It does look l...

 
I still don't think you can actually turn on any markdown when multiline, can you?
 
4:27 PM
I think that's true too
 
@QPaysTaxes I liked that line too. :P
 
@QPaysTaxes no, Conor.
lol
@FryAmTheEggman yeah they will.
just you need 4 spaces, not the single backtick
test
test
taco
yep
blockquotes are funness
@QPaysTaxes do you use linux?
 
4:46 PM
0
A: Flatten the Array!

Bald BanthaJavaScript 33 bytes i=x=>'['+x.join().split(',')+']'; see this: http://codegolf.stackexchange.com/a/2711/47019

 
okay
Any linux users?
I need somebody to test something.
 
@EᴀsᴛᴇʀʟʏIʀᴋ I can pop onto my raspberry pi
what do you need
 
..
@BaldBantha can you run bash <(curl -s cheddar.vihan.org/install.sh) in the terminal?
 
um i guess
i'd have to boot up the pi and all
 
it should build cheddar and alias cheddarrepl to the repl.
@BaldBantha that's fine, you don't have to.
@QPaysTaxes can you run it easily? (in less then 5 minutes)
otherwise I'll wait for somebody else.
 
4:49 PM
Won't work on mac?
 
it does
but I need to test with linux also.
It plain won't with windows, unless windows 10 with bash.
 
k booted pi
JAS
how do I check if it worked
npm WARN package.json Cheddar@0.2.0 No repository field.
npm WARN package.json Cheddar@0.2.0 No license field.
yeah
still loading for me
I probably do my rpi has like everything
i never uninstall anything and I have so many projects that I installed the dependancies and then the project didn't work out
@EᴀsᴛᴇʀʟʏIʀᴋ I can try windows with bash if you want
nvm I don't have npm installed
pi is still loading
sh: 1: grunt: not found

npm ERR! Linux 4.1.13-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.6
npm ERR! npm  v2.11.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! Cheddar@0.2.0 postinstall: `grunt`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the Cheddar@0.2.0 postinstall script 'grunt'.
npm ERR! This is most likely a problem with the Cheddar package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
I did not have grunt
bbl I'll install grunt sometime for you @EᴀsᴛᴇʀʟʏIʀᴋ
 
5:06 PM
Scott Aaronson: Who Can Name the Bigger Number? I think I'm gonna binge-read this guy's essays. :P
 
@El'endiaStarman protip, change the width of that table column so the essay isn't 400px wide
 
@Poke It's from 1999.
And I can't do a thing about it. Deal with it. :P
 
well that explains the table formatting
i mean for ease of reading
 
I think it's perfectly easy to read, especially because there's nothing else around the text that distracts.
 
5:12 PM
@BaldBantha okay.
I need to do that. :(
 
yeah but imagine if you had 1500px of width
 
OMG I got Pinged!!!
 
making much better use of screen real estate
and you don't have to scroll nearly as much
 
Your eyes would have to move a lot more though.
 
eye exercise!
 
5:13 PM
Our eyes already get plenty of exercise. :P
 
@BaldBantha ...
 
Well, if you're not staring at a TV screen, that is.
 
does a computer monitor count
 
@Poke btw you know you can right click -> inspect element and just change the width yourself, right?
 
@mınxomaτ Move the curor to the left side of the N with the arrow keys and then type, it breaks. :DD
 
5:13 PM
@BaldBantha can you try it again, but use <(curl -s cheddar.vihan.org/bashinstall.sh)
 
@FryAmTheEggman That is in fact what I did
 
note the bashinstall, not install.
 
i was offering a suggestion to other potential readers
 
Oh hey, @Poke, do you know about Spritz?
 
negative
 
5:14 PM
Alright, just making sure :P
 
@Poke Spritz
@orlp Yes, I saw that earlier.
 
ahh maybe i have seen this
I feel like reading that fast is less enjoyable
 
@EᴀsᴛᴇʀʟʏIʀᴋ trying
 
Then there's the problem where you get distracted and have to go back to all the bits you missed
 
5:17 PM
npm ERR! tar.unpack untar error /home/pi/.npm/grunt-cli/1.2.0/package.tgz
npm ERR! Linux 4.1.13-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "grunt-cli"
npm ERR! node v0.12.6
npm ERR! npm  v2.11.2
npm ERR! path /usr/local/lib/node_modules/grunt-cli
npm ERR! code EACCES
npm ERR! errno -13

npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/grunt-cli'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES, mkdir '/usr/local/lib/node_modules/grunt-cli']
npm ERR!   errno: -13,
 
damnit
oh, try sudo
sudo <(curl -s cheddar.vihan.org/install.sh)
 
>.>
 
fixed the bash profile, trying sudo as well ("Script already ran, or remove the any mentions of 'cheddarrepl' from your .bash_profile.")
 
yeah
thanks for testing this
and hi @xnor
 
bash: /dev/fd/63: No such file or directory
 
5:19 PM
wiat what?
 
trying not sudo now
 
is that the full error message?
 
Please delete the Cheddar directory before retrying.
fixing that now
 
every run remove the stuff from .bash_profile and rm -rf Cheddar/
 
npm ERR! tar.unpack untar error /home/pi/.npm/grunt-cli/1.2.0/package.tgz
npm ERR! Linux 4.1.13-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "grunt-cli"
npm ERR! node v0.12.6
npm ERR! npm  v2.11.2
npm ERR! path /usr/local/lib/node_modules/grunt-cli
npm ERR! code EACCES
npm ERR! errno -13

npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/grunt-cli'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES, mkdir '/usr/local/lib/node_modules/grunt-cli']
npm ERR!   errno: -13,
i'll try sudo next it says try as admin... UG
what is concat? a lang?
 
5:21 PM
@BaldBantha admin normally = sudo... :(
idk what's wrong, i'll try to fix.
@BaldBantha @QPaysTaxes thanks for helping.
@QPaysTaxes D:
 
logged in as admin and trying again
 
What kinds of higher-order builtins can I implement to make recursion shorter? Right now I have to use the conditional operator and that gets really long really quickly. (Pretzel)
 
might be working!
 
wait
oh yeah!!!
 
NO WARNINGS
 
5:23 PM
also, if it doesn't work try running npm install grunt--save-dev and trying again.
@BaldBantha :DDDD
 
3
Q: Will the beam hit?

xnorA laser shoots a straight beam in one of the four orthogonal directions, indicated by <>^v. Determine whether it will hit the target O on a rectangular grid. Each of these will hit (True): ..... ...O. ..... ...^. ..... >O. ... v.... O.... ........... ........... O.........< ........... T...

 
wait did it finish?
 
still loading though but it got through the part that gave warnings last time
you should get a raspberry pi
 
I have one, but it's really old and doesn't really work anymore.
I learned python on it.
#randomactsofstarring
 
@EᴀsᴛᴇʀʟʏIʀᴋ um get a new OS and it is fixed?
@EᴀsᴛᴇʀʟʏIʀᴋ I could take that wrong
 
5:26 PM
?
@BaldBantha oh, cool.
 
taking forever, should I control C and see if it works?
 
no.
can you copy the current output?
 
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
grunt-cli@1.2.0 /usr/local/lib/node_modules/grunt-cli
├── grunt-known-options@1.1.0
├── nopt@3.0.6 (abbrev@1.0.7)
├── resolve@1.1.7
└── findup-sync@0.3.0 (glob@5.0.15)
Cloning into '/root/Cheddar'...
remote: Counting objects: 1203, done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 1203 (delta 23), reused 0 (delta 0), pack-reused 1130
Receiving objects: 100% (1203/1203), 294.82 KiB, done.
Resolving deltas: 100% (566/566), done.
 
@El'endiaStarman Spritz parses HTML with RegEx. Here's an excerpt from the source: pastebin.com/qmApN87s :D
 
still loading....
 
5:31 PM
@mınxomaτ Ah-haha, nice. They're not trying to fully parse HTML in all its arbitrarily-nested glory though.
 
As far as I can tell they are trying to score the readability of the page by evaluating it's elements.
 
When you're so caught up in code golf you forget that ^ is a regex metacharacter...
 
Hi
 
Hi
I'm puzzled over thinking of a dessert starting with N for the #NameAndroidN program.
@mınxomaτ N McNFace is not a dessert.
 
It could be something nutty ;)
 
5:48 PM
Nut Butter?
 
nougat
 
Good idea!
 
It can be Butnutty ;)
 
Submitted.
 
or Buttner
 
5:51 PM
@Optimizer It can't.
@Optimizer ^
It must be a dessert, and it must start with N.
 
nutella
 
Can't use names of trade marks.
 
nice cream
 
KitKat isn't trade marked?
 
@BaldBantha huh...
It hits there, and pauses for 5 seconds on my machine. :(
 
5:54 PM
still loading
 
@Poke It is, but I think people from Android signed a contract with Nestle.
 
ctrl-c, npm install grunt--save-dev, and try again?
 
ohhh
 
ah yes they did
 
5:54 PM
android N?
 
Android Never
 
KitKat is weird though since in the US it's owned by Hershey but it's Nestle everywhere else
 

« first day (1937 days earlier)      last day (2908 days later) »