« first day (2397 days earlier)      last day (2431 days later) » 

6:00 PM
Turn an integer n into a list containing it n times is still HNQ
@totallyhuman BTW you're the sixth network asker rn
JAPT TIES SOGL
 
@Mr.Xcoder Yeah, I don't really expect SOGL to do well in challenges with 1 specific goal (here it's plain english compression) because of the boilerplate bytes lost on repetitive compression types
 
:o I got nice question on SO
 
jeez
my question framework is so similar that my other challenges show up on the related
 
@Mr.Xcoder Works for me?
 
Mine never do :(
@muddyfish Really?
 
@muddyfish Well, I have this: 22 75 70 63 61 6B 65 2C 6F 6E 75 74 2C 63 6C 61 69 72 2C 72 6F 79 6F 2C 69 6E 67 65 72 62 72 65 61 64 2C 6F 6E 65 79 63 6F 6D 62 2C 63 65 20 63 72 65 61 6D 20 73 61 6E 64 77 69 63 68 2C 65 6C 6C 79 62 65 61 6E 2C 69 74 6B 61 74 2C 6F 6C 6C 69 70 6F 70 2C 61 72 73 68 6D 61 6C 6C 6F 77 2C 6F 75 67 61 74 2C 72 65 6F 22 5C 2C 63 51 EF 36 37 2D 40 2B. When I paste it there and hit Copy answer it crashes
 
ah
 
@muddyfish Maybe it's too long?
(for my answer on main)
 
...excel VBA beats python and ties JS
what has the world come to
 
@Mr.Xcoder ah, I forgot to turn off trying to get hex/explanations so it's trying to do that with the hex
 
6:08 PM
@muddyfish Ping me when you fix it
 
#[Pyke](https://github.com/muddyfish/PYKE), 116 bytes

22 75 70 63 61 6B 65 2C 6F 6E 75 74 2C 63 6C 61 69 72 2C 72 6F 79 6F 2C 69 6E 67 65 72 62 72 65 61 64 2C 6F 6E 65 79 63 6F 6D 62 2C 63 65 20 63 72 65 61 6D 20 73 61 6E 64 77 69 63 68 2C 65 6C 6C 79 62 65 61 6E 2C 69 74 6B 61 74 2C 6F 6C 6C 69 70 6F 70 2C 61 72 73 68 6D 61 6C 6C 6F 77 2C 6F 75 67 61 74 2C 72 65 6F 22 5C 2C 63 51 EF 36 37 2D 40 2B

[Try it here!](http://pyke.catbus.co.uk/?code=22+75+70+63+61+6B+65+2C+6F+6E+75+74+2C+63+6C+61+69+72+2C+72+6F+79+6F+2C+69+6E+67+65+72+62+72+65+61+64+2C+6F+6E+65+79+63+6F+6D+62+2C+63+65+20+63+72+
 
wait pyke auto-generates explanations? :o
 
@totallyhuman The formatting for it. At some point I might try making it do the explantion bit as well
 
@totallyhuman It auto generates the characters and the dashes, not the meaning of each character
 
nice
 
6:09 PM
@muddyfish I doubt if it would really be possible with overloading
 
@muddyfish Thanks.
 
@EriktheOutgolfer but the interpreter knows which it's using
 
no it doesn't I think it defines functions that behave differently depending on datatype
 
@EriktheOutgolfer If it knows input/output types it could possibly do it
#[Pyke](github.com/muddyfish/PYKE), 12 bytes

    "Hello"F123e

[Try it here!](pyke.catbus.co.uk/?code=%22Hello%22F123e&hex=1)



    "     -
     F12e -
       2  -
        e -

    22 48 65 6C 6C 6F 22 46 31 32 33 65
 
@muddyfish possibly
but it would be hard work
 
6:11 PM
@EriktheOutgolfer exactly. It would require me to write up type hinting that works for every case
 
You could just add the most common meanings of all, and we'll modify those that don't match
 
@muddyfish or decide if some code section belongs in a loop or something
 
@EriktheOutgolfer It has Pokemons, so why not? — Mr. Xcoder 11 mins ago
O_O
pyke has pokemon built-ins?
 
@Mr.Xcoder "the most common meaning" is non-observable imo
 
that's it i'm switching
 
6:12 PM
@totallyhuman Yes
 
7 hours ago, by muddyfish
@muddyfish https://tio.run/##K6jMTv3/X6Gu2q0uXlsv//9/AA
 
@totallyhuman You should really learn some golfing languages
:)
 
0
Q: Unfurling-Safe Quine

fireflame241Write a proper quine containing at least one newline/linefeed whose every unfurling is either itself a proper quine or outputs the original quine. Unfurlings Unfurlings should be calculated by plugging the source code of your quine as input of this program adapted from Emigna's answer here. E...

 
> Unfurling-Safe Quine
Uh oh
 
6:14 PM
@NewMainPosts good luck
 
ye no that's not gonna be answered soon
@Mr.Xcoder i should do a lot of things :P
like check off that damn to do list
 
@totallyhuman s/soon/ever/
 
> containing at least one newline/linefeed
:P
 
@totallyhuman Just deleted
Damn
 
yeah you think you'd be allowed to cheat like that I'd have posted ”ṘṘ too
(jelly)
 
6:18 PM
It would be closed as the quine dupe
... yeah
 
those are not related at all, SE ಠ_ಠ
 
maybe it's because you are op of all of them...which doesn't make their content related >_<
 
@totallyhuman I enjoyed the second and the fourth :) - Still remember 'em
 
