--- Log opened Mon Jun 15 00:00:51 2020 02:21 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 02:21 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 02:54 < junderw> stevenroose: JP wordlist was made before binary sort was a requirement. soooo. sorry about that. 02:55 < junderw> (I made the list with my Japanese colleagues in the early days of BIP39) 03:04 -!- Roman35Dicki [~Roman35Di@static.57.1.216.95.clients.your-server.de] has joined #rust-bitcoin 03:17 < stevenroose> junderw: Chinese, Spanish, Czech were also not sorted 03:18 < junderw> oh wait.. did the binary sort become a requirement? 03:18 < junderw> lol 03:18 < stevenroose> Lexicographical ordering probably 03:18 < junderw> Trezor guys abandoned BIP39, so nothing's been changed for a while. 03:19 < stevenroose> But that's not binary, so for special characters, you'd need a special implementation for that which Rust doesn't have (I searched a bunch of crates) 03:19 < stevenroose> Why would they do that? 03:19 < junderw> > the wordlist is sorted which allows for more efficient lookup of the code words 03:20 < junderw> it just says "sorted" 03:20 < junderw> non-specific. 03:20 < junderw> We sorted by the Japanese "alphabetical order" 03:20 < junderw> But NFKD messes that up horribly. 03:21 < junderw> I think we sorted pre-NFKD 03:21 < junderw> sorting post-NFKD using a Japanese character order sorting algo gives different results because NFKD splits apart certain symbols and changes others. 03:22 < junderw> The point of NFKD is that you can have two byte sequences that mean exactly the same thing, and you should collapse them into one 03:22 < junderw> BIP39 should have been more specific on pre-normalized, post-normalized, what algorithm etc. 03:23 < junderw> post-NFKD, UTF8 encoded, lexicographical 03:23 < junderw> prolly would have been best. 03:39 < stevenroose> junderw: I don't know lexicographical for latin characters with accents. Like in Spanish, French and Czech 03:39 < stevenroose> Does the é go before or after the e? Or after the z? 03:40 < stevenroose> Rust's String ordering just does `self.as_bytes().cmp(other.as_bytes())` so pure utf8 binary ordering, no normalization. 03:40 < stevenroose> Which didn't work for french, spanish etc 03:41 < stevenroose> So I found a bug in tiny-bip39 as well. Should probably fix that. 03:41 < stevenroose> They also use binary search in their `get_word_by_prefix` method. 03:44 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has joined #rust-bitcoin 03:44 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 03:45 -!- ghost43_ is now known as ghost43 03:53 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #rust-bitcoin 04:31 < yancy> junderw: any idea why BIP39 was abandoned? The incompatibility between BIP39 and SLIP39 is confusing imo. 04:32 < yancy> (abandoned by Trezor guys that is) 06:21 -!- fiatjaf1 [~fiatjaf@2804:7f2:2a84:fb44:ea40:f2ff:fe85:d2dc] has quit [Quit: WeeChat 2.8] 09:16 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Remote host closed the connection] 09:20 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #rust-bitcoin 09:25 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 272 seconds] 10:11 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #rust-bitcoin 10:45 < instagibbs> trezor folks stopped submitting anything to BIP process a while back 11:06 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 11:06 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 11:39 -!- Sentineo [~Undefined@unaffiliated/sentineo] has quit [Ping timeout: 260 seconds] 11:50 -!- Sentineo [~Undefined@unaffiliated/sentineo] has joined #rust-bitcoin 13:25 -!- dongcarl7 [~dongcarl@cpe-72-226-84-63.nyc.res.rr.com] has joined #rust-bitcoin 13:27 -!- dongcarl7 [~dongcarl@cpe-72-226-84-63.nyc.res.rr.com] has quit [Client Quit] 14:06 < stevenroose> Yeah but I think what yancy is asking (and I am wondering as well) is what's wrong with bip39 that they have abandoned it 14:49 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has joined #rust-bitcoin 17:16 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has quit [Quit: The Lounge - https://thelounge.chat] 17:17 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has joined #rust-bitcoin 17:52 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 17:54 -!- randyb_ [~randyb@110.54.148.23] has joined #rust-bitcoin 17:56 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 246 seconds] 17:59 -!- randyb_ [~randyb@110.54.148.23] has quit [Ping timeout: 264 seconds] 18:00 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:04 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 258 seconds] 18:06 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:11 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 265 seconds] 18:12 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:16 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 256 seconds] 18:17 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:22 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 256 seconds] 18:23 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:27 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 240 seconds] 18:27 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has quit [Quit: The Lounge - https://thelounge.chat] 18:28 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:29 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has joined #rust-bitcoin 18:33 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 260 seconds] 18:34 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:39 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 256 seconds] 18:39 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:44 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 260 seconds] 18:45 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:48 -!- randyb_ [~randyb@110.54.148.23] has joined #rust-bitcoin 18:50 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 256 seconds] 18:53 -!- randyb_ [~randyb@110.54.148.23] has quit [Ping timeout: 258 seconds] 18:54 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 18:58 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 240 seconds] 19:00 -!- randyb [~randyb@110.54.148.23] has joined #rust-bitcoin 19:05 -!- randyb_ [~randyb@110.54.148.23] has joined #rust-bitcoin 19:05 -!- randyb_ [~randyb@110.54.148.23] has quit [Client Quit] 19:07 -!- randyb [~randyb@110.54.148.23] has quit [Ping timeout: 265 seconds] 20:12 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 260 seconds] 20:14 -!- jonatack [~jon@104.254.90.195] has joined #rust-bitcoin 21:05 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 21:53 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 22:14 -!- windsok [~windsok@unaffiliated/windsok] has quit [Remote host closed the connection] 22:17 -!- windsok [~windsok@rarepepe.cash] has joined #rust-bitcoin 22:17 -!- windsok [~windsok@rarepepe.cash] has quit [Changing host] 22:17 -!- windsok [~windsok@unaffiliated/windsok] has joined #rust-bitcoin 22:44 -!- jonatack [~jon@104.254.90.195] has quit [Ping timeout: 246 seconds] --- Log closed Tue Jun 16 00:00:53 2020