
in discussion Hidden / Per page discussions » Optional.orElse() vs Optional.orElseGet()
Thanks, this saved me a LOT of confusion :)
Thanks, this saved me a LOT of confusion :)
I'm a newbie.
I've been trying to solve this mystery for the past 9 hours when Google directed me to this site. Thank you very much. I can't thank you enough and tell you how much this helped me.
bookmarking this now.
Very nice site!
Very nice site!
My brother recommended I may like this website. He used to be totally right. This post truly made my day. You can not consider simply how so much time I had spent for this info! Thanks! keaakaaegbeefbbe
Very interesting subject , appreciate it for posting . All human beings should try to learn before they die what they are running from, and to, and why. by James Thurber. dkdekedabbeeefee
One of recent trend of coding style is like this
if (null==myVar) { … }
The benefit of doing this is a lot but the one related to the above posting is simpler codes. We don't really need type casting by reversing the comparison orders. Thing's changed fast and hard to catch up.
I am doing my level 4 in civil engineering and building construction, I want to start my own construction company so I don't have enough in formation to register it, PLEASE CAN YOU HELP ME
Hi Chester Kim.
Hope all's well.
I've made some, epsilon, progress.
I've been working through Jon Harrop's Quick Hull article.
I like his GUI's use of option —-
let drag : int option ref = ref None;;
let size = 5.0;;
let mkEllipse i _ =
let ellipse = Shapes.Ellipse(Fill=Media.Brushes.Red, Width=size, Height=size)
ellipse.MouseRightButtonDown.Add(fun e -> drag := Some i)
ellipse.MouseUp.Add(fun e -> drag := None)
// ellipse.MouseDown.Add(fun e -> drag := Some i)
// ellipse.MouseUp.Add(fun e -> drag := None)
ellipse;;
Hi Art, sorry for late response. I was lazy on maintaining this wiki, these days.
I'm not familiar to F# or Silverlight since my major project is only windows application.
Do you try to add certain control(shape) created by expression blend which already belongs to any of your screen?
I need to see your code to understand the situation.
Hi Mr. Chester Kim.
Thanks for your example.
I'm working trying something in the same ballpark, and get error:
"Specified Visual is already a child of another Visual or the root of a CompositionTarget."
Art
Love it. Thanks for the great info.
Thanks so much. Microsoft introducing their usual bugs =(
Thanks Kim,
This was very helpful. I hope that Microsoft will came out with a patch for this.
insert() seems like useful and straightforward in this case.
Honestly, I wasn't familiar with C++ hash map.
Thank you for your tip.
Hi, vio!
I'm so glad to talk with you on programming over Internet even though you are far far away!
Actually, map::operator[]() creates an element with the default constructor before copy assignment happens if the element does not exists but map::insert() doesn't.
dmap.insert(make_pair(j, DInfo(i,j,k))) will have same effect with the constructor to dmap[j] = DInfo(i,j,k)
Looking forward to seeing another your C++ article! ^___^