« first day (2324 days earlier)      last day (2518 days later) » 

7:06 AM
0
Q: Patterns match for composed mathematic expressions

RosLuPPatterns match for composed mathematic expression This question is about to find in a math expression W 2 other math expressions G and F(y_) [F depend from y_ ] such that W=F(G) input ° one string W where there are valid mathematical operations [+*/-^ etc] and functions [sin() cos()...

 
7:34 AM
0
Q: sandbox too much big

RosLuPsanbox too much big in my opinion sandbox it is too much big each one of people here has to have max 1 post in sandbox [even with more questions in it] and the content of each post has to be limited... one can not past in it the Film one see in Tv etc have a Good day

 
7:46 AM
@Downgoat Well, it is supposed to output evil and not that ascii image of the sheep :/
 
7:57 AM
Am I the only one here who doesn't see what the big problem with the Sandbox is?
7
Sure, there are a few minor flaws, but for pretty much everyone, it does what it should
 
8:48 AM
@BetaDecay No, you are not the only one not complaining about the sandbox... Except for the fact that it cannot be accessed with the mobile app, there is nothing wrong with it ⍨
 
The sandbox is a solution with problems. That's much better than no solution at all
 
Exactly
 
I think the main problem is that not enough people view it frequently, but that's not a problem with the sandbox itself, and is usually remedied by mentioning a post in here
 
9:16 AM
@Riker oh god dog
 
@Dennis avatar change request
 
why...
 
because I learned how to make art and I need to be validated about my abilities now
also protip there is a fair chance you have to screen cap that to be able to use it
@flawr look out, you're next
 
If you make one for me, there's no need to ping me. I'll see it if it gets starred
 
but people might not star it
also yours is a bit too minimalist I think to make glitch art interesting enough. no offence
 
9:20 AM
That's my subtle way of saying please don't ping me randomly
 
;_;
alright who starred the sadface
 
One mean comment is enough for me. I didn't star the tears
 
and not my databend art ;_;
 
 
1 hour later…
10:24 AM
2
Q: Does it repeat?

OkxA sequence of characters repeats if it contains two consecutive sub-sequences that are equivalent. For example, 2034384538452 repeats as it contains 3845 twice, consecutively. Therefore, your challenge is to decide whether a string contains a repeating sub-sequence. You may take the input as a ...

 
10:59 AM
@EriktheOutgolfer For the repeating challenge, I got a two-byte answer if the repeats don't have to be consecutive
 
they have
 
;_; still noone has starred my arts
 
Anonymous
11:16 AM
@DestructibleLemon Stop begging for stars.
 
Anonymous
@EriktheOutgolfer Thanks to your suggestion, I managed to shave several bytes off of several answers. I can't believe I had been using íu and íub instead of c in so many answers.
 
11:52 AM
Why are people editing this post to golf it down instead of letting the author to do so?
 
Several people are involved, none of whom appear to have rejected the application of a golf from the comments. You could add a comment to let the answer author know that this is against policy and they are free to roll back the edit, if you wish
 
should I make a glitch art room at some point?
 
CMC: Load Dennis' last message
 
You don't need permission - feel free. Probably worth adding a brief overview in the room description if you want to attract people who don't know what it is (like me)
That sounds ominous
 
Anonymous
12:03 PM
@Mr.Xcoder In here or anywhere on Chat.SE?
 
@trichoplax art but based around glitches
and databending
but mostly I was asking because it wouldn't be useful if noone went there
I think I will make it tomorrow
good night
 
If no one goes there at first, but they do some time later, that still seems useful
 
Anonymous
12:17 PM
@Mr.Xcoder JS + jQuery, 239 bytes: $.get("http://chat.stackexchange.com/users/37160/dennis?tab=recent",d=>$.get("h‌​ttp://chat.stackexchange.com"+$(d).find(".message > a[href^='/transcript/240']:first").attr('href'),d=>alert($(d).find(".highlight > .content").html().trim())))
 
Anonymous
I'm sure there's a better way
 
> Blocked loading mixed active content “http://chat.stackexchange.com/users/37160/dennis?tab=recent&_=1497097359378”[Lear‌​n More]
 
Anonymous
@LeakyNun If you're on HTTPS chat (which apparently isn't what you get by clicking TNB from the sidebar on PPCG), +2 bytes for the https instead of http for both URLs
 
