« first day (2110 days earlier)      last day (2739 days later) » 

3:01 AM
is really bad at golfing JS
 
@Geobits oh. builtins.
well, $ in J if builtins :P
 
@ConorO'Brien halp ;_; idk how to golf JS
 
I'd help but idk how it works
 
@ConorO'Brien ... but you obfuscate JS all the time how can you not read it
 
@ASCII-only well, for starters, idk how to call it
 
3:06 AM
@ConorO'Brien f(array, shape)
r.push(f(a.splice(0,l/s[0]),s.slice(1)))‌​&&f(a,s,r,l) recursively splits a to chunks of length l/s[0], the f(a.splice(0,l/s[0]),s.slice(1)))‌​ chunks each chunk before it is pushed to r
 
I'm trying to execute it, but it gives me "Illegal character"
 
:(
Whoops my bad
f=(a,s,r=[],l=a.length)=>s[1]?a.length?r.push(f(a.splice(0,l/s[0]),s.slice(1)))&&f(a,s,r,l):r:a
 
Chat-mega-challenge: given k, find a polynomial formula that outputs a (distinct) prime for k integers.
 
@EᴀsᴛᴇʀʟʏIʀᴋ ????
 
3:13 AM
I think that's actually a challenge
 
example: 43142746595714191 + 5283234035979900n works for k=26
0 to 25
 
@ASCII-only oh, cool!
 
@ConorO'Brien I'd be impressed, it's on the wikipedia list of unsolved math problems.
 
@EᴀsᴛᴇʀʟʏIʀᴋ oh. maybe something similar then
 
@EᴀsᴛᴇʀʟʏIʀᴋ If it's not possible why post it
 
3:16 AM
it was mostly a joke
@ConorO'Brien maybe
 
3:26 AM
@ASCII-only do you know ruby?
wait nvm
 
3:39 AM
0
A: Sandbox for Proposed Challenges

PavelThe meta-polyglot quine In my time on PPCG, I've noticed that quine problems and polyglot problems are quite popular. Also, meta-solutions to problems, that is, scripts which generate a program which is the solution to a problem, tend to get a lot of positive feedback from the community. Therefo...

 
CMC: What's a good dish in your culture? (I know, totally random)
 
pizza
 
a barbecue-pizza-burger-dog
 
3:41 AM
^ found the college student
 
...
I obviously didn't choose peak diversity time.
TIL you can edit deleted messages with up arrow
 
@noɥʇʎPʎzɐɹC I don't know what my "food culture" is. I like to make and eat all sorts of things, and have lived in lots of places.
 
@noɥʇʎPʎzɐɹC elote is traditional mexican dish what are you talking about
but yeah, it's mostly US people in here right now
 
@Geobits In the culture you identify with the most, what's a thing that people love to eat?
:33373979 Probably the timezone, TNB is usually pretty diverse
 
3:44 AM
@EᴀsᴛᴇʀʟʏIʀᴋ Corn + popsicle + sugar = elote, in american terms.
 
@noɥʇʎPʎzɐɹC onion bhajia
 
@noɥʇʎPʎzɐɹC I'm saying there's no clear line for what culture I identify with most. US, sure, but not any particular area, and they all have different cultures. And I love to eat pretty much everything. Well, except mayo. Mayo makes me gag.
 
Looks neat!
 
@noɥʇʎPʎzɐɹC *parmesan and chili powder but yeah
 
@Geobits Hm, what do downvoters like to eat?
 
3:45 AM
and mayo
 
@noɥʇʎPʎzɐɹC Your reputation
7
 
is it tasty?
 
So delicious.
 
^ for reference
@Geobits It's free too.
 
Sometimes. Sometimes it costs me one to eat two of yours. Totally worth it though.
 
3:46 AM
@noɥʇʎPʎzɐɹC only for questions
 
@Geobits What cultures do you identify with? Which countries have you lived in the most?
 
question: how can i have a template item of a specific class (or a subclass of that clsas) . e.g. template<VSLClass T>
though that will bork
SO gives weird conveluted answer
@noɥʇʎPʎzɐɹC tin can with aluminum can
5
 
@noɥʇʎPʎzɐɹC Hmm. Born in Illinois, lived in Germany for seven years, Japan for three, New York for two, Georgia for seven, Florida for maybe six, Arkansas for another seven, and various short periods in Mississippi, Alabama, and New Jersey. Take your pick :D
 
@noɥʇʎPʎzɐɹC what is that?
@Geobits found the ex-military man
 
It's no secret. My parents were military too :P
 
3:50 AM
Wow. I've lived in two states.
 
@Geobits #keepthefaith
 
Oh, and I've "lived" in Iraq, Kuwait, and Qatar, if you want to count those. Not sure, but it was probably two years between those three places.
Oh, and a six-week stint in Texas that I usually try to burn from my memory :D
 
Don't let the texans hear
 
come now, texas 'aint that bad
 
^ can confirm that is false texas is not good
 
3:53 AM
Well I was only there for basic training ("boot camp"), so it's understandable that it wasn't a great time :P
 
they have guns and like using them and threatening people with them
 
@EᴀsᴛᴇʀʟʏIʀᴋ but they gave us the great texas song
and guns
 
But... there isn't a great Texas song.
 
sure there is
 
There are Texas songs, but no great ones.
 
3:55 AM
@Geobits no, the "great texas" song
not the great "texas song"
 
@ConorO'Brien Pretty sure that link counts as evidence in my favor ;)
 
s/my/our/ :P
 
@Geobits OK, programmer in the military? Diversity strikes again.
 
@ConorO'Brien But it's not called "great texas" or even have those lyrics.
 
@Geobits I heard a different version growing up >_>
 
3:57 AM
@noɥʇʎPʎzɐɹC Oh, I wasn't a programmer in the military. I did that as a hobby while I worked avionics.
 
no I'm not texan
 
@Geobits How'd you find programming? When you were in the army, how skilled were you?
 
I've been programming since I was ten. It's not something I picked up while in. And it was the Air Force, not the Army ;)
 
