« first day (2278 days earlier)      last day (2562 days later) » 

12:01 AM
Sure
@Downgoat Should I delete it right now, or do you need to set something up?
 
127
Q: Golf you a quine for great good!

Rafe KettlerUsing your language of choice, golf a quine. A quine is a non-empty computer program which takes no input and produces a copy of its own source code as its only output. No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is...

 
@Phoenix now preferably, I need to test GitGoat >_>
You were Pavel before?
 
Ye
Deleted
 
thanks :D
 
'[
 
12:10 AM
?
 
@Riley cat/dog got on keyboard? :P
 
@Downgoat cat
And he changed tabs so I didn't know he sent anything.
 
That looks vaguely like an emoji
 
You have a cat? ^-^
Send photos
 
@Phoenix The cutest little cat ever.
 
12:14 AM
Random emoji of the day: .'/
 
,'/
 
I guess it's sort of winking
Looks better without the userscript tho
 
12:44 AM
@Riley Needz pictures
@Geobits have you ever downvoted me?
 
user image
6
@Phoenix @Christopher ^
 
Oh my
That is a pretty little cat
 
That was a few months ago when we got him.
 
My brain is shutting down because I am close to a picture of a cat
 
That's adorable!
^-^
 
12:49 AM
@Riley idk, @Riker's cat is also pretty great :P
(adorable cat tho)
 
@Riker cat picture?
 
@Downgoat I haven't seen his cat
 
@Christopher I honestly have no idea. I don't track my votes in a spreadsheet or anything.
The odds are high that I have if you post bad stuff though.
 
@Geobits I have some days
 
Well there you go then.
 
12:51 AM
@Geobits codegolf.stackexchange.com/questions/112574/… actually did you downvote this?
Only visible negative post
Also side note. My linked post needs some more answers. I only have 2
 
Not that one. Yet.
 
"Yet" the most feared word ever spoken by Geobits
 
user165474
 
user165474
@Christopher We have nothing to fear... Yet
 
user165474
1:00 AM
>_> wow
 
@Christopher gimme a sec
 
I saw my rep at 28K and thought, "wait, wasn't I at 29K?" then realized I just gave out a +500 bounty. Duh >_>
 
lol
 
Kinda looks like your profile pic
 
It once was...
 
1:04 AM
yes
this is a picasso-fied version (my current pic)
another of my cats:
user image
4
^ last one, same cat as the first one but 2-3 years ago
the first two were about 1 year ago
 
@Riker pls how is cat so adorable
 
I dunno
I think that's just natural to cats
 
That's because cats are aliens mind-controlling humans so that they can exploit us :O
 
@TuxCopter :O so it's not just the goats EVIL SHEEPS FAULT
 
1:21 AM
@Riker did you turn the tap on?
 
> The final technical vote of the C++ Standard took place on November 14th, 1997; that was more than five years ago.
...yeah (from a C++ tutorial)
 
should we have a chatroom for PPCGers/TNBers that make musics and the people interested in the music?
 
sure?
Also might as well make it for "art" in general
 
yeah actually
what should it be called?
 
Anyone for a quick game of contact? chat.stackexchange.com/rooms/53490/contact
 
1:31 AM
possibly
I might be playing cluedo with some of my family soon though
 
*clue
 
@DestructibleLemon yes lol
for her to drink from
she has mostly waterproof fur
 
@PhiNotPi get out north american heretic
were the people in 'Murica not prepared for the literary genius of the cluedo wordplay?
(this kind of belongs here -> :P)
 
>:P
 
1:35 AM
can't - too busy
 
> Lead pipe (called lead piping in earlier UK editions; the early tokens were made out of actual lead and therefore pose a risk of lead poisoning)
from cluedo wikipedia page
 
C# would make a good name for a music-themed room
 
@Goa ^^^^^
 
@Phoenix no
@DestructibleLemon @PhiNotPi @ais523 @Phoenix Here is music that I made:
 
@HelkaHomba same as phi
 
1:45 AM
@Mendeleev sounds kinda dissonant
 
