I've typed around 75wpm for the last few years but I've always wondered how people type +100wpm.
I've searched but I primarily find typing tutors that teach you to type.. not teach you to type faster. So far the only tip I've come across is to learn dvorak.
Are there exercises or tips to help break through the 75wpm wall?
...
I used gdi+'s Image class to decode image files.
But I found if I open a Image, then use GetThumbnail()Method, It is really slow, especially for high resolution images.
Is there any method for get a thumbnail faster?
Or is there any lib designed especially for fastly retriving thumbnails for most image formats.
Many thanks!
Thanks for...
when i update score from my admin i want to update score in client autometically without refresh can any one help with script and technices
i see such auto refresh http://stackoverflow.com/
ANSWERS , VIEWS autometically updating
...
I find it cumbersome to create a trigger just to get the current total rows of the table without doing COUNT(*) FROM table. I'm thinking if their planned index-organized tables for Postgres 8.5 could make it possible?
...
I want to draw a dib on to a HDC, the same size.
I am using :
des and src are of the same size.
::StretchDIBits(hdc,
des.left,des.top,des.right - des.left,des.bottom - des.top,
src.left, GetHeight() - src.bottom, src.right - src.left,src.bottom - src.top,
m_pImg->accessPixels(),m_pImg->getInfo(), DIB_RGB...
does anyone know of a postgres view / function / tool that could report on the slowest and most often used slower queries? i think this would be so useful for all sysadmins. thanks!
...
Hello everyone.
So far I've managed to create an app for iPhone that takes multiple images with about a 3 second interval between each. I`m processing each image in a separate thread asynchronously and everything is great till it gets to the moment for saving the image on the iPhone disk. Then it takes about 12 seconds to save the image ...
I am using c++, libjpeg for decoding jpeg file.
I find it is not fast enough, is there any method to make it faster by setting some compile parameter?
or are there any other lib can open jpeg files more faster?
now it takes about 750ms to open a 4368 * 2912 4m jpeg image.
I wish this can be reduced to 150ms.
Many thanks!
Added:
IJL see...
In my application I want to draw polygons using Windows Create Graphics method and later edit the polygon by allowing the user to select the points of the polygon and allowing to re-position them.
I use moue move event to get the new position of the point to get the new coordinates of the point being moved and use Paint event to re-draw...
I'm trying to thumb an image as fast as possible regardless of the usage of resources to be used in my ImageList and listview and this is currently how i'm doing it but it seems to be slow:
public Image toThumbs(string file, int width, int height)
{
image = null;
aspectRatio = 1;
fullSizeImg =...
So... which one is faster (NULl value is not an issue), and are indexed.
SELECT * FROM A
JOIN B b ON b.id = a.id
JOIN C c ON c.id = b.id
WHERE A.id = '12345'
Using Left Joins:
SELECT * FROM A
LEFT JOIN B ON B.id=A.bid
LEFT JOIN C ON C.id=B.cid
WHERE A.id = '12345'
Here is the actual query
Here it is.. both return the same...
Here's a curiosity I've been investigating. The .NET Dictionary class performs ridiculously fast compared to the STL unordered_map in a test I keep running, and I can't figure out why.
(0.5 seconds vs. 4 seconds on my machine)
(.NET 3.5 SP1 vs. Visual Studio 2008 Express SP1's STL)
On the other hand, if I implement my own hash table i...
I have strings like
OPEN SYSTEMS SUB GR (GM/BTIB(1111)/BTITDBL(2222)/BTVY(4444)/ACSVTYSAG)
in my database under my GROUPS Column.
What I want to do is to extract the 2222 from that string. The code I am using is like that.
SELECT
SUBSTRING(GROUPS, CHARINDEX('(',GROUPS, CHARINDEX('(',GROUPS, CHARINDEX('(',GROUPS,0)+1)+1...
right now i have a bottle neck in my program I'm trying to write. i am trying to use a pinch gesture to control the scale of a UIImage. its the calculation of the scale that is causing the program to slow down and become choppy. below is the equation.
currentScale = (currentDistance / initialDistance) * scaleMod;
scaleMod is what ever...
I plan to add a better search feature to my site, so I thought that I would write it in C and use the CGI as a means to access it. But it seems that Perl is the most popular language when it comes to CGI-based stuff. Why is that? Wouldn't it be faster programmed in C or machine code?
What advantages, if any, are there to writing it in a...
Time Profiler says that statements like these are slowing my app down. Is there a better way to write this so that my app runs faster?
background = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myfolder.png"] highlightedImage:[UIImage imageNamed:@"myfolderOFF.png"]];
Thanks
...
Hi
How do I select wallpapers randomly, but cache the last selected one for 10 seconds (for performance reasons)?
the faster RAND() function use Cache in wallpapers or image
i use this
but i need to but cache in image timely change after 1 mins or 5 mins to chnage images in RAND() randoms wallpapers
i use this :
$sql_wallpaper = "S...
I am try to solve a prob in one of the Programming contests.The actual prob is sort a given list of numbers.I am using a algorithm with complexity(nlog n) and that is the maximum level of optimization I can do with the algorithm.Now from the forum I understood that I need a faster I/O for which I should create a new reader class.I/O are ...
I need to read the text of a webpage programmaticly (not html source, but it doesn't matter). It takes too much time with "WebClient().DownloadString()" and the time is very important in the program. Any tips to do that faster?
Thanks...
...
Hello dear programmers.
I am developing a web based mmorpg. so speed is very vital for me since people don't like slow games :)
i have a map system which uses ajax and asynchronous postbacks for walking. so i want to make it faster as much as possible.
if anybody can spend some time at my page and make suggestion for me i appreciate t...