« first day (2010 days earlier)      last day (3128 days later) » 

-1
Q: Print this text

Leaky NunYou are to print this exact text: ABCDEFGHIJKLMNOPQRSTUVWXYZ BBCDEFGHIJKLMNOPQRSTUVWXYZ CCCDEFGHIJKLMNOPQRSTUVWXYZ DDDDEFGHIJKLMNOPQRSTUVWXYZ EEEEEFGHIJKLMNOPQRSTUVWXYZ FFFFFFGHIJKLMNOPQRSTUVWXYZ GGGGGGGHIJKLMNOPQRSTUVWXYZ HHHHHHHHIJKLMNOPQRSTUVWXYZ IIIIIIIIIJKLMNOPQRSTUVWXYZ JJJJJJJJJJKLMNOPQRS...

@LeakyNun 10/10 very creative title
@MartinEnder Kannst du mir helfen?
0
Q: Print the alphabet with each letter repeated to become an L shape

Leaky NunYou are to print this exact text: ABCDEFGHIJKLMNOPQRSTUVWXYZ BBCDEFGHIJKLMNOPQRSTUVWXYZ CCCDEFGHIJKLMNOPQRSTUVWXYZ DDDDEFGHIJKLMNOPQRSTUVWXYZ EEEEEFGHIJKLMNOPQRSTUVWXYZ FFFFFFGHIJKLMNOPQRSTUVWXYZ GGGGGGGHIJKLMNOPQRSTUVWXYZ HHHHHHHHIJKLMNOPQRSTUVWXYZ IIIIIIIIIJKLMNOPQRSTUVWXYZ JJJJJJJJJJKLMNOPQRS...

