Show newer

BTW, I think in Java, optional is more or less equivalent to null. But Java doesn't tell you if a field can or cannot be null. You're going to find out when you run the code. That's one of the reasons why I prefer Kotlin. The type `T` means it must not be null. If you want nullable types, you must write `T?`.

Show thread

BTW, I think in Java, optional is more or less equivalent to null. But Java doesn't tell you if a field can or cannot be null. You're going to find out when you run the code. That's one of the reasons why I prefer Kotlin. The type `T` means it must not be null. If you want nullable types, you must write `T?`.

Show thread

And I don't know why, Google recommend me a lot of Japanese articles when I search OpenAPI related stuff.

Show thread

And I don't know why, Google recommend me a lot of Japanese articles when I search OpenAPI related stuff.

Show thread

Found an article to explain the difference between nullable and optional in OpenAPI 3. But it's in Japanese.

I hate Katakana.

レスポンス -> Response
データ -> Data
プロパティ->Property
オプショナル->Optional

Just slap them into Google translator and listen how they sound like.

Then you will likely to ask yourself: Why?
----
And just find out if you force Google translator to speak English in Japanese, you get the typical stereotype sounds of how Japanese people speak English.

台湾旅游TIPS 

1. 入台证至少提前两周办,感觉最近去的人比较多速度变慢了。攻略都说两三天就能通过,我是将近一个周才拿到,看象友最近办的也很慢。有效日期从交钱那天开始算,所以可以出发前再付款。
2. 金福气也要提前一周内注册才能抽。目前应该只剩一卡通没有悠游卡,能用的商家少一些,台南更少。P3是使用限制。我大概台北5天花掉2000,主要是公共交通加故宫门票。高铁不能用,台南也没怎么用。最后3000可以在机场4楼711花掉,有很多小潘凤凰酥当伴手礼。
3. 台湾对转机旅游游客非常友好。在行李大厅左手边尽头可以寄存大件行李,非常便宜,不按时间收只按重量收。而且走的时候根本不用取!直接把号牌checkin的时候给航空公司就行,太方便了。想想在日本拖着大行李箱根本找不到寄存的地方,最后找到一个一天700yen真是太贵了。
4. 金福气旁边就有klook柜台可以买电话卡和悠游卡。这边的悠游卡很好看P1,但排队很长很慢。不想等的话可以直接去捷运自动售货机买,但就很普通了不好看。
5. 多取点现金。我们一周大概花了1w多现金,因为吃的大都是路边摊,逛的也都是老铺不收信用卡。这边比日本用现金还多,特别是台南,连民宿都要收现金,实在是不够了最后折腾了半天民宿老板帮我们取消了booking预定然后在官网重新预定用信用卡付的。当然如果只在台北吃高级商场饭店还是收信用卡的。

Show thread

Room temperature is 18C, not that cold, but still feels super cold when you just wake up.

Show thread

Getting up in spring is a bit awkward. There is no space heater, it is cold outside the bed, so I don't want to leave the bed :blobcatmorning:

LIVE Bird Feeder and Wildlife Cam (4K) Gettysburg PA, over 30 species identified.
by Gettysburg LiveCam
youtube.com/watch?v=2uabwdYMzV

Also from this image you can tell why I don't trust Samsung's auto focus.

Show thread

And with the power of money and technology, I'm able to get my new monocular (spotting scope) before tomorrow. (In plain English it means I paid extra for air express, so I get my package this evening.)

Did a quick test, since it's evening and the night is cloudy, the ISS and moon are not available for tonight. So I take a picture in 60x optical zoom with my phone in about 10 meters away. The circular pattern is 9 centimeters in diameter, and I'd say it's not bad! I know some brands like KOWA and Swarovski can get better image but they are expensive. Their spotting scope will cost me about 5000 USD for 82mm objective lens. And mine only cost 5000 CNY, about 700 USD. I'd say the result is pretty good.

Maybe with longer distance it will have some dispersion, and I don't have expensive accessories for the lens. For example, KOWA sells extra pieces like extender and converter for astronaut camera. Mine don't have those, but think in a good way, that's the top level gear I can get with this price. I don't need to spend more in the future. I mean, I know myself, I always want the best. So it would be a bad time for my wallet if I go kowa or Swarovski.

Mistral AI really shines a light on OpenAI.

As a cyber collector, I have LLaMa1, LLaMa2, Mistral8x7B laying in my nas. Although I don't have powerful enough hardware to run them, but it's a good thing to have. And I'm looking forward to the dolphin variant.

* Dolphin is a decensored model based on those open source models.

还是要记录一下这次“喝茶”的经过。
喝茶理由:上外网(但这不重要)重点是“关注了李老师”
经过:1、先是会有户籍所在地(或现住地?)的民警联系你去当地派出所配合调查(或者是了解情况),但未告之事情缘由,声称是机密事项要求面谈。(有什么好机密的)在本人头铁硬撑坚持要告知原因才能去配合工作+扯皮n回合后,并开始质疑对方是否骗子时,对方终于开始没耐心绷不住了,坦言“你是不是上外网了!”“上面部里下的任务!”
遂前去喝茶。
(一直被打电话真的压力很大。)
2、民警会将人带到访谈室,内室,无窗,有录像,环境比较狭小,没有桌子,气氛并不是很严肃。(至少在民警开口前)
对方先是例行询问你是否翻墙上外网。我苦笑你都查到我了我能说没有吗?
民警:你用的什么加速器?
我:蓝灯……吧?
民警:手机给我看一下
我:(完蛋,但展示)surfvpn
(对不起surf!!!但建议手机里不妨备用一两个钓鱼梯子作替罪羊)
民警:你是不是有推特号?是否关注了一个叫做李老师的人?我们筛取了他的粉丝,再通过一些方法得到了你的信息(他有一沓名单,询问的时候同时在做名单备注记录,比如刚刚记下了梯子名称,泪)
-tbc

@fulkrum 搞好中国特色社会主义吹学新发展,必须坚持实事求是,稳中求进。坚定不移地以北宇治吹奏部全体成员的福祉出发,平稳做好新一届部长选举工作(错乱

我希望每个人都能看到这张图

太好笑了
----
以及我在等蓝光发售,然后可以一口气看完。一周一集太折磨人了

Twitter just doing a "redirect links in tweets that go to x.com to twitter.com instead but accidentally do so for all domains that end x.com like eg spacex.com going to spacetwitter.com" is not absolutely the funniest thing I could imagine but it's high up there

Today rains a bit. When I went upstairs to change water, I spotted two doves came and ate there. I'm pretty surprised. Possibly because cats didn't visit my yard when it's raining.

Note: The cats need to go through the second floor to visit my yard. It's pretty hard to imagine, but imagine someone don't know how to design a house but they built their own house anyway at 25 years ago in a tight corner of a city. That's where I live.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.