-
to be simple:
as in my original msg: 【知乎】你的验证码是 698449,此验证码用于登录知乎或重置密码。10 分钟内有效。
the author already make sure that other people who know chinese will reasonably understand the message.
so you simply wrap it by the width of the screen, and make no sense for you to add empty spaces or modify it, unless you want to help the author to emphasis on something, which should not be the case.Same as a string of number 8374018374018374018237401837083,
the author dont expect you to add empty spaces into it,
yet i guess he will expect that the string will be wrap by the width of the screen due to physical limitation.thanks
-
i am not sure you natively speak chinese or not.
for me, my mother tongue is chinese's cantonese.
for your sentence:
人人 生 而 自由﹐在 尊嚴 和 權利 上 一律 平等。他們 賦有 理性 和 良心﹐並 應 以 兄弟 關係 的 精神 互相 對待。you will be correct that some are "two words" , a short phase, like 人人, 自由 , 尊嚴, 權利, 一律, 平等。他們 , 理性 , 良心﹐, 兄弟 ,關係 , 精神, 互相, 對待。
but some are "single words" like 在, 和 , 和 ,並 , 的.
for a bangle.js v2, with that 512KB ram, there wont be a dictionary, there wont be an AI, i am pretty sure that is NO WAY for the bangle to understand the chinese.
you may think this looks better, by adding empty spaces for easier reading:
人人 生 而 自由﹐在 尊嚴 和 權利 上 一律 平等。他們 賦有 理性 和 良心﹐並 應 以 兄弟 關係 的 精神 互相 對待。but i am 100.000000% sure that, the lines looks 100.000000% same FUNCTIONALLY without the spaces. and the bangle watch dont have the luxury to add them.
just A. wrap the msg untouched into new lines will be ok.
if possible, then B. make news lines at puntuations.pls only do C. to introduce empty spaces only if you got AI, you got a dictionary to check for.
ps: the author of the message will already consider whether the message is understandable, so you really DONT need to introduce empty spaces. this is a simple logic.
人人生而自由﹐在尊嚴和權利上一律平等。他們賦有理性和良心﹐並應以兄弟關係 的精神互相對待。
this one without empty spaces indeep is more formal than the above with the introduced spaces above.as seen in #1, the 2 messages i received dont have the empty spaces.
those empty spaces may help some people, but formally not needed.
ps: when i reply chinese in youtube's comment, i'll use those empty spaces, so that those keywords are separated out, and looks more like "highlighted", to emphasis what i want to express. -
I could split every two characters which would be a bit more efficient, but it's just added complexity and it sounds like in some cases it might mess things up?
what do you guys mean by every two characters?
a chinese word = a chinese character. in the past, , it take up double the byte of that of an ASCII character.
e.g.for the number of bytes you store "AB",
you can only store 1 chinese "中".thanks
-
-
i mean add a new line/wrap to the screen is usually ok.
may be could you please try your method(s) on the above 2 msg and let me see what will happen?
- a SMS from zhihu:
【知乎】你的验证码是 698449,此验证码用于登录知乎或重置密码。10 分钟内有效。 - a continous text from the movie:
本人林大福將大樹街石屋租于恩人黃老十一家未能報恩萬一不交租亦可收回黃公年租銀兩三十萬不能轉租別人立此爲據本人兒孫不得有違
if msg 1 now become:
【知乎】你的验证码是 698449,
此验证码用于登录知乎或重置密码。
10 分钟内有效。
then split at , and 。worksif msg2 become:
"fill the whole line then wrap to the next line" like
(suppose bangle can only display 15 chinese character per line)
本人林大福將大樹街石屋租于恩人
黃老十一家未能報恩萬一不交租亦
可收回黃公年租銀兩三十萬不能轉
租別人立此爲據本人兒孫不得有違(the following is suppose bangle shows 18 chinese characater on 1 line)
本人林大福將大樹街石屋租于恩人黃老十
一家未能報恩萬一不交租亦可收回黃公年
租銀兩三十萬不能轉租別人立此爲據本人
兒孫不得有違thanks
- a SMS from zhihu:
-
it's better small, better with a LCD or can output somewhere e.g. thru a phone/tab.
better you could use it for simple taks e.g. have some GPIO to control simple things, hack doors etc.
better waterproof.could i connect my bangle v2 's swd out into some bread boards and make it this way?
any similar topics discussed here before that i can learn?
ps: of course i'll also bring a 10" wintab AND a 5-6" android phone into the survival kit.
thanksps, there are some non-waterproof microcontroller system like
looks like the espruino for esp32 port in this forum need to be polished to work on this thing, like the drivers.just found it's <10 USD!
-
I could split every two characters which would be a bit more efficient, but it's just added complexity and it sounds like in some cases it might mess things up?
hi, please DO NOT add spaces or split whatever if you are unsure!
the following is an example (but may be only those who understand chinese can comprehend)
https://www.ptt.cc/bbs/Learn_Buddha/M.1315569690.A.648.htmlThis is a joke from a famous movie in chinese.
original, NO spaces:
本人林大福將大樹街石屋租于恩人黃老十一家
未能報恩萬一不交租亦可收回黃公年租銀兩三
十萬不能轉租別人立此爲據本人兒孫不得有違Good guy read this as:
本人林大福_將大樹街石屋租于恩人黃老十一家_未能報恩萬一不交租亦可
收回黃公年租銀兩三十_萬不能轉租別人_立此爲據本人兒孫不得有違Bad guy read this as:
本人林大福_將大樹街石屋租于恩人_黃老十一家未能報恩萬一不交租
亦可收回黃公年租銀兩三十萬_不能轉租別人_立此爲據本人兒孫不得有違which is a complete opposite meaning!
thank you.
-
youtube:
https://www.youtube.com/watch?v=zx6Rh2AQBcQ
https://www.reddit.com/r/nextfuckinglevel/comments/p0qryj/this_guy_is_coding_with_one_key/?rdt=40995【只有一个键的键盘,靠输入摩斯密码来写代码,程序员都看哭了!-哔哩哔哩】 https://b23.tv/P3jlGza
use 1 button to input morse code.
see if you can view this video.
thanks -
-
is there a central organization place/scheme for the alarms, timers, stopwatch or indeep each of these apps work on their own?
i mean, bangle got several stopwatch apps. will a single widget grab info from all of them by some system calls or indeep these stopwatches currently only work on their own?
thanks
-
i didn't found a widget that can keep the screen on, in which a tap on the widget will dismiss it.
i'll need this as i now turn-ed off "seconds" in the anton clock plus when powered off.
such a widget will be needed when i really need the "seconds"to be displayed for a task.
thanks
ps i am trying to do the work (use gpt4) while i am walking on a threadmill twice per week.
let's see. -
good to know that,
if nordic dfu could provide some "secure boot"function,
then may be for processing sensitive information, i could handle it like
the bangle app "2fa auth watch" and "pin lock"?then the situation just be similar to android before v4,
that the OS is ensured to be authenic by the boot lock,
and only the sensitive data is encrypted and handled by the app?thanks
-
-
hi, but without the AI, for such a string of 20 chinese character/word, GB.js wont know where to break it up. i am sure it will need a dictionary to only GUESS the breakpoint, and i am sure it wont perform as good as a human brain.
so, for this msg from zhihu.com
【知乎】你的验证码是 698449,此验证码用于登录知乎或重置密码。10 分钟内有效。I just wish it to fill the screen space, and when that line is full, make a new line.
thus if the screen allow 15 characters, pls simply output:【知乎】你的验证码是 698
449,此验证码用于登录知
乎或重置密码。10 分钟内有
效。ANYONE who knows chinese could interpret as long as the sequence is unchanged, nothing like space nor punctuations are added.
To the extreme, as i mentioned before, even you cut at every character/word and dont change the sequence, nothing added (except make a new line), every one could still understand.
【
知
乎
】
你
的
验
证
码
是6
9
8
4
4
9
,
此
验
证
码
用
于
登
录
知
乎
或
重
置
密
码
。
1
0分
钟
内
有
效
。Any breaking it up into phrase of 2-3 characters introduced space which could imply an opposite meaning so I completely disagree on that.
thanks
-
hi,
i am completely new to the MCUs.just wanna ask are things at this level, are usually not encrypted?
because several years ago, some made a smart gun that help you to shoot.
it runs on android unencrypted.
someone found that one can take out the IC, and flash evil roms so that you think you are shooting the bad guy, indeep shoots the good guy.
their solution is to encrypt the rom.i understand that NOT everything should/will be encrypted,
like i dont expect a CASIO calculator be encrypted (but it wont hurt if it is).
i am still exploring what espruino/bangle could do in my life
so i wanna ask this at the beginning.yah, i am new to this world where 256KB RAM means a lot of RAM.
thanks
ref:
https://www.popsci.com/smart-rifle-software-can-be-hacked/
-
this is overkill but just for reference:
https://www.omniglot.com/chinese/structure.htm
so as long as the sequence is correct, no space/puntuations added,
you can arrange it horizontally or vertically. and it doesn't matter about the number of rows or columns. -
hi,
let me try with different font size and if it really sucks, i'll provide you with the log file?
regarding the font 12 setting, how about if GB.js could split up at punctuations?
may be starting with:
a coma (the chinese fonts usually show punctuations in the middle) ",",
a fullstop (this chinese full stop is an empty circle)"。"
original msg: 【知乎】你的验证码是 698449,此验证码用于登录知乎或重置密码。10 分钟内有效。
because in this msg, if GB.js understand those 2 symbols,
it may show the msg as:
【知乎】你的验证码是 698449,
此验证码用于登录知乎或重置密码。
10 分钟内有效。Hope this could happen, may be at least only do to the chinese msg? i.e. spare other languages?
thanks
3.
Or, may be, if there is a sms in chinese language, GB.js could simply fill it to a line, if the line is full, GB.js can simply make a new line?because in chinese, each font/character is indeep a word on itself already.
say in the above line 此验证码用于登录知乎或重置密码.
i worry it is still too long to fit into 1 line,
however, you could cut it in anyway as long as the seqeunce is correct.
i mean, as long as you ONLY cut it and dont ADD space/puntuation, it's ok:
此验证码
用于
登录知乎
或重置密码.is same as
此
验证码
用于
登录
知乎
或
重置密码.even you cut it like this, everyone still understand this:
此
验
证
码
用
于
登
录
知
乎
或
重
置
密
码.so you could cut however you like, just keep the sequence and dont add space/puntuations. thx
-
-
-
the 1st screenshot, the "9" in the long line will be the 6th digit of the code, rendering it quite un-useful.... thanks
original msg: 【知乎】你的验证码是 698449,此验证码用于登录知乎或重置密码。10 分钟内有效。
current displayed as:
【知乎】你的验证码是
" 69844" missing
9,此验证码用于登录知乎或重置密
"码。10 " missing
分钟内有效。ps, in gadgetbridge.js, i have to tick "use bitmap if font not available",
and only size 12 worked, 14, 16 not worked. sometimes 18 works.setup info:
using the default bangle message UI app only. -
hi,
i am using chinese.- it seems for gadgetbridge.js, i have to use font12, but not 14, 16(default size!), otherwise the message will be empty.
assume i tolerate to use font12.
but when the message is too long, only the middle part is shown.
rendering it quite useless.possible to provide an option to wrap the msg?
the below include a working short google message,
the longer not-useful message, the msg itself, and the content of the log file.
i think i should have removed my personal info from them.
thanksps the log file is at bottom, as the one previously with (storagefile) is with problem, thx
in the message app, setting is "font min: small"
- it seems for gadgetbridge.js, i have to use font12, but not 14, 16(default size!), otherwise the message will be empty.
-
-
-
will apps like "pattern launcher" and "seconds" in the clock face (I use anton clock plus for seconds) heavily reduce the usage time?
I have to re-charge the bangle v2 almost each 1.5 day.... it can drop from 100 to 55 even i put it on table and i go out today...
(bluetooth always on)
I have the heart rate monitor, GPS and compass turned off (in the "info") app.btw, the temperature is almos always 30-31oC even the temperature in my town range from 25-32, how can i test it?
thanks
hi,
i am still not very understand what you guys mean by "wrap by 2 chars",
suppose this is my msg:
【知乎】你的验证码是 698449,此验证码用于登录知乎或重置密码。10 分钟内有效。
do you mind clarify what do you mean by that?
because currently i can only think of
【知乎】
你的
验证
码是
698449,
此验
证码
用于
登录
知乎
或重
置密
码。
10 分钟
内有
效。
which do work like a single vertical line as below, but is less common to see.
because if the wrap is between the 2nd and 3rd block of a 3 block phrase, that will be more un-natural than a single line, as the brain will be implied that everything is in "2 blocks".
as i told before that for that long chinese sentence, some phrase consist of
1 "block" - a chinese charactor, e.g. 你,的, 是, 此, 或, 内,
some 2, e.g. 用于, 登录, 重置, 密码, 分钟, 有效
and some 3, e.g. 验证码
【知乎】你的验证码是 698449,此验证码用于登录知乎或重置密码。10 分钟内有效。
and honestly practically non-human could interpret another set of phrases, which is expected as even english/other languages sometimes got some ambigious issue due to historical reasons.
but if you mean by 1 "block"=2 char, and wrap it,
thus making it like a vertical single line, that will be ok:
【
知
乎
】
你
的
验
证
码
是
6
9
8
4
4
9
,
此
验
证
码
用
于
登
录
知
乎
或
重
置
密
码
。
1
0
分
钟
内
有
效
。
thanks