scale

Is WCF right for the job? Queues and Multiple Worker Servers

I am a novice to MSMQ and WCF and need some direction. The application we're working on requires heavy PDF parsing jobs and these jobs can take considerable time to finish. Users will request these jobs from a single ASP.net application. To scale out, we would like to have the PDF Parser service spread across multiple physical (or virtua...

MySQL implications of 'like' vs 'join' query

I've got two tables - Videos and Playlists Typically I would create the two respective tables and a multi-value table for the 1-Many relationship, such that : Videos = [pk, videoId, title, etc..] Playlists = [pk, title, etc..] Playlists_Videos = [VideosFK, PlaylistFK] Alternatively, I've been thinking about creating the two tables on...

Preventing CALayer Sublayers From Getting Scaled

I have some CALayers in a layer hosted view. Each of these layers has additional layers to hold (1) a close button, and (2) a resize handle. These additional 'control' layers are added as sublayers to the parent layer. Currently, when I zoom the workspace in which these layers reside, everything scales -- including these control layers....

Conforming results to a scale

I'm monitoring the change in certain values day over day. The changes vary, and can be of any value size, typically 1-100 difference, but maybe there is an outlier at 500 or even 900. I want to be able to put these values on a set scale so I can plot them. Is there a formula I can use to limit the high end of the scale, so no matter...

At will scaling and rotation in a 2D space

Hi, I'm trying to write a graphical program in C++ with QT where users can scale and rotate objects with the mouse (just like inkscape or CorelDraw does), however after many months trying to make it happen I still cannot make it work. It currently works for example by just rotating or just scaling, but not when the user want to transfor...

Translate a WPF canvas at high scale factors isn't smooth away from origin

Imagine you have a canvas that you want to scale to a very high value and then allow "panning." A good example is a geographic tool that needs to allow panning with "zoom" levels from the extent of the whole earth down to the extent of a few meters. I've found that if you are scaled in to more than, say 500,000, translating becomes ver...

How to scale on x-axis with Core Plot

Hi everyone, I have a barchart display the smoking counter, day by day. Each column represents one day. I would like to view the data on week, month, year, on the same graph by drag on the X-Axis. If I drag the x-axis to the right, the value on the x-axis come from month to day (smaller value scale). If I drag the x-axis to the left, th...

In WPF how do I Resize main windows during the runtime.

I want my main WPF window during the runtime, when there is not enough space for my control, to resize itself. I could create a window which takes a maximum amount of space on the screen and make it transparent, but are there any other ways to do it? ...

iPad: How to not allow a page to be resized by an element being dragged on the edges?

I have my page all set up perfectly and the height & width's are all working great. But I have a draggable element and if you drag it to the side/corner of the page, it starts shrinking the whole page instead of cutting off the element on the edge. The element is always visible where ever your dragging, its just the rest of the page shri...

Android - Another button question

Its a dumb question. Prepare yourself. My main.xml is this: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@android:color/white"> <ImageButton android:src="@drawable/button"...

MJPEG in UIWebView - How to change scale with javascript (iphone)

I'm displaying an MJPEG stream in a UIWebView. I have two different sizes I want to use for the UIWebView. The video size is constant. So setScalesPageToFit isn't flexible enough, and I have no control over the source to change the viewport meta tag. So I'm left thinking that I need to do this via javascript (of which I have very lit...

Is it possible to scale the content of a QVBoxLayout in pyqt4?

Hi all, couldn't find anything with google or search. I have some QPushButtons and QLabels in a QVBoxLayout. Now I want them to scale down. Not only the text, the hole QButton and QLabel. Is that possible? If yes, can you please tell me how or post me a link to the doc. I'm pretty sure, that there must be a way. But I think I'm search...

A likert scale in HTML

I am trying to find code for a likert scale in HTML. I have three questions. 1. I want it so say Not Guilty on the left and Very Guilty 2. I want it to say A lot of Damage on the left and No Damage on the Right 3. I want it to say Not Certain on the left and Very Certain on the Right. Does anyone know how to code this? ...

At will scaling and rotation in a 2D space -- Almost but a funny translation

Hi, I posted few weeks ago a problem that I had with combining rotation and scaling in a 2D space. Thanks to SigTerm (StackOverflow) and a tutor of geometry I almost make it work. However, I have a translation problem. When the software scales an object using a fixed-point of scaling, the result matrix has a translation, but we (my tuto...

How to scale up and crop a UIImage?

Here's the code I have but it's crashing ... any ideas? UIImage *tempImage = [[UIImage alloc] initWithData:imageData]; CGImageRef imgRef = [tempImage CGImage]; [tempImage release]; CGFloat width = CGImageGetWidth(imgRef); CGFloat height = CGImageGetHeight(imgRef); CGRect bounds = CGRectMake(0, 0, width, height); CGSize size = bou...

Silverlight - scrollbars resize problem while scaling scrollbarview content

I'm having strange problem with silverlight zoom and pan feature. I'm having scrollviewer, inside him border, and inside border my main content (some grids, text boxs etc..) My XAML is looking something like this : XAML : <Grid x:Name="Root" Background="Black"> <ScrollViewer x:Name="Scroller" HorizontalScrollBarVisibility="Visible...

Have labels fill axis - Core-plot

Hi, I am attempting to write an application with core-plot that will scale the y-axis values between the smallest value and the largest value. This part works well, however when these values are drawn on the y-axis line, the values do not take up the entire length of the y axis. Statement to set up y-range: plotSpace.yRange = [CPPlotR...

UIButton scale on touch?

hil, can someone tell me how i can scale an UIButton on touch? the button should scale up like 10%. thanks in advance! ...

What is preventing Twitter from scaling

Hi, The beauty of fast paced frameworks like Rails is that it allows you to deploy quickly- sometimes that comes with a price of having to find ways to scale later. Twitter seem to still be having problems scaling, even though they have been working on this problem for well over a year. I was wondering - what is preventing them from sca...

jQuery -- resize multiple objects, width and height scale linked

Hey folks, I have to apologize for my inexperience here, I've been working on this for about an hour but I'm so new to jQuery that I don't even know what to search for... I've got a page (http://milliondollarextreme.tv/) that has multiple YouTube video embeds on it. I am trying to make the videos resize to fill the divisions that they ...