« first day (1595 days earlier)      last day (3242 days later) » 
00:00 - 14:0014:00 - 00:00

2:00 PM
I'm working on an answer for BBBF
 
It's weird being the only person at work right now..
 
That's an interesting assumption ;)
 
So is that.
 
And you know what happens when you assume.
 
@Geobits You mean Vioz may have us all remotely monitored?
 
2:04 PM
@Doorknob In my case I'm normally right and my day goes as expected.
3
 
To clarify, I mean I'm the only one at my office
 
@trichoplax No, I think the assumption that he was talking about us is wrong. He could be the only one at his workplace.
 
Not that you're all not at work
 
Then there was only one assumption, it was mine, and I was wrong. Lesson learned :)
 
@trichoplax Summoner War :)
@Vioz- I'm also at my office :)
But actually waiting for an answer from the system team :)
 
2:13 PM
I'm waiting for a sign of other life. My boss' car is here, no sign of him though
 
@Vioz- Everybody left without you? ^^
 
Maybe everyone but me is working from home or something, this is weird
I don't even have anything to do..
 
@Vioz- Surf the web for lolcats videos
 
Meow!
 
Reddit will be my friend today
 
2:18 PM
Maybe it's a holiday? The internet tells me it's not a holiday anywhere in the world today, but maybe your office has its own religious observances. Have you noticed any cultlike behavior?
 
Not as of yet
I haven't been working here long though, maybe they'll let me in on it later
 
Maybe they're waiting for the sun to reach the zenith.
 
@Vioz- Maybe the casual friday is a little bit too casual in this office ^^
 
Every day is casual, my boss wears pajamas 80% of the time
We're fairly small
 
I would too if I didn't show up to the office ;)
 
2:21 PM
I should maybe add that the office is at his house
 
That explains why his car is parked outside even when he's not there...
 
Oh, so cult is confirmed. Got it.
 
Basically
Looks like today is going to be easy
 
Until they show up for the ceremonial sacrifice....
 
Oh no.. that's probably why I didn't get the memo
Well... bye guys.
 
2:27 PM
user Vioz- has been deleted
 
Exit Vioz-
 
Farewell :)
 
RAISED FROM THE DEAD!
 
@Vioz- well... sh*t
 
Enter Vioz-
 
2:42 PM
Now we have to kill you. I've seen enough movies to know that raising people from the dead is never a good idea.
 
I think this could definitely do a good bash.org quote x)
 
Good luck finding me
 
I'm pretty sure you're at your boss's house.
 
uh.. no- no i'm not
i'm.. uh.. on a.. plane! yes, a plane!
 
Oh, then I definitely won't be stopping by with an assortment of silver weapons and holy water later. Thanks for saving me the time.
 
2:45 PM
no problem :)
 
ruh-roh
 
@Vioz- , Looks like you're in big trouble!
 
(The real account info box is a lot more boring than that. :) )
 
"darkest secrets"? What's that?
 
2:47 PM
NOTHING!
it's, uh.. nothing
 
Definitely not that he's an undead member of some software cult. That's no secret.
 
Yahoo, my code is now 26 kio long !
I'm leaving for now, trains are burning, and I need to find a way to go home
 
What is a 'kio'? I've never heard of that before
 
@Vioz- kiB sorry ^^'
 
Oh, OK :P
 
2:54 PM
I'm french so i'm used to write it with a o for octet ^^'
 
That makes sense
 
So, as I said, good bye guys :)
 
See ya!
 
Bye :)
 
0
Q: Compute 30000 Digits of Pi (Ï€), as Fast as Possible

xiver77Compute 30000 digits of the mathematical constant π, with the fastest code. Your code can only do integer arithmetic, possibly with arbitrary pricision. Any other form of representing a number in a computer are not allowed, including floating points, fixed points, rational numbers. Implement in ...

 
3:02 PM
Would using a spigot algorithm for the above be cheating?
 
Assuming it's all integer math, I don't see why it would be cheating.
 
0
Q: ASCII Triangle Ripple

WooiKent LeeOk, my first golf question. Please be gentle :) I know there's way too many ascii puzzles :P but here we go. The task is simple, use your favorite programming language to print a triangle ripple. The input should be the size of the ripple. Example When size is 1, 2 and 3: ______ __...

 
3:57 PM
Oh wow
I just got a text from my boss
"Hey Vioz-, ****** called in sick today. You can head home at 12pm and count a full day's pay if you like"
 
@Dennis Well, I was working on a similar boggle-board approach. Wonder how much difference can be between the two algorithms at the end. Mine does 1014 now, probably won't be much better.
The algorithm is fairly simple and I don't see much tweaking possibility so we might end up with the same thing.
s/1014/1024
 
