« first day (1970 days earlier)      last day (2866 days later) » 

4:00 AM
Personally, I think the Jordan challenge is fine as is, it's just a "get around to it some year" challenge
 
thanks to whoever submitted the legitimate currying response
 
@Mego When it should be "don't make hard challenges unless you can accept the fact that they will get less activity simply because they're hard". Whether you blame "the users" or not, easy things will get more attention basically anywhere, because it takes less time and effort.
@Upgoat I still don't see why you think mine was insincere. Transposing is useful.
 
@Geobits If you'd called it zip or transpose, maybe...
 
@Geobits oh, it was about transposing?
._. whoops
 
So you decided it wasn't useful before reading it. Nice.
 
4:02 AM
:| I read it
just not fully
I trust you as much as Optimizer after this
 
You can call it whatever you want. The name grate() is obviously perfect for it, but I can see how some people have no soul.
 
@Upgoat Glad you appreciate currying :)
 
At this current moment in time in Pytek, 0 is equal to 1. Obviously, I'm working on fixing this bug. :P
 
@bkul I'm surprised. Usually he gets upset when we talk about curry.
 
@Upgoat You deserved to be laughed at after falling for that.
 
4:03 AM
@El'endiaStarman O_o how does that even happen
@DJMcMayhem ;-;
 
@Upgoat I have no idea?!
 
i promis im smart gaot
i maed space toy and ches
 
My arms hurt... ;-;
 
becus ur skeleton
 
Turned out to be a silly mistake. I have a pBoolean class, and I checked to see if an instance of it was false, rather than if its value was false.
 
4:11 AM
@El'endiaStarman that sounds like an easy bug to fix... unfortunately in node, it cannot cope with cyclic dependencies so my entire cheese is messed up ;-;
 
@Upgoat I avoid the problem of circular dependencies in Python by doing stuff like import pytek_nodes as pn and then putting all references to pn.* inside classes and functions.
I don't know if something similar is possible for node.
 
@El'endiaStarman What is Pytek?
 
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.
 
@El'endiaStarman Is there a repo I can look at?
 
So... a golfing language?
:P
 
4:16 AM
It's a mainstream programming language that I (and quartata) am developing.
@bkul Not yet.
@DJMcMayhem Not in the slightest.
 
@El'endiaStarman i have different problem. I have String class, and I have it's properties in seperate file. how to have each require eachother is idk, because node doesn't support cyclic dependencies
 
Well, I mean, it'll be golfy in the way that Python is.
 
So, not at all?
 
@Upgoat Do those have to be in separate files?
 
Python's only good at golf when you compare it to traditional C-like languages.
 
4:17 AM
@DJMcMayhem Exactly.
 
As a very broad term, including C# and java
 
@El'endiaStarman no but they erally should be
 
Among mainstream languages, it will be relatively golfy. My goals for Pytek lie in a different direction than golfiness, though.
@Upgoat Why is that?
 
Could you post some sample syntax?
Fizzbuzz maybe?
 
I am in fact currently working on getting FizzBuzz to work!
 
4:19 AM
@El'endiaStarman the standard library is seperated from the string class because A) the string class is buried within Cheddar's internals B) stdlib is very interdependent on other stdlib modules
 
Oh, OK cool.
Ping me when you have it working?
 
@El'endiaStarman I already got fizzbuzz in cheddar ;P
 
\for[x]([1..100]){
    \if(x%3 == 0 and x%5 == 0){
        \print("FizzBuzz")
    }(x%3 == 0){
        \print("Fizz")
    }(x%5 == 0){
        \print("Buzz")
    }{\print(x)}
}
 
@DJMcMayhem C is pretty golfy: pastebin.com/fVc1thnF
 
@DJMcMayhem That'll probably be within the next 15 minutes or so. But what'cha gonna do about it when I get it working?
 
4:20 AM
Idk. Read it?
 
@El'endiaStarman is [1..100] range literal?
 
@DJMcMayhem That's the code up above.
 
@mınxomaτ Yeah, I suppose that's true. It get's a bad rap though.
 
@Upgoat Yup. Supports open () and closed [].
 
you should add some else statements, kinda unreadable at a glance (no offense to the language)
 
4:21 AM
Oh, that's cool. Would it be like:
\for[x]((1..100))
 
@El'endiaStarman ah cool. I should steal that for Cheddar :P
 
