Quantcast

Posts tagged with computer

As soon as an Analytic Engine exists, it will necessarily guide the future course of science.

Whenever any result is sought by its aid, the question will arise—By what course of calculation can these results be arrived at by the machine in the shortest time?
Charles Babbage (1864)

(Source: aofa.cs.princeton.edu)




What does it mean to program in a functional style?  (por Brian Will)

  • functions can be passed—as arguments—to other functions
  • if, try, while return something
  • adhere to statelessness (no side effects, so you can see everything that a function does just looking in the one place)




(also known as C:\progra~1 in older Windowses)

Short answer: /bin or /usr/bin.

Longer answer: It depends on the distro (Ubuntu, Slack, Arch, Mint, Puppy, etc) and on what kind of program. You could think of these directories as decreasing from user land toward the bare-metal computer level. (Roughly / sort-of / not exactly.)

  • /opt/ (programs you download)
  • /bin/ (netstat, uname, wc, zcat, rm, rmdir, gzip, head, tail, last, ln, ls, kill, gawk, sleep, sort, tar, touch, vi, cat, chmod, sh, bzip2, bash, dmesg)
  • /usr/bin/ (lpr, xsane, zipgrep, xrandr, xsane, less, leafpad, ldd, xinit, dpkg, ssh, sudo, sftp, dvipdf, evince)
  • /usr/sbin/ (gtkdialog, parted, wpa_supplicant, ethtool, nscd, grub, dhcpd, httpd, cupsd, alsaconf)
  • /sbin/ ( fsck, fdisk, mount, swapon, ifup, sysctl, lspci)

You should preferably store programs you download in:

  • /opt/.

(for optional) and add /opt/ or /opt/bin/ to your $PATH with

  • echo $PATH
  • export PATH=$PATH:/opt
  • echo $PATH

(if that gives you an error you may need to give yourself access with chown or chmod. For example chown isomorphismes /opt/ or chmod -R a+rw /opt/.


If you want to find where some command or program you use is located, use which.

# which ls
/bin/ls

# which grep
/bin/grep

# which top
/usr/bin/top

# which java
/usr/bin/java

# which ghci

# which ruby
/usr/bin/ruby

# which python
/usr/bin/python

# which perl
/usr/bin/perl

# which jwm
/usr/bin/jwm

# which awesomewm

# which xinit
/usr/bin/xinit

# which latex
/usr/bin/latex

# which pdflatex
/usr/bin/pdflatex

# which dvips
/usr/bin/dvips

# which sage

# which ack-grep
/usr/bin/ack-grep

# which ack

# which gdb
/usr/bin/gdb

# which epdfview
/usr/bin/epdfiew

# which dpaste
/opt/dpaste

# which lein
/opt/lein

# which less
/usr/bin/less




Minute 10 — The point of this talk is how much “boilerplate” or standard lengthy expressions are necessary in Java to do, what’s essentially nothing: define a class whose members consist of three strings.

(Source: cufp.org)







Akamai delivers like 20% of all internet traffic.

5 minutes explaining what it is they do.

  • differences between last & first mile of HTTP delivery, versus “the middle mile”
  • TCP is a really chatty technology
  • edge servers
  • bottlenecks
  • optimal delivery path in terms of time, not hops

The last bit is a sales pitch; minutes 1–3 are more worth watching than 0–1 or 3+.

(por akamaitechnologies)




nice ggplot intro tutorial. Just run the commands, about 6 pages = flexible 1-3 hours of learning, depending how much reading you want to pair it with

by Ramon Saccilotto