|
Another small rant, two-for-one.
1) Debugging console applications with parameters is painful.
I need to test against all the possible combinations of arguments, can't do it properly though, need to pass through the debug options... which are persistent.
And the console does not stay open (yes the checkbox is unchecked, also ignored by VS).
And the breakpoint after the parsing moves the focus to the VS window hiding the Command prompt.
Every test is a clickity-clickity-typety-clickity-clickity-clickity-clickity-clak.
you Microsoft.
2) Structures in watch window do not stay expanded.
Add other clickity-clickity-claks to a simple test.
Basically the best way to test this behavior is inserting test code and debug prints, as we used to do when we had to chisel bits one by one onto EEPROMS with tiny hammers and a lot of patience.
Told you it was a rant.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
|
Probably because it was modelled on languages which do allow execution to fall-through, and without an explicit break / return , early adopters might have thought the C# code was falling through.
[Proposal] Case fall through should be allowed · dotnet/csharplang · Discussion #603 · GitHub[^]
See also Eric Lippert's comments on SO:
C# enforces the no-fall-through rule in every switch section, including the last one. This is so that switch sections can be re-ordered arbitrarily, possibly by mechanical tools, without introducing semantic changes in the program.
C# enforces the no-fall-through rule by requiring that the end point of every switch section be unreachable. It is not necessary for a switch section to end in a break. It can end in a break, return, goto, continue, throw, or a detectable infinite loop:
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
For the most common scenario it just adds a line of code that has to be written which has no meaning.
It just clutters the code with additional meaningless lines. Bah, or better, !
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Got an email from Dell that some of my data had been compromised. They don't think any financial data was stolen. Another one, sigh.
It seems to me that the people on the dark side have it much easier. I have to screw around with passwords, text messages, and some ugly Microsoft security application on my phone to get to my data.
They just click. Doesn't seem right.
Oh well, every hundred years, all new people.
>64
It’s weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|
|
Wordle 1,074 5/6
🟨⬜⬜⬜⬜
⬜⬜⬜⬜🟩
⬜🟨🟨🟨🟩
🟩🟨🟩🟨🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,074 3/6
🟨⬛⬛🟩⬛
🟨⬛⬛🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,074 3/6
🟨⬜⬜⬜⬜
⬜⬜⬜🟨🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,074 3/6*
⬜⬜⬜🟨⬜
🟨⬜🟨🟨⬜
🟩🟩🟩🟩🟩
"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!
|
|
|
|
|
Wordle 1,074 3/6
⬜⬜🟨⬜🟨
🟩🟨🟨🟨⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,074 6/6*
⬜⬜🟨⬜🟨
⬜🟩⬜🟩🟩
⬜🟩⬜🟩🟩
⬜🟩⬜🟩🟩
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
⬜⬜⬜🟨⬜
⬜🟩⬜🟩🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
until it is full groan.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Remember The Heroes - YouTube[^]
Points for anyone who can name the second singer without looking.
A special Thank You to those who have served and especially those who paid the ultimate price.
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
|
(I'm not paranoid, but a small description of the link, especically because its on the f-book)
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
|
Good point--changed it.
Thanks
|
|
|
|
|
See more on Facebook
I dont get it?
|
|
|
|
|
I told him i wanted to be happy.
Now I'm working in mine with 6 dwarves.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Never mine ...
I guess you can have chats with Snow White. She tells that she receives a continuous supply of 7Up.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
A miner was pulled over by the police.
The police officer asked him "What do you do, where are you going and whose car is this?"
The minder replied "mine."
|
|
|
|
|
Now, you have a real chance to dig in.
__________________
Lord, grant me the serenity to accept that there are some things I just can’t keep up with, the determination to keep up with the things I must keep up with, and the wisdom to find a good RSS feed from someone who keeps up with what I’d like to, but just don’t have the damn bandwidth to handle right now.
© 2009, Rex Hammock
|
|
|
|
|
Holy Cow!
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Came across an interesting article in IEEE Spectrum "AI Prompt Engineering is Dead".
It was only very recently that the job title of AI Prompt Engineer was even talked about.
Of course, it is applying AI to the job of enhancing the prompt that will eliminate the human from the loop.
I was used to idea of prompt engineering from trying to get search engines to return what I was looking for. Often I would throw various keywords into the search prompt to narrow down the results. Sometimes the search prompt only consisted of a list of words that made no logical sense but did return what I was looking for in the first page or so of results.
The article referred a tool called NeuroPrompts that generates prompts for Stable Diffusion XL.
(you should read the article to see how the reinforcement learning loops were used to optimize the image producing prompts). What was interesting was the one example given below:
Original Prompt: "a spotted frog on a bicycle"
Optimized prompt:"a spotted frog on a bicycle, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by artgerm and greg rutkowski and alphonse mucha and william-adolphe bouguereau and beau and stunning and rivol pairing, and stained glass detailed and intricate and elegant and splendid, generous, creamy."
The YouTube video demo: NeuroPrompts - YouTube[^]
The article: AI Prompt Engineering Is Dead - IEEE Spectrum[^]
|
|
|
|