昨日书
50 subscribers
240 photos
12 videos
6 files
173 links
Download Telegram
Stephen Tseng:
27行代码实现Ynewtime博客的完全兼容(注意:建议查看官方文档,根据个人博客的html架构自行组织,基本思想是筛选需要的内容,主要根据html组件的定义,不同网站情况不同,不可套用)
?exists: //div[@id="post-content"]
?path: /.+
$main: //div[@id="wrapper"]
title!: //div[@class="well"]//h1
author!!: "Stephen Tseng"
author_url:"https://t.me/Ynewtime_Biki"
body!: //div[@class="article"]
published_date: //time
@clone: $author_url
@match("^https?://t(elegram)?\\.me/([a-z0-9_]+)$", 2, "i"): $@
@replace(".+", "@$0")
channel
cover: //img
image_url: $cover/self::img/@src
image_url: $cover/self::figure//img/@src
image_url: $body//img/@src
<p>: //table
<strong>: //td
@pre: $body//p
<figcaption>: $body//div[has-class("img")]/p
<figure>: $body//div[has-class("embed-responsive")]
@remove: //thead
@remove: //em
@remove: //iframe[@class="embed-responsive-item"]
@remove: //div[@class="post-meta"]
@before(<anchor>, name, @id): $body//h2[@id]
@before(<anchor>, name, @id): $body//h3[@id]
Forwarded from Y
Forwarded from 小林家的托尔 (小林 托尔酱|心态即将崩溃|Tooruchan|弱鸡|大一)
昨日书 pinned a photo
『你是大千世界尘埃等闲
也是我仅有的风花雪月』

许嵩单曲《大千世界》: http://music.163.com/song/569213279/?userid=330937128 (来自@网易云音乐)
Forwarded from 荔枝木
[观点]

1. 对微软拥抱开源的看法

微软已经不再是当年垄断 PC 的势力了,移动互联网的浪潮没有赶上,搜索引擎也没有赶上,浏览器被打得七零八落,微软不能再错失云和 AI 的机会。

拥抱开源向来不是它的基因,但却是符合它当前利益的选择。

2. Google 不作恶……吗?

有句话说得好,绝对的权力导致绝对的腐败,我们不妨稍微引申一下:绝对的垄断导致绝对的邪恶。

Google 也不例外,这点可能会让不少人感到不适。但还记得原世界最大开源知识图谱 Freebase 吗?被 Google 收购后的下场,就是核心功能被整合,然后关闭。Google Code 呢?被关闭了。喜欢摄影的朋友或许还知道 Nik Collection 被收购后的结局 - 核心功能整合到手机修图软件 Snapseed,PC 端的 bug 长期晾着不修,最后卖给了 DXO。

这真的是不作恶吗?

3. 作为用户

作为用户,避免邪恶的方法之一,就是根据自己的需求和利益选择产品,尽可能避免垄断现象的出现,而不是去当 fanboy,以意识形态斗争为纲。

当然,对产品有偏好很正常,也是很个人的事情。但如果为了所谓的品牌信仰而去选择,就有失偏颇了。

这一次,微软收购后的 GitHub,就目前看来,依旧符合我的需求。而竞品 GitLab 之前那次数据丢失事件让我对它不是很放心,权衡转移产品的利弊后,我选择继续使用 GitHub。

4. 媒体素养

这件事情也再次展示了媒体对我们选择的影响,今天和朋友聊起这件事时,我才发现很多人对这两家公司的印象依旧是:Google 是开源斗士,好的;微软打压开源,坏的。

如此脸谱化的印象是不利于我们做出选择和判断的。同时这个印象也不适合描述现状。

一个值得思考的问题是:是谁掌握了话语权,又是谁把这种刻板印象注入到我们的想法里的?是圈子里的气氛吗?还是两家公司对自己的宣传呢?

正如我之前提到的:世界是复杂的,我们在尝试了解它,希望你和我们一起。

以上,就是我对这件事的态度和选择。
The nearest star is 4.25 light-years from Earth which is why most wishes take at least 9 years to come true.

— From Firefox Footbar
Forwarded from Pavel Durov
I haven’t realized how many dedicated users we had in Indonesia until yesterday. I’m still excited by the warm reception in Jakarta. The amount of support and love I got during my yesterday’s visit there is incredible.

In addition to meeting local coders and early adopters of Telegram, I had a lunch with Mr. Rudiantara, the Minister of Communication of Indonesia. Our previous attempts to connect with Mr. Rudi failed because of unreceived e-mails (e-mail is unreliable – let us all switch to Telegram!), but in the end it was all for the best since we managed to establish a great personal connection.

There can’t be any secrets between Telegram and its users, since it’s you guys who made Telegram popular, not governments or shareholders or advertisers (it’s sad other IT companies sometimes forget that). So we organized a quick 15-minute press conference to inform the public about the contents of our meeting with Mr. Rudi.

As a result of this meeting, we've opened a direct channel of communication on Telegram between our teams to quickly eradicate public content that contains terrorist propaganda. We also added Indonesian speakers to our team, and all of this means that we'll be able to process reports about terrorist propaganda within a few hours instead of 1-2 days.

The Minister assured me that he shares our respect for privacy, and the right for privacy is guaranteed by the Constitution of Indonesia. I was happy to hear that, because - unfortunately - governments of some other big countries in Asia don’t always get it (yes, China, I am looking at you now).

We at Telegram are proud that we haven’t disclosed a single byte of private data to any third party since we started – and we are going to keep it that way, with no exceptions anywhere.

I also shared some Telegram growth stats at the quick press event yesterday:

- Every day, 600,000 new users sign up for Telegram globally.
- Every day, 20,000 new users sign up for Telegram from Indonesia.

Thanks for the support, Indonesia and the World!
Forwarded from Deleted Account
毕业去卖炸鸡吧
沃日,我一同学在母校门口开店卖炸鸡,这是一天的营业额,妈个鸡都快顶我俩月工资了,卖炸鸡那么赚的吗,我这没出息的还敲什么代码啊!😭 ​
参与讨论:https://ift.tt/2LEEUnf
昨日书 pinned a photo
Forwarded from 网络安全事件SecEvents
【题外话】来自一个微博用户。。。
世界杯揭幕战 俄罗斯vs沙特 5:0…
刚在牛客网上考了个深信服公司网络技术大赛的初赛试题,差点因为学校的断网被判作弊…幸好我分分钟刷完了题目,窗口跳出次数3次了,惹不起惹不起。(强烈吐槽一下今年的初赛试题,感觉要比计网考试还简单的节奏)