Member Avatar

Hello Guys I am looking for some code,that can help me to build a C# method that can generate a photo mosaic (a big picture that is build up from other pictures) but really i dont have idea how can i do this. :S Thanks for all your help :D

Member Avatar
+0 forum 5
Member Avatar

One of my websites is based off of the HTML5 Big Picture Template: [iamepic.today](http://www.iamepic.today) Within this design, I am noticing two interesting effects taking place, one within Internet Explorer 11 and the Other Being Safari 5.1.7. Within Internet Explorer 11, when you scroll through the different sections from top to bottom you will see a weird flickering effect. (This definitely occurs when you scroll fast.) I've read in articles that the -webkit-backface-visibility needs to be set to hidden, but that didn't solve the problem for me. I've also read that it could be a performance issue with that specific version …

Member Avatar
+0 forum 1
Member Avatar

Hi Guys, Really need your help. I have started a new job, my first developing job in fact and Im struggling to understand how the system works. Thier product is massive and far more complex than anything i've seen. I have been looking at it during my first week to figure out how it all works but am making little progress. Theres alot of scripts and legacy code but I believe my first tasks will be going through the code of commenting it to show what it is doing. Just curious if anyone has a good way of testing code …

Member Avatar
+0 forum 6
Member Avatar

package JavaApplication42; import java.io.*; import java.io.IOException; import java.util.*; import java.io.BufferedReader; public class DPmodification { public static void main(String[] args) { BufferedReader br = null; int n, c, d,k, swap,i=0,j=0,no_of_selected_item=0; int numItems; int numTransactions; double minSup; String configFile = "F:\\New Folder\\configtrial.txt"; try{ FileInputStream file_in = new FileInputStream(configFile); BufferedReader data_in = new BufferedReader(new InputStreamReader(file_in)); //number of items numItems = Integer.valueOf(data_in.readLine()).intValue(); boolean[] skiplist=new boolean[numItems]; //number of transactions numTransactions = Integer.valueOf(data_in.readLine()).intValue(); //minsup minSup = (Double.valueOf(data_in.readLine()).doubleValue()); int[] length=new int[numTransactions]; int[] sum=new int[numItems]; int[][] m=new int[numTransactions][numItems]; String[] line=new String[numTransactions]; //output config info to the user System.out.print("\nInput configuration: " + numItems + " items, " + numTransactions …

Member Avatar
+0 forum 1
Member Avatar

What is the running time for the following recursive function: pubic static int Sum(int [] a, int start, int end) { if ((end – start) = =0) return a[end]; else { int mid = (end + start) / 2; return (Sum(a, start,mid) + Sum(a,mid+1,end)); } } Can someone please explain step by step on how I would figure this out. My attempt is that I only care about the if statement and int mid here (i think). "If" would be a simple n and would "int mid" be log_2n giving a running time of nlog_2n?

Member Avatar
+0 forum 3
Member Avatar

Hello, I am working on a site that has big image on its background. So when the page loads, the image loads very slow also. See the picture to understand http://i1235.photobucket.com/albums/ff429/rakwel10/loading-issue.jpg Slider images are also problem. What are the possible ways to solve this? "$(document).ready(function()" is not also working. Pls help Thanks

Member Avatar
+0 forum 1
Member Avatar

how you would compute/denote the time complexity of two loops based on different variables? I understand how to compute the time complexity for a simple loop PseduoCode while X<N { while Y<M { Z++ } X++ } one loop occurs N times - time complexity O(N) the other loop occurs M - time complexity 0(M) M- happens to be a unknown function of N would the time complexity O(MN)? but In big O notation you are to drop all excess variables in which case time complexity would be O(N)? or neither? please help

Member Avatar
+0 forum 5
Member Avatar

I want to create a do while loop for a statement to keep on looping until a following number or string value is passed. this is the code that i was trying to put in. [CODE] #include "vending.h" int main() { cout << "\n\n\n\n----------Welcome to the coolest vending machine!!!!!!!-----------\n\n"; cout << "Press 1 and enter to display the list of products in the vending machine.\n"; cout << "Press 2 and enter to check the price of each product.\n"; cout << "Press 3 and enter to check the quantity of the products.\n"; cout << "Press 4 and enter twice to exit …

Member Avatar
+0 forum 11

The End.