Yeah the first part does. I don't get why, the notes are exactly the same
 
@Mendeleev Sounds awesome, I actually like the dissonance.
You should build on it.
 
How should I continue it? Adding a sweep already
 
Hmmm.... not sure.
 
2:01 AM
@Mendeleev dissonance is fine (and usually desired to a modest amount), but you never really "built on" it, or resolved the phrase in a meaningful way.
 
@PhiNotPi Yeah. I'm very new to music no idea about this, can you help me?
 
@DestructibleLemon: @Mendeleev: can you please stop pinging me with random links to music? I've been included in a number of pings about this and I have no idea why
 
sorry
 
> unsubscribe
lol
 
You've been automagically subscribed to Cat Facts™!
5
 
2:05 AM
@Mendeleev so basically... if this were my piece of music... I would try to think of something to insert in at about the 9 or 10 second mark, where stuff starts to get repetitive
brb: changing operating systems
 
@Riker I am purrfectly fine with this development.
 
is back, that was quick
 
@Phoenix Cat fact: Cats shed a shitton of fur on your best clothes!
 
1
Q: Rewrite the Tiny BASIC IL program to support 7 changes to BASIC

Jeffrey HenningCirca 1976. With the success of the Tiny BASIC Design Note, a variety of Tiny BASIC IL implementations now span a range of microcomputers. The time has come to expand the Tiny BASIC standard. Grammar revisions: (LET) var = expression INPUT (string ,) var-list PRINT expr-list (;) IF expression r...

 
2:24 AM
I'm trying to think of a good name for an art chat room.
 
@PhiNotPi The Paintbrush?
 
RIP my ears
 
What happened?
 
volume from the ping
 
Sorry
What OS did you switch from/to?
 
2:29 AM
no it's fine, I just forgot I had my volume really high
@Mendeleev from linux to win10
 
@PhiNotPi Why?
 
because I had programming assignments that need linux but music composition software is in windows
 
Ah
What software do you use?
 
Finale
 
Oh, OK
 
2:33 AM

 The Pallete

For the artistic side of programmers. Both music and visual arts.
@Mendeleev Finale is decent for most stuff I do. The main thing is that it's entirely based on music notation so there's no direct music processing like other software.
@DestructibleLemon ^^ made a room
 
user165474
3:06 AM
If I post a challenge, and then later think of a better challenge that makes the first one a subset of the newer one, what should I do?
 
Weep quietly.
 
0
Q: Submissions in Unimplimentable Languages

Challenger5I recently posted a code-golf submission in Scheme-1. However, the Scheme-1 language cannot be implemented (as it would require the implementation to solve the halting problem.) I marked it as non-competing because there is no implementation. However, @ais523 commented: I'm not sure that you...

 
user165474
:'(
 
@Dennis hi
 
@HyperNeutrino I think that would be fine. As long as it's a subset submissions from the former won't work in the latter.
 
user165474
3:07 AM
True. And I guess you can't close older challenges as dupes of newer challenges. Yay :D
 
@HyperNeutrino I still don't see how that would be a dupe anyway.
 
user165474
True. So have you seen my un-average temperatures challenge?
 
Just looked at it; I think I understand it.
 
@HyperNeutrino That's not true. We can and have done so a few times.
@LeakyNun o/
 
user165474
I was thinking of doing that with arbitrary units all defined relatively to each other; any number of units, all in the form ax+b for a base unit x
 
3:11 AM
@Dennis you ignored my comment in the TIO chatroom
 
user165474
@Dennis Oh hm. Well I guess I wouldn't mind too much if my unaverage-temperatures challenge got closed, as long as it's not deleted I suppose.
 
@ais523 sorry my brain did a thing
 
@HyperNeutrino you can't delete it because it's answered
 
a bad thing
 
user165474
@LeakyNun True, I forgot about that.
 
user165474
3:12 AM
@DestructibleLemon Uh oh. What happened?
 
oh my brain just somehow conflated two usernames
 
