• Member Avatar for Dani
    Dani

    Edited Convert C++ code in C language

    HI everyone, _SBLOCK *allocateMemBlock(size_t size) [ _SBLOCK *block = (_SBLOCK*)sbrk(0); void *memadr = (void*)sbrk(0); void *allocate_mem = (void*)sbrk(BLOCK_SIZE + size); if(allocate_mem == (void*)-1) [ return NULL; ] else [ block->next …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Intro To Oriented Computer Programming

    Can you please post your code here in the forums using our editor? It’s hard to read the blurry text in the screenshot. Thanks!
  • Member Avatar for Dani
    Dani

    Began Watching Intro To Oriented Computer Programming

    Hello Everyone!, I am currently a freshman at MATC(Milwaukee Area Techinal College) I am at the one Downtown in Milwaukee, and I am taking a class called Intro To Oriented …
  • Member Avatar for Dani
    Dani

    Replied To a Post in PPT submission?

    https://www.quora.com/What-is-PPT-submission-SEO
  • Member Avatar for Dani
    Dani

    Began Watching PPT submission?

    What is the use of submitting our ppt to the ppt submission sites?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Website Breadcrumbs are important for SEO?

    Yes, breadcrumbs are important for Google to understand your site's navigation. They may also display your breadcrumbs within their SERPs. Use schema.org breadcrumb markup.
  • Member Avatar for Dani
    Dani

    Began Watching Website Breadcrumbs are important for SEO?

    Because google ask about breadcrumbs in google webmaster of your website.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Donation question

    Per our private convo, you're a sponsor now. To avoid this from happening in the future, please click the Donate button while you're logged in so the transaction can be …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Google Rank Factors

    There’s thousands of them. Focus first on EAT. Everything else will follow. https://www.searchenginejournal.com/improve-google-eat-score/270711/
  • Member Avatar for Dani
    Dani

    Began Watching Google Rank Factors

    What are the important Google Rank Factors?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Schema in Search Engine Optimization

    Absolutely it will benefit! Anything you can do to get Google to understand your content better is great. SEO is a combination of doing lots of different things. Just because …
  • Member Avatar for Dani
    Dani

    Began Watching Schema in Search Engine Optimization

    Hello Guy's I m learning schema from schema . org but I have a doubt my website is new and not having good DA PA then it will be any …
  • Member Avatar for Dani
    Dani

    Replied To a Post in CodeIgniter redis sessions

    Two years later and I'm *still* struggling with this.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Q. How to make your workplace productive?

    > And let's not mention the tag used above. Tag changed.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Q. How to make your workplace productive?

    Why are you making the assumption that the OP is taking about programmers / developers? Of course they need solid blocks of time to think clearly and make progress without …
  • Member Avatar for Dani
    Dani

    Began Watching Q. How to make your workplace productive?

    A. Engage in productive conversation with your colleagues, think of ideas that can make your project successful and make stop micromanaging each other. To attain a productive work environment, your …
  • Member Avatar for Dani
    Dani

    Edited Q. How to make your workplace productive?

    A. Engage in productive conversation with your colleagues, think of ideas that can make your project successful and make stop micromanaging each other. To attain a productive work environment, your …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Codeigniter Transactions

    > Since post counter as you say fails, that could be it's own transaction. Doesn't that completely defeat the purpose of a transaction, which is to ensure the database remains …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Codeigniter Transactions

    > So I take it that the insert into the post table fails. No, that isn't what happening. Per my initial post, when you reply to a topic on DaniWeb, …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Creating multiple sessions using Codeigniter sessions

    > Yes you are right. I want to open two browser tabs off of one click. Each tabs will be opening different sessions. This could be done with simple Javascript. …
  • Member Avatar for Dani
    Dani

    Created Does usleep consume CPU cycles?

    Someone posted a comment in the [php usleep manual](https://www.php.net/manual/en/function.usleep.php) that usleep() consumes CPU cycles whereas sleep() and time_nanosleep() do not. Is this true for PHP 7.x?
  • Member Avatar for Dani
    Dani

    Began Watching Does usleep consume CPU cycles?

    Someone posted a comment in the [php usleep manual](https://www.php.net/manual/en/function.usleep.php) that usleep() consumes CPU cycles whereas sleep() and time_nanosleep() do not. Is this true for PHP 7.x?
  • Member Avatar for Dani
    Dani

    Undeleted a Post in Which browser is best for SEO?

    FireFox and Chrome. I prefer these two browsers. Good Luck!
  • Member Avatar for Dani
    Dani

    Replied To a Post in Donation question

    Thank you so much for donating!! Unfortunately, your user account is not reflected as having done so. Would you be able to send me a private message [from this page](https://www.daniweb.com/connect/users/view/1) …
  • Member Avatar for Dani
    Dani

    Began Watching Donation question

    I sent a donation a week or two ago but never received an acknowledgement. Years ago I made one as well and received notice the $ was received. Is there …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Codeigniter Transactions

    So I'm doing it. I'm retrying a failed query from inside the transaction, and only rolling back the transaction if the query fails more than once. How dangerous is this?!
  • Member Avatar for Dani
    Dani

    Replied To a Post in Codeigniter Transactions

    OK, so from what I've been reading, this needs to happen at the application layer. I need to manually reissue all of the queries. Based on the way I'm doing …
  • Member Avatar for Dani
    Dani

    Created Codeigniter Transactions

    DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the …
  • Member Avatar for Dani
    Dani

    Began Watching Codeigniter Transactions

    DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the …
  • Member Avatar for Dani
    Dani

    Replied To a Post in DaniWeb is now ad-free!!

    You didn’t upset me at all! Sorry if I gave you that impression. Lack of emotions being perceived on the interwebs ‘n’ all. At the end of the day, it …
  • Member Avatar for Dani
    Dani

    Replied To a Post in DaniWeb is now ad-free!!

    > As a mod I think I want to see what most see. Or if I pay I need to toggle it on/off which is more work for you. As …
  • Member Avatar for Dani
    Dani

    Replied To a Post in DaniWeb is now ad-free!!

    > If you want to see the present mood on pay to play or such But is it really pay-to-play? DaniWeb has always been a commmunity forum, for the past …
  • Member Avatar for Dani
    Dani

    Replied To a Post in DaniWeb is now ad-free!!

    > I thought I had shared a thought here so here goes again. Are your posts not going through for some reason? Grr, I'm sorry. Yeah, unfortunately the landscape of …
  • Member Avatar for Dani
    Dani

    Replied To a Post in To AMP or not to AMP?

    > Because he's here on DW only just to get those links out And why are you on DaniWeb? If he participates just as much as you do in the …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Commenting bug /error

    You can’t comment on your own posts, if this is what you’re referring to. I am unable to reproduce what you’re saying.
  • Member Avatar for Dani
    Dani

    Created DaniWeb is now ad-free!!

    As of today, DaniWeb offers a completely ad-free experience to sponsors!! What do you think? Is it enough to sway you to donate $5/mo for all the benefits you get?
  • Member Avatar for Dani
    Dani

    Began Watching DaniWeb is now ad-free!!

    As of today, DaniWeb offers a completely ad-free experience to sponsors!! What do you think? Is it enough to sway you to donate $5/mo for all the benefits you get?
  • Member Avatar for Dani
    Dani

    Replied To a Post in To AMP or not to AMP?

    Don’t get me wrong. I’m not on that AMP bandwagon by any means. But I’ll be the first to say that you should use AMP and then still refuse to …
  • Member Avatar for Dani
    Dani

    Replied To a Post in To AMP or not to AMP?

    Then why don't you use AMP on the sites in your signature?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Commenting bug /error

    If you click the Comment button within a post, it is whatever post that you pressed the comment button from within that gets quoted. Your comment appears below the post. …
  • Member Avatar for Dani
    Dani

    Began Watching Commenting bug /error

    When clicking on commenting icon thats attached to post with quotation of other post, new window pops up letting us comment on tthe quoted post, not the post thats an …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Any dog parents? How do you keep your dog occupied?!

    We have a Dyson air purifier that has been going non-stop. The problem is I was born with no sense of smell or taste, so I have no idea if …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Any dog parents? How do you keep your dog occupied?!

    Yeah, the air quality hasn’t been the best. It makes it really difficult to keep Sadie’s physical and mental exercise needs met when we can’t really go outside.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Types of hat techniques

    Not sure if anyone mentioned it before, but Google is very pro-white hat. White hat techniques give your site a better navigation, improve the user experience, and aid googlebot crawlers …
  • Member Avatar for Dani
    Dani

    Began Watching Types of hat techniques

    Three types of hat techniques available in SEO. Sometimes i confused use this techniques. Can anyone explain me
  • Member Avatar for Dani
    Dani

    Tweeted htaccess Admin Folder

    Hey! I have the following code for htaccess that directs /page/ to /page.php etc RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] …
  • Member Avatar for Dani
    Dani

    Replied To a Post in htaccess Admin Folder

    You would need to use regular expressions the way you are doing with the other one. But I’m in bed on my phone so I can’t type it out.
  • Member Avatar for Dani
    Dani

    Replied To a Post in htaccess Admin Folder

    So the line `RewriteRule ^([a-z0-9\-]+)/?$ $1.php [NC,L,QSA]` says to rewrite anything/ to anything.php Rules execute in order, so *above* that line you can add a line that simply says: RewriteRule …
  • Member Avatar for Dani
    Dani

    Began Watching htaccess Admin Folder

    Hey! I have the following code for htaccess that directs /page/ to /page.php etc RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Web Design Trends 2019

    https://99designs.com/blog/trends/web-design-trends-2019/ If you ask me, though, being super duper mobile friendly ;)

The End.