If you can read this, either the style sheet didn't load or you have an older browser that doesn't support style sheets. Try clearing your browser cache and refreshing the page.

(Fark)   Fark Geek Forum   (fark.com) divider line 7050
    More: Misc  
•       •       •

13144 clicks; posted to Geek » on 06 Feb 2007 at 5:32 PM (7 years ago)   |  Favorite   |  Watch    |   share:  Share on Twitter share via Email Share on Facebook   more»



7050 Comments   (+0 »)
   

First | « | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | » | Last
 
  2009-02-24 12:28:53 AM
Heh...

Anybody?
 
  2009-02-24 01:52:14 AM
Drasher: Heh...

Anybody?


Sadly, I learned how to by reading the W3C document on it (located at http://www.w3.org/tr/css21)

If you can wrap your head around that, then you'll end up spending most of your time realising that things that work in Firefox etc. don't work anywhere else - but that's implementation issues of the user agent rather than your CSS (necssarily) being bad.

The W3C doc doesn't really cater for most people though.
w3schools.com also have some basic tutorials.

Really, once you understand it (which isn't too hard), the hurdle becomes writing it properly, and getting to know browser-specific issues.
 
  2009-02-24 02:01:07 PM
Drasher: What is the easiest / best way to learn.

Trial and error. As Legios said the real hurdle is getting to know browser-specific issues.

These are some sites you may want to check out: CSS Zen Garden, A List Apart and Eric Meyer's CSS pages.

There are lots more but those all were on the top of my head. This image should give you an overview of what you can expect. :-)
 
  2009-02-24 02:39:40 PM
Thanks for the info...
I haven't had the patience (read: intestinal fortitude) to sit down and walk through the tutorials. I will need to just do the sites that Legios suggests.

(Internally, I think the browser difference thing is nasty. I want to avoid those differences and write stuff that is seen by them all... HA! I guess that won't happen.)
[The site I am working on is VERY simple (ritetoolinc.com) and I already see differences between IE and FF! Crapola! IE puts a little tiny blank line between the header and the menu buttons and FF does not!! What is that??!? And IE puts a chunk of text in an Arial font while FF puts it in a Roman font!!?!]

Thanks for the suggestions...

and I really like the graphic... saved it for later use :)
 
  2009-02-24 06:03:04 PM
Drasher
[The site I am working on is VERY simple (ritetoolinc.com) and I already see differences between IE and FF!

PSA: your basic HTML is broken:
the "meta keywords" isn't closed and outside of the HEAD.

/probably unrelated to your issues, but sometimes a broken tag and how browsers handle it can fark up the layout, too.
 
  2009-02-24 07:55:37 PM
The Voice of Doom
OOPS!
Thanks for that! I guess I should pass it through a validator. (or are there too many errors to worry about?? :)
 
  2009-02-24 08:19:09 PM
OK, I "fixed" that but the validator (w3.org) says that it is still wrong (3 errors) and I don't know how to fix that...

How do you get the DOCTYPE statement corrected?
 
  2009-02-24 10:18:48 PM
You've got a META tag (and by the way, that ought to be all lowercase) before the opening head tag.
 
  2009-02-25 04:56:27 AM
Valid doctypes are over hyah.

Oddly the doctype can make a difference in layout too, because of doctype sniffing (google it) to determine whether the browser (any of 'em) goes into Quirks Mode vs Standards Mode. You want to avoid the hell out of Quirks Mode.
 
  2009-02-25 07:17:56 PM
Seconded. Quirks mode can screw with your code in quite spectacular ways, making even the 'normal' cross-browser rendering issues look tame by comparison.
 
  2009-02-26 02:31:36 AM
Changes are afoot. Or at least alittletoe. Not major changes.
 
  2009-02-26 10:48:53 PM
Dear fark uber geeks. I am looking to build an outrageously priced machine for an idiot that has more money than sense. He got a price of $8400 for a I960 w/24GB of ram with 2- nvidia 285s and 3-30" inch monitors and 3 TB of HD space. What is y'all's recommendation to one up the bastards who gave him the quote and what margin should I take on this job? He wants Win 7 Ultimate (he understands he will have to pay for the OS when it goes gold later on). I would like to make some money off of him but at the same time, I don't want to be bothered by my conscience. Thanks in advance for the advice.

/protip- the idiot equates money with quality
//don't be shy
 
  2009-02-26 11:13:40 PM
Mike: Changes are afoot. Or at least alittletoe. Not major changes.

Sweet, moving to nginx.
I came in to our server testing phase late, so I didn't get much of a chance to fiddle with nginx. But basically we wanted to move away from Apache because it was just too heavy, so we tested nginx and LigHTTPD. LigHTTPD won out, but I honestly can't remember why. (I *think* at the time there were some oddities with it and FreeBSD, but don't hold me to that). We set up two servers (well, there were multiple servers that were load-balanced etc), one using fastcgi and the other one serving static content.

/bored and at work, so telling anecdotes on Fark...
 
  2009-02-26 11:23:06 PM
Maddogjew: Dear fark uber geeks. I am looking to build an outrageously priced machine for an idiot that has more money than sense. He got a price of $8400 for a I960 w/24GB of ram with 2- nvidia 285s and 3-30" inch monitors and 3 TB of HD space. What is y'all's recommendation to one up the bastards who gave him the quote and what margin should I take on this job? He wants Win 7 Ultimate (he understands he will have to pay for the OS when it goes gold later on). I would like to make some money off of him but at the same time, I don't want to be bothered by my conscience. Thanks in advance for the advice.

/protip- the idiot equates money with quality
//don't be shy


Hm. Well, if you really wanted to go for a dual xeon board.
Grab something like this (new window) for the mobo, go with two high-end quad-core Xeons, and you can go for up to 64GB of RAM (although it'll be more expensive since it'll have to be ECC Registered). Make the 3TB SAS (hahaha, or SSD)

Downside there though is that he won't be able to use SLI/Crossfire (I don't believe). But if he really wants to use 3x30inch LCD monitors - isn't he going to have issues? Someone else can call BS here, but to my knowledge all 30inch monitors take dual DVI input, and if you're using SLI etc. you can only output to one monitor at a time.

/not really a gamer
 
  2009-02-27 03:03:50 AM
Good point, they do actually make 1+ TB SAS disks -- still 7200 RPM (Barracuda ES or Constellation) but hey, if you're burning money to burn money, get four 1.5 TB SAS disks and a four-port 3Ware 9690SA to run them in RAID10. Oh, and throw in the battery backup for the 3Ware also. Total for controller and battery oughta be $500ish.

Make sure you use the 64-bit version of Windows of course, otherwise the memory's a waste :)

Are there any Xeon boards that do SLI or Crossfire at all? The few Intel desktop boards I've seen only do Crossfire, which is weird given that their rival AMD owns that now... I have never run either so I am way outta my league there, but CPU/memory/storage I can do :)

re nginx/lighttpd, do you remember what the FreeBSD quirks were? That's what we run here, so, might be good to know. Maybe something to do with the accf_http kernel module?
 
  2009-02-27 03:44:01 AM
Anyone have any experience with Kaseya?

Just lookin' for opinions
 
  2009-02-27 11:00:27 PM
Can't remember the specific issue re: FreeBSD and nginx. I'll try and track down the documentation we did for that project. We recently moved so it might've been archived, but if not I'll let you know. It wasn't something serious though, just something that we were a bit concerned about. It was some 12 months ago though, so it really wouldn't suprise me if the issue no longer existed.

Will let you know if I can find it.
 
  2009-02-27 11:20:42 PM
Are there any good free apps for peering into documents with really obscure/obsolete file formats (.rxd, .dbf, .ndx)? Mac or PC, it doesn't matter.
 
  2009-02-28 02:09:14 PM
N. S. Radieaux: Are there any good free apps for peering into documents with really obscure/obsolete file formats (.rxd, .dbf, .ndx)? Mac or PC, it doesn't matter.

Hexedit?

That's linux - not sure what its Mac equivalent would be. "0xED" I think it's called.

There are a gabillion hex editors out there for Windows. Only one that I have experience with is UltraEdit, which is licensed (always got other people to pay for it, but it's a quality product).
 
  2009-03-01 07:51:51 AM
I can view Fark on my LG Voyager cell phone.

I'm thinking of moving up to a PDA/Blackberry. Does TF and TFD load alright on a smartphone with a good html browswer?
 
  2009-03-01 02:31:20 PM
Maddogjew: Dear fark uber geeks. I am looking to build an outrageously priced machine for an idiot that has more money than sense. He got a price of $8400 for a I960 w/24GB of ram with 2- nvidia 285s and 3-30" inch monitors and 3 TB of HD space. What is y'all's recommendation to one up the bastards who gave him the quote and what margin should I take on this job? He wants Win 7 Ultimate (he understands he will have to pay for the OS when it goes gold later on). I would like to make some money off of him but at the same time, I don't want to be bothered by my conscience. Thanks in advance for the advice.

/protip- the idiot equates money with quality
//don't be shy


Make sure you get him a Quadro card. After all, the price must make it faster.
 
  2009-03-03 12:06:01 AM
Get him a Mac Pro and an OEM Vista license. Boot Camp. Fer shizzle.
 
  2009-03-03 08:43:00 AM
Thanks MMMHP.
 
  2009-03-03 01:40:49 PM
http://www.apple.com/macmini/specs.html

The new Mac Mini is a beast.
 
  2009-03-03 06:40:35 PM
No_47: http://www.apple.com/macmini/specs.html

The new Mac Mini is a beast.


Have they fixed the heat issues with them yet? Or can you still fry and egg on them?
 
  2009-03-03 11:16:22 PM
What heat issues? I've got a 7200 rpm disk and a T7200 cpu in mine and it seems ok, but then I don't run anything intense like Photoshop on it either.
 
  2009-03-04 03:14:35 AM
The hardest workout mine gets is decoding 720p H.264
 
  2009-03-04 05:34:11 AM
Mike: What heat issues? I've got a 7200 rpm disk and a T7200 cpu in mine and it seems ok, but then I don't run anything intense like Photoshop on it either.

Good point, last one I used (a friends old one) was pre-Core2, so it would've been (presumably) a P4 . Those things used to increase the room temperature by 10 degrees...
 
  2009-03-04 12:52:45 PM
Apple never used P4's, the oldest they used was Core Solo / Core Duo stuff... which were Pentium-M derived. (Unless you count the Celeron M in the AppleTV). I replaced the Core Solo in mine w/ a Core2 Duo T7200. Which reminds me, anyone wanna buy a Core Solo CPU? :)
 
  2009-03-06 03:19:25 AM
Mike: What heat issues? I've got a 7200 rpm disk and a T7200 cpu in mine and it seems ok, but then I don't run anything intense like Photoshop on it either.

The new mini has a soldered processor :( No upgrades allowed (other than RAM and disk).
 
  2009-03-06 12:15:48 PM
Yeah, that was a hell of a bummer.

On the other hand, with mobile Core i7 on the way (which uses a different socket), how many more faster Penryn CPUs are even coming out? Looks like the P8700 is as far as you could even go right now...
 
  2009-03-06 12:40:28 PM
I need the geek brain trust help PLEASE!

I have a web site that I have done for a customer.

There is a graphic in the sidebar of the page that I created; the graphic is a GIF file that changes a little image and associated text every 10 seconds or so.

Is is possible to create something that will behave like that (switching every so many seconds) but also pause on a particular screen when mouseover'ed or on a click??

PLEASE don't tell me to do it in flash, I just don't know enough for that and don't have time/resources.
I would like to see a different solution (javascript?) unless you know of a "canned" flash thingie that I can easily adapt.
Heck, even if it is javascript, I need a canned solution. I am NOT a pro.

[If you must see the site or you have something you don't want to share in the forum, email me. (EIP)]
 
  2009-03-06 02:54:09 PM
Drasher

This can be done with Javascript, but I don't have a canned solution, have to do laundry, bake a cake and have a server to configure later.
An I'm not a Javascript programmer so I would need to look up the syntax to have it working.

Possible rough pseudo-code outline:
We assume your img-tag of the cycling image is inside a DIV with an "id" attribute having the value "theImageCrap"



var counter=0; // current image
var shouldILoop=true; // start/stop cycling

var htmlSnippetForEachImage=[
'img src=\"url0\"',
'img src=\"url1\" onmouseover=\"stopLoop();\" onmouseout=\"startLoop();\" onClick=\"doSomething();\" ...',
'img src=\"url3\"..',
...];
var sleepPerImageInSeconds=[3,1,2,...];

var numOfImages=htmlSnippetforEachImage.length;

function doLoop() {
while (shouldILoop) {
var theMarkedDivTag = document.getById('theImageCrap');
theMarkedDivTag.innerHTML= htmlSnippetForEachImage[counter];
sleep(sleepPerImageInSeconds[counter]*1000);
counter=(counter+1)%numOfImages; // "%" is modulo
}
}



function stopLoop() {
shouldILoop=false;
}
function startLoop() {
shouldILoop=true;
doLoop();
}





[ Sorry, someone steals the whitespace from inside the "code"-tag so there's no indentation. ]

Add a "onLoad=startLoop();" to the "body"-tag.
 
  2009-03-06 04:37:08 PM
WOW, thanks The Voice of Doom

I'll try that as soon as I get back from dinner...
 
  2009-03-06 05:35:46 PM
OK, well, that didn't go quite as smoothly as I'd hoped.
 
  2009-03-06 05:39:01 PM
Don't forget you'll have to Javascriptify it first.
For example, Google just told me that a Javascript Array can't be created with "foo=['value1', 'value2']", but with "foo=new Array('value1','value2')" and it's actually "getElementById" and not "getById".
 
  2009-03-06 05:42:58 PM
Mike
OK, well, that didn't go quite as smoothly as I'd hoped.

Someone be movin' da Geek forum away while I wanted to post.


/had to look up my password since the browser didn't know shiat about posting to www.fark
 
  2009-03-06 05:55:19 PM
Yeah, I just realized that's gonna happen at least once to everyone, so I put a note on the "forgot password?" screen about how to look it up in at least Firefox.
 
  2009-03-06 06:02:14 PM
Mike: OK, well, that didn't go quite as smoothly as I'd hoped.

meh, just a little hiccup. otherwise looks good.
 
  2009-03-06 06:47:37 PM
Hey, anyone ever have an issue with kill -9 just refusing to work? I'll have a process just eating all the clocks on the laptop, which isn't good as it can't run all out for too terribly long without overheating.

Sometimes it happens with a process that isn't gone all buck-re, but I don't notice that as much ('cause I don't go looking for processes stuck in a wait state unless they're messing something up).

The googles, they do nothing.
 
  2009-03-06 06:59:04 PM
I've seen kill -9 fail when the process is waiting for a dead NFS server to wake back up.
 
  2009-03-06 07:13:57 PM
kill -9 won't work with programs that were spawned by a parent process but not closed when the parent process was ended. I see this occasionally on our backup servers. I think they're called zombie processes
 
  2009-03-06 07:28:45 PM
Mike, I've seen that on a *bsd system. And on a BSD system, that's about the only place I've seen it.

This particular instance was with Pidgin, and I'm not running any sort of non-vanilla stuff save for wireless.

I've also seen it happen with Mozilla on this system.
 
  2009-03-06 07:29:24 PM
I have seen kill -9 fail with kwintv/kdetv and a bt878-based Hauppauge TV card quite often when it crashed - the window of the app was gone but you could still hear the sound that went from the TV card's line-out into the sound card's line in.
Only a reboot would help.

To be fair:
it's been ages since the last time that happened and for comparison, Hauppauge's WinTV app for Windows used to completely destroy (the BIOS on) my Matrox graphics card each time it crashed.
I didn't even bother to remove the floppy with the Matrox BIOS flash utility from the drive as I would need it each other day.
 
  2009-03-07 12:41:16 AM
in short if the process is stuck in kernel mode, it won't be killable. I'm gonna guess the non-BSD systems were doing interruptible and/or soft NFS mounts, where BSD tends to default to hard/noninterruptible mounts (because they're safer from a data integrity standpoint)
 
  2009-03-07 05:02:26 PM
Mike: in short if the process is stuck in kernel mode, it won't be killable. I'm gonna guess the non-BSD systems were doing interruptible and/or soft NFS mounts, where BSD tends to default to hard/noninterruptible mounts (because they're safer from a data integrity standpoint)

No, I actually meant that I've only seen the fs related unreachability on BSD; while I've seen much inexplicable unresponsiveness on Linux.

Appreciate the help though.
 
  2009-03-08 04:31:24 PM
Please help me un-dumb this; restarted Firefox and all the .gif links on all the pages are gone. Firefox 3.0.7, adblock, filterset g updater, noscript (latest build). I can click on the html links, but the left column is otherwise bare. I did go through my addons and unchecked ass loads of checkboxes, no joy; then went back through the geek forum and saw no help. What am I missing, y'all?
 
  2009-03-08 05:42:21 PM
Clear cache.
 
  2009-03-08 06:27:49 PM
Mike: Clear cache.

Cashe is always cleared. So... ???
 
  2009-03-08 06:59:41 PM
Mike: Yeah, that was a hell of a bummer.

On the other hand, with mobile Core i7 on the way (which uses a different socket), how many more faster Penryn CPUs are even coming out? Looks like the P8700 is as far as you could even go right now...


There are a few (expensive) mobile quad core Penryns now. Someone would be crazy enough to put one in a mini, if it were possible.
 
Displayed 50 of 3015 comments

First | « | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | » | Last


 
   Forgot password? Create an account to make comments
  Use HTML Buttons
If you can see this, something's wrong with your browser's CSS support.
 
Before posting, please take a minute to review our posting rules and our legal/privacy policy.
By posting, you agree to these terms.
Got questions about Fark? See our FAQ.

Continue Farking
Submit a Link »






Report