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

 ALL


  socket_create() from command prompt with WAMP

Problem:I’m working on a wamp system, and have started playing around with sockets. I enabled sockets via the wamp interface:wamp : PHP settings : PHP extensions : php_socketsand could run my php file via my browser.When trying to run the same file via the command prompt (start : run : cmd), I got the following error:Fatal error: Call to undefined function socket_create() in … on line …Solution:The command prompt uses a different php.ini file to the apache server.The Apache php.ini file is accessible via the taskbar icon, and is located at:X:\WAMP INSTALL DIR\Apach...

6,419 0       PHP WAMP WINDOWS COMMAND LINE SOCKET


  How Duff’s Device Works

I like C, but I have to admit that, sometimes, “The Old Man of Programming” can be a bit of a killjoy. This is one of the most exciting eras in computer history, but lately, C’s acting like he doesn’t evenwant to have a good time. While the cool kids like Ruby and Haskell are living it up, C’s over in the corner obsessing over bits and bytes and memory alignment and pointers and the stack and machine architecture and unreachable allocations and multiple indirections…and it’s…kind of a buzzkill. You want to tell him, “Dude! Lighten ...

2,392 1       DUFF DEVICE ALGORITHM SWITCH CASE


  The rather petite Internet of 1995

As you may know if you’re a regular reader of this blog, sometimes we like to take a trip down memory lane. It’s time for another one of those trips, to the murky past of the Internet and the dawning World Wide Web of 1995.Let’s start first with the people who actually use the Internet. How many were there back then?Worldwide Internet users in 1995Today there are almost 2 billion Internet users worldwide. In 2000, there were 361 million worldwide. But go back even farther in time and you’ll find out that back in 1995, the Internet had a worldwide user base of less t...

2,524 0       MICROSOFT WEB INTERNET 1995 NETSCAPE NET


  Why email is crucial to Google, Microsoft and Yahoo

Google, Microsoft and Yahoo. These three companies rule webmail withGmail, Hotmail and Yahoo Mail, the three largest email services on the Internet.What might escape a lot of people, though, is just how important email services are for the online presence of those companies (yes, even for Google). To give you an idea, let’s look at some rather interesting website traffic numbers.Webmail share of site trafficAlexa can give you an estimate of how many people visit various parts of a website, or to be precise, which subdomains are visited the most.Gmail&n...

2,875 0       EMAIL GMAIL HOTMAIL YAHOO IMPORTANT STAT


  9 quotes that stayed with me as a developer

I find quotes inspiring, motivating or sometimes just thought provoking, so here's some of my favourites from over the years. Sometimes reading a book can have a real influence on how you write code, or how you approach a problem. Sometimes a simple quote  is enough to make me question the way I look at the code I'm writing. Or often I sit in awe about someone's so well distilled what I've known internally for ages but have never been able to enunciate.   "Design is finding the problem, not the solution" -- Leslie Chicoine      "There...

2,385 0       PROGRAMMING PROGRAMMER QUOTE


  6 Most Effective Methods to Code HTML and CSS

IntroductionJust few weeks ago, I have resigned as a "full on" web developer (frontend, backend, server admin and misc) and moved on to become a pure frontend developer (yay)! It is a really exciting change, as you might know frontend developer role didn't exist few years ago. Thanks to the introduction of HTML5, CSS3 and Javascript framework, frontend development has to be separated from backend due to its complexity, and I think I'm trained to fit in that gap nicely.For many years, I've equipped myself with many tools and techniques to speed up frontend development, and here I will share all...

3,173 0       HTML CSS STYLE DESIGN PATTERN


  SQL Grammar Summary

整理了一下,希望对大家有用SQL语句大全  --语 句 功 能--数据操作SELECT --从数据库表中检索数据行和列INSERT --向数据库表添加新数据行DELETE --从数据库表中删除数据行UPDATE --更新数据库表中的数据--数据定义CREATE TABLE --创建一个数据库...

4,028 1       SQL QUERY SUMMARY SELECT UPDATE DELETE I


  What do programmers really do?

Computers are useless. They can only give you answers. â€“ PicassoMany people (including my mother-in-law) think that computers are becoming so smart that programmers will be no longer needed in the near future. Other people think that programmers are geniuses who constantly solve sophisticated math puzzles in front of their monitors. Even many programmers don’t have clear idea what they do.In this post I want to provide some explanation to uninformed people what programmers really do:Programmers are translators of human ideas into the language of computers.They are a link bet...

2,277 0       PROGRAMMER WORK COMPUTER