Posts Tagged ‘gaming’

This tutorial about Hide and Seek with jQuery and PHP. This script helps you to present all modules in single page. Take a look at live demo click buttons

 


Download Script     Live Demo

Javascript Code

// <![CDATA[
javascript” src=”http://ajax.googleapis.com/ajax/
// ]]>
libs/jquery/1.3.0/jquery.min.js”>
<script type=”text/javascript”>
$(function()
{

$(“.button”).click(function()
{
var button_id = $(this).attr(“id”);

//Add Record button

if(button_id==”add”)
{
$(“#results”).slideUp(“slow”);
$(“#save_form”).slideDown(“slow”);
}

//Cancel button

else if(button_id==”cancel”)
{
$(“#save_form”).slideUp(“slow”);
$(“#results”).slideDown(“slow”);
}

// save button
else

{

// insert record
// more details Submit form with jQuery

}

return false;

});
});
</script>

HTML Code
Contains javascipt code. $(“.button”).click(function(){}- button is the class name of buttons(Add, Save and Cancel). Using $(this).attr(“id”) calling button id value.

<div id=”results” >

<a href=”#”color: blue;”>button” id=”add” >Add Record </a>
</div>

<div id=”save_form” style=”display:none” >

<a href=”#”color: blue;”>button” id=”save” >Save </a>
<a href=”#”color: blue;”>button” id=”cancel” >Cancel </a>
</div>

<div id=”update” >

</div>

Image representing Skype as depicted in CrunchBase

These are the secret emoticons that are not in the Skype menu, type them directly in the chat box to use them:

Emoticon Code Notes
drop pants and moon! (mooning) Mooning emoticon, perfect…
middle finger, how rude! (finger) Middle finger emoticon, a very rude emoticon to express yourself.
swearing (swear) Swearing smiley, his words are just too rude to show!
Rock on! (rock) Rocking smiley, making a hand gesture and enjoying his music.
Cigarette (smoking) Smoking emoticon, this hidden smiley is one bad dude!
drunk smiley (drunk) Drunk emoticon, this Skype smiley’s had a bit too much to drink
Party time! (poolparty) Pool party emoticon, this guy just can’t wait to jump in!
Toivo from Skype (toivo) A guy and his dog, not sure what this emoticon is about, but Toivo was a Skype engineer.
smiley in mask (bandit) Masked bandit emoticon, quite unique. Good for when some stealth is required.
angry (headbang) Angry smiley banging his head against a wall, we’ve all felt this way sometime.
FUBAR smiley (fubar) FUBAR emoticon, for times when things just won’t work.
tmi! (tmi) Too Much Information (TMI) emoticon, good for when you’ve heard more than enough!
bug (bug) Bug emoticon, a black
squirrel (heidy) Squirrel emoticon, a cute little critter and his nut. Heidi is a Skype staff member.
MySpace emoticon (myspace) MySpace emoticon, new in Skype 3.6 to commemorate the Skype-MySpace partnership!

To make sure these emoticons work correctly, make sure you and your contacts are using the latest version of Skype.

Hidden Flag Emoticons

Skype also includes about 237 flag emoticons, representing the different national flags of just about every country and nation.

Hidden flags in Skype

To use these hidden flags, you need to type the following code:

(flag:XX)

Where XX should be replaced with the code of the country whose flag you want to display. For example, (flag:us) will display an American flag, (flag:ca) a Canadian flag and so on. We will be listing the full set of country codes shortly.

Other Hidden Emoticons

Also check out the hidden emoticons available in MSN and Yahoo Messenger, if you use them.

MSN
MSN Emoticons
Yahoo
Yahoo Emoticons

More about the Skype emoticons

In contrast to other clients, most of the emoticons hidden in Skype have a slightly more adult theme (rude, smoking, drinking, etc). Almost all of the emoticons are animated and sized around 25×25. They are of fairly good quality, in a pixel style similar to the Yahoo Emoticons.

Comparing Skype to other Messengers, not including the flag icons, Skype’s hidden emoticons are better than those featured in MSN/Live Messenger. That being said, Yahoo’s secret emoticon set is still the best one around when it comes to emoticons that they chose to hide.

You can also use these hidden icons in your Skype emoticon art. You can also find cool emoticon art on our site, we will be adding them shortly.

Die Rotationsbefehle. Der Ausgangszustand ist ...

Programming is an art.

There are plenty of compilers around to program.The famous C,the beautiful Java,the useful HTML,the elusive oracle and the simple .net…

So why assembly language????

Those of you who ever had a go at cracking and all other stuff will have a readymade answer to it.No cracking without a crack at assembly language.

If u are not in the cracking Biz why do you need it?

No programmer is complete without mastery over assembly language..your program ruins slow or there is some deep glitch.you work on it day and night and still the glitch remains a glitch.here comes the assembly language.You analyse the processes and come at a diagnosis…

Assembly language makes you powerful.it is the base on which everything is built.

Without assembly language you will always remain a novice.whatever you build or achieve.

So lets start the learning process.

You must have heard that the—-

Assembly language is hard to learn and understand

Its difficult to debug

It’s a messy outfit

Why do you want to save a little space using assembly language when you have so much space?

Believe Me, learning assembly language is easier than most high level languages..

Once you learn assembly language everything else comes naturally..

Assembly language has several benefits:

• Speed. Assembly language programs are generally the fastest programs around.

• Space. Assembly language programs are often the smallest.

• Capability. You can do things in assembly which are difficult or impossible in HLLs.

• Knowledge. Your knowledge of assembly language will help you write better programs,

even when using HLLs.

LESSON1 – THE REGISTERS AND SEGMENTS

 

LESSON 2 – BASIC OPERATORS

 

LESSON3 – INTERRUPTS LABELS AND DB

 

LESSON4 – STACK (PUSH,POP) AND MORE COMMANDS

 

LESSON5 – FLAGS AND JUMPS

 

LESSON6 – MEMORY MOVING

 

LESSON7 – PROCEDURES AND MACROS

 

LESSON8 – EXTERNALS AND PUBLICS

 

LESSON9 – INCLUDING INFO IN THE EXE

 

LESSON10 – PORTS, TIPS, SUMMARY

 

English: A download symbol.

When our application does a task that takes a considerable amount of time, it is common sense to show the progress of the task to the user.
This is a good User Experience practice. In this tutorial i will be discussing the implementation of a process-progress dialog.

As an example, i am displaying a progress bar that runs while the app downloads an image from the web. And once the image is downloaded
completely i am showing the image in a image view. You could modify this example and try it with any file type you may wish. That could be fun!

Download Code

Creating new Project

1. Create a new project and fill all the details. File ⇒ New ⇒ Android Project
2. Open your main.xml are create a button to show download progress bar. Also define a ImageView to show downloaded image. Paste the following code in your main.xml

main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >
    <!-- Download Button -->
    <Button android:id="@+id/btnProgressBar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Download File with Progress Bar"
        android:layout_marginTop="50dip"/>
    <!-- Image view to show image after downloading -->
    <ImageView android:id="@+id/my_image"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"/>
</LinearLayout>

3. Now in your main activity class import necessary classes and buttons. I am starting a new asynctask to download the file after clicking on show progress bar button.

public class AndroidDownloadFileByProgressBarActivity extends Activity {
    // button to show progress dialog
    Button btnShowProgress
    // Progress Dialog
    private ProgressDialog pDialog;
    // Progress dialog type (0 - for Horizontal progress bar)
    public static final int progress_bar_type = 0;
    // File url to download
    private static String file_url = "http://api.androidhive.info/progressdialog/hive.jpg";
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        // show progress bar button
        btnShowProgress = (Button) findViewById(R.id.btnProgressBar);
        // Image view to show image after downloading
        my_image = (ImageView) findViewById(R.id.my_image);
        /**
         * Show Progress bar click event
         * */
        btnShowProgress.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                // starting new Async Task
                new DownloadFileFromURL().execute(file_url);
            }
        });
    }

4. Progress Dialog can be shown using ProgressDialog class. It is a subclass of normal AlertDialog class. So add an alert method in your main activity class.

/**
 * Showing Dialog
 * */
@Override
protected Dialog onCreateDialog(int id) {
    switch (id) {
    case progress_bar_type:
        pDialog = new ProgressDialog(this);
        pDialog.setMessage("Downloading file. Please wait...");
        pDialog.setIndeterminate(false);
        pDialog.setMax(100);
        pDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
        pDialog.setCancelable(true);
        pDialog.show();
        return pDialog;
    default:
        return null;
    }
}

5. Now we need to add our Async Background thread to download file from url. In your main activity add a asynctask class and name it as DownloadFileFromURL(). After downloading image from the web i am reading the downloaded image from the sdcard and displaying in a imageview.

/**
 * Background Async Task to download file
 * */
class DownloadFileFromURL extends AsyncTask<String, String, String> {
    /**
     * Before starting background thread
     * Show Progress Bar Dialog
     * */
    @Override
    protected void onPreExecute() {
        super.onPreExecute();
        showDialog(progress_bar_type);
    }
    /**
     * Downloading file in background thread
     * */
    @Override
    protected String doInBackground(String... f_url) {
        int count;
        try {
            URL url = new URL(f_url[0]);
            URLConnection conection = url.openConnection();
            conection.connect();
            // getting file length
            int lenghtOfFile = conection.getContentLength();
            // input stream to read file - with 8k buffer
            InputStream input = new BufferedInputStream(url.openStream(), 8192);
            // Output stream to write file
            OutputStream output = new FileOutputStream("/sdcard/downloadedfile.jpg");
            byte data[] = new byte[1024];
            long total = 0;
            while ((count = input.read(data)) != -1) {
                total += count;
                // publishing the progress....
                // After this onProgressUpdate will be called
                publishProgress(""+(int)((total*100)/lenghtOfFile));
                // writing data to file
                output.write(data, 0, count);
            }
            // flushing output
            output.flush();
            // closing streams
            output.close();
            input.close();
        } catch (Exception e) {
            Log.e("Error: ", e.getMessage());
        }
        return null;
    }
    /**
     * Updating progress bar
     * */
    protected void onProgressUpdate(String... progress) {
        // setting progress percentage
        pDialog.setProgress(Integer.parseInt(progress[0]));
   }
    /**
     * After completing background task
     * Dismiss the progress dialog
     * **/
    @Override
    protected void onPostExecute(String file_url) {
        // dismiss the dialog after the file was downloaded
        dismissDialog(progress_bar_type);
        // Displaying downloaded image into image view
        // Reading image path from sdcard
        String imagePath = Environment.getExternalStorageDirectory().toString() + "/downloadedfile.jpg";
        // setting downloaded into image view
        my_image.setImageDrawable(Drawable.createFromPath(imagePath));
    }
}

6. Open your AndroidManifest.xml file and add internet connect permission and writing to sdcard permission.

AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
    package="com.example.androidhive"
    android:versionCode="1"
    android:versionName="1.0" >
    <uses-sdk android:minSdkVersion="8" />
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <activity
            android:name=".AndroidDownloadFileByProgressBarActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <!-- Permission: Allow Connect to Internet -->
    <uses-permission android:name="android.permission.INTERNET" />
    <!-- Permission: Writing to SDCard -->
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>

7. Run your Application and click on show progress bar button to see your progress bar. You can see the downloaded image in imageView once it is downloaded.

android download file and showing progress bar

Final Code

package com.example.androidhive;
import java.io.BufferedInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.net.URLConnection;
import android.app.Activity;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
public class AndroidDownloadFileByProgressBarActivity extends Activity {
    // button to show progress dialog
    Button btnShowProgress;
    // Progress Dialog
    private ProgressDialog pDialog;
    ImageView my_image;
    // Progress dialog type (0 - for Horizontal progress bar)
    public static final int progress_bar_type = 0;
    // File url to download
    private static String file_url = "http://api.androidhive.info/progressdialog/hive.jpg";
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        // show progress bar button
        btnShowProgress = (Button) findViewById(R.id.btnProgressBar);
        // Image view to show image after downloading
        my_image = (ImageView) findViewById(R.id.my_image);
        /**
         * Show Progress bar click event
         * */
        btnShowProgress.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                // starting new Async Task
                new DownloadFileFromURL().execute(file_url);
            }
        });
    }
    /**
     * Showing Dialog
     * */
    @Override
    protected Dialog onCreateDialog(int id) {
        switch (id) {
        case progress_bar_type: // we set this to 0
            pDialog = new ProgressDialog(this);
            pDialog.setMessage("Downloading file. Please wait...");
            pDialog.setIndeterminate(false);
            pDialog.setMax(100);
            pDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
            pDialog.setCancelable(true);
            pDialog.show();
            return pDialog;
        default:
            return null;
        }
    }
    /**
     * Background Async Task to download file
     * */
    class DownloadFileFromURL extends AsyncTask<String, String, String> {
        /**
         * Before starting background thread
         * Show Progress Bar Dialog
         * */
        @Override
        protected void onPreExecute() {
            super.onPreExecute();
            showDialog(progress_bar_type);
        }
        /**
         * Downloading file in background thread
         * */
        @Override
        protected String doInBackground(String... f_url) {
            int count;
            try {
                URL url = new URL(f_url[0]);
                URLConnection conection = url.openConnection();
                conection.connect();
                // this will be useful so that you can show a tipical 0-100% progress bar
                int lenghtOfFile = conection.getContentLength();
                // download the file
                InputStream input = new BufferedInputStream(url.openStream(), 8192);
                // Output stream
                OutputStream output = new FileOutputStream("/sdcard/downloadedfile.jpg");
                byte data[] = new byte[1024];
                long total = 0;
                while ((count = input.read(data)) != -1) {
                    total += count;
                    // publishing the progress....
                    // After this onProgressUpdate will be called
                    publishProgress(""+(int)((total*100)/lenghtOfFile));
                    // writing data to file
                    output.write(data, 0, count);
                }
                // flushing output
                output.flush();
                // closing streams
                output.close();
                input.close();
            } catch (Exception e) {
                Log.e("Error: ", e.getMessage());
            }
            return null;
        }
        /**
         * Updating progress bar
         * */
        protected void onProgressUpdate(String... progress) {
            // setting progress percentage
            pDialog.setProgress(Integer.parseInt(progress[0]));
       }
        /**
         * After completing background task
         * Dismiss the progress dialog
         * **/
        @Override
        protected void onPostExecute(String file_url) {
            // dismiss the dialog after the file was downloaded
            dismissDialog(progress_bar_type);
            // Displaying downloaded image into image view
            // Reading image path from sdcard
            String imagePath = Environment.getExternalStorageDirectory().toString() + "/downloadedfile.jpg";
            // setting downloaded into image view
            my_image.setImageDrawable(Drawable.createFromPath(imagePath));
        }
    }
}