@LeakyNun Sorry, I was quite tired when I read it. What should happen if you click it twice?
 
@Dennis it should do nothing if the first pop-up hasn't been closed
sample:
click - popup
close
click - popup
----
click - popup
click - do nothing
 
I'll implement that when I'm bored. For now, just don't click it twice. ;)
 
Hooray, now I can go design a language for it and post it on esolangs
Because I'm a lazy cheater
 
3:14 AM
@Dennis right
ATaco's userscripts are really useful
 
@Challenger5 There's a loophole for that.
 
@Dennis what's the loophole for designing a language specifically adapted to the question I'm about to post?
(No, I'm not going to do that. Firstly I don't even have a question to post.)
 
user165474
@Challenger5 Then I will specifically disallow that esolang :)
 
57
A: Loopholes that are forbidden by default

DennisUsing prior knowledge to circumvent other loopholes In particular, gaining an unfair advantage by inventing new languages for future challenges that are being sandboxed, discussed in chat, are your own, etc. For example, creating a language that solves a task specified in a sandboxed post with ...

 
@PhiNotPi due to an embarrasing mess up, I did not ping you regarding my latest submissions to soundcloud
 
3:18 AM
@Dennis but you can't read my mind
You can't know what I'm going to post
if I don't post it in the sandbox
 
@Dennis Well I could claim I have frequent amnesia and forgot about that
 
@LeakyNun If you edit/publish an interpreter shortly before posting a challenge, I'll just jump to conclusions.
 
@Dennis I see
 
@Challenger5 And I'll just forget not to delete your answer. ;)
 
user165474
3:20 AM
Casually hinting at mod powers ;)
 
Related:
Cryptomnesia occurs when a forgotten memory returns without it being recognized as such by the subject, who believes it is something new and original. It is a memory bias whereby a person may falsely recall generating a thought, an idea, a song, or a joke, not deliberately engaging in plagiarism but rather experiencing a memory as if it were a new inspiration. == Early use == The first documented instance of cryptomnesia occurred in 1874 with the medium Stainton Moses. The word was first used by the psychiatrist Théodore Flournoy, in reference to the case of medium Hélène Smith (Catherine-Élise...
 
Now what if I a bury an undocumented builtin deep in the specs of a new language, and then several months later post on the challenge with "Wow, I never realized I implemented an old builtin just before the challenge that exactly solves the problem!"
 
hello
I had a question about encryption, but maybe this is too specific, or maybe i am in the wrong place.
i'm not trying to be part of a community for encryption, so maybe that is also a thing to keep in mind
 
@Challenger5 If you're willing to invest a few months into gaining a handful of internet points, be my guest.
 
@Dennis
oh
 
3:25 AM
in Jelly, 7 secs ago, by Leaky Nun
@Dennis Must Ðf be preceded by a monad?
 
embarrising
i have a question about hashing
 
Go ahead, but I can't promise I'll be able to answer.
 
Oh
 
@LeakyNun I get notifications for that. :P
 
I am creating a record ID as the result of a sha256 hash between (salt +(+ meaning concat) pepper + user_api_key)
this record, when created, sends back the pepper, which is created by the system
the user then submits the pepper to the system, and gets the resulting encrypted data (only if logged in)
is this a bad idea?
 
3:29 AM
I'm not sure. You'll most certainly get better answers from the crypto community. I'm an amateur cryptographer at best.
 
I'm less than amateur at best.
I thought, maybe incorrectly, this was that community.
 
No, we're about code golf, i.e., making code as short as possivle, and other forms of programming competitions.
There's this one, but it doesn't seem to be very active.

 The Side Channel

Mostly randomly generated noise. – crypto.stackexchange.com
You could always ask a question on crypto.stackexchange.com though.
 
Guess the programming language: "C\8|8}.vh@MJk'-(Ln!az>_Cn[:-`pg9C8+~EBN#A>HS,-c\"MRT3yTH<x]a-U]lx,ff&\"rcz-EFY.1\"0]Yj9W0\"AsmY1*,P';~4s"
(my response is the output of that program)
 
Malbolge?
 
user165474
According to TIO, that would throw an error with Malbolge.
 
3:34 AM
Ok, my bad-- I dig code golf as much as the next guy, but for some reason your group shows up as a group to join to ask further about encryption
I was under the impression that it meant the "19th" bit which is obviously a silly idea.
Apologies, thanks for the patience, I will seek answers elsewhere.
 
user165474
@mwkrimson If I remember correctly, that's a reference to the Nineteenth Hole on a golf course, which is the bar (rest place).
 
@HyperNeutrino yes that makes way more sense
 
@mwkrimson We occasionally talk about crypto when it comes up as part of a challenge, but when security is at stake, it's better to ask the pros.
 
@Dennis I agree-- Any chance you know where to direct me to the pros?
Does the @ stuff even work in this chat?
 
user165474
 
user165474
3:37 AM
And yes it does work.
 
Either the chat room or the SE site I linked to earlier.
 
@Challenger5 outer quotes or not
 
@DestructibleLemon The quotes are included (although, interestingly, it seems to work without them)
 
@Dennis almost any valid Malbolge program will have long strings of ASCII codes in descending order (looking like zyxwvuts), often with a few of the characters changed; that's the easiest way to recognise Malbolge in the wild
 
3:38 AM
If you know the language then the behavior should be pretty predictable.
You can't find it on TIO though
 
hmm, all the double quotes are escaped
and the use of a wide range of alphanumerics, but apparently not randomly, makes me think it's a golflang
 
user165474
Bracket Balancing clearly does not matter.
 
it's not one I recognise though
 
Anyone want to play contact? we are getting lonely link
 
for a moment I thought it might be Incident but there are characters which appear a number of times other than 3
 
3:42 AM
Are there any JSF*ck decoders out there?
 
?
@Challenger5 any js compiler?
 
@Challenger5 depending on how it was encoded, you can often decode it to various levels by looking for a parenthesized group that follows a closing square bracket (i.e. ](…)) and just eval'ing that, although doing so isn't necessarily safe
JSF*ck is capable of using multiple levels of eval, in which case you can't decode it in general without executing arbitrary code
(you could call that obfuscated JSF*ck, I guess? not that the difference between obfuscated and nonobfuscated is readily visible to a human)
 
