« first day (2097 days earlier)      last day (2753 days later) » 

12:01 AM
That is NOT a dupe
 
And no, they can't.
 
Any challenge which asks for a string of consecutive characters seems as if it could be answered by code that is identical apart from the numbers specifying the start and length of the string.
That seems like little modification
 
It's not consecutive though.
There are outliers
 
just Ё, right?
the greek challenge also has outliers
 
12:07 AM
If it's not consecutive I recommend mentioning that in the challenge, but I agree with the comment on the challenge that a single extra character doesn't add a great deal
 
yeah, I saw your comment
Makes sense
Idea: "Implement the xnor logic gate"
 
@NathanMerrill - what's with the "loop around"? - it looks like we just take the top-left from the post.
 
@DmitryKudriavtsev my two cents. The Hebrew one is interesting because it was the original. The flag challenges are fine because they aren't beating a dead horse (anymore) and they are all drastically different outputs that demand different approaches
 
i'm actually a bit skeptical about the flag challenges too
i don't think all of them brought someone new enough to just yet another flag challenge
 
12:10 AM
@xnor what do you think about the idea of base conversion compression codegolf challenge
 
2
Q: Trick or Treat Code Golf

BrainStoneSince Halloween is coming up I though I might start a fun little code golf challenge! The challenge is quite simple. You have to write a program that outputs either trick or treat. "The twist?" you may ask. Well let me explain: You program has to do the follwoing: Be compileable/runable in tw...

 
But there's like 5 of them across a long time. Alphabet challenges are like 30 all in the space of a week or two
 
@DmitryKudriavtsev is this in the sandbox?
 
Oh cool. It's not every day I get to use the 'rollback' button.
 
No
I actually submitted some things in the sandbox and got 0 feedback
 
12:11 AM
@DmitryKudriavtsev Feel free to post one of them as a link here if it has been a few days without feedback
 
Not very fleshed out though.
 
yeah, the sandbox has not nearly enough eyes for all the challenges in it
 
@NewMainPosts You know what would make this challenge really awesome? A where you reveal the "treat" language and robbers have to find the "trick" language
 
@DmitryKudriavtsev Sometimes it helps to get feedback before too much fleshing out. Sometimes I put just the outline of an idea in the sandbox to see if it's feasible. That way I don't have to put much time into the ones that won't work out, and can focus on the others
 
0
A: Sandbox for Proposed Challenges

Dmitry KudriavtsevWrite machine code that also works when left rotated one byte Write machine code for a CPU that runs and does something. The twist is that your code should run and do something else, without errors, if it is left rotated one byte. code-challenge

 
12:14 AM
@NathanMerrill - re-reading I think I get it, are "the single line" and "the single line repeated N times" input and output receptively? (I thought they were separate examples)
 
I like to hit up the sandbox every couple of days and scroll down for a while. I assume others do similarly, but don't know for sure. If it was at all usable in the mobile appp I'd probably check it more often.
You weren't joking when you said "not fleshed out" :P
 
It's all I can think of for that challenge
 
Is the intention to settle on two parallel tasks so that everyone has to do the same thing?
 
No, just make it work somehow
 
That sounds too broad
We have had challenges in the past that only set a restriction, and no goal, and although they were fun they aren't on topic anymore
 
Also, while it's okay to leave it a bit unfleshed when posting to the sandbox, you need more than "Write machine code that also works when left rotated one byte -- Note to self: Add description later." as the entire text. That's most likely why you didn't get feedback.
 
A code challenge still needs a defined specification with an objective winning criterion, it just means you can specify your own criterion rather than using something like golf
 
@Geobits I edited it. Probably cached on your end.
 
No, I saw the edit, but the timestamp said you edited it after saying here that it got no feedback.
 
nevermind
 
Note that it didn't get any up or downvotes, but that doesn't mean no one saw it. I actually saw it yesterday but couldn't think of anything useful to say so I thought I'd wait and see how it developed
 
