Click here to Skip to main content
15,890,579 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.

 
AnswerRe: More Weaseling. Pin
Gerry Schmitz25-May-21 5:17
mveGerry Schmitz25-May-21 5:17 
GeneralRe: More Weaseling. Pin
kmoorevs25-May-21 3:23
kmoorevs25-May-21 3:23 
GeneralToday IntelliJ deflated my ego big time! Pin
Cp-Coder24-May-21 12:35
Cp-Coder24-May-21 12:35 
GeneralRe: Today Intellij deflated my ego big time! Pin
Greg Utas24-May-21 13:32
professionalGreg Utas24-May-21 13:32 
GeneralRe: Today Intellij deflated my ego big time! Pin
enhzflep24-May-21 18:04
enhzflep24-May-21 18:04 
GeneralRe: Today Intellij deflated my ego big time! Pin
Dar Brett25-May-21 2:56
Dar Brett25-May-21 2:56 
GeneralRe: Today Intellij deflated my ego big time! Pin
Stuart Dootson27-May-21 2:07
professionalStuart Dootson27-May-21 2:07 
GeneralRe: Today Intellij deflated my ego big time! Pin
Richard Deeming24-May-21 22:04
mveRichard Deeming24-May-21 22:04 
Cp-Coder wrote:
String.valueOf(o[1]).toLowerCase()
Nit-picking: Depending on your data, you should normalize strings to upper-case, to avoid the "Turkish i" problem. Smile | :)
The Turkish İ Problem and Why You Should Care | You’ve Been Haacked[^]

(The article is about .NET, but the problem will affect other languages as well.)

In .NET, it's better to pass in a case-insensitive StringComparisonOptions or StringComparer rather than changing the case of the string, so that you don't have to create a new string for every comparison. I don't know whether Java has anything similar, or suffers from the same problem.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Today Intellij deflated my ego big time! Pin
jsc4224-May-21 22:26
professionaljsc4224-May-21 22:26 
GeneralRe: Today Intellij deflated my ego big time! Pin
Slacker00724-May-21 22:30
professionalSlacker00724-May-21 22:30 
GeneralRe: Today Intellij deflated my ego big time! Pin
Greg Utas25-May-21 1:52
professionalGreg Utas25-May-21 1:52 
GeneralRe: Today IntelliJ deflated my ego big time! Pin
Nelek9-Jun-21 19:51
protectorNelek9-Jun-21 19:51 
QuestionSPI Debugging - a question for hardware hackers Pin
honey the codewitch24-May-21 11:07
mvahoney the codewitch24-May-21 11:07 
AnswerRe: SPI Debugging - a question for hardware hackers Pin
Kelly Herald24-May-21 11:32
Kelly Herald24-May-21 11:32 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
honey the codewitch24-May-21 12:05
mvahoney the codewitch24-May-21 12:05 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
M Kellett26-May-21 1:38
M Kellett26-May-21 1:38 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
charlieg26-May-21 12:07
charlieg26-May-21 12:07 
AnswerRe: SPI Debugging - a question for hardware hackers Pin
Mike Hankey24-May-21 11:45
mveMike Hankey24-May-21 11:45 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
honey the codewitch24-May-21 12:04
mvahoney the codewitch24-May-21 12:04 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
Mike Hankey24-May-21 12:14
mveMike Hankey24-May-21 12:14 
AnswerRe: SPI Debugging - a question for hardware hackers Pin
Jacquers25-May-21 2:00
Jacquers25-May-21 2:00 
AnswerRe: SPI Debugging - a question for hardware hackers Pin
jrgrobinson26-May-21 3:07
jrgrobinson26-May-21 3:07 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
honey the codewitch26-May-21 3:48
mvahoney the codewitch26-May-21 3:48 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
Member 1419238226-May-21 4:53
Member 1419238226-May-21 4:53 
GeneralRe: SPI Debugging - a question for hardware hackers Pin
honey the codewitch26-May-21 5:47
mvahoney the codewitch26-May-21 5:47 

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.