var squiggly = Math.sqrt(5);
 
@Dennis just to clarify: it's legal for me to add builtins for sandboxed problems to a language I'm writing, if I don't subsequently use that language to answer the question? the current wording of the loophole implies it's the language design that breaks the rules, not the answer
 
That's only problematic wrt to that challenge, not in general.
 
3:51 AM
@Dennis What do you define as "prior knowledge?" If I know a certain user likes to post challenges about math, so I add a bunch of math builtins to my language, is that "prior knowledge?"
 
Of course not. We get math challenges all the time.
 
If I know said user is about to post a challenge, and I suspect it's about combinatorics, so I add a bunch of combinatorics builtins to my language, is that "prior knowledge?"
 
Whenever you have to suppose, it's not prior knowledge.
 
something that'll probably never happen, but I'd kind-of like to see, would be to word the "no designing languages to solve a specific challenge" rule by requiring the language to be competitive on a wide range of challenges
 
What if the user said "I might post a challenge about combinatorics?"
 
3:54 AM
@ais523 I think that would rule out Java.
 
@Dennis I guess that makes sense; if I see a challenge which Java does very well on, I'd begin to suspect that the challenge was designed specifically to make Java work
 
user165474
Haha Yes Java is not competitive on pretty much any challenge
 
although Java 8 can be pretty terse now that it has a lambda syntax
 
I've seen Java win before
 
"add two numbers" is (a,b)->a+b
 
3:56 AM
I think it was on code-bowling though
 
that's pretty much in line with most practical languages
 
@ais523 a->b->a+b
 
that too, I guess
 
user165474
Java might win for fastest or bowling, but probably not golf
 
right, a counts as effectively final in this context, so that's legal
(Java closures are a bit weird)
 