@Downgoat VSL? Yay, it's not dead!
 
@noɥʇʎPʎzɐɹC Skilled enough to find a job programming when I got out? I don't know how to give a skill level in this.
 
4:00 AM
@noɥʇʎPʎzɐɹC itll be dead if no one halp ;_;
 
arrange Cheddar, Pytek, and VSL on a scale of potential success
 
anyone here that (used to) play WoW?
 
   VSL      Cheddar      Pytek
< 10 ---------------------- 8 >
:P
@ConorO'Brien ^
 
terribly objective
 
not that i dont think pytek will be succesfull
btw, I got pre-compiled ches to work
 
4:04 AM
:o
 
though it has kinda minor bork atm
$ ./dist/cli/cheddar -o test.cdr test/cheddar/class.cheddar
$ ./dist/cli/cheddar -c test.cdr
/Users/vihan/Documents/Code/Cheddar/dist/interpreter/core/eval/eval.js:208
                    NAME = DATA.Operator; // Get the list of operators DATA has
                               ^

TypeError: Cannot read property 'Operator' of undefined
    at CheddarEval.step (/Users/vihan/Documents/Code/Cheddar/dist/interpreter/core/eval/eval.js:208:32)
    at CheddarEval.exec (/Users/vihan/Documents/Code/Cheddar/dist/interpreter/core/eval/eval.js:292:34)
okay maybe it still bork
 
0
A: Sandbox for Proposed Challenges

