Posts

SQL Server - Production DB Schema vs. Reporting DB Schema. Should they be the same? -

We've recently put in a new production database usage. The schema of this database is optimized for OLTP We are also preparing to implement a reporting server to use for reporting purposes. I do not believe that we should use the same schema for our reporting database, as That we do for our production database and do it to replicate the data. For those people who have worked with different production and reporting databases, you have chosen to use the same database schema for your reporting database, or a schema that is more for reporting. Is efficient; For example, maybe something more denormalized? Thanks for considering this. I think the reporting database schema should be optimized for reporting - so you can get your data An ETL process will need to be loaded in my experience. In my experience I was quick at that point that the production schema does not meet my reporting requirements If you are starting your own reporting project then I would suggest That you rep...

java - Generating Multiple Output files with Hadoop 0.20+ -

I am trying to output the results of my reducer to multiple files, the data results are all contained in one file, And the remaining results are divided according to the category of their respective files. I know with 0.18 that you can do it with multiple outputs and it has not been removed. However, I am trying to make my application 0.20+ compliant. Existing multiple output functionality still requires JobConf (which uses my application job, and configuration). Based on the key, how do I generate multiple outputs? Support for multiple outputs is not in 0.20. You have to use the old API. It has been added to 0.21 which is currently absent as org.apache.hadoop.mapreduce.lib.output.MultipleOutputs. Talks about this problem on the mailing list.

networking - Get Download and Upload Speeds C# -

I'm seeing a class or a library or something that will allow me to get current download speeds, / P> Anything can provide some sort of code to give this simple functionality. Thank you very much I think you want KB / sec It is determined by taking collised and dividing it by the initial seconds by reducing the current seconds. I'm not sure how to do this time in C #, but in VC ++ it will be: COleDateTimeSpan dlElapsed = COleDateTime :: GetCurrentTime () - dlStart; Secs = dlElapsed.GetTotalSeconds (); You split again: double KBSEC = kbreceived / secs; To get collised to get , you will need to read currentBytes , add already read bytes, then 1024 Divide by. P> Therefore, // Chuck size 512 .. As long as you can max (int bytesread = file-> gt; read (charBuf, 512) )) {Currentbytes = currentbytes + bytesread; // Set the status of progress by setting the current bytes to pause} int percent = current bytes * 100 / x (the size of our file at the...

iphone - Can't upload application binary to the App Store -

We got to talk about submitting our first iPhone app (or trying) in the App Store But I can not connect to accept iTunes uploads. I have tried through both web sites ("The binary that you uploaded was invalid. The signature was invalid, or it lots of reading (including), again After reading and googling, I can say that: "Apple Submissions Certificate" and "Application Loader" ("There is no CFBundleResourceSpecification in Info.plist"). I'm sure the bundle The identifier matches the APID. is an icon, it is a 57x57 px PNG file, and it is The exact name is Info.plist. I'm doing a tool, not a simulator, build. The signaling process is successful: build results show this, and Codeign -vvvv MyApp is running .app indicates no problem. There are no strange characters in the way of Zip F. IL. I created the build folder Has been removed and binary has been rebuilt several times. Now, it is true that in the built-in app, there i...

struts2 - how to iterate Set in s:iterator in Struts 2 -

I have a set with a list of objects, I want to iterate this set in s: iterator in struts 2 How can I get the tag and one's use of the object's property? Sample code: class employee {string name; String era; ... gates and setters ...} ... set & lt; Employee & gt; EmpSet = new hashset & lt; Employee & gt ;; In JSP: I want to use the name of the employee & gt; & Lt; Property value = ??? (How to get the employee's name) & gt; & Lt; / S: iterator & gt; Thanks Iterator docs: You want to do something like this: & lt; S: iterator value = "empSet" & gt; & Lt; P & gt; Name is: & lt; S: property value = "name" /> gt; & Lt; / P & gt; & Lt; / S: iterator & gt; Note that you will need a waiter for empSet on your Action Class.

How to step frames in a movie recorded by iPhone -

Is the frame frame of my iPhone program through the frame recorded by the iPhone? What I want to do is, the user has to record a quicktime movie, then be able to take steps through the film frame by frame Alternatively, I think there was a way to remove every single frame from the movie for a JPG, so I can easily move through the pictures, anyone know a way to do this is ??? I think the third option (which can not be behind Apple's store) is to capture that film as the old jailbreak app was imposed, which somehow captures directly the camera Photos from the scene of ???? Any help is appreciated Thanks in advance !!!! You can not move the frame through a film frame. This functionality is not present in the public API. You can include your own media decoder code (open source or not) and use your films to parse the course. It is absolutely fine to do this.

cocoa - OSX: Get application windows + bounds -

Is there a way to get the list of windows from other applications and from their limits? Like I'm talking about 1) F / Script or obj-c or any other (except for Apple Script) any other (any other) Cocoa-based application window To use content to use? The data (as is) and 2) modify it ... external See these stack overflow questions: In OS X. Basically, you can use two APIs and.