Search found 11467 matches

Actual Results

Post Posted: February 24th, 2016, 10:53 am

Try swapping localhost out with the ip address.

Post Posted: September 21st, 2015, 7:54 am

I originally fell off due to work. Then I got a girlfriend and a 2 year old step daughter. Then I spent my free time renovating the house. Then we had a son. Then we moved to a larger house. Then I had to finish the old house. Then I quit my job and finished the house. Now she's about to close on se...

Post Posted: September 21st, 2015, 7:32 am

Have you considered using existing bug/issue tracking software, and tailoring it to your needs?

Post Posted: November 21st, 2014, 4:36 pm

As far as I know, browsers still don't send the #hashtag to the server when making a request. Javascript will have to run in the browser to read the #hashtag, and do the rewrite there.

Post Posted: October 19th, 2014, 11:33 am

Looks like they're using a redundant variable, in $s.

Post Posted: July 9th, 2014, 6:16 pm

http://httpd.apache.org/docs/current/custom-error.html You're looking for Apache's ErrorDocument directive. Which, appears to be available in htaccess context. I looked up the FAQ for the host you mentioned, they claim to support "unrestricted use" of Apache directives, and PHP flags in ht...

Post Posted: June 15th, 2014, 9:36 am

I got my current job by going to a bachelor party and meeting someone, which turned into a fishing trip where I met someone else, which turned into a camping trip where we got to talking about work as I helped out with work that needed to be done around the property we were camping on. I'm 32 now, I...

Post Posted: June 15th, 2014, 9:14 am

Off the top of my head, I would look into having all of the sites share the store inventory DB tables, while still having their own config/etc tables. Simply using the same DB for each site is likely to cause issues with domain-specific settings, shopping carts, etc.

Post Posted: May 16th, 2014, 3:31 pm

Have you heard of rsync ?

Post Posted: April 12th, 2014, 10:38 am

I've got a little application I use at home to keep track of materials I need for home improvement projects. I'm finding a lot of the time I end up using the application on my phone when I'm away from the computer and think of things I need. The problem is using the application without a regular key...

Post Posted: March 30th, 2014, 5:38 am

An important note from php.net which I believe may be relevant since you're using relative paths.

Quote:
The working directory in the script shutdown phase can be different with some SAPIs (e.g. Apache).


What happens if you temporarily hardcode the path to the file?

Post Posted: March 29th, 2014, 11:28 am

I'm thinking I should have multiple interfaces for the modules to implement, such as cameraStillInterface, cameraStreamInterface, cameraControlInterface. Then when new methods are developed, modules can implement new interfaces optionally. Then I can add to the camera class, and check for interface ...

Post Posted: March 29th, 2014, 10:13 am

The only fool proof human verification I've come across is making the human verification so frustrating that a human calls the phone number listed in the domain WHOIS info to complain about it. :) Look at it this way, fewer contact forms on the internet to act as relays means fewer servers sending s...

Post Posted: March 29th, 2014, 5:55 am

I'm starting to wonder whether I should go back to the old mailto: method and forget about contact forms. Either way I have to screen emails, but with mailto: I don't have to screen ones trying to hijack my mail relay for sending spam.

Post Posted: March 29th, 2014, 5:40 am

What can I do, so that when a "stream()" method is added to "cameraInterface", it doesn't cause all of the existing modules implementing cameraInterface to break? [code=php]interface cameraInterface { /* $attributes is a URL encoded string of attributes for the camera */ public f...

Post Posted: March 6th, 2014, 7:08 pm

It looks like you're best bet is Java if you want anything to do with Android.

Other than that, I'd say C/C++.

Post Posted: February 21st, 2014, 10:08 pm

Interesting. What use is a private constructor? :?

Post Posted: February 20th, 2014, 6:11 pm

Not to mention the whole Bitcoin craze is dumping specialized hardware that, hashes data very efficiently, into the marketplace. Any guesses what people are going to use that hardware for when Bitcoin crashes?

Post Posted: February 19th, 2014, 6:40 pm

I'm getting the exact same behavior with a different HDD, and different OS. (Ubuntu VS Windows)

Post Posted: February 15th, 2014, 8:47 am

When I turn the PC on, it will make it partially through the Windows boot screen, then the PC powers down. If I start it again, it will go through the bad shutdown screens, partially through the boot screens, then shut down. If I get into BIOS on startup, the PC will stay on until I exit BIOS and tr...

Post Posted: February 14th, 2014, 3:09 pm

Displaying a strength meter I like. Forcing users to use "strong" passwords I don't like.

Post Posted: February 14th, 2014, 3:00 pm

You could use a helper function, that wraps what usually becomes a complicated ternary statement. [code]function dfi($default, $for, &$in) { return empty($in[$for]) ? $default : $in[$for]; } $a = 6; $b = 7; $c = dfi($b, 'a', $GLOBALS); var_dump($c); $d = dfi('default value', ...

Post Posted: February 13th, 2014, 7:32 pm

Logical operators return true or false. Bitwise operators work a little differently.
Code: [ Select ]
<pre><?php $a[0] = 7; $a[1] = 3; $a[2] = $a[0] | $a[1]; var_dump($a); ?></pre>
[code]array(3) { [0]=> int(7) [1]=> int(13)...

Post Posted: February 11th, 2014, 5:13 pm

MySQLi. Unless you want to experiment with database engines other than MySQL.

Post Posted: October 25th, 2013, 9:04 pm

I Wish I could. :D

Post Posted: October 15th, 2013, 3:08 pm

Host names are a pain in the butt. Even on a home network, I've had host based operations cause computers sitting right next to eachother take multiple seconds to communicate.

Another gotcha I've been running into, is IPV6 based stuff causing timeouts due to old networking equipment.

Post Posted: August 19th, 2013, 6:25 pm

I was a little annoyed that day, about how many people I know, who complained about the crazy rules websites apply to passwords these days. That, and I took Thursday/Friday as vacation days last week, so yeah, I was a little bored. :)

Post Posted: August 17th, 2013, 6:56 pm

Assume for a second that nobody imposed rules like " must contain a number ", or " must contain an uppercase letter " on passwords. Take a password like "mydogsname". It's 10 characters long. for simplicity sake, assume passwords can contain a-z, A-Z, and 0-9, that's 62...

Post Posted: August 13th, 2013, 1:56 pm

I'm using an Arduino Mega, which has 54 digital IO and 16 analog input pins. I'm likely going to ignore the Pi for my needs. The Pi is cool, but I think it's better suited for UAV and mobile applications. Not things in buildings where I'm going to get more bang out of say, an old P4 desktop.

Post Posted: August 12th, 2013, 7:16 pm

I skipped the TTS hardware, and started playing with a command line utility called "pico2wave". It's not perfect, but I did get the PC speakers hooked up to the server to start announcing events for proof of concept. The Arduino is basically just an Ethernet enabled input collector and rel...

Post Posted: August 11th, 2013, 5:30 pm

I like the potential for an arcade-like setup for some types of applications, online. I come across a lot of people who end up pirating software, because they only need to use it for a single project, or a couple of projects. It's just not cost effective to spend a few hundred dollars on something t...

Post Posted: August 10th, 2013, 5:18 am

Quote:
Why buy downloadable software when you can just go to some site?


Why produce downloadable software if it's easier to throttle piracy through a website?

Post Posted: August 10th, 2013, 4:38 am

Do what makes you happy.

Giving up the Internet because it could lead to sinful material seems a bit like giving up trips to the grocery store because they could have porn magazines behind the counter though.

Post Posted: July 27th, 2013, 6:50 am

Well here's your problem, these web crawlers are spidering up all your bandwidth!

Post Posted: July 2nd, 2013, 6:38 pm

A screenshot of the current browser interface. The mobile version is just a bunch of buttons and text data.

Attachments:
home.jpg

Post Posted: June 17th, 2013, 6:30 pm

When Steve Jobs was in college, he sat in on a few calligraphy courses not really knowing why, it just interested him. There was really no market for the skill directly, but he did end up using things he learned in that class to develop some of today's computer fonts. My point is, if something inter...

Post Posted: June 4th, 2013, 7:01 pm

How is the RFID working out for you?

I've thought about stashing an RFID reader hooked to our garage door opener, behind our doorbell, then stashing RFID capsules in a few random objects around the yard in case our 2 year old locks us out of the house. :)

Post Posted: June 3rd, 2013, 4:55 pm

What started as playing with my sprinklers has turned into using an Arduino Mega with an Ethernet "shield" as a full fledged home automation system in the works. lol I'm using the Arduino Mega's digital pins to turn on relays for things like sprinklers, bathroom "fart fans", gara...
What do I need to learn first? English. Attention to detail. There's no excuse other than laziness for the spelling mistakes in your post. You obviously have a computer, and a web browser. Both give you access to spell checkers, modern web browsers typically have them built-in and inform you of mis...

Post Posted: March 6th, 2013, 4:52 pm

Computer networking, or social networking?

Post Posted: March 6th, 2013, 4:49 pm

Makes no difference to me, I'll use whatever's available. :)

