上一页 1 ··· 168 169 170 171 172 173 174 175 176 ··· 187 下一页
摘要: 前端加载超大图片(100M以上)实现秒开解决方案 - 知乎 https://zhuanlan.zhihu.com/p/615286222 阅读全文
posted @ 2017-02-17 12:32 papering 阅读(388) 评论(0) 推荐(0)
摘要: w 阅读全文
posted @ 2017-02-17 12:20 papering 阅读(170) 评论(0) 推荐(0)
摘要: 时间消耗 耗时 import timefrom datetime import datetimelimit_ms = 10000start = datetime.now()time.sleep(1.234)end = datetime.now()duration = end - startms = 阅读全文
posted @ 2017-02-17 02:35 papering 阅读(1380) 评论(0) 推荐(0)
摘要: 使用 JavaScript,HTML 和 CSS 构建跨平台的桌面应用程序 流程模型 | Electron https://www.electronjs.org/zh/docs/latest/tutorial/process-model 流程模型 Electron 继承了来自 Chromium 的多 阅读全文
posted @ 2017-02-17 01:01 papering 阅读(266) 评论(0) 推荐(0)
摘要: 推荐算法架构 :召回(1) - 知乎 https://zhuanlan.zhihu.com/p/475120402 推荐算法架构 :召回(1) 召回模块面对几百上千万的推荐池物料规模,候选集十分庞大。由于后续有排序模块作为保障,故不需要十分准确,但必须保证不要遗漏和低延迟。目前主要通过多路召回来实现 阅读全文
posted @ 2017-02-16 23:14 papering 阅读(704) 评论(0) 推荐(0)
摘要: Linux inotify功能及实现原理 https://mp.weixin.qq.com/s?src=11&timestamp=1642038821&ver=3555&signature=L1s3NlAcI-rPNc-9ZZgBMdagfIIslFJVblDmz5lydogzw1fimX9Ij*k 阅读全文
posted @ 2017-02-16 23:11 papering 阅读(491) 评论(0) 推荐(0)
摘要: w 阅读全文
posted @ 2017-02-16 22:49 papering 阅读(206) 评论(0) 推荐(0)
摘要: w 0-订单表为2张:非拼团、拼团; 1-拼团类型表,拼团维度:人数、周期、单品或组合、折扣; 评团创建表:上类型表共拼团创建人选择; 团成员表:上创建表中共新成员选择; 商品录入表:独立表,仅商品价格、名字、描述等基本信息。 顾客页面端需要3次join才能进行拼团信息的展示、参团、开团、下单,对其 阅读全文
posted @ 2017-02-16 22:40 papering 阅读(875) 评论(0) 推荐(0)
摘要: 实践: 1) 首先,可以先查看一下数据库现在的sql_mode的值,sql语句为: select version(), @@sql_mode; 获取结果可能如下,不同的设置查询出来的有区别: 然后可以使用如下语句,去设置自己需要的sql_mode. SET sql_mode=(SELECT REPL 阅读全文
posted @ 2017-02-16 15:32 papering 阅读(296) 评论(0) 推荐(0)
摘要: https://docs.djangoproject.com/en/2.2/ref/contrib/ contrib packages Django aims to follow Python’s “batteries included” philosophy. It ships with a va 阅读全文
posted @ 2017-02-16 14:06 papering 阅读(346) 评论(0) 推荐(0)
摘要: w数组的元素排序,不同编程语言的算法。 w耗时、耗内存。 情景: 一张grab表,行时时新增中;每次按一定条件取出一定行,遍历每行,对单表单行数据进行处理分析,分析后再更新是否分析二元值标识字段。 若采用外部脚本分析,如php,暂时不考虑存储过程,同时认为只有一个分析脚本在运行,无并发分析,则需要获 阅读全文
posted @ 2017-02-16 13:11 papering 阅读(749) 评论(0) 推荐(0)
摘要: w TypeError : Cannot set property 'innerHTML' of nullTypeError : Cannot set property 'value' of null通过id或其他部分属性查找元素改变页面值时,如在点击中event.target.getAttribu 阅读全文
posted @ 2017-02-15 13:44 papering 阅读(280) 评论(0) 推荐(0)
摘要: Python | super() function with multilevel inheritance - GeeksforGeeks https://www.geeksforgeeks.org/python-super-function-with-multilevel-inheritance/ 阅读全文
posted @ 2017-02-14 17:50 papering 阅读(290) 评论(0) 推荐(0)
摘要: https://docs.djangoproject.com/en/2.2/topics/pagination/ Paginator objects¶ The Paginator class has this constructor: class Paginator(object_list, per 阅读全文
posted @ 2017-02-14 17:42 papering 阅读(246) 评论(0) 推荐(0)
摘要: http://www.world-english.org/boys_names-j-l.htm w http://ename.dict.cn/list/male/F/4 http://babynames.net/all/starts-with/d?page=2 阅读全文
posted @ 2017-02-14 15:51 papering 阅读(279) 评论(0) 推荐(0)
摘要: w HTTP The Definitive Guide Cookies themselves are not believed to be a tremendous security risk, because they can be disabled and because much of the 阅读全文
posted @ 2017-02-14 11:31 papering 阅读(211) 评论(0) 推荐(0)
摘要: w HTTP The Definitive Guide 11.6.9 Cookies and Caching You have to be careful when caching documents that are involved with cookie transactions. You d 阅读全文
posted @ 2017-02-14 11:29 papering 阅读(158) 评论(0) 推荐(0)
摘要: w HTTP The Definitive Guide Cookies can be used to track users as they make multiple transactions to a web site. E-commerce web sites use session cook 阅读全文
posted @ 2017-02-14 11:26 papering 阅读(274) 评论(0) 推荐(0)
摘要: w https://www.zhihu.com/question/35307626 w 0-客户端(附加用户信息)首次请求服务端 》服务端生成session(有唯一性)、session_id,cookie(可能含有用户名、登录密码、浏览历史),并且设定cookie的生命周期、适用域名、适用域名下的路 阅读全文
posted @ 2017-02-14 11:20 papering 阅读(221) 评论(0) 推荐(0)
摘要: HTTP The Definitive Guide Cookies are the best current way to identify users and allow persistent sessions. They don't suffer many of the problems of 阅读全文
posted @ 2017-02-14 11:16 papering 阅读(201) 评论(0) 推荐(0)
摘要: w本地存储数据2种形式。 http://superuser.com/questions/292952/chrome-cookies-folder-in-windows-7 chrome://settings/cookies Settings > Show Advanced Settings > Pr 阅读全文
posted @ 2017-02-14 10:54 papering 阅读(199) 评论(0) 推荐(0)
摘要: w在每个URL后面都附加一个用户特有的标识码。 HTTP The Definitive Guide Some web sites keep track of user identity by generating special versions of each URL for each user. 阅读全文
posted @ 2017-02-14 10:40 papering 阅读(327) 评论(0) 推荐(0)
摘要: w用HTTP认证首部注册用户名。 HTTP The Definitive Guide Rather than passively trying to guess the identity of a user from his IP address, a web server can explicit 阅读全文
posted @ 2017-02-14 10:36 papering 阅读(239) 评论(0) 推荐(0)
摘要: HTTP The Definitive Guide Early web pioneers tried using the IP address of the client as a form of identification. This scheme works if each user has 阅读全文
posted @ 2017-02-14 10:31 papering 阅读(285) 评论(0) 推荐(0)
摘要: 用户信息通过HTTP头部承载:不能实现用户唯一性标识。 w HTTP The Definitive Guide Table 11-1 shows the seven HTTP request headers that most commonly carry information about the 阅读全文
posted @ 2017-02-14 10:27 papering 阅读(233) 评论(0) 推荐(0)
摘要: w服务器要知道和谁在交谈。 HTTP The Definitive Guide Web servers may talk to thousands of different clients simultaneously. These servers often need to keep track 阅读全文
posted @ 2017-02-14 10:04 papering 阅读(241) 评论(0) 推荐(0)
摘要: 0-服务器识别用户的目的:服务器存有不同用户的信息,而对这些信息,服务器自身、网站开发管理者、网站访问者会对其读写; 1-暂且存入服务器数据库,购物车分为2种表:购物车入车表和购物车下单表; 2-单个客户的购物车是只有一个,状态具有单一时刻,或者说,当前唯一性,其中入车表一个客户的一种商品数量大于1 阅读全文
posted @ 2017-02-14 09:59 papering 阅读(175) 评论(0) 推荐(0)
摘要: w元素的上的下。 阅读全文
posted @ 2017-02-14 01:23 papering 阅读(246) 评论(0) 推荐(0)
摘要: w调用函数次数的计算。 JavaScript: The Good Parts 4.15. Memoization Functions can use objects to remember the results of previous operations, making it possible 阅读全文
posted @ 2017-02-14 00:10 papering 阅读(451) 评论(0) 推荐(0)
摘要: wta 问题发源的代码: 阅读全文
posted @ 2017-02-13 18:08 papering 阅读(594) 评论(0) 推荐(0)
摘要: wjs php返回结果一致 阅读全文
posted @ 2017-02-13 16:47 papering 阅读(318) 评论(0) 推荐(0)
摘要: 借助cookie,cookie是js和php互相传值的纽带。 阅读全文
posted @ 2017-02-13 16:29 papering 阅读(282) 评论(0) 推荐(0)
摘要: w变量名为变量,减少重复代码。 阅读全文
posted @ 2017-02-13 12:32 papering 阅读(177) 评论(0) 推荐(0)
摘要: http://stackoverflow.com/questions/143847/best-way-to-find-if-an-item-is-in-a-javascript-array Best way to find if an item is in a JavaScript array? [ 阅读全文
posted @ 2017-02-13 11:49 papering 阅读(506) 评论(0) 推荐(0)
摘要: w 将数据库的不同数值寄存到自定义的不同属性上,避免通过寄存到同一id属性上的字符串处理。 阅读全文
posted @ 2017-02-13 11:46 papering 阅读(206) 评论(0) 推荐(0)
摘要: HTTP: The Definitive Guide 17.3.2 Content-Negotiation Header Quality Values The HTTP protocol defines quality values to allow clients to list multiple 阅读全文
posted @ 2017-02-13 11:28 papering 阅读(207) 评论(0) 推荐(0)
摘要: w交给客户端浏览器js处理,减少向服务器的提交字节、精简处理逻辑。 阅读全文
posted @ 2017-02-13 09:54 papering 阅读(155) 评论(0) 推荐(0)
摘要: w拼写多一个空格导致。 http://stackoverflow.com/questions/16100543/uncaught-typeerror-cannot-set-property-value-of-null 阅读全文
posted @ 2017-02-13 09:51 papering 阅读(439) 评论(0) 推荐(0)
摘要: w作用域控制变量的可见范围。 JavaScript: The Good Parts Instead of initializing myObject with an object literal, we will initialize myObject by calling a function t 阅读全文
posted @ 2017-02-12 23:35 papering 阅读(229) 评论(0) 推荐(0)
摘要: w单图,绕开了显示的兼容性。 http://res.m.suning.com/project/JoinGo/intro.html http://res.m.suning.com/project/JoinGo/assets/images/group/fullpage.png http://res.su 阅读全文
posted @ 2017-02-12 19:16 papering 阅读(1522) 评论(0) 推荐(0)
上一页 1 ··· 168 169 170 171 172 173 174 175 176 ··· 187 下一页