Category Archives: 技术

View heart rate for pool swimming with Workout app on Apple Watch

Normally you can see the heart rate information for running/hiking/skiing. But it’s not the case by default for pool swimming with Workout app.

On Apple Watch, Workout, touch the “…” button on Pool Swim(OPEN GOAL) section, click the pencil button on the top-right corner of “Open” section, Workout Views, Edit Views, enable the “Include” of “METRICS 2” for heart rate information and “HEART RATE ZONES” if needed. You can also “Reorder” the views, the button for it at the bottom of the page.

Reference:
* Apple: Use the Workout app on your Apple Watch
* Polar: HOW TO CALCULATE YOUR MAXIMUM HEART RATE
* Polar: HEART RATE ZONES | THE BASICS

Sway on VMware Fusion

With Manjaro(Arch based, Xfce edition), installed as a vm in VMware Fusion on macOS. You can install sway or sway-git.

sudo pacman -S sway

or

git clone https://aur.archlinux.org/wlroots-git.git
cd wlroots-git
makepkg -si
git clone https://aur.archlinux.org/swaybg-git.git
cd swaybg-git
makepkg -si
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
makepkg -si

If you want to use gnome-terminal,

sudo pacman -S gnome-terminal

Modify /etc/sway/config , the line

set $term foot

to

set $term gnome-terminal

Modify /usr/share/wayland-sessions/sway.desktop , the line

Exec=sway

to

Exec=env WLR_NO_HARDWARE_CURSORS=1 /usr/bin/sway

If you want to restart display manager to login again,

sudo systemctl restart lightdm

Reference

域名续费出了点问题

qihome.org这个域名今年7月6日又到期了,新网域名,我之前是在淘宝的一个代理那里买的,并且续费过几次。这一次,大约是提前三天左右收到续费通知,然后才发现代理的网站都不能正常工作了,QQ和旺旺也联系不到了。当时急着出去休假,就没有继续处理。

两周假休完回来,试着联系新网,客服提供了一个文档,自己之前在新网建过账号,试着要求域名转入。然后域名拥有者信箱收到邮件,同意转入,然后5天内代理没有处理的情况下,域名就可以转入了。然后续费。

特此记录一下。

Phishing is more common in Norway nowadays

My wife’s mobile bill on Nov. got a 50 NOK extra item about “Video”. And she called ICE service and got reply said “You need to contact strex.no yourselves.”

We tried to open https://strex.no/ , and it obviously mentioned that the mobile number was not registered yet. Then we registered and found two transactions details, 50NOK and 1NOK, from “Varvelia Technologies LTD(4054) Video” . Looks like it got charged from mobile payment directly, which has not been enabled by us.

My wife recalled that she got a video link from her ex-colleagues and she clicked it.

Looks like a common Phishing… , but it looks like so easy to be cheated.

After logged into https://strex.no/ , Forside->Endre betalingsmåte, the default is Mobilregning, not sure for now whether it is enough just to change it to “Kort – Betalingene belastes det kortet du til enhver tid har valgt.”

https://strex.no/ofte-stilte-sporsmal

Jeg har ikke bestilt dette og har ikke godtatt betaling via mobil – hvem kan jeg kontakte?
Klager og generelle henvendelser angående en tjeneste eller vare, skal rettes til leverandøren av varen/tjenesten. Du kan logge deg inn på Min Side for å se alle detaljer om dine betalinger. Klikk deg inn på hver enkelt transaksjon for å se ytterligere detaljer og kontaktinformasjon til tjenesteleverandøren.

Contact tjenesteleverandøren myself? Is it a joke?

https://strex.no/ , on the bottom, Strex eid av Telenor/Telia/ICE…

Some results from google:
https://i-cyprus.com/company/493119 VARVELIA TECHNOLOGIES LTD

Mod Creator for Minecraft

2020年3月15日

挪威停学的第一个周末,俩娃的练习课题 – Mod Creator for Minecraft

可以Block编程

遇到了两个软件实际问题,一个是Minecraft中分为resource pack和behavior pack,前者应该不包含编程实现的部分;另外一个是版本管理,要确认Minecraft中使用的和自己正在开发的版本号是否一致。

参考

2019年暑假北挪威之旅

过去十年里,基本上每年回中国,妞妞上学之后,都是暑假回去的,热热的中国。去年从中国回挪威后,基本确定这个暑假不回去了。圣诞元旦期间和一家朋友约定一起自驾去欧洲-丹麦德国。后来有些变故,几经讨论之后,我们家决定尝试从家里(大奥斯陆地区的Asker)自驾到挪威的罗弗敦(Lofoten),共两周。住宿以宾馆为主,偶尔露营。

计划订Lofoten酒店的时候,犹豫了一下,7月13日的好像被订满了,所以选择了7月14日-18日这个区间,然后行程就前松后紧了。确定在Trondheim停留之后,领导要求去大西洋之路,这样就初步确定第一站Molde。

Continue reading

浏览器引擎历史的一点儿回顾

最近有关红芯办公浏览器的新闻比较火爆,可以参考搜狐:融资2.5亿的红芯宣称自主创新遭打脸:只是谷歌浏览器换层皮一文。知乎罗志宇关于自主研发一款浏览器内核的难度到底有多大?一问的回答中提到了KHTML、WebKit、Blink和KDE、Qt以及Trolltech公司(现在的The Qt Company公司)的一些渊源。

Continue reading

应用推荐——移动图书馆(公图版)

参观天津市滨海新区图书馆的一个新发现,移动图书馆(公图版) iOS应用,有国内手机号,即可通过验证短信登陆。这里推荐的是,首页->报纸浏览,国内各省市的报纸都有电子版,可以阅读。通过家里订阅的《今晚报》大致对比了一下,新闻是全文,连载基本是全文,只是最后几十个字用省略号替代。

备注:等肉身出墙后,再补充Android应用连接。

在天津尝试共享汽车

早就听说国内已经从共享单车进化到共享电动车以及共享汽车了,一直没有见识过。坐了几次公交车,在窗外看到了首汽的字样,然后在网上搜了搜,得知GoFun在天津是有服务的,下载了GoFun iOS应用之后,需要国内手机号注册,上传身份证正反面,本人持身份证照片以及驾照正反面。有点“裸贷”的感觉。第二天就批准了。押金699元,蚂蚁信用如果够700,据说可以免押金,我的还差十几分…

Continue reading