CaveOps: Night-City
#Hello Edgerunners, welcome to the Night-City.

Welcome!

Xcode: LLVM Error

在使用Xcode5进行iOS7开发时,在打开SDK文件后,可能会不小心对其中的代码进行了一些操作,那么在下一次 Build 或者 Run 的时候就会出现类似以下的错误: After modifying system headers, please delete the module cache at '/Users/one/Library/Developer/Xcode/DerivedData/ModuleCache/24CDWDK5BTYJE' 解决方法: 删除错误中提到的 ~/Library/Developer/Xcode/DerivedData/ModuleCach...

Scheme 003:Table

作为Lisp语言大家族的一员,Scheme同样擅长于处理表。你应该理解表以及有关表的操作以掌握Scheme。表在在后面章节中的递归函数和高阶函数中扮演重要角色。 在本章中,讲解基本的表操作,例如cons,car,cdr,list和quote。 3.2 Cons单元和表 3.2.1 Cons单元 首先,让我解释一下表的元素:Cons单元 (Cons cells) 。Cons单元是一个存放了两个地址的内存空间。Cons单元可用函数cons生成。 在前端输入(cons 1 2) (cons 1 2) ;Value 11: (1 . 2) 系统返回(1 . 2)。如图一所示,函数cons给两个地址...

Scheme 002:Calculate

2.1 简介 让我们把Scheme解释器当作计算器来使用。 2.2 将Scheme作为一个计算器 点击 开始 → 所有程序 → MIT Scheme → Scheme 来启动Scheme解释器以及如下图所示的控制台。 首先,让我们计算1加2的值,在提示符中输入(+ 1 2): 1 ]=> (+ 1 2) ;Value: 3 1 ]=> 解释器返回3作为答案。请注意以下三点: 一对括号代表了一次计算的步骤。本例中,(+ 1 2)代表步骤1+2。 左括号后紧跟着一个函数的名字,然后是参数。Scheme中大多数的操作符都是函数。在本例中,函数+首先出现,然后紧跟两个参数:1...

Scheme 001:Install MIT-Scheme

1.1 为什么使用Scheme 使用Scheme,你可以: 编写漂亮的程序。 享受编程的乐趣。 这些就是为什么要学习Scheme的原因。在你用Scheme编写一些实用程序的时候会遇到一些困难。 然而,正因为这是一门值得学习的语言,所以许多卓越的黑客钟爱Scheme。事实上,计算机程序的构造和解释 (Structure and Interpretation of Computer Programs,SICP) ——最好的计算机科学教科书之一——使用Scheme来描述演示程序。GNU也使用Scheme (一种被称作guile的实现) 作为其应用软件的通用脚本语言。guild相当于M...

Renaming Variables in Xcode

For both persons and programming variables, a good name is an invitation to a prosperous life. Luckily for your Objective-C variables, changing their name is easier than the legal trouble of changing your own name to 'Max Power'. Find out how: 'Edit All In Scope' To rename a symbol present solely in...

Pebble Smart-watch, Xcode 5 and OS X Mavericks

After stumbling a few times while setting up my development environment for the Pebble Smart-watch, I decided to write a step-by-step guide on the topic to save time and sanity to other developers coding their first application for Pebble using Xcode 5 under OS X Mavericks and iOS. Things You'll Wi...

Command that Terminal

In case somebody else is using the left and right arrows to navigate through typed commands, I've compiled a list of useful shortcuts for the Terminal: Ctrl + A: Go to the beginning of the line. Ctrl + E: Go to the end of line. Ctrl + F: Move the cursor position one space forward. Ctrl + B: Move th...

What's this?

The Night-City version of CaveOps inspired by Cyberpunk 2077. Not finished yet.

Pinned Message

The Founder and CEO of Infeca Technology.

Developer, Designer, Blogger.

Big fan of Apple, Love of colour.

Feel free to contact me.

反曲点科技创始人和首席执行官。

开发、设计与写作皆为所长。

热爱苹果、钟情色彩。

随时恭候 垂询