4:15 PM
sigh I thought we had a meta post about using reflection in Java KotHs to cheat, but I can't find it. Anyone?
 
@MartinBüttner, I've got a formula as a weighted sum of products, and my code does N=600 in about 2 seconds. The remaining tricky bit is reviewing the literature to check that all of the products are proven correct and not merely conjectured.
 
@Geobits I proposed a change to the tag itself (some of this has been absorbed by now I'm sure) and it circumvented the reflection issue by suggesting that you can only access files you created.
6
Q: Improve and Expand the KotH Tag

RainboltThe King of the Hill tag could use a "Suggestions" section to help posters avoid pitfalls that are KotH specific. It could also use a tip on what does NOT constitute a KotH challenge, since I have seen newbies using it incorrectly. Note that just because all submissions are competing against ...

Basically, you don't ban reflection. You ban access to files that aren't yours and aren't in stdlib
dmckee is the only one who responded, and he said that all of my points were a non issue. So I didn't do much with any of them
Feel free to downvote his post
 
Yea, I knew you'd brought it up somewhere, but I couldn't figure out which of your posts it was in (searching for 'reflection' didn't find it since it was in a comment).
Thanks for the pointer.
Damn wolves :)
 
Name a loophole for KotH and there's a wolf for it lol
 
@NathanMerrill how do you compile/run your codebots3 controller?
 
4:27 PM
@randomra If I can to 1024 without major changes to my approach, I'll be happy. Of courae, in the event of a tie, CJam won't take the cake...
 
k
# javac Main.java
# java Main
Exception in thread "main" java.lang.ArithmeticException: / by zero
    at controller.Map.<init>(Map.java:31)
    at controller.Game.<init>(Game.java:44)
    at controller.ui.MainWindow.<init>(MainWindow.java:24)
    at Main.main(Main.java:10)
botsPerLine is zero?
 
0
A: Sandbox for Proposed Challenges

WrzlprmftBe as unlikely as possible with 66 characters Sentences in italics can savely be ignored. This is not golfing for a living; this is golfing for your life! In a post-apocalyptic future, you are a prisoner of the mad and evil Robot Emperor, who wants to play a sadistic game with you: You are fre...

 
@Dennis why do you use cjam though? isn't it uncomfortable because of the stack-based approach?
 
aha! FileParser wants me to be above the src directory when I run the Main class
 
I see only you writing cjam codes with hundreds of chars
 
4:35 PM
@randomra It's what I'm most fluent in. I could it it in C, but it would take me a lot longer to write the code. But yes, the lack of local variables is a bit of a pain for this challenge.
Using CJam for your challenge was the right choice for me though. I have no idea how to solve the LCS problem in another language.
 
@Dennis compared to C, I can see that it's better
@Dennis does cjam have something for LCS?
 
@randomra Just memoization. But I've never used memoization in another language, so I can either spend a good amount of time googling or just use the language I know.
 
5:01 PM
for the new codebots challenge, can someone confirm that this bot will lock all of its lines if given 48 turns to itself?
Lock D
Lock A
Lock #A
Copy A+1 A
If 0<A #2 #5
err, maybe 72 turns
 
@Lembik before i forget, why did you mention irc? did you have a channel recommendation or something? i don't think you followed up about that, and if you did then i missed your message
 
5:39 PM
done (bare minimum, at least): dpaste.com/0HA912X
4
 
6:05 PM
@MitchSchwartz oh they were discussing your code on #pypy
@MitchSchwartz but it turns out to need a change to something important which they said they didn't have time to look at now
 
@Lembik oh ok thanks
 
@MitchSchwartz actually I had two questions to ask you... first, I still can't prove Min_25's formula although it is clearly right. Do you think there is some automated way of guessing formulae like this given a lot of exact fractions?
I get the impression this is what Min_25 did
 
well we do not need to think about the fractions, just the numerators
i don't know what methods he used
 
formula for what?
 
the point is that if you can guess the form of the formula and you have lots of data points, maybe you can automatically infer the parameters?
it would be great to get a formula for j = 2 !
@MitchSchwartz my second question is... how are you feeling about j=3? :)
 
6:14 PM
@Lembik that sounds unlikely
 
j=3 is not too hard to write, but will be very slow
 
probably the formula grows exponentially with j?
 
@feersum the formula given in the accepted answer looks like 2/(pi n) asymptotically
 
I mean the size of the equation, not the numbers it produces
 