Right, that. It's hard to give good feedback when it's just a vague blurb
Do we really not have a dupe for print two things in two languages? I could've sworn it had been done more than once.
 
Giving just a brief outline can sometimes lead to someone pointing out a fatal flaw. If no one gives any feedback for a few days, then you can add a bit more and see how it goes. If there's not anything glaringly obvious then getting no feedback is common
 
:O SE Status twitter account has incorrect representation of SE name
it should be "Stack Exchange"
 
12:23 AM
I think there's a 20 character limit
 
This is similar:
137
Q: I'm not the language you're looking for!

muddyfishIsn't it annoying when you find a piece of code and you don't know what language it was written in? This challenge attempts to somewhat solve this. Challenge You will have to write a program that when run in two different languages, will output the string: This program wasn't written in <lang...

 
@NathanMerrill - so the task is to reproduce the pattern given with an alphabet from A to Alphabet(N) I see. That's not so easy :p
...I guess I should sleep if I cant understand that ^^
 
About time we had a non-trivial alphabet challenge
 
New Challenge Posted! Print the alphabet using this bucket of sand.
 
Do we have to make our own silicon chips?
 
12:31 AM
@quartata do you know what quit is in Jolf?
i.e. what char for that command
nvm, ( works
 
@trichoplax You can if you want, but it'll probably be quicker to just push the sand around until it resembles letters. I forgot to mention, it's [fastest-output], not [code-golf].
 
@JonathanAllan right. The "loop around" means that you should print
ABCD
BCDA
CDAB
DABC
instead of
ABCD
BCDE
CDEF
DEFG
 
yep I got it - too tired to figure it out :p
 
ok :)
your submission was correct for nearly all of the examples, though
 
heh, dumb luck
 
12:41 AM
have we had a c compiler challenge before?
 
@ConorO'Brien FOG answer
0
A: Trick or Treat polyglot

Easterly IrkFOG / Jolf, 16 bytes a"trick""treat"X Simple. In Jolf, a means print the string after it and disables auto-output. (not really the last part, but yes in this situation) The other 2 commands are ignored pretty much. (X uses JS eval, and "treat" also gets a string ready to use in a function. ...

 
@DmitryKudriavtsev idk but sounds like lots of work
 
i know, but have we had one?
you dont need to implement the libraries
 
But you still need to be able to link with them somehow, which is the nasty part.
 
@DmitryKudriavtsev We mostly try to make challenges language agnostic, so that all languages are welcome even if not every language will be suitable for a given challenge. There are still challenges about a specific language, where any language can be used to solve the challenge. For example:
26
Q: Tiny Lisp, tiny interpreter

DLoscLisp programmers boast that Lisp is a powerful language which can be built up from a very small set of primitive operations. Let's put that idea into practice by golfing an interpreter for a dialect called tinylisp. Language specification In this specification, any condition whose result is des...

 
12:48 AM
@trichoplax The challenge is to write a C to ELF binary compiler.
 
Which standard of C?
Could you use a subset of the standard?
 
You can't get a binary without having a linker also.
 
Not only is the full standard extensive, but it would be difficult to verify that a submission is correct
 
Of course you would use a subset.
 
@DmitryKudriavtsev Could you envision solving it and attempting to golf it within a day? If not then it's probably too complex to be a challenge.
 
12:51 AM
@feersum Linker would be GNU binutils ld. It would of course be a subset.
 
So you would be targeting object code, not an ELF binary.
 
yeah actually, I can see why that would be hard.
You would not need to link the binaries
 
Maybe it could be better to have the challenge be to compile one function.
And no function calls within.
 
yeah.
No function calls, unions, structs, casts, or pointers.
Variables all declared at beginning of block
 
Personally I would include pointers.
 
12:56 AM
Sure
 
Otherwise, it might as well be a Java compiler.
 
not really
java treats variables way differently, sorta like python
 
And parsing types like int (*x)[10][20] is the best part :)
 
