« first day (1897 days earlier)      last day (2937 days later) » 

2:03 AM
0
Q: Given the name of a language, output "Hello, World" in that language

CrazyPythonGiven the english-name of a top-100 language defined in this Wikipedia article, output "Hello, World!" in that language. You should use Google Translate's translation for your program. You are allowed to use the translator of your choice if it is not in Google Translate. Do not use any pre-made ...

 
I had an idea for a challenge like that a while back but it doesn't really work
Actually, wait.
This is different
I wanted to make a kolmogorov-complexity where you could output the string in any language
 
I can't tell you how happy I am to see that people are using Jolf :D
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I would use Jolf more if there were readthedocs docs
 
\o/ counting sheep done
 
@Downgoat I hate readthedocs
It doesn't work for me
 
2:07 AM
then you're not doing it right
it worked great for TeaScript's docs
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I tried to use jolf, but i needs file io and running locally.
Sowee.
 
You can upload a file to the interpreter
 
@Downgoat If I knew how it worked, I'd use it
^^
 
I don't even use CJam locally anymore though so
 
are you using rst or markdown?
 
@Downgoat Markdown
 
you have to use rst
 
only 0 gives insomnia. I know that because I ran it for cases 0 - 1e6
:P
 
ihaichugoogle
well i still need the stopping number
 
@EᴀsᴛᴇʀʟʏIʀᴋ huh?
 
2:14 AM
@Maltysen did you do the problem?
@Maltysen i hate you
 
yeah
pancakes is much harder
 
Mar 8 at 15:44, by CoolestVeto
ihaichu
 
@EᴀsᴛᴇʀʟʏIʀᴋ D:
 
ihaichugoogle.
not ihaichumaltysen
 
oh k
<3
 
2:15 AM
@CoolestVeto says ihaichu a lot
Feb 20 at 21:17, by VoteToClose
-.- ihaichu
Mar 10 at 21:52, by CoolestVeto
@EasterlyIrk ihaichu
Mar 2 at 20:40, by CoolestVeto
@TimmyD ihaichu
Feb 25 at 21:28, by VoteToClose
@TimmyD ihaichu
@Maltysen yeah i see that
@quartata s/perl/PHP/
 
Anonymous
So how many people here are working on Code Jam?
 
@Mego me and @ChrisJester-Young and probably some other people
 
@Mego me
 
@Mego ಠ
 
@Dennis didcha do pancakes?
 
Anonymous
2:18 AM
I did A small and large, and C small. C large is currently churning away.
 
@Mego ( ͡° ͜ʖ ͡°)
 
@Maltysen I didda do nothing yet. My daughter has to go to bed first.
 
Anonymous
I'm too inebriated currently to come up with a solution to B.
 
Anonymous
That might be a tomorrow-morning problem.
 
@Maltysen Pancakes?
 
2:19 AM
roflmao
 
I think its solvable by representing it as a graph with each flip being an edge
 
ooh that might work
 
@Mego I'd rather code drunk than in the morning...
 
well i have 20 more hours, dinnertime now!!!
and ^^
 
i did a big and small and nothing else. I cant figure them out, im braindead. besides, i hike 20 miles tommorow, so I GTG to bed
 
2:19 AM
\o/
roflmao
show me?
 
One can use any freely available programming language one wants in Code Jam, right?
 
@Mego in-n-out is not 3 words?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It's so difficult...
 
@Dennis Yes
 
2:20 AM
@Dennis yeah, do jelly to piss them off
 
@KennyLau My J solution?
 
I tried jolf but too hard.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ sure
 
@KennyLau I see.
 
Pyth would have been possible for A, but I didn't wanna take any chances
 
Anonymous
2:21 AM
@Dennis By morning I mean like 3 pm
 
@Dennis yeah i think
 
Anonymous
@EᴀsᴛᴇʀʟʏIʀᴋ Split on spaces
 
@Maltysen Jelly is neat for short, but it isn't particularly easy to write. CJam on the other hand...
 
Anonymous
I don't think Code Jam accepts submissions in languages other than the choices in that drop-down box during registration
 
Anonymous
Or else I would have done A (and probably C) in Seriously
 
2:21 AM
Sure it does
 
@Mego That's my kind of morning.
 
Anonymous
Well maybe not A
 
@Dennis use my programming lang grond they'll never find the compiler.
 
Anonymous
But definitely C
 
@Mego there was an other
 
Anonymous
2:22 AM
Base conversion and primality testing are super nice in Seriously
 
well bai
 
@Mego what about graphs?
 
Anonymous
@Maltysen Yeah but that doesn't mean they'd have the relevant interpreters for every language
 
Here's a thought: A⁺ for A, B for B, C++ for C and D for D.
 
leave Code Jam for later
 
Anonymous
2:23 AM
@Maltysen Nope it sucks at graphs
 
@Dennis haha roflamo
why c++ for C?
 
I didn't want A⁺ to feel alone.
 
Anonymous
Use nasm for all, regret life choices
 
I assume you guys are doing GCJ, eh?
 
