All of the interesting technological, artistic or just plain fun subjects I'd investigate if I had an infinite number of lifetimes. In other words, a dumping ground...

Friday 28 March 2008

Sphinx - documentation & Fraqtive - Fractal generator & Pygments & Docutils

Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects, written by Georg Brandl and licensed under the BSD license.

It was originally created to translate the new Python documentation, but has now been cleaned up in the hope that it will be useful to many other projects. (Of course, this site is also created from reStructuredText sources using Sphinx!)

Although it is still under constant development, the following features are already present, work fine and can be seen "in action" in the Python docs:

  • Output formats: HTML (including Windows HTML Help) and LaTeX, for printable PDF versions
  • Extensive cross-references: semantic markup and automatic links for functions, classes, glossary terms and similar pieces of information
  • Hierarchical structure: easy definition of a document tree, with automatic links to siblings, parents and children
  • Automatic indices: general index as well as a module index
  • Code handling: automatic highlighting using the Pygments highlighter
  • Extensions: automatic testing of code snippets, inclusion of docstrings from Python modules, and more

Sphinx uses reStructuredText as its markup language, and many of its strengths come from the power and straightforwardness of reStructuredText and its parsing and translating suite, the Docutils.


-----------------------

Fraqtive

Fraqtive is an open source, multi-platform generator of the Mandelbrot family fractals. It uses very fast algorithms supporting SSE2 and multi-core processors. It generates high quality anti-aliased images. It allows real-time navigation and dynamic generation of the Julia fractal preview.

Fraqtive is available for both Windows and Linux under the GNU General Public License.


-----------------------------


This is the home of Pygments. It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. Highlights are:

  • a wide range of common languages and markup formats is supported
  • special attention is paid to details that increase highlighting quality
  • support for new languages and formats are added easily; most languages use a simple regex-based lexing mechanism
  • a number of output formats is available, among them HTML, RTF, LaTeX and ANSI sequences
  • it is usable as a command-line tool and as a library
----------------------------------
Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX. It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language.

Tuesday 25 March 2008

netgear as a wireless access point

http://kbserver.netgear.com/kb_web_files/n101496.asp

Using WPN824, WGR614, or WGT624 Routers as an Access Point

These instructions — for bridging wireless clients to a wired LAN — apply to WGR614v6, WGT624v3, and WPN824. They may also work on other wireless routers.

For FVM318 instructions click here.

To Configure Your Router as an Access Point

Important: Do not connect the wireless router/access point to your network yet, as it may have the same IP address as the router that's now connected to the Internet.

  1. If the wireless router/access point is in the default state with the Configuration Assistant running, disable it:
    1. Select Start > Run, and type http://www.routerlogin.com/CA_HiddenPage.htm
    2. Select Disable Configuration Assistant.
  2. If there's a cable on the wireless router/access point WAN port, it needs to be disconnected (permanently).
  3. Configure the wireless router/access point with a wired PC, as shown.
  4. Change the IP address of the wireless router/access point.
  5. Disable the DHCP server of the wireless router/access point. Only one DHCP server should be used on the network.
  6. Connect a LAN port on the wireless router/access point to a LAN port on the router, as shown
  7. Configure SSID on wireless router/access point and wireless PCs so that they are the same.

Extra Considerations

1. Be careful not to use duplicate IPs within your network.
2. The DHCP server used by the router that is not the wireless router/access point should not have the IP address of the wireless router/access point in its DHCP range of IP pool (to avoid accidentally giving out a duplicate IP address).
3. If the router that is not wireless router/access point is also wireless:

  • Separate the two devices to the edge of their wireless ranges, or else
  • Use different SSIDs.

4. If the router with Internet access is also wireless, you should configure different wireless channels on each device. Use the non-overlapping wireless channels 1,6, and 11 to avoid wireless interference.

To Configure the Router with Internet Access

Connect to one of the wireless router/access point's LAN Ethernet ports, turn off its DHCP server, and give the wireless router a static IP on your LAN:

  1. Connect a PC directly to a LAN port on the wireless router with an Ethernet cable.
  2. Power on the wireless router/access point.
  3. Reboot the PC.
  4. Log in to the wireless router though a browser. (Usually 192.168.1.1, with User Name = admin and Password = password, unless you changed them from the defaults).
  5. Go to the LAN IP menu and disable the wireless access point's DHCP server by unchecking Use router as DHCP server.
  6. Select LAN IP, and change the IP to 192.168.1.99.
  7. Click Apply to save the settings. You will lose the connection to the wireless router/access point , since its IP changed.
  8. Log in to the wireless router/access point with the URL: http://192.168.1.99
  9. Connect one of the wireless router's Local (LAN) ports to your existing network.

This completes the wireless router/access point configuration.

  • You can now log in to the wireless router/access point at its new address of http://192.168.1.99 and configure wireless features such as WEP and Access Control List
  • UPnP, DMZ, Port Forwarding, and Port Triggering are not used on the wireless router/access point, and it doesn't matter how they are configured.
  1. Configure the LAN IP address to be within the same subnet as your PCs.
      • Take care not to use an IP address already being used.
      • Limit the number of addresses in the DHCP range and assign an IP address outside of the range to the router you want to use as the Access Point.
  2. Disable DHCP on the wireless router/access point.
  3. Connect one of the LAN ports on the wireless router/access point to a LAN port on the Router.
  4. Configure the SSID and any security settings on the wireless PCs to match the wireless router/access point's SSID and security settings.