@Mego +1 for instantly knowing how to debug
> Object { readyState: 1, setRequestHeader: setRequestHeader(), getAllResponseHeaders: getAllResponseHeaders(), getResponseHeader: getResponseHeader(), overrideMimeType: overrideMimeType(), abort: abort(), done: add(), fail: add(), progress: add(), state: state(), 10 more… }
 
Anonymous
@LeakyNun Yeah that's the implicit print in the console. The output is in an alert.
 
12:27 PM
@Mego I received no alert.
 
Anonymous
I don't know why you wouldn't, unless you had them turned off
 
Anonymous
It definitely works on my side
 
I receive an alert for alert(1)
 
Anonymous
The loading might have gotten interrupted or timed out, or it could just be really slow for you for whatever reason
 
but I got the implicit output
 
Anonymous
12:29 PM
$.get is asynchronous, so it returns immediately, but only runs the callback once it's done loading
 
I see
 
Anonymous
The output is done in a callback in a GET request inside a callback inside a GET request, so there's a few potential points of failure
 
Anonymous
232: $.get("http://chat.stackexchange.com/users/37160?tab=recent",d=>$.get("http://c‌​hat.stackexchange.com"+$(d).find(".message > a[href^='/transcript/240']:first").attr('href'),d=>alert($(d).find(".highlight > .content").html().trim())))
 
> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at xn--chat-076a.stackexchange.com/transcript/…;. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
 
Anonymous
And that also lends itself to easy generalization: n=>$.get(`http://chat.stackexchange.com/users/${n}?tab=recent`,d=>$.get("http‌​://chat.stackexchange.com"+$(d).find(".message > a[href^='/transcript/240']:first").attr('href'),d=>alert($(d).find(".highlight > .content").html().trim())))
 
Anonymous
12:32 PM
@LeakyNun Once again, change the protocols to https
 
@Mego already changed
 
Anonymous
Make sure the dumb whitespace breaking characters that chat inserts are gone
 
@Mego right.
can you paste it in pastebin or something?
 
Anonymous
I'm working on a Node version that can run on TIO
 
I just need to copy it
 
Anonymous
 
nvm I removed the U+200C out
 
@Mego that's going to be painful
 
it worked
 
Anonymous
@KritixiLithos I know
 
Anonymous
I gave up because TIO doesn't have jQuery installed for Node
 
12:44 PM
Great @Mego
 
Jelly is a double-interpreted language because it is interpreted with Python, which is interpreted with C
Is there any triple-interpreted language?
 
Is there a python interpreter written in an interpreted language? There are a few different python interpreters. If so you could interpret Jelly with that...
 
Anonymous
@trichoplax PyPy
 
JIT compiler written in Python. Is that close enough @LeakyNun?
 
@trichoplax still double?
 
12:57 PM
I mean if that counts as double, you could convert the Jelly interpreter to run on that, making it triple
 
well....
 
Anonymous
Pyjamas is a Python implementation on JS
 
@Mego link?
 
Anonymous
Well, it compiles Python to JS, which is close enough
 
Anonymous
Actually Pyjamas isn't feature-complete so it won't work for Jelly, but Skulpt is
 
Anonymous
12:59 PM
So Jelly -> Python (Skulpt) -> JavaScript -> C++ (v8)
 
So it can run most Python code in JavaScript?
niiice
 
Okx
The PPCG grad script is meant to make chat look green at the bottom, right?
 
Anonymous
@Okx Yeah, you can turn that off if you also find it visually repulsive
 
Okx
it doesn't work for me, though
 
Anonymous
Blame the goat
 
Okx
1:11 PM
but i want to blame the penguin
 
Anonymous
I've made like 3 contributions to the userscript and they were all bugfixes for things that the goat broke
 
Okx
the TIO thing doesn't work as well, not sure if it's complete though
 
1:42 PM
@Mego No need to specify scheme or domain; it won't work anywhere else anyway. $.get("/users/37160?tab=recent",d=>$.get($(d).find(".message > a[href^='/transcript/240']:first").attr('href'),d=>alert($(d).find(".highlight > .content").html().trim())))
Now that I've posted that myself, does that count as a quine? :P
2
 