ikr
SHould I sandbox it?
 
Only if you are willing to put a lot of work into the spec.
Such as writing a grammar for the C subset.
 
1:01 AM
ugh.
 
Post it in the Secret Santa's Sandbox so someone else can do the hard work ;)
 
maybe say that it should input these test cases and output object code that when linked and run, it produces this output?
 
What is the winning criterion?
shortest, fastest, something else?
 
Golf, I assume.
 
1:07 AM
So the submission can be in any language, and the length of that source code is the score? (Not the length of the compiled code)
 
Yes
Don't see how a Pyth answer would work though
 
It doesn't have to be realistic in every language to count as language agnostic :)
 
0
A: Sandbox for Proposed Challenges

Dmitry KudriavtsevC Compiler Implement a basic C Compiler. You do not need to implement the libraries. Compiler would output an object file containing a function, that would be linked with some libraries using GNU binutils ld and run. No function calls, unions, structs, casts will be used in the test cases. Te...

 
It's worth including the correct output with each test case
 
I was just about to say that
 
1:20 AM
you guys have literally 1 item in review?? o_O
 
There were 3 just a minute ago. I cleared it out.
I'm pretty active in the review queues
 
let me just say how lucky you are askubuntu.com/review
 
Some things take more than 1 person before they drop off, but they don't usually stick around for long
 
But where are all your CVs?
 
1:22 AM
@Zacharee1 They tend to get closed in minutes here
 
o_O
 
We barely get 10 Q/D around here. And most users are active so they get closed really quickly
 
Can you all, like, come over to AU, make 3k rep and help us out? :p
 
I've seen a question closed in 36 seconds without mod-help
 
I'm never going to get theose shiny review badges here :(
 
1:23 AM
You will on AU
I'm on 953 CVs
over 1k LQs
 
wait, how new is CG?
 
5 years ish
 
@DJMcMayhem there are 7 distinct people on that list :P
 
@DJMcMayhem It's the 15th rarest badge here...
 
1:25 AM
why are there only 4 mods, all elected 2016?
 
Because of graduation
 
2016 was graduation
 
ohh
 
And flag-load presumably
@ConorO'Brien I counted 6.
 
so you've been in beta?
 
1:26 AM
Makes me proud to be one of the few
 
yes
@Zacharee1 but not anymore
but still no design
 
alright, that makes a lot of sense
 
like 9 months later it feels like
 
@DJMcMayhem is it really "few"?
 
42
A: The Many Memes of PPCG

Alex A.Meme: Graduation Originator: Geobits Cultural Height: Sept. 26, 2014–Feb. 23, 2016 Background: Geobits, a known and "loved" user, tried to convince people that PPCG is set to graduate during PPCG's beta. An often used date is November 1st.

 
1:27 AM
We won't have a full design until Tuesday
8
 
you scoundrel
 
@trichoplax :O wait wat rly how do u know dis
 
@Downgoat that's november 1st
 
Because that's November 1st....
 
1:28 AM
@Downgoat look at your calendar for next Tuesday
 
we have a full design
 
ninja'ed
@DmitryKudriavtsev no we dont
 
@EᴀsᴛᴇʀʟʏIʀᴋ DAMMIT
 
it's called a userscript
 
That's the opposite of a full design
And most people don't use it
 
1:28 AM
I love the description.
> A known and "loved" user...
8
 
@Geobits that is their problem
 
@DmitryKudriavtsev 1. I made half that and I feel that that doesn't count. 2. that's not close to full.
 
hey, more alphabet challenges
 
@Downgoat Not a problem here :D
 
1:29 AM
how to copy from vim without this BS?
 
I have no intention of using a userscript until we get a brand new design that I don't like
10
 
@DmitryKudriavtsev "+y<motion>
 
#include <stdio.h>