As in [1..100) is like Python's range(1,100).
 
does [..100] work?
though I have range operator already nvm
 
Yeah I get that, I'm just wondering because your example had brackets in parenthesis.
 
@Upgoat It will eventually. It'll produce a list starting at 100 and decrementing. (Probably. Not 100% settled.)
 
4:23 AM
They say video games make u violent, but hundreds of years ago we burned people alive for being witches so probably humans are just garbage
 
@DJMcMayhem Yeah, the parentheses for a \for are the arguments, the things to loop through.
 
@El'endiaStarman imo it should do [1..100] but [100..] should be 100-1
 
\for[x](y) is like Python's for x in y.
 
What's it written in?
 
@DJMcMayhem python
 
4:24 AM
@Upgoat What if I want to go from 100 to infinity?
 
@El'endiaStarman wat. how will that work?
._.
 
Like a generator maybe?
 
@Upgoat Just like a generator.
 
hm :/
 
I'm gonna do another onebox real quick but then I'll go back to lurking, I promise
 
4:25 AM
@El'endiaStarman I don't think that's good idea but ok
 
Timing
 
Are you familiar with python's generators?
 
Application Developer at Harvard Medical School - Department of Biomedical Informatics (Boston, MA) http://stackoverflow.com/jobs/118924/application-developer-harvard-medical-school
 
@goaty-mc-goaterface
 
@DJMcMayhem yes
 
4:26 AM
@DJMcMayhem JavaScript has generators too
 
@DJMcMayhem HamJam Mc Hamface
@Quill dont forget to mention JavaScript's generators are better
 
@Quill Oh, OK. I never would have known that.
On a scale from 38-297, I don't javascript at all.
 
on a scale of 0 to Cheese: goat
question is where does goat lie on that scale?
 
Really, really long though...
 
@R.Kap you should learn chedr pls
pls i hav no chedr usrs pls somewun pls us chedr
 
4:29 AM
Damn, java really is verbose.
 
@Upgoat I will us chedr
 
@DJMcMayhem I thought that was a well-established fact by now
 
@DJMcMayhem Yes, yes it is...
 
Like, I already knew that, but occasionally I forget just how ridiculously long it really is.
 
Java : Verbose :: Geobits : Downvote :: Marky : Killing Goats
 
4:30 AM
But hey, I'm just glad I learned one of the most, if not the most, widely used language(s) out there.
 
I outgolfed Dennis yesterday.
 
@bkul wat dat mean
 
@Upgoat I will lern chedr 4 u
 
@R.Kap yoy should learn Cheddar. It's the most widely used language on my local barn. It's what all the cool goats are using (just me :()
@bkul \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/
yes pls
 
4:31 AM
So, none of the cool goats?
 
@DJMcMayhem ;-; i am cool goat
i maek ches
 
Sry, I dnt wnt t lrn chdr...
:P
 
y u do dis R Cap. u cud uv eetin so much tastee ches
Hello @EᴀsᴛᴇʀʟʏIʀᴋ!
@Quill do you know how solve cyclic dependency
 
Wht knd f ches
 
node is being pain in the ass
@R.Kap chedr ches
chedr ches is best ches
 
4:33 AM
I wnt pper jck ches
pper jck ches is bst ches
 
@Upgoat but is chedr sharp?
 
Please, give java upvote. Java coffee is the best coffee.
 
@Upgoat it you're talking about static properties on a type, there's no much you can do unless you differentiate the types and make two types
 
I mean, can you really resist this?
 
4:38 AM
Or use the manual type definition inside the type declaration
 
@Upgoat How to run Cheddar? I am node nub
 
If strings are maps then make those string properties maps instead of strings
 
@bkul what os u uz
 
@Upgoat linux
debian specifically
 
@bkul ok go to websiet cheddar.vihan.org and folow instalashin instrucshin
 
4:40 AM
\o/ I have a working FizzBuzz! :D
 
@Upgoat did dat
 
@Upgoat Y u tak lk dis
 
\o/ now uz cheddar comand
@El'endiaStarman \o/ \o/ \o/ \o/ \o/ is pytek on github yet
 
@Upgoat No, not yet. Patience...
 
pls
 
4:41 AM
Thank you for java upvote whoever upvoted.
 
@R.Kap np
 
I still want to implement handling of two different operators of the same name, and maybe classes too before I put it up on GitHub.
 
@Upgoat Just cheddar? In shell?
 
@El'endiaStarman what's wrong with putting something in-dev on GH
just leave a empty master branch
are you using git atm?
@bkul yeah
 
@Upgoat I am, actually.
 
4:42 AM
 
@El'endiaStarman so are you commiting on the master branch etc. or do you have feature-develop-release-master workflow?
@R.Kap :D
btw whoever suggested Factor for cheddar: It already exists as Math.factor ;)
 
