|
01001100 01101111 01101110 01100111 00100000 01101100 01101001 01110110 01100101 00100000 01010011 01101001 01101100 01101001 01100011 01101111 01101110 00100000 01001000 01100101 01100001 01110110 01100101 01101110 00100001
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!
|
|
|
|
|
Stop that binary baby talk. Execute this, it will clear your head:
F8 FF AF BF F8 00 5F 2F 9F FF FF 3A 04 8F FF FF 3A 04 00
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
No translator I use can make sense of it
|
|
|
|
|
Use this, page 102[^]:
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
That manual is 11 years older than me
|
|
|
|
|
Then you were in mortal danger when you were born. I marauded around in Holland with my first little car[^] and a two week old driver license that year.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
nerds
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.
|
|
|
|
|
You called?
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!
|
|
|
|
|
01001010 01110101 01110011 01110100 00100000 01100011 01100001 01101100 01101100 00100000 01101101 01100101 00100000 01010000 01101001 01100011 01100001 01110010 01100100
“The palest ink is better than the best memory.” - Chinese Proverb
|
|
|
|
|
... what a lazy piece of shi..
Message Signature
(Click to edit ->)
|
|
|
|
|
I'm disorganized. My desk is a mess, but I assure you that all of my filth is readily accessible.
My code is the same way.
I write code like an anarchist. Just burn it all down.
I didn't used to when I was working in the field, but being on my own on my own projects is liberating and the braceless if statements are everywhere.
It is a riot of disaster and logic, and a miracle of gonzo engineering that it works at all.
I love it. Hate 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.
|
|
|
|
|
So you admit to being an evil witch!?
Oh boy, I've been looking forward to some good old torch and pitchfork action
*Chants* BURN THE WITCH! BURN THE WITCH! (This is starting to feel like a Trump rally )
|
|
|
|
|
|
Why can't I remember this scene?
|
|
|
|
|
that's when i knew i wanted to be a witch.
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.
|
|
|
|
|
Not even those pigs are as filthy as your bracketless code!
But maybe I shouldn't bitch on your code so much lest you turn ME into a pig (or worse, bracketless code)...
|
|
|
|
|
If I turn you into a pig, it will be for needlessly boxing and unboxing value types.
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.
|
|
|
|
|
var piggy = (Pig)sander;
|
|
|
|
|
i could always just
mov ax, [Sander]
xor ax,ax
and blink you out of existence, but i like you.
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.
|
|
|
|
|
honey the monster, codewitch wrote: i could always just
mov ax, [Sander]
xor ax,ax I'm too young to understand this
honey the monster, codewitch wrote: and blink you out of existence Now this I understand
honey the monster, codewitch wrote: but i like you Phew...
I like you too, despite your lack of brackets (I'd only ever chase you with a torch and pitchfork, never actually burn or sting you)
|
|
|
|
|
Excellent. I could use the exercise. Unruly villagers are kinda scarce around here these days. I got hungry.
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.
|
|
|
|
|
also the part you didn't understand was 6502 assembly code.
My favorite 8 bit proc. Because I like you.
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 can identify with the desk status - mine is layered in eras, the Jurassic being rather popular. If no one messes with it I can find things where I put them at any time.
However. No, let me put it this way: However !
My code is kept scrupulously organized - long before the term refactoring became popular I would do that as repetitive actions became apparent - cleaning up the inner workings. Comments, too, lest I forget. And, now producing web-based applications, I make sure the user interfaces are actually very few so that I don't sew unnecessary confusion amongst the rabble. Inside my machines, also organized and, withing certain limits, the same from box-to-box. Even in DOS times I used SUBST drives to force uniformity when it wasn't physically available.
Slash and burn - is best reserved for other people's code!
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
my code isn't inelegant. but yeah it's not for the faint of heart
(real world excerpt - not production ready)
public static Lalr1ParseTable ToLalr1ParseTable(this CfgDocument cfg)
{
var start = cfg.GetAugmentedStartId(cfg.StartSymbol);
var pda = _ToLrfa(cfg);
var trnsCfg = _ToLRTransitionGrammar(cfg,pda);
var closure = new List<FA<string, ICollection<LRItem>>>();
var lalrclosure = new Lalr1ParseTable();
var itemSets = new List<ICollection<LRItem>>();
pda.FillClosure(closure);
var i = 0;
foreach (var p in closure)
{
itemSets.Add(p.AcceptSymbol);
lalrclosure.Add(new Dictionary<string, (int RuleOrStateId, string Left, string[] Right)>());
++i;
}
i = 0;
foreach (var p in closure)
{
foreach (var trn in p.Transitions)
{
var idx = closure.IndexOf(trn.Value);
lalrclosure[i].Add(
trn.Key,
(idx, null, null)
);
}
foreach (var item in p.AcceptSymbol)
{
if (Equals(item.Rule.Left, start) && item.RightIndex == item.Rule.Right.Count)
{
lalrclosure[i].Add(
"#EOS",
(-1, null, null));
break;
}
}
++i;
}
var map = new Dictionary<CfgRule, ICollection<string>>(_TransitionMergeRuleComparer.Default);
var follows = trnsCfg.FillFollows();
var rtbl = new List<IDictionary<object, CfgRule>>();
foreach (var rule in trnsCfg.Rules)
{
ICollection<string> f;
if (!map.TryGetValue(rule, out f))
map.Add(rule, follows[rule.Left]);
else
foreach (var o in follows[rule.Left])
if (!f.Contains(o))
f.Add(o);
}
foreach (var me in map)
{
var rule = me.Key;
var lr = _LrtSymbol.Parse(rule.Right[rule.Right.Count - 1]);
var left = _LrtSymbol.Parse(rule.Left).Id;
var right = new List<string>();
foreach (var s in rule.Right)
right.Add(_LrtSymbol.Parse(s).Id);
var newRule = new CfgRule(left, right);
if (!Equals(left, start))
foreach (var f in me.Value)
{
var rr = new string[newRule.Right.Count];
for (var ri = 0; ri < rr.Length; ri++)
rr[ri] = newRule.Right[ri];
var iid = _LrtSymbol.Parse(f).Id;
(int RuleOrStateId, string Left, string[] Right) tuple;
var rid = cfg.Rules.IndexOf(newRule);
if (0 > rid)
System.Diagnostics.Debugger.Break();
if (lalrclosure[lr.To].TryGetValue(iid, out tuple))
{
if (rid != tuple.RuleOrStateId)
System.Diagnostics.Debugger.Break();
}
else
{
lalrclosure[lr.To].Add(_LrtSymbol.Parse(f).Id,
(rid, newRule.Left, rr));
}
}
}
return lalrclosure;
}
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 6-Aug-19 9:18am.
|
|
|
|
|
Well-organized code can be developed only by a committee.
However, it doesn't work and it's never finished, but just look how pretty it all is!
modified 6-Aug-19 14:43pm.
|
|
|
|