a. SSIDs must be the same on all wireless devices. (These are case-sensitive: netGEAR is not the same as NETGEAR.)
b. Tip: Make sure the wireless PCs can connect before configuring WEP, WPA-PSK, or other wireless encryption.

Potential Issues

1. DHCP configuration may not work reliably because the wireless router/access point may not correctly relay DHCP information from the router. Workaround: Use static IPs on the wireless PCs.
2. If your computers use static IPs, make sure the gateway is the IP address of the router connected to the Internet, ie: 192.168.1.1
3. The router's DHCP server's IP range may overlap the statically assigned IP address of the wireless router/access point. Workaround: Limit the DHCP range, and set the static IPs outside of the DHCP range.

---------------------------------------------------

Remember personal tip: check the button "Enable Wireless Router Radio" in "Advanced Wireless Settings".

To do this you need to do http://www.routerlogin.com/CA_HiddenPage.htm or http://192.168.1.1/CA_HiddenPage.htm


Flash screen recorder

http://www.unixuser.org/~euske/vnc2swf/

Thursday 20 March 2008

Friday 14 March 2008

Mono & Firefox 3 memory usage

http://blog.pavlov.net/2008/03/11/firefox-3-memory-usage/

As the web and web browsers have matured, people have started expecting different things out of them. When we first released Firefox, few people were browsing with tabs or add-ons. I've written before about how web usage patterns have changed, so too have our strategies on how to effectively make use of system resources such as memory.

While Firefox 2 used less memory than it's predecessor, Firefox 1.5, we intentionally restricted the number of changes to the Gecko platform (Gecko 1.8.1 was only slightly different than Gecko 1.8) on which Firefox was built. However, while the majority of people were working on Firefox 2 / Gecko 1.8.1, others of us were already ripping into the platform that Firefox 3 was to be built on: Gecko 1.9.

We've made more significant changes to the platform than I can count, including many to reduce our memory footprint. The result has been dramatic, and you can see for yourself by getting a copy of the recently released Firefox 3 Beta 4.

http://www.mono-project.com/Main_Page

Tuesday 4 March 2008

Linux copy dvds

http://k9copy.sourceforge.net/

Description

K9Copy is a small utility which allows the copy of DVD on Linux.
The DVD video stream is compressed by the program Vamps.
  1. Copy without menus :
    In this case, dvdauthor is used to create a new DVD structure. It is possible to choose the order in which the video sequences are played.

  2. Copy with menus :
    As dvdauthor does not make it possible to integrate the original menus, K9Copy reproduces the original structure of the DVD. The navigation packs as well as IFO files are modified to point on the compressed MPEG stream.

The creation of personalized menus has not been renewed in version 1.0.0.

Features

  • The video stream is compressed to make the DVD fit on 4.7 Gb recordable DVD
  • DVD Burning
  • Creation of ISO images
  • Possibility of selecting the audio tracks and subtitles to be copied
  • Title preview (video only)
  • Possibility of preserving the original menus

Prerequisit

  • DVDAuthor
  • libdvdread
  • growisofs
  • mencoder
  • mplayer
  • libhal
  • libdbus
  • libdbus-qt

Python web application framework

web2py is an open source full-stack Enterprise Framework for agile development of secure database-driven web-based applications, written and programmable in Python. Created by Massimo Di Pierro. © 2007-2008.

Chemistry experiments

http://blog.wired.com/wiredscience/2008/03/top-10-amazing.html

Top 10 Amazing Chemistry Videos

By Aaron Rowe March 02, 2008 | 3:48:35 PM

SporesFiery explosions, beautiful reactions, and hilarious music videos are great reasons to be excited about chemistry. Here are some of our favorites.

Traceroute

http://pwhois.org/lft/

LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that often works much faster (than the commonly-used Van Jacobson method) and goes through many configurations of packet-filters (firewalls). More importantly, LFT implements numerous other features including AS number lookups through several reliable sources, loose source routing, netblock name lookups, et al. What makes LFT unique? LFT is the all-in-one traceroute tool because it can launch a variety of different probes using ICMP, UDP, and TCP protocols, or the RFC1393 trace method. For example, rather than only launching UDP probes in an attempt to elicit ICMP "TTL exceeded" from hosts in the path, LFT can send TCP SYN or FIN probes to target arbitrary services. Then, LFT listens for "TTL exceeded" messages, TCP RST (reset), and various other interesting heuristics from firewalls or other gateways in the path. LFT also distinguishes between TCP-based protocols (source and destination), which make its statistics slightly more realistic, and gives a savvy user the ability to trace protocol routes, not just layer-3 (IP) hops. With LFT's verbose output, much can be discovered about a target network.

WhoB is a likable whois client (see whois(1)) designed to provide everything a network engineer needs to know about a routed IP address by typing one line and reading one line. But even so, it's worth typing a few more lines because WhoB can do lots of other cool things for you! It can display the origin-ASN based on the global routing table at that time (according to Prefix WhoIs, RIPE NCC, or Cymru), the 'origin' ASN registered in the RADB (IRR), the netname and orgname, etc. By querying pWhoIs, WhoB can even show you all prefixes being announced by a specific Origin-ASN. WhoB performs the lookups quickly, the output is easily parsed by automated programs, and it's included as part of the Layer Four Traceroute (LFT) software package. LFT uses WhoB as a framework (and you can too, quite easily--see whois.h). Recent LFT releases (as of version 2.5) include WhoB functionality through a standalone "whob" client/command placed in the LFT binary directory.


tim's shared items

Add to Google Reader or Homepage