ober
Staff Alumni-
Posts
5,327 -
Joined
-
Last visited
Everything posted by ober
-
All kinds of technologies - chrisredding.com
ober replied to chrisredding's topic in Website Critique
One major issue with this design. While it looks good, it doesn't shrink well. I'm running at 1280x1024 and if I shrink the window to anything much less than that, at least in Opera, the content moves over into your logo/menu system. That's going to be a major issue since a lot of people are still running 1024x768 or less. And some of those people don't run with the browser at full screen. -
For a fencing company... yeah. Pink is one of those colors that should be used sparingly unless it fits the topic, IMO. I'd push more towards the red hues.
-
[quote author=ananda link=topic=121853.msg527341#msg527341 date=1171304649] I think there is a way to do it. Just get the time of entering the new data and keep it in session. When user tries to edit it....compare the current time with the session.....when the time diff is more than 2 minutes allow the user to edit....else just echo the user that the data is not ready and redirect the user back to the original page. hope it works. [/quote] There wasn't a question of how to do it. We're not going to hack SMF to modify this feature. Thread closed, this is a dead topic.
-
[SOLVED] Time slots: Help with math/logic rather than code.
ober replied to zq29's topic in Miscellaneous
Ok, I'm confused between your first and last post. I need some clarification. If you have x number of start times, is each of those start times indicating the beginning of 1 time slot? Or can you have more than one time slot per start/stop time? If it's the first, and you're storing them in a DB: slotid | starttime | stoptime | etc Then you just run some SQL: SELECT COUNT(slotid) FROM slots WHERE starttime >= starttime_selected AND stoptime <= stoptime_selected If it's the second and your calculating slots between points A and B, it gets a little more tricky. So let me know if you need that worked out or explain what's wrong from my understanding above. -
That's a really cool site... and it's interesting to test on various servers. From work, I got a down speed of between 1400 to 33000kbps... upload between 600 and 4000kbps. And the recommended server is definately not the fastest.
-
Yeah... I have that on my PC at home... it's creepy.
-
Daniel, it's not always your connection that is the limiting factor. Some servers only allow certain download rates so it's often advantageous to pull a file from a few directions.
-
Well, yeah, my house where I used to live would have cost me another $200K or so... but where I live now, I got it for a decent amount. I won't say it was a steal because it eats away a very large chunk of my salary, but it's not quite as bad as what you guys might think. Plus I did a little magic with the mortgage and got fixed rates. To say that I'm fortunate to have something like this at 27 with a wife and kid is an understatement. I consider myself blessed.
-
Oh yeah.. the fun part of house ownership. Things I've done in the past 6 months (outside of new kitchen appliances and painting, etc): New sump pump Humidifier for the furnace New locks on the house Bought lawn mower + all kinds of outdoor tools (trimmers, shovels, etc) Fertilize/weed control on lawn (last owner SUCKED at lawn care) Things to do in the next 6 months: Refinish deck Seal basement walls (a few small cracks, one of which leaks during heavy rain)
-
That's awesome thorpe! Congrats! I'm a recent home owner myself. My wife and I rented an apartment in a little city outside of DC for a few years but then we decided to have kids and thought we'd better settle down. So last June we bought a 5 bedroom, 2.5 bath colonial. EDIT: Sorry, realized there was some info in one of those pics I don't really want to share even though it wasn't mine.
-
www.opera.com - seriously. Not just plugging. FF's downloader blows. Use Opera's once and you'll never do anything else. It even has built-in torrent support. Although... increasing your downloading speed can only be achieved by programs that latch onto the server using multiple connections. No browser that I know of uses that technology. I'd suggest Download Accelerator, but I haven't used it in years and I don't even know if it's free anymore.
-
*sigh*... if you can't afford 5 bucks/mo, I don't think you deserve to clutter the web.
-
Faster than a normal DBMS? I hardly see how.
-
Only slower..... and uglier.
-
The only reason I won't do it is because that's a board-wide setting. I can't configure it per board.
-
1) Fixed. 2) Not going to happen.
-
You might try the FAQ section... but don't expect us to link to you.
-
Additionally "universal reports" doesn't make much sense unless that is somehow supposed to mean "international". And you're never going to find a feed that is zipcode specific. You'd have to get the feed from local news stations.
-
??? First of all it's "news"... not "new's". Secondly, it's going to be hard to find a feed in spanish since most international news is in english. Third, handling a feed is really quite simple. <div style="overflow:auto;height:100px;border:1px solid gray;background-color:white;padding:5px;font-size:10pt;" class="smalltext"> <?php $insideitem = false; $tag = ""; $title = ""; $description = ""; $link = ""; function startElement($parser, $name, $attrs) { global $insideitem, $tag, $title, $description, $link; if ($insideitem) { $tag = $name; } elseif ($name == "ITEM") { $insideitem = true; } } function endElement($parser, $name) { global $insideitem, $tag, $title, $description, $link; if ($name == "ITEM") { printf("<dt><b><a href='%s'>%s</a></b></dt>", trim($link),htmlspecialchars(trim($title))); printf("<dd>%s</dd>",htmlspecialchars(trim($description))); $title = ""; $description = ""; $link = ""; $insideitem = false; } } function characterData($parser, $data) { global $insideitem, $tag, $title, $description, $link; if ($insideitem) { switch ($tag) { case "TITLE": $title .= $data; break; case "DESCRIPTION": $description .= $data; break; case "LINK": $link .= $data; break; } } } $xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); $fp = fopen("http://www.entrepreneur.com/feeds/marketing.rss","r") or die("Error reading RSS data."); while ($data = fread($fp, 4096)) xml_parse($xml_parser, $data, feof($fp)) or die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); fclose($fp); xml_parser_free($xml_parser); ?> </div> Simply replace the link with the address to whatever feed you want to pull.
-
Sorry... that's just not going to happen.
-
Dude... she's hot. Love the look and the error message. Would be interesting to see increasingly "annoyed" versions of the error message if you continue to screw up
-
Some people don't know when to quit while they're ahead.
-
Better?
-
I'll look into it.