« first day (1071 days earlier)      last day (3923 days later) » 

psr
12:30 AM
@JimmyHoffa Yes, but the key to understanding why it is 2/3 is understanding that the behavior of Monty Haul (the lovable host) is not random. He can't reveal the big prize but must reveal a goat. If Monty Haul had no knowledge of where the prize was then it would be 50-50, but then he would sometimes accidentally show you the big prize.
I did get that on my first try as a kid. I had done a lot of conditional probability because of playing Monopoly. So, besides the fact that I'm a complete geek we can safely conclude that I am smarter than Erdos.
 
user20683
@psr Erdos was smart but he was more productive than smart.
 
 
2 hours later…
2:15 AM
@psr the >>= is some strange combinator, not bind, the |>> combinator is almost bind, confused me with fparsec for a bit before I straightened that out
 
2:31 AM
|>> is the map operator actually
>>= seems like it's supposed to be the bind because they say they based all the other combinators on it, but I couldn't wrap my head around it because bind is m a -> (a -> m b) -> m b, their >>= is m a -> (a -> (m b -> m c)) -> m c or something by their documentation. It was altogether strange. Maybe it was just described wrong because that doesn't make any sense...
or rather m a -> (a -> (m a -> m b)) -> m b is the documented description, which is strange as all get out, it's like it's not doing the join for you
 
3:09 AM
@MichaelT ok yeah that is pretty fun. I soared like a dwarf on the second monster in level 2 heh, need to grind on level 1 a bit more; that is a genuine rogueish, I didn't think people even still made them like that.
 
 
7 hours later…
10:38 AM
this question is gotta hotta, every lemming out there knows we eagerly awaiting for them to share their crappy wizdom
16
Q: What are examples of comments that tell you WHY instead of HOW or WHAT?

rickFirst of all, in this question I'd like to stay away from the polemic on whether source code commenting is good or bad. I'm just trying to understand more clearly what people mean when they talk about comments that tell you WHY, WHAT or HOW. We often see guidelines like "Comments should tell you...

> When SE users visit the questions from the top of collider, some of them choose to add their answers to it. Since collider audience involves hundreds users, amount of answers brought by collider could quickly increase by 5, 10, 20...
> By indiscriminately counting these answers into hotness score (even when voting evidence suggests opposite), formula pushes impacted questions closer to the top of collider, which in turn brings more visitors, who in turn add their answers, which in turn push the question even higher at the collider and so on, and so on, over and over again, creating a positive feedback loop * of uncontrolled artificial increase of the hotness score.
27
Q: In hotness formula, discard answers when voting evidence indicates that these are not good data points

gnatIn current version of “hot” questions formula (Qanswers * Qscore) *, all answers are assumed to equally contribute to question "hotness score", including even those downvoted into oblivion. Suggest to discard answers when there is a strong evidence that these do not provide good data points for ...

 
11:41 AM
^^^ code reviewer notices absence of comments that tell you why
 
 
2 hours later…
user55340
1:57 PM
@JimmyHoffa Yep, you really do want to farm the entire level. If you have the wizardlands expansion you also get magical graffiti that lets you do mini levels too (and a big storage area).
 
2:55 PM
One thing Haskell does that is so terribly obvious and terribly annoying that other smart functional languages don't: String = [Char] = String, they're the same damn thing. FParsec annoys with the fact that a Parser<char list,unit> != Parser<string,unit> because F# doesn't treat char lists like strings
 
3:08 PM
and it's not duck typing like javascript or any other such, String is literally just an alias for [Char], no coercion occurs to translate between the two
10
Q: close reason (and associated expand the close reason count) request

MichaelTI really don't like migrating crap to SO. This is really the only place where its an issue because of the migration path (no, taking away the migration path would mean more suggestions to repost - there are enough of those for the workplace). The past 90 days, we did 206 migrations To SO and 23...

 
user55340
@JimmyHoffa hmm?
 