oh wow
amazing ninja
@shooqie ce cream sandwich contains spaces! — Mr. Xcoder 24 secs ago
@shooqie ce cream sandwich contains spaces. — totallyhuman 22 secs ago
 
I have a sign changed though :O
CMC: Given a float, find the factorial of its integer part
3 bytes in Pyth: .!s
 
6:25 PM
@Mr.Xcoder 05ab1e 2 bytes: ï!
 
I guess it's 3 in Jelly?
 
jelly 2 bytes: Ḟ!
 
oh, forgot factorial is 1 byte
 
Gaia, 1 byte: f
 
(yes you can assume the integer is positive otherwise there's no factorial)
 
6:26 PM
,,,, 2 bytes: i!
proton: n=>int(n)!
 
python 2 46 bytes: lambda x:reduce(int.__mul__,range(1,int(x)+1))
 
@totallyhuman I think you could do n=>~~n!
Depends on precedence or whatever
 
hmm what does range do on floats
error out?
 
Oh nvm it borks for ~ on floats
 
@totallyhuman yeah
 
6:29 PM
yup
...ninja'd again
 
@EriktheOutgolfer Outgolfed, 45 bytes: lambda a:__import__('math').factorial(int(a))
 
@Mr.Xcoder outgolfed, 43 bytes: import math;lambda a:math.factorial(int(a))
 
brb outgolfing Erik
 
(no you can't use from math import*)
 
I know
 
6:32 PM
you can't just do import math;math.factorial too
 
@EriktheOutgolfer No, you can't. Int conversion is needed
@EriktheOutgolfer Outgolfed (41 bytes):
lambda a:math.factorial(a//1)
import math
 
@Mr.Xcoder >_> (that's unoutgolfable I think)
 
@Mr.Xcoder Recursiva: 14 bytes, =a0:1!*Ia#~Ia$
 
@EriktheOutgolfer Ha, I won :)
 
6:34 PM
Like "haha"
lambda a:math.factorial(a/1)
import math
40 bytes in Python 2
 
no
if a is float a/1 will return a float too
 
Oh yeah. Still, // stands
 
yeah // stands
 
int(a) -> a//1
 
6:36 PM
I was sure Dennis/xnor would outgolf us... I forgot leaky was here too
@EriktheOutgolfer Would return 120.0
 
@EriktheOutgolfer a//1 actually returns a float
 
@LeakyNun I thought you were allowed to have a .0 at the end though
@Mr.Xcoder ^
 
`Meh, duno
 
@Mr.Xcoder the challenge is yours
 
Ok, no floats allowed
 
6:38 PM
then leaky's current stands
 
wait dzaima golfed in language ≠ sogl
 
@EriktheOutgolfer SOGL sucks at quines
 
I mean, that's your first time :p
 
@EriktheOutgolfer I've used Proton and Processing once each before
 
6:40 PM
I mean, that's your first time in Python :p
 
dzaima in Chinese means "are you here?"
 
no
I'm not
 
I tried to make a SOGL version but a problem arised: Java can't hold a string 262 billion chars long (or maybe that squared, I can't math)
 
@LeakyNun In Hong Kong, people are native English and Chinese speakers?
 
@Mr.Xcoder native Chinese.
not native English.
 
6:42 PM
Oh, just that o_O
 
well, native Cantonese, to be specific
 
Otherwise, a SOGL answer would be very very easy as I can practically ignore all the the lines except the last one
 
And most speak simplified Chinese or Traditional?
 
@dzaima can't you do empty first line?
 
@Mr.Xcoder simplified Chinese and traditional Chinese sound the same
because they aren't spoken differences.
 
6:43 PM
Oh, didn't know
 
they are different ways to represent the same character
 
@Mr.Xcoder simplified/traditional is to distinguish writtens... not spokens
 
Good to know
 
Serbo-Croatian would sound the same whether written in Latin alphabet or Cyrillic alphabet
 
They still are different languages
 
6:44 PM
@EriktheOutgolfer I did that, but the 2nd unfurling results in many lines with spaces, and each line replaces in all the next a space with 11 spaces and that grows fast
 
@Mr.Xcoder they are the same language written in different scripts
 
@LeakyNun Cantonese has more tones right??
 
Yeah, right
@LeakyNun I was talking about Serbian and Croatian
 
@officialaimm yes, it has
@Mr.Xcoder ugh, you obviously know more than I do about the situation :)
 
Not much - Although we're close, very few people here speak those langs
@totallyhuman By what? - Even the standard quine challenge has answers that append a newline
I.e _='_=%r;print _%%_';print _%_
brb
 
6:49 PM
Look at the comments on that answer @Mr.Xcoder
 
Oh ok
 
updated it. idk python really though but it seems to work
 
7:07 PM
I'll give my upvote to whomever solves this in Proton (non-repl or smth).
 
Alright.
 
Sorry, wrong link
Fixed
 
Tip: don't promise rewards to proton answers as most of the time, a Python port will work
 
@totallyhuman an upvote is not a reward and btw, good luck porting python this time
Poll: Most upvoted comment
Mine is this one
 
Is there ever a situation on PPCG where a question should be protected?
 
7:13 PM
@programmer5000 many
 
when?
 
How can I find my comments?
 
Profile > activity > all actions > comments
 
Ha, beat the current answer in Python for the unfurl quine :)
 
@LeakyNun when should a q be protected?
 
@Mr.Xcoder Not surprised, I don't know python much (even less in golfing :p)
 
@dzaima It was more of a personal achievement
I doubted I could too
 
@Mr.Xcoder Personal favourite (maybe most upvoted, idk)
 
@dzaima That's evil... It has frozen my screen and I coudn't do anything for 5 seconds >_>
 
Someone who remembers the least-squares regression line: is R or R^2 the % of variation explained by the model?
 
7:21 PM
Of course, after this:
                  /\    /\
     /\  /\      //\\  //\\      /\  /\
/\/\//\\//\\/\/\///\\\///\\\/\/\//\\//\\/\/\
\/\/\\//\\//\/\/\\\///\\\///\/\/\\//\\//\/\/
/\/\ \/  \/ /\/\ \\//  \\// /\/\ \/  \/ /\/\
\/\/        \/\/  \/    \/  \/\/        \/\/
/\/\        /\/\            /\/\        /\/\
\/\/ /\  /\ \/\/            \/\/ /\  /\ \/\/
/\/\//\\//\\/\/\            /\/\//\\//\\/\/\
\/\/\\//\\//\/\/            \/\/\\//\\//\/\/
     \/  \/                      \/  \/
     /\  /\                      /\  /\
 
@BusinessCat Well, we both filled till it's ling enough
 
@Mr.Xcoder huh. Takes < .1 second for me
 
@dzaima For me too, in fact "Compatibility mode crashed I think"
 
This doubling challenge in Proton is hurting my brain
 
7:24 PM
@BusinessCat That's why I asked one to solve it
 
@Mr.Xcoder Weird, if anything, it should be faster
 
ok, gtg
 
it crashes for me too on Firefox, but not on Chrome :/
 
@programmer5000 you really shouldn't edit just to bump, either improve the post in some way or bounty it
 
@Mr.Xcoder how is an upvote not a reward?
 
Somebody set up an RSS feed for code golf answers over 1000 bytes
0
A: Oreo? No... Lollipop, maybe?

MD XFCubically, 1047 bytes >.< ~@7+4/1+52=7?6{:5+53@6:4/1+552@6:5+51@6:5+2/1+55@6:5+3/1+551@6:2/1+551@6} +5/1+52=7?6{:3/1+552@6:2/1+552@6:5+53@6:5+3/1+552@6} +51/1+52=7?6{:5+51@6+1@6:5+2/1+55@6:5+1/1+551@6+1@6} +52/1+52=7?6{:5+1/1+552@6:3/1+552@6:4/1+553@6:3/1+552@6} +53/1+52=7?6{:5+1/1+551@6:2/1+552...

 
7:51 PM
Upvotes are rewards ;)
 
I feel like I'm making some progress with the doubling Proton
 
0
A: Sandbox for Proposed Challenges

FabianBreak this block Your challenge is to break this block. But of course that would be a pretty easy challenge, that's why this is a cops-and-robbers challenge. The robber's challenge: Break the block. As breaking qualifies everything that has the result that no diamond block is at the coordinate...

 
8:14 PM
0
A: Sandbox for Proposed Challenges

Socratic PhoenixIs Effort Inversely Correlated with Upvotes? Inspired by this chat message and the subsequent conversation Introduction PPCG is infamous (famous?) for it's short golfing language answers that are showered with upvotes. But, are these short answers full of hard-core golfing, or are they just a ...

 
QCQ: Output your username.
 
@MagicOctopusUrn QCQ?
 
Quick Chat Question? Or wtf... crap... I never remember, what's it's called?
 
CMC
 
8:20 PM
Chat Mini Challenge!
 
Ugh, my mouse has a copy button which sends a Ctrl-C key because of that I keep siginting programs
2
 
@MagicOctopusUrn SOGL, 4 bytes: A¡F‘
 
Lol, hilarious, I almost typed "CQC" then I remembered that was close-quarters combat.
@dzaima Hahaha, why?
 
And the program to change the mouse button settings only works on windows
fml
 
countless golf langs: "totallyhuman
 
8:21 PM
@MagicOctopusUrn Shnap, 25 bytes: print("Socratic_Phoenix")
 
3 hours ago, by Mr. Xcoder
@dzaima Is dzaima in SOGL's dictionary?
 
@dzaima you should add a SOGL command to read line 'n' of SOGL's source code.
 
@MagicOctopusUrn why?
 
@dzaima why not! Polygots?
05AB1E has an 'execute as python' command, if it also had a "push lines a-b from 05AB1E.py" command it'd be silly the random crap you could do haha.
 
What's our policy on challenges that ask for malware?
 
8:25 PM
Goddammit google
 
disallowed
 
@programmer5000 pretty sure I remember a no
 
We have a challenge that's "shut down the user's computer".
 
@Pavel lmao
@MagicOctopusUrn That's not really malware
 
8:26 PM
Consider this: Would this question be acceptable to ask about on superuser.se?
The policy regarding questions asking for malware is a network-wide policy.
 
@programmer5000 what's the question...?
@programmer5000 it depends, like the "shutdown" one a harmless prank may not be considered malicious.
 
What about fork bomb?
 
@programmer5000 ehhh... Localhost Fork Bomb?
 
232
Q: Why did the command ":(){ :|: & };:" make my system lag so badly I had to reboot?

blade19899 DANGER! Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system. I was in my Virtualbox running 12.04 trying to compile an app, and while waiting I happened to chance upon a forum where a comment said: Try :(){ :|: & };: Fun, too...

 
@programmer5000 If you didn't call it a fork bomb and created a challenge that was like "create a program that continually allocates memory until the OS crashes, list the OS and language you used." That sounds fun. Dennis would disagree probably, say no TIO allowed or something?
 
Anonymous
8:31 PM
@MagicOctopusUrn TIO has strict memory and execution time limits. If your program goes over those limits, it gets auto-killed by SELinux.
 
@Mego Yeah, true, still, a bit rude to max out the limit repeatedly. I try to never run anything I know is above O(2^n) complexity.
@Mego I don't really know much about how it's programmed though, so it could not matter at all.
 
Anonymous
@MagicOctopusUrn The limit is a small fraction of the available computing resources. It would take many people trying to simultaneously forkbomb TIO to stress the server. Even then, the effect would be that TIO would be sluggish for ~30 seconds, then everyone involved would get blacklisted. Also the server host could press charges for the (D)DoS.
 
@Mego that's an interesting thought though, how many zombies would it take from a botnet running a O(2^n) algorithm to shut off TIO xD.
Has TIO had DDoS problems from serious contenders in the malware market..?
I've literally never seen it down >_>
 
Hm, is it possible to convert an ASCII file to EBCDIC in linux?
Googling only yields for EBCDIC to ASCII
nvm, dd conv=ebcdic works
 
:o i rep capped
 
8:39 PM
Was about to link that, didn't know but found a stackoverflow post.
@totallyhuman (starts +10'ing every post you have) Kidding :P.
 
I think I did +10 3 of your posts today though.
 
@totallyhuman congrats
 
The two on the eclipse question and the... shoot what was it, you did charcoal answer I think?
 
ye
although half of it was neil :P
 
8:43 PM
Marinus is amazing.
 
i did cinnagum and charcoal
 
One OEIS after another is stuck on: oeis.org/A000022
 
...doesn't sound like a fantastic combination but y'know
 
And mathematica has been used, RIP.
 
Anyone done Maple?
 
(Mathematica is not even on that OEIS >_<)
 
Mathematica probably has a built-in for hydrocarbons.
 
It hasn't!!!! THat's a Kotlin answer!
 
Mathematica has a builtin for everything
Even goats
 
Race for maple!
 
8:45 PM
What, no, show me.
@Zacharý I don't want a copy-pasta answer. Post it so I can finally do a groovy answer lol
 
--- START FOLLOW PROGRAM ---
[000] PRINT 'T' 'u' 'x' 'C' 'o' 'p' 't' 'e' 'r'
--- END FOLLOW PROGRAM ---
@MagicOctopusUrn FOLLOW ^ (needs to be encoded in EBCDIC)
For some reason I can't get the interpreter to work but it should work
 
Oh lawd... I don't know ruby.
I mean, I do, but I like to pretend I don't.
 
Anonymous
@Zacharý There's a provided Mathematica program in a link
 
...and i haven't rep capped
lol
 
@totallyhuman baited us to REP him!
 
8:53 PM
downvote reversed it
 
@Mego Is there?
 
Anonymous
@Zacharý The second entry in the links section
 
:c my rep's back to a non-multiple of 5
 
Oh.
 
...uh i think somebody's screwing around with my rep
 
8:54 PM
@totallyhuman How?
 
@totallyhuman HA! I tried to REP you back to max and accidentally ended up unvoting one of your questions and upvoting 2 answers ._.
 
no wonder ಠ_ಠ
 
@totallyhuman sorry >_>, I'm on a crappy connection, stuff loads slowly. Did it even out?
 
6,995
 
-1
Q: I'm just a relative

Dean BruntSo here I am, back at it again with the spreadsheet related challenges. Within spreadsheet software, cells can be referenced via the use of an alphanumeric string. This is composed of a set of any number of capital letters, followed by any non-zero positive integer. The letter represents the cel...

 
9:04 PM
I want to make an ASCII-Stereogram challenge: chris.com/ascii/index.php?art=art%20and%20design/stereograms
Those are extremely cool.
I can't think of one though.
 
@Fatalize or popcon, >_<
 
@MagicOctopusUrn The idea's cool, but they don't work nearly as well as real stereograms
 
@DJMcMayhem there's a few gems in there and nobody does image challenges (imgpopcons)
@DJMcMayhem I really enjoyed the tie-fighter one. That one was cool.
 
9:22 PM
0
A: Sandbox for Proposed Challenges

programmer5000code-golf ...? Make a fork bomb Relevant chat discussion From Wikipedia: In computing, a fork bomb (also called rabbit virus or wabbit) is a denial-of-service attack wherein a process continually replicates itself to deplete available system resources, slowing down or crashing the system...

 
@NewSandboxedPosts uhh
didn't they just ask if malware is disallowed
 
@totallyhuman I mean we've had a "create a segfault" one before, haven't we?
 
dunno
 
@totallyhuman if it was "create a script to perform a denial of service attack on a specified URL" I feel it'd be more malware-related.
 
ono man my question is getting upvotes from HNQ
;-;
 
9:29 PM
HNQ?
 
Hot Network Questions
 
>_> robots upvote?
 
no i don't think so
 
They DOWNvote?
 
but i capped though
> Just copied from ppperry's answer and do some random stuff. I know nothing about Lost language. And I even do not know what happening for above codes. Is this work? (I don't know) – codegolf.stackexchange.com/a/138396
most confused answerer i've seen XD
 
9:36 PM
Omg lol, that's hilarious.
That's how I felt when I started in 05AB1E and just tried to help Emignas answers by 1-2 bytes xD
 
9:52 PM
0
A: Sandbox for Proposed Challenges

Dean BruntJust a relative Summary Produce a piece of golfed code that will take a spreadsheet formula and a translation vector and adjust any cell references in the formula by the translation vector. Rules/Definitions So here I am, back at it again with the spreadsheet related challenges. Within sprea...

 
3 more questions to 1k questions!
 

« first day (2397 days earlier)      last day (2431 days later) »