|
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.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
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.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
Wordle 337 6/6
⬜⬜⬜🟩⬜
⬜⬜⬜🟩⬜
⬜🟩⬜🟩⬜
⬜🟩⬜🟩🟩
🟨🟩⬜🟩🟩
🟩🟩🟩🟩🟩
Just made it.
|
|
|
|
|
Watching system usage, it blows my mind how much differently programs work. Right now Vivaldi has over sixty tabs open (way too much, even for me), and Task Manager shows ~1 GB. Firefox only has 3 tabs open, and it is at 1.8 GB. Even though 2 of those are for Facebook, the difference still seems staggering.
Just for curiosity's sake, I shut down FF, and reopened it. Without clicking on any other tabs, it still shot up to the same memory usage as Vivaldi. Clicking on the other tabs took it up to 1.2 GB, and scrolling FB quickly added another 100+ MB to it.
I see many people praising FF, but I still remember the old problems with it, including ever-expanding memory usage. It doesn't seem like the underlying memory usage has really been addressed, even after all these years.
Out of curiosity, I opened Vivaldi in Windows Sandbox, with the same 3 tabs. The memory usage was half that of FF. Firefox, I do wish you well. But it would be nice to see better engineering behind the scenes.
|
|
|
|
|
My current job deals with a multi-gigabyte code base, a very complex application in the Finance sector. It's brilliantly designed, in my opinion, and uses OO to great effect.
However, there is zero internal documentation on how it works, how the data flows through the different layers and what components do what.
I have had to ask (over Teams) for every bit of knowledge I have about this application, and there are still places where I'm completely in the dark.
If I had to do it again, I'm not sure I would have taken this job, due to the frustration level. How important do you think internal documentation is, and would you take a job with a company that has none?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
“Programs must be written for people to read, and only incidentally for machines to execute.” - Hal Abelson
Mircea
|
|
|
|
|
Not sure what you mean.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Programs without appropriate documentation might as well not exist. They cannot be maintained and, sooner or later, they have to be replaced. Programs with documentation are means to transfer knowledge between people. And yes, they also happen to be executed by computers
In other words, documentation is critical in my opinion.
Mircea
|
|
|
|
|
|
He asks the assistant "Do you have 'European Vespidae Acoustics Volume 2'? I believe it was released this week."
"Certainly," replies the assistant. "Would you like to listen before you buy it?"
"That would be wonderful," says the expert, and puts on a pair of headphones.
He listens for a few moments and says to the assistant, "I'm terribly sorry, but I am the world's leading expert on European wasps and this is not accurate at all. I don't recognize any of those sounds. Are you sure this is the correct recording?"
The assistant checks the turntable, and replies that it is indeed European Vespidae Acoustics Volume 2. The assistant apologizes and lifts the needle onto the next track.
Again the expert listens for a few moments and then says to the assistant, "No, this just can't be right! I've been an expert in this field for 43 years and I still don't recognize any of these sounds."
The assistant apologizes again and lifts the needle to the next track.
The expert throws off the headphones as soon as it starts playing and is fuming with rage.
"This is outrageous false advertising! I am the world's leading expert on European wasps and no European wasp has ever made a sound like the ones on this record!"
The manager of the shop overhears the commotion and walks over.
"What seems to be the problem, sir?"
"This is an outrage! I am the world's leading expert on European wasps. Nobody knows more about them than I do. There is no way in hell that the sounds on that record were made by European wasps!"
The manager glances down and notices the problem instantly.
"I'm terribly sorry, sir. It appears we've been playing you the bee side."
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
*groan*
The most expensive tool is a cheap tool. Gareth Branwyn
JaxCoder.com
|
|
|
|
|
Mike Hankey wrote: *groan*
Seconded! I wonder how many youngins know what the B-side even is?
|
|
|
|
|
And even of those that older records ran at 78rpm?
The most expensive tool is a cheap tool. Gareth Branwyn
JaxCoder.com
|
|
|
|
|
Bring back wax cylinders, that's what I say!
When I was at Uni, a mate bought his first car - gawd knows how old it was, but it had a starting handle ... and a radio with actual valves in it, so it took about two minutes to warm up before you could hear anything.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You could have been tipped off by "lifts the needle onto the next track". Youngsters have no idea what that means, either.
|
|
|
|
|
I remember a elderly faculty member having issues with reading a 5 1/4 inch floppy disk. He tried several times and it wouldn't read. He then called my classmate, who found out that all the while he was inserting it upside down. The student taught the teacher how to insert a floppy disk correctly into its drive.
|
|
|
|
|
Hold still Griff. We're going to have to hurt you now.
Software Zen: delete this;
|
|
|
|
|
I'm starting a new job on Monday, and I posed some questions regarding the unit testing stuff they do, and asked this question:
"Which testing framework are we using - mstest, nunit, xunit?"
Response (from one of the testers) - "I'm not sure".
How can that possibly be the case? Should I be worried?
".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
|
|
|
|
|
I would say that means something like: We don't do unit tests.
|
|
|
|
|
They do automated UI testing with Selenium, but they still have to use a testing framework to "make it go".
".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
|
|
|
|
|
Testing can be done in several ways, see: Slant search: testing[^]
I guess unit testing is more a developer / dev-ops thing.
|
|
|
|
|
Regardless of whether or not unit testing is done, you still need some sort of testing framework (for selenium), right?
".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
|
|
|
|
|
|
I played around with selenium with mstest. Haven't tried it with nunit yet.
FWIW, that question was 9 years old... Would it. and the answers it garnered, still be relevant?
".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
|
|
|
|
|
Can't tell, as I don't have any experience with Selenium, but I get the impression that unit testing is not needed per se ...
|
|
|
|
|
The tester "tests"; there's nothing to imply that they "program the tests". Integration testing. Acceptance testing.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|