Month – July 2015

Karel introduce this robot

Early in the 1970s,Stanford University graduate Rich Pattis think if we make the novice programmer in a relatively complex programming language,,Comparatively simple learning environment,Will contribute to the programming language teaching。This simple environment characterized by a variety of programming languages ​​from abstraction。So he designed such a program environment,Allow students to teach a robot to solve simple problems。This robot is Karel[……]

Click link to continue reading...

For my own use Swift 2 Wrote a rudimentary Karel Robot

Update it!

This update adds a branch,Goal is to create the "Next" function,In addition to repair the ugly side of the white block interface!

Currently no more modifications,run.swift file more refreshing,No more double thread it!

With an array of state of static storage Karel,Thanks for the banana king!

Adjust the speed of the great dream is within reach!?[……]

Click link to continue reading...

Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0

When you learn Java,Some details of the small problems tend to be very confusing,When in receive parameters, for example。

If your program needs to receive arguments in order to run,And you did not give the default parameters,That can cause this error:

For example, your code is:
[crayon-690b1[……]

Click link to continue reading...

SARFT ban vulgar reality show:Boycott and show off their wealth over the star

Yesterday,Light Ding Bureau officially issued the "Notice on Strengthening Management of the reality show"。The circular points out,Hot nowadays reality show mostly interesting and "meaningless"。It is not a good guide social values ​​of the public ......

Alas,Light Ding finally do a piece of Personnel,Speaking of reality show,I thought of that sucker 20 beauty review see monkey ..................[……]

Click link to continue reading...

IT (Information Technology) and technical data (Data Technology)

As early as last year,DT concept was brought up,And I do not know has been。until today,Only occasionally learned。Quickly following google,Not only the amount of help sigh:I already can not keep up the trend。

We know that IT is short for Information Technology;So the name suggests DT,Data Technology is the abbreviation of the。

The thought of the future home computing[……]

Click link to continue reading...

String NSString and what difference?

Swift programming language learning time may not experience this thing,But with the depth of learning,As you read other people's code when,You will probably encounter this type NS,This time you will certainly be curious,similar String and NSString In the end where the difference? They seem to be exactly the same way! and,As by keyword,We can also easily make data transfer between both of them[……]

Click link to continue reading...

How do I learn English

My English level is not high,Performance is not good。My interest in learning English is not great,Syntax may now be over, but junior high school students。

But I still got the third prize of National College English Contest、Able to read some of the books is not fluent in English、Sweating can translate English articles、Manual can fluent in English reading various software、Bored able to stroll around the forums and websites in English、You can still see without subtitles[……]

Click link to continue reading...

I did not use a third party commenting system

WordPressMost probably the largest of the blog systems,Today's regressed to the extent that it can even CMS cameo,I do not know how many business websites do with castrated WP facade ......

WP commenting system that does have some Han,so,There exists the brightest third-party social comment system。I have also used them once,But eventually gave up,To this end I wrote an article to Tucao:《WordPress common[……]

Click link to continue reading...

Reprint:Multi-paradigm programming language-an example of Swift

The original from InfoQ,Author Guo Lin

Based on the Swift case study of language,Introduction what is a multi-paradigm programming language;Also introduces several of today's more popular programming paradigm,Worth a read。Collection,Original linkIn this

Swift programming paradigm

Programming paradigm is the idea behind the program language。Representing programming language designers believe that how the program should be built and implemented。Common programming paradigm:[……]

Click link to continue reading...

Swift 2.0 Introduction

WWDC conference in June this year on, Apple released Swift 2.0 Programming language。This new version has improved performance,The new API error control and detection support class availability。And improved Apple SDK platform API to make it more native to Swift。

Source

For new features for,Also worth noting is that Apple will open later this year Swift[……]

Click link to continue reading...

My millet bracelet:Belated Experience Report

A blink of an eye six months later,Squandered for so long,I finally decided to hand the bracelet to write something millet。😒

Buy millet bracelet,Friends said he was blue millet bracelet with my phone with a very blue。That was my first real contact with millet bracelet。Later, after playing a few times,考虑到它¥79的价格,I own into a,I think after thinking,Or buy a black bracelet。

Speaking wearable device,Opened[……]

Click link to continue reading...

htaccess redirect to https redirection also cause subdomain solutions

Recently,So I wrote an article:WordPress Open full stop HTTPS ,This side describes in detail how I turned the whole grid down to the station https of,Now I need to open an experimental subdomain,The result was writing htaccess ,To redirect to443Port the code causes the entire domain name is redirected to the primary domain,It makes very egg pain,Or sub-domain must also have a certificate,Or[……]

Click link to continue reading...