Though, given I'm moving more towards browsing the web from my phone, something that works well with speech-to-text would be nice. That might just be me pondering about how to program from my phone lately though. :)

Post Posted: March 1st, 2013, 5:15 pm

Happy birthday, man!

Post Posted: February 17th, 2013, 1:24 pm

Not with any of the standard selectors. It will be easier to write a script that fixes the XML input than it will be to find and figure out any non-standard XSL based solutions.

Post Posted: February 13th, 2013, 6:25 pm

As a forward, I direct you to Thomas Edison VS George Westinghouse , AKA AC Power VS DC Power. I believe that age old knowledge of AC being better than DC is going to change in my life time. Reason being, more and more of the things we use in our homes operate on low voltage DC power. Also, we are c...

Post Posted: February 12th, 2013, 4:47 pm

Try/Catch ?

http://php.net/manual/en/language.exceptions.php

Post Posted: February 6th, 2013, 5:24 pm

I hadn't, but I like the sounds of it.

Kinda funny, I was just watching a documentary about a gambling regulator that rigged slot machines to pay jackpots when specific sequences of coins were entered.

Post Posted: February 5th, 2013, 1:49 pm

I don't want the overhead of managing "bad" addresses with iptables, so I'm thinking have iptables DROP all SSH/FTP/etc traffic except for mine. Problem with doing that though, is when my IP changes I'm locked out, if I want to login from anywhere else I'm locked out. So, I figured I can s...

Post Posted: January 24th, 2013, 10:32 pm

I learn quicker under public scrutiny too. I think the pressure of looking like a moron makes us forget the distracting elements of our lives and focus on the task at hand. :)

Post Posted: January 20th, 2013, 2:10 pm

One of the issues I've run into with the time attributes of the directories, is that when I update or add a file in one of the previous directories, the ctime/mtime of that old directory gets updated. So it makes that old directory look new since ctime and mtime are the same on this particular syste...

Post Posted: January 19th, 2013, 4:14 pm

I haven't been able to find anything to find the creation date of a directory, but I do create directories by copying a template directory and there's a file in that directory that doesn't change so I can use the last modified date of that file. It seems crude, but it works. [code]find /path -name \...

Post Posted: January 19th, 2013, 10:32 am

I'm looking for a bash/sh command I can use to output only the creation date of the most recently created directory in a sub-directory.

Post Posted: December 30th, 2012, 5:19 pm

Sounds like the server selectively redirects visitors depending on the referrer. Who is responsible is up for debate, but behavior like this is typically the result of the website being hijacked.

Post Posted: December 20th, 2012, 5:57 pm

Try experimenting with metaphone. If Y is a constant, it should show up in the resulting metaphone string.

Post Posted: December 20th, 2012, 5:25 pm

Im on a phone so looking up manual pages is tough right now.. Does php have soundex functions? I remember mySQL had a sort of "soundz like" function, it seems liks php did too. Im wondering if doing a comparison between the word and vowels could work in some way.

Post Posted: December 20th, 2012, 5:14 pm

Sounds great! I especially like the sounds of the marketplace.

Post Posted: December 11th, 2012, 9:25 pm

Could this salary gap have anything to do with why you're looking for a new job? I get the feeling someone where you were started looking into average salaries for your position (perhaps all positions) and that average has just gone down, perhaps due to younger, less experienced employees trying to ...

Post Posted: December 9th, 2012, 7:52 pm

I think Apple is going to dive into the TV market, and pull a lot of advertising back onto a TV-like platform from the Internet. Most people I run into these days are paranoid about the behavioral information collected about them online. They would rather just sit through TV commercials anonymously ...

Post Posted: December 9th, 2012, 1:51 pm

Seriously, there's no standard for machine identification to come pre-installed on computers these days? Amazing, isn't it?

I used to think a MAC address was something that could be used for this purpose years ago, until I discovered I could change the MAC address on my router.

Post Posted: December 9th, 2012, 12:50 pm

I wouldn't depend on this double extension gimmick. It's complicated. More complicated than say, setting up the server to process JS files as PHP. That said. I don't like to make externally linked JS/CSS files dynamic because it ends up defeating the purpose of my caching efforts. I load a static JS...

Post Posted: December 9th, 2012, 12:41 pm

This sounds like a nightmare. I think I would leave these websites running PHP < 5.4.0 and move on with any new websites. Maybe pick the websites profitable enough to warrant a re-write and move them over as time permits. It's been awhile since I've worked with servers, but remember GET variables...

Post Posted: September 11th, 2012, 3:23 pm

Had another experience with cable a few months ago. A contractor came out to do the install months earlier and ended up running a new line from the pole to the house because he didn't like the way the old one was grounded. Well, a few months ago we had a storm and that new lines ground/support snapp...

Post Posted: August 27th, 2012, 3:27 pm

Code: [ Select ]
foreach($test as $key => $val)
{
  $test[$key] = gethostbyname($key);
}
  1. foreach($test as $key => $val)
  2. {
  3.   $test[$key] = gethostbyname($key);
  4. }

Post Posted: August 18th, 2012, 6:15 pm

[code] <legend>Dependencies (open)</legend> <select name="dependencies_open[]" multiple="true"> <?php echo relay::dependency_options(); ?> </select> <legend>Dependencies (closed)</legend> <select name="dependencies...

Post Posted: August 18th, 2012, 7:50 am

