« first day (1882 days earlier)      last day (2962 days later) » 

ven
9:00 PM
@TimmyD it's okay <3
 
@MartinBüttner Woops, found a bug. hold that thought.
Fixed the link.
The input didn't pop the character each time.
To see the code and stuff before printing just the output, remove the last replace stage.
I'm taking a break on it for now, since I realized I should've done this a bit differently to implement [ and ] easily.
So I'll need to rewrite most of the existing stages.
 
Anyone in here know about building JSON in Groovy?
 
@TimmyD You should follow Jolf. It's great and does all things
 
9:17 PM
@TimmyD You should make a PR to O! We're always trying to make it smaller!
 
After mitigating some problems, codegolf.xyz is up again. Now also with additional HTTPS support, which enforces SSL on all resources (just for fun).
Means that submissions that use(d) that domain should now work again.
 
@mınxomaτ How did you do the masking with the uri staying? As in codegolf.xyz/questions/76277/…
 
who revoked the mod application?
 
?
Oh
muddyfish
 
@phase It's really just a PHP proxy with some edge-case handling.
 
9:19 PM
Ah
thx
 
So far CKY and muddyfish have both dropped out
 
@mınxomaτ Source? I've been brushing up on my PHP :3
 
@phase I'll post it on GitHub later.
 
@AlexA. Got dropped out or dropped out themselves?
 
It's really stupid simple cause I have no idea what I'm doing in PHP :)
 
9:20 PM
@flawr Chris and muddyfish both dropped out of their own accord.
 
        builder.append("\t${rank.text}: {\n\t\t\"num\": ${rank.num},\n\t\t\"image\": \"${rank.image}\"\n\t}${ranks.last() == rank ? "" : ","}\n")
 Best one liner I've made in a while.
 
@AlexA. Downgoat also dropped out.
 
I know
 
Oh.
 
@phase Power ranking?
 
9:30 PM
@undergroundmonorail Pokemon Ranger
 
i see
i never really got into pokemon ranger even though i got a copy for free
one time i was talking to my friends about pokemon and someone overheard us and said "hey i don't really care about pokemon any more, do you want this" and literally just handed me a copy of ranger
 
I loved the games the games years ago, though they were a lot harder than the main series.
 
i heard a bunch of people fucked up their touch screen with circles
 
What do you think of making one list of interesting oeis sequences in the sandbox?
Where anyone could add or post?
 
1
Q: Create an ABACABA city

SolverHere is the 3rd ABACABA city: _ A|_| B|__| A|_|__ C|____| A|_| B|__| A|_| It is made out of the ABACABA sequence, which is basically: A (1st iteration) place B - AB repeat A - ABA (2nd iteration) Place C - ABAC Repeat ABA - ABACABA (3rd iteration) and you get the idea. The buildings hav...

 
9:41 PM
My post is here!
Wow.
 
anyone know a place where I can "beautify" my code without completly wrecking whitespace (I really don't car whether it uses tabs or spaces, as long as it makes it look nice and doesnt wreck when copy/pasting through editors)
 
Visual Studio Ctrl-K Ctrl-D
 
@epicTCK What kind of language?
 
@flawr c-like (javscript in this case)
@Solver can visual studio support languages other than c# and c++ (and vb and all the .net ones)?
 
@epicTCK I'm not sure, though it definitely works for js
:)
 
JavaScript beautifier? What does it do, turn it into a better language?
11
 
Ha got eem
 
@AlexA. Draws some butterflies and smiling clouds in your code.
 
Thanks all
@AlexA. lisp lovers...
 
@phase Source code: minxomat/codegolf.xyz
 
9:55 PM
Oh, hi Alex.
 
@AlexA. ಠ_ಠ
flags as offensive
 
I <3 JS
 
Why are there so many JS people
 
^
It's a virus
 
9:57 PM
Why is there so much JS?
 
@quartata Node.js was the first thing I ever learnt.
After Scratch.
 
@Downgoat Could you add Reng to the userscript as being encoded in ISO 8859-1?
@quartata I count two at the moment. Less than there are JS antagonists.
 
At the age of 11.
 
Node programs are a disaster.
 
First language I learned was C#
 
9:58 PM
@mınxomaτ This. So much this.
I learned Perl first.
JS is not a good first language.
 
@mınxomaτ It wasn't me!
 
Then again neither is Perl but I was a special snowflake
 
@quartata :D
 
@quartata So what are you saying? I am no less of a competent programmer, what do you care?
 
@mınxomaτ More to the point why do you need 3 dependencies to check whether an integer is positive
 
10:00 PM
I can't program to save my life!
 
