|
Quote: -15 right now I am glad to be a "Florida Man". It was cold this morning. 55 F. That is: PLUS 55!
|
|
|
|
|
I thought all the "Florida Mans" were here!
As well as everyone from every other state and walk of life for the holiday craziness in Summit County Colorado.
|
|
|
|
|
Quote: I thought all the "Florida Mans" were here!
Are you telling me there is more than one? That I am not unique? Rats! Double Rats!
|
|
|
|
|
Ditto.....
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
|
|
|
|
|
Living in x, it's grey and cold here. Quite the contrast from 74 and "clear with periodic clouds" in y.Key.Key
But hey, I moved to the East Coast from San Diego years ago to experience actual seasons and weather.
|
|
|
|
|
|
|
Who writes the subtitles on the Code Project Daily News?
They really crack me up.
Example:
Scientists say they've found a way to solve the 'oldest open question in astrophysics' (3 body problem)
OK, now do four
|
|
|
|
|
Kent Sharkey[^] does.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
but does Kent Sharkey really exist? Same with Sean, does he really exist?
Part of me thinks these are aspects of Bob's split personality.
It's much easier to enjoy the favor of both friend and foe, and not give a damn who's who. -- Lon Milo DuQuette
|
|
|
|
|
I do not.
Chris wrote me back in grad school. If I weren't still running on that PDP-11, I'd thank him.
Sean on the other hand, is great. I think he's on the other rack though.
TTFN - Kent
|
|
|
|
|
If you ever reach MVP / MVE on CP, you'll know that Sean does indeed exist. And has the most deplorable taste in "clothes".
Mankinis are not a good look, and when he is standing there on your doorstep to deliver eth Certificate dressed only in a red mankini and a thin layer of oil, you do begin to wish he perhaps didn't. He is the reason why "Casual Friday" was banned in Toronto after just one week.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It's much easier to enjoy the favor of both friend and foe, and not give a damn who's who. -- Lon Milo DuQuette
|
|
|
|
|
And the place for those news is: The Insider News[^] just in case you want to thank him personally.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
bleahy48 wrote: They really crack me up. I think many people here are subscribed to the newsletter for exactly that reason
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.
|
|
|
|
|
Thank you for the kind words - they keep me going some weeks.
TTFN - Kent
|
|
|
|
|
Thank you making us laugh for every news item.
If you are not criticized, you may not be doing much.
|
|
|
|
|
Successfully broke Microsoft Ajax Minifier and YUI Compressor using ECMAScript (JS) 2015 (6) syntax for ComputedPropertyName in object creation...
See you next year...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
It's just like a rodeo, but instead of breaking a horse you are breaking the Minifier.
Maybe we should refer to you as "Bronco Peter" in the new year.
Yeehaaaah
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: Microsoft Ajax Minifier and YUI Compressor using ECMAScript (JS) 2015 (6) syntax for ComputedPropertyName in object creation.
this line here made my brain explode all over my monitor.
It's much easier to enjoy the favor of both friend and foe, and not give a damn who's who. -- Lon Milo DuQuette
|
|
|
|
|
So I ran into the Dangling else[^] problem but I thought I could solve it using an open ended where constraint in my grammar, possibly enabling backtracking i wouldn't need who cares.
Anyway, turns out nobody usually tries to parse languages with LL based parser generators in part because of problems like this.
So there's no easy doc on how to adjust an LL parser to fix the problem, and my parser seems to be hanging up on it - by choosing the wrong one (either that or there's a bug somewhere else in my grammar), i haven't fully pinpointed it yet.
I don't know what to do. I can solve it using a virtual production (where I take over the parse) but i only want to use those as a last resort
I think I figured it out. There was a bug in my grammar that wasn't helping.
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.
modified 31-Dec-19 4:16am.
|
|
|
|
|
Fascinating. I always use curly braces so there's no ambiguity, so I tried:
class Program
{
public static string DanglingElse(bool a, bool b, string atrue, string btrue)
{
if (a) if (b) return btrue; else return atrue;
return "X";
}
static void Main(string[] args)
{
Console.WriteLine("false, false: " + DanglingElse(false, false, "A", "B"));
Console.WriteLine("false, true: " + DanglingElse(false, true, "A", "B"));
Console.WriteLine("true, false: " + DanglingElse(true, false, "A", "B"));
Console.WriteLine("true, true: " + DanglingElse(true, true, "A", "B"));
}
}
Resulting in:
false, false: X
false, true: X
true, false: A
true, true: B
So in C#, the else applies to the inner "if".
|
|
|
|
|
Yep. Basically all C family languages do. It's part of the spec. Getting the parser to do it though?
With an LR parser all you do is override a shift reduce conflict.
With LL it's a bit more difficult. I ended up writing the parse for it by hand. I'm sure I didn't have to, but i didn't want to spend the extra time figuring out the )%)@$$ grammar constructs i could get it to actually eat
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 actually can't think of any language that doesn't.
Python doesn't count.
|
|
|
|
|
Visual basic effectively disallows it because of the end if syntax (i think. i don't touch VB)
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.
|
|
|
|