1,448 Discussion / Question Topics

Remove Filter
Member Avatar for Dani

As many of you know, DaniWeb now has an API. It (optionally) uses OAuth 2.0 and it supports both server-side and client-side implementations. The server-side method I have down pat. However, I had to hack together the clientside implementation, and although it works, I'm not sure it's done "correctly". I …

Member Avatar for Dani
0
911
Member Avatar for Dani

As of midday today, my AdSense account suddenly just stopped working (now it's only showing blank ads). I didn't receive any messages or notifications about violating AdSense policies. I have my domain opted as a valid domain in the account settings. What else can it be????

Member Avatar for Dani
0
104
Member Avatar for Dani

A question came up yesterday in the office as to whether Facebook feeds were indexed by Google? Moreover, if content is published to a Facebook fan page and subsequently posted somewhere elseweb, is it possible for the elseweb site to get the credit (and not have a duplicate content penalty), …

Member Avatar for Dani
0
201
Member Avatar for Dani

I have four memcached servers, 2 GB each. Each one averages about 1 set operation per second, and 500 get operations per second. However, the hit rate is incredibly low at only about 45%. Is this still efficient considering that, even taking into consideration only half of the get operations …

0
132
Member Avatar for Dani

I just got over my cold and am now back to work :) Sorry for the absense recently.

Member Avatar for javedsai
0
206
Member Avatar for Dani

We use DFP, but yesterday we got a third-party creative from an advertiser that was using Open X server. The ad tags looked like this: It took me forever to figure out how to set up click tracking with the thing, and I finally discovered it was the variable 'r'. …

0
103
Member Avatar for Dani

Some of my users are getting the following error message: 500 Internal Server Error - The size of the response header is too large. Contact your ISA server administrator. (12216) Internet Security and Acceleration Server Could this be from a cookie that is too big?

Member Avatar for CimmerianX
0
1K
Member Avatar for Dani

As of the last crawl of your website, you appear to be running vBulletin 3. One or more of the URLs found were: http://www.daniweb.com/software-development/c/threads/242548/1063562 http://www.daniweb.com/software-development/java/threads/326935/1395062 http://www.daniweb.com/software-development/vbnet/threads/26614/134458 Google recommends that you update to the latest release. Older or unpatched software may be vulnerable to hacking or malware that can hurt your …

Member Avatar for canadafred
0
178
Member Avatar for Dani

We have the valid URLs: www.daniweb.com/foo www.daniweb.com/foo/ www.daniweb.com/foo/1 www.daniweb.com/foo/2 www.daniweb.com/foo/3 If I want to disallow them all in robots.txt, are *both* of these valid and will they do the same thing? Disallow: /foo Disallow: /foo/ Will the latter also block the URL www.daniweb.com/foo or will that be interpreted as a …

Member Avatar for CimmerianX
0
190
Member Avatar for Dani

I'm trying to get PubSubHubbub set up but I'm rather confused. I understand the concept but the implementation is troubling me. To get my feet wet, instead of starting my own hub, I decided to use Superfeedr. I *think* I have it set up correctly, but I want to test …

Member Avatar for Dani
0
102
Member Avatar for Dani

I found the page once a long time ago but I can't find it again. Would anyone happen to know the URL to the Google FAQ page about adding your site as one of the Networks potentially listed under Social Network Referrals in Google Analytics??

Member Avatar for Dani
0
157
Member Avatar for Dani

I've been really struggling with regex lately ... I never quite got the hang of it. I'm currently hung up on trying to match on the following in my .htaccess file: ^foo/([A-Za-z0-9]+)/([0-9]+)$ The catch is that I want the alphanumeric string to *NOT* be one of a short list of …

Member Avatar for BigPaw
0
208
Member Avatar for Dani

So there is this new check mark feature where articles earn a ranking of 0-5 checkmarks based on the kudos awarded to the thread starter. The idea is to make it easy to find questions asked by seasoned DaniWebbers. What do you guys think about making questions with at least …

Member Avatar for diafol
0
311
Member Avatar for Dani

I'm trying to select rows from a table that meet a bunch of criteria, but one of the criteria is that a row doesn't already exist with two matching columns both being true at the same time. For example, suppose table t1 has columns: a, b, c and d Here's …

Member Avatar for BitBlt
0
293
Member Avatar for Dani

Is it just me, or has the site been acting super sluggish all day today?

Member Avatar for JorgeM
0
106
Member Avatar for Dani

