« first day (1164 days earlier)      last day (3695 days later) » 
00:00 - 21:0021:00 - 00:00

12:08 AM
@PeterTaylor Sometimes I use a hammer to set the screws before screwing them in, so... :p
 
 
2 hours later…
1:52 AM
@ProgrammerDan Have you seen codegolf.stackexchange.com/a/25406/18487 ?
@Geobits someone is beating LazyWolf... and it's quite possibly the least thought out Wolf of the entire set. Look at the link ^
 
@Rusher Hahahahaha, nice
 
yay
 
3:22 AM
Hm. I just learned something that's going to make a lot of my code gross from now on :P
Why convert a string to an int when you could stick the string into an exec statement where it'll feel right at home?
 
4:04 AM
Just found this.linuxtoday.com/infrastructure/2002011100220OP Put an end to word attachments.
 
 
3 hours later…
6:50 AM
@Rusher FYI my wolves are not supposed to move (only move is HOLD), they are just waiting for people to attack them. In the original script they were moving but i decided not to in the end. Thanks to both you and @ProgrammerDan for all your efforts in making my thing work! I promise my next submission will be in python (I'll use some snippets from PorgrammerDan's code for the connections).
 
 
1 hour later…
8:17 AM
I think I just broke my personal record for "slowest algorithm for a pretty simple task": a prime checker that takes about a second per prime at around 6.5 k
0
A: Half of a number is prime or not?

SyntheticaPython Arrays are efficient. Let's use one of those. def isprime(x): l=[False] for i in range(x): i+=1 prime=True for j in range(2,i): if i%j==0 and j!=1: prime=False l.append(prime) return l[x] def ishalfprime(x): ret...

 
 
2 hours later…
9:53 AM
@ProgrammerDan When you said "hooray, you implemented my idea!" I thought you meant "I had the idea of a wolf that just ran away from stuff". I just searched "sheep" in chat and apparently I thought of the same name as you, too. I didn't mean to steal your creativity, I swear I just came up with it on my own! :P
 
 
1 hour later…
11:03 AM
@Rusher It IS thought out, it just doesn't need very much code ;)
 
@undergroundmonorail the best ideas are often thought of independently and nearly simultaneously. No worries at all, I figured your submission was independent :-)
 
 
2 hours later…
12:51 PM
@Geobits It's possible to drive some screws by gentle application of a hammer, or to drive a nail into soft materials by hitting it with a screwdriver, but that doesn't make it the right tool.
 
True, if you have both at hand. Sometimes the right tool is the one you have.
@Rusher Exactly which wolves do you have in the arena? I'm asking because on my machine, Lazy is still winning 9/10 times even with Camper in the mix. Camper's averaging about 30-40 survival here.
 
@plannapus ProgrammerDan walked me through every bit of it too, so +rep him if you get a chance.
@Geobits I have Lion, Bear, Stone, EmoWolf, GamblerWolf, Sheep, GatheringWolf, GamblerWolf, WolvesCollectiveMemory, Wion, CamperWolf, and WolfWithoutFear.
There is a Scala and a Javascript one along with a few more Java submissions that came in yesterday evening that also aren't in yet that should be.
I also only ran 5 tests, and Camper won 4 of them. You still won one. I've got it running so fast now that I could just run 100 tests and leave no room for error.
I think I know what happened though
 
1:12 PM
Hmm, ok. On mine I don't have Collective in, but I do have StoneEating and MOSHPITFRENZY. Maybe that's the difference.
 
Probaby. Those are the easy ones to include, but I'm forcing myself to get Gareth's scala one in first. I figure if there are more submissions than I can keep up with, then it isn't time to post results anyway.
There are some other class challenges from my college days that I want to post too. They were all pretty fun
 
I'd be in favour of more KOTH competitions. They're hard to design but very fun to participate in.
 
@undergroundmonorail The other thing with KOTH is that you don't want more than one running at a time. I have one in mind for a game which is more complicated, but I'm waiting a bit before I post it to the sandbox.
 
