Some slides were not posted.
Speaker: Jessica Kerr
| 袁朝发的个人技术博客,做了一个播客叫做《逃逸速度》,喜欢折腾各种各样的事情,业余野生视频博主,专业大模型算法工程师,尝试做一些有意义的事情 |
| i;m wondering |
Some slides were not posted.
Speaker: Jessica Kerr
| ; (group-by f list): call f on each item in list. The return value becomes a key | |
| ; of the resulting map, whose keys map to the list of items for which f returned | |
| ; that key. | |
| ; (vals map): returns a list of the values of the map. | |
| (defn anagram [words] (vals (group-by sort words))) | |
| (= (anagram ["star" "rats" "car" "arc" "stars"]) | |
| [["star" "rats"] ["car" "arc"] ["stars"]]) ; true |
| /* though it's not written by me.......*/ | |
| /* | |
| http://www.snakedj.ch/2010/09/13/swi-prolog-sudoku-solver/ | |
| */ | |
| :- use_module(library(clpfd)). | |
| sudoku([A1,A2,A3, A4,A5,A6, A7,A8,A9, | |
| B1,B2,B3, B4,B5,B6, B7,B8,B9, | |
| C1,C2,C3, C4,C5,C6, C7,C8,C9, |
| -(void) addAppAsLoginItem { | |
| NSString * appPath = [[NSBundle mainBundle] bundlePath]; | |
| // This will retrieve the path for the application | |
| // For example, /Applications/test.app | |
| CFURLRef url = (__bridge CFURLRef)[NSURL fileURLWithPath:appPath]; | |
| // Create a reference to the shared file list. | |
| // We are adding it to the current user only. | |
| // If we want to add it all users, use |
| Set up databases to run AS YOUR USER ACCOUNT with: | |
| unset TMPDIR | |
| mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp | |
| To set up base tables in another folder, or use a different user to run | |
| mysqld, view the help for mysqld_install_db: | |
| mysql_install_db --help | |
| and view the MySQL documentation: | |
| * http://dev.mysql.com/doc/refman/5.5/en/mysql-install-db.html |
| http://rnd.azoft.com/mobile-app-transering-data-using-ultrasound/ | |
| https://github.com/davisappdev/libultrasound-ios this one's wired, i don't even know how to correctly use it... |
| ----------------- | |
| C | | |
| | | |
| ------------ | | |
| A | | | |
| a | | | |
| | | | |
| b | | |
| ------------ | | |
| B | |