I really like this idea (haven't read the whole thing yet), it drives me nuts when I see SO-like questions that are poor quality and internally I'm fighting myself the migration vote or the close vote, the close vote leaves the broken window here where it doesn't even belong, the migration just sends it over there where it's going to be closed anyway
having a "This isn't even good enough to migrate" type of close reason is a great idea
 
user55340
I pull the close vote reason from the other site where it would be on topic to.
 
Would make those decisions easier
 
user55340
Yep.
 
user55340
3:13 PM
Grab the custom reason from my question and add that as a custom close.
 
> I really don't like migrating crap to SO
 
user55340
This question is off topic on Programmers.Stack Exchange. It would best be answered on Stack Overflow, however, the question doesn't meet the minimum requirements for a question on Stack Overflow. Please read the Stack Overflow question checklist to fix up your question for migration.
 
changed to
> I really don't like migrating crappy questions to SO
because I read "crap to SO" as "stuff to SO", which was not your intent
 
3:35 PM
Who wants to get their flag in before a mod handles mine?
0
A: How can I deal a team member who is irresponsible and shows no commitment?

user1450877Lock him in a cage with his development machine and poke him with a cattle prod if you don't see him typing.

What a genuinely spectacular answer (on a genuinely spectacular question)
 
user55340
2
A: Error in calculation of the number of digits in a number

H2CO3This is because your compiler is punishing you for not indenting your code properly. Just kidding, in fact, your logic is flawed (and/or your expectation doesn't match the working of the code): you need else ifs because if your number is greater than a certain limit, it will be greater than smal...

 
4:21 PM
I am going to be offline for a few days. Take care guys
 
@gnat I might burn the house down, sorry dad.
 
@JimmyHoffa keep your eyes on lemmings. They're coming! They're coming! Examplezz all over us!
33
Q: What are examples of comments that tell you why instead of how or what?

rickFirst of all, in this question I'd like to stay away from the polemic on whether source code commenting is good or bad. I'm just trying to understand more clearly what people mean when they talk about comments that tell you WHY, WHAT or HOW. We often see guidelines like "Comments should tell you...

 
psr
accepted answers with 0 upvotes are strange
 
user55340
@psr Indeed.
 
psr
"I'll use it, but I don't have to like it".
 
4:31 PM
There are many questions on whether comments are good or bad, but no one that addresses the specific question of what are good examples of comments that tell you WHY. If everyone provides a valid example, then they are all correct answers. The format of this website is to facilitate a Q&A process where not all answers are created equal. — David Kaczynski 16 mins ago
 
user55340
@gnat It would be intresting to get a chart. Horizontal axis is # of answers. Vertical axis is rep of user. Look at mean, median and quartiles for each "# of questions" grouping.
 
user55340
I believe one would see the more answers, the lower the mean rep of the person answering the question.
 
user55340
Hot questions -> more low rep users answering (high rep users tend to stay away from them once they get 'hot').
 
@MichaelT what axis will be used to show average answer crappiness? :)
 
user55340
@gnat color bands.
 
user55340
4:39 PM
(I like using the color axis)
 
user55340
One could do a bubble chart instead...
 
user55340
 
user55340
horizontal - number of answers. vertical - rep of person answering (boxed). size: number of people in that rep box answering the question. Color - mean score of answers of people within that box.
 
user41796
@psr can occur when the OP doesn't have enough rep to up vote and nobody else visiting the question thought the answer was worthy of an up vote (or they didn't have enough rep either)
 
user41796
I have had a number of accepts where the OP says "would up vote but can't because of low rep"
 
psr
4:45 PM
@GlenH7 Good point.
 
user41796
<bragging> Pulled together a query joining across four tables with three separate key fields </b> Kind of a big deal to me as I really haven't done that much large set manipulation.
 
user41796
Now it's time to wrap that into a function and advertise it as a service.
 
user55340
Just something to watch... its kind of neat.
 
user55340
6
Q: Can't reasonably complete a low quality question review