Yeah, that too.
 
Can't you go ahead and get it in the sandbox? It isn't technically "running" then
 
2:12 PM
Crap, I earned the edit Q&A privilege. I rather liked my edits being peer reviewed.
 
Well stop posting +60-vote challenges then :p
 
@Rusher the ECMAScript submission just flat out doesn't work yet
I'm not sure the submitter tested it
but it's not to spec, and the wrapper script will SUICIDE all his Wolves b/c he doesn't reply to INIT messages correctly (or at all, due to typo :) )
 
@ProgrammerDan Well in that case I just have to figure out Gareth's this evening and add the two Java ones.
 
@Rusher I keep waiting for OP to come back and fix, the changes seem easy enough. I was happy to help out plannipus b/c (1) I don't know R (2) None of the problems were lazy coding, they were all legitimate "tricky" bugs
 
We have multiple questions on the hottest network questions. That seems good
 
I could probably fix OP's problem here too, but meh, typos in code of submitted answers makes me a sad llama
That is good
 
I wish Stack was like Pandora
 
2:43 PM
Explain?
 
If I'm interested in Mathematics, Board Games, and Stack Overflow, I might be interested in Code golf
It could suggest it and show me questions I am more likely to participate in
 
mmmm, indeed. That's not a bad idea.
 
Currently I get questions about bicycles, art, and English. I could care less about most of those
I should probably care more about English, if only to improve my ability to argue with Peter Taylor.
2
 
Starred. :D
 
Hah I should delete that (and still can). But I won't
 
