Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Useful code segment



  Collection Of Puzzles For Programmers

Did you know that we have a nice collection of puzzles here on less than dot? Some are harder than others so there is something for everyone. You can pic any language you want, you will see that there are solutions in Ruby, Python, Visual Basic, SQL, JavaScript, C++ and other. Here is a partial list of what we have Friday the Thirteenths The goal is to identify all friday the thirteenths for a given timeframe Regular Pentagon Given a grid co-ordinate (x,y) as the centre point of a regu...

   Programming puzzle,Fibonacci,Prime,ASCII     2012-01-04 08:06:18

  Why do I need a debugger?

  When I begin to learn a new programming language, I will try and master the debugger for it as early as possible. For example, in 2013, while I touched the Go, there seems only gdb for use. Although gdb itself is not a good choice (From Debugging Go Code with GDB): As a consequence, although GDB can be useful in some situations, it is not a reliable debugger for Go programs, particularly heavily concurrent ones. But at that time there was no other choice. So after delve&nb...

       2017-07-21 22:53:16

  Lenovo becomes the king of PC

According to Sina Tech, Data from market research firm IDC and Gartner shows that Lenovo defeats Hewlett-Packard to become the largest PC manufacturer in the world In the second quarter , global PC shipments dropped by 11%, the fifth consecutive quarter of decline.In October 2012, Gartner ranked Lenovo as the world's largest PC manufacturer, but IDC data ranked HP as the largest PC manufacturer. However, the rank of largest PC manufacturer between IDC and Gartner has no difference this time.Gar...

   Lenovo,PC,HP,IDC     2013-07-11 04:52:04

  Recover deleted file in Linux EXT3 file system

Environment : CentOS 5.3 x86_64, /dev/sdb1 is the data segment /data0. EXT3 file system. Problem : /data0/tcsql/cankao/phpcws-1.5.0/httpcws.cpp is deleted mistakenly and httpcws.cpp is not backed up. It will take much time to rewrite this program again. So we must recover it back. debugfs is feasible in EXT2 file system, but in EXT3 file system, it's not very useful. There is one open source software called ext3grep which can help us recover deleted file in EXT3 file system. The recovery steps a...

   Linux,EXT3,File recovery     2013-08-16 07:06:45

  Spurring the Consumer Feedback Loop with Connected Devices

In a press release from earlier this year, Gartner had predicted that by the year 2018 mobile devices would account for initiating 5% of consumer services cases, registering a marginal rise of 0.02% from 2014. Research shows that most businesses lose around a whopping $83 billion owing to poor consumer services (Source: kissmetrics) in the US alone while globally, the average cost of losing a consumer is $243. It is only viable to think of automating support services as a way to lower the costs ...

   Big Data Analytics Solutions, Loyalty Programs for Customers     2015-08-18 07:11:35

  How to check why Vim is slow

On *nix, some processes may not be able to start up, software runs very slowly suddenly and software's "Segment Fault" are some issues faced by many *nix users. Here we show you how to use truss to trace why Vim becomes slow suddenly. Operating system : FreeBSD-5.2.1-releas vim version is 6.2.154, after typing vim on command line, sometimes we need to wait for a few minutes to get into the edit interface and there is no error output. After carefully checking .vimrc and all vim settings, there ar...

   vim, truss, linux     2012-11-26 11:54:35

  Some hidden XSS injection vulnerabilities

XSS injection refers to a Web page generates some unexpected executable js codes based on user input  and these executable codes are executed by web browser,i.e, the source code sent to web browser by the server contains some illegal js codes, and these illegal js codes are related to user's input. Common XSS injection vulnerabilities can be fixed with some functions such as htmlspecialchars(escaping HTML special characters) and strip_tags() or similar, but there are some hidden XSS injecti...

   XSS,PHP,Security,Code,JavaScript     2012-08-27 20:32:08

  <=> operator in MySQL

Have you ever seen "<=>" in a SQL query while using MySQL? Does it mean less and equals to and greater than? Actually if you consider it as the union of <= and =>, great, you are close to it. This is one form of equal operator in MySQL, it has the similar meaning to the = operator with some subtle difference. According to MySQL documentation, <=> is NULL-safe equal. This operator performs an equality comparison like the = operator, but returns 1 rather than NULL if both operand...

   MySQL,NULL safe,<=>     2014-03-24 06:23:22

  App Store Visibility – A Few Do’s and Don’ts

Discovery and Visibility are the two vital components for any mobile app, if the app publishing company is to derive some amount of revenue from their apps. However, the lack of organized marketing channels, a well-laid user acquisition strategy or even a poorly designed app often reduces the chances of being widely adopted by the users. In short, it hampers the possibility of the app being successful. Here is a list of few things to keep in mind while posting an app to the app stores. What to ...

   Mobile Application Development Company, Android App Development Company, Mobile App Company, Android     2015-09-01 07:52:24

  CRM Approach - A Well Planed Business Strategy Not a Mere Technology

Customer relationship management (CRM) has transitioned and evolved over the last few years.  Its adoption is powered by the rapid growth and popularity of SaaS tools. Too many companies have adopted CRM in order to cater to customers in a better manner and hence build loyalty. However, often implementing CRM does not yield the results as expected. CRM policies turn out to be ineffectual. This happens because, organizations over emphasize on CRM as a technology and undermine its importanc...

   customer relationship management services, CRM development, CRM Solutions, customer service manageme     2014-08-28 05:50:49