Geek Anvil (currently geeking...)

Does exactly what it says on the tin. Some of the nonsense contained herein may be very loosely related to The Sisters of Mercy, but I wouldn't bet your PayPal account on it. In keeping with the internet's general theme nothing written here should be taken as Gospel: over three quarters of it is utter gibberish, and most of the forum's denizens haven't spoken to another human being face-to-face for decades. Don't worry your pretty little heads about it. Above all else, remember this: You don't have to stay forever. I will understand.
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

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.
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
mh
Above the Chemist
Posts: 8066
Joined: 23 Jun 2003, 14:41
Location: A city built on rock 'n' roll

Well you know what they say about working code. Stick a comment on it and move on. ;)
If I told them once, I told them a hundred times to put 'Spinal Tap' first and 'Puppet Show' last.
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

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."
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
DocSommer
Slight Overbomber
Posts: 1824
Joined: 17 Apr 2006, 11:53
Location: Hamburg

Image

Image

Image

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 :lol: I haven't finished the case yet that's why the PCB is exposed.
User avatar
nowayjose
Utterly Bastard Groovy Amphetamine Filth
Posts: 539
Joined: 19 Mar 2006, 02:15
Location: Berlin

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
Gorgeous! Thanks for the link... need to have one of those.
User avatar
6FeetOver
Childlike Empress
Posts: 7683
Joined: 25 Jan 2002, 00:00
Location: way on down south, New London town...
Contact:

OMG, that's beautiful. Want!!! ;D :notworthy:
I left my heart in Ballycastle... :cry: :cry: :cry:
User avatar
DocSommer
Slight Overbomber
Posts: 1824
Joined: 17 Apr 2006, 11:53
Location: Hamburg

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.
User avatar
Quiff Boy
Herr Administrator
Posts: 16762
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

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.
What’s the difference between a buffalo and a bison?
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

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?
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
Quiff Boy
Herr Administrator
Posts: 16762
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

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?
:lol: :lol: :notworthy:
What’s the difference between a buffalo and a bison?
User avatar
DocSommer
Slight Overbomber
Posts: 1824
Joined: 17 Apr 2006, 11:53
Location: Hamburg

[/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).
User avatar
nowayjose
Utterly Bastard Groovy Amphetamine Filth
Posts: 539
Joined: 19 Mar 2006, 02:15
Location: Berlin

markfiend wrote:Not bad but can it do M-X butterfly?
M-x all-hail-emacs :lol:
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

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.
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
Being645
Wiki Wizard
Posts: 15003
Joined: 09 Apr 2009, 12:54
Location: reconstruction status: 65,9%

DocSommer wrote:Image

Image

Image

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 :lol: I haven't finished the case yet that's why the PCB is exposed.
Oh wow, that looks great ... ;D :notworthy: ... does it change the colours as well? ... :eek: ...
User avatar
DocSommer
Slight Overbomber
Posts: 1824
Joined: 17 Apr 2006, 11:53
Location: Hamburg

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 :lol:
User avatar
DocSommer
Slight Overbomber
Posts: 1824
Joined: 17 Apr 2006, 11:53
Location: Hamburg

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 :lol:
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.
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

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. 8)
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

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...)
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
lazarus corporation
Lord Protector
Posts: 3426
Joined: 09 May 2004, 17:42
Location: out there on a darkened road
Contact:

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.
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

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!
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
Izzy HaveMercy
The Worlds Greatest Living Belgian
Posts: 8844
Joined: 29 Jan 2002, 00:00
Location: Long Dark Forties
Contact:

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 ;D

IZ.
.
.
For Greater Good - Ambient Music for the Masses...
.
.
User avatar
lazarus corporation
Lord Protector
Posts: 3426
Joined: 09 May 2004, 17:42
Location: out there on a darkened road
Contact:

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 ;D

IZ.
Same difference - Linux & MacOS are both derived from a Unix system. Only difference is that MacOS costs $$$ and Linux is free.
User avatar
DocSommer
Slight Overbomber
Posts: 1824
Joined: 17 Apr 2006, 11:53
Location: Hamburg

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

Image

...guess I'll pass the next one, too :lol:
User avatar
nowayjose
Utterly Bastard Groovy Amphetamine Filth
Posts: 539
Joined: 19 Mar 2006, 02:15
Location: Berlin

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....
User avatar
lazarus corporation
Lord Protector
Posts: 3426
Joined: 09 May 2004, 17:42
Location: out there on a darkened road
Contact:

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

Image

...guess I'll pass the next one, too :lol:
Missed out Windows 2000
Post Reply