I'm managing electrical relays. The relays can have "open" and "closed" states. When setting up a new relay I use two <select multiple> HTML elements with duplicate options for "open dependencies" and "closed dependencies". A relay can not be both open a...

Post Posted: July 28th, 2012, 10:53 am

Listen to the error messages, not to me. :)

Post Posted: July 28th, 2012, 10:47 am

Jobs are like girlfriends. All you need to do is be able to get 'em done, and not do anything to suggest you're going to haul ass and leave them hanging. I would say the biggest red flag employers for traditional jobs are are going to have with you, SB, is how much you seem to move around. You do ap...

Post Posted: July 28th, 2012, 10:40 am

Search results seem to indicate there are settings in iTunes you have to play with for unicode characters.

Post Posted: July 28th, 2012, 10:30 am

Did you go through the file and add "static" in front of all of the method definitions, instead of only marking the ones mentioned in error messages? If you did, remove the keyword from the definitions mentioned in your new error messages. Only mark methods static if they're mentioned in o...

Post Posted: July 28th, 2012, 6:38 am

Lomic, it looks like you copied the PHP file as a backup and left it in the same directory. "old_phpbb_captcha_gd_plugin.php" I suspect phpBB is scanning that directory and loading any PHP files it finds. Either rename your backup to "old_phpbb_captcha_gd_plugin.php.bak" or move ...

Post Posted: July 27th, 2012, 2:48 pm

Here's the manual page for static methods/variables in PHP. http://www.php.net/manual/en/language.oop5.static.php Now, what those error messages you're getting mean, is that phpBB hasn't used that "static" keyword when defining the methods phpBB is using. What I have been doing is going th...

Post Posted: July 23rd, 2012, 2:05 pm

You know, I've seen people come up with all sorts of ifs, ands, and buts for defining the difference between personal and commercial use over the years, but frankly, the definition of "commerce" is pretty cut and dry. Social dealings between people If you're interacting with other people, ...

Post Posted: July 23rd, 2012, 1:57 pm

I don't think that has anything to do with it Zealous. This is more to do with the PHP developers imposing stricter rules on syntax in order to increase the performance of the PHP processor.

Post Posted: July 18th, 2012, 1:38 pm

The methods I changed in captcha_factory.php
Code: [ Select ]
public static function &get_instance($name) public static function garbage_collect($name) public static function get_captcha_types()
In phpbb_captcha_gd_plugin.php [code] public static function &get_instance() public static function ...

Post Posted: July 11th, 2012, 5:52 pm

Ran into some more instances of this while setting up "Spambot Countermeasures". It's looking like a couple of ACP modules are affected. I'm guessing there's going to be some in the UCP and MCP modules. //Edit -- The CAPTCHA is also affected, which will hamper registrations. I had to mark ...

Post Posted: July 11th, 2012, 3:28 pm

While trying to install phpBB3 on a Windows Vista computer that's running Apache 2.2.22 and PHP 5.4 I was getting an error about Strict Standards . Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in .\phpBB3\includes\utf\utf_tools.php on line 1781 Now, I hav...

Post Posted: July 3rd, 2012, 2:14 pm

Maybe the ban is being applied to your 403 page. I don't remember the precedence of "allow/deny" configuration options off the top of my head, but I'd try specifically allowing access from ALL for that 403 page.

Post Posted: April 13th, 2012, 4:24 am

The only options HTML itself has are those mindful mentioned. Realistically, SSI and PHP are doing the same thing, just in different ways.

Post Posted: April 13th, 2012, 3:39 am

Look for the position of "Domain status", then look for the presence of "available" in the 30-ish character substring starting from that position. [code]$position_of_ds = strpos($response, 'Domain status'); if($position_of_ds === false) { exit; } $focused_on = substr($response, $...

Post Posted: April 1st, 2012, 8:45 pm

I know the powerball pays about %60 if you take the cash option, so using that standard against the 3 winners of $640 million, that means $212 million per-winner which puts %60 at $128 million cash. If I were to put $128 million in savings accounts at 1% interest that would work out to $1.28 million...

Post Posted: January 27th, 2012, 7:25 pm

Alright, which one of you guys sent the rain over here?!

Post Posted: January 25th, 2012, 5:48 pm

I'm right across the Skyway from Daemonguy, and I actually broke a sweat outside today. :D

Post Posted: December 24th, 2011, 1:35 pm

I'm thinking a copy of the table could be made in a couple of minutes tops, especially if they're MyISAM tables and one were to explore copying the files MySQL uses to store these tables as suggested in the first paragraph of this page . (then seconds rather than minutes) Then, ALTER TABLE to add an...

Post Posted: December 24th, 2011, 7:12 am

Hard to believe that many years have gone by already. What a ride! :D

Post Posted: December 18th, 2011, 10:18 am

I'm curious what sort of logic gets applied to the conversion from table to table. My first thought is to copy the table and use ALTER TABLE and maybe a few tricks that could utilize indexes instead of processing every row when applying the logic.

Post Posted: November 12th, 2011, 8:05 am

Looks like IE9 on Windows Phone 7 considers an HTML5 <input type="email"/> to be <input type="text"/>. Dumping the element's attributes via Javascript shows the type attribute as "text". [code]Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Tr...

Post Posted: November 12th, 2011, 7:02 am

I have a Windows Phone 7 smartphone. When I'm filling out a form using a phone application , some of the text areas will trigger useful little extras in my phone's on screen keyboard. For instance, entering an email address or website address usually brings up ".com", ".net" and ...

Post Posted: November 7th, 2011, 5:00 am

A week seems like it would be a long time for food related symptoms to come about. Maybe it's a normal cold, and the burping is unrelated. The only things I am aware that I am allergic to is Erythromycin and Sulfa. Ha. I had to take erythromycin a few times as a kid to clear up chest colds because I...

Post Posted: November 5th, 2011, 4:46 pm

Eat anything new lately? Maybe you are allergic to some ingredient. That whole gas pains, belching thing just seems odd, I've never heard of a cold doing that to someone before.

Post Posted: November 5th, 2011, 10:47 am

And here everyone says this is "the most wonderful time, of the year". :D

Post Posted: October 19th, 2011, 2:53 pm

In the simplest form, yes. You might want to at least make sure the array counts of each field match (ie same number of ages as names)

Post Posted: October 17th, 2011, 5:16 pm

Give your fields names like this.
HTML Code: [ Select ]
<input name="names[]"/> <input name="ages[]"/>
Setup your form action to print the contents of $_GET (assuming your forms method remains as the default GET method). [code=php]echo '<pre>', print...

Post Posted: October 15th, 2011, 9:45 am

Depends on the database engine. If you're using MySQL like I assumed you are, LOAD DATA INFILE is designed to work with CSV files.

Post Posted: October 15th, 2011, 9:43 am

I would use a single 52 element array for a deck. Then randomly pluck cards from that deck using splice/slice/lcg_value and adding them to an array of hands.

Post Posted: October 13th, 2011, 3:32 pm

I'd remove the following stuff. It looks like the application you used includes possible lines in output even if they don't contain valid values. For instance, I believe INDEX() should have a column name in the (), the CONSTRAINT, FOREIGN KEY, and REFERENCES should probably have arguments too. ON DE...

Post Posted: October 12th, 2011, 2:12 pm

In that case, I'd skip having PHP work with the CSV file all together. Well, other than retrieving it maybe. Fetch the CSV file, then have MySQL import that CSV file into the database via LOAD DATA INFILE. From there, maybe have a CRON job or something export from the database to static JS files in ...

Post Posted: October 10th, 2011, 5:57 pm

How much control do you have over the server? Are you able to use MySQL's LOAD DATA INFILE?

Post Posted: October 10th, 2011, 3:41 pm

Do you need historical records? If not I'd forget about using a database. Depending on which version of PHP you're using, there's the str_getcsv function, or the older version compatible fgetcsv that will work with a traditional fopen file handle.

Post Posted: October 8th, 2011, 10:29 am

Worked like a charm, thank you! :D

I thought there was some sort of flag like that, I gave up on it when I came across the CGI example at Apache's site earlier though. Been a few months, I've gotten rusty. ;)