3:57 AM
Also, java 9 has JShell, so you can make complete programs in it without boilerplate
It's just currying
 
right, it's just that currying cares a lot about closures to work correctly, and Java isn't very good at closures
 
The problem I have with Java is that they give built-in types all this magic behavior.
The designers are favoring natives and discriminating against ones of a different `class` .
Also, how come bowling was picked rather than basically any other sport where you try to get as high a score as possible?
 
hmm, if we have code golf, code bowling, and code shuffleboard
we should have code darts
it's like code shuffleboard but you have to end on a double
 
How about a king-of-the-hill challenge where the users designed an A.I. for chutes and ladders?
That would be fun
 
I thought you only had one legal move in any given situation
meaning that all the programs would be effectively identical
or is that game a different one from the one I'm thinking of? (In the UK there's a game called "snakes and ladders", I assumed "chutes and ladders" was a US name for the same thing)
 
4:02 AM
no
how about a game
where different information about a roll is revealed to different bots, and you can call a player out for cheating
but other than that it is chutes and ladders
 
hmm, Cheat! itself might make for an interesting challenge
despite the fact that the rules don't appear to be standardised
every version I've seen is "the players take turns to play sets of cards face down, there's a condition which limits which sets can safely be played, you can challenge someone and if their set is unsafe, they have to pick up all the face-down cards, otherwise you do, first to empty their hand wins"
however, what the safety condition actually is seems to vary a lot from community to community, and I'm not sure if any of the ones I've seen are really ideal
 
That reminds me of the card game B.S. Is there already a KOTH for that?
@ais523 And yes, that was the point.
 
@Challenger5 yeah, codebowling is a really bad name
 
@Dennis you have only posted 3 questions this year...
 
@DestructibleLemon For a really bad question type. Imagine a question on Stack Overflow where the OP asked "Give me the most incorrect answer possible." That's basically what code-bowling (or at least the original type of code bowling) is on this site.
 
4:10 AM
@LeakyNun Mostly busy with TIO. Questions don't come easy to me.
 
@Dennis but the questions you post receive quite a few upvotes
 
They were preceded by a few hours of "what could I post" though, and I don't have the time for that atm.
 
I see
 
@Challenger5 no that is code trolling
which got killed because it sucked
 
CMC: given positive integers a and b, where a>b, return a+b and a-b.
 
4:14 AM
 
@Dennis you win
 
I can imagine a plausible golfing language where you can do it in two
something like
 
I think the good thing about Jelly is that it's very good at reusing arguments. In CJam I'd have to do something like 1$1$-@@+.
 
is anyone interested in doing it with brain-flak?
 
Jelly's good compared to stack-based languages (e.g. GolfScript) and single-value-based languages (e.g. Brachylog)
but I think it's still possible to do better
 
4:18 AM
o/
I heard Brain-flak
 
I think you forgot to save the link
 
@WheatWizard I just linked it for you to try
 
ok I'm on it
 
Addition is ({}{}) and subtraction is ({}[{}]); how to combine them is your business.
 
4:20 AM
@ais523 Possibly, but it would have to be very well designed
 
@LeakyNun I do know Brain-flak
 
@WheatWizard oh, alright
 
Wheat Wizard practically made Brain-flak
 
@WheatWizard I think I misinterpreted that sentence
 
4:22 AM
that said, Jelly happens to have a special case specifically for solving this sort of reuse
 
which is what caused all the misunderstandings ensued
 
so I think it'd be hard to beat in this specific case (because it's fairly rare that it's useful and so a golflang which specialised in reusing data would probably use that syntax for something more common)
 
using retina should also be fun
Honestly, I don't know how to do it in Brain-flak
 
x=>y=>[x+y,x-y]
 
@Challenger5 *[x+y,x-y]
 
4:25 AM
Whoops
 