The Quickest, Safest and Easiest Way to Send Money
Instantly Send Cash from Your Mobile or Computer to 125+ Countries
Which is best for your application — Windows CE or Windows XP Embedded? Microsoft has published a whitepaper to assist developers in answering that question. The paper begins with an overview of each of the two Windows Embedded OSes, and then presents a variety of factors and decision criteria in areas such as OS features, development tools, support for the .NET Framework (and Compact Framework) and…

Web services, and the type of device or application being developed.

In this WindowsForDevices.com article, we provide several exerpts from the whitepaper which highlight key aspects of the OS decision process. A link for downloading the full whitepaper is provided at the conclusion of this article.

Selected excerpts from . . .

Which to Choose:
Comparing Microsoft Windows CE and Windows XP Embedded

Microsoft Corporation
July 2003

From the introduction . . .

Windows XP Embedded is designed to deliver the power of Windows in componentized form, enabling you to rapidly build reliable and advanced embedded devices. Windows CE. NET combines an advanced, real-time embedded operating system with powerful tools for rapidly creating the next generation of smart, connected, and small-footprint devices. Each operating system ships with a complete integrated development environment, with support for a wide range of existing hardware, application development tools, and third-party value-added applications and services.

Device-Specific Considerations

The features and functionality typically required for specific device categories can help you choose between Windows XP Embedded and Windows CE.