Post Posted: October 8th, 2011, 9:02 am

Anyone want to start placing bets on how long it is before Apple tanks without Steve Jobs around?

Too soon, nah. Jobs was used to being ahead of his time anyways. ;)

Post Posted: October 8th, 2011, 5:03 am

Found something called "Extended Redirection" on the Apache website ( here ) which makes me believe this will be more trouble than it's worth. It suggests setting up a new URL scheme, a CGI program, and by the looks of things it's just sending an intermediary webpage with an HTML link on i...

Post Posted: October 8th, 2011, 4:47 am

The new layout of this website has the contact details of the company listed in the footer of every page. Thus I want to redirect all requests for the old "1234.html" style contact page built using a hosting companies in-house builder, to the website index with the anchor of the contact de...

Post Posted: October 6th, 2011, 2:21 pm

I was talking to my neighbor, who has been waiting for the new iPhone to come out for awhile now so he can upgrade his. I think he should look into getting another device since the recent update wiped out all of the important stuff on his phone anyways. I think the company, and their innovation is g...

Post Posted: October 5th, 2011, 4:46 pm

Coughwindowsphone7cough :D Did you get the Mango update yet? If not, you're in for a pleasant surprise. :D Installing now. I'm pretty happy about voice-to-text (which I'll probably end up using copy/paste from for forum/fb/etc posting on the go) and the multitasking. The Bing-vision thing looks pre...

Post Posted: October 4th, 2011, 5:09 pm

Coughwindowsphone7cough :D

Post Posted: October 3rd, 2011, 2:10 pm

I think the only place I've found tag clouds helpful in the last year or so, has been on forum search pages. Occasionally I find a new forum with subject matter I'm not too familiar with and having a tag cloud there sometimes leads me to click the tags instead of using the search.

Post Posted: September 25th, 2011, 10:23 am

Anyone ever seen something that will spell check just the text nodes and attributes such as ALT, TITLE, etc in an HTML document? It takes me a long time to skip over stuff like "href", "charset" and other syntax-specific things when using my text editors spell checker.

Post Posted: September 20th, 2011, 7:50 pm

Am I the only one who thought of Pablo Escobar type characters when they read the thread title?

Post Posted: September 11th, 2011, 5:15 pm

All of a sudden I had hundreds of 404 errors show up for a couple of sites in Webmaster Tools, and I hadn't changed anything in quite awhile. The URLs of the pages looked strange, they seemed to all be cut off at spaces in an otherwise valid URL. It took me awhile, but I eventually traced them to te...

Post Posted: September 11th, 2011, 6:05 am

I was sleeping at my dads house after working night shift. He woke me up and told me to watch the news.

Post Posted: September 11th, 2011, 4:42 am

Worked like a charm, Spoof. Thank you. :D

Post Posted: September 9th, 2011, 7:24 pm

Basically in "/etc/mysql/my.cnf", there is a configuration variable called "bind-address" which tells MySQL servers which IP address on the machine to bind to. The variable is set during the MySQL installation. In my case, the IP address of the machine will change now and then. I...

Post Posted: September 9th, 2011, 6:06 pm

Is there a way to have MySQL automatically detect the IP address of the machine it's on and set the "bind-address" configuration variable itself? This is a small home server using DHCP that's used periodically and I really don't want to go through setting up static IP addresses.

Post Posted: September 9th, 2011, 1:35 pm

I finally got a link from someone who had an old email that took me to the form I needed to fill out. Unfortunately all this time of them giving me the run around allowed for someone to cash that check and now Google is giving me a hard time.

Post Posted: September 7th, 2011, 3:27 pm

I'm happy with just a link that can get the ball rolling. At the moment I haven't been able to get anywhere with it.

Thank you, guys. :)

Post Posted: September 7th, 2011, 3:24 pm

If you buy scripts from the original script writers, instead of getting "nulled" scripts, you can get support from the people who actually wrote the script.

Post Posted: September 6th, 2011, 6:39 pm

Scrabble type games are a great way to increase your vocabulary!

Just out of curiosity, how many points does everyone average per-game? I average about 300 points.

Post Posted: September 6th, 2011, 2:39 pm

Tried Words By Post, it worked fine on my WP7 phone, but it crashed repeatedly on my friend's relatively new Android phone.

Post Posted: September 5th, 2011, 8:25 am

Yeah, that's the link that sends me in an infinite loop. It's looking like this isn't going to be easy.

Post Posted: September 5th, 2011, 7:28 am

So, I was robbed at gun-point walking home this morning and one of the things in my wallet happened to be a Google Adsense check. I've got a lot of things I have to deal with after losing my wallet, so I'm getting frustrated with Google's check reissue link sending me into an infinite loop. Can anyo...

Post Posted: September 2nd, 2011, 4:22 pm

Would it be out of the question to have your records iterate via column, instead of row? Since you can get the effect you want on a header row. What I mean is, instead of reading the list of items from top to bottom, you would read it from left to right.

Post Posted: August 23rd, 2011, 5:46 pm

I've been hearing a lot about words with friends. I think this is the first time I've been the person with windows who can't play a game. Lol No flash player on the HTC HD7, and the number of wp7 scrabble games is limited. I did find one that works on my phone, and is "supported" on Androi...

Post Posted: August 23rd, 2011, 2:52 pm

Anyone know of a scrabble available on both windows phone 7, and Android? I've found apps that are available for Android and iPhone.

Post Posted: August 22nd, 2011, 5:00 am

I've had a tough time staying focused and interested lately. For the last few months actually. What I need to do is constantly set goals for myself and work towards those goals, rather than blindly chasing dreams.

Post Posted: August 2nd, 2011, 7:06 pm

While looking at one of your website profiles in Google Analytics go to the Traffic Sources sidebar item. Under that menu go to the Referring Sites tab. This will bring up a list of referring websites, YouTube should be listed among them. Clicking on youtube in that list will drill deeper into youtu...

Post Posted: August 2nd, 2011, 6:57 pm

Voice commands are definitely nice on a phone. I've got a Windows 7 phone (HTC HD7) with voice commands and they really come in handy. hd7.jpg I can hold the "Windows key" which is the middle icon on the bottom of the phone for 2-3 seconds and tell it to do anything from "open calcula...

Post Posted: August 2nd, 2011, 5:48 pm

Could Apple actually afford to buy a small country for Apple zealots to move to now? It would be a land of turtlenecks, Starbucks coffee, and Apple products. PC devices would be illegal and being caught with one punishable by deportation.