Is there any way to set the long_query_time for the slow query log to less than < 1s? We consider anything over 0.5s something wrong. Or can you recommend any MySQL monitoring software that can handle a super high load without a super amount of storage space?

Member Avatar for pritaeas
0
626
Member Avatar for Dani

Super frustrated and just want to vent ... I've been spending ALL day trying to figure out why the site is taking about 5X longer to render itself today. I've double checked memcache, the database, load averages, etc. Any suggestions? I can't sleep :(

Member Avatar for Dani
0
99
Member Avatar for Dani

So I'm working on adding a bunch of new features to the site (stay tuned!) but I need to know ... WHY do you post on DaniWeb? * Are you trying to get answers to your own questions? * What value do you get from helping people? * Has DaniWeb …

Member Avatar for john.knapp
0
272
Member Avatar for Dani

[i]I found this in a few different places around the 'net - hopefully it's helpful:[/i] [font=Arial][size=5][color=#0000ff]Create a Desktop Shortcut to Lock Your Computer[/color][/size][/font] [font=Arial][size=2]You secure your computer by locking it whenever you're away from your desk. If you?re on a domain, by pressing Ctrl+Alt+Del and then clicking Lock Computer, you …

Member Avatar for MacroMonkey
2
1K
Member Avatar for Dani

Maybe it's just me, but I like taking online typing tests, ever since those Mavis Beacon days nearly 20 years ago. Gosh that makes me feel old, but I do turn 30 in three hours :-P In any case ... I wrote a typing test script. Check it out http://www.daniweb.com/typing/test

Member Avatar for Mike Askew
6
761
Member Avatar for Dani

[b]Flowcharting [/b] Pseudocode can almost be classified as half-code, half-text. Even as its name implies, it is semi-code. It is used by a programmer to outline the algorithms he or she has written, before they are actually translated into code. It is almost a high-level abstraction of code. For the …

Member Avatar for arielsandara.mije
0
438
Member Avatar for Dani

Hi, Due to Hurricane Sandy, my office currently has electricity but no Internet access, with no ETA (it's been nearly a week, and they are saying it might be another week). I desperately need to move our SVN server, hosted in our office, to our off-site servers hosted in Texas, …

Member Avatar for cguan_77
2
2K
Member Avatar for Dani

There's a new page in the bottom toolbar called "My Favorite Forums". Check it out and let me know if you find it useful as a starting place / replacement homepage.

Member Avatar for JorgeM
3
179
Member Avatar for Dani

Hey everyone, We haven't done a good contest here on DaniWeb for quite some time, so I'd like to start one up again :) Throughout the months of June and July, I'd like to encourage members to submit fully working code snippets to our library. Throughout the month of August, …

Member Avatar for L7Sqr
3
1K
Member Avatar for Dani

Just read that Slashdot and Sourceforget have been sold for $20M. It's actually quite a shame, because they were definitely sold at a loss in my opinion. Those properties were so killer back in the day ... you know, back when a site would go down because it was "slashdotted" …

Member Avatar for logo32design
0
104
Member Avatar for Dani

Hmm ... Is it just me, or when you vote with a comment, does the comment not instantly show up like it's supposed to?? It works fine in our dev environment and I can't figure out why it's not working for me in the live site.

Member Avatar for nitin1
4
196
Member Avatar for Dani

DaniWeb will once again be sponsoring the Percona Live MySQL conference coming up next month. You can go to http://www.percona.com/live/nyc-2012/ to register and use promo code DANIWEB to save 15% on tickets. DaniWeb will also be hosting the official after party for the Percona conference, which you can find out …

1
45
Member Avatar for Dani

Even though it's incredibly bad practice, most advertising servers still use document.write. It's terrible because placing `<script type="text/javascript" src="http://www.ad-server.com/foo.js" />` where you want the ads to appear is page blocking. I'm trying to move the script tag to the very bottom of the page (so at least everything above it …

Member Avatar for Troy3
0
2K
Member Avatar for Dani

Sooooo ... crazy huge thanks to James #2, I think that we officially have liftoff when it comes to marking threads read. Most of the code that goes into this functionality was way above my head, and took me about three hours to comprehend 100 lines of code tonight, so …

Member Avatar for Dani
1
226
Member Avatar for Dani

Sorry about all the site downtime today. :( Long story short, there was a huge problem that was the fault of our hosting company. James #1 can explain further :)

Member Avatar for Dani
0
20
Member Avatar for Dani

Option 1: The "Show Comments" link will be fixed and only visible when there actually *are* post comments to show. Option 2: A post's comments will always be visible beneath a post (a la Stack Overflow and many other forums that have commenting systems). My concern is that this will …

Member Avatar for Dani
0
129
Member Avatar for Dani

What are some techniques that my forum can use to entice people to link to us?

Member Avatar for bellaswan
0
239
Member Avatar for Dani

Cast your vote in the Summer 2012 Code Snippet Contest :) **http://www.surveymonkey.com/s/CodeContest**

Member Avatar for TrustyTony
1
460
Member Avatar for Dani

Sorry to log everyone out, but I made a change to the login mechanism and the way cookies are stored to increase security.

Member Avatar for LastMitch
0
175
Member Avatar for Dani

Just want to remind everyone that the code snippet contest is wrapping up the middle of this week, so get the last of your submissions in! :)