int test(int i, int j) {
  int x[10][20];
  int s = i + j;
  i = 0;
  j = 0;
  for(i = 0; i < 10; i++)
    while (j < 20)
    {
      j += 1;
      x[i][j] = i * j;
    }
  for(i = 0; i < 10; i++)
    while (j < 20) {
    s += x[i][j];
  }
  return s;
}

int main() {
  printf("%d\n", test(1, 9));
  return 0;
}
 
I've never been a fan of userscripts
 
1:29 AM
> Downgoat, a known and a user taken "seriously"
:P
 
@DJMcMayhem THat just copies inside vim
not outside
 
@DmitryKudriavtsev I think that can be asked about just using vim in the first place :p
 
... yes? I thought that is what you wanted?
 
I have so many plugins
@DJMcMayhem I meant to the clipboard.
 
1:30 AM
@DmitryKudriavtsev Wudduzitdo?
 
@Zacharee1 I'll post a list of all my vim plugins
 
Yeah, "+ is the clipboard register
 
@DJMcMayhem I keep wanting to link to a chat message about the design date in the comments there with "What is dead may never die", but it keeps staying locked :(
 
@DmitryKudriavtsev select text and do y
 
@DmitryKudriavtsev noitsokrlyidontneedtoseethat
 
1:31 AM
OH.
THanks @DJMcMayhem
@Zacharee1
 
btw make sure to add set clipboard=unnamed to vimrc. then you can just do y
 
@Zacharee1 Ping the wrong person?
 
@DJMcMayhem yeppers.
@DJMcMayhem tab completion gets me sometimes
 
Not a big deal.
 
1:32 AM
@Downgoat Bloggoat lol
 
0
A: Sandbox for Proposed Challenges

Dmitry KudriavtsevC Compiler Implement a basic C Compiler. You do not need to implement the libraries. Compiler would output an object file containing a function, that would be linked with some libraries using GNU binutils ld and run. No function calls, unions, structs, casts will be used in the test cases. Te...

 
My code refuses to work
 
hastebin? Did you type that too quickly?
 
@DmitryKudriavtsev My plugins
 
Just outputs "10"
 
1:33 AM
@DmitryKudriavtsev do you believe it works?
@Zacharee1 It should really be called "Downgoat" because of all the down-time it has because WP keeps crashing
owait
 
@Downgoat use Weebly :D
 
no, it should output 1*1 + 1*2 + ... + 2*1 + 2*2 + ... + 9*9
@Downgoat I like wordpress
 
@Zacharee1 nah, not enough customizability
i tried switching to ghost but apparently their init script doesn't support debain
 
@Downgoat twas but a joke
download a free template and edit in Brackets
 
:|
 
1:34 AM
it's what I did. Works great
 
@DJMcMayhem license-to-vim lol
 
@Zacharee1 s/Brackets/vim
ftfy
 
ewwwwww
 
@DmitryKudriavtsev Haha, that was from Alex
 
@Zacharee1 ಠ_______________________________ಠ
 
1:35 AM
Never liked vundle
 
@trichoplax pls kick @Zacharee1 for blasphemy :P
 
I don't use vundle
 
@Downgoat "How do I exit this thing? Hmm" `rogihgrqefwg'''egphiefqrpwignqefefq;'''';;;;^C^C^C^C^C^C^X^X^X^Xoegwgongvrbwewf‌​;qe;q;q;gw;rb;qef;b;qq^WWWWW
 
@Downgoat I take no side in your religious wars :P
4
 
I do! But I'm also not a vim fan, so...
 
1:36 AM
@Zacharee1 it is better than people in brackets. "Down arrow, down arrow, down arrow, down arrow, right arrow, right arrow, right arrow, right arrow, right arrow, right arrow, right arrow". Where as in vim you can do 4j7l
or just run :set mouse=a and use cursor
 
Are we talking about the same Brackets? @Downgoat
 
my own plugin manager
 
@Downgoat mouse=a is default
 
oh :|
 
1:38 AM
Because I can use my cursor in brackets
 
you can do that in vim too
@Zacharee1 brackets.io <- this one?
 
@Zacharee1 It gives you a message to use :q! if you try ctrl+c
 
@Downgoat yeah
 
Also, bragging about needing to change a setting to use your mouse probably won't win very many people over. :P
2
 
@DJMcMayhem ^
 
1:39 AM
@Zacharee1 You can use vim anywhere, over ssh, in a tty, etc.
Not brackets
 
@DmitryKudriavtsev which is why I tend to edit my HTML using SFTP or locally
 
In a tty you can even use gpm for mouse support <3
 
if I have SSH, I have SFTP
 
HTML? Why?
Also, what if your x server is not started yet?
 
As an avid vim user: "Who cares if somebody wants to use a different editor? It's their workflow and their choice."
 
1:40 AM
What else would I use Brackets for in the context of web development? Java?
 
web development. ah.
 
@DmitryKudriavtsev It'll never be started. I'm using Windows
 
I use rails.
@Zacharee1 Aren't you an avid user of AU?
 
@DJMcMayhem but..... pointless arguments...
 
Also, Xming and Cygwin/X are a thing
 
1:40 AM
Not anymore. He got kicked for using windows.
 
@DmitryKudriavtsev Just because I don't use Ubuntu all the time doesn't mean I don't know how it works :p
also, VMs
plus dual-boot
@DmitryKudriavtsev yuckyuckyuck
If I want Bash, I'll just use WSL
 
@Zacharee1 Oh, sorry I forgot. JAVA is run slow! Linux is 4 nerdss!!! lol
 
"It'll never be started" implied to me you didn't use it at all ;)
 
WSL can be used with Xming to run X11 apps under windows.
 
1:42 AM
You have to ask yourself why though :/
 
@DJMcMayhem Well I'm very annoyed by Java (or should I say I'm public static int annoyedBy(String Java)).
 
To not reboot to use X apps
 
I don't reboot to use X apps, but then again I'm not on windows.
 
i have a friend that uses xming and wsl to autolaunch xfce at login to windows
then use linux programs
 
@Zacharee1 you forgot semicolon, brb borking
 
1:43 AM
That makes lots of sense >_>
 
It's their mom's computer and they're not allowed to install Linux or Virtualbox. THe feature could be enabled though.
 
@Downgoat append {return "WAT";}
happy?
 
Nooooo, you need a String[], not String.
:P
 
Did someone say char[]? Puts on brass knucklesAlex A. ♦ Jul 5 at 17:49
 
Wait, are you returning a String in an int method?
 
1:45 AM
^
 
@DmitryKudriavtsev That makes some sense I guess, but still.... eww.
 
ÜBER-BORK INCOMING
 
ducks and covers
 
I think if you did that in C it would return the first four characters of the string in int form.
 
1:51 AM
@Geobits it's to accentuate how little sense Java makes
Java is like they took C and said "how complicated can we make this"
 
@ASCII-only Done. Sorry for the delay.
 
@Dennis btw, can you also update cheddar (npm install -g cheddar-lang)?
 
@Zacharee1 Most languages are pretty confusing if you write them wrong.
 
^
 
@mınxomaτ I ran the test on my home lappy -- i7-6700k and NVidia GTX 1080 -- and got 584 / 8934 ... I think the test may not be long enough to allow the graphics card to ramp up?
 
1:55 AM
Java is actually very simple compared to many other languages in terms of syntax imo
cheddar> "test".test(/es/)
true
cheddar> "tst".test(/es/)
false
:D :D :D :D
 
@Downgoat Well you write in languages that are just random unicode characters put together in some sort of "syntax" so OK :p
 
Are Latin chars not part of unicode?
 
(excluding in ¯\_(ツ)_/¯)
 
well I meant all unicode chars
 
1:58 AM
@Zacharee1 usually unicode character refers to characters not existent in the ASCII charset but ok fixed
 

« first day (2097 days earlier)      last day (2753 days later) »