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

Image may be NSFW.
Clik here to view.

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a...

Does it also depend a bit on how much of the task's clock time is spent actually running stuff - say if it runs for 10 minutes mostly blocked waiting for stuff coming down a slow network connection it...

View Article


Image may be NSFW.
Clik here to view.

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a...

I've been considering making a specialized thread pool that creates a new thread whenever it tries to allocate one and there isn't one to allocate.

View Article


Image may be NSFW.
Clik here to view.

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a...

And that's why naming (of variables, constants, functions, ...) is more important than compiler errors. Compiler errors are easy to fix compared to errornously named things.

View Article

Image may be NSFW.
Clik here to view.

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a...

I was about to write something very similar to what Pedrow said.  A task that's mostly waiting (the thus not scheduled CPU time) is a good candidate for WT_EXECUTELONGFUNCTION.  A task that's CPU bound...

View Article

Image may be NSFW.
Clik here to view.

re: A feature I didn't even know existed much less had a name: Color hot-track

www.quora.com/.../How-does-Chrome-pick-the-color-for-the-stripes-on-the-Most-visited-page-thumbnails has a good explination of how Chrome does its color hot-tracking.

View Article


Image may be NSFW.
Clik here to view.

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a...

@Pedrow, Adrian Sure, if you know that the machine only has a single CPU...

View Article

Image may be NSFW.
Clik here to view.

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a...

@Mike: Doesn't matter how many cores there are.  Thread pools start with 1-2 threads per core.  If your task is CPU bound, then there's no point in running it in parallel with the other tasks, you end...

View Article

Image may be NSFW.
Clik here to view.

re: What does it mean when my program exits with the message "This...

"Wait, assert? I've never seen that error message caused by an assert.  I thought that error occurred with manifest config errors.  I've rarely seen it." That's "assert", not "ASSERT", they're different.

View Article


Image may be NSFW.
Clik here to view.

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a...

So should WT_EXECUTELONGFUNCTION be thought of as "WT_EXECUTESLOWFUNCTION" (as in "resource-bound" slow, not "takes a long time" slow) then?

View Article


Image may be NSFW.
Clik here to view.

re: Why does my program still show up in the Programs and Features folder...

On Windows XP, I sometimes find that after the uninstall the entry for the program remains. And then I again click on the "Remove" button and a dialogs pops up saying "The program might be uninstalled,...

View Article

Image may be NSFW.
Clik here to view.

re: How can I tell whether a window is modal?

"This definition appears to be using a common abuse of terminology, using the words child and parent instead of the more accurate but clumsier owned and owner." Perhaps this person has been using the...

View Article

Image may be NSFW.
Clik here to view.

re: Online gift ordering + enthusiastic kids at the keyboard + Unicode,...

I would never have assumed that Amazon, or any other website, would honor anything other than ascii;  besides, ascii already defines a hyphen and a carriage return character, why didn't you try that...

View Article

Image may be NSFW.
Clik here to view.

re: Online gift ordering + enthusiastic kids at the keyboard + Unicode,...

Extraordinarily this actually works best with the actual site at 800x600 as then the first break happens after "birthd" and the "a"s break into five equal strings, while on wider screens or with feed...

View Article


Image may be NSFW.
Clik here to view.

re: Online gift ordering + enthusiastic kids at the keyboard + Unicode,...

@Smitty: Observe how the greeting card text in the article adjusts while you change the width of your browser window. This will help you understand what a soft hyphen is an why it is fundamentally...

View Article

Image may be NSFW.
Clik here to view.

re: Online gift ordering + enthusiastic kids at the keyboard + Unicode,...

@Smitty It is right in the post: "I had no idea what font or format rectangle was going to be used, so I couldn't be sure where to put hyphens so that they will ensure line breaks at visually-pleasing...

View Article


Image may be NSFW.
Clik here to view.

re: The peculiar cadence of executive mail messages

The "try to summarize lengthy works of creative writing in one hundred words" link is dead.

View Article

Image may be NSFW.
Clik here to view.

re: The peculiar cadence of executive mail messages

Wouldn't it be great if "pursuing your lifelong dream of circumnavigating the globe" was established company euphemism for "being laid off"? Manager: "Great news, Bob! We've allocated additional...

View Article


Image may be NSFW.
Clik here to view.

re: The peculiar cadence of executive mail messages

According to word, the most important sentence here is "I played that game with one of those executive mail messages".

View Article

Image may be NSFW.
Clik here to view.

re: The peculiar cadence of executive mail messages

I've started playing this game with Project Gutenberg.  Talk about a time sink. A Modest Proposal turns out interestingly when cut down to 100 words.  It ends up sounding almost modern American right...

View Article

Image may be NSFW.
Clik here to view.

re: Online gift ordering + enthusiastic kids at the keyboard + Unicode,...

re: web sites honoring anything other than ascii It's one of my pet peeves that, 21 years after the publication of the Unicode standard, people still consider characters larger than 7(*) bits to be...

View Article
Browsing all 24428 articles
Browse latest View live


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