Search Results

Search found 8367 results on 335 pages for 'temporal difference'.

Page 132/335 | < Previous Page | 128 129 130 131 132 133 134 135 136 137 138 139  | Next Page >

  • What techniques can I use to render very large numbers of objects more efficiently in OpenGL?

    - by Luke
    You can think of my application as drawing a very large ball-and-stick diagram (or graph). At times, this graph can get very large, where the number of elements even outnumbers the pixels on the screen. Currently I am simply passing all of my textures (as GL_POINTS) and lines to the graphics card using VBO's. When the number of elements outnumbers the number of pixels, is this the most efficient way to do this? Or should I do some calculations on the CPU side before handing everything over to the GPU? If it matters, I do use GL_DEPTH_TEST and GL_ALPHA_TEST. I do some alpha blending, but probably not enough to make a huge performance difference. My scene can be static at times, but the user has control over a typical arc-ball camera and can pan, rotate, or zoom. It is during these operations that performance degradation is noticeable.

    Read the article

  • Where can I get a definition of how the code is laid out in VB.NET 2010?

    - by ByteWorker
    I am just starting out learning Visual Basic 2010. I have books and videos. The books all seem to be written for people who have some programming experience, even the books that say they are for beginners. The videos were great until they started talking about variables. I got the basics of them but they started into complicated variables and I don’t see the need for them right away. Where can I go to see code for fairly intricate applications written out, with an over lay of definitions of which part of the code is a method as opposed to a class and so on? Also, I am working at a company that does not use SQL. So I need to use Access 2007 for all of my tables. Is there much of a difference to the coding?

    Read the article

  • Do you actually write 'clean code'?

    - by ykombinator
    I have seen some programmers tweaking their code over and over again not only to make it 'work good', but also to make it 'look good'. IMO, 'clean code' is actually a compliment indicating your code is elegant, perfectly understandable and maintainable. And the difference comes out when you have to choose between an aesthetically appealing code vs. code that's stressful to look at. So, how many of you actually write 'clean code'? Is it a good practice? What are the other benefits or drawbacks of this? EDIT: I came across the term 'girl-code' here.

    Read the article

  • "Je suis un ingénieur, pas un compilateur", les questions d'entretiens sont-elles trop orientées vers la maîtrise des instructions et concepts ?

    « Je suis un ingénieur, pas un compilateur » les questions d'entretiens sont-elles trop orientées vers la maitrise des instructions et concepts des langages De nos jours, les offres d'emplois sont de plus en plus orientées vers des langages bien définis. Conséquence : les questions d'entretiens abordent beaucoup plus les aspects liés aux concepts du langage. C'est en tout cas le constat d'un développeur au pseudo de clements, dans un billet de blog intitulé « je suis un ingénieur, pas un compilateur ». Celui-ci s'est rendu compte lors de plusieurs entretiens que des questions standards comme : qu'est-ce que le polymorphisme ? Quelle est la différence entre « List » et « S...

    Read the article

  • Why does Windows 7 overall performance is better than Ubuntu 11.10?

    - by user37805
    I have a i7 2600 processor, 8Gb DDR3 ram, nVidia GTX570, and Ubuntu takes 45-50 seconds to boot and 32-35 seconds to power off, while windows 7 boots in 20-25 seconds and shuts down in 10 seconds. Both OS with autologin enabled, and in dual boot. Ubuntu is slow with preload too, and doesn't show any boot splash after installing drivers and didn't recognize my nVidia graphics card on jockey GTK, I had to add x swat repository and that didn't worked. I installed proprietary drivers through terminal (nvidia-common, nvidia-settings) in order to have 3d acceleration. But it doesn't make any difference on the speed. I also have a Pentium 4 PC and ubuntu 11.10 is way faster than windows 7 or XP. Also with nvidia graphics card and preload. http://paste.ubuntu.com/924890/ there is my boot script, sorry but some words are in Spanish because my ubuntu is in Spanish. Not using WUBI, Ubuntu has its own partition, 64-bits, and Matlab 2011 has very low performance compared to windows version.

    Read the article

  • ubuntu 12.04: Why my laptop is consuming more power than 11.10?

    - by sanz
    I had 11.10 X86 on my Asus laptop (sandybridge, Nvidia 520M). I had 8 hours' battery life with Bumblebee and Jupiter. Average battery discharge rate was around 10w. Later I changed, not upgraded, to 12.04.1 AMD64. I installed Jupiter. But there is no "restricted drivers" available so I guess Bumblebee will not work. So I removed nvidia drivers. Now I only get 4 hours' battery life. Average battery discharge rate is around 19w. The removal of nvidia driver did not make any difference. What's the cause? Nvidia video card not disabled or 64b version of Ubuntu?

    Read the article

  • ACPI Events not triggered after booting

    - by user3208188
    I purchased a Convertible (Laptop and Tablet, Ubuntu 14.04 installed) and would like to execute a script when changing from laptop to tablet mode and the other way around. So I created two new files within the /etc/acpi/events folder corresponding to two new scripts in the /etc/acpi folder. Everything works well if I create a new acpid process (e.g "sudo acpid -c /etc/acpi/events -s /var/run/acpid.socket") manually. However, if I do not initiate this process manually the scripts are not executed, even though there is a process running with the same options right after the machine has booted by default. The only difference I can find is the parent pid. If I create the process the parent is "init --user", while the parent of the automatically initiated process is "/sbin/init". Can anyone help me by explaining why this issue happens and how I can avoid to start an acpid process manually every time I boot the device?

    Read the article

  • Oracle Linux sort en version 6.3 : améliorations du système de fichiers Btrfs, des performances et optimisations du Kernel

    Oracle Linux sort en version 6.3 améliorations du système de fichiers Btrfs, des performances et optimisations du Kernel Oracle a publié récemment la version 6.3 de son système d'exploitation Oracle Linux. Créée à partir du clonage des sources de la distribution Red Hat Enterprise Linux (RHEL), cette mouture contient toutes les améliorations et nouveautés de RHEL 6.3. La plus grande différence entre Oracle Linux 6.3 et RHEL 6.3 est l'utilisation du noyau optimisé 2.6.39, qui dispose de plusieurs améliorations et corrections par rapport à l'original, et l'installation par défaut de « Unbreakable Enterprise Kernel 3.0.16 ». Oracle Linux 6.3 propose également la mise à jour de plusi...

    Read the article

  • How do I edit keyboard preferences from the command line?

    - by jumpnett
    I want to swap the Caps Lock and Escape key as specified in this answer: Use the keyboard preferences to swap Caps Lock and Escape - seriously, how often do you use Caps Lock? Using vim you will be using Escape all the time, and having it available on the home row makes a huge difference. With the standard Ubuntu desktop, go through the menus: System - Preferences - Keyboard - Layouts tab. Then hit the "Layout Options" button, click on the triangle next to "Caps Lock key behaviour" and select "Swap ESC and CapsLock". but, I'm using Ubuntu Server with no gui, so how would I do this from the command line?

    Read the article

  • Should we use python 2.6 or 2.7 or 3.x?

    - by lamwaiman1988
    The version of python which I am using is 2.6, and there is a 2.7 and 3.x. Usually I use python for some trivial program/snippet. I realize there are some major difference between 2.x and 3.x. I would really like to know, if I am going to make a bigger project with python, which version of python should I use? Should I upgrade to 2.7, or go to 3.x or stay with 2.6? The decision should be based on these terms: Number of user in the internet as a community. More users mean more open-source package and help from them. Functionality. Support from official development team. Compatibility for existing module/package. Thanks!

    Read the article

  • Error [9783] Support for cores revisions 0x17 and 0x18 disabled by module

    - by iamzarnywoop
    At start up after my dell BIOS load i get the puprle screen and then a black screen and this at the top "[9783] Support for cores revisions 0x17 and 0x18 disabled by module... " sorry i think there's more to it and that's probably crucial but it goes SO fast sometimes and sometimes slower... I just wiped my laptop and installed 13.10 over it and ticked LVM at installation and log in automatically, idk if that would make a difference here... Any way i found someone else on Arch Linux had the same problem but I don't know how to solve it. https://bbs.archlinux.org/viewtopic.php?id=170588 Anyone know what this might be? Please help, new user..

    Read the article

  • How to run CLI commands from the launcher?

    - by user50849
    I press ALT+F2 key on my keyboard, and get the launcher HUD up. From there I enter a command as I would in a shell, specifically vlc ~/Music/* -Z. If done from a shell, vlc starts and begins to play music. However, when done from the launcher, VLC replies: File reading failed: VLC could not open the file "/home/[username]/Music/*". (No such file or directory) user Your input can't be opened: VLC is unable to open the MRL 'file:///home/[username]/Music/%2A'. Check the log for details. I can't quite figure out what the difference is.

    Read the article

  • What videoconferencing platforms work best for distributed software development teams?

    - by user11347
    Today I had a religious experience: I participated in a videoconference using a high quality Polycom system. This made a huge difference in communication quality -- people that I had a terrible time understanding previously now sounded like Shakespeare. Seeing a high quality video image was enormously helpful. I asked operations how much the Polycom cost and they said that it cost $20K new and $4K off eBay. So this solution doesn't work for people who work from home or who work in offices but are in groups of 3 or fewer people. My budget for a videoconferencing system is a few hundred dollars per person. Skype is not nearly good enough. And I haven't seen a consumer webcam that is good enough either. Does such a solution exist? I'm looking to collaborate both with people who are close by (in the same city but not in the same room) and far away (on different continents).

    Read the article

  • Strange problem of wifi keeps droping every minute on Ubuntu 12.04

    - by user965884
    I am running ubuntu 12.04 on my samsung laptop but the wifi connection keeps dropping every minute. I have another dell laptop which also has ubuntu 12.04 but wifi works fine on that. And if I use my samsung laptop at office as its my office laptop wifi works fine. So, I don't understand what the problem is. I have googled it and found solution like set ignoring IPv6 setting but that still does not make any difference. So I don't understand where the problem is if its with my network provider or its with my laptop. I can't blame my network provider as wifi works fine on my other devices including Ipad, mobiles and dell laptop. Even I can't say clearly that its problem with my laptop as wifi works fine in my office. Previously I had ubuntu 13.04 on my samsung laptop and I was having the same issue so I uninstall it and install 12.04 and issues is still the same.

    Read the article

  • Le Web bientôt doté d'un nouveau langage ? CAS s'inspire du CSS pour proposer une définition des attributs des balises HTML dans une feuille

    Le Web bientôt doté d'un nouveau langage ? CAS s'inspire du CSS pour proposer une définition des attributs des balises HTML dans une feuille Tab Atkins Jr, un représentant de Google au sein du W3C (World Wide Web Consortium) vient de proposer à l'organisme un nouveau langage de script pour normalisation. Le langage CAS pour Cascading Attribute Sheets s'inspire grandement du CSS (Cascading Style Sheets), à la différence qu'il est basé sur un concept d'attributs HTML. L'idée de base autour de ce nouveau langage est que tout comme avec le CSS, les développeurs pourront définir dans un fichier des attributs pour les balises HTML, qui seront directement appliqués à l'ensemble ...

    Read the article

  • can't chmod on external hard disk?

    - by G. He
    I have an USB3.0 external hard disk, partitioned to 3 NTFS partitions. When I plug the hard disk in, the 3 partitions automatically mounted under /media. So far so good. I can read and write to files, or mkdir, etc on these partitions. But I can't do chmod/chown on any of the files/directories on these partitions. The owner:group always myself, and the mode are always 700 for directories and 600 for files. I have another partition on internal harddisk also mounted. That partition works fine. I looked the output of mount command, the only difference between mount options is that there is one extra 'default_permissions' on the external hard disks. Anyway I can set the owner:group and mode on these files and directories.

    Read the article

  • Should I try to write simple key-value storage by myself?

    - by shabunc
    I need a key-value storage in a simplest form we can think of. Keys should be some fixed-length strings, values should be some texts. This key-value storage should have an HTTP-backed API. That's basically it. As you can see, there is no big difference between such storage and some web application with some upload functionality. The thing is - it'll take few hours (including tests and coffee drinking) to write something like this. "Something like this" will be fully under my control and can be tuned on demand. Should I, in this specific case, not try to reinvent bicycles? Is it better to use some of existing NoSQL solutions. If yes, which one exactly? If, say, I'd needed something SQL-like, I won't ask and won't try to write something by myself. But with NoSQL I just don't know what is adequate and what is not.

    Read the article

  • D'après-vous, quels sont les smartphones les plus réussis sous Android ? Participez à notre sondage

    D'après-vous, quels sont les smartphones les plus réussis sous Android ? Participez à notre sondage La fragmentation d'Android est un problème délicat pour les développeurs. D'autant plus qu'il est double : des versions de l'OS pour smartphones d'un coté et pour tablettes de l'autre, et des versions différentes de l'OS au sein de chaque catégorie. A cette complexité s'en ajoute une autre (contrairement à iOS) : la diversité des hardwares. Dont la première pour les développeurs est la différence des tailles d'écran. Enfin (contrairement à Windows Phone dont l'UI (Metro) n'est pas modifiable par les constructeurs), Android permet à chaque industriel de personnaliser l'interfa...

    Read the article

  • Does Dropbox use a cronjob to sync up?

    - by Yko
    I was looking into lipsync on a Dropbox clone. I was looking at the diagram on how it works here. It shows that a cronjob is used to keep files in sync between client and server. Does that mean that every sec/min/hour, a cronjob runs and checks to see if there is a difference between client and server? Is that how Dropbox does it? If it does use a cronjob, what happens when you are in the middle of syncing and another cronjob runs? Does rsync (or additional libs) know how to handle this?

    Read the article

  • Why did I have to remove resolvconf to get dnsmasq to work again?

    - by lightxx
    Yesterday I upgraded to Precise and dnsmasq stopped working. That is, DNS queries to localhost were dnsmasq is listening (127.0.0.1) were refused. Removing resolvconf (apt-get remove resolvconf) and rebooting solved the issue (found that suggestion somewhere on Google). /etc/resolv.conf looked fine with and without resolvconf in place. No difference at all. Why would I use resolvconf? Are there any benefits? The Wikipedia article covering resolvconf sucks. Why did resolvconf interfere with dnsmasq? Is this a known issue?

    Read the article

  • ASUS VX-6 Laptop Wireless not connecting

    - by user2152790
    Someone posted a script a couple days ago, here is my output.Pastebin I can see wifi SSIDs in network, but cannot connect to mine. The only time wifi worked on 13.10 was in the Live CD, but wifi stopped working as soon as install process started. Did below but made no difference. sudo apt-get install bcmwl-kernel-source sudo modprobe -rv brcmsmac sudo modprobe -v wl What I do next? I tried Software&Updates and it showed 1 proprietary driver in use. This sounds like a WPA/WPA2 issue? Wifi works when I tried Zorin OS 7.1, wifi always worked in windows 7.

    Read the article

  • What's involved in resetting the graphics device?

    - by Donutz
    I'm playing with XNA 4.0, VS2010. I've created a window (not maximized) and drawn some sprites. All is good until I resize the window, after which the sprites stop displaying or only partially display. I'm pretty sure it has something to do with needing to reset the device or something, but can't find any clear instructions or sample code. It's not just a case of needing to increase the preferredbackbuffer size, because even if I shrink the window I get this symptom. I've looked at the source code that I was able to get from Microsoft before they shut down XNA, but it doesn't actually explain anything. Any help or advice? If it makes any difference I'm creating DrawableGameComponents and doing my updates and drawing in their Draw/Update routines.

    Read the article

  • Can I set command line executed games to open in a window instead of fullscreen?

    - by ajwhitaker822
    I really enjoy some of the free Linux games and just downloaded Cave Story, one of my all-time favorites. However, I can only play the game in full screen, 800X600 Resolution. I was wondering if I could run this program in a window instead of full screen. Is there a command or Unity plugin to do this? Also, would the same work to run SuperTux in a window as well? I'm running 12.04 if that makes any difference. Thanks for your help.

    Read the article

  • Dual boot (Win 7 & Ubuntu 13.10 clock problem

    - by peter
    I'm a "newbie" to Ubuntu, but I've been wrestling with this problem for several hours and don't seem to be able to solve it: When I set the time in Windows (Indianapolis, Eastern U.S. time zone) and then re-boot to Ubuntu, the computer time goes to Hawaiian time. When the time is set in Ubuntu, and the computer is rebooted to Windows the time is advanced by 5 hours. I've set the time in the BIOS, and it seems to make no difference. I've tried setting the time from "automatic" to "manual", all with the same result. Not a big problem, but it shows some underlying glitch. Could anyone explain?

    Read the article

  • Can a high FPS negatively affect how a program runs?

    - by rphello101
    Yeah I know this is a broad question and will get down rated, I'm just hoping for some answer before it gets closed. Anyway, I'm using Slick 2D/Java to play around with graphics. I'm having some trouble with trying to move an image. The weird thing is, the code works just fine on my laptop, but the image sporadically moves to (0,0) and stops on my desktop. The only difference between the two is that it says the FPS is about 500 on my laptop and 6600 on my desktop. Can that affect it or does someone have any ideas for what to check on?

    Read the article

< Previous Page | 128 129 130 131 132 133 134 135 136 137 138 139  | Next Page >