Skip to main content

Posts

Stavíme tunely v OpenSSH - Root.cz

Stavíme tunely v OpenSSH - Root.cz Toto je opravdu zajimave. Zejemna tathle ta citace. Dynamické tunelování ... Dovolíme si tedy problematiku přeskočit a podívat se rovnou na dynamické tunelování: $ ssh -D1080 user@server Tímto jednoduchým příkazem jsme z SSH klienta vyrobili SOCKS proxy server. Všechny požadavky o spojení, které SOCKS server obdrží, protuneluje SSH protokolem a vyřídí na straně SSH serveru. Stačí tedy v aplikaci, jako je webový prohlížeč nebo poštovní klient, nastavit použití SOCKS proxy serveru (verze 5 nebo 4) s adresou localhost:1080. Od té chvíle bude veškerý provoz směrován tunelem. Jak snadné.

Great lecture on probability measures

This is a very nice and easy to follow lecture on probability measures for beginners. It starts with the definition of measures, sigma algebra, continues with explanations of integrals, and abstract probability space, and ends with stochastic processes such as a Dirichlet process or a Gaussian process. Foundations of Nonparametric Bayesian Methods Peter Orbanz 2 videos

Dialogue Systems Group - University of Cambridge

I have recently developed a web interface to a dialogue system on which I am currently working in Cambridge. You can find it here: Dialogue Systems Group - University of Cambridge - CamInfo demo You can find similar demo on Amazon Mechanical Turk; however, in this case you can also make some money. We need volunteers! Check out www.mturk.com Cambridge .

CDR reporting (to MySQL)

If you want to enable CDR logging using MySQL on Asterisk Now 1.4 CentOS distribution. You will have to install the following packages: - asterisk14-addons-core - asterisk14-addons-mysql Although the MySQL logging is necessary for installed FreePBX, the asterisk14-addons-mysql package was not initially installed. More details can be found here: 0014931: CDR reporting (to MySQL) is completely broken in AsteriskNOW 1.5.0 - Asterisk.org Issue Tracker

Temporal-Difference Learning Policy Evaluation in Python

In the code bellow, is an example of policy evaluation for very simple task. Example is taken from the book: "Reinforcement Learning: An Introduction, Surto and Barto" . #!/usr/local/bin/python """ This is an example of policy evaluation for a random walk policy. Example 6.2: Random Walk from the book: "Reinforcement Learning: An Introduction, Surto and Barto" The policy is evaluated by dynamic programing and TD(0). In this example, the policy can start in five states 1, 2, 3, 4, 5 and end in two states 0 and 6. The allowed transitions between the states are as follwes: 0 1 2 3 4 5 6 The reward for ending in the state 6 is 1. The reward for ending in the state 0 is 0. In any state, except the final states, you can take two actions: 'left' and 'right'. In the final states the policy and episodes end. Because this example implements the random walk policy then both actions can be taken with the probability 0.5 . ""...

Difference between the Standard Deviation, Standard Error and Confidence Itervals

In its simplest: the standard deviation represents the variability of input values, the standard error (of the mean) represents variability of computed mean, the confidence intervals represents where the 'true' mean value might lie. Computation: the standard deviation is computed from the variance of your data - input values, the standard error is computed from the standard deviation, the confidence intervals are computed from the standard error. Read this: Many people confuse the standard deviation (SD) and the standard error of the mean (SE) and are unsure which, if either, to use in presenting data in graphical or tabular form. The SD is an index of the variability of the original data points and should be reported in all studies. The SE reflects the variability of the mean values, as if the study were repeated a large number of times. By itself, the SE is not particularly useful; however, it is used in constructing 95% and 99% confidence intervals ( CIs ), which indicate ...

Google Testing Blog: TotT: EXPECT vs. ASSERT

Google commented on different types of assertations in their testing framework ( Google Testing Blog: EXPECT vs. ASSERT)   I have found assertations in my code very useful on many occasions; however, I do not see any need for the EXPECT function. If your code is broken then it is broken and there is no point in continuing and testing conditions which are not likely to be met.  It is like with C++ compiler errors. The most important error is the firtst error. The rest of the erorrs is usually rubish and useless.