Late one night I had an idea to run a gaming-capable multiseat setup. Ever since then I've been looking around for a solution and I found three possible solutions: https://bbs.archlinux.org/viewtopic.php?id=105450 https://github.com/fenghaitao/xserver-with-gl-accelerated-xephyr Multiseat with 2 or m...
Hello everybody, I've been making some sort of 2D (software, no OpenGL) game for the past few weeks now using SDL and C++. I've gotten to the stage of placing images on the screen and scrolling them with the arrow keys in all 8 directions which works fine. I then tried to move another sprite based o...
Hello reddit. I've been looking for a GNU/Linux OS to run a server for usage as a student (archiving work and possibly other tasks). I know there are many, many distributions out there but I'm looking for personal recommendations. Some are completely out like Arch Linux, Gentoo and Ubuntu for obviou...
Very interesting. I like it much more than xmonad already - Haskell might be the second coming of christ for some but in the end I had to steal other people's configs to get basic things working and even then some of the features didn't work. Learning a new programming language shouldn't be necessary to configure a WM. Each to their own I guess.
Btw, if people are having lag issues when switching to the terms tab and resizing/moving/launching urxvt terms, comment out this line below in your ~/.Xdefaults.
URxvt*depth:
The same should apply for other terminal emulators like Xterm and so on and if there is no similar line in your ~/.Xdefaults, check the settings of your terminal emulator.
Fglrx users may also want to try using the old 2D rendering mode if the above doesn't help you.
Edit: subtle-hg in the AUR supports Xinerama/XRandr out of the box, subtle in the default repositories does not.
I started with Ubuntu/Kubuntu and screwed around with it in 06, 07, 08 and Ubuntu server in 09. I really had no clue what I was doing at first and they usually didn't stay installed longer than a week at most or were quickly forgotten largely because I still avidly played PC games.
Eventually this year I decided to forget about the xBuntus and try my hand at Arch Linux. I had a bit of experience with cruising around the prompt, editing grub and some other things but I never quite put all the pieces of the puzzle together to build a map of how a Linux OS works in my mind.
So I tried Arch Linux and I pretty much lost a week in getting it to start X with a DE. I was pretty frustrated by this point because I was still having difficulty getting stuff working so I eventually forgot about it and gave in. A little while later though, my curiosity piqued again I installed it, only taking a few days this time. I tried a few other distros like Slackware but I quickly grew to hate Slackware because hunting down packages for something obscure was a living nightmare.
I must have reinstalled Arch Linux many times but each time I learned something new. Sometimes I borked my system which prompted a reinstalled, even if were the most minor thing but it didn't matter, I was learning more and more each time.
Eventually I got here where the AL wiki fueled my desire for knowledge and now I have either a basic or intermediate understanding of the techniques, tools and working ideas behind a Linux OS to the point at which I could and did load up the AL live CD, chroot and install a slightly earlier kernel version to fix a boot problem. I now spend much more time in Arch Linux than I do with Windows and a terminal is where I spend most of my time.
Looking back, I realise that the xBuntus were actually quite good but only at what they were - pre-packaged distributions which is not what I wanted - I wanted to learn which the xBuntus failed to facilitate properly because they always got in your way. Arch Linux really does get out of your way an becomes the environment you want it to be.
Silly question: can you have an object that is both a subject and an observer? A "mothership" object with "spacefighter" child objects would require both the mothership and spacefighter objects to be both subjects and observers IMO so the mothership knows when it's child objects die and the spacefighter objects know when their mothership dies so they can start a new line of behaviour (find a new mothership with room for spacefighters or if they can't find one, they explode). You'd also need both
Also, would the observer pattern be a good way to decouple rendering from your game simulation? Your game simulation object (stores your game board, game objects like the player and enemies) could inherit the subject class and the renderer object could inherit the observer class. The game simulation notifies the renderer (and anybody else) on the creation and deletion of game objects, passing the references of these game objects up to the renderer. The renderer could then maintain it's own list of renderable objects that are linked up to the game objects stored in the game simulation also via the observer pattern. When a game object does something like explode or fire it's lasers or takes damage the renderable object is notified of the event and changes it's sprites to reflect the changes. A sound system object could potentially take advantage of a similar setup.
Finally, could you expand on what Entity is? Is it the Subject itself being passed through to the Observers? Event is an Enum?
I know this is a long-winded post but I'd really appreciate your answers and what you think of my ideas. I still have a bit of trouble solving logic problems but I have plenty of problems trying to structure my programs when they start growing any larger than a handful of small classes.
I'm confused. Why would initially financing an LLC with your own personal funds destroy the limited liability of the LLC? Couldn't you just take out a small loan and then instantly pay it back?
Very interesting. I like it much more than xmonad already - Haskell might be the second coming of christ for some but in the end I had to steal other people's configs to get basic things working and even then some of the features didn't work. Learning a new programming language shouldn't be necessary to configure a WM. Each to their own I guess.
Btw, if people are having lag issues when switching to the terms tab and resizing/moving/launching urxvt terms, comment out this line below in your ~/.Xdefaults.
The same should apply for other terminal emulators like Xterm and so on and if there is no similar line in your ~/.Xdefaults, check the settings of your terminal emulator.
Fglrx users may also want to try using the old 2D rendering mode if the above doesn't help you.
Edit: subtle-hg in the AUR supports Xinerama/XRandr out of the box, subtle in the default repositories does not.
I started with Ubuntu/Kubuntu and screwed around with it in 06, 07, 08 and Ubuntu server in 09. I really had no clue what I was doing at first and they usually didn't stay installed longer than a week at most or were quickly forgotten largely because I still avidly played PC games.
Eventually this year I decided to forget about the xBuntus and try my hand at Arch Linux. I had a bit of experience with cruising around the prompt, editing grub and some other things but I never quite put all the pieces of the puzzle together to build a map of how a Linux OS works in my mind.
So I tried Arch Linux and I pretty much lost a week in getting it to start X with a DE. I was pretty frustrated by this point because I was still having difficulty getting stuff working so I eventually forgot about it and gave in. A little while later though, my curiosity piqued again I installed it, only taking a few days this time. I tried a few other distros like Slackware but I quickly grew to hate Slackware because hunting down packages for something obscure was a living nightmare.
I must have reinstalled Arch Linux many times but each time I learned something new. Sometimes I borked my system which prompted a reinstalled, even if were the most minor thing but it didn't matter, I was learning more and more each time.
Eventually I got here where the AL wiki fueled my desire for knowledge and now I have either a basic or intermediate understanding of the techniques, tools and working ideas behind a Linux OS to the point at which I could and did load up the AL live CD, chroot and install a slightly earlier kernel version to fix a boot problem. I now spend much more time in Arch Linux than I do with Windows and a terminal is where I spend most of my time.
Looking back, I realise that the xBuntus were actually quite good but only at what they were - pre-packaged distributions which is not what I wanted - I wanted to learn which the xBuntus failed to facilitate properly because they always got in your way. Arch Linux really does get out of your way an becomes the environment you want it to be.
Silly question: can you have an object that is both a subject and an observer? A "mothership" object with "spacefighter" child objects would require both the mothership and spacefighter objects to be both subjects and observers IMO so the mothership knows when it's child objects die and the spacefighter objects know when their mothership dies so they can start a new line of behaviour (find a new mothership with room for spacefighters or if they can't find one, they explode). You'd also need both
Also, would the observer pattern be a good way to decouple rendering from your game simulation? Your game simulation object (stores your game board, game objects like the player and enemies) could inherit the subject class and the renderer object could inherit the observer class. The game simulation notifies the renderer (and anybody else) on the creation and deletion of game objects, passing the references of these game objects up to the renderer. The renderer could then maintain it's own list of renderable objects that are linked up to the game objects stored in the game simulation also via the observer pattern. When a game object does something like explode or fire it's lasers or takes damage the renderable object is notified of the event and changes it's sprites to reflect the changes. A sound system object could potentially take advantage of a similar setup.
Finally, could you expand on what Entity is? Is it the Subject itself being passed through to the Observers? Event is an Enum?
I know this is a long-winded post but I'd really appreciate your answers and what you think of my ideas. I still have a bit of trouble solving logic problems but I have plenty of problems trying to structure my programs when they start growing any larger than a handful of small classes.
I'm confused. Why would initially financing an LLC with your own personal funds destroy the limited liability of the LLC? Couldn't you just take out a small loan and then instantly pay it back?
Do you have dbus in your DAEMONS line in /etc/rc.conf? I know I had problems starting DEs/DMs when I didn't have dbus loaded.
You may also need to install the dbus package, dbus-core is a separate package and doesn't include the dbus daemon AFAIK.