学习hibernate的时候,数据库用了PostgreSQL,第一节课就抛错,User实体映射没有死活不能导出表。总是提示这一句: ERROR: syntax error at or near "User"。 后来发现,如果把表名设成t_user这样的就行了,难道PostgreSQL不能用大写?又试 ...
                            
                            
                                分类:
数据库   时间:
2017-08-01 11:18:00   
                                阅读次数:
1901
                             
                         
                    
                        
                            
                            
                                    Evacuation Plan Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 4914 Accepted: 1284 Special Judge Description The City has a number of muni ...
                            
                            
                                分类:
其他好文   时间:
2017-07-29 12:42:37   
                                阅读次数:
230
                             
                         
                    
                        
                            
                            
                                    一、线性SVM 1. 背景: 1.1 最早是由 Vladimir N. Vapnik 和 Alexey Ya. Chervonenkis 在1963年提出 1.2 目前的版本(soft margin)是由Corinna Cortes 和 Vapnik在1993年提出,并在1995年发表 1.3 深度 ...
                            
                            
                                分类:
其他好文   时间:
2017-07-27 23:32:19   
                                阅读次数:
312
                             
                         
                    
                        
                            
                            
                                前面有关自己定义View中进行了画图。但View的画图机制存在例如以下缺陷:1、View缺乏双缓冲机制。2、当程序须要更新View上的图像时,程序必须重绘View上显示的整张图片。3、新线程无法直接更新View组件。因为View存在上面缺陷。所以在游戏开发中一般使用SurfaceView来进行绘制, ...
                            
                            
                                分类:
移动开发   时间:
2017-07-26 21:47:43   
                                阅读次数:
258
                             
                         
                    
                        
                            
                            
                                我想说不台的平台,如tiny210和x210。它们的头文件是有稍微区别的。我这个是x210下的代码。但都须要注意的是NV12T与NV12的问题,默认要求输入的图片是NV12T,经过调整之后,能够同意用NV12。 即便如此。NV12格式的图片也不好拿到啊。 #include <stdio.h> #in ...
                            
                            
                                分类:
其他好文   时间:
2017-07-25 22:29:12   
                                阅读次数:
168
                             
                         
                    
                        
                            
                            
                                题目: Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation a ...
                            
                            
                                分类:
其他好文   时间:
2017-07-25 21:16:29   
                                阅读次数:
143
                             
                         
                    
                        
                            
                            
                                Proving Equivalences Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3743 Accepted Submission(s) ...
                            
                            
                                分类:
移动开发   时间:
2017-07-24 19:14:27   
                                阅读次数:
294
                             
                         
                    
                        
                            
                            
                                    AppBarLayout实际是一个LinearLayout,不过 Design Support库对它做了很多滚动事件, 将Toolbar嵌套到AppBarLayout中,然后给页面显示主题内容的控件指定一个布局行为 指定布局行为 别忘了添加Design Support的依赖 ...
                            
                            
                                分类:
移动开发   时间:
2017-07-23 16:29:54   
                                阅读次数:
285
                             
                         
                    
                        
                            
                            
                                Holedox is a small animal which can be considered as one point. It lives in a straight pipe whose length is L. Holedox can only move along the pipe. C ...
                            
                            
                                分类:
其他好文   时间:
2017-07-23 15:31:17   
                                阅读次数:
167
                             
                         
                    
                        
                            
                            
                                Android 应用需要几个特别的配置文件。应用逻辑主要是由java开发语言编写。 Andriod开发工具把这些文件转换成Android applicaion.这个工具能调试、打包、部署、和运行开发的application。 Android Software Development Kit(Andr ...
                            
                            
                                分类:
移动开发   时间:
2017-07-23 14:29:42   
                                阅读次数:
210