let me try that again
@feersum it's not at all clear. The formula for j = 0 is bit.ly/1JOz2T5
that's not obviously shorter than the formula for j =1
at least to me
 
6:19 PM
wait, what is the meaning of this formula?
 
@feersum it is the probably that A and B have zero inner pruduct if they are the same length
@feersum as defined in my question
 
that formula is pretty small to me
it just looks big because they wrote the denominator in a perversely large way
 
:)
ok... how much larger would you say the formula for j=1 is?
 
lol
 
you might be right that formula will get a lot bigger
I have no idea
 
6:22 PM
2 binom coefs bigger ? :P
 
:) I would love to understand the formula!
but I can't find the right expert to explain it to me :)
turns out math geniuses don't make themselves readily available online :(
@MitchSchwartz re: j= 3 .. do you think there is any room for speedups?
I suppose if it is only 100 times too slow it might be possible just to code it in cython/numba/nim/C++
 
for these programs it shouldn't be that bad to use python, since the bignum implementation does most of the work
 
@Lembik i think it is more interesting to try to think of better methods than to generalise the dp method, which atm is the best i know how to do
 
@PeterTaylor that is really impressive!
 
(and more interesting than to try to add low level optimisations)
i haven't thought of any high level optimistaions beyond what i already implemented
 
6:47 PM
@MitchSchwartz true.. although I do think your pruning is very nice and clever
 
7:02 PM
@feersum I think there are lots of dictionary lookups using tuples as keys
@feersum I am sure that could be sped up a great deal with some effort in a lower level language
 
you could use arrays just as easily in python
 
i wrote it in python specifically because i was more interested in the high level aspects than the low ones. if it were the best known algorithm then i probably wouldn't mind putting some time into that, but given Min_25's work on j = 1 and his guess about j > 1, i think it is probable that a better method exists for j > 1 and am more interested in thinking about that, although i might not make any progress
 
Someone randomly decided not to show up to work today. Turns out he is married and someone knows his wife. He isn't at home, he isn't at work, and nobody knows where he is.
I hope he is not hurt
 
Is it Vioz-? If so, he was killed earlier, then risen from the dead as some elaborate cult ceremony. They gave him the rest of the day off, though.
 
Could be Vioz- I guess
 
7:18 PM
I wonder, is anyone going to attack on boggle board packing, or can I leave my crappy program as it is? :P
 
7:33 PM
0
Q: Copy Memory Only Using Store And Subtraction

BrettA peer of mine approached me with this challenge and I wasn't able to come up with an elegant solution. After discussing my approach, we began to wonder what the people at Code Golf would come up with. Given A processor that implements only two instructions: STO <register>, <address> (store ...

 
@feersum I think your question has been answered ;)
 
Phew, only beaten by 10. I thought someone was going to score 500.
Now that I only need 10, I have to decide whether to really improve the code, or just change a number somewhere.
 
I would be surprised if a 800- score would appear. Although I haven't expected feersum's method to score well either.
 
my method really is bad
I doubt it even finds the maximal overlap way to put the next string
 
does it try to not leave holes?
 
7:47 PM
no
I'm telling you
it's retarded
the big swaths of X are holes
 
8:04 PM
Stuff like this is the reason it takes me so long to fix bugs lately.
string[] roleNames = {"Administrator", "Manager", "User"}; // Before
string[] roleNames = { "Administrator", "Manager", "User" }; // After
I'm going to invent an IDE that takes Stack Exchange ideals and applies them to coding. You need a certain amount of reputation in a project in order to make 2 character edits without approval.
I'll have badges too.
Negative Coder (silver) - 1000 lines of non-autogenerated code deleted
Black Hole (gold) - 10000 lines of non-autogenerated code deleted
 
A gamified IDE sounds downright terrible, yet intriguing at the same time. I must know more.
 
It sounds as terrible as a gamified Q&A site
Except that the people you are playing with are right next to you, so Be Nice and Be Professional are like automatically enforced (not something you get with Stack Exchange)
 
If I had to rely on upvotes to my commits, there'd be a lot more funny comments added than value ;)
 
Not upvotes. Just gated checkins.
Oh wait that's actually a real phrase
 
8:20 PM
What's my incentive to be a gatekeeper?
 
You have to be on my team
All changesets line up at the gate and anyone can go let them through
Or remove them from the queue
But the server tries to build them first before a human looks at it
 
That's not gamey enough for a gamified system.
I need some points for doing these menial tasks.
 
You get points if you are sub 2000
Then you don't get any more points for it
 
What do I get points for after that?
 
Checking in code that already passes a unit test written for it (and the author of the unit test gets points when this happens as well)
 
