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.
Some are in the form of prescription drugs, usually very new and far beyond even very expensive.
The others are in the form of "dietary supplements" - which due to the way the laws in the US are written, have to show themselves to be neither safe nor effective (and yes, you read the first word correctly). As long as they somehow mention that their claims are not FDA tested and it's not claiming to do anything (innuendos should count but don't). Same with a lot of insurance ads, especially those targeting seniors.
What does this have to do with higher and higher resolution TV?
In the first case, side effects (often worse than the malady they treat) and in the second case, that it has no valid proof that it works or has ever worked (or is even safe*) beyond the placebo effect.
The higher the resolution, the smaller the font and the more impossible to read text they cans squeeze into the bottom edge of your screen.
So, improved picture resolution is, when it comes down to it, an aid to fraud. Also, it encourages these commercials (adverts) and even with the sound turned off they are annoying.
* if somehow show to be unsafe its sale can be halted.
Java doesn't support multi-dimensional array in true sense. In a true two dimensional array, all the elements of array occupy a contiguous block of memory, but that's not true in Java. Instead, a multi-dimensional array is an array of array.
For example, two-dimensional array in Java is simply an array of a one-dimensional array
Fundamental. But never knew this. I'm not a Java developer though.
Interesting to see how the fundamental concepts get language/runtime specific.
Because generally speaking, you can normally access memory via it's address - and that means that to more to the "next" element you have to know the actual memory organisation. (Java doesn't have pointers, but this can be very important if you want to share data with other languages.)
And ... an array of 2 lines of 10,000 chars will occupy a lot less memory than an array of 10,000 lines of 2 chars ... plus, both will use more memory than a "true" 2D array of chars with the same number of elements.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
Java developers know this. They have to, because it works differently enough that you have to care. Also it means that something like an image is often presented as a 1D array (for example bitmap.getPixels dumps the pixels in an int that you supply) and you have to do the index conversion yourself.
When you come home from work, or when your significant other comes home, how good are you, are they, at leaving all the work trials and tribulations at the doorstep and simply "being present" with your SO? I realize that "being present" means occasionally hearing about work, but how consuming is it? Do you agree on, say, 15 minutes of venting time? Or does work issues consume the entire evening, or not at all?
I might check my work email or otherwise login to my work computer from home outside of working hours once a month. Most of that has to do with deployments; I'm doing educational software and we can't deploy until kids are done on the system for the day. That's generally between 4:30 and 5 my time (stupid timezones to my west ); but occasionally is later and logging in around 7 or 10 for 5 minutes to kick off a deploy and make sure it goes as planned is less annoying than staying late on days I got in around 8 instead of 8:20.
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
It's an unequal balance but I'm usually okay with it. My beloved is an elementary school teacher so I need to listen to her frustrations with people and policies (Sometimes makes me want to take a bat and "explain" things to those who are causing her stress) and her own imposter syndrome worries.
She doesn't understand nor cares about what I do so technical challenges are met with an "I don't care" but if there are interpersonal problems she does listen.
I've come to accept it after over 30 years of marriage.
Nowadays I'm pretty good with that - we do talk about things at work occasionally, but the pressure of the work does not came home with me (or her)...
It took some years to learn that however, but I was lucky and finished 'school' before wedding...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
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.
I'm either working, or I'm not, so If I'm not meant to be working, it just stops.
Nice! I tend to be that way -- pretty much no matter how work goes, it doesn't require venting when I get home. Though if something cool happens I do like to share the positive things. I guess I just want home to be a positive experience, the negative crap can be left outside in the cold.
who cleans out who's litter box?
"Employee of the Month" well sure, but you're still taking crap from the cat though.
after many otherwise intelligent sounding suggestions that achieved nothing the nice folks at Technet said the only solution was to low level format my hard disk then reinstall my signature. Sadly, this still didn't fix the issue!