Table 1 provides examples of some of the device categories that can be powered by the Windows Embedded family of operating system software. In some cases, however, Windows CE and Windows XP Embedded may provide comparable support for a targeted device, so your choice should be determined by comparing your specific design requirements with the features offered by Windows CE or Windows XP Embedded respectively.

Table 1:
Recommended Windows Embedded Operating System
by Device Category

Targeted Device Windows XP Embedded Windows CE
Mobile Clients
PDAs
Smartphones
Internet and Media Appliances
PC Companions
Digital Cameras
Printers and Scanners
Thin Clients
Retail Point-of-Sale (RPOS) Devices
Windows-Based Terminals
Connected Clients
Basic Set-top Boxes
Advanced Set-top Boxes
Basic Residential Gateways and Servers
Advance Residential Gateways and Home Servers
Industrial Controls
Voice Over Internet Protocol (VoIP) Phones

Devices such as mobile handhelds and basic residential gateways require a small footprint, efficient power management, and remote management capabilities along with the ability to deliver rich user experiences, making Windows CE the recommended operating system for smart, connected and small-footprint devices.

Devices such as advanced set-top boxes and retail point-of-sale clients require the latest security and reliability features, familiar and powerful Windows features, and are less restricted in terms of footprint. Windows XP Embedded is the recommended operating system for delivering the power of Windows in componentized form.