0
166
Member Avatar for Dani

Hey, I was just wondering if you guys miss having article views? Is it an incentive to see how many views your article received? Or can you live without it? vBulletin's view counter was always just a simple increment counter everytime a thread was fetched from the database. However, that …

Member Avatar for gerbil
0
206
Member Avatar for Dani

So I just discovered a crazy bug that has been keeping visitors of the Opera web browser from using DaniWeb. Apparently there's a problem with CodeIgniter's CSRF protection that makes it not work with Opera, and I'm unsure of why. It works perfectly fine with IE, Firefox, Chrome, etc. I …

Member Avatar for diafol
0
312
Member Avatar for Dani

5 am and I lost track of time! No sleep for Dani! I made some massive changes to member profiles. Most of the changes are cosmetic, but there are two noticeable differences: 1. Activity points is now all time instead of just for today, because it was getting a little …

Member Avatar for Ancient Dragon
2
243
Member Avatar for Dani

In honor of the site relaunch, recent changes to the design of member profiles, and the new ability to change your username, I've gone ahead and taken that plunge myself. I've renamed myself from "cscgal" to "Dani". I feel I was long overdue to reinvent myself :)

Member Avatar for happygeek
0
34
Member Avatar for Dani

Now that there's a method to change a username, I think I'm going to take advantage of that. What does everyone think of me changing my username to Dani?

Member Avatar for JorgeM
0
229
Member Avatar for Dani

Finally brought back an old feature that's been on DaniWeb for years upon years ... related articles. What do you think of their relevancy?

Member Avatar for ndeniche
1
217
Member Avatar for Dani

The live editor preview that appears beneath the editor as you type (showing you what the final markup will look like in realtime) ... Yay or nay?

Member Avatar for Dani
0
335
Member Avatar for Dani

I'm feeling a little dumb when it comes to the editor that we are using, and I was wondering if anyone knew of any good online tutorials for an introduction to tokenizers.

Member Avatar for Airshow
0
114
Member Avatar for Dani

As many of you know, communities such as DaniWeb thrive on a constant source of new blood into the community. Existing members lose interest, personal lives take over, and even the most dedicated of members tend to stick around for a limited amount of time. The hard part is welcoming …

Member Avatar for TrustyTony
0
956
Member Avatar for Dani

We store a list of keywords in the database as a comma-delimited string. I want to use Sphinx to query against the field, but I'm worried that the keywords would all be treated as a single word since there are no spaces. I went ahead and edited the MySQL query …

Member Avatar for Dani
0
240
Member Avatar for Dani

I'm attempting to use Sphinx for the first time in awhile. require('includes/lib/sphinxapi.php'); // Sphinx Search API $cl = new SphinxClient(); $cl->SetServer($config['SphinxServer']); $cl->SetSortMode(SPH_SORT_RELEVANCE); $cl->SetMatchMode(SPH_MATCH_ANY); $articles = $cl->Query('Foo', 'articles delta'); If I then do `var_dump($articles);` it just always returns `bool(false)`. What am I doing wrong? If, from the CLI on the web …

Member Avatar for vfedorkov
0
741
Member Avatar for Dani

Sorry for the problem with cookies folks. People couldn't log in or post or anything. Problem fixed. Soooo sorry. I had no idea it wasn't working.

0
54
Member Avatar for Dani
Member Avatar for Dani

I've gotten a couple of reports lately that DaniWeb is crashing web browsers, but I can't duplicate this and don't know which browsers are involved. Can anyone confirm?

Member Avatar for LastMitch
0
385
Member Avatar for Dani

I added a new fade effect when hovering over ads. Does it make the ads more noticeable? Is it really annoying? If you accidentally hover over, you have to wait for the fade effect to go way.

Member Avatar for Sahil89
0
844

The End.