MichaelTI looked in the low quality review queue (there was a 1 on it). Turned out to be a question. That is certainly not a looks good. I've already added a comment before it hit the queue (and have the only comment there at all). Its not an edit I can save. And I've used all my close votes for t...

 
user41796
5:03 PM
@MichaelT I thought I hit that source question as an audit question, but the review history doesn't corroborate my memory.
 
6:14 PM
Shog9 on August 09, 2013

With over 100 sites on various and sundry topics, Stack Exchange has become something of a juggernaught: keeping this many different communities healthy and well-supported can be a bit overwhelming at times. We’d never be able to pull it off if there weren’t so many of you pitching in to help, and so I’m more than happy to announce that we’ve managed to convert another dedicated volunteer to full-time cat-wrangler:

Jon became fascinated with computers when he got to play with his cousin’s Commodore 64 circa 1986. Over the years, Jon went on to write many fine Hello …

 
6:37 PM
You are a PHP developer; awful code is what you do. ;) — Yannis Rizos 18 secs ago
There. I said it.
Hah! Flagged as rude. Deleted.
 
psr
@YannisRizos How does this work? After an epic binge of making rude comments, flagging them, and deleting them, do you end up with awesome flag handling counts but are then honor bound to suspend yourself from making comments?
 
6:54 PM
2
A: Haskell memory efficiency - which is the better approach?

Edward KmettYou can expand your matrix grammar into an ADT with perfect sharing with a little bit of trickery: {-# LANGUAGE DeriveFunctor, DeriveFoldable, DeriveTraversable #-} import Data.Map import Data.Foldable import Data.Functor import Data.Traversable -- | Type synonym for non-terminal symbols type ...

People like Edward K and their activity on SO are the reason I often avoid even beginning to answer any Haskell questions
 
@psr Yes. But I won't suspend myself this time, as it would be pointless (I'll be afk from tomorrow until Aug 20).
 
user41796
@YannisRizos shouldn't that be declined with "guilty as charged"?
 
@GlenH7 Comment flags can't be declined with a custom message, unfortunately.
 
user41796
I'll go open an MSO request stating that diamond comments shouldn't be flaggable.
 
@Ampt here's some helpful reading, valuable information: comonad.com/reader/2012/…
 
psr
7:02 PM
@JimmyHoffa Yes, that's a fantastic answer. I wonder what he said.
 
@psr Yeah, there's a good variety of folks like that in the Haskell community. Really makes me wish I had gotten a degree
 
user41796
@JimmyHoffa "It's never too late. You can always go back."
 
user41796
7:17 PM
3
Q: Open Source Projects Leading to Uniquely Interesting Opportunities