The latest versions of Windows CE and Windows XP Embedded are optimized to support a variety of device-specific platforms, including ATMs, thin clients, gateways and set-top boxes. For detailed information about these platforms, visit the Windows Embedded Device Platforms Web site.

Decision Criteria for Choosing a Windows Embedded Operating System

To help you select the most suitable Windows Embedded operating system software, you may want to consider your device design in terms of the following features and functionality:

  • CPU Architecture — Are you using an x86 or non-x86 CPU? If you are using an X86 CPU, you can use either Windows CE or Windows XP Embedded. If you are using a non-X86 CPU, then you must use Windows CE, which supports four families of microprocessors, including:
    • ARM — Examples of supported processors include ARM720T, ARM920T, ARM1020T, StrongARM, and XScale.
    • MIPS — Supported processors include MIPS II/32 with FP, MIPS II/32 without FP, MIPS16, MIPS IV/64 with FP, and MIPS IV/64 without FP.
    • SHx — Supported processors include SH-3, SH-3 DSP, and SH-4.
    • X86 — Supported processors include 486, 586, Geode, and Pentium I, II, III, and IV.

    Additionally, heat dissipation concerns will affect both CPU selection and operating system. If heat dissipation is a concern, and you select a non-X86 processor as a result, then Windows CE is the only choice for your device.

  • Real-Time Support — Does your device require real-time support? Both Windows CE and Windows XP Embedded support real-time performance. Windows CE is inherently a hard real-time operating system. While Windows XP Embedded is not inherently a real-time operating system, you can easily add real-time capabilities and optimize Windows XP Embedded to meet your real-time needs with readily available third-party solutions.
  • Win32-based Applications — Does your device design take advantage of Win32-based applications? If your device will make use of existing Win32-based applications and drivers without modification, use Windows XP Embedded. Win32 applications and drivers must be modified to run on Windows CE.
  • Operating System RAM Configuration — How much RAM will your device include, and what is the corresponding device image footprint requirement? Both Windows CE and Windows XP Embedded are componentized to enable you to create small or managed footprint designs. The minimum footprint for Windows CE is less than 350 KB, while the minimum footprint for Windows XP Embedded is approximately 8 MB. Footprint requirements are an important factor when choosing between Windows CE and Windows XP Embedded.

