Intro to Recommandation System

Problem formulation

可能会有99%的数据是不知道的(用问号表示)
因此可以去猜那些不知道的数据是多少
然后把得分最高的电影推荐给他就可以了
所以其实是一个矩阵补全系统
Read more

Zst Internship IOS Code Step2

Here are the method added

  • I want to implement a button that used to went back to the main page if the user suddenly do not want to continue ordering the things
    • First
      • Go to Sections –> ButtonMacro.h
        • add #define BACKTOMAINPAGE 13 at the end
      • then go to Sections –> Buttons –> CreateButtom.m
        • add the following code
1
2
3
4
5
6
else if (_type == BACKTOMAINPAGE) 
{
    self.frame = CGRectMake(50, 50, 40, 44);
    [self setTitle:@"返回主页" forState:UIControlStateNormal];
    [self setTitle:@"返回主页" forState:UIControlStateHighlighted];
}
Read more
Comments

Zst Internship IOS Code Step1

In order to understand better about the code of the project in zst ios project, first list the folder

  • in the huyihui folder
    • image
    • Third party
    • Sections
    • Controller
    • Model
    • Public
    • AppDelegate.h
    • AppDelegate.m
    • Main.storyboard
    • ViewController.h
    • ViewController.m
    • Images.xcassets
    • Supporting Files
    • Products
  • For the project is nearly finished, so I do not introduce the framework they use.
Read more
Comments

Use CocoaPods to Management Dependence in Xcode5

What is CocoaPods?

  • CocoaPods is a tools used to management the Third party code in IOS project

How to install it?

  • use the ruby gem to install
    • sudo gem install cocoapods
    • and the ruby should be above ruby 2.0
    • pod setup
      • this step is download the info in the ~/.cocoapods
      • and you can use du -sh * to see how it process
    • if the gem is too old
      • use sudo gem update --system
Read more
IOS
Comments

Build a Xib Program in Xcode5

  • 由于xcode5里面默认使用了storyboard这种视图控制器,因此有以下的解决方案
    • 1.新建工程—ios—-Application—-Single View Application
    • 2.将自动生成的Main.storyboard,ViewController.h,ViewController.m这三个文件彻底删除
    • 3.在项目设置里面,将MainInterface这一项中的内容删除置为空
    • 4.新建一个类,继承UIViewController,并且选中WithXIB for user interface.并且把内存计数器改为MRC.(改成MRC的方法就是再build setting里面找automatic, 然后把Object-C Automatic Reference Counting改成NO) Read more
IOS
Comments

Sysu公选食品安全和法律的考试资料

名词解释1 食品安全 (有担保的意思)

  • 1.食品安全(Food safety):确保食品按照其用途进行加工或者食用时不会对消费者产生危害 (Food safety: Assurance that food will not cause harm to the consumer when it is prepared and/or eaten according to its intended use,CAC)
  • 2.食品保障(Food security):,为了健康生活每个人在任何时间都可获得食物 。 (Food security: Access by all people at all times to the food needed for a healthy life)
  • 食品安全—-》food safety and food security
Read more
Comments