Not anymore :P
 
Well, it worked when I posted it. ;)
 
I guess we should call it a "former quine"
 
@fergusq Why does this bork: Try it online!
I don't understand the differences between the lists (yes, they are different [a=b] yields false)
a behaves fine, b acts weird
 
2:02 PM
@Dennis since the URL system in TIO is changed, would you mind posting your "quine" in here?
 
It's a trivial change in the URL system and also the quine.
 
user165474
@LeakyNun I did?
 
@HyperNeutrino never mind
 
user165474
Oh okay.
 
user165474
And thanks for the -30 bytes as well :D
 
Okx
2:18 PM
i added a bounty to one of my questions a while ago but it's not come up here (~5 hours ago)
 
Anonymous
It's been 3 hours, but yeah that's weird
 
Anonymous
I guess the bounty feed gets updated much less frequently
 
seeing as how people keep asking about cleaning up the sandbox, would old, downvoted, seemingly abandoned questions constitute removal?
 
Please comment on a sandbox post before deleting it, and give a few weeks for the author to see the comment. I don't think they will be notified of the deletion otherwise
 
-4
Q: Please solve this Ruby task for me, it should not be hard (two tasks, second one builds on the first)

athalosI am not sure if this is the correct website to ask this. Hi, I need these two Ruby assignments solved, thank you. Task 2 builds on Task 1, and they should not be difficult, as this is beginner Ruby. Task 1: Task is to create a RUBY program that can sum, max, and product from an input file, and...

 
user165474
2:33 PM
@NewMainPosts lol of 10 views it gets 5 CVs, 3 DelVs, and 5DVs. rip.
 
Okx
ppcg chat just fixed itself lol
 
user165474
It broke earlier?
 
Okx
it hasn't worked for me before
 
user165474
:o
 
Okx
guess how i accidentally fixed it
 
2:34 PM
Closed posts show more than one close reason if people chose different ones now. Nice
 
user165474
@Okx no idea. did you log out and log back in?
 
@HyperNeutrino Posts shouldn't get deleted that quickly. The author might not even have seen the comment of close reason before it got nuked.
6
 
Okx
@HyperNeutrino i clicked on downgoat's message on the starboard where he said "ATaco can you make userscript that allows us to downvote chat message"
 
user165474
@Okx oh that worked? hm
 
user165474
@Dennis Sorry. But correct me if I'm wrong; OP can always see their own post even if it's deleted?
 
Okx
2:37 PM
i think downgoat is trying to tell me something
 
CC @LeakyNun @EriktheOutgolfer
@HyperNeutrino If they still have a direct link or know how SE works, sure. There's little benefit to a swift deletion though.
 
Are submissions allowed to assume an empty working directory (or a working directory that contains only the file being run)?
 
user165474
@Dennis Okay. I'll keep that in mind for similar cases in the future.
 
@Doorknob Just claim that it only works on TIO. :P
 
@Dennis sorry went with the crowd...can you undelete please?
 
2:39 PM
Well, the issue with that is that it doesn't work on TIO because of the internet access thing. :P
 
@EriktheOutgolfer Already taken care of.
 
@Dennis alright
 
@Doorknob I could have sworn there was a meta post on this, but I can't seem to find it...
 
If there isn't, there should be.
 