Figure 1 provides decision criteria that can help you choose whether Windows CE or Windows XP Embedded is optimized for your specific device requirements.

Figure 1:
Decision Matrix for Choosing
Windows XP Embedded or Windows CE

Windows CE and Windows XP Embedded differ primarily in regard to processor support, real-time support, application portability and footprint. If it appears after reviewing this overview that your device requirements can be met by either Windows Embedded operating system, you can find more detailed information at the Windows CE Web site and the Windows XP Embedded Web site.


Read the full whitepaper here . . .


Which to Choose:
Comparing Microsoft Windows CE and Windows XP Embedded

(150KB download, Word file)


Copyright 2003 Microsoft Corp. All rights reserved. This article was initially published here. Reproduced by WindowsForDevices.com with permission.

20756_Free Shipping Plus VIP Exclusive Perks & Savings with code: CX13J027
Send money for FREE

Pixie

Contrasaurus

Contrasaurus

The Cask of Amontillado

Based on the short story by Edgar Allen Poe, in this literary immurement simulation game you play as Fortunato, attempting to escape the horror of the catacombs of the Montresors.

Get the Windows executable here.

Dungeon Farmer

Plant little seeds and watch them grow. Dig tunnels and unearth goblins that go around accosting everything. Watch out for raccoons that will try to steal your fruit!

Get the Windows executable here, or visit Google Code to view the source.

Astronautica

