|
The Bible ?
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
Nah, it definitely didn't have any mammoths.
|
|
|
|
|
the spambots are unleashed upon CP
Message Signature
(Click to edit ->)
|
|
|
|
|
Shhhh! They are still sleeping - don't wake them up ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Look one thread below.
[edit]Message below cleansed: nothing to see here, move along, move along ... - OriginalGriff[/edit]
modified 18-May-19 4:51am.
|
|
|
|
|
That's just one idiot, not a flood.
He's a script kiddie - he's been posting crap like that all week, seeing what he can get through. Some did, which probably means a moderation error rather than a load of Chinese spammers.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
In an effort to factor an LL(1) grammar I was about to write a function to get the longest repeated "substring" over collections of collections.
I hate this part of my code.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
I'm surprised at how often that works
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
codewitch honey crisis wrote: I'm surprised at how often that works Really? You're surprised that it works 0% of the time?
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
I've written
int Get6Times7() { ... } a lot.
What can i say?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
xkcd: Random Number[^]
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
void FoosBar()
{
try
{
return 42;
}
catch
{
return 43;
}
}
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
You don't enjoy the monotony punctuated by periods of intense stress hunting down off-by-1 errors?
cheers
Chris Maunder
|
|
|
|
|
Fencepost errors keep life interesting though!
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Stop! 😲😰😨`
|
|
|
|
|
I just critiqued a submission by a trio of undergrads at some israeli university.
I didn't mean to. I thought they were telling me how to factor an LL(1) grammar.
Turns out they were trying to learn how to factor an LL(1) grammar, and they were wrong.
Well there's several hours that I'll never get back.
I wonder why they don't have to stamp "UNDERGRAD SUBMISSION" on their papers.
*headdesk*
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Well....
Alternatively you can always stare in wonder at this beautiful picture I composed... And let your mind explore the infinite possibilities of the multiverse for a couple of hours...
modified 17-May-19 22:09pm.
|
|
|
|
|
big star wars fan then?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Haha.. no Star Wars here...
Err.. I mean, ok, the right most head hunters pics looks like he comes straight from Star Wars. But, unbeknown to all but me, he comes from parallel universe where there is no f***ing emo Jedi!
While I have to admit laser sabre are cool, I got psionic sword in it, they are cool too!
|
|
|
|
|
oh on the right he looks like that bobba fett guy or whatever. But then i am not a big follower of star wars, star trek, etc. so maybe it's just me.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
It's his parallel universe twin indeed. You eyes didn't mislead you!
It's a common mistake, no worries!
|
|
|
|
|
I love your dice grammar. it is good at breaking my code.
I tried to fix it to reference diceSets instead of diceExprs and it non only didn't parse, it didn't fail properly either.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
cool, glad to be of assistance, hahah!
good to know the ball, or maybe the dice, is still rolling! I was wondering if any progress were made..
On my side progress are made too! I display plenty of warning about the numerical data having various well identified problems!
Dunno how to fix them though! :/
|
|
|
|
|
If your goal is to make it work, I strongly suggest a simple recursive descent parse (hand rolled)
Your grammar is tiny, man. And dice roll syntax is not going to change. It's not a programming language - there's nothing to evolve. So maintenance wise, as a former software architect by trade, I'd advise against employing said tool.
The rationale being it's at least as, if not easier to write the parser by hand rather than complicate your build process (even slightly)
But if your goal is to learn how to use a parser generator than keep going this route.
Either way, I'll continue to help. But i could have written that recursive descent dice parser 6 times over by now. =)
Your dice grammar is a keeper in any case, as i like things that break my code.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|