Quantcast
Channel: The Old New Thing
Browsing all 24428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

re: Optimizing the Chili's dining experience

That Chili's in Bellevue was actually the first Chili's I ever saw. Apparently it has since closed (according to the Yelp link). I can't really say I'm sad to see it go, however, as I'd call it a...

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

@Damien somewhere around the second rejection I'd ask why, instead of continuing to provide solutions they're going to reject.

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

"that is likely overkill for a five-line program."Raymond, your sample looks like it was written by underpants gnomes.

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

Obviously the correct solution is to distribute tinted spectacles along with your software.(I wonder if Microsoft could distribute kernel-tinted spectacles to developers? That might help cut down on...

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

["We have a corporate policy that users cannot change widget colors, so the IWidget::Set­Color method returns E_ACCESS­DENIED. We're looking for a way around that policy." Okay, well, now that's...

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

"The problems of the real world are primarily those you are left with when you refuse to apply their effective solutions." --E. W. Dijkstra

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

Off-topic, but I like your batch style of putting the redirection before the command. I knew it was possible but never ever considered actually writing code that way. I might adopt this.[It's essential...

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

LMAO @ the batch file.Theres a batch file solution to every problem XD

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

That reminds of batch files I used to write a loooonnnnggg time ago that scripted the old DOS debug.com utility to enter some bytes and run it.  I also seem to remember this was a safe way for virus...

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

You can always just poke the screen with your finger. That'll change the color of the widget without calling any APIs at all.

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

@Matt: You make the assumption that the display device is an lcd panel. That's a bad assumption if your widget needs to be blue for all users. (In fact the touchscreen on my phone doesn't change with...

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

@Brian_EE: You're not pressing hard enough ;)

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

For some particularly unfathomable reason my take away from all of that is: PowerShell would have been far simpler.c:\powershell.exe Namespace::IWidget.SetColor($color)My appologies for the pedantry.

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

How about: "For various reasons we're considering technology Y for an upcoming project, and I'm trying to get a handle on which kind of problems that choice may lead to. One problem is changing widget...

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

'"We are programming in a language that does not support COM objects. We can only p/invoke to C-style APIs." Well, you can work around that problem by writing a helper DLL that exposes a C-style API,...

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

@Andrew: I'm well aware of that.An amusing case was calling some COM entity from NSIS installer. NSIS can't do COM lookup, and DLL plugins for it have to be specially compiled as the C libraries aren't...

View Article

Image may be NSFW.
Clik here to view.

re: The annual sporting event involving a football that dare not speak its...

"Did you happen to catch the professional football contest on television last night?  The Giants of New York took on the Packers of Green Bay. And in the end, the Giants triumphed by kicking an oblong...

View Article


Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

@Joshua: I don't see the problem, why can't you just statically link the CRT? It's routinely done for small utilities and other situations when you don't want to have the CRT package as a dependency.

View Article

Image may be NSFW.
Clik here to view.

re: The curious pattern of pre-emptively rejecting the solution to your problem

@Matteo: Because the static CRT isn't redistributable (as in the .LIB file, not the resulting binary).

View Article

Image may be NSFW.
Clik here to view.

re: Once you know something can be done, doing it is much easier

Is that how placebo works? Homeopathy? lol....

View Article
Browsing all 24428 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>