Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Computer science is a huge field, and I think the most important aspect is to first pick what interests you. After all, it's going to be your career!

For example, suppose you're interested in web development. We can help you figure out which web dev language is the most marketable nowadays. But first you gotta let us know if you're more interested in web development, or robotics, or ... the list is endless.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Awww, gah. Sorry about that. Darn, I feel bad. Was it salvagable at all when you hit the back button? I always copy my post to the clipboard before hitting submit in case something like that happens. Learned my lesson one too many times over the years!

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

So you don't think there's anything there that's useful but meanwhile half the links there are useful? I see how it is ;) hehe

<M/> commented: bum bum bummmm!!! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Click on the 'Forums' link in the footer toolbar.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
pritaeas commented: Nice. +14
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Someone won a game, someone lost a game, and someone won a contest.

<M/> commented: yep.... +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm confused.

<M/> commented: yep, that was expected lol +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Up until now, the chat logs have taken into consideration the time zone you have set in your member profile, and they are GMT time for people who aren't logged in.

However, they are now GMT time for everyone. This eliminates the confusion of a particular message towards the beginning/end of the day being listed under one date/page for one person and a different date/page for another person. This caused issues if people linked to a particular page of the chat log, or found a particular page of the chat log from a Google search, because the contents of the page (i.e. page 2 of August 1st) were different for everyone.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

The IDE you use is ultimately just a feature-rich editor. Your C++ code ultimately behaves and functions pretty much the same regardless of which editor or IDE you used. A buggy IDE can make it a bitch to code with, but only you, the coder, would ever be affected.

Frameworks are an integral part of the finished product. When it comes to a framework, any of your own code is called from within the constraints of the framework (in fact, your code can't stand alone), and essentially is only ever as secure and stable as the framework itself. Any bugs, issues, potential exploits or security breaches in the framework would always carry over to your finished product.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

... says the person who has a 97% post quality score ;)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

When we switched over from vBulletin to our own unique platform back in March 2012, one of the things that changed was the way that post quality score was calculated. Most members noticed their quality score had suddenly changed by a few points.

Since then, however, over the past year and a half, there have already been two separate instances of members complaining that an ill-willed member went on a downvoting spree with the sole intention of being malicious and affecting their quality score.

Our original formula for calculating post quality score was much better at softening the effects of this type of malice, and therefore I've decided to revert to the previous calculation.

Once again, you'll notice a change in your quality score today. I apologize for the confusion.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

AFAIK there are no broadcast 3d programs -- only 3d movies, and you'd have to buy a 3d movie player to watch them.

I have Time Warner Cable and they have 3D programs on demand. Some are free and some are pay-per-view.

Also, I have a Samsung 3D TV, and it has an option to convert any standard 2D show (on cable tv, dvd, etc) to 3D. It does a pretty good job of figuring out depth in real time and presenting regular ole tv in 3D. Of course, it's a bit of a gimmick, so I rarely do so because of the time, energy and effort involved in getting out the 3D glasses and going through the tv's menu to enable the darn thing. Too much work to just be a couch potato in front of the tv ;)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome to DaniWeb

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Davey submitted your entries into the competition while you were tending to more important matters. hint hint

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Change $this->$data['assets'] to $this->data['assets']

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Good luck!! :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

No, because I'm using Memcached::increment(), not Memcache::increment().

http://php.net/manual/en/memcached.increment.php

Memcached::increment() does create an item if it doesn't already exist.

Thanks anyways though!! :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Consider that this can happen also with unknown keys, could this be an attempt to find your encryption key?

Who knows :) I've decided to give up and permanently switch to using unencrypted session cookies, which no longer throws any PHP warnings if there is invalid cookie data. There's no super sensitive information in our session cookies anyways, so ultimately no necessity in encryption/decryption overhead.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

After hounding James that the issue isn't on my end, he finally found the server issue causing the problems!! :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

So if I changed my mind and decided not to login with Google and click on Cancel button

Not within my control to change.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Glad to be out of school for many years now :)

ChrisHunter commented: Couldn't agree more! +0
<M/> commented: Lucky.... +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm not sure who's paying who, but clearly StackOverflow spent a great deal of their venture capital money on hiring business and marketing people to make some very strategic alliances.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

No idea, sorry. And yeah, that title scared me.

<M/> commented: sorry about that :D +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome :)

andreea.leau commented: thank you Dani :) +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

In that example, you're fetching from a MySQLi resource (database).

Instead you would do this

$api = file_get_contents('http://themesnmotifs.com/api/wp/f6f60a0e7091a627641f01b9d1dd7536ea4b8496/list_wp');
$api_object = json_decode($api, true);
foreach ($api_object AS $row)
{
    echo $row['Company'] . " " . $row['wp_phone'];
    echo "<br>";
}
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

That looks like JSON to me.

You can convert it to a PHP object using the json_decode() function.

