|
JMMG!
Due to past misdemeanors, I am using MATLAB these days. In their standard libraries is a inputdlg function that lets you enter simple unvalidated values; very useful when there is no need for a complex form.
Now I simply wanted to be able to position it; in my case I wanted to place it above the control on the UI that called it. On their support pages are lots of people asking the same questions and their response - you can't!
You can, I wrote a replacement.
veni bibi saltavi
|
|
|
|
|
Quote: and their response - you can't!
You can, I wrote a replacement. Laugh |
Remember to turn on Smug mode!
|
|
|
|
|
Totally forgot that the binary not in C is ~ and not !, which is the logical one. I was quite stunned when trying to negate the number 2 I got 0 as response.
* CALL APOGEE, SAY AARDWOLF
* GCS 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--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
* Never pay more than 20 bucks for a computer game.
* I'm a puny punmaker.
|
|
|
|
|
That's one reason I prefer C# to C and VB - strong typing, so assigning a bool to an int gives an error, and vice versa.
You get an error on all of these:
bool b = true;
int i = 0;
i = b;
i = ~b;
i = !b;
i = !i;
b = i;
b = ~i;
b = !i;
b = ~b;
But not on these
b = !b;
i = ~i;
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I would have preferred a single behaviour for "!", the binary one. I forgot of the very existance of ~
* CALL APOGEE, SAY AARDWOLF
* GCS 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--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
* Never pay more than 20 bucks for a computer game.
* I'm a puny punmaker.
|
|
|
|
|
Why not
modified 19-Jan-21 21:04pm.
|
|
|
|
|
If a Hobbit went to KFC, would he be Lord of the Wings?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Eggsactly!
... such stuff as dreams are made on
|
|
|
|
|
sure to order small frys
Sin tack ear lol
Pressing the any key may be continuate
|
|
|
|
|
What's with the elfanti joke?
|
|
|
|
|
Only if he had a lisp.
Jack of all trades, master of none, though often times better than master of one.
|
|
|
|
|
Only if he thinks the onion rings are precious.
|
|
|
|
|
I saruman and asked if he was shire you should have felt so smaug a remark.
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 are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Software Zen: delete this;
|
|
|
|
|
Off Topic . . . but you work at Kodak.
I have a Z990 - an awesome camera. Tell those schnooks who decided to discontinue your own cameras and license your name to 'wherever' that I am very displeased.
Needle Sharp Schneider Zoom Lens, BSI-CMOS, a couple hundred shots on 4 Ni-MH AA batteries.
I prefer this to a DSLR.
Tell them I will (make up something)!
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 are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
You can be sure the Hobbit would want to super-size.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
So he gets one big wing would it rule the others?
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
I think it would have been sometime around 1990, someone gave me a floppy disk containing a course called "Memory Master" - it was a short (6/7 page) text document that taught you how to use mnemonic tags to remember anything from a list of words to the order of a shuffled deck of cards. Something that many seem to think requires a book, a CD and a life-time subscription.
I have seen it on the internet in years gone by but needless to say, the phrase "Memory Master" has now become attached to all sorts of things, related and otherwise and it's become a bit of a "needle in a haystack" exercise trying to find a copy for a friend.*
This is a bit of a long shot, but did anyone else ever come across this and happen to know where to find it?
*I won't discount the possibility that I was so busy memorising playing cards at the time that I've forgotten the correct name of the document!
Slogans aren't solutions.
|
|
|
|
|
PeejayAdams wrote: I think it would have been sometime around 1990, someone
PeejayAdams wrote: "Memory Master" - it was a short (6/7 page) text document I take it you only got through 5 of the pages?
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Maybe 6
Slogans aren't solutions.
|
|
|
|
|
Let me get this straight... you are saying you forgot where to find memory master?
|
|
|
|
|
Well, er ... basically, erm, yes.
Slogans aren't solutions.
|
|
|
|
|
I remember: that I don't know.
Sin tack ear lol
Pressing the any key may be continuate
|
|
|
|
|
on ebay you may find every thing which is for sale
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Yes, of course. I just can't remember where I left it.
Rules for playing Javascript frameworks.
1. You can't win.
2. You can't break even.
3. You can't get out of the game.
|
|
|
|