E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
sicp
spring+hibernate问题之 Ba
sicP
ropertyAccessor:
Hibernate: select orgnizatio0_.id as id1_, orgnizatio0_.name as name1_, orgnizatio0_.sn as sn1_, orgnizatio0_.description as descript4_1_, orgnizatio0_.pid as pid1_ from t_Orgnization orgnizatio0_ whe
wxinpeng
·
2009-03-04 22:00
java
spring
Hibernate
orm
Permission相关详解
Permission类的子类: AllPermission Ba
sicP
ermission FilePermission PrivateCredenti
amchencute
·
2009-03-01 16:00
java
socket
Security
Access
sun
SICP
第一章 1.2.2 学习
这一章讲递归非常好,尤其是换零钱的例子,我想到了“化整为零”的思想,真的很不错。 下面是练习1.11 到练习1.13的解答 其中练习1.13是一个推导过程 涉及到一些数学公式,因此我用的word来做的,懒得下专业工具了。希望大家见谅。 以后的解答我就不贴出来了,JE上板式经常会乱,还是用LISP自己的文件格式看着舒服。 一直在做项目没有时间来做这些习题 ,我会努力
dikar
·
2009-02-19 10:00
lisp
初读
SICP
的一点感想
在豆瓣上看到对
SICP
的高度评价,买了一本,现在已经细看完第二章。感觉挺难的,里面的习题更难。
peng2251
·
2009-02-11 16:00
编程
C++
c
框架
Scheme
Javascript调用Webservice的多种方法
usingSystem.Web.Services.Protocols;[webservice(namespace="http://tempuri.org/")][WebServiceBinding(ConformsTo=WsiProfiles.Ba
sicP
rofile1
·
2009-02-06 02:23
Sicp
笔记1.1节
Sicp
笔记1.1节
sicp
刚进大学的时候看过三章,现在基本上忘光了.只能从头看,希望这次能看完.我用的scheme环境是drscheme,功能十分好.scheme是一门很简单的函数式语言,看一遍它的R5RS
cfmonkey的笔记本
·
2009-01-20 21:00
SICP
1.2 线性递归和线性迭代
考虑一个计算阶乘n!的算法。很简单,编程的入门练习。1.递归实现 LISP代码: (define(factorialn) (if(=n1) 1 (*n(factorial(-n1))))) JAVA代码: publiclongfactorial(intn){ if(n==1) return1; else return(n*factorial(n-1)); } 2.迭代
ytll21
·
2009-01-12 18:00
java
编程
算法
Blog
lisp
SICP
第一章 1.1.7-1.2.1 学习
练习 1.6 当这样写的时候会内存溢出,原因是无限的递归调用,那是怎么造成递归的呢。原因在于,你将if else定义为一个过程,然后把需要递归的函数当作参数传递给这个过程,new-if的过程定义如下所示: (define (new-if predicate then-clause else-clause) (cond (predicate then-clause) &nb
dikar
·
2009-01-10 16:00
F#
Scheme
PLT scheme编译错误
今天照着
sicp
书上的例子运行代码,报出了一个错误: define-values: cannot change constant identifier
dikar
·
2009-01-10 13:00
Scheme
webwork的iterator不支持嵌套List?
因为页面采用了webwork的标签,今天遇到一个麻烦事情,就是在JSP页面上没办法通过数据标签获取到RoleXml 里面的List mu
sicP
anel数据,只能把List mu
sicP
anel的数据写成单独才可以显示到页面上
zjh0588
·
2009-01-08 16:00
jsp
Webwork
Java播放器V1.0
界面不太美观,所以想自己写一个类似的东西)已实现功能:支持声音的控制支持播放暂停播放进度显示(目前的版本不支持进度拖放)播放列表支持拖放功能播放格式支持MP3目前版本暂不支持视频的播放(所以只好命名为Mu
sicP
layer
jacky68147527
·
2009-01-05 18:00
java
swing
SICP
资料收集
总结下自己学习的资料
sicp
官网 http://mitpress.mit.edu/
sicp
the homework answer 里面有很多东西可以下载 scheme官网 http://
dikar
·
2009-01-01 19:00
.net
Scheme
lisp
SICP
第一章 1.1.1-1.1.6 学习
最近有幸看到了
SICP
这本书,现在开始慢慢啃这本书,在这里留下一些学习记录,也算一个计划吧。
dikar
·
2009-01-01 14:00
正则表达式
F#
FP
高阶函数学习(JavaScript)
最近研究
SICP
,对其中的高阶函数抽象有了一些体会,并用javascript中进行了一些实验,现在把这些实验分析一下,希望对大家有所帮助。
abruzzi
·
2008-12-31 14:00
JavaScript
编程
嵌入式
OO
lisp
软件成熟度模型
andoccasionallyevenchaotic.Fewprocessesaredefined,andsuccessdependsonindividualeffortandheroics.2)Repeatable.Ba
sicp
rojectmanagementprocessesareestabl
muniao8488
·
2008-12-13 12:38
职场
休闲
成熟度模型
现在桌上的书堆
底下的StructureandInterpretationofComputerPrograms(简称
SICP
)也是绝对要推荐的。以往MIT是拿这本书作为入门
RednaxelaFX
·
2008-12-11 23:00
JavaScript
算法
虚拟机
python
Ruby
MIT 6.001:
SICP
2nd (word版和chm版)共享下载
MIT 6.001:
SICP
2nd (Structure and Interpretation of Computer Programs -Second edition) Harold
cysunc
·
2008-12-05 09:00
读书
MIT 6.001:
SICP
2nd (word版和chm版)共享下载
阅读更多MIT6.001:
SICP
2nd(StructureandInterpretationofComputerPrograms-Secondedition)HaroldAbelsonandGeraldJaySussman
cysunc
·
2008-12-05 09:00
读书
SSD04 Exercise06 个人解答
Exercise6ProgrammingandHeuristicEvaluationThisexercisehastwoparts:Aprogrammingpart,inwhichyouwillcreateaVisualBa
sicp
rogramthatimplementsasubstantialpartofthewindowsDate
qianjigui
·
2008-11-27 11:00
windows
Microsoft
Access
UP
vb
SSD04 Exercise06 个人解答
Exercise6ProgrammingandHeuristicEvaluationThisexercisehastwoparts:Aprogrammingpart,inwhichyouwillcreateaVisualBa
sicp
rogramthatimplementsasubstantialpartofthewindowsDate
qianjigui
·
2008-11-27 11:00
windows
Microsoft
Access
UP
vb
使用 ExtJS TreePanel 从 ASP.NET AJAX Web Service 获取、绑定和显示树
www.CodeHighlighter.com/-->[WebService(Namespace="http://tempuri.org/")][WebServiceBinding(ConformsTo=WsiProfiles.Ba
sicP
rof
javatoyou
·
2008-11-24 15:00
Web
service
sicp
4.4.1小节习题
本节开始进入第4章最后一部分——逻辑程序设计。scheme将实现一种查询语言,非常类似prolog。由于解释器的实现在后面,还未读到,前面的习题我都将用prolog做测试,当然也给出scheme版本的解答,待以后测试。 首先给出依照书中所述写出的prolog事实库: <!----> address(
dennis_zane
·
2008-11-22 13:00
设计模式
F#
Scheme
D语言
lisp
sicp
4.4.1小节习题
本节开始进入第4章最后一部分——逻辑程序设计。scheme将实现一种查询语言,非常类似prolog。由于解释器的实现在后面,还未读到,前面的习题我都将用prolog做测试,当然也给出scheme版本的解答,待以后测试。 首先给出依照书中所述写出的prolog事实库:address('BitDiddle Ben','Slumerville','Ridge Road',10).address
庄周梦蝶
·
2008-11-22 13:00
sicp
4.3.3小节习题
本节实现了amb求值器,题目都是扩展这个求值器,引入一些特殊的过程。我的尝试解答从4.51开始习题4.51,要求实现permanent-set!,这个过程的副作用在遇到失败时不撤销,实现如下:;扩充analyze ((permanent-assignment? exp) (analyze-permanent-assignment exp));实现(define (perman
庄周梦蝶
·
2008-11-21 10:00
SICP
第一章小结
--包括一些摘录和感言,和零碎的代码 1、要素 写道 Every powerful language has three mechanisms for accomplishing this: * primitive expressions , which represent the simplest entities the language is concerne
tangtong
·
2008-11-18 16:00
数据结构
c
算法
FP
pascal
使用Ruby amb解决说谎者谜题
说谎者谜题是
sicp
4.3.2小节的一道题目,题目本身不难:五个女生参加一个考试,她们的家长对考试结果过分关注。为此她们约定,在给家里写信谈到考试的时候,每个姑娘都要写一句真话和一句假话。
庄周梦蝶
·
2008-11-15 18:00
使用Ruby amb解决说谎者谜题
阅读更多说谎者谜题是
sicp
4.3.2小节的一道题目,题目本身不难:五个女生参加一个考试,她们的家长对考试结果过分关注。为此她们约定,在给家里写信谈到考试的时候,每个姑娘都要写一句真话和一句假话。
dennis_zane
·
2008-11-15 18:00
Ruby
C
C++
C#
Scheme
使用Ruby amb解决说谎者谜题
说谎者谜题是
sicp
4.3.2小节的一道题目,题目本身不难:五个女生参加一个考试,她们的家长对考试结果过分关注。为此她们约定,在给家里写信谈到考试的时候,每个姑娘都要写一句真话和一句假话。
dennis_zane
·
2008-11-15 18:00
C++
c
C#
Scheme
Ruby
sicp
4.3.2部分习题
4.38,谜题就有翻译错误,问题更是错的离谱。原题是这样的:Baker,Cooper,Fletcher,Miller,andSmithliveondifferentfloorsofanapartmenthousethatcontainsonlyfivefloors.Bakerdoesnotliveonthetopfloor.Cooperdoesnotliveonthebottomfloor.Fle
庄周梦蝶
·
2008-11-15 00:00
sicp
4.3.2部分习题
4.38,谜题就有翻译错误,问题更是错的离谱。原题是这样的: Baker, Cooper, Fletcher, Miller, and Smith live on different floors of an apartment house that contains only five floors. Baker does not live on the top floor. Coo
dennis_zane
·
2008-11-15 00:00
编程
Scheme
sicp
习题 2.26 ~ 2.30
2.26 (define x (list 1 2 3)) (define y (list 4 5 6)) (append x y) (cons x y) (list x y) (define z (list x y)) (car z) (cdr z) 2.27 (define nil '()) (define (my-reverse x)
zhangle
·
2008-11-04 12:00
mobile
idea
sicp
习题 2.21 ~ 2.25
2.21 (define nil '()) (define (square x) (* x x)) (define (square-list items) (if (null? items) nil (cons (square (car items)) (square-list (cdr items))))) (define (s
zhangle
·
2008-11-04 11:00
java
sicp
习题 2.17 ~ 2.20
2.17 (define (my-last-pair l) (if (null? (cdr l)) (car l) (last-pair (cdr l)))) (my-last-pair (list 23 72 149 34)) 2.18 (define (my-reverse l) (if (or (null? l) (
zhangle
·
2008-11-04 11:00
SICP
sicp
习题 2.12 ~ 2.13
2.12 (define (add-interval x y) (make-interval (+ (lower-bound x) (lower-bound y)) (+ (upper-bound x) (upper-bound y)))) (define (sub-interval x y) (add-interval x (mak
zhangle
·
2008-11-04 11:00
C++
c
C#
sicp
4.3.1小节两题
本节开始介绍神奇的amb函数,为引入逻辑程序设计做铺垫。关于amb,有清华王垠的一个文档: http://cs2.swfc.edu.cn/~wanghuan/wangyin1/amb/amb.html 4.35,与an-element-of类似: <!----> (define (an - integer - between low hi
dennis_zane
·
2008-11-04 01:00
html
J#
sicp
4.3.1小节两题
本节开始介绍神奇的amb函数,为引入逻辑程序设计做铺垫。关于amb,有清华王垠的一个文档:http://cs2.swfc.edu.cn/~wanghuan/wangyin1/amb/amb.html4.35,与an-element-of类似:(define (an-integer-between low high) (require (not (> low high))) (amb low (
庄周梦蝶
·
2008-11-04 01:00
sicp
4.2.2小节部分习题
4.27,;;; L-Eval input:(define count 0);;; L-Eval value:ok;;; L-Eval input:(define (id x) (set! count (+ 1 count)) x);;; L-Eval value:ok;;; L-Eval input:(define w (id (id 10)));;; L-Eval value:ok;;;
庄周梦蝶
·
2008-11-02 01:00
sicp
4.2.2小节部分习题
4.27, <!----> ;;; L - Eval input: (define count 0 ) ;;; L - Eval value: ok ;;; L - Eval input: (define (id x) (set
dennis_zane
·
2008-11-02 01:00
SICP
sicp
4.2.1两题
4.25,如果在scheme解释器的应用序求值下,unless定义为一个过程,那么(*(factorial(-n1))将无穷递归下去。如果在正则序时,由于延时求值,仅当需要计算时才求值此表达式,不会造成无穷递归,在1的时候正常结束递归。4.26,在上一节求值器的基础上定义unless的语法形式还是很简单的,首先在analyze过程添加分析unless: ((unless? exp) (analyz
庄周梦蝶
·
2008-10-31 23:00
sicp
4.2.1两题
4.25,如果在scheme解释器的应用序求值下,unless定义为一个过程,那么 (* (factorial (- n 1)) 将无穷递归下去。如果在正则序时,由于延时求值,仅当需要计算时才求值此表达式,不会造成无穷递归,在1的时候正常结束递归。 4.26,在上一节求值器的基础上定义unless的语法形式还是很简单的, 首先在analyze过程添加分析unless:
dennis_zane
·
2008-10-31 23:00
正则表达式
Scheme
金蝶Apusic Platform主导国内基础架构建设
10月28日,由金蝶中间件有限公司主办,英特尔公司协办的“您的基础架构专家——金蝶Apu
sicP
latform全国巡展”在北京长富宫酒店成功举办。
hu_zhenghui
·
2008-10-28 22:00
应用服务器
中间件
咨询
SOA
平台
产品
金蝶Apusic Platform巡展西安站成功举行
10月23日,由金蝶中间件有限公司(以下简称金蝶中间件)主办,英特尔公司协办的“您的基础架构专家——金蝶Apu
sicP
latform全国巡展”在西安长安城堡酒店成功举办。
hu_zhenghui
·
2008-10-28 22:00
应用服务器
中间件
活动
企业应用
SOA
平台
sicp
习题 2.6 ~ 2.10
2.6 (define zero (lambda (f) (lambda (x) x))) (define (add-1 n) (lambda (f) (lambda (x) (f ((n f) x))))) ((zero 4) 3) (add-1 5 1) 2.7 (define (add-interval x y) (make-interval (+ (
zhangle
·
2008-10-27 11:00
F#
如何用WAP蜂窝电话上传文件
UploadFilefromWAPCellPhoneManywirelessdeviceslikecellphonescanbeusedasadigitalcameraorasamu
sicp
layer.Withthem
·
2008-10-20 00:00
other
菜鸟-手把手教你把Acegi应用到实际项目中(2)
上一篇是基于Ba
sicP
rocessingFilter的基本认证,这篇我们改用AuthenticationProcessingFilter
zhanjia
·
2008-10-16 23:00
bean
jsp
UI
项目管理
Acegi
菜鸟-手把手教你把Acegi应用到实际项目中(2)
阅读更多上一篇是基于Ba
sicP
rocessingFilter的基本认证,这篇我们改用AuthenticationProcessingFilter基于表单的认证方式。
zhanjia
·
2008-10-16 23:00
Acegi
项目管理
Bean
JSP
UI
菜鸟-手把手教你把Acegi应用到实际项目中(2)
上一篇是基于Ba
sicP
rocessingFilter的基本认证,这篇我们改用AuthenticationProcessingFilter
zhanjia
·
2008-10-16 23:00
jsp
bean
UI
项目管理
Acegi
sicp
习题 2.1 ~ 2.5
2.1 (define (make-rat n d) (let ((g (gcd n d))) (cond ((and (< n 0) (> d 0)) (cons (/ n g) (/ d g))) ((and (> n 0) (> d 0)) (cons (/ n g) (/ d g))) (else (
zhangle
·
2008-10-15 16:00
C++
c
C#
sicp
习题 1.42 ~ 1.46
1.42 (define (my-compose f g) (lambda (x) (f (g x)))) (define (inc x) (+ x 1)) (define (square x) (* x x)) ((my-compose square inc) 6) 1.43 (define (my-compose f g)
zhangle
·
2008-10-15 16:00
F#
sicp
习题 1.38 ~ 1.41
1.38 (define (cont-frac n d i k) (if (= k 1) (/ (n 1) (d 1)) (/ (n i) (+ (d i) (cont-frac n d (+ i 1) (- k 1)))))) (define (cont-frac-r n d k) (define (frac i) (if (= i
zhangle
·
2008-10-15 16:00
C++
c
C#
F#
上一页
56
57
58
59
60
61
62
63
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他