Click here to Skip to main content
15,890,336 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.

 
GeneralRe: Wordle 1,036 Pin
GKP199219-Apr-24 22:56
professionalGKP199219-Apr-24 22:56 
GeneralRe: Wordle 1,036 Pin
Cp-Coder19-Apr-24 23:57
Cp-Coder19-Apr-24 23:57 
GeneralRe: Wordle 1,036 (5/6) Pin
Jeremy Falcon20-Apr-24 5:27
professionalJeremy Falcon20-Apr-24 5:27 
GeneralWhence that new study ... Pin
jschell19-Apr-24 11:59
jschell19-Apr-24 11:59 
GeneralRe: Whence that new study ... Pin
honey the codewitch20-Apr-24 4:03
mvahoney the codewitch20-Apr-24 4:03 
GeneralRe: Whence that new study ... Pin
charlieg22-Apr-24 15:25
charlieg22-Apr-24 15:25 
GeneralRe: Whence that new study ... Pin
charlieg22-Apr-24 15:16
charlieg22-Apr-24 15:16 
GeneralI found a terrible bug (rubber duck session) Pin
honey the codewitch19-Apr-24 7:15
mvahoney the codewitch19-Apr-24 7:15 
Update: I have since fixed the terrible bug! Big Grin | :-D

I'm posting this because when I rant about these things to you folks I tend to come up with a solution, and I've been at this since last night. Skip it if you'd rather not be used like that. Smile | :) It's not a programming question, though I will describe the problem. There's not really code as such.

[\r\n]* (zero or more carriage returns or line feeds) yields a proper set with two transitions

[^\r\n]* (zero or more of anything but carriage returns or line feeds) matches any characters (incorrect). The set has one range with all unicode code points in it, and when you invert the set and then minimize the result it will actually crash.

[^\n\r]* (functionally same as above) but works properly, yielding a set of all except carriage return or line feed. This despite the sets ostensibly being sorted.

I thought I narrowed it down to a normalization routine I have that takes overlapping ranges and merges them. That still might be part of the problem. However, I removed the call to the normalization routine and it still fails my test, so something else is at fault further downstream.

One of the issues is this is in live code - with deployed nuget packages and codeproject articles, and I only just discovered it. So there's some pressure on me to fix it, albeit self imposed. Unsure | :~
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix


modified 20-Apr-24 9:59am.

GeneralRe: I found a terrible bug (rubber duck session) Pin
0x01AA19-Apr-24 8:21
mve0x01AA19-Apr-24 8:21 
GeneralRe: I found a terrible bug (rubber duck session) Pin
honey the codewitch19-Apr-24 11:51
mvahoney the codewitch19-Apr-24 11:51 
GeneralRe: I found a terrible bug (rubber duck session) Pin
k505419-Apr-24 8:31
mvek505419-Apr-24 8:31 
GeneralRe: I found a terrible bug (rubber duck session) Pin
honey the codewitch19-Apr-24 9:10
mvahoney the codewitch19-Apr-24 9:10 
GeneralRe: I found a terrible bug (rubber duck session) Pin
jschell19-Apr-24 11:44
jschell19-Apr-24 11:44 
GeneralRe: I found a terrible bug (rubber duck session) Pin
honey the codewitch19-Apr-24 11:47
mvahoney the codewitch19-Apr-24 11:47 
GeneralRe: I found a terrible bug (rubber duck session) Pin
jschell23-Apr-24 14:09
jschell23-Apr-24 14:09 
GeneralRe: I found a terrible bug (rubber duck session) Pin
honey the codewitch23-Apr-24 14:10
mvahoney the codewitch23-Apr-24 14:10 
GeneralRe: I found a terrible bug (rubber duck session) Pin
Mircea Neacsu19-Apr-24 15:02
Mircea Neacsu19-Apr-24 15:02 
GeneralRe: I found a terrible bug (rubber duck session) Pin
honey the codewitch19-Apr-24 15:04
mvahoney the codewitch19-Apr-24 15:04 
GeneralRTFM m_status(new QLabel), ? Pin
Salvatore Terress19-Apr-24 4:43
Salvatore Terress19-Apr-24 4:43 
GeneralRe: RTFM m_status(new QLabel), ? Pin
Greg Utas19-Apr-24 4:50
professionalGreg Utas19-Apr-24 4:50 
GeneralRe: RTFM m_status(new QLabel), ? Pin
Rick York19-Apr-24 5:00
mveRick York19-Apr-24 5:00 
GeneralRe: RTFM m_status(new QLabel), ? Pin
Jeremy Falcon19-Apr-24 5:02
professionalJeremy Falcon19-Apr-24 5:02 
GeneralRe: RTFM m_status(new QLabel), ? Pin
PIEBALDconsult19-Apr-24 6:32
mvePIEBALDconsult19-Apr-24 6:32 
GeneralRe: RTFM m_status(new QLabel), ? Pin
Jeremy Falcon19-Apr-24 6:49
professionalJeremy Falcon19-Apr-24 6:49 
GeneralRe: RTFM m_status(new QLabel), ? Pin
dandy7219-Apr-24 8:09
dandy7219-Apr-24 8:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.