|
[原创]计算机为什么能生成随机数
很看好LZ的潜力, 预计LZ不久就能证明出各种大数学家们也搞不定的猜想了 |
|
两个创业点子,珍爱网 百合网 世纪佳缘网第三方免费联系方式查询网站
你这网站的卖点是免费查询资料, 但是你却无法保证资料的真实性, 还想要用户? 腾讯要是告诉你, 我们不保证能把消息发送给对方, 你还会用qq吗? |
|
两个创业点子,珍爱网 百合网 世纪佳缘网第三方免费联系方式查询网站
你这样只能证明账户是属于录入者的, 并不能保证资料的真实性. 就算假设录入者会如实填写自己的资料, 你怎么验证他填写的其他用户的资料的真实性呢? 那些主动在网上填写自己资料的人被骚扰, 盗用资料只能算是活该, 但是那些资料在不知情的情况下被其他人公开在网络上的人, 被骚扰, 被盗用资料, 你打算怎么处理? 是不是应该要求查询资料的人必须实名制? 必须上传身份证户口本房产证复印件指纹血样, 再装上你的实时网络活动监控软件之后才允许查询? |
|
两个创业点子,珍爱网 百合网 世纪佳缘网第三方免费联系方式查询网站
如何验证资料的真伪? |
|
主题汇代码包,主题汇方向为有偿主题服务平台,各位计算机大牛们快用你们的经验赚钱吧。
这个贴没宣传实名制, 不错, 有进步 |
|
[讨论]穷举攻击的末路
这不就是加了salt吗, 只不过很长而已 |
|
|
|
[原创]一个高中生的自学经历
我比LZ还要激进点, 高中没上两个月就退学了, 现在在家自学编程. 一是觉得编程不像其他东西, 最新的资源都在网上, 就算不上大学也能找到充足的学习材料. 二是对高考制度比较抵触, 我所在的市紧邻北京, 奥运之前北京好多重污染企业都搬到我们这边来了, 我们这边的水电也都优先调度北京, 但是高考分数线比北京高出好几十分去, 心里觉得不平衡, 所以不打算跟他们玩了. 退学之后, 因为之前有点编程基础, 就直接开始埋头苦写代码(类似大漠那样的外挂工具库), 这段时间巩固了windows编程的基础. 写出几万行, 基本实现了之前设想的主要功能之后, 发现已经没法维护了. 这时候才觉得需要重构了, 然后开始狂看书, 刚开始因为是以重构为目的的, 所以看了一些软件工程方面的书. 之后又觉得还需要更多的语言方面的知识和更系统的windows编程知识才能更好的完成重构, 又看了一些像effective c++, inside the c++ object model这类的书, 还有windows核心编程. 完成第一次重构之后, 本来想直接发布出去的, 但是觉得就这么放出来不方便推广, 就想搞一个自己的论坛. 然后就开始学一些web方面的东西, nodejs, mongodb, 以及相关的语言和框架比如coffeescript, LESS, express, meteor, backbone, requirejs什么的. 学web知识的这段时间才算是真正接触到了开源世界, 简单学了git, 开了github账号. 也是从这时候开始订阅了一堆老外的博客, 看看他们的技术动向. 再回头看曾经以为已经比较完善的c++代码, 已经变得不堪入目了...开始第二次重构, 用c++11, 以TDD的方式直接从头开始重新写. 这次重构的目的不太一样了, 以前是想着闭源卖钱的, 这次打算开源了. 一是用了不少优秀的开源库之后, 觉得自己这种水平的东西再闭源卖钱基本上就相当于骗钱了. 二是依据国情, 估计卖不出几份去就会被破解了, 还不如直接开源大家一起贡献呢. 三是这方面国内基本上没有开源的项目(外国可是有不少, 我在github上就看见过好几个开源的Wow私服还有Steam下好多游戏的协议的protobuf schema), 但是有很多人是从外挂开始接触编程的, 人家芝加哥都要把编程列为高中主修课了, 我觉得那些像我一样从外挂开始接触编程的人一上来就学习那些除了做外挂没有其他方面学习价值的语言太可惜了, 想要继续学习得花很大力气纠正畸形的编程思想. 所以我用c++实现底层功能, 用户在上层用lua编写逻辑, lua语法够简单, 入门很容易, 也足够灵活, 能面向对象, 也有不少函数式语言的特性, 而且还有内置的coroutine. 跑题了... 我没上过大学, 但是在网上接触了好多大学生, 感觉就算上了大学, 也主要得靠自学. 大学里的课程似乎都太老了, 有一个跟我聊得挺好的南开的妹纸, 她们学校只教16位汇编, c++以vc6为标准, 而且只讲语法, 学完c++之后竟然不知道有标准库...而且就在这种从来没写过上千行的程序的状态下, 学校竟然还要求搞项目, 不是xx管理系统这种东西, 是那种一听就特别厉害, 能拿经费, 能上新闻的项目. 我不知道给经费的人是怎么想的, 反正我不觉得这种状态下能搞出什么完整可用的东西来. 相比起来, 我觉得我现在在家的学习效率比以前在学校高多了. 我上过两个月的高中是个省重点, 但是相对还算是管得比较松的(我们省有一个大奇葩叫衡中, 可以自行google一下), 高二高三我不清楚, 高一的作息是早晨六点左右起床, 跑操, 早餐, 上课, 午餐, 午休, 上课, 晚餐, 晚自习一直到九点五十, 只能寄宿, 不能走读, 每个月有一个星期能休两天的周末, 一个星期能休一天, 剩下两个星期能休半天. 对于我这种特别能睡的, 基本每天都在半睡半醒之间度过, 当时就感觉学习效率很低, 而且就仅有的几次考试来看, 其他同学的学习效率应该也比我高不哪去. 回家之后, 我每天十到十二点左右睡觉, 早晨八点起床, 意识明显清醒了, 而且还不掉头发了(以前用手抓一下就能掉好几根), 最关键的是我学的都是我想学的东西了, 比如前几天刚看完的 Learn You a Haskell for Great Good! , 每天都像追小说一样一章一章追着看, 能瞬间理解的地方一带而过, 不太好理解的部分(比如monad)能停下来多写代码来实验, 一点一点用:t看类型. 感觉这样比挺老师讲更有效率, 记忆也更深, 还是monad这块, 以前还特地在youtube上看了一个一看就是大师那种级别的白胡子爷爷讲了一个多小时的视频, 讲得也挺好的, 各种类比, 语速不快发音也标准, 听起来不费力, 而且听他讲的时候也都明白了, 但是等到写代码就傻眼了, 所以最后还是自己一点一点观察推导着来学的. 总之我还是很满意我目前的状态的. 我不是在劝你退学或者证明大学无用, 我的经历仅供参考. |
|
|
|
[求助]关于c语言中的两个小问题求解
这就是`printf`的弊端了, 你传递进去的参数的实际类型是被丢弃了的, 函数内部会按照你的格式字符串中的信息来解读参数, `%x`要求的输入是一个`unsigned int`, 而且它也没办法验证你给出的参数到底是不是这个类型, 所以你不管传什么类型的参数, 都只能被当做`unsigned int`来解读. 这个问题用纯C如果不修改接口应该是没法解决的, 但是c++的variadic template可以很轻松的写出类型安全的`printf` template<typename T, typename... Args> void printf(const char *s, T value, Args... args) { while (*s) { if (*s == '%') { if (*(s + 1) == '%') { ++s; } else { std::cout << value; printf(s + 1, args...); // call even when *s == 0 to detect extra arguments return; } } std::cout << *s++; } throw std::logic_error("extra arguments provided to printf"); } |
|
[原创]谁可以帮我修改下FIIDDLER的代码?放到我的软件里代替原来的LSP。
我觉得应该不会有多少人会为了这么个可有可无的功能去下载一个陌生的软件, 既然是跟网站有关的, 还不如做一个的together.js这样的添加即用的库, 让站长给自己的网站添加. 要是实在想覆盖所有网站, 做浏览器扩展也比一个单独的桌面软件更容易被接受 |
|
[讨论]自己看原版书籍和看别人翻译的有什么区别?
有时间的话还是尽量看原版的吧, 熟悉熟悉术语, 这样看英文技术文章的时候不会太费力, 毕竟不可能所有东西都有人给你翻译啊 |
|
[原创]调戏:纯应用层的Anti本地调试器(1)
求改进意见 |
|
[原创]调戏:纯应用层的Anti本地调试器(1)
前段时间包装了一下detours, 貌似做出来的效果跟海风月影大神的差不多, 只不过没用汇编, 写了一堆模板推导出来回调的类型, 说起来似乎在类型上更安全 https://github.com/QingYun/tracer |
|
[推荐]IDA Pro 2013年前3名获奖插件出炉 一等奖1900美元
东西不错, 但是这翻译就... 不过还是谢谢lz了 |
|
[求助]虚继承中的析构函数
[QUOTE=hzzlyz;1236549]首先, 感谢您的回答, 然还是没有解答我的疑问 针对您所分析的代码 1. 00171A20 mov eax,dword ptr [ecx-4] ; ecx指向的是对象首地址+8处, 所以这里实际上是在取虚基类表指针 ==> 我想问的问题就是为什么ecx指...[/QUOTE] 1. 我也没弄明白为什么传进来的是this+8, 但是分析D类的析构, 调用的时候ecx的确是this+8的 2. 可能是我用的术语不太规范...自己造的, 那个指针正确的叫法应该是vbptr, 表里是虚基类的偏移, 具体的看一下D的内存布局吧 class D size(52): +--- | +--- (base class B) 0 | | {vfptr} 4 | | {vbptr} | +--- | +--- (base class C) 8 | | {vfptr} 12 | | {vbptr} | +--- | +--- (base class Y) 16 | | {vfptr} 20 | | {vbptr} | +--- | +--- (base class Z) 24 | | {vfptr} 28 | | {vbptr} | +--- 32 | val_ +--- 36 | (vtordisp for vbase A) +--- (virtual base A) 40 | {vfptr} +--- 44 | (vtordisp for vbase X) +--- (virtual base X) 48 | {vfptr} +--- D::$vftable@B@: | &D_meta | 0 0 | &D::B1 1 | &D::D1 D::$vftable@C@: | -8 0 | &C::C1 D::$vftable@Y@: | -16 0 | &D::Y1 D::$vftable@Z@: | -24 0 | &D::Z1 D::$vbtable@B@: 0 | -4 1 | 36 (Dd(B+4)A) 2 | 44 (Dd(D+4)X) D::$vbtable@C@: 0 | -4 1 | 28 (Dd(C+4)A) D::$vbtable@Y@: 0 | -4 1 | 28 (Dd(Y+4)X) D::$vbtable@Z@: 0 | -4 1 | 20 (Dd(Z+4)X) D::$vftable@A@: | -40 0 | &A::A1 1 | &(vtordisp) D::A2 2 | &(vtordisp) D::{dtor} D::$vftable@X@: | -48 0 | &(vtordisp) D::X1 1 | &(vtordisp) thunk: this-=8; goto D::{dtor} |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值