"Print the L-phabet"?
14:14
@MartinEnder brilliant
is a 60k brainf*** solution considered "golfed"
depends on the problem
Leaky Nun's problem
I just autogenerated the solution with my latest bf-assembler
@RohanJhunjhunwala You'll get heavily downvoted.
@RohanJhunjhunwala Oh, this would add a layer of interestingness
14:20
Should I post? I don't want to seem like a nuisance
@RohanJhunjhunwala Can I have a look on your assembler before you post it
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
immediatly starred
I used it to "almost" solve @MatthewRoh's problem
@RohanJhunjhunwala You're making it big by resetting it every time
you can calculate consecutive differences instead
14:24
yeah I could. But my bain has been f'ed
*brain
Let me look into that
@RohanJhunjhunwala Whatever
@Leaky Nun I will try to add that to the next release
Should i try to golf it down to under 30k?
Or just post?
Or just not post?
@RohanJhunjhunwala You decide
@Leaky Nun, let me try to add the consecutive difference feature
@RohanJhunjhunwala brilliant
14:26
lol
@Leaky Nun any other feedback on the assembler?
@RohanJhunjhunwala not for now
it's written in java ಠ_ಠ
even Hellambda fear Java
@Leaky Nun lol ur solution golfed it down to 7k chars "only"
14:31
it's better
Should I post now?
@RohanJhunjhunwala alright
@RohanJhunjhunwala one more feature:
ok
what feature?
You want me to add another one?
when you know that you will print newLine, use the second cell to store the newline
then every time you receive the printline command, just give out >.<
Ok. I actually store the "source" as print ABC...ZNEWLINE so give me one second to alter it
14:33
@MartinEnder Were you the first upvote?
does it matter?
@MartinEnder thanks for fixing the broken window
The broken windows theory is a criminological theory of the norm-setting and signaling effect of urban disorder and vandalism on additional crime and anti-social behavior. The theory states that maintaining and monitoring urban environments to prevent small crimes such as vandalism, public drinking, and toll-jumping helps to create an atmosphere of order and lawfulness, thereby preventing more serious crimes from happening. The theory was introduced in a 1982 article by social scientists James Q. Wilson and George L. Kelling. Since then it has been subject to great debate both within the social...
that is so true
some of the lowest ranked challenges are not that bad but have 20 downvotes or so
I just made an esolangs page! I've never done that before \o/
@DrGreenEggsandIronMan link?
14:38
@DrGreenEggsandIronMan link
only 3,597 bytes now!
@TùxCräftîñg ninja'd
@RohanJhunjhunwala nice
$ cat /dev/clipboard
??
(The content of my clipboard is 😑)
Some of the formatting is weird since I wrote it from my phone.
14:40
@DrGreenEggsandIronMan No link to the challenge?
basically a copy of your README, right? :P
@LeakyNun Which challenge? The bf interpreter one?
@TùxCräftîñg haha, yeah a lot of it is.
@DrGreenEggsandIronMan now add it to meta.codegolf.stackexchange.com/q/6918/8478
@DrGreenEggsandIronMan I thought there's a challenge to interpret brain-flak
@LeakyNun yeah, there is. (Although the language was around before that)
this is great to use for kolmogorov-complexity challenges. BF doesn't do to bad!
(compared to the raw text)
who want to aswer this question is Hellambda? :P
I kinda want to do it in V, but since I got my butt kicked by Lynn in regular vim, I'm not sure.
heh i dont even know how to write a letter
14:49
"<[<]" and ">[>]" are my two favorite "operators" in brainf***. It's "readable" and means "slide" down (or up) to the nearest zero
this look like a smiley <[<]
[>+<] looks like a smiley
even more
bf is hilarious
or <[.-.]>
thats even better
How is the longest answer getting the most votes...
because it's the best ¯\_(ツ)_/¯
Thanks @TùxCräftîñg
@LeakyNun don't worry, it's tied with the second-longest.
@MartinEnder gemacht von dich
so if i post a 20k bytes answer i will get a lot of upvotes? :D
14:56
@TùxCräftîñg yep
@LeakyNun *dir (although "gemacht" sounds kinda weird as well their)
@MartinEnder kannst du mich lehren das korrekt Gesagt?
(I completely created the Gesagt)
@Doorknob Diría que no — Leaky Nun 1 min ago
@MartinEnder what is wrong
could you at least stick English on main?
how is that a useful comment to anyone who doesn't speak ... what is that... Spanish?
14:58
@MartinEnder done
@MartinEnder nein
lol
@TùxCräftîñg I've written longer java answers
My quine in my own shady language was 6k bytes
@RohanJhunjhunwala Java === long answers
@LeakyNun "von dir geschrieben" would work, but it's still kinda awkward. Honestly, I'm not even sure why you said that at all. I'd even find "made by you" odd. :D
@TùxCräftîñg Java == long aswers
=== is the equivalent operator in JS
1 == "1" = true, 1 === "1" = false
well == works but doesn't compare type
yeah
ok that makes sense
@MartinEnder vielleicht nur "von dir" klappt
15:02
My proudest accomplismhment was outgolfing C and python for supreme glory
@LeakyNun sure
@RohanJhunjhunwala y u do dis ;_;
@TùxCräftîñg Question: How does one output in that language?
@LegionMammal978 by calling the print function on a identity function
15:04
@TùxCräftîñg Because it does a def f(x): but doesn't ever return f.
@LegionMammal978 huh fixing this
lol
python is fun
from future import braces
relevant xkcd
:D
>>> from __future__ import braces
  File "<stdin>", line 1
SyntaxError: not a chance
4
Y U DO DIS PYTHON
15:08
@TùxCräftîñg why does it error like this?
its a feature
not a bug
i see
SyntaxError: future feature future is not defined
> it's a future not a bug
15:12
i can get into the starboard easily ಠ_ಠ
I'm not sure if I'll ever understand your usage of the disapproval face.
12
@MartinEnder Ich danke dir wieder fuer des Fensters fixieren
> fuer
geneu? what?
@mınxomaτ well, idk German so I have no idea
@mınxomaτ apparently this fake word got stuck in my memory somehow
15:20
trust me im an engineer
Well, that sentence makes no sense either way, but "geneu" isn't even a word.
@LeakyNun how about genau but that doesn't make any sense here
@mınxomaτ oh, the word was genau and somehow the memory got corrupted to hard
@LeakyNun Still, "genau" is "exact" and doesn't fit here.
@mınxomaτ I know now
15:20
ninja'd
@MartinEnder how do you get so many stars ಠ_ಠ
Because "again" in Spanish is "de nuevo" which mean "of new" word-for-word, and then I corresponded the meaning of "again" to the meaning of "new"
By posting good points and not being annoying.
(ok I should stop analyzing my brain)
._.
I guess that's what it looks like when I Google Translate from English
15:22
@LeakyNun Without context you just thanked Martin for securing your window. I doubt he's working at home depot :D
0
A: Print/Output the L-phabet