Ewww Perl
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I personally don't think that it is a good language to learn first because it's more complicated/weird with certain things
That's all
 
@quartata That array package though. 800,000 fetches per day!
 
Now explain your dislike of it?
 
I find browser js weird, node.js awesome :)
 
10:01 PM
Actually, hold that thought, I gotta go.
 
bye
 
I don't really want to flamewar about things I've outlined before so bye
 
bye
 
My first language was QuickBASIC on Windows 3.1. Then TASM.
 
@TimmyD Yep.
 
10:02 PM
ooh i heard flamewar whassup
 
@AandN The first I learned was Visual Basic for Applications. I had no idea what I was doing.
 
@mınxomaτ I like BASIC if only for nostalgia
 
goodnight from uk.
 
Goodnight!
 
@AlexA. Hahaha
 
10:03 PM
@quartata I wich some BASIC elements where implemented in C-like languages. Like e.g. a level argument for continue statements. Right now you have to use a flag variable or a goto.
 
@mınxomaτ Yeah, that always drives me nuts
 
I first "learned" TI-BASIC.
 
@mınxomaτ node != javascript
 
Basically by trial and error, because I had no manual and was too lazy to search for it.
 
@epicTCK Where did I say it is
 
10:05 PM
@mınxomaτ nowhere
 
@Zgarb Same here=)
 
At the uni, I took a class in Python, and was like "Functions? Who needs those! I can just use GOTOs."
2
 
@Zgarb ಠ_ಠ
 
After Ti-Basic I learned PHP.
 
@AlexA. I was young and naive.
 
10:07 PM
Then Java, and Java again.
 
Nothing wrong with goto, everything wrong with stupid programmers.
 
@AlexA. what is so wrong with javascript anyway
 
@flawr Java was my third language too, after Python. Then SQL (which I've totally forgotten), Common Lisp and Haskell. Recently APL and J for golfing.
 
@epicTCK Quite a few inconsistencies.
@Zgarb Oh yeah, SQL=)
Now I'm trying to learn Haskell and C++
Oh and Matlab obviously (did I learn)
 
Oh yeah, and Mathematica for work.
I don't use it that much though.
 
10:10 PM
rn im "learning"=ish C
 
But honestly there is no language I'd consider myself good at.
I think Java/Matlab are the ones I'm quite fluent in...
 
^^
 
But no more than that=)
 
I have yet to learn LISP.
 
I still can't even use Github=)
 
10:12 PM
@flawr Haskell is really the most beautiful language I know.
 
@Zgarb Oh I really like it so far=)
But I am not really that far.
 
But I'm fairly good at picking up languages just by their docs and fooling around. I never read a tutorial, and I've never met a good programmer who learned programming by tutorials.
 
@mınxomaτ here you go (((variable)((equals)(eleven)((plus))(three)))(((((print)))))(variable)(end)(of)‌​((((program))))
its easy
 
To be fair I probably expect an unusually high level of Autodidacticism from the devs I want to work with.
 
At least ES doesn't have such a confusing ternary operator as PHP does.
Like, seriously.
 
@mınxomaτ Lisp was fun for a while, mostly because it eventually becomes a domain-specific language for your project.
 
@mınxomaτ I've been learning python from the online tutorials (and SO (and PPCG))... ...Oh , you said good progammer
 
@DigitalTrauma My definition of good is strange ;-)
 
@mınxomaτ please elaborate
 
10:21 PM
Most of the devs we hire don't have any formal education at all. 50% dropped out of University because they studied something they weren't actually interested in. So they study one or two years, then stop. But they're all exceptional programmers. I don't care about their education or experience. A good programmer is almost 100% autodidactic and "gets sh*t done".
Most of the actual graduates we had apply for a job couldn't do any real world programming tasks whatsoever. They just had Java experience (cause that's what you mainly learn here in University) but failed at simple problems (as simple as FizzBuzz).
 
"A good programmer is almost 100% autodidactic and "gets sh*t done"."
can be sure
is, no
 
i just put so much effort into writing an explanation for an answer in a language no one cares about haha
 
Anyone know what a good no-op is in rust... I'm having trouble finding one
just {} seems to be the best
 
> almost
Also, that's my strange world view that worked out great for me and our company. Your milage may vary greatly. :)
 
you may have found that all your great programmers are autodidactic
that doesn't mean all great programmers are, nor does it mean all autodidactic programmers are good
 
@Fatalize I neither implied nor claimed that. I already said that it's my observation. I can't stretch that "almost" enough.
Exceptions validate the rule.
Add cultural differences to that.
 
I highly doubt that "almost all" great programmers are only autodidacts that dropped out of school
 
#autodidactic
 