$api = file_get_contents('http://themesnmotifs.com/api/wp/f6f60a0e7091a627641f01b9d1dd7536ea4b8496/list_wp');
$api_object = json_decode($api);
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have no clue what you're talking about, sorry. Are you talking about using html microdata to indicate authorship to Google? If so, that means telling Google who wrote content on your site by linking to the author's profile on your site or Google+ profile.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Aww, I feel left out. Everyone else who wished you congrats got reputation :(

JorgeM commented: haha, I had dedicated a response in a post just for you. +0
<M/> commented: lol +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Sorry for being late to the party but congrats!!!! :)

JorgeM commented: Thanks!!!!!!!! +0
<M/> commented: *gasp +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Thank you for your feedback. It's going both ways now, so I am gauging success based on user interaction. Actions speak louder than words :)

You can log in by clicking the link to log in at the top of the page. It's presumed that most members remain signed into the site, and I want to present prospects with the fewest number of options to streamline the process.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yeah, I'll fix the verbage.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I started collecting data today to measure a visitor's viewport size (the size of their browser window) and not just their screen resolution. I'm going to use this information to make informed decisions regarding making DaniWeb play nice at lower resolutions.

What I've learned so far is that nearly all people seem to be browsing at 1300 pixels or higher width, which is great. However, browser height is much smaller than I thought it was (damn widescreen laptops to blame!). Therefore, I'm going to work on making the fixed header/footer not fixed at smaller resolutions so they don't occupy so much vertical real estate.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I was just able to et this to work:

<script type="text/javascript">
<!--
    $(function() {
        var viewport_width = $(window).width();
        var viewport_height = $(window).height();
        _gaq.push(['_trackEvent', 'Viewport Dimensions', 'Viewport Width', viewport_width + 'x' + viewport_height, viewport_width, true]);
        _gaq.push(['_trackEvent', 'Viewport Dimensions', 'Viewport Height', viewport_width + 'x' + viewport_height, viewport_height, true]);
    });
//-->
</script>
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Also in related topics (right box) I get articles from restricted areas, as this link which is in Moderators forum:

Thanks for the catch!! Bug fixed :)

cereal commented: you're welcome! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Will look into the browser issues momentarily.

In the meantime, Rev, as you browse the site, the little number in parentheses next to Chat in the bottom toolbar tells you how many new messages are in your shoutbox. Additionally, when someone posts a message in there, it shows a very subtle message that says "New Chat Message".

Reverend Jim commented: Awesome +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'll make it a top priority to improve mobile usability next week.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Whoever came with the lame (sorry) idea to begine with, should probably stay away from decision making second time around. It was horrible idea.

Unfortunately that was my idea, and it really did ad to the ad performance big time, which is great. But I'm semi-regretting the decision but now we have all of our advertisers wanting it and it's the first time in a looong time we've been sold out for this long, so ... eh ... I increased the delay and we'll see how it goes. It's all about finding a happy compromise I think.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I used to be a fan of this site, when I first joined. But, switched to Stackoverflow and never looked back.

Aww, sorry to hear that. You should check out this thread: http://www.daniweb.com/internet-marketing/search-engine-optimization/news/459242/stackoverflow-stole-all-our-search-traffic

One, of the most SUPER annoying this in this site, is the ads. I am not saying remove the adds, but whenever I move my mouse, and hover of one of the ads, the screen becomes dark to highlight the ads, which... when it happends over, and over again, is quite annoying and borderline depressing.

A change was made recently so that you have to hover your mouse over the ads for a time period before this happens, so if you just move your mouse around normally you should be unaffected. Regardless, you can always go into your member profile and disable advertising completely.

Aside from those, with little more time/effort daniweb will flip the cards again.

Care to give any pointers/suggestions about what you like so much more about SO? :) Constructive criticism much welcomed.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

OK I'll fix that. Sorry, I thought it looked neater not having the bullet icons in some other places and I made a sitewide change. Just a quick CSS fix.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Sorry, missed pritaeas's post :(

So should I just remove all syntax highlighting from asm??

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Huh? I'm confused. Isn't MLM multi-level marketing? I did a quick google search and found that the binary plan is basically just a binary tree example of how MLM schemes work. Is this a homework problem you have?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

You can post a Job Offer in the Business Exchange section of the site if you'd like.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Thanks guys! What's funny is I'm already using the hashchange trigger elsewhere and for some reason I was still blank!

Here's what I'm doing. Works like a charm:

$(window).on('hashchange', function() {
    var header = $('#static-header.fixed');
    if (window.location.hash != '' && header.length) {
        var position = $(window).scrollTop();
        $(window).scrollTop(position - header.outerHeight());
        return false;
    }
});
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I went ahead and removed the file you attached because it contained sensitive data about members (which is why it was broken in the first place).

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

OK fixed. Sorry about that ... I changed something the other day that I had no idea was going to affect the API!

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

This is a pretty common technique in the social media scene nowadays: PR firms (mostly who don't even know any better) hiring "influencers" to talk about their clients' products in forums and on social media sites. In most cases, the PR firms simply don't grasp how/why this is against forum rules.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I've seen it used to reference PHP include files ... those PHP scripts that can't stand on their own but simply are helpers meant to be referenced from other php scripts.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I was able to get the user's email by asking for the permission https://www.googleapis.com/auth/userinfo.email instead of dealing with Google Plus.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Gah I think I missed you in live chat by about a minute. Let me know if it's fixed now.