Archive for the ‘Web’ Category

Online Supplementary Mathematics Materials for Machine Learning and Artificial Intelligence Courses

Recently I’ve started to see a lot of questions regarding to the “mathematics tutorials or supplementary materials for Machine Learning and AI” in the online discussions with the emergence of Stanford’s online AI and machine learning courses. As with the internet crowd, I’m going to participate these courses as well and I’ve always found the [...]

PHP IPv6 address to Decimal Format Conversion

Storing IP addresses in database as decimal have several advantages on storing as a string (storing, efficiency, processing… etc). But my goal was to be able to easily query if an IP address is in a block or between a given IP range. The following two functions are often handy for converting a string IPV6 [...]

Large Scale Bayesian Inference for Network Tomography

1 Introduction Major goal of network tomography is to infer the internal characteristics of network by only using data from the end nodes. Each node can either be a computer, router or a subnetwork. Broadly speaking large-scale network inference involves estimating network parameters (can be performance or other) based on traffic measurements at a limited subset of nodes [...]

OpenClassroom and E-learning

Recently I’ve discovered a very useful gem OpenClassroom from Stanford University. In that page there are lectures from several famous professors in Stanford University. The lectures are usually interactive and visual, for instance lecturer asks a question and the videos stops, then it continues after you’ve answered the question. I believe in free online education [...]

Advices to a Beginning Graduate Student

Manuel Blum, a computer scientist in CMU has given a great talk  about advices to phd students. There are very nice advices in this talk and they are not only for graduate students but as well as people who like doing research can benefit it. The original source of this article is this talk, I [...]

Measure Kolmogorov Complexity of a file with the Lazy Man’s technique in *nix

With the gnu ent command you get the entropy of a file in an easy way. For example: 1 2 3 4 5 6 7 8 9 10 11 12 13 caglar@caglar-desktop:/tmp$ cat /dev/urandom | base64 | head -c 1200 > rand.txt caglar@caglar-desktop:/tmp$ ent rand.txt Entropy = 5.982286 bits per byte.   Optimum compression would [...]

Scrape a Web Site with Lynx

Lynx is a powerful tool for command-line based web browsing on linux. With the following simple script it is possible crawl a web-page and scrape all the texts in an easy to parse html-free format for further text processing. Then you can do text-classification, sentiment-analysis …etc to analyze the data. 1 2 3 #!/bin/bash WEBSITE=$1 [...]

Reverse Engineering Tools for Linux

objdump – displays information from object files. strace – trace system calls and signals ltrace – A library call tracer etrace – is a configurable static port network tracing tool, similar to traceroute, but supporting ICMP, TCP, UDP and other IP protocols. gdb –  The GNU debugger valgrind – a suite of tools for debugging [...]

Solving the Debian’s Google Chrome Update Problem

Google Chrome web browser’s Debian and Ubuntu repositories is somewhat problematic. The problem is either fetching  update data from the server seems to hang for about 5 minutes or connection to the update server timeouts after a few minutes. A bug about this issue is filed here.  This issue seems to be related with HTTP/1.1 [...]

Firefox Plugins that you should know

One of the reason that still i have been using Firefox as my primary browser is because of its large base of plugins. In this post i’ll try to list some of my favorite Firefox plugins and provide some short descriptions mostly taken from the plugin’s web site. Security Https Everywhere: This plugin is provided [...]