Questions with no comments/solutions

Okay. This the background. I am trying to create different image patterns and merging them into one. I am using MiniMagick and it is a ruby wrapper for Imagemagick. I get the following message: unable to clone cache `/tmp/magick-1r313oY0′: No space left on device. What might be the reason? I am now simply trying to convert an color image into grayscale but this error is stopping me to proceed with my different image patterns design. Ruby is fine as I am able to run other programs easily. Thank you very much for your quick responses.

  • 531 views
  • 0 answers
  • 0 votes

I am plotting a bar graph in Matlab and i want to shift the entire horizontal axis by some value. The value will be based on the total number of bars and also the average value of bars. How to shift the horizontal axis in Matlab plots. I am using m scripts to load the data and plot the data as bar graphs. Thank you for your help. How to move the graph in Barplot in matlab in both X dimension and Y dimension? I am using Matlab 2010 if it is worth mentioning and running on Windows 7 operating system. Please leave comments if more details are required to help me solve this problem.

  • 822 views
  • 0 answers
  • 0 votes

I have created a very basic Ruby application that works totally okay inside the Heroku console (heroku is being run by the myapp.rb). I want to know the idea of making it run fully autonomously? I do not want Heroku console as a wrapper so that I can run my basic application I have just created make a independent application which can run with out any dependencies. This is actually only a basic application which reads a little news or updates from a website and emails the content to a predefined client. Simple. What should I put in CONFIG files. What should be the PROCFILE. Can any body please help in this regard. I will update you all if I get any success. Thanks for helping.

  • 704 views
  • 0 answers
  • 0 votes

I am wanting to kill the php sessions after certain time say for example after 20 minutes of inactivity. I don’t know much about SESSION.GC_MAXLIFETIME and SESSION.COOKIE_LIFETIME but I am also unsure about the reliability of the same. How to implement a session time of my own in PHP? How to avoid garbage collector automatically destroying my sessions? How to time stamp my sessions on my own so that I can keep track of last activity in th session so that I can kill th session if I detect that the programmed time out has happened.

  • 693 views
  • 0 answers
  • 0 votes

Can I have a simple and easy way to to schedule an automatic HTTP request to an address like mdomain.com according to a rescheduled time so that i can automate some of the requests from client and the server, while the client can enter some power down modes reliably? I have heard about CRON but never used it. What is CRON in python/javascriting and how to make use of it in my requirement? any code snippets is greatly appreciated. The outcome of request can be some more HTTP requests and it is acceptable.

  • 549 views
  • 0 answers
  • 0 votes

I am trying to generate a sphere based on 3D walk plot and was almost successful. Now i need to generate the random walk points on the sphere to simulate the lighting effects later on but as of now, i cannot see the points getting joined. It simply displays as a dot in the window but doesn’t plot over the sphere. How to overlap the random points on sphere and make them connected? Is it possible to overlap two plots one over the other so that I can present my random walk points on any other 3D plots? Looking forward for your reply.

  • 625 views
  • 0 answers
  • 0 votes

I am facing this issue in python version 2.7. I am running a python script to create and collect multiple data from user and finally as a wrapped i add some details on the session which includes the group members name, topic of the discussion and a few database created in the session in the table formats. I want to generate pdf in the final stage. But when i call Saveas2 function, it successfully opens the save a window but also brings a error window telling command failed. What might be the reason?

  • 605 views
  • 0 answers
  • 0 votes

Am trying to work on a project which involves the following: The user will enter his registration number as an example and clicks on submit button present on the same page. As soon as the button is clicked, the value of the registration number should get displayed in second page. That is all my requirement is. I am here exactly trying to understand the procedure of sharing variables among multiple PHP pages. I am using sessions for this but unable to succeed. Is there any good approach than using sessions to get this done quickly?

  • 631 views
  • 0 answers
  • 0 votes

How to create a custom function to generate an output which will be a random number between two numbers. The two numbers can either be given by the user, or can be read from an existing array. Here are some conditions which I will explain with examples. I may want to generate a random number between 11 and 33. 11 inclusive and 33 exclusive. Similarly a random number between 42 and 52 both numbers exclusive etc. Hope i have stated the problem correctly and clearly. Can any body please guide me on random numbers on ruby on rails?

  • 567 views
  • 0 answers
  • 0 votes

NTR remains for New Technology Report, however what considers reportable? Why are NTRs essential to NASA? So am I obliged submitting NTRs? Shouldn't NASA's new innovation which was paid for with citizen dollars be made uninhibitedly accessible to the general population? Is there a correct time and wrong time to present a NTR? I need to give a paper about another innovation, would it be a good idea for me to still document NTR? I have the greater part of the data about the new innovation in a different record. Could I stack that into the framework and not fill in the fields?

  • 607 views
  • 0 answers
  • 0 votes