Search Results

Search found 6502 results on 261 pages for 'dont reinvent the wheel'.

Page 117/261 | < Previous Page | 113 114 115 116 117 118 119 120 121 122 123 124  | Next Page >

  • Confused with web page layout.

    - by novicedeveloper
    I dont know, if it is right forum to ask such question. I am new in web designing and developemnt. I am confused with page layout and pixels. How can I get right information on page designing, and idea of page layout, and pixel measuremnt.

    Read the article

  • visual studio qt5 plugins not working on release

    - by John Smith
    I'm got this project where i'm showing images with a qt5 interface, i'm simply setting the Pixmap of a label with the qimage pixmap The thing is, it's working on a debug build, but not on a release build and i dont understand why. I already got a folder in my .Exe folder named "plugins" and a subfolder in it named "imageformats", and in this folder the file named "qjpeg.dll" So i coming here to see if someone has an idea on why it doesn't work ? Thanks in advance !

    Read the article

  • relaunch app when it ends or when it prints out certain text (stdout)

    - by acidzombie24
    I have an app which acts almost like a daemon. Sometimes it quits on error and many times it prints an error msg then ask users to press any key to close. How can i relaunch the app when either case happens? I am more interested in the 2nd case. I can do this in c++, C# or python. The script is an old python that i dont want to change (a newer c# version is in the works but not stable)

    Read the article

  • Looking for trustworthy JPEG batch converter/resizer

    - by Simon_Weaver
    I have a batch of PNG files that I need to convert to JPEG. I'm looking for a free trustworthy utility that will give me the most optimal possible JPEGs. I've found some paid utilities and i HAVE Photoshop, but I want something dedicated that is made for the task and I dont want to accidentally download spy ware. I'm really surprised not to find this question already on StackOverflow, but please point me in the direction of any similar questions if they exist.

    Read the article

  • Java Swing - good idea?

    - by Mike
    hi, simple question : I need to write cross platform application (basically CRUD). Is usage of Java Swing good idea? Or is it out-dated and you know better solution? I dont want to use like 5 languages for various stuff, one or two should be enough. Thanx!

    Read the article

  • Need help with 2 MySql Queries. Join vs Subqueries.

    - by BugBusterX
    I have 2 tables: user: id, name message: sender_id, receiver_id, message, read_at, created_at There are 2 results I need to retrieve and I'm trying to find the best solution. I have included queries that I'm using in the very end. I need to retrieve a list of users, and also with each user have information available whether there are any unread messages from each user (them as sender, me as receiver) and whether or not there are any read messages between us ( they send I'm receiver or I send they are receivers) I need Same as above, but only those members where there has been any messaging between us, sorted by unread first, then by last message received. Can you advise please? Should this be done with joins or subqueries? In first case I do not need the count, I just need to know whether or not there is at least one unread message. I'm posting code and my current queries, please have a look when you get a chance: BTW, everything is the way I want in fist query. My concern is: In second query I would like to order by messages.created_at, but I dont think I can do that with grouping? And also I dont know if this approach is the most optimized and fast. CREATE TABLE `user` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) INSERT INTO `user` VALUES (1,'User 1'),(2,'User 2'),(3,'User 3'),(4,'User 4'),(5,'User 5'); CREATE TABLE `message` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `sender_id` bigint(20) DEFAULT NULL, `receiver_id` bigint(20) DEFAULT NULL, `message` text, `read_at` datetime DEFAULT NULL, `created_at` datetime NOT NULL, PRIMARY KEY (`id`) ) INSERT INTO `message` VALUES (1,3,1,'Messge',NULL,'2010-10-10 10:10:10'),(2,1,4,'Hey','2010-10-10 10:10:12','2010-10-10 10:10:11'),(3,4,1,'Hello','2010-10-10 10:10:19','2010-10-10 10:10:15'),(4,1,4,'Again','2010-10-10 10:10:25','2010-10-10 10:10:21'),(5,3,1,'Hiii',NULL,'2010-10-10 10:10:21'); SELECT u.*, m_new.id as have_new, m.id as have_any FROM user u LEFT JOIN message m_new ON (u.id = m_new.sender_id AND m_new.receiver_id = 1 AND m_new.read_at IS NULL) LEFT JOIN message m ON ((u.id = m.sender_id AND m.receiver_id = 1) OR (u.id = m.receiver_id AND m.sender_id = 1)) GROUP BY u.id SELECT u.*, m_new.id as have_new, m.id as have_any FROM user u LEFT JOIN message m_new ON (u.id = m_new.sender_id AND m_new.receiver_id = 1 AND m_new.read_at IS NULL) LEFT JOIN message m ON ((u.id = m.sender_id AND m.receiver_id = 1) OR (u.id = m.receiver_id AND m.sender_id = 1)) where m.id IS NOT NULL GROUP BY u.id

    Read the article

  • How to add language plugin to ckeditor?

    - by user342777
    I was trying to add Hindi input in Ckeditor but I did not get that.Then I found indic plugin to language selection from ther you can select language and input text in that language but i dont know how to add that plugin to CKeditor. Please help on this.

    Read the article

  • can we get cancel click listerner of datepicker dialog?

    - by UMMA
    i am using following example of date picker http://developer.android.com/guide/tutorials/views/hello-datepicker.html now i want to perform some functionality on clicking date picker cancel button but dont see cancel event inside datepickerdialog can any one guide me how to achieve this. any help would be appreciated.

    Read the article

  • Where I can download

    - by Sorrybyenglish
    Where I can download source codes of sites on clear OOP without Frameworks or Cms? For best studying system of OPP and with perfect code where should I focus my coding style? I can learning only on examples of code whatever but i dont need script I need all site code entirely with Database data and with setting up Apache. Thanks everyone. Sorry by my English )) P.S can you advice to me what Projects with advantages? Exactly ;p

    Read the article

  • SeFocus causing Run time error

    - by code8230
    I am getting: Run-time error '5': Invalid procedure call or argument this seems to happen when Text(1).SetFocus is called. However, I dont see this run time error for all the cases where I have used SetFocus. Just 2-3 places it is causing this error. Text(1).SelStart = 3 Text(1).SelLength = 1 Text(1).SetFocus I tried: Text(1).Enabled = True Text(1).Visible = True just above .SelStart, but it didn't fix the issue.

    Read the article

  • Doctrine 1.2: Can a model have two instances of the sluggabl behavior?

    - by prodigitalson
    I dont see any direct mention on using multiple slugs (or any behavior for that matter) for single model. Is there a way to use the sluggable behavior to generate two separate slugs for a model? For example i need to generate two slugs for every record a product_id consisting of a slugified company name and sku and a distributor_id consisting of a different slugified company name. Obviously i could write this myself fairly easily, im just wondering if this can be done quickly with Sluggable.

    Read the article

  • Problem with the Blackberry browser

    - by vatsalit
    i am working on a application where i have image onwhich when u click it gets navigated to browser with a link but it dont display web page. now i need a code for just displaying a simple web page in blackberry.. is it something to do with simulator and device as i am working with simulator.So kindly help me with it....I am newbie to blackberry.. thank you in advance for help..

    Read the article

  • Java, user input to the command line when using Runtime.getRuntime().exec(command);

    - by user1557354
    I dont think this is possible, but I have been using: Process p = Runtime.getRuntime().exec(command); to run commands on the command line, but now I have come accross a situation where the command I am running part way through will ask for some user input, for example a username. This can not be resolved by a argument to the command that is being exec, is there any way I can pass the username to the same command line instance and continue? Thanks in advance.

    Read the article

  • When does the @ become usefull?

    - by DaNieL
    As you know, the @ characters before a php istruction suppress every eventual warning, error or notice from being raised. Personally, i dont like this tecnique, becose i prefer to handle those errors, and in a real life, the error must no happen or have to be managed. By the way, i find this tecnique to be applied in many scripts (cms plugins, open-source classes). So, could the @ really be usefull (in this case, an example would be appreciated), or is just for lazy developers?

    Read the article

  • JDBC resulset total rows

    - by Zeeshan
    I am implementing Paging in my application. For this i run a query and get a resultset. Now i want to get total no of records in this resultset for my paging calculation. How can i get ? i dont want to execute a extra sql which gives me total rows

    Read the article

  • what is the basic role of Ienumerable object in .net?

    - by Shailesh Jaiswal
    I dont know anything about Ienumerable object.what is the role of Ienumarble interface in .net ? Please tell me whether it is in built? Is every class in .net automatically implements the Ienumarable interface ? why there is need to implement the ienumerable interface? what are the methods it contains & what roles they plays. Please explain in detail.

    Read the article

  • how to apply an animation into a triangle(Processing)

    - by dc_ou
    I want to create a simple animation, that can only show in a specific area, such as triange. I already have the animation, a rotating picture. but I dont know how to put it into the triangle. the function texture() can only apply images into a specific area. is there other ways to do that? thx!

    Read the article

< Previous Page | 113 114 115 116 117 118 119 120 121 122 123 124  | Next Page >