@mınxomaτ HEY GUYS THIS MEANS IM A GOOD PROGRAMMER! i am not (yet at least), and this (might) be common knowledge
 
@Fatalize Again, I didn't say that. Now you're connecting two different statements I made and you took that "dropped out" completely out of context. Your experience may (and probably) will vary greatly. I already said that my experience is "strange" (as in unusual).
I did not make any statement about "all" programmers whatsoever and never will.
 
10:34 PM
@mınxomaτ sorry, I'm just giving you a hard time. I get what you mean.
 
"A good programmer is almost 100% autodidactic and "gets sh*t done"." is a sentence about "almost all" programmers
but anyway I'll stop arguing about proper logical statements that are obviously false
 
@Fatalize That was a response to Digital Trauma who asked me to eloborate on *my*(!) opinion.
 
I hate chat markdown.
 
tangential question: if an undergrad interviewee claims to know java on their resume, is it fair for me (the interviewer) to expect them to know about the java runtime model, you know, to even know the terms "bytecode" and "jvm", etc?
 
@DigitalTrauma Why not just ask them? That saves both sides time :)
 
10:37 PM
It depends on how liberal a definition of "know" you have :P
 
someone that knows Java and that doesn't know what the JVm is obviously doesn't know Java
 
@CᴏɴᴏʀO'Bʀɪᴇɴ My chat client will hopefully have better markdown support
 
Does JVM mean "Java Virtual Machine"?
@quartata :D I CANNOT WAIT
 
@DigitalTrauma It is completely fair; most intro-level Java courses start with explaining how the JVM works :P
(after the super basics of course)
 
@quartata I guess he was sleeping through that lecture then :-/
 
10:39 PM
"Now, children, this is how you set a variable to zero: code." "Teacher?" "Yes, student?" "How do I set a variable to one?" "... you need to go the super basics course."
 
@DigitalTrauma haha
 
@quartata Also claimed OS courses but couldn't really give a good explanation of the kernel
 
Definitely a no then.
Just out of curiosity what's the job?
 
JS programming, so naturally he got hired
 
mostly systems/embedded programing for a fortune 500 networking gear company
 
10:42 PM
@Fatalize Well, I wouldn't worry about knowing what a kernel or the JVM is if you're a JS programmer
 
@Fatalize ಠ_ಠ
 
It's more important to know how the browser works and JS things
 
The JVM is an important part of Java scripting because it is what makes JavaScript go.
 
> Java scripting
 
10:48 PM
Java is short name for JavaScript
 
JavaScript Go
 
@AlexA. Hahahahah
 
can't imagine what monstrosity would result in the fusion of both those languages
 
This is going to hurt
 
@AlexA. At expense of a longer syntax?
 
10:49 PM
@Fatalize Just like JS but tabs only
 
That would make it better.
 
That is false
 
hi, I see Alex is still wrong as usual :)
 
Java is short name for Juice AVocAd
8
 
haha
 
10:50 PM
s/Juic\Ke//
 
waiting for the bot to post something
 
What... is that
 
A cup of Java.
 
looks like a cross-section of something, cut in the shape of the glass
 
Avocado Juice.
 
10:53 PM
javascript is the java preprocessor
 
It looks more like a glass of melted mint chocolate chip ice cream
@DigitalTrauma You mean they are not same language?
 
0
A: Sandbox for Proposed Challenges

aditsuPaint the Mona Lisa in 1 KiB of code This is my attempt to salvage this challange by Nathaniel, which was deleted after getting no less than 19 upvotes. Here is a picture of da Vinci's Mona Lisa: Your task is to reproduce the Mona Lisa in 1024 bytes or less. You will write a program or funct...

 
ah there we go
 
He already created something similar:
176
Q: Paint Starry Night, objectively, in 1kB of code

NathanielBelow is a 386x320 png representation of van Gogh's Starry Night. Your goal is to reproduce this image as closely as possible, in no more than 1024 bytes of code. For the purposes of this challenge, the closeness of images is measured by the squared differences in RGB pixel values, as explaine...

 
@aditsu Well, Nathaniel already tried the "paint X in 1K" thing again (after Starry Night) and was met with mostly downvotes until he deleted that "new" challenge. So, I guess my advice would be to not post it. CC @quartata
 
10:57 PM
@quartata oh I didn't know about that
I just searched for Mona Lisa
 
There are many image-processing topics that would make a great challenge (despeckling, content-aware scaling, mixing modes etc.)
 
@Dennis I managed to include modular indexing in MATL in a way compatible with the other forms of indexing it already has. The limitation is that modular indices can only be scalar. But I think it's a good addition. Thanks for the idea!
 
