|
Way England backed right away (5)
|
|
|
|
|
regex - State Elimination DFA to Regular Expression - Stack Overflow[^]
*headdesk*
I hate it when I'm trying to do stuff that almost nobody does because then there's nobody I can ask.
I found *one* codebase that can do this, but it's in java, uses a huge 3rd party java lib, and is completely uncommented and unintelligible.
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.
|
|
|
|
|
Yes, but it does give more a feeling of accomplishment than doing easy stuff. And where there's muck, there's brass
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.
|
|
|
|
|
I hear you, but I guess part of my problem with this, is it's such complicated code for such a minor function.
All I'm trying to do is convert a finite automata state machine back to a regular expression that it represents.
Converting from a regular expression TO a state machine is relatively easy.
The reverse is a huge pain.
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 codewitch wrote: I hear you, but I guess part of my problem with this, is it's such complicated code for such a minor function. I had that with a method called "PtrSwap". Delphi allows assembly code. Very minor, and just a few lines of simple code. That was about 20 years ago.
honey the codewitch wrote: All I'm trying to do is convert a finite automata state machine back to a regular expression that it represents. Yeah, don't talk like that at parties.
honey the codewitch wrote: Converting from a regular expression TO a state machine is relatively easy.
The reverse is a huge pain. Going from something that describes a SM is simpeler than taking a SM and trying to hammer it into a regex. Not even sure if every SM can be described as a regex.
Meaning it hasn't been done often. Soo.. if you can, you do. You may hate your code, drop working on it for a bit, but it will be worth it.
..but do I hear the sounds of a new article there?
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.
|
|
|
|
|
mathematically any character based DFA that follows the GNFA pattern (has a closed machine with one accept state) can be represented as a regular expression even using only | () and *
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.
|
|
|
|
|
hell yes, I may have just solved it. I successfully got the state machine at the link to produce the regex at the link.
Let's see if it works for others. =)
Edit: Works for the xyz example at the link too, so far so good
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 codewitch wrote: hell yes, I may have just solved it. Complex things should at least take a week. Go on holiday in Greece for six days or similar, then come back explaining how it works.
honey the codewitch wrote: Edit: Works for the xyz example at the link too, so far so good So there's a example with your new article?
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.
|
|
|
|
|
it's still not working yet. I have 6 days. The last 20% takes 80% of the time so I'm right on schedule.
/project management
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 codewitch wrote: The last 20% takes 80% of the time so I'm right on schedule.
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.
|
|
|
|
|
A couple of messages below I made mention that that my messages go into moderation. As a result several members apparently checked my messages and I got a number of upvotes! Nice! This was totally unexpected and I thank all kind members involved. I suddenly feel very warm and welcome!
|
|
|
|
|
welcome to the masses.
have you picked a team: microsoft or no? (don't have to say, just reply as/when appropriate)
and polite public farting is allowed, just don't over do it (particularly after eating too many eggs)
Message Signature
(Click to edit ->)
|
|
|
|
|
Quote: have you picked a team: microsoft or no?
Microsoft doesn't always get it right, but I really appreciate some of the things they do, such as providing arguably the best IDE (Visual Studio) free of charge. And they keep it well maintained.
I also got Windows 10 free of charge when I upgraded from Windows 8 eons ago. I never had to pay a dime for 10, or the countless upgrades that followed.
So: I have to vote for MS.
|
|
|
|
|
Someone feels welcome on the internet!?
We're doing something wrong here
Although we've already seen you around this last month, allow me to welcome you properly... Welcome!
|
|
|
|
|
humble offers the game "Serial cleaner" for free via steam redeem. Offer valid for next 40 hours more or less
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.
|
|
|
|
|
Nelek wrote: humble offers the game "Serial cleaner" sounds like a game for the OCD people
Message Signature
(Click to edit ->)
|
|
|
|
|
The game follows a cleaner for the mob, who has to get in, clean and get out without getting caught.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
BSBA in Golf Management | Trine University[^]
BSBA Golf Management
The Thomas and Joy LaCour Bachelor of science in business administration - golf management students at Trine University develop competencies in:
Global Business Accreditation
teaching
club fitting/design
supervising
merchandising
communication
leading successful golf operations
and other skills necessary in being an effective manager.
Students have access to indoor learning labs, Trine's 18-hole golf course, and winning techniques and ideologies used by PGA professionals and experienced instructors.
|
|
|
|
|
Why waste time studying medicine when you can go playing golf directly?
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.
|
|
|
|
|
Do they offer Basket Weaving?
They call me different but the truth is they're all the same!
JaxCoder.com
|
|
|
|
|
I'd wait for an MBA in Gentlemen's Club Management.
modified 22-Nov-19 12:38pm.
|
|
|
|
|
PIEBALDconsult wrote: I'd wait for an MBA in Gentlemen's Club Management.
From my indirect experience (long term client) it's not an easy business that no school can teach you! Almost everyone tries to cheat you so it becomes really important to have loyal employees. Money, especially large amounts of cash, tends to bring out the worst in people.
|
|
|
|
|
I realize that this forum has a serious problem with spammers, and that I am relatively new. But I think I have been around long enough for the powers that be to realize that I am not a spammer. I wonder: If I take a solemn oath never to spam: Won't you please stop marking my messages as "Message currently under review" or words to that effect, when I first post them?"
|
|
|
|
|
Well I had issues when I was a new guy, takes a while, try posting an article get in his good books.
|
|
|
|
|
Quote: try posting an article
I already have my first article published!
|
|
|
|