Post Posted: August 2nd, 2011, 5:05 pm

What could Apple do with Barnes and Noble?

Post Posted: July 19th, 2011, 11:02 am

Seems like there was a lot more than 10K. :Scratchhead:

Post Posted: June 22nd, 2011, 6:41 pm

I'm at a bit of a loss what this error means. My best guess is that it's a permission issue somewhere, perhaps a garbage collection issue, maybe MySQL is leaving behind a bunch of temp files. This is the result of a cron job that runs every day. [code]Error on rename of './dbname/table_name@002d...

Post Posted: June 19th, 2011, 11:56 am

Definitely a cool alternative to the Google Chart API I typically use. The Google API returns images, whereas this stuff can be pretty interactive by the looks of it.

Post Posted: June 17th, 2011, 6:21 pm

Finally broke down and got an HD7 today. I love it so far.

Post Posted: May 28th, 2011, 11:37 am

It seems like the API types they're getting rid of are all things that probably cause endless duplicate content loops with all the website scrapers out there.

Post Posted: May 21st, 2011, 7:10 am

Remember, PHP is a "pre-processor". Nothing about PHP itself exists by the time Javascript is executed, only the things PHP generated before sending the page to the browser are known to Javascript. To make what you have work, you need to surround that $id you have on the second line in PHP...

Post Posted: May 19th, 2011, 6:30 pm

Yes. Use a "style" attribute and define your width inside that style attribute just like you would in a stylesheet. The style attribute works just like the rows and columns attributes. You can think of the style attribute like a place where you can apply CSS stylesheet rules directly to an...

Post Posted: May 18th, 2011, 6:35 pm

Flat files are basically what today's databases evolved from. You can think of a "database server" as a program someone has been writing for years which does all sorts of little tricks to improve the performance of flat files. Tricks such as keeping frequently requested data in memory so i...

Post Posted: May 18th, 2011, 6:14 pm

Did you remove the heatsink/fan from your CPU? If you did, how well did you apply thermal paste between the CPU/heatsink before putting it back together?

Post Posted: May 16th, 2011, 7:09 pm

When is the last time you've opened the case and cleaned the dust out of the CPU/graphics-card fans?

Post Posted: May 14th, 2011, 1:56 pm

Could be. Might be a good idea to take a break, then come back and think about what the code is doing once you've forgotten what it is you're doing.

Post Posted: May 14th, 2011, 8:21 am

What exactly are they doing, which warrants so much effort on your part? I would think it would be easier to just keep my spam filter trained if all that's happening is I'm getting spam emails from them. Hell, if it's a lot of email, I would just be able to train my filter faster. :)

Post Posted: May 14th, 2011, 8:16 am

I'd start here, and try to remember what I was thinking when I wrote this.

Code: [ Select ]
// Allowing the class to be accessible throughout the design
   $tpl = $this;
  1. // Allowing the class to be accessible throughout the design
  2.    $tpl = $this;

Post Posted: May 12th, 2011, 2:16 pm

The "no flash" notice says it should work on any browser with Adobe Flash installed.

Post Posted: May 11th, 2011, 3:17 pm

It all sounds like deceptive advertising to me.

In any event, I'm a fan of Western Digital's drives as well. Another one I've had success with is Maxtor. :D

Post Posted: May 11th, 2011, 2:20 pm

Yeppers. :D

Post Posted: May 11th, 2011, 12:29 pm

It automatically redirects me if I just go to the http:// version, so no big deal, but when I attempt to update/add https links to things such as my UCP in the "Favorite Links" section of my sidebar, the system is automatically prepending "http://" to my link, giving me "htt...

Post Posted: May 10th, 2011, 6:13 pm

Most of my visitors are on mobile devices. I would just have Javascript dynamically generate a "dial now" button beside the unlinked phone number when "iphone, android, blackberry, etc" were found in the user-agent. I don't think I've seen a mobile visitor yet with Javascript dis...

Post Posted: May 2nd, 2011, 4:47 am

It's been so long, I wouldn't be surprised if 25% of the people I hear talk about this today hear it wrong and think Obama was killed.

Post Posted: May 1st, 2011, 3:11 pm

What that code is doing, is looking at the output buffer while generating the string that the class should return. _toString is what's called a "magic method" in PHP classes. Basically, any time an instance of a class, for instance when it's passed to echo, needs to return a string for wha...

Post Posted: April 30th, 2011, 8:15 am

It's possible , but the only time it's going to happen is pretty much when you're trying to break something. [code]<?php class looker { public function __toString() { return '[' . ob_get_contents() . '] [appended]'; } } ob_start(); echo 'one', new looker(), PHP_EOL; ob_flu...

Post Posted: April 29th, 2011, 8:22 pm

Ah ok. Man, I remember my first experience with Paypals IPN. It was hard . It seems easy now, but it took forever it seems for me to get that initial ipn script working right, I don't remember where exactly I ended up getting information, it was probably a bunch of places, but I do remember abandoni...

Post Posted: April 29th, 2011, 5:24 pm

The most efficient way to practice with regular expressions in PHP is to save a web page or ten in the same directory your PHP script is sitting, load one or more of them with file_get_contents, and try to pinpoint various sections of those webpages. Other than that, the software you mention is the ...

Post Posted: April 29th, 2011, 5:19 pm

Make sure you're using an encrypted form from Paypal if you include the credentials in the IPN URL like that. Otherwise the username/password to access that area will be available in plain text via the notify_url hidden form variable. It's been awhile since I've worked with IPN so I'm not 100% sure ...

Post Posted: April 26th, 2011, 2:42 pm

I've had a feeling that Chrome was simply a byproduct of Google developing something that renders webpages to spot questionable stuff for awhile now. I still think they would utilize the millions of computers with the ability to gather and compile data first though, then send the render bots to anyt...

Post Posted: April 25th, 2011, 7:18 pm

That makes sense to me. Given so many websites use Google Analytics these days, I suppose it could even be possible for Google to get a pretty big sample size of whether there was actually content on the screen when the page loaded, via Javascript. It seems complicated at first, but really, they cou...

Post Posted: April 25th, 2011, 6:11 pm

Where would be considered "below the fold" on a website? I would think it would be the bottom of my monitor if my page is scrolled all the way up, but on the other hand I might think it's half-way down my page at any resolution.

Post Posted: April 24th, 2011, 3:59 pm

If you want to be safe, it would be a good idea to post a list of what the file names are. That way anyone who recognizes anything can say yes or no for each individual file, and perhaps explain what the file is for.

Post Posted: April 23rd, 2011, 11:20 am

Kind of seems like an overgrown rich text format. I have a feeling the only people who are going to get any use out of this, are affiliate marketers. :)

Post Posted: April 23rd, 2011, 11:15 am

Pffft. Women have been programming men since the beginning of time!

Post Posted: April 20th, 2011, 5:25 pm

var_dump, maybe? Possibly print_r with the second argument set to true so it returns instead of prints?

Post Posted: April 2nd, 2011, 3:53 am

Had I not seen this late in the day, I'd probably have had a knee-jerk reaction like I did with the local radio station's prank yesterday morning. :lol:

Post Posted: March 28th, 2011, 2:22 pm