boboquackRegex Crossword Challenge Write the shortest program that outputs a valid solution to a regex crossword. A regex crossword is a crossword that has regular expressions for the clues, like in this Puzzling SE puzzle: The Prognosticator. Terminology your program needs to know (simplified from he...

 
4:33 AM
random music of the day:
 
Look what I found. "Cumberbrass"
 
I think I've outdone myself in terms of naming esolangs. I've just named one "tackle". That just makes me laugh for some reason :P
 
Wat
Am I missing something
 
0
Q: The meta-polyglot quine

PavelIn my time on PPCG, I've noticed that quine problems and polyglot problems are quite popular. Also, meta-solutions to problems, that is, scripts which generate a program which is the solution to a problem, tend to get a lot of positive feedback from the community. Therefore, I have created this c...

 
4:49 AM
Yoyoyo
I have a challenge idea
 
Tell us
 
Ummm
So it's a regex task
Given a BF program with 256 1's on a newline, match the number of 1's equal to the value of the pointer at the end of the BF program
Is it possible even?
 
@Qwerp-Derp I think you need to clarify. I, am not sure what you are asking
 
So you have a BF program (which is guaranteed to terminate)
on one line
And you have 256 1's (or any other char) on the next line
Your regex has to match the amount of 1's equal to the value of the pointer at the end of the program
 
Ah... ok
 
4:56 AM
Hm
 
My gut says this is impossible
 
But still, we saw impossible things done in PPCG
 
Should be possible
 
it requires a turing-complete regex
 
It's guaranteed to terminate though
Also, no , or .
Should I have no > and <?
 
4:58 AM
then there's nothing for it to do without < or >
 
What if the head goes to the left? i.e. the pointer is negative
 
Infinite to the left and right
 
Oh I see its not how far it moved its the value
I misunderstood
 
Ummm the programs only have to match a tape that's 3000 long in either direction?
Should that be a rule?
@PhiNotPi Does the regex still have to be TC?
 
I very much think that this is impossible with <> and trivial without it
@Qwerp-Derp With the tape resitiction it is a finite state machine and thus regex is sufficient to even if we are not gaurenteed its halting problem
 
5:02 AM
Non-halting programs are invalid though
 
I think it still requires a TC regex if you require the program to halt.
 
@Qwerp-Derp Yes but given the tape restriction BF becomes a finite statemachine fo which the halting problem is solved
*solvable
by a pushdown automata
 
What about wrapping?
 
same thing
it has a finite number of states
 
Should I just have a 30,000 long tape with wrapping?
So does it require TC like that?
Should there be limit on program size?
 
5:06 AM
Both of those will make the problem most certainly possible but the second would quickly become a lookup table
While the first might not reasonably change the feasablity of the problem (The best solution might be immensely large)
 
Should the tape be smaller then?
Maybe to 1,000?
 
I would say something like 10
but I don't know. I cant really be sure if this would yeild any interesting solutions
your original problem might have even been possible for all I know. I suspect not but I cannot prove it
 
But 10 should be really quick to do
Probably like 500
 
Is it? I implore you to try
I still have no idea how it would be done
but I do know it is possible
You might want to ask about the possibility of your original problem on cs.stackexchange.com. They are really good with that kind of stuff (computer science)
 
Hmmm, sure
 
5:13 AM
If you ask it could you link it to me? I am quite interested
 
0
A: Sandbox for Proposed Challenges

Qwerp-DerpMatch the BF output code-golf regex Your task is, when given a BF program as input and 256 1's on the line after the BF program, match the amount of 1's equal to the value of the pointer at the end of the code. For a BF tutorial, see here. Example programs: +++ (255 1's) (The above program s...

 
Beautiful timing
 
???
 
5:30 AM
@Downgoat What is this
@ConorO'Brien A bit
@ConorO'Brien ???
 
12
Q: Are there any languages especially good at ASCII art?

Socratic PhoenixI was wondering if there are any esoteric or golfing languages which specifically target text output and ASCII art? For example, 05AB1E at least started by targeting base conversions. Are there any golfing languages targeting text output and text output art? If so, do they have tip pages here...

@ASCII-only You should put charcoal on that ^
 
@DrMcMoylex ok will do
also Charcoal development has kinda stopped lately, sorry everyone (also anyone here willing to die writing around 128 overloads contribute?)
@DrMcMoylex ok halp what do i write
I have an urge to just link to the (nonexistent as of yet) tutorial :P
 
Yo!
Hi @Qwerp-Derp
I realised an error in the code for the gen_maze
not significant though
 
5:48 AM
@EᴀsᴛᴇʀʟʏIʀᴋ pls link to specific problem
 
6:06 AM
How can I factor a 93-digit number?
 
Very carefully
 
;_;
 
@betseg Stop trying to crack encryption
 
Not encryption
 
@betseg how big is your ram
 
6:09 AM
Our teacher asked
 
Is it divisible by any prime under say 1000?
 
wtf what kind of a lesson is that
 
@betseg Using a computer?
I'd say try doing "factor <number>" on WolframAlpha first
 
@arda you know Aydın Cerit? News?
 
@arda you don't need much RAM at all, maybe 100MB max, and that's if you use JS, you need plenty of time
 
6:12 AM
@betseg nope but reading eksisozluk entries about him now
@ASCII-only my bad; I've been dealing with iot stuff lately and tbh nothing I use ever has more than a mb of ram
 
Anonymous
@HelkaHomba 1f 2a 3b 4d 5h 6i 7c 8e 9g
 
@arda It's probably possible in under 1MB RAM if you optimize it well
 
6:27 AM
why is codeanywhere's pair programming borked?
 
You might be nowhere.
2
 
@DestructibleWatermelon How is it broken
 
the files don't load when pair programming is turned on
 
@betseg One, Two
 
6:48 AM
@Sp3000 thx
 
yeah back from lesson (holy hell I should've stayed home; I'm sick as hell and keep falling asleep in class), I could probably fit such a thing to 1mb ram, yeah
waaait slashdot bought sourceforge? niiice
 
97388839913164773144180653700430045648016870068507697797313816794125988183817453‌​6316361975757 * x = 111...111
x = ?
Aydın Cerit's question
I think
 
@betseg Is that the question you have to solve
 
He offers about ₺100,000
 
@betseg challange accepted
 
6:58 AM
Wolframalpha borks: link
 
Anonymous
@arda I'm not sure which is more surprising: that slashdot has the money to buy anything, or that anyone would want to buy sourceforge.
 
@Mego both are equally surprising
man my english sucks when I'm sick
@betseg any links?
 
Shouldn't be hard
 
i cant type his name as I use us qwerty lol
 
7:03 AM
inb4
 
For anybody who doesn't understand: Turkish money was like Zimbabwean Dollars. It's stable now tho.
 
ama yazik adamin emekli maasina
gtg
you could probably use some basic double and opencl magic
 
@ConorO'Brien In addition to the online compiler DJMcMayhem pointed to, there's this table. Most of the names are Matlab's equivalent function, not sure how useful that may be
What & does is change the number of inputs or outputs oh the next function to a "secondary default" value which is function-specific
For * it specifies one input, and * with one input computes all pairs of products of elements in the input array
 
7:26 AM
@betseg I thought you meant a 93-digit semiprime, but for your case this might be easier to use (run and use siqs(<number>))
 
@Sp3000 I misread the question ;_;
 
How so?
 
I thought that 11..11 was a factor of that 93 digit number, but it was vice versa
 
Well, as far as I can tell factoring still helps :P
 
@HelkaHomba I saw that on the news yesterday
 
Wow, 89 trackers on that site
 
Not a single message in the star board about the elections? I'm impressed
 
GO VOTE!!!
 
7:58 AM
-1, I can't :p
 
@Fatalize Please choose one of the following replies as the response to your message: 1) Everybody in the US is busy planning their move to Canada, 2) Everybody in the US is trying to vote but because of voting on Tuesday the line has gone all around the block and into the next town, 3) Everybody in the US is sleeping
 