@Dennis thanks
btw I actually wondered at first why there were two delete votes so fast, and then assumed that there was a valid reason to delete the post, so I rushed up on clicking that button...read it a bit too, but with the votes in mind found it delete-worthy (another reason why people shouldn't rush on the delete button)
 
user165474
2:44 PM
I saw delete (1) so I at first thought it was someone who closed it also deleting it but I probably would have deleted it anyway. I guess deleting it that fast has no advantage because it won't show up on the front page anyway because it has too many downvotes.
 
And it gets deleted eventually by the system.
 
yeah RemoveAbandonedClosed
@Doorknob hmm...time to make it then
 
Yeah, I'm writing it now. Where's the policy that says bytes from a filename count towards your score? The closest I can find is a comment.
 
erm that comment doesn't exist?
 
I am in the hard procedure of turning an 4 or so year old phone into something like the google pixel
 
3:01 PM
@EriktheOutgolfer Shows for me
(it's not deleted)
 
whoops wrong page
btw I was sorting by "active"
 
@trichoplax Comment links break sometimes if they lead you to the wrong page.
 
s/sometime/alway
 
@Dennis Interesting - I just changed the sort to active like Erik mentioned and now the link takes me to the top of the page. I'll bear that in mind if I have trouble in future - thanks.
 
3:29 PM
btw active sort comes from main
 
For me it remembers which sort I used last time, but separately for main and meta, so I can have a different sort set for each
 
Is it just me, or does imgs.xkcd.com/clickdrag/9n5e.png not load at all?
 
I get 404
 
@KritixiLithos it's not just you. imgs.xkcd.com looks down from here :P
 
Then why does only 9n2e load?
 
3:39 PM
1
Q: What assumptions about the file system layout can be made?

DoorknobAt times, it may be advantageous for a solution to a challenge to make certain assumptions about, for example, the directory from which it is run. For example, a bash script that compiles and runs a file with gcc can reduce ./a.out to ./a* if it can safely assume that no other files in the ...

 
@KritixiLithos cached in your browser?
 
no it does load for me too
 
interesting; for me also
 
0
Q: Prime Factor Random Numbers!

FoxyTask: Given two positive integers, generate a random integer between them (inclusive) and then output all its prime factors. Examples: Input: Random Number: Output: 1,2 2 [2] 12,46 18 [2,9] 142,17 40 [2,2,2,5] Scoring: This ...

 
0
A: Sandbox for Proposed Challenges

Jörg HülsermannPlan and Chain a route through OEIS code-golf number math Your Task is to reach so many OEIS sequences you could make with chaining your last sequence with a math operation to a new sequence. Your starting OEIS sequence is in every case https://oeis.org/A001477 Given as Input an positive In...

 
@MDXF congratulations... now lemme make 100 PR's /s
 
@flawr ikr
10/10
 
@MDXF your readme's format is very confusing...
I see both txt and md in it
 
4:35 PM
@MDXF quite strange that you use the singular jump for the array and plural jumps for the index.
 
@MDXF so a makefile just compiles your files
 
@Riker 10/10
 
4:56 PM
yes
 
5:08 PM
@KritixiLithos Yeah
@LeakyNun Should I switch that?
@LeakyNun I'll fix that
 
user165474
Ooh my local library switched to Windows 10
 
@MDXF i made two pull requests
 
user165474
@MDXF How do you have 8 pointer directions when each cell only has 6 neighbors?
 
        switch (direction) {
          case 1: x--; y--;    break;
          case 2: y -= 2; x--; break;
          case 3: y--;         break;
          case 4: x--;         break;
          case 5: x++;         break;
          case 6: y++;         break;
          case 7: y += 2; x++; break;
          case 8: x++, y++;    break;
       }
@HyperNeutrino ^
 
user165474
Oh it can jump.
 
5:10 PM
Whoa boy thats long
 
@SIGSEGV ....
 
@LeakyNun Thanks :D
@HyperNeutrino Take this:
 
user165474
also one of the sections of the library which is an overhang to the parking lot had to get closed because someone ran into the roof with a truck so it might be unstable D:
 
@SIGSEGV that's acceptable
 
Sorry one sec @HyperNeutrino
 
user165474
5:13 PM
^ This is code golf though
 
user165474
That's alright
 
user165474
Shoot I don't have caret reply because this isn't my computer
 
user165474
Hold on, syncing Chrome :P
 
user165474
Oh okay thanks.
 
user165474
5:14 PM
Also some idiot stuck like 5 pieces of tape to this monitor screen and I'm too lazy to remove them -.-
 
¬_¬
 
@MDXF are you here?
like, constantly here
I may ask you tons of questions
 
@quartata showerthought for qnethack if you ever get back to working on it: each level has a guaranteed special feature/room, i.e. a fountain, altar, graveyard, etc.
or alternatively, every 10 or so levels is a level where every room is a special room/has a feature
 
@MDXF I can't seem to find a goat built in :/
 
user165474
5:27 PM
oh github desktop is nice
 
user165474
I should get it for my laptop
 
@MDXF I'm going to take that as a no
 
@MDXF Not sure how general or specific of tips you're looking for. Do you have an interpreter (or better, documentation) somewhere yet?
 
@LeakyNun thanks
 
5:30 PM
@HyperNeutrino do not reccomd github desktop is evil
 
user165474
oh?
 
._. Iphone autocorrect reccomend to incorrect spell
 
@Downgoat How so?
 
user165474
well first of all i can't even find the files
 
@HyperNeutrino it cannot rebase and it always looks like it never says fast forward
alao branching is really clunky
 
user165474
5:31 PM
oh ok?
 
user165474
don't understand any other that
 
user165474
other than branching
 
So it's really easy to Bork your entire git project
 
I'd say it's easier to bork your entire project if you're using the command line and don't know the right commands :P
 
user165474
whoops I accidentally typed sudo rm -rf / --no-preserve-root xD
 
5:32 PM
I mean on command line there is always reflog so you can undo even the most major of borks
 
user165474
except for ^^
 
@HyperNeutrino >_< thank god im not the only one
 
@Downgoat I once accidentally merged an Android app with my dotfiles, and all my dotfiles got erased
 
user165474
I was kidding
 
user165474
I was just saying that as an addition to ETH's point about command line being easier to bork than git desktop
 
5:33 PM
@KritixiLithos did you try revert? That is point of VCS
 
user165474
I did rm -rf / after I first got Linux just to see what would happen
 
git would only delete them if they were fracked
 
I manually added my dotfiles back
luckily I stored their contents elsewhere once git borked
 
@Riker haha 3/4/5
 
@flawr 3/4/5= 15/4 right
 
user165474
5:37 PM
no 3/4/5 = (3/4)/5 = 3/20
 
user165474
because division is left-associative
 
      3/4/5
5 5 5 5 5 5 5 5 5 5 5 5
that's what Dyalog gives me
 
user165474
3/4/5
05
 
user165474
that's what Jelly gives me
 
user165474
because / is reduce
 
5:38 PM
GUYS THIS WAS JUST THE RATING OF THE PICTURE @RIKER SENT ME
 
@HyperNeutrino but you have to flip it because not multiplication right
 
user165474
multiplication is associative
 
._. Wait shit
 
user165474
division is left-associative
 
user165474
exponentiation is right-associative
 
5:39 PM
3^2 + 4^2 = 5^2
 
/ is replicate as a dyad, but it is also reduce when it is a monadic operator
 
@HyperNeutrino depends on the langauge
 
user165474
so a*b*c=(a*b)*c=a*(b*c), a/b/c=(a/b)/c, a^b^c = a^(b^c)
 
user165474
@flawr I meant in math
 
but math depends on the language as well
 
user165474
5:40 PM
?
 
@HyperNeutrino I don't think that makes sense...
 
@HyperNeutrino so a*b*c=(a*b)*c=a*(b*c), a/b/c=(a/b)/c, a^b^c = a^(b^c)
I'm the master of formatting
 
user165474
backslashes?
 
yes
 
user165474
cool
 
user165474
5:41 PM
too lazy
 
:38020568 so a\*b\*c=(a\*b)\*c=a\*(b\*c), a/b/c=(a/b)/c, a^b^c = a^(b^c)
 
user165474
xd
 
user165474
Ah okay.
 
user165474
@KritixiLithos Wait but reduction can only be done with dyadic operators.
 
@HyperNeutrino that wasn't supposed to make sense, unless it does
7
 
user165474
5:42 PM
Well it doesn't
 
I meant in Dyalog APL
+/⍳5 = 15
where ⍳5 yields 1 2 3 4 5
 
@KritixiLithos The ironic thing is, your statement could be describing itself as well
 
user165474
@KritixiLithos but you said "it's also reduce when it is a monadic operator"
 
/ is reduce when it's a monadic operator, that was right
/ is replicate when it's dyadic
 
user165474
?
 
user165474
5:45 PM
Oh you're talking about / itself
 
user165474
ohhh
 
user165474
Wait so what does replicate do then
 
      5/1
1 1 1 1 1
 
user165474
? ok then
 
makes sense?
 
user165474
5:46 PM
kind of
 
5/1 2 gives 1 1 1 1 1 2 2 2 2 2
 
user165474
ok
 
1 2 is a vector/array
I think it's like Jelly's x
 
user165474
kinda makes sense
 
user165474
ok
 
5:47 PM
I am very good at giving out explanations
:P
 
user165474
:thumbsup:
 
Question: can I post Sanders tweet on puzzling for decoding :|
 
quelle tweet?
 
@Qwerp-Derp Here's the progress on Stacked. Right now I'm trying to make an esolang representation of all the necessary commands and datatypes in C. Then, I'll either transition the code to C++, or remain in C and try to make a custom hash type.
 
user165474
6:06 PM
Also ooo I got my first bounty :D :P
 
user165474
(thanks Peter Taylor :D)
 
6:25 PM
@flawr what?
oh
O_O
that's
kinda odd but really cool
 
53 mins ago, by flawr
3^2 + 4^2 = 5^2
 
@HyperNeutrino what for?
 
 
1 hour later…
7:45 PM
Question: should the ?. operator short-circut:
a?.b.c
The reason is that (a?.b)?.c would need to happen
because a?.b would evaluate to an optional
 
huh?
what language?
 
VSL
 
what does ?. do
 
8:02 PM
Man, the site is quiet at weekends!
 
8:23 PM
room proceeds to prove the point
 
@totallyhuman I seem to have that effect here regardless! :D
 
8:48 PM
Ah, goddamnit! Just figured out that there's a ridiculously obvious song title to give this. \facepalms\
Coat of Many Colours (Dolly Parton)
I'm an idiot for not seeing it sooner!
 
9:09 PM
@KritixiLithos The same problem is with Python and other languages where lists are references. [[0,0]] isn't actually two lists, but a pointer to a list that contains a pointer to another list ([pointer]). When you multiply it with 2, the pointer inside stays the same ([pointer, pointer]), ie. it points to the same list. Now, when you change the first item of the first pointer, it changes in the second pointer too, after all, they both point to the same list.
 
@betseg optional chain op
 
1
Q: Test a question

Wheat WizardThe sandbox is a helpful feature[citation needed] but often I have a question that I feel needs to be tested before it can be asked. This is usually the case with a cops-and-robbers question or questions with unique scoring systems. Its hard to predict how you specifications will stack up in th...

 
TIL Ubuntu has designers O_o
 
@fergusq There is no simple solution. The function createMatrix(n){a:=[0]*n;a|a=[a()|[a[:]]for _]for _[a]} can be used to create n^n matrices.
 
@LeakyNun Sorry about that
I'm back
 
9:35 PM
@fergusq Wait, it doesn't work either... This is the correct version: createMatrix(n){t:={[[0]*n]};(t())|{u:=t;t={[[(u())()|[u()]for _]]}}for _;t}
 
@WheatWizard , you here?
 
Yes
I'm reading your answer
 
@WheatWizard Have I properly understood what you're asking? (It's been a loooong day!)
 
I think so
 
TIL GitHub now has a GraphQL API. Awesome, their REST one always was too expensive or too verbose.
 
9:39 PM
0
Q: I text the correct combo of ones and zeros

caird coinheringaahingI recently listed to the song I'm a Textpert about texting while driving and one particular line in the song inspired this challenge. I never stoop so low as to text photos / Instead I text the correct combo of ones and zeros Now obviously, this would be an almost impossible thing to do in ...

 
@WheatWizard Really, it's just formalising what happens with the Sandbox anyway; people do start working on solutions they find in there in the hopes of being the FGITW (or whatever their reason). At least by bringing it out in the open, it might be, in somr way, constructive.
 
Yeah, I think the chat room is the best option
 
Option 2, you mean?
 
Yeah
I don't think it needs to be invite only, but yeah
 
That's my favourite too. To be honest, I've been guilty of having used the Sandbox to try to be FGITW on occasion but, especially now as I close in on 5k rep, I'd much rather use that to benefit the community than myself.
 
9:58 PM
What do typical two-dimensional languages do when they hit the edge of their ... "playing field"?
or their code plane, or whatever you call that
 
wrap?
don't take my word, i know nothing
 

« first day (2324 days earlier)      last day (2518 days later) »