Member Avatar

When it comes to driving traffic to your site, one of the easiest, and cheapest ways to do this is through social media. If you company is not on social media, I hate to break it to you, but you are behind. Marketing is all about chasing the consumer’s attention, and with 3.4 billion social media users around the world, it’s not hard to tell where to focus is. While it may seem easy that users who follow you on Facebook or Instagram will eventually land on your site, there has to be a quicker way to get them there …

Member Avatar
17
664
Member Avatar
Reusable Code Snippet vb.Net Progress Bar With Text

A long standing complaint with the standard progress bar control is that there is no easy way to display text. In spite of numerous requests, Microsoft has not included this capability. The following code includes a class, `CustomProgress` which inherits the standard `ProgressBar` and adds such a feature. It is fairly easy to use. If you want to show a percentage progress you set `Text` to a null string and the percentage will be calculated from the `Minimum` and `Maximum` value properties. If you want a custom string then assign it to `Text`. Either the percentge or custom text will …

Member Avatar
4
65
Member Avatar

When asked, "What language should I learn first?", my answer is always "English". If you can't communicate clearly then you can't do your job as a programmer properly. As a programmer your job does not begin and end with code. You must also be able to write documentation clearly. I recently came across two excellent technical writing modules by Google that are free for everyone. They do not take long to complete and (aside from the confusion between acronyms and initialisms) are spot on. You can find the overview [here](https://developers.google.com/tech-writing/overview) with links to the two main modules. A lot of …

1
5
Member Avatar

which social sites is best for SEO Facebook Google+ Twitter Pinterest

Member Avatar
-1
384
Member Avatar

Hi All, I'm currently working on a church attendance monitoring project, and this community had helped me a lot during my college days in building php base projects, now I'm here again to ask for help. The scenario is I want to track every individual who are present every sunday celebration, I already created the database with a unique ID for each member, what I want to happen now is that when a user enter His idnumber on the reception pc, he will be automatically recognize as present on that time, I want to track every sunday of the year. …

Member Avatar
2
24
Member Avatar

Hello everyone, Hope you are doing , I am too much confuse to buy a gaming laptop for my younger brother, Someone suggest a website like https://pcmag.com, https://cartvela.com, and Techradar but there are too much content, I can't make a decision.

Member Avatar
1
140
Member Avatar

![unknown.png](/attachments/large/4/2b1e92f91b55c8fd50f89ee45bbf4ca3.png)

Member Avatar
-2
66
Member Avatar

How many have websites here or own websites here?

Member Avatar
2
36
Member Avatar

I have a download page that needs to run a function when clicking on a link. The function is supposed to enter a row in a mysql database table and download the file. I don't know if I've coded the function incorrectly or I coded the onclick incorrectly. Here's the start of the page: <?php $filename = NULL; session_start(); // start of script every time. // setup a path for all of your canned php scripts $php_scripts = '/home/larry/web/test/php/'; // a folder above the web accessible tree // load the pdo connection module require $php_scripts . 'PDO_Connection_Select.php'; require $php_scripts . …

Member Avatar
0
25
Member Avatar

Debug time Application run good all private sub and Function work properly, but with out debug not run properly please help me

Member Avatar
0
8
Member Avatar

Hi, I am developing an app that monitors and corrects the user input based on some rules. I am reading the events from keyboard with the keyboard python module. I faced some problem when the user types very fast, as regards some overlays of text. By this I mean that when my app writes the correct input, the user continues writing and may writes before the corrector types the whole word. I found, that I can start a keyboard hook with suppressed output to screen and tried to implements a solution. In the above code I tried recreating the problem …

Member Avatar
0
15
Member Avatar

I'm trying to pass a filename to a function but don't know how to call the function from a click on a link. The top of my index.php is: <?php $filename = NULL; session_start(); // start of script every time. // setup a path for all of your canned php scripts $php_scripts = '/home/larry/web/test/php/'; // a folder above the web accessible tree // load the pdo connection module require $php_scripts . 'PDO_Connection_Select.php'; require $php_scripts . 'GetUserIpAddr.php'; require $php_scripts . 'mydloader.php'; //******************************* // Begin the script here $ip = GetUserIpAddr(); if (!$pdo = PDOConnect("foxclone")): { echo "Failed to connect to database" …

0
9
Member Avatar

Hello, I have created a spelling corrector for a project and currently I am struggling on making it work in real-time application (on-the-fly) By this I mean, that I am reading the input of the user (anywhere on the Windows OS - not only in python shell) with the python keyboard library and when the user enters a space I am checking the spelling of the entered word. If it is correct, the program does nothing but if it is wrong the program deletes the wrong word and re-writes the correct one. I have implemented the last functionality of deletion-and-rewrite …

0
12
Member Avatar

So I got a problem with the settings Tab in VB.Net. The settings are not displaying properly. There is a gap in the middle of the display. ![set.jpg](/attachments/large/4/ce53b8bed890123494c52258313e0760.jpg) The second problem I have is this: VB creates a settings file in the App Data folder: InClass.exe_Url_eoaehkudo2dalqpbmdabua2u0ulhsacj However, If I try to synchronize settings to get rid of the gap, I get the following msg. ![Msg.jpg](/attachments/large/4/615f389896f98f13a1edb3b131bbaca9.jpg) Here I can see that synchronize looks into the correct folder but the file names are different. Any ideas hoe to fix this? Thanks for reading

0
5
Member Avatar

Hello everyone, I am working on a project, which corrects user input (reads input stream from keyboard with keyboard module hook) based on some rules. I am trying to find the fastest way to delete and write the corrected word, after a user enters a wrong one. Currently I am using pynput, but I noticed that it faces problem when the user types very fast. To give you a better idea of what I am looking for, I quote the above pseudocode. user enters a word some_checks_are_made if (ok): do nothing else: press_the_backspace_button_until_delete_of_wrong_entered_word write_the_new_word To make it even more clear, …

0
10
Member Avatar

I have Apache2, php 7.2, and mysql installed. At the top of my index.php I have the following script: <?php session_start(); // start of script every time. // setup a path for all of your canned php scripts $php_scripts = '/home/larry/web/test/php/'; // a folder above the web accessible tree // load the pdo connection module require $php_scripts . 'PDO_Connection_Select.php'; require $php_scripts . 'GetUserIpAddr.php'; //******************************* // Begin the script here $ip = GetUserIpAddr(); if (!$pdo = PDOConnect("foxclone")): { echo "Failed to connect to database" ; exit; } else: { $stmt = $pdo->prepare("INSERT INTO 'download' ('IP_ADDRESS', 'FILENAME') VALUES (?, ?"); $stmt->bindParam(1, $ip); …

Member Avatar
0
27
Member Avatar

onkeypress event in javascript not showing the unicode(hindi/remingtongail) character it is only alerting 'r' on pressing a key. i am using hindi indic input 3 toolbar to type in laptop. my javascript code is function validate(){ var string=event.key; c = string.charCodeAt(1); var xyx=String.fromCharCode(c); alert(xyx); } My html text area code is <textarea onkeydown="validate()"></text area>

Member Avatar
0
20
Member Avatar

My code has a query that looks like: INSERT INTO table VALUES (...) ON DUPLICATE KEY UPDATE id = LAST_INSERT_ID(id), ... id is a PRIMARY KEY. My question is that I can't for anything remember why I have id = LAST_INSERT_ID(id). I wrote it years ago and it's not commented. Can anyone think of a reason why I was doing this?

Member Avatar
0
67
Member Avatar

Hello people! :) I'm quite new in the programming world. I'm really interested in programming from the time I found that there's coming a game called Hytale, and **I would love to be able to make mods for it**. So basically I have a book that should introduce me to c++, and I'm currently learning from it. **But I've heard that c++ is just kinda old, and it would be better to start from Python**, since it's new and more beginner friendly. **For now, I want to learn c++ anyways, then try to master Java as well**. My last choices …

