The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
Way too long I've been chasing this, and the answer was right there in front of me. I've been overthinking this for years
foreach (var input in inputs)
var acc = new List<int>();
var ns = new List<FA>();
foreach (var state in mapKey)
FA dst = null;
if (state.InputTransitions.TryGetValue(input, out dst))
foreach (var d in dst.FillEpsilonClosure())
// add the accepting symbolsif (d.IsAccepting)
I didn't realize I could just make input a range. I thought I'd have to crack it apart into individual characters (kills perf on Unicode)
Pretty much all the lexer code I've written since rolex is now obsolete.
It started this year (as I recollect). I lock my (work) computer when I am away from it. Then next morning when I unlock it, all the open windows have changed size to ~4"X4.5" and are 100% overlapping in the top left hand corner of my left screen. This is fairly consistent.
Has anyone encountered this anomaly?
What is this bloody fixation of browser makers with putting the page tabs above the address bar and toolbar, so that you can't tell which one the page associated with?
I couldn't count the times I've closed the wrong tabs because it's far from obvious which is which!
The tabs should be attached to the pages, for Crom's sake! That way, because the bottom of the active tab is open, it is patently obvious which one the page is attached to -- but when it's above the address bar, it doesn't indicate anything, and gets muddled up with the other lines.
What do they do with filing cabinets? Cut all the tabs off and glue them to the frame above the drawer?
+ Menu bar
+ Toobar/address bar
+ Tab bar
In! That! Order!
Great UX. Firefox just lost a customer.
I wanna be a eunuchs developer! Pass me a bread knife!
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
Change of account?
IIRC last time I saw him/her active, was in a hot discussion
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.