@Upgoat I commit to master once things work to my satisfaction.
 
@Upgoat I get command not found. Result of running the installation command from cheddar.vihan.org: pastebin.com/W52yUhPd
 
@bkul oh god
 
I think something broke somewhere
 
4:44 AM
try installing node first
 
I did
 
Java thanks you for other upvote whoever else upvoted.
 
that is very very weird
 
@Upgoat Any chance of a TIO/REPL for Cheddar?
 
@El'endiaStarman You can rename that branch to develop. And create a blank master branch with just like a README, etc. and use that on GH. that's my suggestion
@bkul I asked dennis. I'll ask for follow up
@Dennis update on Cheddar for TIO? :3
@bkul hm, I might work on a REPL. If I can get a nice syntax-highlighted terminal/textbox thing
 
4:48 AM
@Upgoat you could use the bottom fixed position REPL I used for SE Chat Terminal
 
Even the country is happy.
 
@Quill what does that mean? :|
 
@Upgoat I used this node plugin that makes the input line fixed to the bottom, lets you clear the input
 
Anyone wanna help make a html REPL for Cheddar?
It's possible with browserif
just gotta make the css is the hard part
 
4:53 AM
@Upgoat In theory, I'd love to help. In reality, I suck at web-dev, and I probably won't end up doing very much.
 
@DJMcMayhem idk it's really just CSS
 
So I'm probably not the right person to ask
 
@Quill do you know of any terminal/console style/libraries for web?
 
Cascading sucky sheets?
 
I'll use SCSS probably thogu
 
4:55 AM
@Upgoat nope
 
;-;
 
@Upgoat sass compiles to CSS anyway
 
yeah
Making a JS fiddle. if anyone wants to help feel free to just drop in:
 
@Mego Actually now that I revisit it I think I got an idea. Also you probably had a typo in the first two test cases and copied the wrong matrices
 
Who is intelligent iguana?
@Upgoat?
 
5:00 AM
idk
 
@Upgoat codepen is better
 
why
does it have collabotration
 
5:12 AM
You could always just use cloud9 <_<
 
Anonymous
Egg on my face; there is an error in the test cases :P
 
Anonymous
It's fixed now
 
5:33 AM
@Upgoat Had forgotten about it tbh. Your installation script gives a 404 btw.
 
@Dennis oh, are you doing the one on website: cheddar.vihan.org or on GH. GH is outdated
 
GitHub
 
oh ok, this installation script should work though:
bash <(curl -fsSL cheddar.vihan.org/i/nix/cheddar)
be sure to remove bash < and test to avoid getting MitM'd
 
Yes, I saw. I'll look into it later. Bit tired right now.
 
oh ok
 
5:37 AM
Btw, there's mktemp -d to creates pseudorandomly named temporary directories in the proper folders.
 
really? huh didn't know
@bkul do you have the JSfiddle open? I accidentally closed it and lost all of the stuffs Q_Q
 
@Upgoat I do not ;-;
 
dammit
screw it im rage quitting
more suggestions pls
only got 2
 
@Upgoat on it
 
thank you :3
 
user215373
5:51 AM
hi
 
@Dr.ZOMBOOS Hi!
 
@Dr.ZOMBOOS halo
@bkul btw i figured our your bug with chdedar installation
use: bash <(curl -fsSL cheddar.vihan.org/i/nix/cheddar) instead
 
@Upgoat Oh?
@Upgoat Seems to have worked, but I still get command not found
 
try restarting shell
if not check if /usr/local/share/cheddar exists
 
Hello
 
6:02 AM
@Upgoat It does not
 
okay that is problem. Can you share the log of the install?
 
@Upgoat Unfortunately no. I restarted shell.
 