Member Avatar
0
44
Member Avatar

I have created a table in a mySQL DB where users are going to a form and entering ratings on 6 Categories (5 Specific and 1 Overall) for a particular item_id. On the item table, I have a column that calculates the total number of ratings this particular item_id has received. What I want to do is create a query that calculates out the "average" value; however, I want it to weight things differently. So in essence, I want the final calculation to look like this: .40 ( Rating 1 + 2 + 3 + 4 + 5) + .60 …

Member Avatar
0
24
Member Avatar

[B]Mysql - How to use UPDATE with SELECT???[/B] I have two tables: [B]1) products_category[/B] -cat_id -cat_name [B]2) related_category[/B] -rel_cat_id (exaclty same as products_category.cat_id==related_category.rel_cat_id) -rel_cat_name [B]products_category table[/B] [IMG]http://www.ephpsolutions.com/scud/rrr/product_category.gif[/IMG] [B]related_category table[/B] [IMG]http://www.ephpsolutions.com/scud/rrr/related_category.gif[/IMG] I want to get cat_name from products_category and want to store in rel_cat_name in related_category tabel. and the query should be only one. Not sure how will it works. I thought it would be something like: [CODE] UPDATE related_category SET related_category.rel_cat_name = ( SELECT product_category.cat_name FROM product_category INNER JOIN related_category ON related_category.rel_cat_id = product_category.cat_id )[/CODE] But it doesn't works, Please assist. Thanks in advance

