{
}
tswr's
theShockwaveRider's
Lectures Blog News About Search

Entropy

eng jscript lectures snippet
var message = "ananas";
var hash = new Array();
for (var i = 0; i < message.length; i++) {
    var char = message.charAt(i);
    if (typeof(hash[char]) == 'undefined')
        hash[char] = 1;
    else
        hash[char]++;
}
for (var key in hash) {
    WSH.Echo(key + " : " + hash[key]);
}
Feb 2, 2013 · tswr

Latest Posts

❯

About Me

Jan 18, 2025

❯

Speech-to-Text on Arch Linux with Wayland: A Journey

Jan 31, 2026

❯

The Pi Hut Advent Calendar in C++

Dec 25, 2024

❯

Бальзак. Папаша Горио. Цитаты

Apr 5, 2019

❯

TL;DR How to Do Code Reviews Like a Human (Michael Lynch)

Mar 8, 2018

Tags

lectures 43 blog 23 cc 17 quotes 17 python 15 eng 14 lecture 12 python-imkn 10 antlr 8 news 8 snippet 8 uralcsclub 6 jscript 5 bison 4 flex 4 links 4 llvm 4 networking 4 perl 4 cpp 2 dev 2 social 2 tswr 2 arch 1 boost 1 conference 1 dictation 1 dyk 1 linux 1 photos 1 thesis 1 TL;DR 1 whisper 1
{ tswr's theShockwaveRider's }

"The future is already here — it's just not evenly distributed."

© 2026 · Made with ☕ in Zürich

Lectures Blog News About Search

Latest Posts

❯

About Me

Jan 18, 2025

❯

Speech-to-Text on Arch Linux with Wayland: A Journey

Jan 31, 2026

❯

The Pi Hut Advent Calendar in C++

Dec 25, 2024

❯

Бальзак. Папаша Горио. Цитаты

Apr 5, 2019

❯

TL;DR How to Do Code Reviews Like a Human (Michael Lynch)

Mar 8, 2018

Tags

lectures 43 blog 23 cc 17 quotes 17 python 15 eng 14 lecture 12 python-imkn 10 antlr 8 news 8 snippet 8 uralcsclub 6 jscript 5 bison 4 flex 4 links 4 llvm 4 networking 4 perl 4 cpp 2 dev 2 social 2 tswr 2 arch 1 boost 1 conference 1 dictation 1 dyk 1 linux 1 photos 1 thesis 1 TL;DR 1 whisper 1