2:46 PM
:'''( be brave
 
@ProgrammerDan When you said genetic algorithm, did you mean something like this? Choose a sequence of moves and attacks and record my survival rate. Randomly mutate part of the sequence. Did it improve my survival? Great. If not, revert and try another mutation.
 
Almost.
 
I watched the first few lectures on Machine Learning from Dr. Andrew Ng at Stanford and he brought it up in a discussion about chess engines that learn by playing thousands of games against each other.
 
That is a valid approach, but that's going to slowly. The best is this -- choose N sequences of moves (or approaches, or X), run them through the mill, and evaluate the fitness function for each sequence/approach/X. Pick some M of the best (Top 5, perhaps), and some random set from among the rest (to help avoid local maximums).
 
vzn
hi dudes
 
2:59 PM
@Rusher More to the point, we have some respectable questions in the network hot list for once.
2
 
vzn
GAs way cool
 
Now, make your subsequent generation by sexual or asexual genetic assignment. If asexual, randomly mutate (some/a) move(s). If sexual, apply a scheme to "cross" the sequences/approaches/X so that the result is a combination of two randomly chosen members of your "fittest" selections. In sexual as well, randomly mutate some move(s), if you want accelerated searching.
 
@Rusher The English questions which I currently see are about the meaning of the verb "to mush" in the context of huskies and the meaning of "15-strong armed gang". Should I check that my last will and testament is up-to-date?
 
@PeterTaylor Haha yea. Last week I was somewhat embarassed to see a certain question on that list.
 
vzn
which question? :\
 
vzn
lol :)
 
I think the main problem with a GA Wolf is there's not a good way to do it without a lot of testing. 1000 iterations is too short to do it on-the-fly, but if you're doing it ahead of time, you're going to run it after every submission, because each one might change the approach significantly.
 
looks up tl,dr; -- there are a lot of approaches. Mutation is one valid approach, but it is often combined with others.
@Geobits That's what I'm debating writing now
It seems like too much work with too little reward
 
vzn
←some admiration/envy for "enthusiastic" voting around here
 
@Geobits If I figure out how to do it, I will run the tests on my own for many iterations. Once it has a good sequence, I can just submit the hardcoded sequence. But yea, it changes after each submission.
 
3:03 PM
@Rusher Right, that's what I mean. But then when another submission gets added, it could completely invalidate the approach(larger board, different wolves, etc)
 
I don't think there will be a winning sequence
 
So you'd have to do it all again each time.
 
I think a GA solver would need to find a winning "approach", which is harder to quantify
 
Apparently the winning approach is basically "do nothing" so far.
 
b/c origin placement is unique per execution of the game due to PRNG (unless GamblerWolf takes over ...) so the solver will be searching in a space that has no comparability.
GA solvers in chess, etc. work well because the gameboard starts the same, the search space is confined, fitness is well defined, etc ...
Here, you need something that in general solves the base problem well, e.g. survival in a crowded room full of wolves with very different natures that you can't tell apart
 
vzn
3:09 PM
are you talking about the "create wolf" challenge? why is the "do nothing" strategy winning?
 
Most submissions try to avoid wolves, so by sitting still it just kind of lets everything else do their thing without getting in the way.
 
@vzn There are two wolves who are doing nothing, and both are winning. However, they each do nothing differently.
 
vzn
is there some kind of concept of "attacking" each other?
that would push out "do nothing" strategies
 
You also probably meet less lions that way. They walk a perpetual DR direction, so they wrap around the torus on the same line.
 
I have an idea for how to combat the do nothing strategy, but haven't had time to work on it
 
3:10 PM
Yes, you can attack, but you can't tell if the wolf you're attacking is a friend or foe(in general).
So by attacking, you could just as easily kill your own wolves.
 
vzn
huh ok thx
why is it hard to detect ones "own" wolf?
 
They all look the same :D
It's insidious and I love it
 
You should read the spec if interested: codegolf.stackexchange.com/q/25347/14215
 
My favourite example of a genetic algorithm is some guy on youtube who set up an NES emulator to play Mario until the "you died" flag got set and "selected for" longest time before dying. The guy who set up the script didn't realize that dying to an enemy and dying via bottomless pit sets a different flag, so the script's "lose condition" was /only/ dying to enemies. Within a few generations they were jumping into the first possible pit and idling on the "game over" screen.
6
 
@undergroundmonorail LMAO if you have a link for that I want to watch it.
 
3:13 PM
That's lovely.
 
vzn
underground yeah the GAs that play video games are quite interesting even scientifically, there is some research, have collected some papers on that.
 
It was a long time ago so I'm not sure how well I'm remembering details, but I'll see if I can find it
 
I've heard of either that one or something similar, let me look for a link too.
 
There seem to be a billion such pages. Must be a popular class project
 
vzn
springing into video games ... some links on GA/game science papers etc
recently ran into a link on google+... let me dig it up
 
3:15 PM
I think it's a pretty standard AI course project
I know my profs had me do Queens problem, Knight's tour, etc. etc.
Chess was an option for the final project, but frankly it was too overdone. A few people did it, it was boring
 
vzn
it is significantly harder on video games than board games...
its a worthwhile prj... glad to see its now widepread, it was cutting edge (research) stuff ~1decade ago or so.
research still continues.
re the wolf game it appears there is significant survival advantage in avoiding fighting.
 
I'm thinking of a boids-related KotH. A huge flock of prey, submissions as predators(with fatigue/speed based on hunger level). The prey would naturally try to avoid them and use flocking behavior. Hopefully I can work out some details that are bothering me.
 
vzn
the wolf game has some links to evolutionary/ecosystem type setups...
 
I had tons of fun for a couple months playing with boids when I first discovered them
 
vzn
flocking stuff is cool. any challenges on that in the past on here? great idea for a tag...
"emergent behavior" etc
 
3:19 PM
I haven't seen any.
 
vzn
flocking was also studied quite seriously scientifically... some active research continues...
 
I've had red3d.com/cwr/steer in my bookmarks for years, though.
 
@Geobits I would answer that challenge
 
Something like "The winner has the most contiguous birds after 100 iterations."?
Trying to figure out how you win a flocking competition
 
3:22 PM
Can you imagine if the slimes got better after each play?
 
@Rusher No, the only real "flock" is the prey(around 1000). Predators would be given a small "pack", maybe 5-10 individuals. If you get too hungry, you die. Last man standing wins.
 
vzn
great idea, the hungry/starving constraint makes sense to keep out "do nothing" strategies
 
Those population numbers aren't set, just something off the top of the head.
 
I am assuming that eating involves potential casualties?
 
3:23 PM
I'm not sure if I want to allow predator/predator attack, but no. If you catch up to a prey, you eat it.
Discrete locations on a bound(non-wrapped) field, so cornering is a possibility.
 
any language/submission restrictions?
 
I'm going to try to run I/O similar to what Gareth did with the BattleBots, so as long as I can run it from a command line on my box, it should be good.
 
I'm kind of surprised no-one is going the sockets route
 
I don't even know what that means :P
 
@ProgrammerDan I thought about that, and wondered whether learning Java or learning TCP was easier.
 
3:28 PM
socket programming is dead simple in most high-level languages
can't speak for esoterics, though -- that might be a downside
 
vzn
it would make sense to have a coder bot accept submissions... what does the codegolf bot do anyway?
 
True, but everyone knows basic string-based I/O.
 
I basically crafted a fully-realized socket-based API for your Wolf challenge, @Rusher, by specifying every interaction with a remote program as a request-response protocol.
The only difference is my interaction happens at a system PIPE level -- there's functionally no difference in many languages to extend that same approach to a Socket level. Just need a well-formed API.
@Geobits True. I guess if you want to encourage broader base of submissions ...
 
Yea, I call it PDP for Programmer Dan Protocol.
 
@Rusher Hahahaha, nice
 
vzn
3:35 PM
ah a brief lull in the melee. a quick announcement...
doorknobs community ad for codegolf just passed on Theoretical Computer Science with 6v.
 
I wish favorite tags appeared above the ads
 
vzn
after promotion in misc chats incl Computer Science, here (Programming Puzzles & Code Golf) etc
 
I try to click on my favorite tag and then BOOM the ad finally loads and I am somewhere else entirely
 
vzn
this is a real coup because it is possibly the 1st ever ad ever approved on tcs.se... its a tough/disengaged audience over there at times.
so anyway:
congratulations =D
 
If they disapprove every ad, do they just not have ads?
 
vzn
3:39 PM
se circulates misc ads from other sites apparently.
its not so much that they "disapprove" its just they dont vote much, the metas are rather quiet usually except when theres an occasional "disagreement"...
 
Could a strike team of 6 people get a Code Golf ad approved on every single site?
 
vzn
the chats are also not too active.
 
We'll be fast and silent.
 
vzn
yes exactly!
suggested that to doorknob. he seems to be a leader type around here aka "alpha male" wink
you guys are quite amazing how much you upvote hot questions around here.
the whole se site is oriented around active voting. to active voters go the spoils so to speak.
so some "ninja type special operations" could be impressive, wink, wink
afaik you get +100 just for signing up to other sites & then can immed vote on meta threads...!!!
generally se inhabitants rarely coalesce into factions/special interests, there is a lot of contention even on individual sites, but do see some "collaboration". eg around here!
the community ad mechanism seems underutilized on various sites...
also seeing some recent small "crosspollination" between Computer Science, Theoretical Computer Science, & Programming Puzzles & Code Golf...
 
@vzn You remind me of how I used to be in Junior High. I used to form theories about the circles that JH kids form and how some people would slowly be shut out and others would be absorbed. And some of the circles would occasionally merge and then devolve in chaos. And about how speaking up would suddenly bring you back into the circle, or laughing at a joke that wasn't funny.
 
vzn
3:46 PM
hah yes its a bit of a "competition"... alas se chat rooms are like that even worse sometimes :(
built into deep human nature eh? many movies about that etc
social dynamics... maybe a game idea in there somewhere? :)
 
Yea. Btw, you guys did a pretty good job of ignoring JasonC on his bad day. I was amazed at how the conversation continued with him in the background.
I thought, surely someone will ruin it.
All a troll needs is someone to respond to
 
vzn
actually the mods are pretty active in this room... thats the main "hammer"...
hardcore trolls dont last too long in chat rooms when the mods are around... when the cats are away the mice can play though :|
on other hand, when the cats return they might just delete the mice :(
anyway though really fun to see all the energy around this codegolf stuff... some real teamwork etc
 
It's fun stuff :D
 
vzn
=D
 
@Geobits If you do that, it might be worth looking into what Thomas Eding suggested on a comment to the BattleBots question. I suffered from speed issues that it might have solved.
 
3:53 PM
@Gareth That's probably a good idea. Although I must say, doing nothing but removing Rifter sped up my test runs considerably. He liked to add an exponential amount of work to the process.
 
vzn
fyi re "crosspollinators" to watch out for, cs types also recently dinking around with codegolf
 
@Geobits @Gareth I'm a huge fan of timeouts for replies from delegate processes. If you don't reply quickly, you're done.
 
vzn
and yours truly! wink :)
 
Helps tamp down on people whose solutions are arbitrarily long-running
 
@ProgrammerDan I thought about that also. Especially considering the logistics of my idea... Running a 1000+ flock with another x entities, all running on a short timestep... The tricky part is judging how long it takes on my testbox vs your testbox.
 
3:58 PM
@Geobits @ProgrammerDan While Rifter was slow, I still think that the fact I was starting each process for every round didn't help matters much at all.
 
But a hardcoded "spit out the best you have after x ms" could work.
 
@Gareth oh, yeah ... that's a big issue. That's why I went the more complicated route (on my end) of persisting the process invocation over all rounds for @Rusher's challenge, to avoid that overhead.
 
Remember what I said the other day about lots of smart people getting together and building something? I bet we could build a KotH "platform" whose sole purpose was to communicate with clients written in many languages over stdin/stdout, handle exceptions and timeouts, etc. It would allow for easy writing of KotH challenges.
 
I think a continuous STDIN could work nicely, though.
 
Anyone could feel free to grab my Java code and extend it to any KotH platform as a remote invocation wrapper. It's unlicense, so ... have fun?
 
4:21 PM
They released spoilers for the next MTG set last night!!!!
 
Hmm, haven't played in some years. I've still got a box of around 10k old cards in my closet.
 
Ever thought about selling? The game is becoming kind of popular (in other words, extending to non geeks) but it won't stay that way I believe. It has to die at some point.
 
I might have a few Ravnica, but most are somewhere between Revised and Fifth Dawn. Lots of 5,7,Tempest. So old, but not crazy old or very valuable. I'm torn between selling and waiting until my son grows into them, and so far he's winning.
 
There is a 12 year old that not only plays Legacy, he WINS legacy tournaments. Now is a good time for your son, and Legacy cards are hard to find.
Err.. I guess he's older now, but he started winning at 12.
 
Well, he's 7, so it's a bit early I think. He plays the Pokemon TCG, and seems fine at that, but MTG has some complex rules, and he's not great at the subtleties yet.
I mean, I still beat him, but... :p
 
4:34 PM
Yea, MTG is a bunch of "when it says this, it really means this"
 
Yep. Pokemon is pretty straightforward. There's really not much reading into the cards.
And there's a limit on deck synergy, so deck-building is a lot less complex.
 
@Rusher Yeah, but most people aren't interested in cards which are out of Standard, let alone cards which are out of Modern.
 
@PeterTaylor Actually, the largest Grand Prix ever held was Modern instead of Standard. Granted, there are less Modern GPs so more people showed, but 5000 people is nothing to sneeze at.
 
Well, I don't care about tournaments or sets, since I mainly just played with friends. Our rule was "whatever cards you have". Either way, a huge box of old cards is a good way to introduce someone to the game.
Plus I have 20-odd built decks sitting there I can walk him through to explain why they kick so much ass.
 
@Geobits You should look into Commander multiplayer. It favors casual decks that play "whatever you have"
 
4:38 PM
Hmm. I suppose some of my cards might be legal for Modern if they've been reprinted.
(Aside from the handful of boosters I have from the BTG pre-release)
 
Yea, I've done commander. Fun times.
 
My favorite commander: gatherer.wizards.com/pages/Card/…
He works so well in a diplomatic game. I'll give you stuff if you don't hurt me, etc.
 
I have a lot of old favorites, but to me, this was always the best: gatherer.wizards.com/Pages/Card/…
Nothing special, no wordings to confuse, just "No."
 
That's a classic.
Since we were talking about machine learning not to long ago, someone on Board and Card games tried to argue with me that MTG could be broken down to a dominant strategy. en.wikipedia.org/wiki/Strategic_dominance
 
4:56 PM
@Rusher I'd be interested to see their reasoning. Was that in chat or in a comment thread?
 
@Rusher as would I, sounds fascinating
 
5:10 PM
I looked through every single comment I have on B&C and it isn't there...
The question was like "Optimal Number of Lands"
The OP said something like "Every tool or guideline that helps suggest lands so far has been built on "experience" rather than cold hard math."
And then he started downvoting responses that contained any nugget of wisdom that wasn't based on math.
I suggested that MTG didn't have a finite set of possible moves, and so couldn't be solved, and he retorted that there should still be a best number of lands for a deck, given the cards.
I didn't really know where to go from there, and I have a rep for arguing on B&C so I stopped responding.
I suggest you guys stay away. They only like people who are there to "have fun". Serious rules questions are shot down the moment you appear to be proving someone else wrong. Proving someone else wrong is like our equivalent of homework questions.
/rant off /lunch on
 
It's probably true that there is an optimal number of lands for a given deck, but it's a difficult problem to define (unless you're also willing to reject the received wisdom that you shouldn't exceed 60 cards, or you define an order in which you'll exclude cards from your list). And it's a long way from that to the existence of a dominant strategy for the entire game.
Don't worry: I'm not in any hurry to regain my rules advisor qualification, so I have no real incentive to learn the corner cases of recent mechanics.
 
I can only see getting an optimal number of lands if you're given both the deck and the intended strategy. If your deck comes down to a combo of two mid-cost cards, you're going to need more land quicker than if they aren't intended for play on the same turn. etc, etc.
But to hand a computer a deck and say "how many lands" seems an exercise in futility if you're looking for a true optimum.
 
5:29 PM
Talk of Nash equilibria is irrelevant anyway, because metagames are partly influenced by fashion and personal preference rather than being mixed strategies executed by purely rational actors.
 
True. People often lose their minds when coming across something unexpected.
 
6:02 PM
Good evening
 
@TimWolla Good afternoon!
 
6:18 PM
I suppose it is difficult to get the tumbleweed badge here. One would have to ask an incredibly challenging (to avoid answers), perfectly clear (to avoid comments), somewhat boring (to avoid views) question. And even then, you might still get a vote.
 
Better make interesting challenges, helps everyone.
Who cares about the badges here?
 
I care about badges. Not necessarily that one though
 
badges are kind of fun
 
Only four Tumbleweeds have been awarded. Three on "tips" questions, and then this guy in 2012: codegolf.stackexchange.com/q/6485/14215
 
I thought tips questions went on meta. Shows how much I remember
 
6:30 PM
Huh, I think I've written an implementation for the question once before
actually, I've done between-ness centrality computations and other node-centered metrics, not the clustering co-efficient.
 
So I need to ask for tips in an obscure language, but not soon because you guys will remember I said this. I'll bide my time and strike when the tumbleweeds are ripe.
 
Even then... the site seems to be gaining in traffic, so I wouldn't expect a new tips question to have no activity for a week.
 
Hmmm. I guess the opposite extreme would have to occur then. The site has so much traffic, that a new question is buried so fast that nobody sees it. Anyone that does see it should find the question too challenging or boring to bother.
And gah... I have to be moderator for a year to get a badge. Now I have two reasons to improve my English
 
You really like badges, wow.
 
6:41 PM
@ProgrammerDan Gotta catch em all.
 
Good luck to you, @Rusher, good luck.
 
My browser thinks I misspelled "intellisense" and suggested "Eisenstein" as a replacement.
 
haha, nice autocorrect.
 
0
A: Proposed Question Sandbox - Mark XII

TimWollaHiding information in Cats code-golf image-processing You are a secret agent trying to communicate with your fatherland. Of course the information needs to be hidden so no one eaves drops your message. What would be better suited than a cat? Everyone loves funny pictures of cats [citation neede...

 
7:00 PM
Nice, I'd been pondering a steganography golf, but this is better than what I had in mind.
 
Especially since it involves cats, and if there's anything the internet likes ...
 
@Geobits I Googled that word because I thought you mispelled it, and was promptly corrected by Wikipedia. "Stenography" redirects here. It is not to be confused with Steganography.
 
Yes, it's based on study of stegosaurus, which used to hide inside other dinosaurs.
 
I had a 103 fever one time, and was watching The Land Before Time. When they thought Petri had died by falling off a cliff into the Big Water, I started bawling. Turns out he could fly and all was good.
 
7:22 PM
Hi
I'm Back
 
Hi, I'm Geobits.
 
And I'm Captalizing Every Word
We didn't win. :(
 
Is there a word in the English language that means "not congratulations"?
GOT IT!
@TheDoctor Condolences.
 
That's what i did all spring break
 
@TheDoctor Is it a school project or just a hobby?
 
7:34 PM
School team project. We have 30 kids from 5 high schools.
 
Are you a sponsor or a participant?
 
Participant (programmer)
 
I thought about starting a robotics club at the local high school. My partner is a teacher, and multiple kids in his game club have expressed interest
 
You should!
 
Yes
 
7:43 PM
It would be a good chance for me to bridge the gap I have between the physical and the logical.
 
It's one of the things I wish most strongly I had participated in during highschool. Or even college.
Instead I did some programming challenges, but robotics would have radically changed my career progression, and from where I sit now? Only for the better.
 
Robotics == fun
 
If I ever have a kid, we're going to move to a 5A school so he can specialize in something other than football. My school didn't even have a robotics club. We didn't even have a programming UIL.
 
@doorknob do you do robotics?
 
@Rusher if my son shows any interest, I'll encourage the hell out of programming/robotics. I would much prefer that to sports, the returns are so much greater to formulate a formidable mind vs. a short-lived formidable body. In my opinion. :)
and as a disclaimer, if I should ever have a daughter, I'll do the same to her!
 
7:54 PM
On the surface, robotics is a sport, with teams competing to win. At it's core, it is about working together to accomplish what you never thought you could, and making friendships too. And building a robot.
 
Nothing wrong with sports, exactly. The problem is that the job market for it is ridiculously limited. You can get a job in professional robotics without "making the draft". Of course if it weren't that way, it wouldn't pay shit.
That, and people thinking they don't need a fallback position.
 
That was the idea of Dean Kamen when he founded FIRST
 
@ProgrammerDan I'll be honest, I hated being forced into sports as a kid. I cried on the way to my first tennis court. Three months ago I got a real job and started feeling really tired and lazy every day. I started playing tennis again at the local club and running, and now I feel great. Being in shape really improves my focus.
 
@Geobits Yeah, that's exactly my thinking. I was involved in sports and loved it. So I'm not going to discourage that, unless the sport is extremely high-risk (e.g. football). But the returns on the average, or even in any standard deviation from norm, just aren't there.
You've gotta be incredible to get any kind of return, and even then your overall "lifetime" in the sport is short.
 
Yep, but people do it for the same reason they play the lottery. If you do hit it, you can hit it big. Then, most people don't know how probability works, either.
 
7:56 PM
@Rusher Yeah, my lethargic body tells me I should get back into something, but I'm very good at ignoring it.
 
3
A: Proposed Question Sandbox - Mark XII

TimWollaHiding information in Cats code-golf image-processing You are a secret agent trying to communicate with your fatherland. Of course the information needs to be hidden so no one eaves drops your message. What would be better suited than a cat? Everyone loves funny pictures of cats [citation neede...

Any remaining suggestions?
Otherwise I would post it :)
 
up to bottom => top to bottom
 
@TimWolla It looks pretty solid to me, but I'm no expert. Might want to give it time for more people to weigh in.
 
red via green to blue => red to green to blue?
is it least significant bit in each channel?
 
@ProgrammerDan yes
 
7:58 PM
So we can "hide" 3 bits per pixel?
 
Yes
 
From the spec, I assume we're completely disregarding alpha?
 
@Geobits Yes
Because I was to lazy to implement it in my decoder :-)
 
@Rusher
...ops
 
Our program should check that there are enough bits in the given image to encode the message, or should it rescale/resample the image until there are enough bits?
 
8:00 PM
What I MEANT to say was "@Rusher I can read about MTG for HOURS but I can't remember the last time I actually played :P"
 
@ProgrammerDan Undefined Behaviour, do what you want.
Should I state that explicitly?
 
I guess
A lot of people will assume you'll give valid inputs
especially since it's code-golf, most of us skip validation of any kind, unless we must
fragile, short, and incomprehensible solutions -- that's the wave of the code-golf future!
 
Yeah, for Doorknob's recent "Roll D&D Dice" challenge I wrote something I was pretty proud of, then realized that adding the required input validation would be a huge number of characters and scrapped the whole thing.
 
@ProgrammerDan Yeah, that's why I allow UB :)
 
8:06 PM
Undefined Behaviour, I'm assuming.
 
Correct.
0
Q: Hiding information in Cats

TimWollaYou are a secret agent trying to communicate with your fatherland. Of course the information needs to be hidden so no one eaves drops your message. What would be better suited than a cat? Everyone loves funny pictures of cats [citation needed], so they won't suspect secret information hiding in t...

 
@DoorknobChatbot hah! Beat you!
 
1 hour from meta to post? Is that any kind of achievement? :P
 
@ProgrammerDan I have some experience in writing questions by now :)
Just using the sandbox in case I missed some show stoppers.
 
8:38 PM
@TheDoctor No.
 
Is it possible to find a prime number without any arithmetic? I assume this guy posted the challenge for a reason, knowing that it can be solved.
 
0
A: Determine if a number is prime without using arithmetic

DoorknobRuby, 30 require'prime';f=->n{n.prime?} Declares a function that returns whether its argument is prime. Alternative version (same length): require'prime';f=proc &:prime? Obviously bending the rules, but you never said built-in prime functions aren't allowed.

yes ^.^
 
Nice one, Doorknob!
 
It would be greatly appreciated if someone would explain the downvotes. — Ypnypn 55 secs ago
^ I'm assuming some of you downvoted, so reply plz? :P
 
8:51 PM
done and done
 
If I remember correctly there is a RegExp capable of doing that.
Oh, digits are excluded, nevermind
BTW: This would be a prime candicate for too narrow :)
 
Heh, indeed.
I guess you could bitshift your way to prime detection
since those operators aren't excluded
... granted, I'm not sure how you'd do that
but similar to @Doorknob, I could use the BigInteger class in Java to solve directly.
 
@ProgrammerDan But digits are excluded ;)
 
00:00 - 21:0021:00 - 00:00

« first day (1164 days earlier)      last day (3695 days later) »