stanigatorNot sure if I asked this at the right place (it's development related). It would be great if you can direct me to the right place if I did ask in the wrong place. I was encouraged by hosts during some company tours to participate in the open-source software community if interested in software. T...

 
user41796
Today's ethical quandary
 
@JimmyHoffa Thanks!
 
user41796
At first glance, it's an opinion seeking poll. And then comes the latest answer which relies upon the author's experience and expertise to provide a somewhat solid answer.
 
user41796
It doesn't help that the question is from the bad-old-days.
 
user41796
7:25 PM
My confusion is that I would have swore it was an audit check and I got a "congrats, you passed!" message. But I think the reality is that I was too sleepy to really remember this AM.
 
0
Q: Is IE the white-gloved mother-in-law, whereas Chrome is the indulgent grandmother?

Clay ShannonThis is not meant to start a religio-technical browser war - I still prefer Chrome, at least for now, but: Because of a perhaps Chrome-related problem with my web page (see https://code.google.com/p/chromium/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Pri%20M%20Iteration%20ReleaseBlock%2...

That's definitely one of the stranger titled bad questions I've seen
 
user55340
@GlenH7 I do like @YannisRizos 's MSO comment on that question...
 
user55340
Argh, when a question starts with "Hi fellow programmers", the OP's account should be automatically destroyed when they click "Post Your Question" — Yannis 1 hour ago
 
user41796
We're coming up with all sorts of feature requests to put into MSO today.
 
user41796
@JimmyHoffa It's already been edited into something way more tolerable
 
user55340
7:40 PM
Mine was a bug... and I don't mind some MSO rep for reporting something, and one of the (M)SO mods appears to agree with the general idea / issue.
 
user41796
I dunno. I think the auto delete (or perhaps suspend) and the can't-flag-a-mod-comment requests have merit.....
 
I assure you, I've already downvoted it. Downvoting isn't an option to complete the review. Flagging isn't an option either. I am out of close votes (that the system should have detected before offering that as an option). Low quality answer reviews are ones that I can do. And I do have sufficient rep (11k on P.SE) to do close votes. — MichaelT 4 hours ago
You just love stating how your rep is over 10k
 
user55340
There are two deleted comments prior to mine suggesting that I didn't have sufficient rep.
 
You just loooove stating how your rep is over 10k
Dungeons of Dredmor would make a good mobile game
 
user41796
@JimmyHoffa quit being all jealous and go answer something that doesn't involve a monad
 
user55340
7:44 PM
Now you make me want to hunt up the guy trying to tell gnat he (not gnat) knows the type of questions that should get reposted on P.SE from SO.
 
@GlenH7 shh I'm busy being cantankerous
 
user41796
@JimmyHoffa that's a functor, right?
 
user41796
or is that funktor?
 
user55340
Looks like its gone now... the question was negative rep and closed... might have gotten culled.
 
user55340
@JimmyHoffa Yep. It would.
 
7:46 PM
 
user41796
@JimmyHoffa who makes up those names?!?
 
@GlenH7 Ask @YannisRizos, he speaks that stuff...
> Haskell is an obscure, hated and mostly disused esoteric programming language. Its design was greatly influenced by the work of that computer science luminary, Dr. Pointer C. Database.
Wow, someone made possibly the best wikia site ever
> Haskell is a dialect of COBOL, which it superficially resembles, and an embodiment of the Zeta-Calculus. In fact, native speakers of COBOL often describe Haskell as sounding posh and affected, with a very broad unintelligible accent.
 
user41796
Knowing where you live, I would be tempted to make comments about recently legalized substances
 
user55340
@GlenH7 isn't haskell popular up near Redmond? They've got similar tolerances there too...
 
user55340
> At the conference on Functional Programming Languages and Computer Architecture (FPCA '87) in Portland, Oregon, a meeting was held during which participants formed a strong consensus that a committee should be formed to define an open standard for such languages.
 
user41796
7:51 PM
@MichaelT I think they inject a liquid form directly into the municipality's water supply
 
user55340
Oh, Portland... like thats much better.
 
user41796
I think my comment stands. Esp since they followed in Hoffa's home state
 
user55340
@GlenH7 That it did, and certainly applicable to his perceived fondness of it.
 
user41796
CNN's Gupta's announcement was a pretty big deal too
 
user41796
I wonder how that will affect the national conversation
 
user55340
7:56 PM
@JimmyHoffa It would... Current character is a pyro-math with ley walking and staff as a backup. Doing quite well.
 
user55340
curse of the golden mean rocks is a fun one. It does polymorph damage to the monster each turn and drops some additional gold (each round).
 
@MichaelT I like this unarmed idea at least for a bit. Seems easier, and yeah archaeology goes nicely with it. I canned dual wield; it doesn't activate with unarmed
 
user55340
The abilities don't synergize... you've still got the stat/substat bonsues like improved counter attack.
 
user55340
If you do another unarmed: Unarmed, archaeology, psionics (health and crowd control), archery + tinkering (ranged damage), berserker rage (improved melee damage), and master of arms (improved resists - part of rage is getting hit).
 
does anyone else get a little put off by code reviews where all the comments made are about misspelling in the comments accompanying the code and none about the code itself?
 
user41796
8:01 PM
@Ampt don't be poking holes in their bubbles. What gushes out will be quite icky
 
Me! Me! sarcasm aside, I've actually grown very annoyed of code reviews where there's no criticism of my code; I know I didn't do things perfectly and so lacking criticism makes me feel like I'm wasting my time even asking for the review. So I agree that nothing but criticism is bad, but none is as well. — Jimmy Hoffa Oct 11 '12 at 14:47
 
user55340
tinkering + arch will also give you a good bit of trap management too.
 
i wouldn't say anything as I work on a small team and don't want to step on any toes but it feels like a gigantic waste.
 
@MichaelT I'm liking perception
 
user55340
perception + archery pairs nicely too.
 
8:02 PM
and I know I'm not perfect and I want suggestions, but all I get are corrections on spelling mistakes like seperated->separated
 
@Ampt Yeah, that's common. Annoyed the crap out of me. I never towed the silence treatment pat-eachother-on-the-back code review style, I would ask lots of questions and try to poke holes in their stuff
 
user41796
@MichaelT, @JimmyHoffa - should I ask what game you're playing or is that going to tempt me into a massive time sink that I can ill afford?
 
user55340
Dungeon of Dredmor.
 
@GlenH7 It's only $5, $10 for the mega-pack with DLC and such; I wouldn't say you could ill afford it...
 
user41796
8:03 PM
and / or will my wife end up divorcing me because I started playing?
 
user41796
@JimmyHoffa wasn't worried about money cost. Was worried about time cost.
 
user55340
Its not real time at all, so you can save and quit or walk away for awhile without penalty. You die fairly fast... so you can play a quick game.
 
@GlenH7 I know :)
@GlenH7 It actually looks like it will work well in this regard, it's a graphical rogueish and rightly in the rogue style it's not a huge game to run through for ages
@MichaelT are the levels randomly generated? Seems like, but not certain
 
user55340
@JimmyHoffa Tile (room) based random.
 
The only thing I find annoying is the controls. I hate double clicking things.
 
user41796
8:08 PM
I'm thinking it won't do me well with the widow test
 
Is there a way to get the log thing to expand?
 
user55340
What are you double clicking on?
 
Doors?
 
user55340
The only time I click on doors is to close them. Arrow keys to move.
 
@GlenH7 This is nary the place to find advisement on such topics.... heh
 
user55340
8:09 PM
Moving into a door will open it (or try to kick it).
 
user55340
Yes! Finally a good answer to that prolog game question.
 
user55340
6
A: How to implement interactive programs (like games/simulations) using logic programming?

Corbin MarchTracking game state is no different than tracking state in any other Prolog program. You define facts and then use them to make decisions. It's pretty old, but the article Exploring Prolog : Adventures, Objects, Animals, and Taxes does a good job of explaining how this might work in a game. Summa...

 
user55340
@JimmyHoffa In the upper left? Not that I've found.
 
user41796
so if I add an answer to make the 15th answer and move the question into CW status, but then delete my answer a little later, what does that do to the question?
 
user55340
@GlenH7 I believe it would still be all CW.
 
user20683
8:14 PM
@GlenH7 yeah, it's still CW
 
user20683
I can un-CW stuff as an at will ability
 
user20683
Because this is the 4th edition and I am a wizard (read crazy-pants).
 
user41796
the thought occurred to me after seeing all the low quality answers on the code review question hoffa linked
 
user41796
1st and 2nd edition were the best.
 
@MichaelT That is both awesome in quality and content; it actually makes coding in prolog look relatively fun
 
user55340
8:17 PM
@JimmyHoffa btw, Dredmor question - have you gotten lots of different damage types at once yet?
 
@MichaelT It seems I immediately was doing smashing and piercing
 
user55340
 
user55340
(not mine) I just like how they put tape on it to expand something.
 
What did they put tape on?
 
user55340
Look at the resistances. Its normally one column. They put a 'bigger' piece of paper with some cellophane tape.
 
8:19 PM
ahh
 
user55340
And how the damage types expands bast the edge of a panel... with tape.
 
interesting. I haven't yet identified how any of that works. I just went around kicking diggles, one of them appeared to be a person turned into a diggle but I kicked him anyway
 
ok, so I have a message that contains X number of hex values in the format "0x123, 0x12, 0x12, 0x12, ..." and I want to parse it using scanf
 
@Ampt Why using scanf?
 
because I am but a newbie c++ dev
is there seomthing I should be using?
 
user55340
8:21 PM
Still not the right tool for arbitrary sized data.
 
user55340
You want a state machine.
 
well X could be anywhere from 2 to 9
that helps determine what I do with it
 
You know more C++ than me, but scanf isn't really the right tool for string parsing
 
user20683
@Ampt Cin as I remember
 
user20683
where is DeadMG's grumpy self when you need him?
 
8:22 PM
mmm its not keyboard input
its input that is in a char[] from a socket transfer
 
user55340
20
Q: Simple string parsing with C++

Andreas BrinckI've been using C++ for quite a long time now but nevertheless I tend to fall back on scanf when I have to parse simple text files. For example given a config like this (also assuming that the order of the fields could vary): foo: [3 4 5] baz: 3.0 I would write something like: char line[SOME_...

 
user20683
 
user20683
The top 5 answers
 
user20683
all SO
 
ack ack ack
@MichaelT Ni! Did you see the code block the guy wrote as a parser??
 
8:24 PM
@WorldEngineer I already have the char[] (I did that in C because I already knew how to do it)
but now I want to get those values
and figure out how many values it contains
reading @MichaelT s suggestion now
 
user55340
Personally, I'd just do a quick walk the string as a state machine - its a simple one.
 
user55340
And stuff the results into a vector (I think thats the right C++ thing)
 
that's what I'm planning on using
 
user55340
But strtok is a nice method too.
 
@MichaelT is right. Your case is simple enough to warrant a dumb state machine, you'll get perfectly valid performance and if performance isn't super important you can make the statefulness even dumber by making multiple passes
 
8:26 PM
and by state machine you mean something like strtol using the end pointer feature
performance isn't necessary as this is a multithreaded app
so a thread can take as long as it wants in most cases
without holding up anything else
 
State machine as in "Current state: reading numbers" -> "Current state: reading , 0x" -> "Current state: reading numbers" -> ...
 
user55340
You've got the states of "reading junk" and "reading digits". Start out in the junk. Once you hit an 'x' you switch to reading digits.
 
that was a serious pain in the ***. Had to use boost 1.34 as that was the only one I had access to that even supported the idea of threads
I then take those digits and put them in another temp char array
and then use something like strtol right?
 
dunno what strtol is but probably means the same thing, you should come away with a string array or two dimensional char array; either way
 
user55340
You've got an integer with the value of the chunk. Starts out as 0 (init when you switch states). Multiply current value by 16, add the appropriate digit. Reapeat until you've got a non [0-9A-F] character.
 
8:29 PM
woah woah now you're just talking crazy
 
@MichaelT He can do that in a second pass since perf doesn't matter and it'll be easier to get an array of strings, then individually use some function on those strings
 
psr
@JimmyHoffa I assure that with a Masters in CS (sort of meh school) I have little idea what he's talking about. What I do know I didn't learn in school at all.
 
you're telling me the best way to parse a char[] in c++ is to do it by hand digit by digit?
 
user55340
@JimmyHoffa If you're going to do two pass, use strtok for that. It makes tokenizing strings much easier.
 
@MichaelT Then there ya go. I don't know what's available in C++ well enough to know
 
user55340
8:31 PM
@Ampt its a nice, simple, small state machine that does exactly what you need...
 
I'm not saying that it doesn't
sigh let me get started
 
user55340
As much as I hate cplusplus.com... cplusplus.com/reference/cstring/strtok
 
@Ampt I vote use strtok instead
turn the hex values into numerals later
 
mind you I have a working version... it's just heavily relying on certain lengths of strings
 
user55340
If you can get your head around the state machine, its nice fast and elegant. If you can't (and nothing wrong with that), use strtok.
 
8:32 PM
if you have 0xA instead of 0x0A it'll derp out
I get the state machine
was just hoping for a built in utility to just zip it up all nice and neat
char[]->vector containing values kthx
 
user55340
strtok + sscanf is very straight forward and people are less likely to fuss about that in a code review than custom state machine.
 
@Ampt If you want something from the libs, post on SO, we're not C++ guys
 
user55340
@Ampt its called "write it in perl"
 
@MichaelT So long as I don't talk about in the comments they'll have no clue what's in the code :P
@JimmyHoffa but... Science... I was hoping for a port to python and then to haskell where the operation would be done for me and then we could go to perl and to java, then to python and back to c++
 
@Ampt Science's purpose is to find inefficient things is it?
 
8:35 PM
I would go so far as to call a lot of modern science brute force, yes
we figured out anatomy because we cut open a lot of dead people
our computers work by executing a very small set of commands many many many times
 
@Ampt Good point, it would be way more efficient to just have thrown out science and done these things the old fashioned way :P
 
Efficient doesn't always mean faster. A smart car get's better mileage than a ferrari but the ferrari goes faster
unless that smart car has a motor from a sport bike in which case it's probably faster too
 
user55340
#!/usr/bin/perl

while(<>) {
        chomp;
        @h = map { hex($_) } split(/,\s*/);
        print join(' ',@h),"\n";
}
 
user55340
0xAf, 0xA, 0x123
175 10 291
 
psr
8:38 PM
Half way to the first bronze badge ever on SO for intersystems-cache tag. Woot.
 
user55340
See? Write it in perl. Problem solved.
 
for your next trick you'll get it from c++ to perl and back right?
lol
 
user55340
Nah... write it all in perl. Get rid of that C++ thing.
2
 
I would if perl would just get with it and support CAN communication already
 
user55340
Hey... I'm sure they will... once perl 6 comes out any day year now. And if you do it right, work with parrot and be able to call it from haskell.
 
user20683
8:41 PM
@MichaelT Then get Hoffa to write your monads for ya and you're set
 
[hexToInt x | x <- map (drop 2) $ splitAt (==',') yourString]
my golf wins
and it's single pass
 
user55340
Oh? You want to golf it?
 
no. no I don't. Take your perl and go home.
 
hahahaha
please do
i want to see some code golf in here
 
@Ampt You're about to see some dc in here is probably what's coming...
 
user55340
8:46 PM
Nah... just trying to get the right command line args.
 
dc?
 
user55340
Heh... my project euler thing awhile back.
 
user20683
You guys totally missed a spam flagging...
 
user20683
/turns off flamethrower
 
user55340
Oh, the dc thing...
 
user55340
8:52 PM
Aug 4 at 0:56, by MichaelT
Solving Project Euer #15 for a 4x4 grid (rather than 20x20 grid) with dc: [d1-d1<F*]dsF8lFx4lFxd*/p
 
user55340
perl -p -e 'print join(" ",map{hex}split/, /)'
 
user55340
Ok, few fewer characters...
 
user55340
perl -p -E 'say join(" ",map{hex}split/, /)'
 
(map read $ split (==',')) :: [Int]
(read needs to be told what it's reading to, thus the type annotation at the end)
 
user55340
Just got dove chocolate to try... and one guy got the "Take time to look at the autumn leaves" as his uplifting message. He's colorblind.
2
 
9:03 PM
That's awesome
> The innovative Go Notation is syntactic sugar for the highly sophisticated mathematical construct of Gonads which are used for J/O (Haskell's alternative to I/O). Gonadic J/O is practiced by very few and understood by still fewer; the Haskell expert will be adept in their handling of Gonads.
That uncyclopedia is hilarious
main = putStrLn . (++ "!!") . (>> "AA") $ "Hello world !"
which actually just prints AAAAAAAAAAAAAAAAA!!
 
user55340
After this dredmor character dies (the pyro math), I'm thinking of a mana hungry warlock + viking.
 
> Larry Wall is another (in)famous PERL programmer though most agree that he is a reclusive cult leader bent on using PERL to take over the world. His cult followers claim he created the PERL language but evidence proves that it was indeed created by mainstream Chinese goats.
> Over the years, PERL mutated more and more and finally reached a stage where the syntax changes all day long, it takes about 3 hour until the complete syntax has changed. It now combines the power of sh, the clarity of sed, and the performance of awk with the simplicity of C.
 
user55340
staff, dual, viking, warlock, blood mage, ley walker, alchemy
 
strtol is the goofiest thing...
> Since strtol() can legitimately return 0, LONG_MAX, or LONG_MIN (LLONG_MAX or LLONG_MIN for strtoll()) on both success and failure, the calling program should set errno to 0 before the call, and then determine if an error occurred by checking whether errno has a nonzero value after the call.
 
@Ampt C++ is the goofiest thing
 
9:15 PM
@JimmyHoffa yes. Yes it is.
 
user55340
I lack my favorite xp accelerator and utility tool class (burglary). Its all about pushing mana into viking and warlock.
 
which is why I'm making this module which sits and listens to can messages and makes them available via socket, so that I can write the rest of this tester in python
 
@MichaelT Does smithing make you kick harder? Does it get the best items?
 
user55340
It also lacks a gtfo skill... its all about "do damage"
 
user41796
@WorldEngineer Nah, they knew you were on it.
 
user55340
9:18 PM
Smithing adds to damage in several ways.
 
user55340
First, every level of smithing has a direct +burliness. Burliness boosts life, melee, and block chance.
 
user55340
Second, a few levels (4, 5, 6) have a +1 crushing damage.
 
user55340
And smithing is appropriate for getting high level equipment - that either costs too much in the shops or too rare to find otherwise.
 
user55340
For example...
 
user41796
Ugh, I hate late answers on crap questions from the dark days. Hopefully my comment makes him feel welcome but points out that he uncovered a dark corner of our site.
 
user41796
9:23 PM
0
A: What was your worst software development day like?

GauzOn day ONE, I was given a task to enhance an existing C# project. But I was not able to compile the project since several pieces of the code was not checked in by a developer who left the company in an unhappy manner. To my horror, his development machine was not available at all. Later, I heard...

 
user55340
(((iron + iron -> rough iron axe) + iron -> iron axe) * 2 -> double bladed axe) * 3 -> The Hexaxe of the Magic Axe Lords.
This is a 36 slashing damage weapon with a chance of procing a killing blow for the next attack (+5 melee damage and +100 critical chance)
It requires smithing level 6 to make.
 
9:37 PM
@MichaelT Can I sell things at stores?
 
user20683
@JimmyHoffa yeah, you hold down Shift and click stuff IIRC
 
Looks like two spam bots confused eachothers posts for real people so they tried to have a spamversation
 
psr
10:25 PM
@JimmyHoffa Are you referring to the SpamPoster Syndrome?
 
10:49 PM
Eh? Referring to the deleted link above.
 
psr
22
Q: "I've somehow convinced everyone into believing that I'm actually good at this" - how to effectively deal with Imposter Syndrome

Aru RayImposter syndrome is a psychological phenomenon wherein an individual is convinced that they do not deserve the success that they have achieved despite (perhaps extensive) empirical evidence to the contrary. For me, this usually manifests in the thought: I've somehow convinced everyone into ...

But for spam bots.
 
@psr Nah, spam bot posted spam, 'nother one thought somebody made a post so they posted spam because they think people are active, first one thinks someone added activity so it posts more spam ...
mutually recursive spamapalooza
"Head, meet tail" "Tail, engulf head" wait what?
 

« first day (1071 days earlier)      last day (3923 days later) »