|
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.
|
|
|
|
|
Mysterious whale swims around augmented reality. (6)
|
|
|
|
|
Arcane?
Whale (cane) swims around AR?
|
|
|
|
|
|
What's the whale <-> cane connection?
|
|
|
|
|
Apparently there is whale cane - I thought it was arcane purely because it has the the rca from orca in it and ar - but I've done one this week
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
I think it's "to whale away at someone" = thrash = cane. Rather tenuous IMO.
|
|
|
|
|
Arcane, even.
|
|
|
|
|
The last two cryptograph clues were not Ximenean at all, I had Dilatory on my list yesterday but removed it early on because Tory doesn't mean politician.
And today we get Whale which is a slang term.
Whale[^]
Cane[^]
modified 2hrs 5mins ago.
|
|
|
|
|
In the UK members of the Conservative Party are known as Tories. Hence a Tory is a politician.
|
|
|
|
|
...as is a holder of conservative principles, or a supporter of the British cause during the American revolution. I get the link but not all Tories are politicians by any means. Never come across "whale" in that sense, either. But we live and learn - that's one of the things I enjoy about the daily CCC!
|
|
|
|
|
DerekT-P wrote: but not all Tories are politicians Quite true; but I was trying to keep things simple. I just looked up whale in Chambers and it gives: whale (vt) to thrash violently.
|
|
|
|
|
Yes I was pushing it a bit with tory but the other part was Ximenean, I've never heard of whale being synonymous with cane though.
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
I was writing a little bit of code today to replace commas within double quotes enclosed text in a huge string. This string could have multiple segments of double quoted text. I had only written this bit
char[] linechars = line.ToCharArray();
bool isInQuotes = false;
for (int i = 0; i < linechars.Length; i++)
{
if (linechars[i] == '"')
This IDE can read my code and comments and predict the next if statement. This is amazing.
P.S. Before someone points out miserable string handling, I really do not care about code quality. This is a one time use (quick or slow) and dirty utility.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
You must of spoken out loud and it heard you
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
It is pretty amazing sometimes - takes a bit of getting used to but it can really speed up your code.
But even for a quick'n'dirty, that's rather long winded - especially if it's a long string as ToCharArray allocates memory and copies string content into it. You can index directly into a string, remember?
"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!
|
|
|
|
|
It is amazing... until it is not...
Wait and see - after enough suggestions you will find that most of them are plain stupid repetition of what you done before (a true no-brain op)...
“Real stupidity beats artificial intelligence every time.”
― Terry Pratchett, Hogfather
|
|
|
|
|
|
Quote: This IDE can read my code and comments and predict the next if statement.
I`m not using VS 2022, a feature like that belongs to the realm of SF, really. Very original. Of course old fashion people (me included) might display appreciation towards this advancement in intellisense/autocomplete but will never actually use it in their projects.
|
|
|
|
|
You might be surprised - it's actually pretty good. I'm not young - 63 - but I'm finding it handy to "fill in the blanks" with the drudge stuff: it works out what they heck you are likely to be trying to do and provides a default text that uses sensible variables you used earlier and suchlike. It does appear to use the variable names to help it decide as well, which is a damn good reason for using sensible names at all times instead of "quick to type" ones ...
Give it a try (the Community edition is free so there's not a lot of excuse) - it might surprise you! (It did me.)
"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!
|
|
|
|
|
I use it for my hobby projects Paul and find it good - but I've never known a bad release of VS
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
nice, soon you will only need to write the first half of your program, the IDE will figure out the other half on his own
|
|
|
|
|
It's not quite that good, but if you do something like this:
var bananas = Fruit.GetFruits(Color.Yellow); Then later in the method type foreach( it will autofill with this:
foreach(var f in bananas) If (as I much prefer) you use an explicit type:
List<Fruit> bananas = Fruit.GetFruits(Color.Yellow); Then the autofill is explicit as well:
foreach(Fruit fruit in bananas) All on a single TAB press.
Once you are used to it, it takes the typing out of the simple stuff, and it leaves you free to concentrate on the "why" you are doing it, instead of the "what".
"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!
|
|
|
|
|
I this thing does everything for you soon no knowledge of programing will be required to write a program.
|
|
|
|
|
There are plenty of people who already think that is true.
|
|
|
|