Search Results

Search found 3942 results on 158 pages for 'stick it to the man'.

Page 58/158 | < Previous Page | 54 55 56 57 58 59 60 61 62 63 64 65  | Next Page >

  • Is NTFS-3G safe for writing?

    - by katrmr
    These days, I have to use the NTFS-3G driver to write to an NTFS drive (which will later be used in Windows). But I still remember the olde times of Linux ntfs driver which clearly said in the docs: 'If you write to an ntfs volume, run our special program afterwards which will clean up the damage done.' So, I read through the man, the docs, the Tuxera site and Askubuntu and found no discussion of the write-safety of NTFS-3G. The only thing that was mentioned somewhere is that the driver doesn't support the NTFS journal. So, the question is, can I use NTFS-3G and be sure that I will later read what I have written to the files? Won't, for example, Windows find the journal entries missing and 'clean up' the data according to its own faulty understanding?

    Read the article

  • Visitor-pattern vs inheritance for rendering

    - by akaltar
    I have a game engine that currently uses inheritance to provide a generic interface to do rendering: class renderable { public: void render(); }; Each class calls the gl_* functions itself, this makes the code hard to optimize and hard to implement something like setting the quality of rendering: class sphere : public renderable { public: void render() { glDrawElements(...); } }; I was thinking about implementing a system where I would create a Renderer class that would render my objects: class sphere { void render( renderer* r ) { r->renderme( *this ); } }; class renderer { renderme( sphere& sphere ) { // magically get render resources here // magically render a sphere here } }; My main problem is where should I store the VBOs and where should I Create them when using this method? Should I even use this approach or stick to the current one, perhaps something else? PS: I already asked this question on SO but got no proper answers.

    Read the article

  • Modern workflow / project architecture with PHP

    - by Sprottenwels
    I wonder how one professional developer would design the backend-part of his application. I try to use PHP as seldom as possible and only for data serving/saving purposes. To do so, i would create a module/class for every greater part of my application, then write some single script files which are called by javascript. E.g: User clicks a "retrieve data" button javascript will call retrieveData.php retrieveData.php will create an instance of the needed class, then executes myInstance-retrieve() the data is returned to my JS by retrieveData.php However, i see some disadvantages in this practice: I will need a single scipt file for every action, (e.g retrieveData.php, saveData.php etc) I need a man-in-the-middle step: from JS to my single script, to my classes How are modern applications designed to accomplish what i need to do?

    Read the article

  • How to achieve excellence in iOS Development? [on hold]

    - by Ashish Pisey
    I have been developing iOS apps for six months now and every day i find something new and exciting to learn. i feel blessed with apple docs and 3rd party APIs.I have four apps on the App Store.i have tried almost all the basic core features of iOS except core-data. MY recent interests are dynamic UI,physics(sprite kit) and social apps.As i feel lost in vast pool of knowledge,i would like to know from you expert iOS developers, what particular features should i concentrate on for the future? should i try opengl-es for 3d gaming for 64 bit processors or stick to basic 2d physics gaming for some time or the evergreen social apps category ? appreciate your help, thanx

    Read the article

  • Creating an Interface To a Language's Standard Library?

    - by Nathan Arthur
    In the process of learning test-driven development, I've been introduced to dependency injection and the use of interfaces, and have started using these concepts in my own PHP code in order to make it more testable. There have been times when I've needed to test code that was doing things like calling the PHP time() function. In order to make these tests predictable, it seemed logical to create an interface to the standard PHP functions I use so that I can mock them out in my tests. Is this good software design? What are the pros and cons of doing this? I've found myself groaning at how quickly my PHP interface can stick its fingers into everything I do. Is there a better way to make code that relies on PHP-accessed state and functions more testable?

    Read the article

  • Somebody please help me, desperate... please

    - by Beast
    I followed a friend's advice and am using Ubuntu, and was enjoying it. I began to get system errors, tried to fix to no avail. It won't let me download anything to Ubuntu, saying unauthorized or untrusted software, or something. NOW MY CD DRIVE doesn't work! So I can't boot dban or anything via cd. Finally I bought a usb stick but it won't boot dban or anything. I'm about to just smash this with a hammer. Help me start over.

    Read the article

  • how to download and install from the internet >> skype and realplayer

    - by ADAM
    i had corrupted win7 by dead blue screen and stopped rebooting or installing or safe mode. just death i installed linux unubtu one i still unable to install my wireless stick modem for surfing internet wirelessly form my provider vividwireless i don't know where or how to download porg and app from the net like real player and skype and others and to intall them. even i cannot find them after download. can i revive and reboot or fix my dead win7 os from linux. i can connect internet from wireless network in the neighborhood linksys!! what is linksys anyway? how to use linux ubuntu same way like windows? ie. insalling, using cd rom for installation and downloading and cleaning history and cache and system restore? please email me to: [email protected] any help..step by step many thanks

    Read the article

  • What is the future of XNA in Windows 8 or how will manged games be developed in Windows 8?

    - by Ken
    I know this is a potential dupe of this question, but the last answer there was 18 months ago and a lot has happened since. There seems to be some uncertainty about XNA in Windows 8. Specifically, Windows 8 by default uses the Metro interface, which is not supported by XNA. Also the Windows 8 store will not stock non-metro apps, so it will not stock XNA apps. Should we stick with XNA or does Microsoft want us to move to a different framework for managed game development in Windows 8? Edit: As pointed out in one of the comments, Windows 8 will be able to run XNA games in a backward compatibility mode. But that smells of deprecation.

    Read the article

  • How to build completely modular web applications

    - by Webnet
    In the coming months we're going to begin a project where we take a system we've built for a client (v1) and rebuild it from scratch. Our goal with v2 is to make it modular, so that this specific client will have their own set of modules they use, then another client may use a different set of modules altogether. The trick here is that Company A might have a series of checkout and user modules that change how that system works. Company B might stick with the standard checkout procedure but customize how products are browsed. What are some good approaches to application architecture when you're building an application from scratch that you want to have a Core that's shared among all clients while still maintaining the flexability for anything to be modified specifically for a client? I've seen CodeIgniter's hooks and don't think that's a good solution as we could end up with 250 hooks and it's still not flexible enough. What are some other solutions? Ideally we won't need to draw a line in the sand.

    Read the article

  • How can I implement full disk encryption for a disk containing Ubuntu with plausible deniability?

    - by Rupert
    I would like to have a disk that: has Ubuntu installed is fully encrypted is setup in such a way as to make denial of the existence of the Ubuntu install plausible Truecrypt provides the last two features but only for Windows: http://www.truecrypt.org/docs/?s=sys-encryption-supported-os The alternate installer for Ubuntu provides the first two features but not the last. I imagine that plausible deniability would be achieved by, at least: Having two installs of Ubuntu and 2 passphrases (or keyfiles) which would unencrypt each one. Moving any unencrypted data (such as /boot) onto a USB stick Are there any programs out there which support this feature set for Ubuntu?

    Read the article

  • Build automation: Is it usual to use QMake for non-Qt projects?

    - by Raphael
    So, I'm planning to write a C++ library and I want it to be cross-platform, and as this library won't deal with UI and I want it to have as little dependencies as possible, I won't be using Qt (actually Qt won't really help me to achieve what I want, all I plan on using is STL and Boost). Now when it comes to build a cross-platform project, I really like QMake as it's extremely easy to use and I have experience with it. I also heard good things about CMake, though I really doubt it's as easy to use as QMake. Anyway, here is my question: Should I stick with build automation tool that I know or is QMake just out of context for a non-Qt project? Should I take this as an opportunity to learn CMake? Or is there a better alternative to these two?

    Read the article

  • cant boot ubuntu after install (first time)

    - by user1683645
    Trying to install ubuntu for the first time. I use an usb stick. At partition I use one of the hdd's I have and create a partition of 50gb for ubuntu @ /dev/sda and the partitions name is dev/sda1 with type ext4. All is well and the installation is completed without any errors and I get a dialogue asking me to restart but ubuntu does not boot. I only have one device as boot in my bios and I think its the devide with ubuntu on it since I've not partitioned the other discs. When I create the partition I yse primary type and localtion for the new partition is att the beginning of the space. And I use Ext4 file system. Mount point is / What am I doing wrong?

    Read the article

  • How to prioritize tasks when you have multiple programming projects running in parallel?

    - by Vinko Vrsalovic
    Say you have 5 customers, you develop 2 or 3 different projects for each. Each project has Xi tasks. Each project takes from 2 to 10 man weeks. Given that there are few resources, it is desired to minimize the management overhead. Two questions in this scenario: What tools would you use to prioritize the tasks and track their completion, while tending to minimize the overhead? What criteria would you take into consideration to determine which task to assign to the next available resource given that the primary objective is to increase throughput (more projects finished per time unit, this objective conflicts with starting one project and finishing it and then moving on to the next)? Ideas, management techniques, algorithms are welcome

    Read the article

  • Is there a certain way that I have to include a library and it's license?

    - by leaf68
    I know this may be a dumb question, but I'm only 15 so I don't really know how the legal part of it works. When I choose a .dll to be included in my project, Visual Studio only includes the .dll file with my project (of course) so I just copy the license and stick it in a folder called licenses. But now, I'm going to be making a program for a contest so I need to make sure I have the licenses done right or I'll get disqualified. So is there any specific location I have to keep the licenses in my project, is there a way for Visual Studio to automatically copy the license the way it does with .dll files and is there anything else I have to watch out for legally? PS: If it matters the libraries I'm planning on using right now are WriteableBitmapEx and AvalonDock Thanks

    Read the article

  • How to test other DE in Ubuntu 12.10 live (alpha)

    - by gsedej
    caution: 12.10 is not yet released but I was told it will say as is also when release happens (live session) So, new ubuntu live session does not have option to "logout" and choose different desktop environment (DE). This function was usable if one installs ubuntu live on USB stick with permanent changes. One can install any software, including KDE (plasma) or LXDE. Until including 12.04, one could simply logout and choose different DE. Now, there is no "logout" option in top right menu and if ran service lightdm restart it automatically logs in to live session account with unity.

    Read the article

  • What can I do when the interviewer doesn't know the answer to his/her own question?

    - by bjskishore123
    Yesterday I had a terrible experience in an interview. Interviewer asked me about pure virtual function. I said, It may or may not have definition in base class, but derived classes should provide definition unless they also want to be abstract class. But interviewer kept on asking that "Can pure virtual have definition !!! ???"... I said yes. Again he said "Pure ?" I said yes. It is allowed, derived classes can explicitly call that function if they want that particular behavior. He sent me out. I am sure that he doesn't know the fact that pure virtual function can have definition. How to deal with this kind of Interviewers ? After asking 2nd time, should i lie that it can't have definition ? :) Or i should stick to my words and loose the job opportunity ?

    Read the article

  • Split large file, have arbitrary start index number

    - by nEJC
    I do a lot of file manipulation on my system and in one particular batch job I end up with around 16 Gb file. I need to prepare this data into smaller chunks for another process. I split it into 10k lines per file and numeric index, padded to 5 digits split -a 5 -d -l 10000 large_input_file /out_path/out. This way I end up with files named out.00000 out.00001 ... The problem is that this way indexing always starts with 0. Is there a way to set it to arbitrary starting index? man reveals nothing ...

    Read the article

  • How to Choose the Best SEO Expert

    The internet has turned out to be one of the most powerful marketing tools ever invented by man. Its reach of millions of people is several times more than any other medium. Web marketing and web promotion are today an integral part of the sales plans of any medium or large scaled enterprise. As the world rapidly moves to the internet, if your company does not have a website today, you will not be able to make a place for yourself in the future. Irrespective of the business the company is involved in, its presence on the internet is absolutely unavoidable nowadays.

    Read the article

  • Is there a phrase or word to describe an algorithim or program is complete in that given any value for its arguments there is a defined outcome?

    - by Mrk Mnl
    Is there a phrase or word to describe an algorithim or programme is complete in that given any value for its arguments there is a defined outcome? i.e. all the ramifications have been considered whatever the context? A simple example would be the below function: function returns string get_item_type(int type_no) { if(type_no < 10) return "hockey stick" else if (type_no < 20) return "bulldozer" else return "unknown" } (excuse the dismal pseudo code) No matter what number is supplied all possibiblites are catered for. My question is: is there a word to fill the blank here: "get_item_type() is ______ complete" ? (The answer is not Turing Complete - that is something quite different - but I annoyingly always think of something as "Turing Complete" when I am thinking of the above).

    Read the article

  • Unable to boot from USB boot drive for AMD Athlon 64

    - by Nagarjun
    I am trying to install Ubuntu 13.04 ISO for AMD64 Athlon processor using USB drive (8GB). I did create a bootable USB using the USB installer from Win7 intel 32bit processor (followed steps from here: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows). This USB is unable to boot on my AMD64 bit processor. The bios is able to detect the USB and once I change the boot order to USB and save exit from bios, I get a message saying "DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS CONTINUE" and unable to proceed further. However earlier to this I have successfully installed Ubuntu 13.04 on to my laptop which has Intel 32 bit core i5 processor with the same procedure but my desktop which has AMD64 is failing. I also tried to create the USB installer on my desktop which has the AMD64 bit processor and tried booting which also resulted in the same error. (My desktop currently has Win XP) Please help as I have run out of options. thanks, Nagarjun

    Read the article

  • How to get the 'Install alongside Windows' option, i only see 'Install inside Windows'?

    - by IanDess
    I created a bootable USB Stick with Ubuntu 13.10 and when i boot from it and try to install it i only get the option "Install inside Windows" and the button in the bottom right corner says "Restart to continue". But i don't want that, i want a real dual boot. I installed Ubuntu few days ago on my laptop and i clearly remember that it said "Install ALONGSIDE Windows". What should i do to get that option? PS i previously had Ubuntu installed on this PC from WUBI, but i uninstalled it.

    Read the article

  • Error creating an .img file from an .ISO (MD5 verified)

    - by Rob
    I was following the instructions on this website to create a bootable USB flash drive on a Mac: http://www.ubuntu.com/download/help/create-a-usb-stick-on-mac-osx The instruction: hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso does not create a valid file that the disk utility can copy to the USB drive, making installation on a USB drive useless. I've been repeating these instructions for days with no luck. The only thing that does not work is the .ISO to .IMG conversion. Is there a way to download Ubuntu 12.04 LTS 64-but Desktop in a .IMG file already? Unfortunately, my install notebook does not have an optical drive so USB is the only way. Thanks for your help!

    Read the article

  • What is the correct way to use glTexCoordPointer?

    - by RubyKing
    I'm trying to work out how to use this function glTexCoordPointer. The man page states that I must set a pointer to the first element of the array that uses the texture cordinate. Here is my array: static const GLfloat GUIVertices[] = { //FIRST QUAD 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, -1.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, -1.0f, 0.94f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.94f, 0.0f, 1.0f, 1.0f, 1.0f, //2ND QUAD // x y z w X Y 1.0f, -1.0f, 0.0f, 1.0f, 1.0f, 0.0f, -1.0f, -1.0f, 0.0f, 1.0f, 0.0f, 0.0f, -1.0f, -0.94f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, -0.94f, 0.0f, 1.0f, 1.0f, 1.0, }; But how do I set the pointer correctly for the fifth element on the 2nd quad first row? I was thinking something like this: glTexCoordPointer(1, GL_FLOAT, 6, reinterpret_cast<const GLvoid *>(29 * sizeof(float)));

    Read the article

  • How to install Ubuntu One server software or alternative for personal use?

    - by lastpak
    I have a Debian based box in my house that runs as a webserver, and a 4GB bootable usb-stick with Ubuntu. I need to store stuff on a server and Ubuntu One seems an ok way to go but I find that 2GB is not sufficient. I can most likely solve that when I install this server software. Where can I find it - there is no ubuntu-one-server package or similar in the Software Centre. How can I install the Ubuntu One server software or an alternative?

    Read the article

  • Sense of "stop on..." stanza when job is a task

    - by Binarus
    Hi, an upstart question (I think I have read all relevant man pages but could not find the answer there): What is the sense of using a "stop on ..." stanza in the definition of a job which is a task? The manuals tell us that such a job, after being started, just waits until its script (or exec stanza) is executed completely, and then stops automatically. Given that, what is the point in using "stop on ..." stanzas in such job definitions? For example, this is the job definition for Upstart's (very important) rc job in Natty 11.04 (leaving out comments and empty lines): start on runlevel [0123456] stop on runlevel [!$RUNLEVEL] export RUNLEVEL export PREVLEVEL console output env INIT_VERBOSE task exec /etc/init.d/rc $RUNLEVEL IMHO, the job, after being started by a runlevel event, will be stopped automatically as soon as /etc/init.d/rc $RUNLEVEL has finished. Thank you very much for any explanation!

    Read the article

< Previous Page | 54 55 56 57 58 59 60 61 62 63 64 65  | Next Page >