I'm guessing that having your server load it in the background, parsing it, and sending it to the visitor, proxy-style is out of the question. It'd work, but I get the feeling this 3rd party wouldn't like it. Other than that, I'm thinking the same things you are. <iframe> it until they break d...

Post Posted: March 27th, 2011, 6:11 pm

I suppose it would be moot for Javascript if you're using something like the YUI compressor, which removes all whitespace anyways. Same goes for an opcode cache for PHP I guess.

Post Posted: March 27th, 2011, 5:26 pm

I'm curious as to whether using spaces instead of tabs can have a noticeable impact on execution performance in scripting languages such as Javascript or PHP. If you were to use 4 spaces in place of tabs, that would be 4 times as many bytes for the interpreter to look at while discarding whitespace ...

Post Posted: March 19th, 2011, 5:01 am

It's an Apache configuration directive. The contexts it's available in are server config, virtual host, directory, and htaccess. Here is a little more on How <Directory>, <Location> and <Files> sections work.

Post Posted: March 18th, 2011, 6:24 pm

As long as the file isn't being included, and "some.php" is in the request URI, I think you can use Apache's <Files/> wrapper.

APACHE Code: [ Select ]
<Files "some.php">
php_value memory_limit 128M
</Files>
  1. <Files "some.php">
  2. php_value memory_limit 128M
  3. </Files>

Post Posted: March 15th, 2011, 5:10 pm

Well, the password to access the database has to be stored in the script somewhere, doesn't it?

Post Posted: March 5th, 2011, 7:06 am

I think it depends on how strict the moderation of comments on the blog will be. If there's strict moderation, preventing side-tracking in the comments, then I'd go with an <aside/>. Otherwise, I'd go for a more generic <section/>.

Post Posted: March 3rd, 2011, 4:53 am

<Directory/> isn't available in htaccess, only server-config and virtual-host. Even then, I believe mod_rewrite is going to move the request out of the context of that handler before it gets a chance to be applied.

Post Posted: March 1st, 2011, 5:37 pm

Lawyers.

Post Posted: March 1st, 2011, 5:23 pm

There are two ways to see the string you're working with. The first is to do a simple redirect that attaches that string to the querystring so you can see it. The second is more complicated but gives you a LOT more debugging information. It's called RewriteLog.

Post Posted: March 1st, 2011, 5:19 pm

I get a nefarious feeling from it overall. I don't like seeing the word "bandit" in the name, that word suggests that it behaves like an outlaw.

How does it work, is it basically a "framework" style root kit for websites?

Post Posted: February 28th, 2011, 5:13 pm

Happy birthday, and good job with the school stuff lately! Remember, if the students weren't smarter than the professors, society would be going in a downward spiral. :D

Post Posted: February 25th, 2011, 5:13 pm

I would have to start looking through the access log for the site for references to the image at this point. I'd expect to see a 404 or 403 error along with the request telling me the path is wrong (404) or there's a permission issue (403)

Post Posted: February 24th, 2011, 7:01 pm

Determine which one most closely matches the keywords you want to target, and 301 redirect all of the other domains to that one domain. That way you can advertise in different ways with each domain if you want, for instance, the scalprs would probably be the easiest to promote by word of mouth, busi...

Post Posted: February 23rd, 2011, 5:08 pm

What happens if you replace

Code: [ Select ]
src="../


with this

Code: [ Select ]
src="/

Post Posted: February 23rd, 2011, 5:01 pm

I would focus on the art gallery site for now and not even think about the second site. Then down the road, setup the second website using a second domain and work on that.

Post Posted: February 16th, 2011, 5:00 pm

I spent a lot more time working on my own sites in the last 2 years than I did in previous years. Towards the end of last year I stated going to the gym and trying to get into being active again because I was about 50-ish lbs over weight. I picked up enough at Ozzu to get my sites to the point where...

Post Posted: February 12th, 2011, 9:20 am

Yes, you need to maintain a mapping of old-to-new and send 301 redirects pointing all requests for the old addresses to the new addresses.

How you will do this depends entirely on your current and future setups.

Post Posted: February 12th, 2011, 9:08 am

Figure out which one you can fix the fastest, and work on that one first.

Post Posted: February 11th, 2011, 3:47 am

If the developer actually used the <div> element in place of <h1> then yes, you need to get them switched out. It shouldn't be too tough to swap out all of the elements via find/replace and then applying the CSS used to style the <div> elements to the <h1> element instead. Th...

Post Posted: February 7th, 2011, 5:40 pm

One place to start looking is at something like memcache.

Post Posted: January 28th, 2011, 3:55 am

This is definitely close.

Attachments:
zC4WB.jpg

Post Posted: January 27th, 2011, 10:47 pm

A munny may not grow on trees, but it can certainly swing from them.

Post Posted: January 27th, 2011, 9:21 pm

I just looked at my numbers for both units using the new Adsense (version with /v3/ in the URL) UI. I love how that UI has all of the information available from way before the UI even came out. My CPC was just a couple of cents higher with the 300x250 VS the 250x250, but the Page RPM increased by 28%.

Post Posted: January 26th, 2011, 11:23 pm

\s is what's called a "meta character". Basically it stands for a group of characters. There are more meta characters, such as \d which means any numeric character, 0-9. \s means "whitespace", not just the space character, but tabs, newlines, etc. I tend to use \s instead of a li...

Post Posted: January 26th, 2011, 10:11 pm

split is a string method which will accept either a string, or a regular expression as a delimiter. In this case, it's splitting the string returned from prompt() using a comma, optionally including any amount of whitespace on either side of the comma to account for people who naturally put spaces a...

Post Posted: January 26th, 2011, 10:02 pm

That's new to me. The only people I've seen cursing them end up trying to instantiate a mobile home factory just to read the serial number on a gas stove. :scratchhead:

Post Posted: January 26th, 2011, 9:50 pm