I'll go with 1
 
@Sp3000 At least one person in the US has already voted and is not going anywhere.
;)
 
@ConorO'Brien @DrMcMoylex I just remembered this nice explanation of & by Suever
1
A: Tips for golfing in MATL

SueverThe & Meta-Function (Alternative Input / Output Specification) The traditional way to specify the number of input arguments to pass to a function is to use the $ meta-function 2$: % Two-input version of : Similarly, to specify the number of output arguments you can use the # meta-function...

 
Anonymous
@HelkaHomba Make that 3
 
8:14 AM
Mego is so tall he counts for 2 votes
 
@betseg Yeah that's what I thought when I read it
 
Anonymous
No, I have a friend that also voted early :P
 
Anonymous
I am tall, though
 
@Fatalize See this is just one reason why Australia > US, there's no unfairness here :P
@Fatalize Does that mean short people don't get to vote? D: wait so that's why kids don't get to vote
 
Anonymous
Didn't you guys have to kick out your PM about a year ago because he was so bad?
 
8:24 AM
@Mego About a year ago? IDK which PM that is, all our PMs are bad
 
"Which PM" is the correct response to that question :P
 
Anonymous
Turnbull replacing Abbott
 
Also I don't really follow politics so I have no idea who was elected when anymore
A few years back Kevin Rudd replaced Julia Gillard for like a few months before the election
 
