V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  vsomeone  ›  全部回复第 6 页 / 共 8 页
回复总数  141
1  2  3  4  5  6  7  8  
2018 年 9 月 7 日
回复了 Fiona7heHuman 创建的主题 程序员 请教大家, mbp 和 surface laptop 选哪个?
推荐 MacBook Pro。自己还有一台 New Surface Pro,品控实在不敢恭维,比如 Windows Hello 有一定几率无响应,充电接口接触不良等
Greater China 其实是大中华地区的意思…
2018 年 7 月 4 日
回复了 Tifosi 创建的主题 全球工单系统 iPhone 上的一卡通充值不阔以了?
你银行卡的问题吧
2018 年 7 月 3 日
回复了 ikedatenten 创建的主题 Android dp4 已发布
@mishini 习惯罢了,毕竟 Pixel 中文用户也比较少
2018 年 6 月 15 日
回复了 hansnow 创建的主题 分享发现 Vue 的 star 数已经超过 React 啦
先用的 Vue 再用 React,发现虽然大家都说 Vue 简单,但个人感觉 React 更容易上手。jsx 说丑其实也没丑到哪里去吧,真要说丑那也是 HTML 丑…
2018 年 6 月 6 日
回复了 paparika 创建的主题 C 关于 constexpr 的疑问
https://stackoverflow.com/questions/11522399/constexpr-initializing-static-member-using-static-function:

The most likely reason for this is that constexpr variables have to be available as compile-time constant expressions from inside the bodies of member functions, so the variable initializers are completely defined before the function bodies -- which means the function is still incomplete (undefined) in the context of the initializer, and then this rule kicks in, making the expression not be a constant expression.

大致意思就是,由于 constexpr 必须是 compile-time known 的,所以它们的 initializer 定义位于它们所在的 function/class 之外。因此,你的代码等价于:

```c++

constexpr int TestClass1::y = initializer_for_y();

class TestClass1{ public:

static constexpr int getInt(){return 0;};
static constexpr int y;//why it's wrong?
TestClass1(){}
};
```

但是在 initializer_for_y() 试着调用 getInt() 的时候 TestClass1 尚未定义。这也就是为什么编译器会报告:
note: undefined function 'getInt' cannot be used in a constant expression
2018 年 6 月 5 日
回复了 yongliang 创建的主题 iOS 哪位勇士刷 IOS12 了,体验如何?
@oliverz 使用一天下来,肌肉基本习惯了,比 iPhone X 上的手势学习成本略高一些
2018 年 6 月 5 日
回复了 yongliang 创建的主题 iOS 哪位勇士刷 IOS12 了,体验如何?
iPad Pro 10.5 寸已升级,第一感受就是这个手势实在太难用了,本来只是想呼出 Dock 现在却很容易直接回到 Home Screen。我实在不觉得在现有 iPad 机型上添加类似 iPhone X 的手势是个好主意,因为 iPad 没有震动反馈。

流畅度倒是有体会到,但是毕竟 A10X 还没过时,所以感受不大。Notability 闪退,其他的就没啥特别的感受了。
2018 年 6 月 3 日
回复了 required 创建的主题 问与答 你正在为哪些订阅服务付费?
Spotify US, Apple Music, iCloud, NYTimes, 别的好像也没了… 很多订阅中的打算取消了,比如 Setapp, Headspace
2018 年 5 月 28 日
回复了 marcosteam 创建的主题 Markdown 关于笔记用的 Markdown 编辑器的推荐问题
怎么没人提 Notion …
可能是你使用的某个 app 使用方法 iCloud 同步数据
2018 年 5 月 25 日
回复了 hardman 创建的主题 Python 话说大家写爬虫有用 python3 的嘛
你这说的是中文吗…
2018 年 5 月 21 日
回复了 zsxzy 创建的主题 Node.js 强迫症问题: 大家写 js 是用分号还是不用分号?
更倾向于加,因为不加会遇到某些特殊情况,脑容量小不想花时间去额外记忆
2018 年 5 月 19 日
回复了 jfdnet 创建的主题 Android Ubuntu 18.10 将集成 android 环境
集成环境?


In an encouraging development for Linux enthusiasts, Canonical has expressed interest in shipping Ubuntu 18.10 with out-of-the-box Android integration, thanks to GS Connect – a GNOME Shell implementation of KDE Connect without KDE/Qt dependencies.

Just like KDE Connect, you can use GS Connect to get Android notifications on your Ubuntu computer, share data, get device information, browse the file manager, etc.


只是说是添加一个软件包来实现像 macOS 和 iOS 之间那样的互动吧。
2018 年 5 月 16 日
回复了 fengyunkkx 创建的主题 锤子手机 对锤子新品发布会的一些感想
罗的毛病不在于理想主义。他的毛病在于自负。
2018 年 5 月 1 日
回复了 enm 创建的主题 程序员 想写一个更高智商的编程语言
你这跟罗永浩有什么区别…
2018 年 4 月 27 日
回复了 zocome 创建的主题 Ubuntu Ubuntu 18.04 LTS 正式发布了
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   3032 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 86ms · UTC 15:03 · PVG 23:03 · LAX 08:03 · JFK 11:03
♥ Do have faith in what you're doing.