Page 14 of 22
Posted: 15 Aug 2012, 12:20
by markfiend
mh wrote:If "do some stuff" modifies the value of $foo I reckon
Nope, it just checks some options and if they're absent bails out to a "You do not have permission" page.
I reckon the inner if statement must have been written first and then wrapped in the outer one without them realising they'd tested for $foo twice.
The bizarre thing is that the code works as expected. And there's the else-block sitting there all crying and lonely because no-one ever calls.
Posted: 15 Aug 2012, 12:33
by mh
Well you know what they say about working code. Stick a comment on it and move on.
Posted: 15 Aug 2012, 12:48
by markfiend
It was basically a case of "I want to copy functionality from place A to place B. Let's have a look at the code for place A."
*discovers that mess*
"OK, I'll write it myself."
Posted: 15 Sep 2012, 18:07
by DocSommer
got the kit from
http://www.pvelectronics.co.uk and I'm quite satisfied that the clock is up and running after a few hours of soldering the stuff together
I haven't finished the case yet that's why the PCB is exposed.
Posted: 15 Sep 2012, 21:14
by nowayjose
Gorgeous! Thanks for the link... need to have one of those.
Posted: 15 Sep 2012, 23:19
by 6FeetOver
OMG, that's beautiful. Want!!!
Posted: 16 Sep 2012, 13:05
by DocSommer
LOL - yeah I shared the same feeling after discovering some nixie-clock vids on youtube^^
@nowayjose
The dealer seems to be a nice chap and if you like to get some informations about the kit you can read the assembly/instruction manual here:
http://www.pvelectronics.co.uk/kits/qtc/qtc_v6.pdf
The tubes are a bit too pricey there - got them via ebay.
Posted: 17 Sep 2012, 10:00
by Quiff Boy
been playing with this:
Sublime Text text editor
http://www.sublimetext.com
nice, lightweight code editor. cross platform and very configurable. neat code detection & completion too.
Posted: 17 Sep 2012, 10:48
by markfiend
Quiff Boy wrote:been playing with this:
Sublime Text text editor
http://www.sublimetext.com
nice, lightweight code editor. cross platform and very configurable. neat code detection & completion too.
Not bad but can it do
M-X butterfly?
Posted: 17 Sep 2012, 12:25
by Quiff Boy
markfiend wrote:Quiff Boy wrote:been playing with this:
Sublime Text text editor
http://www.sublimetext.com
nice, lightweight code editor. cross platform and very configurable. neat code detection & completion too.
Not bad but can it do
M-X butterfly?
Posted: 17 Sep 2012, 17:32
by DocSommer
[/quote]
Sublime Text text editor
http://www.sublimetext.com
nice, lightweight code editor. cross platform and very configurable. neat code detection & completion too.
sweet - I've been using notepad++ so far but this looks very nice (59USD for a license is quite a lot though).
Posted: 17 Sep 2012, 20:21
by nowayjose
markfiend wrote:Not bad but can it do M-X butterfly?
M-x all-hail-emacs
Posted: 18 Sep 2012, 09:26
by markfiend
DocSommer wrote:sweet - I've been using notepad++ so far but this looks very nice (59USD for a license is quite a lot though).
Get emacs. It's free.
Posted: 18 Sep 2012, 12:11
by Being645
DocSommer wrote:
got the kit from
http://www.pvelectronics.co.uk and I'm quite satisfied that the clock is up and running after a few hours of soldering the stuff together
I haven't finished the case yet that's why the PCB is exposed.
Oh wow, that looks great ...
... does it change the colours as well? ...
...
Posted: 18 Sep 2012, 20:26
by DocSommer
yep - you can either program fixed colours for every hour of the day or select some kind of randomized colour change mode in different speeds - unfortunately there's no tiny smoke machine installed
Posted: 18 Sep 2012, 20:31
by DocSommer
DocSommer wrote:yep - you can either program fixed colours for every hour of the day or select some kind of randomized colour change mode in different speeds - unfortunately there's no tiny smoke machine installed
markfiend wrote:DocSommer wrote:sweet - I've been using notepad++ so far but this looks very nice (59USD for a license is quite a lot though).
Get emacs. It's free.
notepad++ is free as well - but I might check it out. I don't really do uber-fancy stuff with these editors - just some basic webstuff editing.
Posted: 19 Sep 2012, 13:43
by markfiend
Yep, notepad++ is a good one, it's true. If all you're doing is a bit of editing emacs is probably using a sledgehammer to crack a nut, as the saying goes.
Posted: 16 Nov 2012, 10:56
by markfiend
Got my work PC set up all nice and shiny with a fresh install of Arch Linux.
I still have a few wrinkles to iron out but I now have a boot-time under 30 seconds (and that includes the time it takes to type my password...)
Posted: 03 Dec 2012, 22:54
by lazarus corporation
2TB Seagate external hard drive set up. Now I just need to get into the habit of backing stuff up.
I bought one of these for a friend who uses Windows Vista and it took several restarts to set up. Bought one for myself, plugged it into my Linux (Kubuntu) box and it worked immediately - no restart necessary, no configuration, just automatically detected & working. We seem to have reached an age where Linux does plug-and-play better than Windows.
Posted: 04 Dec 2012, 13:30
by markfiend
lazarus corporation wrote:We seem to have reached an age where Linux does plug-and-play better than Windows.
I thought we reached that age at least 5 years ago!
Posted: 04 Dec 2012, 14:57
by Izzy HaveMercy
markfiend wrote:lazarus corporation wrote:We seem to have reached an age where Linux does plug-and-play better than Windows.
I thought we reached that age at least 5 years ago!
You're mixing up with Mac I think
IZ.
Posted: 04 Dec 2012, 18:53
by lazarus corporation
Izzy HaveMercy wrote:markfiend wrote:lazarus corporation wrote:We seem to have reached an age where Linux does plug-and-play better than Windows.
I thought we reached that age at least 5 years ago!
You're mixing up with Mac I think
IZ.
Same difference - Linux & MacOS are both derived from a Unix system. Only difference is that MacOS costs $$$ and Linux is free.
Posted: 04 Dec 2012, 22:14
by DocSommer
I bought one of these for a friend who uses Windows Vista and it took several restarts to set up.
I've seen many trouble with vista but not recognizing mass storage devices is new to me - lucky I skipped that OS
...guess I'll pass the next one, too
Posted: 04 Dec 2012, 22:33
by nowayjose
Linux and MacOSX can plug&pray USB mass storage devices just fine for at least 10 years. The problems start when you want to exchange data between those, and have to resort to a DOS filesystem....
Posted: 04 Dec 2012, 22:37
by lazarus corporation
DocSommer wrote:I bought one of these for a friend who uses Windows Vista and it took several restarts to set up.
I've seen many trouble with vista but not recognizing mass storage devices is new to me - lucky I skipped that OS
...guess I'll pass the next one, too
Missed out Windows 2000