8:23 PM
I don't understand why some questions get asked... I just answered a question on arqade that was "If I delete my saved game and start over, what will I lose?"
 
"Your soul."
 
I can't name a game where you don't lose everything in that case, but I refrained from being an ass about it, mainly because I'm sure someone would find an obscure example :)
And I guess I'm trying to be nicer or something something.
 
I can.
 
I would answer with something mundane but that nobody else would figure out like "If you backed up your saved game before deleting, nothing. Otherwise, your saved game."
 
You lose nothing.
 
8:26 PM
Betcha forgot about the backup possibility
 
Because Steam cloud covers your saves.
Mwuahaaha
 
Then you didn't really delete it, just your local copy.
 
tests making a txt file on desktop, copying it, pressing delete
Nope, it's still there. And I really deleted it (according to Windows)
 
I'm also pretty sure he isn't talking about backups.
I think he just thought he'd be able to carry stuff from one game to the next for some reason.
 
@Geobits semantics
 
8:29 PM
You lose semantics if you delete your saved game? That's awful!
 
Playing on semantics would be saying "steam backup" is invalid, since you said you could name a game.
 
@Lembik i don't understand Min_25's proof in detail, but i wouldn't be surprised if for j=2 we can consider a 3d random walk instead of a 2d walk and then derive a formula
 
That guy's profile is oddly fitting.
 
@MitchSchwartz oh is there a proof somewhere?
@MitchSchwartz did I miss something?
 
yes, he added it just in the last 30 minutes or so
 
8:34 PM
That's exciting! I can't look at it now but I will definitely spend some time trying to work it out
 
as maybe we can generalise it as you say
which would be amazing
 
i think [x^n](1+x)^{2n} means take the coefficient of the x^n term of the given polynomial
 
ah.. that's good to know
I really wonder who Min_25 is now :)
maybe he will produce amazing for the joy of X.. who knows
 
8:52 PM
mbomb007's comment "I bet if you port this answer to C++, you can get a higher value of n." saddens me -- he ignores all the brilliance and only points out something obvious and uninsightful. idk
 
@MitchSchwartz ah yes.. that is a little misplaced
although still not the dimmest thing anyone has ever said on the internet :)
 
9:07 PM
3
Q: Calculate a Pedigree

MaltysenA little genetics lesson When you only have access to someone's visible traits or phenotype, a pedigree of their family history is often used to figure out the actual genetic information or, genotype of each family member. When dealing with simple dominance as we will be, a simple pedigree cha...

 
@MitchSchwartz Yes, that's standard notation.
 
@PeterTaylor thanks :)
 
10:07 PM
hello , is there a nice tricky way to golf a<c & a<b
in C
well i hope there might be min function , it helps to render a<min(b,c)
 
are there any constraints on a, b, c?
 
positives
the repeated "a" annoys me :p
 
I don't think C has built-in min and max
 
for a<c & b>c , i made it a<c<b and im proud of myself :D
C admited it
 
it doesn't do what you're looking for though
it'll compute a<(c<b) or maybe (a<c)<b where the parenthesised comparison yields an integer
(if that worked, you could do b>a<c, which would work in Python or Mathematica
 
10:20 PM
oh really :S
i just compiled it didnt tried it thu
now I have two problems :'O
 
not sure why you want a min function since a<c&a<b is shorter than a<min(b,c)
 
a can be x+y-1 , 2*x*y*pow(z,2) , whatevr still positive
 
1
Q: 1 character typo generating most error messages from compilation

Mark LakataRules Original source file must compile to object code without error. One ASCII character is added to source code to create a typo, increasing file size by 1 byte. Compiler is run with default options. Necessary options like -c and -std=c++11 are allowed, options like -Wall are not. Metric is ...

 
10:41 PM
Feels like a duplicate, but it's already more than an hour past my bedtime so I'm not going to go hunting.
 
10:52 PM
@PeterTaylor congrats on the diamond tiling answer :) ... this sounds like you could actually publish a paper about it
5
@PeterTaylor compilation and running instructions?
 
11:09 PM
In other news, there's yet another upcoming assembly-based game: tomorrowcorporation.com/humanresourcemachine
 
0
Q: Is This Die Configuration Possible?

TNTThe net of a standard six-sided die can be visualized like this... Here are two possible views of the die: The challenge is to write a program that takes input and outputs or returns a truthy value if the given input is a possible way for a die to be oriented and a falsy value if not. The ...

 
00:00 - 14:0014:00 - 00:00

« first day (1595 days earlier)      last day (3242 days later) »