Really cool little game where you explore a spacecraft that’s about to explode. Look for items as you try to make it to the escape pod.

Play this Flash game here.

Insult Master

YO’ MAMA! Hurl insults at your opponent using the arrow keys and watch the Burnometer increase with the power of your words. Are you the Insult Master?

Play this flash game here.

A popular saying goes that programmers are machines that turn caffeine into code.

programmer night

And sure enough, ask a random programmer when they do their best work and there’s a high chance they will admit to a lot of late nights. Some earlier, some later. A popular trend is to get up at 4am and get some work done before the day’s craziness begins. Others like going to bed at 4am.

At the gist of all this is avoiding distractions. But you could just lock the door, what’s so special about the night?

I think it boils down to three things: the maker’s schedule, the sleepy brain and bright computer screens.

The maker’s schedule

Paul Graham wrote about the maker’s schedule in 2009 – basically that there are two types of schedules in this world (primarily?). The traditional manager’s schedule where your day is cut up into hours and a ten minute distraction costs you, at most, an hour’s worth of time.

On the other hand you have something PG calls the maker’s schedule – a schedule for those of us who produce stuff. Working on large abstract systems involves fitting the whole thing into your mind – somebody once likened this to constructing a house out of expensive crystal glassand as soon as someone distracts you, it all comes barreling down and shatters into a thousand pieces.

This is why programmers are so annoyed when you distract them.

Because of this huge mental investment, we simply can’t start working until we can expect a couple of hours without being distracted. It’s just not worth constructing the whole model in your head and then having it torn down half an hour later.

In fact, talking to a lot of founders you’ll find out they feel like they simply can’t get any work done during the day. The constant barrage of interruptions, important stuff to tend to and emails to answer simply don’t allow it. So they get most of their “work work” done during the night when everyone else is sleeping.

The sleepy brain

iamge

Ballmer‘s Peak

But even programmers should be sleeping at night. We are not some race of super humans. Even programmers feel more alert during the day.

Why then do we perform our most mentally complex work work when the brain wants to sleep and we do simpler tasks when our brain is at its sharpest and brightest?

Because being tired makes us better coders.

Similar to the ballmer peak, being tired can make us focus better simply because when your brain is tired it has to focus! There isn’t enough left-over brainpower to afford losing concentration.

I seem to get the least work done right after drinking too much tea or having a poorly timed energy drink. Makes me hyperactive and one second I’m checking twitter, the next I’m looking at hacker news and I just seem to be buzzing all over the place..

You’d think I’d work better – so much energy, so much infinite overclocked brainpower. But instead I keep tripping over myself because I can’t focus for more than two seconds at a time.

Conversely, when I’m slightly tired, I just plomp my arse down and code. With a slightly tired brain I can code for hours and hours without even thinking about checking twitter or facebook. It’s like the internet stops existing.

I feel like this holds true for most programmers out there. We have too much brainpower for approximately 80 percent of the tasks we work on – face it, writing that one juicy algorithm, requires ten times as much code to produce an environment in which it can run. Even if you’re doing the most advanced machine learning (or something) imaginable, a lot of the work is simply cleaning up the data and presenting results in a lovely manner.

And when your brain isn’t working at full capacity it looks for something to do. Being tired makes you dumb enough that the task at hand is enough.

Bright computer screens

This one is pretty simple. Keep staring at a bright source of light in the evening and your sleep cycle gets delayed. You forget to be tired until 3am. Then you wake up at 11am and when the evening rolls around you simply aren’t tired because hey, you’ve only been up since 11am!

Given enough iterations this can essentially drag you into a different timezone. What’s more interesting is that it doesn’t seem to keep rolling, once you get into that equilibrium of going to bed between 3am and 4am you tend to stay there.

Or maybe that’s just the alarm clocks doing their thing because society tells us we’re dirty dirty slobs if we have breakfast at 2pm.

Fin

To conclude, programmers work at night because it doesn’t impose a time limit on when you have to stop working, which gives you a more relaxed approach, your brain doesn’t keep looking for distractions and a bright screen keeps you awake.

 

Shiro Broadband Router

Step to Configure TP-Link Router
——————————————