@ais523 One idea that has been going around in my mind for a long time is modifying how unchainable constants work. Right now, they just replace the return value (and print the old one), which is useful on occasions, but not frequently enough to keep it.
Unchainable constants could push the previous return value on a stack instead (with infinite repetitions of the argument of a monadic chain at the bottom), so subsequent hooks and forks would pop that stack instead of operating directly on the argument. That might help to eliminate a bunch of $.
 
seems pretty inneficient
 
@WheatWizard does brain-flak have a step-by-step debugger
 
@ASCII-only No, just debug flags
 
4:28 AM
@LeakyNun Perl 6: {$^a+$^b*(1|-1)}
that was surprisingly fun to golf; it's a fairly weird algorithm
 
@ais523 does Perl have a golfier input system?
 
@WheatWizard Hmm, I think a step by step debugger (or at least printing stacks out after every operation) would be kinda useful
 
@LeakyNun Perl 6, probably not
a variable is $a, the ^ makes it implicitly input
 
@ASCII-only Yeah I would like to make one some time
 
BF: ,[->+>+<<],[->->+<<]>>.<.
 
4:29 AM
however I don't use Perl 6 very often so I may have missed something
 
@Challenger5 ascii input?
 
I think that's allowed by default, yes.
 
alright
 
And besides, the repl.it interpreter does numeric i/o.
 
@LeakyNun Brain-Flak 18: (({})({})([{}]{}))
 
4:30 AM
@WheatWizard that's nice
 
oh, wait, perhaps I can use a whatever!
 
@Challenger5 you can save one byte by interchanging the second and the third cell
(the program starts at the first cell)
 
Now that that is resolved back to the depths until someone mentions Brain-Flak again
 
@LeakyNun Perl 6 (improved): *+* *(1|-1)
 
@ais523 that's better
 
4:32 AM
I'm a bit leery of whatevers
you don't really expect a programming language to have a command for "do something"
like, you expect them to be more specific
but they invent implicit function parameters in this sort of context (and in fact, make the expression they're in into a function)
 
Okay, so apparently the repl.it BF interpreter uses numeric input, bigint cells, but character output?
I don't want to think about the repl.it BF interpreter ever again after an incident a few months back that I don't want to think about
 
@Challenger5 use tio :p
 
@LeakyNun C, 50 bytes. Returns a pointer to the array. Try it online!
 
But it doesn't have numeric i/o, just sane i/o. Which in this case is not good.
 
@Challenger5 well if you want it enough you can just submit a brainfuck interpreter to TIO with whatever flags you need e.g. numeric i/o
 
4:38 AM
@WheatWizard Brain-Flak!
@LeakyNun Have you seen the new TIO?
 
and I am here
its not like I was pinged or anything
 
@Mendeleev I think I have
 
a double misping? wow
 
I really like the syntactic overloading in CJam. It's very cleverly done. For example:
`.` for float literals / vectorize
`:` for set var / map / reduce
`e` for extra / scientific notation
`m` for math / minus
 
4:44 AM
Also, has anybody ever used j (memoized recursion) in CJam? It seems useful, but I don't think I've seen it around.
 
@ASCII-only plz
 
> malloc(2)
 
Well the CMC asked for an array to be returned
 
That's not big enough for one int.
 
checks sizeof(int) shit
 
4:52 AM
@WheatWizard Here's a hard one to solve in Brain-Flak: codegolf.stackexchange.com/q/37554/61384
 
yeah, that is very hard
 
it wouldn't surprise me if it had no efficient solution
(obviously it's possible due to Turing-completeness, but the tricks you have to use to solve that sort of program in a language that limited tend to really slow it down a lot)
 
I tried to do it in Underload (well actually in Betaload (github.com/ScratchMan544/betaload-lang)) and gave up really quickly
 
That challenge is basically the worst kind of challenge for brain-flak
 
76
A: Rearranging Words

DennisCJam, 58,598 58,494 57,898 57,772 57,704 57,680 moves This approach takes the family of all unordered sets of horizontal moves of minimum cardinality (with some false positives) and adds the minimum number (over all sets) of vertical moves required to avoid superpositions. If the resulting numb...

 

« first day (2278 days earlier)      last day (2562 days later) »