gogo81745's recent timeline updates
gogo81745

gogo81745

V2EX member #157866, joined on 2016-02-02 18:20:30 +08:00
gogo81745's recent replies
Jun 8, 2018
Replied to a topic by h417840395 问与答 关于 ipad2018
前几天买平板的时候考虑了一下 ipad
觉得就是个娱乐工具,顶多也只能做做笔记
最终入了 surface,虽然贵好多,但起码可以写写代码
May 30, 2018
Replied to a topic by lamls 问与答 一加 6 实际续航只有半天,能用吗?
一加三,氮系统,安卓 8.1
![power]( https://static.gogo.moe/files/2018/05/oneplus3_power.png)
谁说开发机就一定得装 py 来着(斜眼笑)
用 pycharm 支持远程 python 解释器的功能
在 wsl(windows subsysyem linux)装 python,嫌弃 wsl 不好的话上 vps、虚拟机都行。
https://juejin.im/entry/59352f62ac502e0068b12630
我觉得这种快排是没问题的。

我自己写起来回是这样,思路跟阮一峰的一样。

![quicksort]( https://static.gogo.moe/files/2018/05/quicksort.jpg)

为什么会写出这样的代码呢?

实际上是在学 Haskell 的时候,看到 Haskell 那种简洁到可怕 快排,第一次见到这样的快排真的是被震撼到,太简洁了,太容易读懂了。

```haskell
quicksort :: (Ord a) => [a] -> [a]
quicksort [] = []
quicksort (x:xs) =
let smallerSorted = quicksort [a | a <- xs, a <= x]
biggerSorted = quicksort [a | a <- xs, a > x]
in smallerSorted ++ [x] ++ biggerSorted
```
May 2, 2018
Replied to a topic by gogo81745 问与答 如何扩展引导分区
@flyz 灰常感谢,我居然把 pe 这么好用的东西忘记了 -_-||
Apr 25, 2018
Replied to a topic by gogo81745 问与答 求推荐大学电脑解决方案
@loading 浙江考生表示压力不是特别大,毕竟只有语数英三门功课了
Apr 25, 2018
Replied to a topic by gogo81745 问与答 求推荐大学电脑解决方案
@adezh 蟹蟹,看上去确实很不错
我也有这种感觉,没吃到过比这两家好的,我更倾向于是材料的问题
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5574 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms · UTC 01:20 · PVG 09:20 · LAX 18:20 · JFK 21:20
♥ Do have faith in what you're doing.