I would do something like this. [code=javascript]function getNames() { var names = []; while(names.length != 4) { names = prompt('Enter 4 names, separated by commas:').split(/\s*,\s*/); } document.getElementById('nameList').innerHTML = document.getElementById('nameLis...

Post Posted: January 26th, 2011, 7:44 pm

Global variables get a bad rap from the OOP crowd, but they're actually very useful in some situations.

Post Posted: January 26th, 2011, 7:38 pm

"getElementById" gives you a hint at what the next element referenced in the chain will be, but appendChild is ambiguous. Should a reference to the element a node was appended to be returned, or a reference to the node that was appended ?

Post Posted: January 26th, 2011, 4:21 pm

Have you considered referencing a global variable "global $my_holder;" from "within the loop" ? That way you can assign whatever data you need in the format you need it (array, object, string, etc) then still have it "outside the loop".

Post Posted: January 25th, 2011, 5:51 pm

Something about chaining appendChild like that makes me cringe. I don't know why, but changing scope within a chain of command like that just seems wrong to me. convenient, perhaps, complicated and a nightmare to debug, likely. :)

Post Posted: January 25th, 2011, 4:16 pm

What's happening is that when you click the link, the browser navigates away from the current page before "urchinTracher()" has a chance to do it's thing. It's possible to tell the browser to wait for your event handler to resolve before navigating away from the page. This is done by using...

Post Posted: January 25th, 2011, 10:53 am

Depends on what you're planning on doing with them. Wordpress is more of a newspaper or magazine publication oriented piece of software, whereas Joomla! is better suited for a portal type site with no clear cut plans. Joomla! would probably be better for you, assuming your plans are as vague as your...

Post Posted: January 24th, 2011, 4:47 am

The browser I use isn't one of the ones with Google's "Safe Browsing" reports built in and I always forget to check the reports myself, so I wrote a small plug-in this morning that fetches the report and displays the results in a dashboard module for Wordpress. I've got the plugin availabl...

Post Posted: January 23rd, 2011, 9:31 am

Oh wow. I'd written IPv9 off as being one of Assneck's jokes. :D I was just looking on the IANA site, here http://www.iana.org/numbers/ , and came across an XML document ("Internet Protocol v4 Address Space") that looks like the current state of allocation, but I'm not sure. According to t...

Post Posted: January 22nd, 2011, 12:41 am

I noticed a lot of changes on my inner pages this time around, home pages pretty much stayed the same though. I was kind of hoping the few sites I started around Christmas would jump right in and catch up with their sister sites, no such luck though.

Post Posted: January 20th, 2011, 4:34 pm

It looks like starting April 4th 2011, Eric Schmidt will be stepping down as CEO of Google, and Co-Founder Larry Page will assume the role. Sergey Brin appears to be devoting his efforts to new products and Eric Schmidt will stick around to focus on new and existing business relationships. http://in...

Post Posted: January 17th, 2011, 7:22 am

You're using Paypal as the payment processor? Are you using the Paypal IPN in the background? If you are, I would look into including the transaction ID in the return page after they've subscribed along with a note to remember that ID, and asking for that ID in the registration form instead of a reg...

Post Posted: January 11th, 2011, 5:13 pm

So wait a second here, what happens to everyone connected to the "hotspot" if the iPhone gets a phone call, do they just get their connection cut off ?

Post Posted: January 9th, 2011, 7:47 pm

I'd like to think Goldman Sachs wouldn't just throw millions of dollars in the toilet like that, but given recent events, I really couldn't be too sure.

Post Posted: January 7th, 2011, 4:14 pm

That would certainly be easier than changing the way the date is displayed.

Post Posted: January 7th, 2011, 3:16 am

Laws on lights in my experience, can vary pretty wildly from area to area. For instance, where I live it's illegal to have a neon light around your license plate no matter what color it is, and the last I knew the blinking lights people were putting on their tire's air valves couldn't be red or blue...

Post Posted: January 6th, 2011, 10:44 am

Is there a way to setup a template to use for the dashboard layout in Google Analytics, or perhaps a way to copy the layout from another profile? Every time I setup a new website I end up going into an existing profile to make a note of which modules I have on the dashboard, then I go through all of...

Post Posted: January 6th, 2011, 4:53 am

I was looking for something just now and noticed this result in Google's SERP. The creation date for the thread is actually 1/5/2011, but it looks like Google is picking up the date I joined Ozzu and displaying that date in a way which, at least I, would decipher as the date the thread happened if I...

Post Posted: January 6th, 2011, 4:22 am

Call your local police department and ask someone there. Better yet, drive to the police station, and ask someone to come out and look at exactly what you want to do.

These sorts of rules change from area to area.

Post Posted: January 5th, 2011, 1:03 pm

If you don't know, the YMCA is a huge non-profit community enrichment organization with facilities all over the United States. Over the New Year the YMCA had a major overhaul of their logo/branding, and their websites launched. The websites are a lot easier to use and share a consistent theme betwee...

Post Posted: January 2nd, 2011, 3:30 am

ATNO might have forgotten that there's a customizable "Favorite Links" section in the top-right section of Ozzu. I bet he has things like the Unread Posts link there, like I do. :)

Post Posted: January 2nd, 2011, 1:24 am

I just looked at Digg's front page, and out of 17 links there are 4 with images beside them. 2 of those are advertisements and 1 of them is a "missing graphic" icon. So, out of 15 links, accounting for the 2 advertisements, 1/15 or 6% of the links on the front page have an image.

Post Posted: January 2nd, 2011, 1:15 am

I'm not sure whether Ozzu exactly has a "new since last visit", I don't believe I've ever used it if there is one. Ozzu does however have an unread posts feature that keeps track of what you've read.

The unread posts link is found under the "main menu" on the top-left.

Post Posted: December 31st, 2010, 12:12 am

After 2 months I'm still seeing one single result with a "translate this page" link beside it. My thinking at the moment is that sending the Content-Language header did tell Google which language the page is written in and has stopped the translation link from displaying. This one odd-ball...

Post Posted: December 30th, 2010, 2:45 am

Even if you use the following link?

http://www.ozzu.com/ucp.php?i=profile&mode=signature

Post Posted: December 30th, 2010, 2:43 am

Do they not teach you how to tell the difference between wants and needs where you guys went/go to school? Examples of a need would be things like food, education, shelter, etc. Examples of a want would be things like designer clothes, high end car stereo equipment, and gaming computer parts. A basi...

Post Posted: December 29th, 2010, 12:39 am

Some browsers do not pass along the status of disabled form elements. Technically, you should be able to test the status of various other form elements and determine what the value of the disabled items should be. For instance, if the checkbox is always checked and only there for display purposes, y...

Post Posted: December 26th, 2010, 5:40 pm

a-z0-9 = 36^8 = 2,821,109,907,456 = 2.8 Trillion possible keys It took Google years to index 4 Billion URLs, how quickly are people exhausting all of the possible keys here, and more importantly, are any of the domains being used for URL shortening staying in business anywhere near long enough to ex...

Post Posted: December 22nd, 2010, 9:53 pm

There was a reason I decided against doing that earlier, Spoof, but I can't remember what it was at the moment. :scratchhead:

Post Posted: December 22nd, 2010, 2:15 am

Declare "refreshId" as a global variable outside of the function so that future events can access it. Then attach a focus event handler to the container.

Code: [ Select ]
$('#container').focus(function(){
  clearInterval(refreshId);
});
  1. $('#container').focus(function(){
  2.   clearInterval(refreshId);
  3. });

Post Posted: December 21st, 2010, 9:14 pm

You know, I was just looking at a shortened URL the other day, and it was something like "domain.com/1jx820xu". Then I started thinking about the whole "SEO friendly" URL craze, which in turn lead to good old GET variables (?id=abcdef). Why not just go back to using GET variables?

Post Posted: December 17th, 2010, 11:57 am

Zynga certainly helped bring back an arcade machines with people pumping quarters into them non-stop mentality for video games. As far as I remember there were arcade games, then there were console and PC games and those started to kill off arcade games, then came the browser based games that haven'...

Post Posted: December 17th, 2010, 9:43 am

For some kids, their questions could be answered with a simple yes or no," he says. "For Mark, if he asked for something, yes by itself would work, but no required much more. If you were going to say no to him, you had better be prepared with a strong argument backed by facts, experiences...

Post Posted: December 15th, 2010, 11:38 pm

Sounds about right. You could probably use a subquery to get the largest room number, but there's a lot of ways that could break if rooms were removed or something. [code=sql]SELECT date_booked, COUNT(room_id) AS rooms_booked FROM bookings WHERE rooms_booked = (SELECT room_id FROM rooms ORDER BY roo...

Post Posted: December 15th, 2010, 8:37 pm

If a room can't be booked more than once in the same day, something like this should work.

SQL Code: [ Select ]
SELECT date_booked, COUNT(room_id) AS rooms_booked
FROM bookings
WHERE rooms_booked = 8
GROUP BY date_booked;
  1. SELECT date_booked, COUNT(room_id) AS rooms_booked
  2. FROM bookings
  3. WHERE rooms_booked = 8
  4. GROUP BY date_booked;

Post Posted: December 9th, 2010, 6:15 pm

I had a look around using the phrase you keep repeating and though I did find one result that looked promising at first, it all looks like snake oil to me when I read their EULA. Now, if a hard drive manufacturer provided free data recovery service for failed hard drives during the life of that hard...

Post Posted: December 6th, 2010, 4:35 pm

That's pretty slick Spoof. :D I gave it a whirl with bitwise operators, but didn't get anywhere with them.

Post Posted: December 6th, 2010, 8:37 am

I seem to remember a MySQL optimization article published by the MySQL site itself that says DISTINCT and GROUP BY are usually related and that you should try to use GROUP BY in favor of DISTINCT whenever you can.

Post Posted: December 5th, 2010, 8:26 pm

If only there were a way to prevent people from just going around copying websites so we didn't have 50 websites with exact same content, like some sort of, oh I don't know, copyright.

Post Posted: December 5th, 2010, 1:18 pm

I believe some of the off-topic forums such as Posting Games are not included in post counts.

Post Posted: December 5th, 2010, 1:08 pm

Although a lot of modern browsers support :hover for elements other than the <a> element, you'll still want to track the hover of the <a> element because it's more reliable. If your classnames are unique to these elements, you can target those spans with this. [code=css]a:hover span&...

Post Posted: December 3rd, 2010, 5:06 am

It's there; It's labeled as " [UTC] Western European Time, Greenwich Mean Time ". I went ahead and selected that option for your account if you want to take a look back and see which option it is. What I've learned to do when looking for my timezone in webpages on the Internet over the las...

Post Posted: November 30th, 2010, 11:45 am

I'm curious, have you still been running the system with the extra cores enabled since the CMOS reset ?

Post Posted: November 30th, 2010, 7:42 am

I managed to get two extensions written and approved last week. :D Outbound Links - Displays the number of outbound links in the current webpage, in addition to other link statistics when the button is clicked. Auto-Ipsum - Transforms special HTML comments found in webpages you're developing into bl...

Post Posted: November 28th, 2010, 1:27 am

Looks like the USPS is considering dropping Saturday deliveries.

The article make a couple of semi-valid points about people who receive checks and prescription drugs in the mail. Personally, I think it would just push people to plan a little better.

Post Posted: November 27th, 2010, 11:43 am

Hopefully Opera will work out the whole " doesn't work if there's not a <script> element in the webpage's source code " bug in extensions soon. It would also be nice if I could log into the account I submitted that extension under. When I use the "lost password" thing it ta...

Post Posted: November 26th, 2010, 9:00 am

It's now an extension for Opera. (Opera 11+)
https://addons.labs.opera.com/addons/ex ... uto-ipsum/

// Edit -- Wow that's spooky. I actually wrote the extension yesterday, exactly 3 years to the day after the previous update. :shock:

Post Posted: November 25th, 2010, 1:45 pm

Happy Thanksgiving!

I just got done eating. I had turkey, green bean casserole with French's onions, sweet potatoes with marshmallows on top, baked beans with bacon, broccoli and cheese, mashed potatoes, apple crisp, pumpkin pie, and vanilla ice cream. :D

Post Posted: November 25th, 2010, 12:53 pm

Always contact the moderator who has either replied to your Website Review, or sent you a PM about it. In your case, that would be labrego.

Post Posted: November 24th, 2010, 9:44 pm

It's definitely easier when you just want to locate and remove the URL, rather than parse it into pieces. If we take a look here , we can get a simplified syntax for an HTTP URL.
Code: [ Select ]
http://<host>:<port>/<path>?<searchpart>
I'll go ahead and start with that f...

Post Posted: November 24th, 2010, 5:14 am

On Ubuntu, Apache uses "apache2.conf" instead of "httpd.conf". If you look towards the bottom of apache2.conf you'll see something like this.
Code: [ Select ]
# Include module configuration: Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf
...

Post Posted: November 23rd, 2010, 12:11 pm

With Opera 11 beta available for download now, I figured it was time to take a look at some of the extensions already available for the new extension functionality. I went ahead and dug up some of the obvious ones people are going to be looking for, such as the PR and nofollow extensions, as well as...

Post Posted: November 22nd, 2010, 10:58 pm

The whole bringing your own keyboard to work thing sounds like me. I have a tough time being productive on a new keyboard. I've been drinking more coffee since getting a Senseo single-cup maker too.

Post Posted: November 22nd, 2010, 8:22 pm

Hopefully it was a software update that miffed it. :)

Is this a system you leave running constantly, or do you shut it off when you go to bed/etc ?

Post Posted: November 20th, 2010, 7:20 pm

In 2006 something called the Postal Accountability and Enhancement Act was signed into law. The spirit of that act appears to basically let the USPS operate more like a Corporation, than a Government entity. One of the provisions in that act would seem to suggest that when it made sense, for instanc...

Post Posted: November 19th, 2010, 6:51 pm

PHP has default values for every directive as you can see here . So, if the value you have in php.ini differs from the default value, then you may get unexpected behavior if you get rid of php.ini. As for loading php.ini files, there is no error notification code in the PHP source that handles loadi...

Post Posted: November 19th, 2010, 2:07 am

The funny thing is that there's probably a script to do exactly that stashed on the server in some obscure place.

Post Posted: November 17th, 2010, 4:47 am

I guess Richland is about 300 miles from the coast, but if there are days you can smell the ocean when you go outside, bringing the outside air directly into the computer is a really bad idea. Salty sea air is extremely corrosive. :)

Post Posted: November 16th, 2010, 8:32 pm

Did you know that when a weather forecast says there's going to be a 25% chance of rain, what that means is for the area they're providing a forecast for, 25% of that area will get rained on during the day ?

Post Posted: November 16th, 2010, 8:19 pm

whew. For some reason, it seems like last time I asked that question I was all alone and people thought I was crazy for doing it. :D Does having the side panel of the desktop tower off for the first year and a half of ownership count? No. Though, I do keep the side off of my main system now so I don...

Post Posted: November 15th, 2010, 5:38 pm

Am I the only one here who disassembles their systems to clean them periodically ? :scratchhead:

Post Posted: November 15th, 2010, 1:43 am

Don't say another word about it in public. Save every attempt he makes to contact you. Do not respond to him anymore. You should forget he exists unless, A) He tries to contact you, in which case you save whatever he sends then forget he exists again. B) A "lawyer" contacts you. If this ha...

Post Posted: November 13th, 2010, 11:15 pm

I just checked back on this, the number of reported duplicates has dropped drastically since I started adding the category name to the end of the item titles. I did find one instance where the new title was being reported, but when I looked at both of the URLs listed, they had different titles. It's...
  • Sort by
 
cron
 

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.