Dennis seems to have a lot of good ideas.
 
Indeed! If only he'd made Jelly a little more comprehensible... :-P
 
XD
 
11:01 PM
@DonMuesli Does that mean I should pull?
 
Hey! Two new sections! :-)
 
@DonMuesli Wait's for Jelly to become a coreutil :D
 
@DonMuesli Quicks is just a stub for now, but I'm planning to complete it before Monday.
 
@Dennis Thanks, not yet. I'm accumulating more changes before that. I'll ask you to pull maybe tomorrow. (I use GitHub the wrong way, I know)
 
BTW: Does anyone know of a server script (or similar) that syncs an arbitrary git repo (not GitHub) with a GitHub one (should also work with private GitHub targets). I'd roll my own, but if anyone knows an existing one, that'd be helpful.
 
11:05 PM
I assume you aren't talking about a mirror?
 
Well, I guess you could call it a mirror. Just a simple "take whatever is in xyz.git on that server and push it to the GitHub repo".
 
Would it be a functional remote or just a read only copy?
 
@AlexA. Read-only. Updated whenever there's a change in xyz.git.
 
Ah, so just a mirror of a repository.
 
Yeah. I don't trust the remote server :)
 
11:08 PM
There's one for CJam on GitHub (CJam is hosted on SourceForge D:)
^ Should be just what you're after
 
NVM, I just found what I needed. I can change the functional repo to GitHub (using GitHub Import) and create a webhook.
Well, kinda ninja'd.
 
@quartata @mınxomaτ the Starry Night challenge doesn't restrict the use of prewritten decompressors (and also doesn't count UTF-8 bytes), is there a chance my version could be acceptable? :p
 
@aditsu Still very uncreative though. And afaik Nathaniels second attempt did exclude blatant compression.
 
do you have a link to it?
 
No, it's deleted.
 
11:16 PM
the original Mona Lisa one is deleted too, but I can see it
 
@mınxomaτ also, what do you mean by "uncreative"? perhaps insufficiently different?
 
@Dennis mod abyus eleven?
 
definitely
 
what's up with "eleven"?
@Dennis thanks
 
11:20 PM
Feb 16 at 22:24, by Dennis
Jan 31 at 21:27, by Alex A.
Jan 5 at 5:08, by Dennis
mod abuse eleven
 
@aditsu I consider it essentially the same challenge. But that's my opinion. Lengthy discussion: chat.stackexchange.com/rooms/35406/…
 
I just found this (probably well known). I can't stop laughing
360
Q: What is the best comment in source code you have ever encountered?

Thomas BrattWhat is the best comment in source code you have ever encountered?

 
Yeah, there are a few good ones.
 
> Hi guys, I get your opinions. Making this challenge as similar as possible to the other one was an essential part of my reason for posting it, so it makes no sense to argue that I could/should have improved it by making it different. But I have taken account of your opinions and deleted the challenge. It seems at this stage that it's only likely to result in close votes and fruitless, stressful discussions. So congrats, you win, and the site is a worse place for it, for me at least.
:S
 
:/
 
11:24 PM
I stand by my criticism though.
 
> if you added more restriction (i.e. no compression), I wouldn't have VTC'd it
 
@aditsu His opinion. Mine is different. I read what @CoolestVeto wrote, no need to point it out again. I wouldn't vote to close, but I probably would downvote.
 
you're so mean :|
anyway, that seems to be the general attitude here (sadly)
talking about similar challenges
 
I don't mean to be. That's just my opinion. And taking that challenge and just changing the input (yes, both of Nathaniels challenges did discourage compression, but not forbid it) is the definition of uncreative. I upvoted the Starry Night challenges, because it improved the scoring method (from subjective to objective), IMO anyway. It all began with this challenge.
 
@mınxomaτ I have been pinged. Wat's going on?
 
11:31 PM
in Discussion between VoteToClose and Nathaniel, Feb 7 at 13:40, by VoteToClose
I still disagree with that - these competitions both deal with approximating an image in less than 1 kB of code. A kolmogrov-complexity challenge can have hundreds of variations. A more accurate analogy here to that is if I asked a second "Print the lyrics of <blank> in <blank> bytes" after one has already been created.
About that other "image in 1K" challenge a while back.
 
Ah, okie.
 
I wanted to post one because I didn't see the Starry Night one
but mınxomaτ says it's "uncreative"
 
Don't just take my feedback, wait what others have to say.
You shouldn't be discouraged just because I don't like it :)
 
11:44 PM
I strongly suspect you're not the only one; anyway I'll edit and undelete my sandbox entry and see what happens
 

« first day (1882 days earlier)      last day (2962 days later) »