Member Avatar
0
33
Member Avatar

i have made the following program but i cant find what is the error... the output is not coming correct... for example Enter A Binary Number 110011 Number of ones are 0 Number of zeroes are 1 [code] void main() { clrscr(); int r, ones=0, zeroes=0; long int n; printf("Enter A Binary Number "); scanf("%d", n); while(n!=0) { r=n%10; if(r==1) ones++; if(r==0) zeroes++; n=n/10; } printf("\nNumber of ones are %d", ones); printf("\nNumber of zeroes are %d", zeroes); getch(); } [/code]

Member Avatar
0
28
Member Avatar

Once harm has been done, even a fool understands it. -- Homer

Member Avatar
13
3,230
Member Avatar

As if Jeff Bezos isn't already rich enough. As someone who is at high risk because of a compromised immune system, I thought it might be a good idea to get a few N95 masks. Because local medical supply stores are out of stock I checked Amazon. While the prices are reasonable (pack of 20 for $99), they want $200 for shipping. I bought some luggage a couple of years ago and because my order was over $35 the shipping was free. So how is it that something that weighs less than a box of Kleenex costs $200? Could this …

Member Avatar
2
309
Member Avatar

As part of a project to manage my collection of photos, I wanted to add the capability of displaying a series of files as thumbnails. This posed me with three problems: 1. how to preserve the aspect ratio of the original images 1. how to generate the thumbnails without tying up the application 1. how to avoid running out of memory Because generating thumbnails of images is (I think) of reasonably wide interest I thought I'd write it up as a code snippet. To recreate the project, start with a blank form and add two buttons, btnDetails and btnThumbs. Add …

Member Avatar
3
109
Member Avatar

When working with TCP client sockets I often find myself frustrated with the lack of event-driven support. I usually end up writing a whole bunch of code to determine disconnects, reconnecting, etc and I figuired it's time to just write my own class for this stuff. I figuired I'd share it with all of you. The implementation is quite simple, I'll provide an example below. I have XML commented all the public properties and methods, the rest is up to you to figuire out if you want to make any changes! public partial class Form1 : Form { EventDrivenTCPClient client; …

Member Avatar
6
148
Member Avatar
Reusable Code Snippet Make a given number odd or even

There are times when you need to make sure your counter starts at an odd or even number. Even is pretty simple - `counter = counter + modulus(counter)`. If counter is even it stays, if it's odd it gets incremented by 1. Odd is a bit more complicated - `counter = counter + modulus(counter + 1)`, If counter is odd it stays, if it's even it gets incremented by 1. if you're in danger of counter being the max value you can always subtract instead. These basic algorithms should work for any language that has a modulus operator/function. I've included …

Member Avatar
3
144
Member Avatar

It can often be tough to determine what direction the digital marketing world is going, considering how it is evolving in a time where technology is continually changing and evolving. However, many analysts and experts that can agree that there are methods that simply aren’t effective or might not be the smart strategy currently. There is nothing wrong with digital marketing that eschews a traditional approach. Many companies have succeeded because of innovative digital marketing campaigns that have changed the way that we think about advertising in general. However, here are some digital marketing mistakes that you should work to …

Member Avatar
3
218
Member Avatar

# What Are Voronoi Diagrams? # Voronoi Diagrams are an essential visualization to have in your toolbox. The diagram’s structure is a data-driven [tessellation](https://en.wikipedia.org/wiki/Tessellation) of a plane and may be colored by random or to add additional information. ## Learn the Lingo ## The set of points that generate the Voronoi diagram are called “seeds” or “generators” for they generate the polygon shapes; in practice, the seeds are your cleaned data. Each seed generates its own polygon called a Voronoi “cell,” and all of 2-dimensional (2D) space is associated with only one cell. A Voronoi cell, or Voronoi “region” denotes …

Member Avatar
4
177
Member Avatar

In the modern world, it’s easy to understand that data is absolutely essential to many corporations and organizations. There is an ever-growing need to understand the needs and desires of your customer base, so that you may tailor your products/services/platform as much as possible to meet these particular needs. However, we also are coming to a point where human beings are beginning to realize that the way that their data is being used can be quite harmful. One of the most obvious examples is the [Facebook-Cambridge Analytica scandal](https://www.nytimes.com/2018/03/19/technology/facebook-cambridge-analytica-explained.html), in which data from Facebook’s user base was used to influence a …

Member Avatar
3
77

The End.