Anonymous
In America's defense, we've only had one president ousted (Nixon, though he technically resigned, since he almost certainly would've been impeached) in the entire history of our country. Every other president has served their term(s) or died trying.
 
8:47 AM
I tried to do that n * x = 111...111 thing that betseg posted
It's at 400 million digits and counting, am I doing something wrong D:
 
Mine's at ~10^74 digits, so... shrugs? :P
 
@Sp3000 Wait, 10⁷⁴? How? D:
 
Well it's much easier to get a solution rather than the minimal solution :P
 
@Sp3000 Is it really though?
How exactly are you doing it
 
10^totient(n) = 1 (mod n), so you can do (10^totient(n) - 1)/9 if 9 does not divide n
 
8:54 AM
This is a stupid question but
How do I redirect a local HTML file to another local HTML file using meta?
 
@Sp3000 I'm probably being stupid but why use totient
 
No reason in particular, just the first thing I thought of (if you have another approach then it's probably not necessary)
 
@Qwerp-Derp en.wikipedia.org/wiki/Meta_refresh <meta http-equiv="refresh" content=";url=file:///foo/bar"> doesn't work?
 
@ASCII-only Let me try, for some reason I'm searching it up and it doesn't come up
Wait so do I have to include the full path?
 
@Sp3000 I'm just doing remainder = ((remainder * 10) + 1) % number, IDK how inefficient it is
@Qwerp-Derp Yes
 
9:01 AM
Has it found a solution yet? Because if not then yeah it'd be pretty inefficient for general numbers
 
No solution yet
@Sp3000 how are you calculating totient
 
Factorise then do product of each prime minus one (since there's no repeats)
 
oh wait you mean just calculate totient once?
 
Yeah, of the long number
(which was my n above)
 
0
Q: Product catalog

Highace2This problem is about separating a string representing a product identifier into three components. The first part consists of upper and lower letters of arbitrary length which represents the warehouse. The second part is digits which represents the product number. This part is also of arbitra...

 
9:12 AM
gives up trying to understand
@Sp3000 Is there any chance you could gist it + link?
 
9:32 AM
@ASCII-only ideone.com/eV4WKY there you go
(with a smaller example)
 
There is still one week left to submit your language to CALESYTA.
 
Anyone fluent in retina online?
 
Anonymous
I don't think I want to click that
 
10:48 AM
@Fatalize Almost forgot about that :P
 
Does Calesyta require a working repo for a language?
 
@Qwerp-Derp Yes IIRC
 
0
A: Sandbox for Proposed Challenges

vrwimParse an XML file Your task is to parse an XML file and pretty print it. I am explicitly making this simple to encourage extremely golfed code. The pretty printing goes from XML like this: <div class="community-option"> <input id="communitymode" name="communitymode" type="checkbox"> <l...

 
Wait what's PCRE
 
perl regex
@Qwerp-Derp Never mind no but I'd submit a complete spec in that situation
@Sp3000 Oh wait so you have a solution already? I wonder if you can submit a program that generates that number :P
 
11:04 AM
Hey @ASCII-only where's your grammar parser thing?
 
But you published one...
 
@Qwerp-Derp The blog post?
 
yeah
 
@ASCII-only I don't know what the original question was - if it was to find any x, then sure that's simple. If it's to find the minimal such x then that gets harder.
 
11:06 AM
@Qwerp-Derp Wasn't actually published on an official blog, but hang on will bring it back online
Can't actually read the image though, I can try to find a translation
 
Wait so which functions are the parsers
 
Got a job offer at NVIDIA for Deep learning. I don't even have any experience with that.
 
@Qwerp-Derp Um wait
@Qwerp-Derp here
 
Wait what the heck are the imports
 
@Qwerp-Derp The other files
 
11:30 AM
@ASCII-only i.hurimg.com/i/hurriyet/98/770x0/581ef49e18c77313b0e83760 a=*huge number*; n=*an integer*; Bn=*n 1s* ((10^n-1)/9); Bn%a=0; b=2^n-1. Questions: n=? What are b's factors?
 
Does it say anything about wanting minimal n?
 
It asks for the minimal n
 
Yeah, that makes things harder, and especially the last part of needing b's factors as well :P
Hmmm
I think I have minimal (74 digits) but not sure. But in any case the second part's too hard :P
 
11:49 AM
@Sp3000 a has 93 digits. How can n be 74?
 
The minimal n divides totient(a) so it's always smaller
 
nvm yeah
 
(yeah what I previously called n is apparently a now, sorry for the confusion)
 
@Geobits How good were you when you were ten? What ranking? What role? Did you fly fighter jets? :P
Huh.
 
Meta's had that problem since forever :/
 

« first day (2110 days earlier)      last day (2739 days later) »