From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] base2 <-> base62
Date: Thu, 5 Aug 2010 01:26:20 +0400
Message-ID: <20100804212620.GA28494@wo.int.altlinux.org> (raw)
In-Reply-To: <20100804211817.GB10145@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
On Thu, Aug 05, 2010 at 01:18:18AM +0400, Alexey Tourbin wrote:
> Ломал голову несколько часов. Кто знает тому пряник.
>
> Есть слово в алфавите {0,1} - т.е. последовательность нулей и единиц.
> Хочется представить это слово в алфавите {0..9,a..z,A..Z} (base62)
> для экономии битов.
Почему 62, там ведь есть ещё пара разрешённых символов: '_' и '/'.
Итого 64, т.е. ровно 6 бит.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-08-04 21:26 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 21:18 Alexey Tourbin
2010-08-04 21:26 ` Dmitry V. Levin [this message]
2010-08-04 21:38 ` Alexey Tourbin
2010-08-04 22:05 ` Dmitry V. Levin
2010-08-05 7:41 ` Alexey Tourbin
2010-08-05 12:44 ` Денис Смирнов
2010-08-06 13:17 ` Alexey Tourbin
2010-08-06 14:26 ` Alexey Tourbin
2010-08-06 15:43 ` Sergey Vlasov
2010-08-10 10:50 ` Alexey Tourbin
2010-08-05 13:07 ` Alexander Bokovoy
2010-08-05 14:48 ` Alexey Tourbin
-- strict thread matches above, loose matches on Subject: below --
2009-04-16 12:27 [devel] *-gdb пакеты Max Ivanov
2009-04-21 13:37 ` Pavlov Konstantin
2009-04-21 14:24 ` [devel] автогенерация debug-пакетов в rpm Pavlov Konstantin
2009-04-21 18:18 ` Alexey Tourbin
2009-04-21 18:28 ` Alexey I. Froloff
2009-04-21 18:32 ` Pavlov Konstantin
2009-04-21 20:28 ` Alexey Tourbin
2009-05-02 17:24 ` Andrey Rahmatullin
2009-04-21 20:34 ` Mikhail Gusarov
2009-04-27 8:58 ` Денис Смирнов
2009-04-27 22:01 ` Хихин Руслан
2009-04-28 6:23 ` Slava Semushin
2009-05-03 17:55 ` Andrey Rahmatullin
2010-08-05 17:00 ` Dmitry V. Levin
2010-08-07 3:29 ` Kirill A. Shutemov
2010-08-07 9:36 ` Andrey Rahmatullin
2010-08-07 11:05 ` Kirill A. Shutemov
2010-08-07 14:11 ` Andrey Rahmatullin
2010-08-08 4:56 ` Денис Смирнов
2010-08-08 7:27 ` Andrey Rahmatullin
2010-08-08 16:32 ` Денис Смирнов
2010-08-07 16:49 ` Alexey Tourbin
2010-08-07 18:38 ` Michael Shigorin
2010-08-07 18:41 ` Andrey Rahmatullin
2010-08-07 18:50 ` Michael Shigorin
2010-08-07 18:55 ` Andrey Rahmatullin
2010-08-07 19:29 ` Led
2010-08-08 4:32 ` Денис Смирнов
2010-08-07 19:35 ` Kirill A. Shutemov
2010-08-07 19:44 ` Michael Shigorin
2010-08-07 19:45 ` Andrey Rahmatullin
2010-08-07 19:48 ` Michael Shigorin
2010-08-07 13:57 ` Dmitry V. Levin
2010-08-07 14:09 ` Andrey Rahmatullin
2010-08-07 14:12 ` Andrey Rahmatullin
2010-08-09 23:14 ` Kirill A. Shutemov
2010-08-11 0:28 ` Dmitry V. Levin
2010-08-11 1:11 ` Kirill A. Shutemov
2010-08-11 1:35 ` Kirill A. Shutemov
2010-08-11 13:52 ` Dmitry V. Levin
2010-08-12 0:09 ` Kirill A. Shutemov
2010-08-12 0:35 ` Dmitry V. Levin
2010-08-11 15:02 ` [devel] перевод rpm на свежий beecrypt Dmitry V. Levin
2010-08-11 19:08 ` Kirill A. Shutemov
2010-08-11 19:34 ` Dmitry V. Levin
2010-08-12 0:06 ` Kirill A. Shutemov
2010-08-12 16:22 ` Dmitry V. Levin
2010-08-12 21:07 ` Dmitry V. Levin
2010-08-12 21:48 ` Kirill A. Shutemov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100804212620.GA28494@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git