« first day (1965 days earlier)      last day (2902 days later) » 

12:07 AM
@xnor nice idea! I want to do this with js now
12:17 AM
@quartata Yes.
Map { 1111: "toSource", 0011: "fround", 1100: "log10", 0001: "imul", 0111: "hypot", 1011: "pow", 0000: "acosh" }
(all properties of math, mapped to truthy or falsey)
Oops, those are the longest
@CᴏɴᴏʀO'Bʀɪᴇɴ :D +1 for using map
I switched to node
Map {
  '1111' => 'on',
  '0111' => 'or',
  '0011' => 'norm',
  '0001' => 'lcm',
  '1011' => 'pow',
  '0100' => 'log',
  '0010' => 'mod',
  '0110' => 'xor',
  '1001' => 'equal',
  '1101' => 'smallerEq' }
(using math and mathjs)
12 / 16
12:35 AM
@mınxomaτ Wait what really?
@El'endiaStarman Yeah, Spotify bought the algorithm that runs the API that the jukebox uses.
That's sad considering I hate Spotify
Don't want to have to use it just to loop my music nice and pretty
Yeah, I didn't have any strong feelings towards Spotify (since I don't use it), but this definitely makes me dislike them. The Infinite Jukebox is a really cool thing.
@quartata AFAIK that's not what Spotify bought. They acquired the API behind the app, which is proprietary.
The jukebox just (ab)uses the API.
They were made by the same people though
Or at least so I thought
12:39 AM
If they didn't buy the algo, then someone else can just spin up a new jukebox
Still, the acquisition is not about the looping. The jukebox just uses some features of the analytics suite behind echo nest
can you seriously buy an algorithm?
thanks, intermittent internet
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes. LZW encoding is one example.
Actually, LZW encoding was patented.
But the root reason is the same: an algorithm is someone's intellectual property, just like a novel or song.
@El'endiaStarman so people can't reproduce the LZW algo?
12:41 AM
reproduce, yes. commercially use, not without paying costs
@CᴏɴᴏʀO'Bʀɪᴇɴ They can now since it was allowed to expire (and I don't think it was ever enforced), but yes, people couldn't use it commercially in the past.
Patents all expired a long time ago though in this particular case
What I mean is: They didn't buy the looping app, but the whole collection of algorithms and procedures that echo nest uses for many different things.
@Quill ( ͡° ͜ʖ ͡°)
12:42 AM
@mınxomaτ No, I know. But I would be highly surprised if they weren't using the API for the looping
@Upgoat nice
I started using the "You got Mail" sound effect for pings...
>_> things in my cheese just keep on breaking
@quartata That's probably against a whole bunch of contracts with record labels (altering music and serving the remix etc.).
12:43 AM
Reason I used LZW encoding as a specific example is that that's how .gifs encode image data. There was a variant encoding developed that would work with decoders but not use the algorithm to avoid infringing the patent.
@mınxomaτ Oh, right. lmao
Too much legal fuzz for a small feature
@LeakyNun Thank you for reminding me I had to revisit that challenge. I somehow forgot about it.
Legal fuzz is the best kind of fuzz
I need to visit that challenge too
1:01 AM
@Quill ಠ_ಠ they used p, an undescriptive variable name in the tutorial
@Quill D:
@Upgoat it wasn't written by code reviewers
make a meta post on it :P
uh no
feel free to open an issue in the SEDE repo though
and then we can play "Guess how long until Upgoat's issue is closed"
;_; i dont like this game
@Quill do you know of a think that does a think where that thing is when I rename a file, or relocate it it will change all require/imports with that file name to
surely someone has made such a thing
The musicians in here will probably like this (@PhiNotPi, and who else...?):
1:11 AM
I doubt it, use a regex replace in your IDE instead
ಠ_ಠ how can a code reviewer be suggesting regex
because regex replace is beautiful, also I'm finding myself using regex more lately
@El'endiaStarman i make good music when my herd and i all eat tin cans at the same time
@Upgoat Good music as in Kotomi-playing-the-violin good? :P (That won't make sense unless you've watched CLANNAD.)
@Quill A) :D we are taking your soul from CR B) D: ಠ_ಠ regex is evil
Hello @HelkaHomba!
1:13 AM
@Quill why, you don't like it?
Oh, you've seen it?
Hello Goatsy
@Upgoat regex is evil, but so is a lot of things, like goats that try to take over the world
@Quill i wonder who you are reffering to
1:14 AM
@Maltysen I wasn't a fan. I liked that other one about the violin player whose name fails me
(i actually do not know what you are reffering to pls explain)
@Upgoat chatgoat?
I have a function: CheddarLexer.jumpWhite(). I should rename it to "Thug" so I can do Thug.jumpWhite() :P
When was the last successful pop-con?
@Quill oh ok
@HelkaHomba No
1:16 AM
sorry, bad joke
@HelkaHomba Patch the Image, Jan 29 looks like.
@Upgoat woah watch out, you don't want to trip over that EDGE
@Quill why is edge capitalized ._.
1:17 AM
@El'endiaStarman It's time for another one!
oh god do NOT lookup edge on urbandictionary
@Upgoat its not that bad...
which definition are you talking about?
@HelkaHomba by this, do you mean that you have written one?
eh, it's not that bad but still very inappropriate @Quill ಠ_ಠ for making very inapproriate joke. brb reporting to se :P
edge like Microsoft Edge, jeez @Upgoat get your head out of the gutter
still don't get it :|
1:21 AM
where can I bug the people who make node for a feature request?
@CᴏɴᴏʀO'Bʀɪᴇɴ github.com/nodejs/node/issues?
@CᴏɴᴏʀO'Bʀɪᴇɴ this is why you use babel
you can make your own features
@Maltysen I will by the end of the day probably
wow that infinite jukebox made one of my favourite songs so much more repetitive
1:23 AM
@Upgoat still doesn't have splat in lambdas
@Quill just try "all together now" by the beatles
@El'endiaStarman speaking of music, I listened to that thing you posted yesterday, pretty cool
btw does anyone mind doing testing for Cheddar? There are so many bugs I need help finding all of the so I can eat squash them
@CᴏɴᴏʀO'Bʀɪᴇɴ f=(...a)=>a works
1:24 AM
@Upgoat i guess
@Upgoat no, it doesn't.
you need the es2015 plugin for splat
:D just go to cheddar.vihan.org and install for your system, I'll set up installation instructions for windows in a sec
babel = es6, for es2015 you gotta get a plugin for babel
@Upgoat where do I run the linux command?
will it install where I run it?
1:25 AM
@Maltysen no, it'll install in your path.
run it wherever you'd like
though you might need sudo access
wait no nvm
it'll prompt you
will it add to my .bashrc?
no it'll add to /usr/local/bin and /usr/local/share
you know what lemme just download it and see
1:26 AM
could I still bug the node people with it?
they might close it, but go for it
@Upgoat where will the path thing be?
it'll install the binary into /usr/local/bin/cheddar and supporting files into /usr/local/share/cheddar/ that's the only places/things it'll install
it won't touch your PATH
@Upgoat its giving me some warnings
yeah, that might happen. Are those showing up during the part where it has the bar that's installing things?
1:31 AM
probably maybe?
@Upgoat how do i run it?
cheddar: command not found
use the full path?
1:33 AM
wat. was it succesfull? What's the result of find /usr/local/bin -name "cheddar"?
try doing export PATH=$PATH:/usr/local/bin; exec bash
@Upgoat no output
your script said it was successful tho
no errors? Can you paste the install log here
npm WARN engine [email protected]: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN engine [email protected]: wanted: {"node":">=0.12"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.12"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN cannot run in wd [email protected] grunt build --minify (wd=/home/dooku/Downloads/cdrtmp-1466040548)
1:35 AM
you need to run it with sudo it does not have permissons to install the dependencies
@Upgoat no it asked me for sudo
i put in my password
i didn't post that here because i accidentally typed half my password in plaintext before the prompt showed up >_>
that will only sudo some stuff npm needs more privledges, and I haven't set up the script to run npm with sudo >_>
> npm WARN cannot run in wd
so i sudo the entire thing?
that gave an error
sh: 0: Can't open /dev/fd/63
(23) Failed writing body
1:38 AM
okay uh, I'll update the install script
okay, try now. I've made a fix, if it doesn't work I'll make another fix (run without sudo)
3 easy steps to keeping a secret: 1. Forget the contents of the secret. 2. Forget that you were keeping the secret in the first place. 3. Realize that you've probably already done this several times by now.
@Maltysen okay, I've pushed a fix, try it now
oh shit nvm
forgot to merge into master
1:58 AM
@Maltysen okay, try now
@Upgoat gimme a synonym for "console"--I'm writing a small console library, like console.log
@flawr No but I love that picture :D
@CᴏɴᴏʀO'Bʀɪᴇɴ STDOUT? terminal?
For Cheddar I'm doing IO.printf for console.log
2:00 AM
@AlexA. o_O
@Upgoat like Lua?
idk lua
Lua (/ˈluːə/ LOO-ə, from Portuguese: lua [ˈlu.(w)ɐ] meaning moon; explicitly not "LUA" because it is not an acronym) is a lightweight multi-paradigm programming language designed primarily for embedded systems and clients. Lua is cross-platform since it is written in ANSI C, and has a relatively simple C API. Lua was originally designed in 1993 as a language for extending software applications to meet the increasing demand for customization at the time. It provided the basic facilities of most procedural programming languages, but more complicated or domain-specific features were not included;...
oh shit that's similar
Similarity isn't a bad thing
My Cheese has absolutely no affiliation with that thing
but when Lua does it, it looks ugly
@Maltysen are you still there? :3
2:04 AM
@TimmyD Perhaps relevant to your interests? scoop.sh
scoop.sh it
@CᴏɴᴏʀO'Bʀɪᴇɴ can you write a batch script to: run the following shell commands (but in batch):
git clone github.com/cheddar-lang/Cheddar.git
cd Cheddar
npm install
grunt build --minify
it works in batch.
maybe not the grunt, but it shuold work just fine
and then copy that dir to C:\Program Files (x86)\cheddar
copy "%cd%" "C:\Program Files (x86)\cheddar"
and then add C:\Program Files (x86)\cheddar\dist\cli\repl.js to the %PATH%
2:12 AM
@Upgoat i went away im back
do i still run with sudo?
@Upgoat Idk how to add to path :P
@CᴏɴᴏʀO'Bʀɪᴇɴ wait no, instead of the grunt command, run ./node_modules/.bin/grunt
just copy paste that instead of grunt
@CᴏɴᴏʀO'Bʀɪᴇɴ explorer > computer > settings > advanced settings > env variables > PATH
2:13 AM
with batch
@Maltysen are you mac or windows or linux?
@Upgoat i'm linux, im guessing conor is windows
@Maltysen cool, did the installation script work yet?
Jambalaya should be Gumbo, oops
2:17 AM
@HelkaHomba Lentil soup is where it's at
@AlexA. mleh
@HelkaHomba Tomato is good too, especially gazpacho
@Upgoat why would i ever chmod -R 777 my entire downloads folder
@EᴀsᴛᴇʀʟʏIʀᴋ are you windows?
@EᴀsᴛᴇʀʟʏIʀᴋ no thats only when you alias i just tested on my mac
2:20 AM
@Upgoat also, i thought it didn't store where i ran it
@Upgoat i just tested on my mac
It did???? That means ir peobably broke
@EᴀsᴛᴇʀʟʏIʀᴋ ?
chmod 777 /etc/shadow (how to fix all your permissions woes)
@Doorknob what counts as ppcg discussion? Site rules? Doscussing challenge solutins?
2:23 AM
@Upgoat does this look useful to you?
"use strict";
const terminal = require("./terminal.js");

terminal.log("Testing 2!");

/* =>
begin inner
  Testing 2!
end inner
@Upgoat The Cheddar discussion should probably go to the Cheddar room
@AlexA. Mini-challenge: Given 1 output potato, given 0 output tomato.
@CᴏɴᴏʀO'Bʀɪᴇɴ idk i dont see the difference between that and printf
I mean the grouping
@HelkaHomba @c"tomato potato"
2:25 AM
@HelkaHomba e=>e?"potato":"tomato"
@HelkaHomba @c2"tomatopotato
Now do it without any o's
Or go do something that doesn't waste time ;)
2:30 AM
@HelkaHomba I guess I should leave The Nineteenth Byte then. :P
`` "upnqpubup":(3/)\ri=\ ``
(I can never remember which formatting works where)
ಠ_ಠ why am i the only vote for tomato
tomato soup is best soup
It matches your avatar
2:38 AM
@Upgoat I updated node and splat works
Oh it's time. https://t.co/4KYr3rQtKy
Does anyone here still use a "rabbit ears" tv antenna?
I remember having to adjust them all the time as a kid.
ye old magick
27 messages moved to Cheddar
2:47 AM
ಠ_ಠ you moved a message that wasn't part of cheddar
4 messages moved to Cheddar
in Cheddar, 9 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
@Upgoat I updated node and splat works
@CᴏɴᴏʀO'Bʀɪᴇɴ which
that was unrelated
@CᴏɴᴏʀO'Bʀɪᴇɴ oh
2:48 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ did you see this?
A: Even or odd number?

Eᴀsᴛᴇʀʟʏ IʀᴋFuzzy Octo Guacamole, 3 bytes 2^m 2 # Push 2 to the stack ^ # Push the input to the stack m # Modulus # (implicit output)

1 message moved from Cheddar
#perfectionist unfortunately for me
2:49 AM
ik the feeling...>_>
@AlexA. As a frequent TNB user I was perfectly fine and not bothered by the Cheddar chat here :|
17 messages moved to Cheddar
Way more "on topic" than talking about soup..
←ಠ_ಠ for moving Cheddar
1 message moved to Cheddar
2:50 AM
@HelkaHomba Cheddar has its own room
shit failed :| ;-;
good gravy, trying to move messages makes more noise than the messages being there in the first place
@StackExchange wat is the point of "moved to/from messages"
@CᴏɴᴏʀO'Bʀɪᴇɴ agreed, now things are more confusing
Matter of perspective. For Cheddar debugging stuff you should use the Cheddar room.
2:52 AM
Oh well
@HelkaHomba {"tomato"0}i{"potato"1}_X
^ Upgoat | Downgoat v
@HelkaHomba no
big question: Should the string class in Cheddar be String or string
2:54 AM
@Upgoat string
@feersum no
@EᴀsᴛᴇʀʟʏIʀᴋ why
:^) I'm using branches and fancy git workflow. I finally can git :D
question should it be: Bool or Boolean
what should be outputted when you attempt to print a class? Not a class isntance
I vote s_t_r_i_n_g. Underscores are good
g'night guys
3:04 AM
@Upgoat the latter.
@Upgoat class <className> { <innardS> }
@CᴏɴᴏʀO'Bʀɪᴇɴ night
@CᴏɴᴏʀO'Bʀɪᴇɴ no
3:05 AM
halp, how maek cheddar quine
3:32 AM
i'm now like 99% of the way to cheddar v0.2 :D
@zʏᴀʙiɴ101 do you wanna help beta test Cheddar? :3
@Upgoat I can make a C9 workspace, if so you wish. :D
I have more questions than you think.
@Upgoat Which fancy git workflow do you use? :3
3:47 AM
the unit testing I have setup for Adynata is pretty good @Upgoat if you're getting stuck
also I suggest you do the unit tests in a new project and use git submodules to keep the project dependency up to date
Ahh, so many pings on Upgoat's part.
@Upgoat The jade package has moved to pug.
Also Upgoat, could you come to the zyabinVI beta room?
4:07 AM
gah that inverse exponential generating function challenge would be easier if the input was size 2n and we only had to output a size n sequence
or if we knew the error O(x^(n+1))
@Maltysen Whether this works is one thing (of course it does). Solving the equations is another.
@Dennis 37 bytes.. that's nice.
35, ignoring that stupid bug.
@Upgoat where are you? :/
@LeakyNun Re the inverse egf challenge: how did you generate the test cases?
4:20 AM
@Sp3000 Those are all known sequences.
But they're truncated
5 hours ago, by Leaky Nun
New challenge about taylor series again in 10 minutes :D
5 hours ago, by Leaky Nun
This time I don't even know if an algorithm exists
@Sp3000 What do you mean?
They are truncated to the same length.
The terms afterwards will not affect them.
How do you know that the inverse of the original and the inverse of the truncation start with the same terms?
Because they would multiply to give 1
It's almost like a field
Not when you truncate it though, right?
4:23 AM
Why would they not?
[a0 + a1x + a2x^2/2! + a3x^3/3! + ... + anx^n/n! + O(x^(n+1))] times [b0 + b1x + b2x^2/2! + b3x^3/3! + ... + bnx^n/n! + O(x^(n+1))] equals 1+O(x^(n+1))
@LeakyNun Well I mean it's not quite 1 (i.e. the error term)
@Sp3000 You mean O(x^(n+1))?
The later terms will not affect the earlier terms
How to install Cheddar on a C9 workspace? >_>
the same way as normal. start up a node workspace, clone the repo, npm install
4:30 AM
Okay, seems I got it.
Installing Cheddar on the workspace...
npm install done.
now npm run build
Cheddar installed!
schas002:~/workspace/cheddar (master) $ node dist/cli/repl.js
cheddar> quit
@LeakyNun Hmm k... think I'm convinced now - any rules on builtins?
@Sp3000 No rules... yet
Do you have any in your mind
Not really - I'd almost say Mathematica's got this if the builtin names weren't so long :P
4:39 AM
Do you have any algorithm?
Other than letting builtins do all the work? No, not really
What is the algorithm of the builtin?
Turn into series -> invert -> turn back to coefficients
How does it turn to coefficients?
I'm sure there's an actual algorithm, just too tired to think of one at this point
4:42 AM
Is it just repeated differentiation?
Oh, of course there's an algorithm - you can just do polynomial division :/
never thought of that
not sure if it works
It would, but it's a tad different because you need to watch the factorials
I mean
polynomial division from the lowest power?
If the error terms are known when multiplied with the truncated inverse sequence, you can also use discrete fourier transform
4:49 AM
@zʏᴀʙiɴ101 you should've just ran the installations droit the you would've had cheddar comamnd
@Upgoat Did you read my other pings?
Read from this message.

« first day (1965 days earlier)      last day (2902 days later) »