1.Power on Router.
2.Connect your PC/laptop with Router via ethernet cable. [Use Routers LAN ports only not WAN]
3.Your PC automatically gets IP address as default DHCP is enabled on Router.
You get IP from 192.168.1.x or 192.168.0.x (x: 2-254)
Router default IP varies from model to model either 192.168.1.1 or 192.168.0.1(written on router box)
4.Open browser and enter router default IP address http://192.168.1.1 according to your router.
5.Router authentication required. By default username/password is admin/admin.
6.TP-Link console opens.
7.Click on Network > LAN, change IP address to 192.168.1.2. Its due to your Modem
default IP address is 192.168.1.1.
8. Its reboots automatically.
9. Now open TP-Link console with new IP address which is 192.168.1.2
10.Click on Wireless Settings, Change default SSID with your choice like “Johnny”
11.Change other setting as per requirment like country. Rest leave by default.
12.Click on Wireless Security for making your wireless network secure.
13.Use WPA-PSK (Wireless security protocol)
14.Select your desired Encription like AES or TKIP.
15.Enter PSK password.
16. Select DHCP link.
17. Disable it. (As your Modems DHCP is already on)
18. Click system Tools > Reboot.
19. Your Router is ready to use, now just plug the ethernet with modem.

Note:
The guide is written because the novice user always in confusion, how to configure router.
Almost all vendors Wireless Router can be configureable with this guide with some minor change.
The Guide is made while the configuration of TP-Link WR-642G.
The Basic concept is to change the Router IP address & disable Routers DHCP service.

Web sites have changed since the appearance of HTML5 and CSS3 and also after the latest jQuery releases. They now have interesting features which make them more dynamic and also easy to load and navigate because most of the graphics that were previously jpeg, gif or png files are now mostly done in code. Most of the sites in this article are making use of these new technologies and that can be seen easily when navigating. It’s a pleasure to see wonderful sites like for which people worked carefully and with a clear strategy.

mball.cz

mball.cz - Awesome New Website Designs To Inspire You

drivingfutures.com

drivingfutures.com - Awesome New Website Designs To Inspire You

iamyuna.com

iamyuna.com - Awesome New Website Designs To Inspire You

beautifulexplorer.com

beautifulexplorer.com - Awesome New Website Designs To Inspire You

pixfx.at

pixfx.at - Awesome New Website Designs To Inspire You

donq.com

donq.com - Awesome New Website Designs To Inspire You

teixido.co

teixido.co - Awesome New Website Designs To Inspire You

orangecinemaseries.fr

orangecinemaseries.fr - Awesome New Website Designs To Inspire You

hyperakt.com

hyperakt.com - Awesome New Website Designs To Inspire You

wingcheng.com

wingcheng.com - Awesome New Website Designs To Inspire You

pointlesscorp.com

pointlesscorp.com - Awesome New Website Designs To Inspire You

goslingo.com

goslingo.com - Awesome New Website Designs To Inspire You

factoria.it

factoria.it - Awesome New Website Designs To Inspire You

dodocase.com

dodocase.com - Awesome New Website Designs To Inspire You

wecreative.com.br

wecreative.com.br - Awesome New Website Designs To Inspire You

haardtline.de

haardtline.de - Awesome New Website Designs To Inspire You

evilstudio.com

evilstudio.com - Awesome New Website Designs To Inspire You

inflicted.nl

inflicted.nl - Awesome New Website Designs To Inspire You

davidhellmann.com

davidhellmann.com - Awesome New Website Designs To Inspire You

humaan.com.au

humaan.com.au - Awesome New Website Designs To Inspire You

vgweb.com.br

vgweb.com.br - Awesome New Website Designs To Inspire You

foreverheavy.com

foreverheavy.com - Awesome New Website Designs To Inspire You

moovents.com

moovents.com - Awesome New Website Designs To Inspire You

infinvision.com

infinvision.com - Awesome New Website Designs To Inspire You

macaronibros.com

macaronibros.com - Awesome New Website Designs To Inspire You

robedwards.org

robedwards.org - Awesome New Website Designs To Inspire You

zenithdelille.com

zenithdelille.com - Awesome New Website Designs To Inspire You

flowacademy.pl

flowacademy.pl - Awesome New Website Designs To Inspire You

pixelot.de

pixelot.de - Awesome New Website Designs To Inspire You

vertaaverkkoja.fi

vertaaverkkoja.fi - Awesome New Website Designs To Inspire You