Search Results

Search found 8687 results on 348 pages for 'per ersson'.

Page 114/348 | < Previous Page | 110 111 112 113 114 115 116 117 118 119 120 121  | Next Page >

  • Results stored in a session - good idea?

    - by Nick
    To give a bit of background, lets say it's a generic results page, which is paginated so there are X results per page. Generally to do this, I have two queries on the page: to get the total number of results to get the results, limiting by the correct page's resultset However, recently I've been trying to cut down on the queries the site is making, and I thought one way to do this would be to only do the query if any parameters to the page have changed (except of course the page number)? This would then cache all the result id's in a session, which can be sliced when I need to return the correct resultset for that page. I was trying to look around the net to see if there are downsides of this method, but I've found very little information about it. Has anyone done this before? Is it a good idea?

    Read the article

  • If you had the power to remove one thing in your daily job, what would it be?

    - by Pierre 303
    With nearly 60 answers to this question it's highly likely that your answer has already been posted. Please don't post an answer unless you have something new to say This can be a particular task you find not very useful, a manager behavior, your canteen, some security rule you must comply to, tools they want you to use, commuting, schedules, a customer, a technical problem you encouter all the time, anything, ... please be creative ;) One answer per thing. Explain why. Please vote up on other answers if appropriate.

    Read the article

  • Line6 UX1 soundcard and Ubuntu

    - by the_drow
    I own a Line6 UX1 soundcard and I would like to make it work for Ubuntu. I have followed the instructions here and it worked. But at some point I upgraded my kernel version (not sure what uname -a prints but it's related) and it stopped working. Here's what uname -a prints: Linux ubuntu 2.6.32-29-generic 58-Ubuntu SMP Fri Feb 11 20:52:10 UTC 2011 x86_64 GNU/Linux I figured out that maybe it's installed per version so I used svn update and hit make again. My guess was right as it copied the relevant files to the new version's folder. I restarted and still nothing. Should I revert to an older version? Or is there a solution here?

    Read the article

  • How could I manage Google Adsense to approve my Web App? It keeps denying it

    - by Javierfdr
    Google adsense keeps denying my app from having ads, because of an "insufficient content" issue. I manage a Web Application that allows the users to set Youtube Videos as Alarm Clocks. It includes an in-site Youtube search to retrieve videos from user queries and lists the users alarms. The site has a good traffic (500 users per day), is currently promoted by Google in Google Chrome Webstore, and the ajax requests are crawlable, following Google's guidelines (https://developers.google.com/webmasters/ajax-crawling/). Although I understand there is not much content, beyond the user-generated, I really don't what else should I include in the site. Perhaps adding contact and about pages, and maybe another section would increase the navigation. Google argues I need a "fully launched and functioning site, allowing users to navigate throughout your site with a menu, sitemap, or appropiate links". They also ask for "full sentences or paragraphs" Isn't a Google Adsense solutions for Web Applications? Would all the web-apps have to include useless navigable subpages?

    Read the article

  • Thread count in Java game

    - by Taylor Hill
    I'm just curious as to what a reasonable number of threads is for a simple 2D mmo in Java. Is it reasonable to have two threads per connection, one for the input stream and one for the output stream? The reason I ask is because I use a blocking method on the input stream, and a workaround seems unnecessarily complex if I were to try to get around it without adding threads. This is mostly for my own edification; I don't expect to have 5 million people playing it ever, or even 5, but I'm wondering what a good scalable solution is, and if this is reasonable for a small server (<30 connections).

    Read the article

  • should singleton be life-time available or should it be destroyable?

    - by Manoj R
    Should the singleton be designed so that it can be created and destroyed at any time in program or should it be created so that it is available in life-time of program. Which one is best practice? What are the advantages and disadvantages of both? EDIT :- As per the link shared by Mat, the singleton should be static. But then what are the disadvantages of making it destroyable? One advantage is it memory can be saved when it is not useful.

    Read the article

  • Is it only possible to display 64k vertices on the monitor with 16bit?

    - by Aufziehvogel
    I did the first 3D tutorial over at riemers.net and stumbled upon that my graphic card only supports Shader 2.0 (Reach profile in XNA) which means I can only use Int16 to store the indices (triangle to vertex). This means that I can only store 2^16 = 65536 vertices. Also I read on the internet that you should prefer 16-bit over 32-bit because not all hardware (like mine) does support 32-bit. Yet, I am wondering: Do really all game scenes get along with only so little vertices? I though already faces of people used a lot of polygons (which are made up of vertices?). It’s not relevant for me yet, but I am interested: Do game scenes use only 65536 vertices? Do you use some trade-off to display more (e.g. 64k in GPU buffer rest on RAM) Is there some method to get more into the GPU buffer? I already read on some other posts that there seems to be a limit of 64k per mesh too, so maybe you can compact stuff to meshes?

    Read the article

  • Using OpenCl to jiggle the Pipe

    - by TOAOGG
    I've got the Idea to use OpenCL to program a simple Renderer. A clear contra is, that this approach won't benefit from the hardware as the functions on the device (I think). Would it be useful to do this in OpenCL..lets say we want to Cull as early as possible so we won't have many per vertex operations. Is it correct, that Culling is done after the Vertex-Shader? For static-vertecies who won't get effected by the shader it could be interesting to cull them before. Another idea would be an deferred renderer. So the main question is: Would it make sense to program a renderer in OpenCL (aside the effort)? The resulting picture would be drawn in OpenGL.

    Read the article

  • How do I get a Line6 UX1 soundcard to work?

    - by the_drow
    I own a Line6 UX1 soundcard and I would like to make it work for Ubuntu. I have followed the instructions here and it worked. But at some point I upgraded my kernel version (not sure what uname -a prints but it's related) and it stopped working. Here's what uname -a prints: Linux ubuntu 2.6.32-29-generic #58-Ubuntu SMP Fri Feb 11 20:52:10 UTC 2011 x86_64 GNU/Linux I figured out that maybe it's installed per version so I used svn update and hit make again. My guess was right as it copied the relevant files to the new version's folder. I restarted and still nothing. Should I revert to an older version? Or is there a solution here?

    Read the article

  • Archive update fails while upgrading from 10.10 to 11.04

    - by johnsonrichard
    I tried upgrading from Maverick to Natty, but the fetching of packages failed, when I tried to do a partial upgrade. It's displaying fetching complete, but actually it fails and I get following errors: Could not download the upgrades The upgrade has aborted. Please check your Internet connection or installation media and try again. All files downloaded so far are kept. Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_7.10.1~git20110215.cc1636b6-0ubuntu1_i386.deb 404 Not Found I can't post more hyperlinks as per restrictions. Please help, I am relatively new to Ubuntu and am loving it. Thanks in advance!

    Read the article

  • Do Java applets have any place on the web today?

    - by Tom Marthenal
    Many browsers now disable Java applets by default, requiring them to be enabled on a per-page basis. It seems like applets have not changed much in the past few years. In fact, it seems that client-side Java (applets, desktop applications, ...) is dying completely, and Java is primarily becoming a server-side language. Except for the sake of compatibility, is there any place where applets are still useful on today's web? As a web developer who is familiar with Java and with JavaScript, why would I ever choose to use an applet instead of some JavaScript?

    Read the article

  • Is an in-app purchase required to unlock game in order to bypass pirating acceptable?

    - by digitaljoel
    I'm considering writing a mobile game and looking at distribution. The game will have a server requirement, which means I will have to pay for bandwidth, hosting, processor time, etc. Because of that I'll need to make at least a little money off this thing. According to the press piracy is rampant in the android community. To get around this, I'm thinking of implementing a simple model where the game is free, perhaps allowing play for X number of turns or something, and then requiring an in-app purchase to continue to play. I would clearly explain this in the app description, and the in-app purchase would be managed per account so it would be linked to your google play account so you wouldn't have to re-purchase every time you get a new device. Would gamers accept this model or see it as unreasonable?

    Read the article

  • How to get experience in large scale databases?

    - by Justin
    I have written applications that are very small scale and the code I write works fine for them. But I have often wondered how the server side code I write would scale up from 100s of queries per day to millions. Also when looking at possible jobs/projects, people are often looking for developers with experience in this sort of high traffic database design so I would at least like to be able to say, I havent gotten to work on a project that was this popular, but I at least have tried to simulate it. Are there tools or frameworks that can generate a lot of traffic or at least simulate what would happen with traffic on different orders of magnitude so I could get some practice writing optimized code for higher traffic applicaitons?

    Read the article

  • Does tweeting 9 to 5 hurt job applicants?

    - by evadeflow
    If you were looking into a job applicant's background and discovered that he or she has 1200 followers on Twitter and averages 50 tweets per day (more than half of which are during business hours), would it affect your hiring decision? How and why? Personally, I'd be a little worried about the candidate's ability to focus on the job at hand if they're constantly checking in with their 'tweeps' thoughout the day. In non-tech jobs, a lot of companies simply block Twitter as an irrelevant distraction. But it can be a useful resource---to programmers in particular. I just wonder how much is too much. At what point does it become a red flag?

    Read the article

  • USB internet not accessible

    - by Eric
    I'm brand new to ubuntu and linux. We access internet from a usb stick issued by a local telephone company. When I plug the stick into the computer, I see the device listed under internet connections as a mobile broadband device but it is grayed out and inaccessible. I tried to create a new mobile broadband connection but my country (Gabon) is not listed and we have no payment plans per se (we pay from a pre-paid card system).. Any clues as to how I can get the system to recognize the internet connection? Thanks for any help...

    Read the article

  • Optical Character Recognition software recommendations?

    - by Tim
    I have seen some ebooks/papers that were apparently scanned from their paper versions but the text in the ebooks/papers can amazingly be copied out. I suppose the directly-scanned versions must have been processed by some Optical Character Recognition software. So I would like to know what are the recommended Optical Character Recognition softwares? Especially those that are either for Ubuntu or free? If those for Windows are far more superior, please let me know as well. I am particularly interested in those OCRs that can accept a scanned pdf file as input and still produce as output another pdf file that looks the same as the input one but with its text copyable. Thanks and regards! Please limit one software per answer

    Read the article

  • How should I structure a solution for a long term project?

    - by sooprise
    I'm about to create a do-everything dashboard for my team and am still having second thoughts about my project/solution structure. Since this could be a long ongoing project, I want to get the structure right from the beginning. This is what I had in mind: Create a solution named "doEverythingDashboard" Delete the project named "doEverythingDashboard" under the solution "doEverythingDashboard" Create winform project named "interface" Create console applications projects for each functionality of "doEverythingDashboard" Reference each console application in "interface" Does this make any sense? Would it make more sense to just have one project and create a class per functionality instead of an entire project?

    Read the article

  • Do I need multiple accounts in Facebook for each of my product site?

    - by John
    I've a dozen sites which include for-profit ones as well as for charity. For each site I've created a Facebook company/charity account. After creating those accounts it dawned on me that I could as well have created a new page for each of my site from my personal account only even if a site has multiple product pages. What'll be the right strategy? Also as per Facebook terms we can have only single personal account. I do have single personal account only but for each site I've created only company pages. I hope I'm not violating the facebook terms.

    Read the article

  • Toutes les semaines un peu de code pour aller plus loin avec Windows 7, Application Recovery & Restart

    En cette fin d'année, la communauté de Developpez.com s'est alliée avec Microsoft France pour relayer une série de questions / réponses sur le développement Windows 7. A partir d'aujourd'hui, nous poserons une question chaque lundi sur une fonctionnalité propre au développement d'applications Windows 7. La bonne réponse de la question de la semaine sera ensuite dévoilée la semaine suivante avec un exemple de mise en pratique. Êtes-vous prêt à relever le défi ? Pensez-vous bien connaître les possibilités que proposent les API Windows 7 ? C'est ce que nous allons voir dès aujourd'hui, nous attendons vos propositions ! La réponse de la semaine : Quelle est la technologie qui per...

    Read the article

  • Removing a module when I add a new better one?

    - by yinon
    I'm using this guide to install my TL-WN822N (Wireless/Wifi). I need to add 8192cu at the end of /etc/modules, but I see another module there (Copy-Paste file): # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. lp 8192cuvhba vhba Should I remove it or is that unnecessary? Thanks for any help!

    Read the article

  • What WINE packages do I install in 12.04

    - by VedVals
    I have Ubuntu 12.04 64bit. I tried to install WINE in 11.10 but met with some difficulties because of which I removed it. I tried to install Assassin's Creed 1 but turned to be a catastrophe. Now I want to try again. However, I am confused as to which of these packages am I to install, avoiding crashes, clashes, system failures system damage and ensuring running smooth installation of games. I need help regarding compatibility and dependency. I viewed this answer and as per the update & want the latest developing branch.

    Read the article

  • What percentage should a consulting company take off the top of your pay?

    - by JasonStoltz
    Let's say that, hypothetically, a programmer is being paid $40 / hour for a 6 month contract, through a contracting agency. That contracting agency is being paid $85 / hour for every hour that programmer works by the client. So the programmer only actually takes home 47% of what the client is paying per hour. Is this normal, or is the percentage unusually low? Other things to consider: The consulting agency isn't paying benefits P.S (If this is normal, I'd also be curious what the justification would be to take that high of a percentage. And if it is NOT normal, what would be a normal percentage?)

    Read the article

  • Wifi worked after reinstalling the driver, but why did it stopped working in the first place?

    - by Ankit
    I was having an issue with connecting to my wifi router since yesterday; could see the router in the wireless networks available but the router was not authenticating my password. I tried unblocking the hardware switches though non was blocked. Finally on discussing with the ISP i gave a re-installation of the wireless driver a try; and to my surprise that worked.(I was assuming faulty wifi router). So as per the subject of the question; I am very curious to know what actually happened that prevented me to connect to my wifi. Any logs that I could see to confirm the cause of this suspicious activity.

    Read the article

  • How to run 2 X sessions with different display managers?

    - by ved2254
    I read about the virtual terminals a little and that gave me an idea. I searched for a way to have two X sessions simultaneously. I had a look at these sites : 1. How to run multiple user X sessions on the same computer, at the same time? 2. How to drag windows between 2 X servers? I tried startx -- :1 but my earlier terminal (on Ctrl+Alt+F7) hung up. How do I ensure this does not happen? My main need is to get Unity on :0 and Gnome-shell on :1 and switch between them like workspaces. As per 2., switching is not recommended as it is not easy. But if I get at least 1., then I'd be happy. I have Ubuntu 12.04 64bit.

    Read the article

  • Making video from 3D gaphics in OpenGL

    - by MVTC
    What are some of the preferred methods or libraries for creating video from an OpenGL graphics simulation? For example, I want to create a visualization(video) of an N-Body gravity simulation by rendering non-real-time OpenGL frames. The simulation is already coded, I just don't know how to convert it to video. EDIT: I am also interested in providing the described functionality: The user can adjust parameters including the time step between captured frames and then initiate the simulation. The user waits for the simulation to complete, and then can watch the results. The user is able to increase or decrease the playback speed of the simulation whereas in slow motion, more frames are used i.e., you see higher resolution time steps, and when the speed is increased, you see lower resolution time steps at a higher rate, but the frames per second flashing on the screen is constant.

    Read the article

< Previous Page | 110 111 112 113 114 115 116 117 118 119 120 121  | Next Page >