ProgScripting Languages

ProgScripting Languages

Intention of my program is to group all the comments based on the author name. I would like to show all the comments from one author together. I am trying to perform this in Python. is there a way to simply collect the list of a person’s comment based on name property? All the persons who comment has an unique name ID in the database and hence i can use that data. People cannot comment if they do not have the ID. It simply implies they have to first register and then comment. How to do this in cool way and with out attracting much headache in the future? Great thanks for your kind help.

  • 549 views
  • 0 answers
  • 0 votes

I am trying to run an application in Java for a small project. As a start, i have to identify the position of the mouse pointer. how to detect the X location and Y location (X,Y) of the mouse pointer in Java ? This project will be a sub project later for a major project on which my team is working on. The user need not move the mouse, still the location of the mouse has to be identified and sent as a parameter to say a function Current_mouse_loc(). How to get the mouse pointer position? Which is the call back responsible for this? Thank you for replying.

  • 926 views
  • 1 answers
  • 0 votes

I am facing this problem when I am trying to edit a record. My requirement is simple, as soon as the user enters his or her name I have to check the field user_name and confirm the user that there is no matching name in database if there is no matching database. If it matches, I have to inform him or her the same. I am trying to use contract.exists?params([:user_name]) but it always return false irrespective of the value entered. I am using Ruby on rails for the above. I need simple code to check the database so that I will avoid duplicate entries which is compulsory requirement.

  • 511 views
  • 0 answers
  • 0 votes

I am getting multiple errors and all in Tkinter basically. I am a newbie in this and have no clues what are these errors. Hence i started on reading on Tkinter first. The error messages starts with “Exception in Tkinter call-back” and pops so many errors which i do not know about. What is Tkinter function? How to use that function? How to avoid errors in Tkinter function? I am creating a project for learning colours for children using python. Thank you for your great help.

  • 829 views
  • 1 answers
  • 0 votes

I am using ruby on rails and I would like to know if it is possible to implement a form where user can register if it is first time visit, and login if he has already registered. The user will enter username and password and send a POST. It will be verified in the back ground and will allow the user to login if it is validated successfully. Currently i am facing error in authgem. I am trying to use JSON request and response to achieve my objective. So, this is basically a login page for the user to access my website. Is there any other solutions available? Thanks

  • 583 views
  • 0 answers
  • 0 votes

I am trying to create a count down timer in Ruby which displays time in the following format
00 : 30: 28,
00 : 30: 27,
00 : 30: 26,
00 : 30: 25… And so on. What is the way to achieve this? If I use Time.now , load the value to a variable and display it, I still cannot achieve the above requirement format of count down. I want to display only the time remaining but not the entire date and time which I am getting now with the use of Time.now feature in a on Rails. Can any beautiful mind help me in correcting what I have misunderstood? Thank you for your time and please reply if I ned to give some details.

  • 733 views
  • 0 answers
  • 0 votes

I am a newbie for Django but have good experience in creating webpages, adding contents and live tweets and other stuffs like that. I am adding a registration form for the users of my website to aid in registration of my website users. I want to perform the entire registration process in plain HTML, display errors to the users when they enter wrong details such as space in the email ID or not matching passwords. is it possible to generate the registration form with out using any readymade forms? Thank you for your reply. I am looking forward to develop from scratch independent of other modules which may become un reliable when modules are updated.

  • 550 views
  • 0 answers
  • 0 votes

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.

  • 533 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.

  • 824 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.

  • 706 views
  • 0 answers
  • 0 votes

Latest Articles

Top 10 Technology Trends For 2025

With 2025 just around the corner, it is time to start thinking about what tech trends will be coming our way. Tech moves at a rapid pace. Some things may pop up next year...

How To Choose The Right Linux VPS For Your Needs

Choosing the right Linux virtual private server (VPS) is a critical decision that can greatly impact your online projects, whether you’re running a website, hosting applications, or setting up a development environment. With various...

Benefits Of Storing And Sharing Documents In The Cloud

Have you ever wished you could access your important documents anytime, anywhere? With cloud document storage, that wish becomes a reality. In today’s fast-paced world, secure and accessible document management is more essential than...

Latest Blogs

Top 10 New Laptop Entrants That Shook The Public

The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...

10 Facts About The Dark Web

Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...

Top 10 Latest Steam Cleaner Machines

While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...

Latest Tips

Top 10 Internet Monitoring Software

Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...

Top 10 Best Partition Manager Software

A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software. 1....

Top 10 Best Online Music Production Software

Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...