Search Results

Search found 19796 results on 792 pages for 'bit twiddler'.

Page 263/792 | < Previous Page | 259 260 261 262 263 264 265 266 267 268 269 270  | Next Page >

  • Shared memory multiprocesses

    - by poly
    I'm building an multi processes application and I need to save session ID, the sessions ID is 32 bit, and of course it can't be used twice in its lifetime, I'm currently using DB that saves all the ID in a table, and I do the following, ID table is (int key, char used(1)) //1 is used, 0 is not 1. lock table 2. get one key for one sessions 3. update used field in it to used 4. unlock After the session is finished the process use below to free key, 1. lock table 2. update used field in it to not used 4. unlock I'm really wondering whether this is a good/fast implementation. and please note it's multi processes application.

    Read the article

  • Black screen with blinking cursor after dual boot install 14.04

    - by chillstream
    I have just installed Ubuntu 14.04 on my toshiba laptop along side Windows 7. When the menu comes up to choose which OS to boot into, I can easily boot into Windows 7. I cannot successfully boot into Ubuntu. All I get is a blinking cursor on a black/purple screen. I attempted the nomodeset trick, which was a bit more successful. I got a screen with a lot of code, but then it stopped with a blinking cursor at the bottom and wouldn't load anymore. As a last resort, would returning my laptop to factory settings get rid of linux and the partitions made to the drive? I already did this to my laptop when it was just windows, which is why I thought I might as well try to add Ubuntu. But it's a lengthy process, and if it won't get rid of the partitions and ubuntu, I won't bother. I appreciate any help ~many thanks

    Read the article

  • Can I publish my game code under GPL? How? What about an engine?

    - by Bane
    I made a game, and I am currently making a game engine. I want them both to be completely free and open source. What license should I choose? I was reading a bit on GPL, but that seems to be more suited for system code and libraries, AFAIK, as it doesn't permit the use of code for proprietorial software - which, in turn, implies that the code can be used in the first place. I can see that, obviously, game engines can be considered libraries, and therefor be used, but what about game code? Is there an alternative to GPL?

    Read the article

  • What are the challenges and benefits of writing games with a functional language?

    - by McMuttons
    While I know that functional languages aren't the most commonly used for game writing, there are a lot of benefits associate with them that seem like they would be interesting in any programming context. Especially the ease of parallelization I would think could be very useful as focus is moving toward more and more processors. Also, with F# as a new member of the .NET family, it can be used directly with XNA, for example, which lowers the threshold quite a bit, as opposed to going with LISP, Haskell, Erlang, etc. If anyone has experience writing games with functional code, what has turned out to be the positives and negatives? What was it suited for, what not? Edit: Finding it hard to decide that there's a single good answer for this, so it's probably better suited as a community wiki post.

    Read the article

  • How To Sideload Modern Apps on Windows 8

    - by Chris Hoffman
    The average Windows 8 user can only download apps that Microsoft has approved from the Windows Store. Windows 8 offers two ways to sideload unapproved apps, which are intended for developers and businesses with internal apps. These methods cannot be used by the average geek to install unapproved apps from the web. Windows 8’s new interface takes the Apple iOS approach of forbidding unapproved software, not the Android approach of allowing all users to enable sideloading. Note: This only applies to Modern apps in the new Windows 8 interface, not on the desktop. Windows desktop applications can be installed normally. However, you can’t install any desktop applications on devices running Windows RT. Why Does 64-Bit Windows Need a Separate “Program Files (x86)” Folder? Why Your Android Phone Isn’t Getting Operating System Updates and What You Can Do About It How To Delete, Move, or Rename Locked Files in Windows

    Read the article

  • configuring separate X screens instead of TwinView

    - by fimre
    My Sony Vaio laptop is connected to an external Samsung monitor and my nVidia driver is configured in TwinView mode. Everything is OK with this, however, I can not adjust my displays individually so at the moment my external display is a little bit darker which disturbs me a lot. I tried the Separate X Screen mode but after restart, my laptop display was white with a black x sign mouse pointer and the external display normal desktop. Is it a bug or something I missed? The idea is that using Separate X Screen mode, I could adjust my displays individually. I would really appreciate someone would guide me out of this situation. Thanx in adv..

    Read the article

  • Why isn't Chrome rendering images and fonts correctly?

    - by user287558
    I have an Acer monitor and an Intel Pentium 4 running 12.04 32-bit. Chrome renders all webpages like this: This is how CNN should look: I have Firefox installed and its images/fonts look fine. I am new to Ubuntu and comfortable with using Terminal. Beyond that, I have no idea what I'm doing. This happened all of a sudden a few weeks ago. Any suggestions would be very much appreciated. Thanks in advance.

    Read the article

  • Not your typical Permission Denied Question

    - by Todd
    I recently reinstalled Ubuntu 11.10 (64 Bit) on my computer. (My hard drive took a powder) Before, I could "mv" files around with the command. Now when I try I get the permission denied message. I also get the message about "man sudo" when I open my terminal. I am pretty sure I did not get that before. Can I add a user/administrator and change something in my orginal admin that I cannot change myself? I am getting really frustrated with this. I do not recall having the same problem before. I tried qksudo nautilus and it appears to run then it sits there with the cursor blinking but does not move.

    Read the article

  • Chessin's principles of RAS design

    - by user12608173
    In late 2001 I developed an internal talk on designing hardware for easier error injection, prevention, diagnosis, and correction. (This talk became the basis for my paper on injecting errors for fun and profit.) In that talk (but not in the paper), I articulated 10 principles of RAS design, which I list for you here: Protect everything Correct where you can Detect where you can't Where protection not feasible (e.g., ALUs), duplicate and compare Report everything; never throw away RAS information Allow non-destructive inspection (logging/scrubbing) Allow non-destructive alteration (injection) (that is, only change the bits you want changed, and leave everything else as is) Allow observation of all the bits as they are (logging) Allow alteration of any particular bit or combination of bits (injection) Document everything Of course, it isn't always feasible to follow these rules completely all the time, but I put them out there as a starting point.

    Read the article

  • nicstat update - version 1.92

    - by user12608033
    Another minor nicstat release is now available. Changes for Version 1.92, October 2012 Common Added "-M" option to change throughput statistics to Mbps (Megabits per second). Suggestion from Darren Todd. Fixed bugs with printing extended parseable format (-xp) Fixed man page's description of extended parseable output. Solaris Fixed memory leak associated with g_getif_list Add 2nd argument to dladm_open() for Solaris 11.1 Modify nicstat.sh to handle Solaris 11.1 Linux Modify nicstat.sh to see "x86_64" cputype as "i386". All Linux binaries are built as 32-bit, so we do not need to differentiate these two cpu types. Availability nicstat source and binaries are available from sourceforge. History For more history on nicstat, see my earlier entry

    Read the article

  • No sound/audio after resuming from sleep

    - by hansvonaachen
    I've made a fresh UEFI install of Ubuntu 13.10 (64 bit) on a Lenovo Ideapad Z510 laptop with Intel i5 4200M processor. Ubuntu is the only OS installed on the computer, secure boot disabled. Everythings works fine (backlight issue fixed after editing rc.local file), the only minor trouble I have is resuming the laptop from "sleep" mode. If I close the lid and then wake the laptop opening it again, there is no audio/sound. I need to restart the computer (not even logging out helps). If I suspend the computer in a graphical way (not closing the lid): gearwheel in top right of the screen -- suspend and wake it up/turning on, audio works with no issues. Ideas how to fix this? Thanks!

    Read the article

  • At what point asynchronous reading of disk I/O is more efficient than synchronous?

    - by blesh
    Assuming there is some bit of code that reads files for multiple consumers, and the files are of any arbitrary size: At what size does it become more efficient to read the file asynchronously? Or to put it another way, how small must a file be for it to be faster just to read it synchronously? I've noticed (and perhaps I'm incorrect) that when reading very small files, it takes longer to read them asynchronously than synchronously (in particular with .NET). I'm assuming this has to do with set up time for things like I/O Completion Ports, threads, etc. Is there any rule of thumb to help out here? Or is it dependent on the system and the environment?

    Read the article

  • Is it possible to procedurally place objects in a non-gridded game?

    - by nickbadal
    I'd like to implement procedural world generation, but I don't want it to look gridded or blocky, where everything is obviously placed on an integer grid. I know that you can do this in gridded worlds by inputting a square's x and y into a noise function, or similar, but is it possible to generate a more natural looking object placement using procedural methods? This is in the context of an adventure game, if it matters. Edit: I guess I should have been a bit more clear in my original question, but I'm mostly wondering about the actual placement of objects in game, e.g. trees, buildings.

    Read the article

  • Algorithm for Learning development

    - by user9057
    Hi all, This is a fairly general question. I know a bit of Perl and Python and I am looking to learn programming in more depth so that once I get the hang of it I can start developing applications and then websites. I would like to know of an algorithm (sequence of steps :)) that could describe my approach towards learning programming in general. I have posted small questions on Perl/Python and I have recieved great help from everyone. Note:- I am not in a hurry to learn. I know it takes time and that's fine. Please give any suggestions you think are valid. Also, please don't push me to learn Lisp, Haskell etc - I am a beginner.

    Read the article

  • Why can't I update to 11.04?

    - by user285982
    I am using Ubuntu 10.10 64 bit, and I can browse the internet fine. I am typing this using the machine. When I attempt to use the Ubuntu Update Manager to update to 11.04, I get this error message: Failed to Fetch Fetching the upgrade failed.There may be a network problem. And when I try to change servers, here is what I get: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz 404 Not Found [IP: 91.189.91.15 80] It repeats with other lines, 404 not found. Some index files failed to download, they have been ignored, or old ones used instead. Any ideas?

    Read the article

  • How to choose a good namespace name? [Linguistically]

    - by Kees C. Bakker
    English in not my native language, therefore it is a little more difficult to pick a good name for a namespace. One example to make you see my problem a bit better: We have a set of classes that have to do with the way a company is organized (we can create organizational charts with it). Currently the namespace is CFW.CoreSystem.Organizational. Is this a good name? What is linguistically the best way to name a namespace? (CFW.CoreSystem.Configuration is better than CFW.CoreSystem.Configurables). [Moved it from StackOverflow]

    Read the article

  • SSRS optional parameters settings

    - by Natasa Gavrilovic
    Recently I had to create couple SQL Server Reports (SSRS) with optional parameters built in. It took me a while to refresh memory how this can be done. It was very simple to create reports and processes behind, but connecting these two were are little bit challenging – stored procedure was tested and worked fine, but when the report was passing optional parameters it didn’t returned expected results. After tweaking SQL stored procedures and reports parameter options, the following approach turn to be the winning one. 1) Defining report parameters: From Menu bar select ‘View’ and ‘Report Data’ Newly open window should have ‘Parameters’ folder display Right click on this folder and select ‘Add new parameter...’                             Default values need to be added from a query                 A query values need to include ‘’ (empty string) – as highlighted                   2) SQL stored procedure should have CASE statements inside WHERE and it was the only way that a report was getting correct results back.

    Read the article

  • What Does It Usually Mean for a Feature to be "Supported"?

    - by joshin4colours
    I'm currently working some testing for a particular area of an application. I had to write some automated tests for a particular feature but due to the circumstances, this was not easy to do. When I asked one of the other testers about it, he mentioned that the same features exist in a sister application our company produces but isn't documented anywhere (end-user documentation or otherwise). He also said that the feature doesn't typically get tested at all in the sister application and isn't usually tested in the application I work on. Apparently this feature isn't heavily used but removing it would require a fair bit of work so the benefit-cost ratio doesn't work out. All of this has left me with some questions. Other than "The documentation says so" or "We told the client it is", what usually makes a feature "supported" versus an unsupported feature?

    Read the article

  • Question between aggregations, compositions, references (arrow) and simple link (nothing) relations within UML2 ?

    - by Rushino
    Hello, I have some questions regarding relations between aggregations, compositions, references (arrow) and simple link (nothing) relations within UML2 ? If A - B - C each have composition relationship. Are the root responsable of creation and destruction of the object B and C ? What aggregations have that the simple link or references doesn't ? What make them different ? Thanks. Edit: The question was a bit unclear and not objective. I edited it.

    Read the article

  • Silverlight 4 enables Authorization header modification

    A little bit of hidden gem in the Silverlight 4 release is the ability to modify the Authorization header in network calls. For most, the sheer ability to leverage network credentials in the networking stack will be enough. But there are times when you may be working with an API that requires something other than basic authentication, but uses the Authorization HTTP header. The Details Basically you just set the header value. Hows that for details :-). Seriously though, heres a snippet of code:...Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.

    Read the article

  • And just like that, there went February

    - by Enrique Lima
    The best intentions were having me at perhaps posting more than twice a month, and here we are and … well it has been busy. There has been a lot of SharePoint 2010 already in this first number of weeks of the year, a good amount of TFS 2010, but even better working quite actively on two topics that I enjoy quite a bit … Windows Azure and Application Lifecycle Management.  And there is more to come around those two. Through the influencers program with Geekswithblogs and Discountasp.net I got access to a hosted TFS solution that I am currently testing and will be posting my findings and documenting a good amount of information on that process. Another great resource has been fpweb.net, and there will be more details on this too.  Pretty exciting stuff! That is what is going on and what will be coming on here shortly.

    Read the article

  • Second click on a launcher icon with more than one window open doesn't do a scale of that application

    - by Eastsun
    In unity, if I click an icon in the launcher with multiple windows open it doesn't show me all open windows for that application. However, this works in unity2d. I known there have a same question asked before: here! But I think my condition is not as same as the previous question. ubuntu 12.04 64-bit unity 5.16.0 kernel linux 3.2.0-33-generic gnome 3.4.2 Edit I just find a interest thing: There are four workspace, label it as A, B, C, D. If I firstly open two windows of firefox in A, as I mentioned above, second click on the firefox icon does nothing. But after I open a window of firefox in B, the second click on the firefox icon in workspace A magically works!! And then, I open two terminal in workspace C, second click doesnot work until I open another terminal window in D. So, it seems that the second click only work if the application be opened more than one workspace.

    Read the article

  • Algorithm for Learning development

    - by user9057
    This is a fairly general question. I know a bit of Perl and Python and I am looking to learn programming in more depth so that once I get the hang of it I can start developing applications and then websites. I would like to know of an algorithm (sequence of steps :)) that could describe my approach towards learning programming in general. I have posted small questions on Perl/Python and I have recieved great help from everyone. Note:- I am not in a hurry to learn. I know it takes time and that's fine. Please give any suggestions you think are valid. Also, please don't push me to learn Lisp, Haskell etc - I am a beginner.

    Read the article

  • hypertext for research notes [closed]

    - by user967543
    I keep lots of notes as I work - code snippets, TODO lists, account details, links, comments. I currently use plain text files for this - very simple and robust but a bit last-century. I would like features similar to HTML - e.g. to embed pictures, formatting, and crucially hyperlinks within my notes. One particular use-case is an implementation of Getting Things Done - more or less, a collection of hierarchical TODO lists, which I'd implement with hyperlinks between tasks. Most WYSIWYG HTML editors seem to be aimed at web designers, creating beautiful pages for professional websites. Is there a simple tool / editor more appropriate for how I want to use it? (or advice from anyone doing the same)

    Read the article

  • Two users sharing the same computer

    - by Pitto
    I need to share my pc with a friend of mine living in India. His pc is a p4 and he needs a bit of horsepower for calculation. Since I have an i5 I thought to let him vnc and use it but this would not allow me to use the computer at the same time. Is there a way to use the computer at the same time with different users? I've read Xorg is able to do this but I am not sure is the best solution nor I can implement it. We have Ubuntu 12.04 64bit on the i5 side and Ubuntu 12.04 32bit on the p4 side. Thank you for your kind help.

    Read the article

< Previous Page | 259 260 261 262 263 264 265 266 267 268 269 270  | Next Page >