After reading round a few wikis, I found that the following is correct for the shell that I am using (ash), written into .profile in the user's home directory:-
if [ -n "$PS1" ] && [ -z...
Type: Posts; User: SMurf
After reading round a few wikis, I found that the following is correct for the shell that I am using (ash), written into .profile in the user's home directory:-
if [ -n "$PS1" ] && [ -z...
Hello,
I'm at a point now where I can easily find my way around Linux systems, and can even remember vim commands(!), but still struggle with basic tasks sometimes.
Specifically, I want to set...
My current design is that the writer process has its original display in private memory, then opportunistically copies to the shared memory section if it finds that no processes are currently reading...
The problem with working directly on the data would be that the writer process would be beholden to whatever's going on in the sockets code.
It's all the same stuff (it's the display of an SDL...
It just needs to be read. The reader processes more-or-less push it onto the network verbatim. The writer is not network-aware.
Thinking about this during those epiphanal moments you get while...
Hello,
I have an interesting quandry that I can't find any concrete discussion about, so hopefully someone here can help:-
I'm trying to organise inter-process communication (Win32, although...
Hello,
My brother passed away suddenly last week. In his memory, I decided to heed his constant whinging at me to root my phone and install a newer kernel/system image. This was pleasingly easy...
Conceded, although perhaps a separate "program" could be stored in the other channel, with manual selection between the two.
Yep, rather than attempting to execute something which is obviously...
Yes, that is correct, but using that specification, I want to store a waveform that describes digital data, that can be played from the line out of a sound card into the line in of another sound...
Hello,
The first computer I ever touched was an Atari 65XE (no sniggering from the Commodore crowd, please...). Given that I was around 4 years old at the time, I was always fascinated by the way...
Ah, cold sweat time. Haven't been moist for a while... :redface:
To access an Access database (.mdb), the most common interface for C/C++ was ActiveX Data Objects (ADO).
This exposed a load of...
Thanks, I shall have a play with that. ;)
Actually I did sysprep the image, thank you. Getting my Windows 8 Deployment certification was one of the proudest moments of my life, sniff. ;)
(OOBE is on so it does the EULA, create new account,...
Hello,
I'm in the process of selling my laptop (alas, I have fallen to the tablet disease :() and in a bid to improve its saleability have opted to supply it crud-free (fresh W7 SP1 install, one...
I would argue that there aren't any other providers for "real" fibre broadband (two separate channels, up/down speed the same, no PPP encapsulation or anything like that).
Given time to mull, I...
Hello,
Because I think that trying to modulate a high frequency signal some distance down a pair of old copper wires is daft, I currently get my broadband via a 3G dongle, which is fine for my...
It is an AC induction motor. 50 Hz.
I am itching to open the control box, because I would be interested to see what the rotary switch is doing to the circuit. :cool:
Hello,
Recently I bought an 18-inch desktop fan, ready for the summer. It has a rotary switch on it for three speed settings, but even the lowest setting is a lot like the back of a hovercraft....
Meh, Core War waz ere first.
SVN! Sorry I think I meant that, it's just that I haven't run a CVS for my own stuff before. I have used TortoiseSVN to look at Internet-based projects though. :o
Looks like I could try Apache...
Hello,
In my quest to farm my projects folder off my oh-so-single-point-of-failure laptop, I have wondered about the following:-
Something like a Raspberry Pi running a CVS server that's...
Hello,
My car has two cigarette lighters in it, one actually has the press-in button thing and the other (in the armrest) just has a plastic cap.
I bought a USB charger from the supermarket a...
Hello,
Now I've been a C zealot for over 10 years, turning my nose up at pretty much every new language that comes into fashion and engaging in all sorts of zany schemes to feed my fetish (writing a...
While you intellectuals are busy sizing each other up, I thought you might be interested in seeing the test image that I'm using:-...
Almost got it, except mapping part of the image to a tile will modify the tile to include features from that part. Everywhere else that that tile is used will take on that change.
As I said, likely...