@quartata It's a serious Scheme implementation, with a pretty decent collection of packages (known as "eggs"). If you need good interoperability with C libraries or just want to compile Scheme code to C, it's worth checking out.
 
2:28 AM
@BrainSteel in Rust!
 
I did all mine in C :D Got all of the smalls, but C & D large are giving me trouble.
 
Anonymous
@BrainSteel That was abandoned years ago
 
@epicTCK What is "rn"?
 
Anonymous
I'm using Python 3 because it's wonderful
 
@BrainSteel IT'S YOU!
 

 Three Word Chat

Only Three Words
Join us :D
 
It's ME!
 
Anonymous
None of the qualification round problems are difficult this time :)
 
Anonymous
I dislike C though, because it gives us the file contents ahead of time
 
Anonymous
That makes FGITW brute force solutions viable
 
2:31 AM
Yeah--and it requires greater-than-64-bit integers :(
 
nice challenge @KennyLau
 
@epicTCK I would have been happy to try to help you on IRC, but you've gotta stick around on IRC a lot longer than that. :-P
 
1
A: Find the program that prints this integer sequence (Cops' thread)

Dr Green Eggs and Ham DJVim 36 keystrokes i****<esc>:let @q="^*i****$**@***"<cr><n>@qbD Here is the code unrelated to number generation: :let @q=" "<cr><n>@qbD Meaning I am revealing 5 out of 19 characters. <n> is the input. Here are some sample outputs: 1@q: 1 2@q: 3 6@q: 18

 
I'll work on it, then not post.
 
Anonymous
2:33 AM
That challenge is really unclear because it doesn't have a good definition of what "vital" means
 
Yeah, that's true.
I'm a little sad, because It's a really cool and novel idea, but not very well executed. (as of yet)
However, I really like my answer!
 
Anonymous
Hence why I VTC'd it
 
@Mego I never got a response for the BF comment, so I'm VTCing for that too
 
Vim isn't supposed to be a number generator.
 
Anonymous
@DrGreenEggsandHamDJ Vim is whatever the hell it wants to be
 
It's really fun to abuse though.
 
jsoftware.com
Or, more specifically: www.jsoftware.com/help/dictionary/vocabul.htm
 
@Sp3000 That URL is amusing to me because they could have spelled out vocabulary with 3 extra characters or the oft-used vocab with 2 fewer, but instead they used vocabul.
 
2:41 AM
@ChrisJester-Young OK, cool
I had no idea Code Jam was today so I've kinda missed out on that...
 
@AlexA. I automatically shorten all of my filenames to 11 characters, don't you?
 
Anonymous
 
@quartata its still going
 
@quartata Only 24 hours left
 
Anonymous
@quartata It only started like 4 hours ago
 
2:41 AM
out of 27
 
the first 2 problems are actually pretty easy
the last two problems are pretty tough
 
Anonymous
And you don't need 24 hours for any problem unless you're brute-forcing C-large in IronPython
 
I haven't gotten through them yet
 
Anonymous
B seems easy but I can't focus enough right now to solve it
 
2:42 AM
@Mego its funny how they simply made C totally bruteforcable
 
can't focus on Code Jam at all right now
 
@Mego The pancake one? O_O
 
Anonymous
@EᴀsᴛᴇʀʟʏIʀᴋ Yeah it should be easy
 
I found a greedy solution to the pancake one
 
Anonymous
I kinda want to solve it in PancakeStack
 
2:43 AM
@Mego ._.
then my brain is fried.
 
Surely they don't let you use any language you want
 
Anonymous
Mine too
 
Also what's the pancake one
 
Anonymous
@quartata Problem B
 
@Mego You really don't D:
 
2:44 AM
bai for minecraft!
 
I mean what's the problem
 
Anonymous
@quartata Theoretically it does, but I don't think anyone has tested it
 
@quartata they limit it later on
 
Anonymous
@quartata Not allowed to discuss the problems until the round is over
 
You can use any language cos you only need to upload the solution you get
 
2:45 AM
@Mego Oh, sorry.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Here?
@QPaysTaxes Here?
 
@quartata but also your code
 
Anonymous
@Sp3000 Yeah but I think they verify using the programs after the contest
 
or anyone who knows JS
 
@Mego actually we can
Collaborating with anyone else during any round of the contest, with the exception of the qualification round, is strictly prohibited
 
2:45 AM
How would you call an unnamed function?
 
we're in the qualifiers right now
 
@QPaysTaxes How would you call an unnamed function?
 
Oh well I'm too lazy to do a competition like that anyways
 
Anonymous
@NathanMerrill Really? I seem to remember in previous years collaboration was always forbidden while a round was going on
 
I'm pretty sure it's prohibited
 
2:46 AM
for B I was thinking of using djkastra's, but large has 2**100 nodes
 
its always been ok for qualification round
^ read it for yourself
 
Anonymous
Huh, TIL
 
@QPaysTaxes function(H,S,n){return 0;} ?!
 
Seems like it would be pretty difficult to enforce in the qualification round.
 
@QPaysTaxes How would I call this unnamed function
in Javascript how would I call this function
 
2:47 AM
@quartata its pretty hard for the other rounds too, but yeah
 
Anonymous
Okay yeah, problem B is essentially flipping bits in a number, but you can only flip an entire contiguous region starting from the MSB, and flipping a region also reverses it
 
@KennyLau wrap in parens put two aprens a t end its called an IIFE
 
@Mego what's MSB?
 
@Mego Well at the very least I know of one person who submitted in Whitespace, so if they do verify their language range is pretty broad
 
@QPaysTaxes yes
@Maltysen e.g.?
 
2:47 AM
most significant bit
nm
 
Anonymous
@KennyLau Assign it to a variable (like var f = function(H,S,n){return 0;}) and call it (f();)
 
@Mego I see
 
@Doorknob you broke your new year's resolution to post a question every two days ;_;
 
@KennyLau (function(){})()
 
Wait, what do you mean by verify anyway? Because there's been luck-based ones in the past
 
2:48 AM
@Maltysen I see.
 
Anonymous
@QPaysTaxes Yep, but assigning it to a var is more intuitive IMO
 
@Sp3000 Whitespace is actually on ideone :P
 
@KennyLau that's how you do closures in js
 
@Sp3000 later on, their servers run your submissions
so, it would be feasible then
 
It's kinda not very esoteric anymore hehe (at least in the sense of obscurity)
 
2:49 AM
@Maltysen I see.
 
but for now, its simply "we give you an input, you have 4 minutes to upload an output"
 
@QPaysTaxes I would just do 2*(a/10+1) lol
 
halp, how do i find out what interpreters google uses
 
@ChrisJester-Young how far are you?
@MarsUltor Java, python 2, and C++
 
2:50 AM
@QPaysTaxes doesn't have to be lol
 
@NathanMerrill I haven't continued after problem A. I'll continue later.
Real life and all that.
 
@NathanMerrill wait, only those?
 
@QPaysTaxes "However, any proposed source code that produces the same set of output also counts as valid (you are encouraged to reproduce an actual sequence in the OEIS)."
 
@MarsUltor when google runs it, yes
 
Anonymous
@MarsUltor Trial and (mostly) error
 
2:51 AM
@QPaysTaxes Alright
 
@MarsUltor right now, anything goes
 
@QPaysTaxes Decimal expansion of γ lol
 
@ChrisJester-Young B is really fun. C and D are tough
 
Anonymous
C is easy because they tell you ahead of time what the inputs are
 
Anonymous
There's no point in even opening the files
 
2:51 AM
@Mego wait wut
 
@QPaysTaxes nothing
 
@NathanMerrill Often the way.
 
Anonymous
And if you started on it at the start of the contest, you have 27 hours to brute-force the solution
 
brb skipping b going to c
 
Anonymous
Which allows FGITW to dominate, which is dumb
 
2:53 AM
@Mego qualifying its based on number of points, so unless you're going for the leaderboard, it doesn't matter
 
So basically they give a problem, and then you have to download some test cases and give the results from your program in 4 minutes?
 
I'm breaking out the Element: codegolf.stackexchange.com/a/77430/2867
 
@QPaysTaxes It works
 
@quartata yes. except for C (which is an exception )
 
Anonymous
@NathanMerrill It does matter, because the people whose time zones are more convenient for the start of the challenge have a huge advantage in getting those points for qualification
 
2:54 AM
@NathanMerrill Why do they give the test cases ahead of time on Problem C?
 
@QPaysTaxes Come on. How am I supposed to scan through 183 pages of result?
 
@quartata the nature of the problem
@Mego if you really are bruteforcing it, then you won't get far in the challenge
 
@QPaysTaxes Really.
 
Anonymous
@NathanMerrill Brute force solutions work more often than you'd expect in code jam
 
@Mego Except for large dataset.
Small dataset usually does allow brute force solutions.
 
2:57 AM
Actually, how was I able to add my answer here if the question was already put on hold?
 
Anonymous
My first time doing code jam, I make it to round 2 using mostly brute force solutions, because I had very little experience coding
 
like in B. you can brute force 1024 node graph, but large is 2**100
are you allowed to use third party libraries?
 
@PhiNotPi Caching
 
@PhiNotPi Server enforcement of answer submission of on-hold questions doesn't kick in for a few hours, IIRC.
 
@Mego only early on.
 
Anonymous
2:58 AM
@PhiNotPi Did you already have the page open prior to it being on hold?
 
I haven't studied the code related to that; the "recall" is related to a meta post I read a while ago.
 
Anonymous
@Maltysen Pretty sure yeah, I'm sure numpy gets used a lot
 
1 min ago, by Chris Jester-Young
@PhiNotPi Server enforcement of answer submission of on-hold questions doesn't kick in for a few hours, IIRC.
 
@Mego yes, but I thought I would receive an error message immediately, and apparently I don't.
 

« first day (1897 days earlier)      last day (2937 days later) »