:(
 
@Upgoat The Euler—Mascheroni constant.
 
@zʏᴀʙiɴ101 already have it
 
6:13 AM
o_o
 
Math.GAMMA
 
Nothing to suggest for the string library...
I can probably write a definition for a random number library...
It might have a wrapper for Math.random() and/or the random pseudo-device (/dev/urandom on Unix).
I'll keep you posted when I finish the sketch.
@Upgoat Here are possible variants for number cruncher functions/generators.
Functions return a boolean depending on whether the number satisfies that property.
Generators generate a list of all numbers satisfying that property up to index n/number x.
Another suggestion: Dennis numbers. Cuz why not? ;)
 
6:34 AM
too specific
 
@Upgoat So much suggestions, eh?
Alright, I'm finished.
 
@Upgoat there you go
 
I gotta go to sleep will look over suggestions tomorrow. Thanks for them though!
 
Keep me pulled when you are into anything...
 
There might be quite a few from me...
 
6:59 AM
0
Q: Count, Replace, Add Up!

DennisDefinition Define the nth term of the CRAU sequence as follows. Begin with the singleton array A = [n]. Do the following n times: For each integer k in A, replace the entry k with k natural numbers, counting from 1 to k. Compute the sum of all integers in A. For example, if n = 3, we start ...

 
Two minutes. Very good, @NewMainPosts!
 
Not on OEIS, I take it?
nvm?
 
Ah, crap.
 
Now the fun part: proving the closed form
 
