Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Improve quality of string output #17

@Fresheyeball

Description

@Fresheyeball

So using the following inside a loop

kind := fuzzString()
log.Println(kind)

outputs the following to the console

2015/09/03 19:04:44 ª漠Ȯʜ摽OĹ/JǼ乇C
2015/09/03 19:04:44 ǟJ翾
2015/09/03 19:04:44 J?ǻ
2015/09/03 19:04:44 (v獔s赭İĹ
2015/09/03 19:04:44 鄗彸湦軈2Ħ攩V螱
2015/09/03 19:04:44 婦_僤Ⱥ^ȡ莯yŀ亶h鍡
2015/09/03 19:04:44 鼈ǃ綺z盚ɴ憤答ǘ騮r冔J<ȈWp靌_
2015/09/03 19:04:44 禽ÊÉ3鏡碞`ɭ筹2溏#Q:M
2015/09/03 19:04:44 mĿį窌橛鑼ȠQD貧Ũroz踮穰"
2015/09/03 19:04:44 o增aʇŊL腙ɣS[ŠŪæ羑/甴q漥嚬
2015/09/03 19:04:44 úưn鉋囔敘匿
2015/09/03 19:04:44 彧森ČÅ
2015/09/03 19:04:44 ǿƲ鯱ı&ʧŞ嵔6Ÿ
2015/09/03 19:04:44 ¾U儾蓝ɽÙŝ鏁
2015/09/03 19:04:44 "绖ʚ跋拘瀤Ȍ}FWȗǻkU
2015/09/03 19:04:44 |Y&
2015/09/03 19:04:44 
2015/09/03 19:04:44 2躡溹
2015/09/03 19:04:44 
2015/09/03 19:04:44 Ğŋ歺饽i1%ʇƺF池睺嶙ĉ
2015/09/03 19:04:44 馬ƫ椹vHıÕ莍垺噽q具
2015/09/03 19:04:44 6
2015/09/03 19:04:44 ƓH(ĴƆ4t4嬚宧1
2015/09/03 19:04:44 G-ª,
2015/09/03 19:04:44 Ʀ焬陱ʃȌ飠e俿ɟ躁彞Ȱd鉛 5聳炬血
2015/09/03 19:04:44 鏶牏ª.濔挹U忘Eʤe黍
2015/09/03 19:04:44 ǩ歹ȊǾz肌憌.ʪ谌O蟆WƤ
2015/09/03 19:04:44 嵤贂Ƶm1赉
2015/09/03 19:04:44 涉
2015/09/03 19:04:44 岲憏蓹
2015/09/03 19:04:44 ʧȜP珐芫汋鰢NJ詺^涍ȷ饤劮
2015/09/03 19:04:44 秤柃SŘɎh巽貗g扆¢W醦4ɖ

This does not appear to be a good random distribution of characters. Also empty strings are outputted more than once, so duplicates are not being addressed. Ideally this library has a consistent random distribution of characters, no duplicates, and interleaved white space (also absent).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions