|
C# Online Compiler | .NET Fiddle[^]
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
|
I have a testing application that makes it very easy to add an algorithm and a little function to test it. Adding a new one requires adding a line to a header that looks like this :
InteractvFunction( _T( "Time Functions" ), DoTimeFunctionTest );
StandardFunction( _T( "Random Values" ), DoRandomValueTest ); An InteractiveFunction requires user input so it runs in the primary thread. A StandardFunction does not require input and is run in a worker thread context. I've been using this for several years now and it's pretty handy. I occasionally prune things back because the menu gets too full of testing snippets, several of which originated from questions here.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
'MyProgs' program directory contains all of my own programming work on my computer. (It is a sub of 'Programs', which contains all the programming work on my computer.) It has a 'Junk' folder which contains a few different types of bare-bones projects (console, Windows, etc.), that can have the code added to them to play with. I just open the appropriate one in a new Visual Studio session and start playing with the code. If it is a complete program like comes with many of the articles here, it gets tossed into a sub off of 'Programs\Others Programs', extracted, and ran as-is.
|
|
|
|
|
Just use the REPL if the language has one, VSCode + compiler in the Code's integrated terminal if the language doesn't have one. That covers the main languages I might want to play with (Haskell, Python, OCaml, C++ or Rust in my case).
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I am glad I am not the only one. I have a semi console app.
I call it something like sortingmultidemi because the first time I used it was like 30 years ago and I was sorting a mutli dimensional array and I wanted to see the outcome.
It now has more commented code than working code. but I take it everywhere. Copy Paste alot out of it. Lots of examples of things. and for some reason quicker than google when searching for something I have done before.
To err is human to really mess up you need a computer
|
|
|
|
|
I'm always working on some WPF/C# desktop app in Visual Studio - so I just create a temporary method in there, call it from a click handler etc, then delete it after I've finished validating the code.
|
|
|
|
|
Set up a simple NUnit test project and just drop all of them there.
But if you are testing something your team is doing I'm questioning their unit testing practices.
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
I use my imagination. Guaranteed to be compile safe.
|
|
|
|
|
Depends
Small bits of .net: linqpad
Larger bits of .net: Rider + .net core, perhaps a unit test assembly for checking out an API or idea.
For most things, I'll use the REPL: JavaScript (node or f12 in a browser), Python (ipython is friendlier than the plain interpreter, but both work), Ruby (when I used it). Rider has a c# REPL, I think.
If you say that getting the money is the most important thing
You will spend your life completely wasting your time
You will be doing things you don't like doing
In order to go on living
That is, to go on doing things you don't like doing
Which is stupid.
|
|
|
|
|
Guardian's incorrect approach (5)
|
|
|
|
|
Is this one of those clues where we can't determine if the definition is on the left or right?
Guardian's = ANGEL
incorrect (anagram)
Approach = ANGLE
|
|
|
|
|
yup
|
|
|
|
|
Randor wrote: Is this one of those clues where we can't determine if the definition is on the left or right?
Interesting you should glean that perspective.
|
|
|
|
|
Tim Deveaux wrote: Interesting you should glean that perspective.
GLEAN = anagram for ANGEL
PERSPECTIVE = synonym for ANGLE I noticed the perspective/angle synonym and briefly considered that it was a LR indicator. But it would make an even better rorschach technique. If you could devise some carefully designed clues with multiple answers, over a period of time the answers given by your opponents would reveal their characteristics depending on which answer they found.
Best Wishes,
-David Delaune
|
|
|
|
|
... the police call it "Indecent Exposure", but ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
But even worse would be getting released due to lack of evidence.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
I would have thought you'd have applauded his quip - then I realized: small hands.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
... and years to recover from that one second.
|
|
|
|
|
Like those famous words you never want to hear on your honeymoon (or anywhere else):
"Is it in, yet?"
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I’m a bit angry I couldn’t go, since this makes 15 years in a row now.
|
|
|
|
|
|
How about this
My wifes Surface Pro 4 worked perfectly yesterday
Today the type cover ( physical keyboard ) no longer works
It's not visible in Device manager
Tried rebooting
Reset to defaults ( basically re installs Win 10 )
Nada
Googling tells me thousands of people are affected by this
What a piece of expensive crap
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Sounds like a hardware problem, not Windows 10?
Get me coffee and no one gets hurt!
|
|
|
|
|
No the keyboard works on my other Surface and I've tried another keyboard on it that I know works
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|