@Upgoat I deleted the Cradle project because it was inactive in two days. Sorry. :(
 
7:01 AM
... actually that doesn't sound too bad
 
7:12 AM
Haha!
0
A: Count, Replace, Add Up!

Dr Green Eggs and Iron ManMATL, 5 bytes EGqXn Try it online!

 
I'm conflicted whether to answer now :/
 
Why?
 
Would probably close as dupe of a binomial coefficients question if we had one
 
well we have Catalan numbers...
@Dennis for searchability it might be worth mentioning simplicial numbers somewhere.
 
Probably "simplicial polytopic numbers" specifically, since that's what OEIS seems to call them
 
7:19 AM
I skip the sandbox once and there's a closed form for my "innovative" idea...
11
 
@Dennis You what? o_O You skipped the sandbox?
 
@Dennis Next time you skip the sandbox: OEIS everything :P
 
Next time you skip the sandbox: don't skip the sandbox.
7
 
@MartinEnder Why? Because the Sandbox is essential. :P
 
@MartinEnder Done.
 
7:30 AM
does anyone here have a ti 84 on hand? I ghink I found a bug
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Actually, I might. Gimme a second to grab it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't.
Not even an emulator with a flash update... :(
 
Nvmd, apparently I do not have one.
Sorry
 
I have to find the binomial coefficent operator in Jelly before anyone else does...
 
if anyone does type fPart(logBASE(16,2
 
7:33 AM
@zʏᴀʙiɴ101 It's c
But tbh, slight sad now though, array manip would have been slightly fun
 
Oh yes, that would have been fun to attempt using array manipulation
 
Heh, my first closed challenge.
I'm calling it a dupe of a previous (disguised) binomial challenge. Maybe you can instead have the output be the full list without summing? — xnor 1 min ago
I was going to ask for the full list initially, but I thought the sum would be easier to verify...
What do I do now? Changing to full lists invalidates all answers...
 
@Dennis if it's any consolation, my answer couldn't be golfed by using the closed form ;)
 
Do a new one?
 
@DJMcMayhem Considering that three of the four answers use the closed form, that's certainly an option.
@MartinEnder I'll take your word for it. I have no idea what your answer is doing...
 
7:41 AM
@Dennis it basically implements the definition literally, but in a less ordered manner
 
i think i understand why the sum is the binomial, bijectively
or is this old news already?
 
Opinions? Should I invalidate three answers or just post a new challenge?
 
@xnor I'd be interested in hearing an alternative explanation - the only one I have in mind is taking the simplicial polytopic numbers formula and subbing d=n+1
 
I've got it
 
I don't much mind if you invalidate my answer. But a new challenge sounds fun :D
 
7:47 AM
in ti 84, logBASE(16,2 creates a magical number 4 whose integer part is 3 and fractional/decimal part ise one. So, flooring this magic four yields three. This is the only such integer I can find
 
What is the OS in this picture?
(Spoiler: I found it from Code Golf, in the PrettyFont challenge.)
 
@miles updated the Mathematica answer with the recursive form
somewhat disappointingly that even beats using IntegerReverse
 
...
Everyone looking at anything except me, except Easterly Irk, who thinks I'm annoying...
 
I can't really not look at that screenshot. But I figured "I don't know" wouldn't contribute anything to the conversation.
 
you want attention?
 
7:53 AM
@MartinEnder You even included that unary operator, I had almost forgotten about that
 
@miles yeah, saves two bytes
 
@MartinEnder Why are you pinging him instead of replying?
 
Thank you UPS, for actually bending an LCD screen in its package >.>
 
@Dennis either way seems fine to me
 
@zʏᴀʙiɴ101 because I need a mouse to reply and it's clear from context which message I'm responding to.
 
7:55 AM
@MartinEnder Why don't you have your mouse?
You do have your keyboard, don't you?
 
I do have a mouse, but my hands are on the keyboard...
 
OK, let's try this again.
0
Q: Count Up, Replace, Repeat!

DennisDefinition Define the nth array of the CURR sequence as follows. Begin with the singleton array A = [n]. For each integer k in A, replace the entry k with k natural numbers, counting up from 1 to k. Repeat the previous step n - 1 more times. For example, if n = 3, we start with the array [3]...

 
Linking to a closed challenge doesn't seem to have benefit, I think. (no offence @Dennis)
Can someone help me make a chatbot in JavaScript? ._.
It's my next project for zyabinVI.
 
@zʏᴀʙiɴ101 I'm guessing it's linked to say something along the lines of "oops - look what I accidentally did..." rather than to be useful
 
@Sp3000 Let's represent the evolving list as a tree whose nodes (including internal ones) are labelled by numbers. Each time you replace a number k with 1..k, you put those as the leaves of the k node. We start with just the node n. The question is then the sum of the leaf values after n replacement steps, or equivalently, the number of leaves after n+1 replacements steps.
is this good so far?
 
8:07 AM
user image
7
 
@Dennis Can each number be output on a newline, or does it need to be array syntax?
 
@xnor Yep, keep going
 
e.g. [1 1 2 1 2 3]
 
@DJMcMayhem Any intelligible form of output is fine.
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ fPart(logBASE(16,2 -> .25
 
8:08 AM
Cool, ty
 
Anonymous
Whoops, it's 1, not .25
 
Anonymous
Did the order backwards because of mathprint >_<
 
@DJMcMayhem Why have you changed back your name?
 
@LeakyNun Part of your parée, maybe?
(Don't know how to write that)
 
6 hours ago, by Upgoat
@DrGreenEggsandIronMan ಠ_ಠ no one cares about Dr. Seuss books >:| :P
 
8:10 AM
@Sp3000 Now, note that each leaf corresponds to a non-decreasing sequence of numbers as you walk down to it from the root. It starts at n and has at most n+2 values. In fact, each such sequence corresponds to a leaf. So, it remains to show there are choose(2*n,n+1) such sequences.
 
Anonymous
 
@xnor nods as recognition of listening
 
@Sp3000 Let's remove the root n at the start of each sequence, and pad them all to length exactly n+1 with 0's at the end. Then, each sequence is produced by starting at n and performing operations of either print or decrement, with print happening n+1 times and decrement happening n-1 times. These are 2*n total operations, and we need to choose which n+1 are print.
 
Heh, nice
Hmm I assume the padding is with... 1s at the end? Since you can only decrement n-1 times
 
@Sp3000 oh, you're right
in fact, i was incorrectly imagining 1 to be leaves, whereas in fact they have a child of 1, so all paths have the same length
the 1's automatically pad down with 1's
 
8:18 AM
Yeah, that'd make sense
 
8:38 AM
@Upgoat You're already awake? o_O
I thought that'd take another 7 hours or so...
 
1
Q: Alternating sign matrix verification

Sp3000An alternating sign matrix is an n by n matrix consisting of the numbers -1, 0, 1, such that: The sum of each row and column is 1 The nonzero entries in each row and column alternate in sign These matrices generalise permutation matrices, and the number of such matrices for a given n was of i...

 
@Sp3000 This also gives a strange method of solving the revised challenge: Take all lists of n numbers in [1..n], filter for sortedness, take the first elements
 
8:55 AM
o_O
 
@xnor that depends on what order you generate those tuples in, doesn't it?
 
yes, it should be lexicographic order
 
oh
hm that doesn't really work for me
 

« first day (1970 days earlier)      last day (2866 days later) »