ugorenExcel, ??? bytes =CHAR(64+MAX(COLUMN(A1),ROW(A1))) The forumula is 33 bytes, but you need to copy it 26^2 times (and cell references grow larger). Paste this formula in A1, then drag all over A1:Z26.

How exactly is this counted?
@mınxomaτ he has the context, don't worry
@LeakyNun idk, take the raw spreadsheet file?
33×26²
i think
my mouse is crazy
@xnor Regarding your commento on meta, would you allow builtins?
@MartinEnder You approve of my L-phabet answer?
0
A: Print/Output the L-phabet

LegionMammal978Mathematica, 69 bytes StringRiffle[ToUpperCase@Alphabet[][[Max@##]]&~Array~{26,26}," ",""]& Anonymous function. Takes no input and returns a string as output. Basically just takes letters[max(x, y)] for all x, y from 1 to 26.

15:35
@LegionMammal978 He may approve but he'll return with a shorter answer
I was wondering why my answer still hasn't gotten any upvotes before remembering that my rep can never go above 9 992 (on top of FGITW, of course)
@TùxCräftîñg what have you done
while true
do
mkdir x
cd x
done
and after returning to the root i have typed rm -Rf x
317
A: Hidden features of Python

Rafał DowgirdSending values into generator functions. For example having this function: def mygen(): """Yield 5 until something else is passed back via send()""" a = 5 while True: f = (yield a) #yield a and possibly get f in return if f is not None: a = f #store the ...

In other languages, I believe this magical device is called a "variable". — finnw May 5 '09 at 17:49
He just won the internet
xD
the way the source is written goes against the zen! — hasen Jan 1 '09 at 5:39
just look at the upvote count
15:48
@TùxCräftîñg lol
s = """Gur Mra bs Clguba, ol Gvz Crgref

Ornhgvshy vf orggre guna htyl.
Rkcyvpvg vf orggre guna vzcyvpvg.
Fvzcyr vf orggre guna pbzcyrk.
Pbzcyrk vf orggre guna pbzcyvpngrq.
Syng vf orggre guna arfgrq.
Fcnefr vf orggre guna qrafr.
Ernqnovyvgl pbhagf.
Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf.
Nygubhtu cenpgvpnyvgl orngf chevgl.
Reebef fubhyq arire cnff fvyragyl.
Hayrff rkcyvpvgyl fvyraprq.
Va gur snpr bs nzovthvgl, ershfr gur grzcgngvba gb thrff.
Gurer fubhyq or bar-- naq cersrenoyl bayl bar --boivbhf jnl gb qb vg.
How is tuple different from list in terms of their representation in the memory?
a tuple is probably more optimized
In python? Tuples are const, lists are not.
@DrGreenEggsandIronMan how are they stored?
15:51
¯\_(ツ)_/¯
I don't know much of the details. I know lists are a contiguous array of pointers to python objects, but beyond that I have no idea.
@DrGreenEggsandIronMan alright
14
Q: How is tuple implemented in CPython?

Alex LI've been trying to learn how CPython is implemented under the scenes. It's great that Python is high level, but I don't like treating it like a black box. With that in mind, how are tuples implemented? I've had a look at the source (tupleobject.c), but it's going over my head. I see that PyT...

@DrGreenEggsandIronMan thanks
@LeakyNun Do you use python much? What languages do you like/dislike?
Besides golfing that is
15:55
@DrGreenEggsandIronMan don't really have a preference
@DrGreenEggsandIronMan pyth
Question: How many answers will I have to write until I get an upvote on one of them?
because it can be typed with so few keystrokes and all printable
35
Q: Theoretically output Graham's number

Leaky NunGraham's number G is defined in this way: u(3,n,1) = 3^n u(3,1,m) = 3 u(3,n,m) = u(3,u(3,n-1,m),m-1) [Knuth's up-arrow notation] [Conway chained arrow notation] THEN g1 = u(3,3,4) g2 = u(3,3,g1) g3 = u(3,3,g2) ... G = u(3,3,g63) You are given that u(3,3,2)=7625597484987 to check your code. ...

@LeakyNun ._.
But what languages do you use? Even if you don't have strong preferences, surely you use some languages more often than others.
Like I use almost exclusively python and C.
@DrGreenEggsandIronMan I really use pyth lol
15:58
And aittle bit of ruby, little bit of C#
@DrGreenEggsandIronMan I mainly use Mathematica for golfing and number-crunching, C# for real-world applications (although sometimes I use C [but not C++; C++ is evil])
@DrGreenEggsandIronMan I use python and java also
@LegionMammal978 aww, that's sad. I hate C in comparison to C++
I guess I also use vimscript a lot, lol.
Oh, and I don't really like Python either
FromCharacterCode[64+Max~Array~{26,26}]~StringRiffle~"
"&
@LegionMammal978 ^
16:01
@MartinEnder interesting approach
it's still the same approach :P
just making use of some listability
this also works for the same byte count:
FromCharacterCode@Array[Max,{26,26},65]~StringRiffle~"
"&
@Lynn You're the new developer of Jelly now?
@MartinEnder Yeah, utilizing listability has never been my strong point...
It's just so random which functions are listable and which ones aren't
For example, I still occasionally attempt to FromDigits a list of strings (which interprets them as digits and causes everything to break)
FINALLY 10k \o/
6
16:07
i should start the neoscript interpreter...
@LegionMammal978 Glory to Arstotzka!
@Lynn would you mind changing the tabula recta answer to bytes as well?
also, wouldn't the L-phabet answer now be less than 48 bytes since upper case doesn't cost extra?
anyway, I gtg for a few minutes
@MartinEnder Well, I was actually counting A as one keystroke. I was already using byte-scoring, just different terminology.
hm, not sure how you arrive at 48 then. shouldn't you have one byte per character?
16:14
@LeakyNun I’ve done a couple of pull requests. A whopping six built-ins related to splitting/joining over spaces/newlines await.
@MartinEnder Wow, I think I accidentally counted UTF-8 bytes
@Lynn nice
Fixed now!
I changed the Tabula Recta answer too.
thanks :)
seems a bit misleading to call it keystrokes if it's bytes. I think keystrokes should probably count presses of shift and ctrl too.
While we're on the subject, can arrow keys be counted as a single byte?
Under the hood it's multiple, but scoring them as one seems most natural.
@DrGreenEggsandIronMan it's one keystroke, but 3 bytes, so it depend of the counting
16:21
Reminds me of how characters in movies are able to close/minimize one window while opening another (unrelated) window in a single keypress
@LegionMammal978 scenario magic ¯\_(ツ)_/¯
or keyboard with 10¹⁰⁰ keys
@TùxCräftîñg I know that. I'm wondering if it should/could be allowed to score them as one byte.
That's what every answer I've ever seen has done
@Doorknob would be the competent person to ask here
neoscript> 1 + 2 * 3
Tokens:
[ { id: 'Number', value: '1', line: 1, column: 1 },
  { id: 'Operator', value: '+', line: 1, column: 3 },
  { id: 'Number', value: '2', line: 1, column: 5 },
  { id: 'Operator', value: '*', line: 1, column: 7 },
  { id: 'Number', value: '3', line: 1, column: 9 },
  { id: 'EOF', line: 1, column: 10 } ]
AST:
[ { id: 'Expr',
    value:
     { id: 'BinaryOperator',
       op: '+',
       left: { id: 'Number', value: 1, line: 1, column: 1 },
       right:
        { id: 'BinaryOperator',
\o/
@TùxCräftîñg Try 1 * 2 + 3 * 4. Should get 16.
16:37
i have borked the interpreter, brb
@El'endiaStarman nope, it's 14
@MartinEnder I could make a case for either. I suppose the most honest thing would be to score them as several, but it feels overcomplicated and currently nobody does that. I wouldn't feel weird about scoring them as a single byte since it's still functionally a single unit and since default vim doesn't make use of extended ascii, it's not like it's trying to squish more commands into the code page without counting extra bytes.
Then again, as a vim golfer I am clearly biased.
@TùxCräftîñg Whoops, simple math fail. >_<
Although I agree, I'd like to hear doorknob's opinion too
Like that time I thought 2^3 was 4...on a calculus test...
neoscript> a = 20
Tokens:
[ { id: 'Identifier', value: 'a', line: 1, column: 1 },
  { id: '=', value: '=', line: 1, column: 3 },
  { id: 'Number', value: '20', line: 1, column: 5 },
  { id: 'EOF', line: 1, column: 7 } ]
AST:
[ { id: 'Expr',
    value:
     { id: 'Assign',
       left: { id: 'Identifier', value: 'a', line: 1, column: 1 },
       value: { id: 'Number', value: 20, line: 1, column: 5 },
       line: 1,
       column: 3 } } ]
Interpreted:
[ 20 ]
neoscript> a
Tokens:
[ { id: 'Identifier', value: 'a', line: 1, column: 1 },
\o/
16:45
@DrGreenEggsandIronMan If they're represented as multiple bytes, I guess it would make the most sense to count them that way
Fun fact: Each instance of the gnome-screenshot tool you have open dims the screen slightly.
@Doorknob that's disappointing. So what about the hundreds (well, more like dozens I suppose) of old answers that count them as one byte?
I don't think there are as many affected as you think. most vim answers are probably on vim golf challenges. out of the vim answers on standard code golf I doubt a large number uses arrow keys, especially since they're almost always equivalent to hjkl.
@DrGreenEggsandIronMan If they count in keystrokes, it should still be fine
16:52
@MartinEnder no, they're more useful than hjkl k for golf). When you use the command line, you can use arrow keys to repeat commands and edit previous commands
Who the brain fuck downvoted my challenge after all these years
neoscript> [| 1 2 3 4 |]
[ Map { 1 => 2, 3 => 4 } ]
\o/
@DrGreenEggsandIronMan I'm not saying they're never used, but I don't think the majority of vim answers is affected.
Also, there aren't very many vim golf challenges. I think there's about 10.
> after all these years
16:54
@MartinEnder Was ist das Problem
6
A: m-nomial coefficient

DennisJelly, 6 bytes ṗ’S€ċ⁵ This is a full program that accepts m, n and the exponent as separate command line arguments. Try it online! How it works The problem boils down to counting the number of ways we can express the exponent as an ordered sum of exactly n integers between 0 and m - 1 (both...

JELLY ALWAYS WIN
I guess you're right. This is the only answer I can find that uses arrow keys:
5
A: Divisibility test

Dr Green Eggs and Iron ManVim, 11 keystrokes C<C-r>=<C-r>"<C-Left>%<C-Right><1<cr> Not bad for a language that only handles strings. :D

@DrGreenEggsandIronMan how to input?
@LeakyNun In the current buffer
^
With a space between
17:00
That's how pretty much all vim answers take input
Oh, and make sure you put your cursor back at the start before running.
@DrGreenEggsandIronMan I thought vim doesn't have eval
It does.
5
Q: Why is the expression register "read only"?

statoxI was messing with the expression register (:h @=) and noticed that it is not possible to put text directly in it. The doc says: The expression register is read-only; you cannot put text into it. Let's say my buffer contains an operation like that: 1+2+3+4 If I want to get the result in ...

@DrGreenEggsandIronMan so I guess you can single-handedly solve the problem by fixing the score of that answer ;)
It's called the "expression register"
11 mins ago, by Doorknob
@DrGreenEggsandIronMan If they count in keystrokes, it should still be fine
Also, I have no clue how many bytes <C-left> is.
17:03
Question: What's the most stupid question you've asked on SO?
@DrGreenEggsandIronMan That's why V is nice since it provides a way to encode things like that
@DrGreenEggsandIronMan code golf answers should be counted in bytes, not keystrokes though
Technically the arrow keys don't really have characters associated with them
@LegionMammal978 "Why is everything a syntax error?"
-2
Q: Is it possible to call an object in C#?

TùxCräftîñgIs it possible to call a class instance in C#? For example, is it possible to do this? MyClass myClass = new MyClass(); myClass();

17:04
0
Q: Matching a string that does not contain certain word... without lookaround

Kenny LauI would like to use (pure) regex to match strings that do not contain the word word. However, I would not like to use lookaround, balancing groups, or that kind of stuff. If it is impossible, then can we match strings that do not start with word instead? Examples word should not match. wor...

it's not really stupid, but...
Mine (valid question, stupid answer):
3
Q: fscanf not scanning any numbers

LegionMammal978I am currently developing a simple C application. It takes a single file as a command line argument, which is formatted like: 1,2,3 4,5,6 7,8,9 etc. However, for whatever reason, fscanf never scans the numbers! Here is an example: #include <stdio.h> int main(int argc, char **argv) { FILE...

0
A: Golf all the 16 logic gates with 2 inputs and 1 output!

geocarK, 0 bytes Or maybe 2 bytes. Or 18 bytes. Or 20 bytes, depending on what you're actually counting. Let me explain. In K, function application uses the same syntax as indexing, so 0000b is a valid "function", and the function 0000b can be applied directly if p and q are in the right format (and...

Can anyone tell me what the hell is this?
¯\_(ツ)_/¯
wtf the code is the same for every gates
@quartata Yeah. Although I think vim answers are more impressive, since it's not really a language (or intended for golfing)
17:09
Also, with that question I learned that C programmers on SO are very picky about error-checking (about everything needs to be tested against NULL)
Can anyone help me? I have no energy to debate with him
@LeakyNun ?
0
A: Golf all the 16 logic gates with 2 inputs and 1 output!

geocarK, 0 bytes Or maybe 2 bytes. Or 18 bytes. Or 20 bytes, depending on what you're actually counting. Let me explain. In K, function application uses the same syntax as indexing, so 0000b is a valid "function", and the function 0000b can be applied directly if p and q are in the right format (and...

$ git commit -m "Added a basic interpreter"
[master warning: LF will be replaced by CRLF in src/neoscript.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/parser.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/tokenizer.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/interpreter.js.
The file will have its original line endings in your working directory.
huh lol
anyway
can now do 1 + 1 \o/
17:36
Heaven help me, I'm writing a sandbox post for the VIC cipher
It is a long one
@Sherlock9 quel est le VIC cipher?
The VIC cipher was a pencil and paper cipher used by the Soviet spy Reino Häyhänen, codenamed "VICTOR". If the cipher were to be given a modern technical name, it would be known as a "straddling bipartite monoalphabetic substitution superenciphered by modified double transposition." However, by general classification it is part of the Nihilist family of ciphers. It was arguably the most complex hand-operated cipher ever seen, when it was first discovered. The initial analysis done by the American National Security Agency (NSA) in 1953 did not absolutely conclude that it was a hand cipher, but its...
Pretty cool
I'm essentially rewriting these instructions everything2.com/user/raincomplex/writeups/VIC+cipher
If you want to see how it might have been done if it was developed in an English-language country. The way my post uses it is slightly different (0-indexing, for example), but mostly the same
17:52
New challenge in 10 minutes \o/
@RohanJhunjhunwala It's hardcoded for that repo since I think it overflowed the signed 16-bit integer they were using for contributor count at one point

« first day (2010 days earlier)      last day (3128 days later) »