236 links
  • Zertrin's links
  • Home
  • Login
  • RSS Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 4 / 12
Newer►
  • Hack the derivative
    Nice trick to compute the numerical derivative in python!
    Sat Oct 3 11:01:12 2015 - permalink -
    - https://codewords.recurse.com/issues/four/hack-the-derivative/
  • Les cgroups, un outil trop méconnu - LinuxFr.org
    Gérer la priorité des processus avec un cgroup au lieu de nice
    Sun Sep 27 17:31:15 2015 - permalink -
    - https://linuxfr.org/users/zezinho/journaux/les-cgroups-un-outil-trop-meconnu
    cgroup cpu linux priority priorité process
  • Exponential Economist Meets Finite Physicist | Do the Math
    Some while back, I found myself sitting next to an accomplished economics professor at a dinner event. Shortly after pleasantries, I said to him, “economic growth cannot continue indefinitely,” just to see where things would go. It was a lively and informative conversation. I was somewhat alarmed by the disconnect between economic theory and physical constraints—not for the first time, but here it was up-close and personal. Though my memory is not keen enough to recount our conversation verbatim, I thought I would at least try to capture the key points and convey the essence of the tennis match—with some entertainment value thrown in.

    Cast of characters: Physicist, played by me; Economist, played by an established economics professor from a prestigious institution. Scene: banquet dinner, played in four acts (courses).
    Wed Sep 16 21:37:18 2015 - permalink -
    - http://physics.ucsd.edu/do-the-math/2012/04/economist-meets-physicist/
    croissance economics economist futur future growth physics physique économie économiste
  • World Airports Voronoi
    Carte Voronoi de tous les aéroports du monde avec des lignes régulières
    Thu Sep 10 19:29:42 2015 - permalink -
    - https://www.jasondavies.com/maps/voronoi/airports/
    airport aéroport carte map monde visualisation voronoi world
  • The True Size Of...
    It is hard to represent our spherical world on flat piece of paper. Cartographers use something called a "projection" to morph the globe into 2D map. The most popular of these is the Mercator projection.

    Every map projection introduces distortion, and each has its own set of problems. One of the most common criticisms of the Mercator map is that it exaggerates the size of countries nearer the poles (US, Russia, Europe), while downplaying the size of those near the equator (the African Continent). On the Mercator projection Greenland appears to be roughly the same size as Africa. In reality, Greenland is 0.8 million sq. miles and Africa is 11.6 million sq. miles, nearly 14 and a half times larger.
    Thu Sep 10 19:18:25 2015 - permalink -
    - http://thetruesize.com/
    carte map monde pays projection visualisation world
  • Jupyter Ascending
    IPython 4.0 is out, completing the initial transition to Project Jupyter
    Wed Aug 12 23:20:24 2015 - permalink -
    - https://blog.jupyter.org/2015/08/12/first-release-of-jupyter/
    ipython jupyter programming python
  • Home | Attribute Changer
    Summary

    · Shell Extension ( right-click on files and folders in Windows Explorer )
    · Manage ReadOnly, Hidden, Archive, System, Compress and Index attributes
    · Manage Created, Modifed and Accessed date and time stamps
    · Manage photo ( EXIF ) date and time stamps
    · Apply absolute and offset values to date and time
    · Apply random date and time stamps
    · Synchronise date and time stamps
    · Change case of file and folder names and extensions
    · Apply filters on selection to restrict processing
    · Realtime and detailed reporting
    · Simulation mode
    · Extensive, localized user guide in PDF format
    · Attribute Changer is free, even for commercial use
    Tue Aug 4 15:49:43 2015 - permalink -
    - http://www.petges.lu/home/
    attribute changer date software time windows
  • Syncthing - Open Source Continuous File Synchronization
    Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.
    Thu Jul 30 11:25:58 2015 - permalink -
    - https://syncthing.net/
    data decentralized opensource p2p sync synchronization windows
  • NSSM - the Non-Sucking Service Manager
    nssm monitors the running service and will restart it if it dies. With nssm you know that if a service says it's running, it really is. Alternatively, if your application is well-behaved you can configure nssm to absolve all responsibility for restarting it and let Windows take care of recovery actions.

    nssm logs its progress to the system Event Log so you can get some idea of why an application isn't behaving as it should.

    nssm also features a graphical service installation and removal facility.
    Thu Jul 30 11:24:15 2015 - permalink -
    - http://nssm.cc/
    manager services windows
  • Python Extension Packages for Windows - Christoph Gohlke
    This page provides 32- and 64-bit Windows binaries of many scientific open-source extension packages for the official CPython distribution of the Python programming language.
    Fri Jul 24 11:28:06 2015 - permalink -
    - http://www.lfd.uci.edu/~gohlke/pythonlibs/
    download package python windows
  • \timing on: Comparing two tables - Postgres
    Say you have carefully tuned your database and wow! it is ten times faster -- but, before you push it to the production cluster, how do you know the answer of the query is correct?   Or at least, same as before?   :-)    You may have same question if you want to upgrade or migrate your database, or, for us, we want to make sure the new great join algorithm actually produce correct answer.   Well, let's just put the result before, and after, in two tables, and compare the two tables.

    This is great, but turns out to be quite tricky.   You need to take care of the cases that,

         Either table may not have a primary key
         Rows in the two tables may be physically stored in different orders.
        Columns could contain nulls.
        The two tables could be huge, so performance must be good.

    Here are something you could do.
    Wed Jun 17 18:02:16 2015 - permalink -
    - http://vitesse-timing-on.blogspot.de/2015/05/comparing-two-tables.html
    compare postgres table
  • The precision — or lack thereof — of time
    Fri Jun 12 23:22:50 2015 - permalink -
    - http://bluetreble.com/2015/06/time/
    database postgres time
  • Java class access pitfalls | Undocumented Matlab
    [Condensed mirror of the pitfalls, see the page for details]

    1. Forgetting or mistyping the package name: Since Java is case-sensitive, the package name must be exact.

    2. Mistyping the class name. As with package names, Java class names are also case-sensitive. Beware of cases of O/0 (capital-”o” vs. the digit zero), and I/l/1 (capital-”i” vs. lowercase “L” vs. the digit 1). Also note whether the class name includes the underscore (“_”) character.
         
    3. Using a Java class that was compiled using a newer JDK major-version than the JVM used in Matlab.

    4. Forgetting to update the Java classpath.

    5. Dependency #1: A class that depends on any other class that is not on the current Java classpath (either dynamic or static).

    6. Dependency #2: A class on the static Java classpath that depends on another class which is on the dynamic Java classpath. All static classes must depend only on other static classes, since the static classpath is processed before the dynamic one, when the JVM is launched at Matlab startup.
         
    7. Non-public class – Matlab can only access public classes. If the class is private, protected or has package visibility (by not specifying any visibility modifier at all), then the class would not be loadable by Matlab, only by other Java classes. So remember to add the public keyword in the definition of all the Java classes that you wish to directly use in Matlab.
         
    8. Non-public constructor – Matlab can only create objects for non-static classes that have public constructors. If all the class constructors are non-public, then Matlab cannot create a class instance object. In such a case we would get a misleading error message, that at least hints that the problem is with the constructor.
    Mon Jun 1 14:09:12 2015 - permalink -
    - http://undocumentedmatlab.com/blog/java-class-access-pitfalls
    java matlab programming
  • Comment remplacer une voie ferrée automatiquement
    "Cette machine remplace toute seule les rails, le gravier et les traverses de la voie ferrée sur laquelle elle se déplace."

    Impressionnant !
    Sat Apr 18 21:46:53 2015 - permalink -
    - http://www.laboiteverte.fr/comment-remplacer-une-voie-ferree-automatiquement/
    ingenierie rails technique train video
  • Regex cheatsheet
    Many programs use regular expression to find & replace text. However, they tend to come with their own different flavor.

    You can probably expect most modern software and programming languages to be using some variation of the Perl flavor, "PCRE"; however command-line tools (grep, less, ...) will often use the POSIX flavor (sometimes with an extended variant, e.g. egrep or sed -r). ViM also comes with its own syntax (a superset of what Vi accepts).

    This cheatsheet lists the respective syntax of each flavor, and the software that uses it.
    Tue Apr 14 20:12:50 2015 - permalink -
    - https://remram44.github.io/regex-cheatsheet/regex.html
    cheatsheet pcre python regex vim
  • boltons — boltons 0.5.0 documentation
    Boltons is a set of pure-Python utilities in the same spirit as — and yet conspicuously missing from — the the standard library, including:

    - Atomic file saving, bolted on with fileutils
    - A highly-optimized OrderedMultiDict, in dictutils
    - Two types of PriorityQueue, in queueutils
    - Chunked and windowed() iteration, in iterutils
    - A full-featured TracebackInfo type, for representing stack traces, in tbutils
    Sat Apr 11 12:27:44 2015 - permalink -
    - https://boltons.readthedocs.org/en/latest/
    lib programming python tools
  • Filtering IMAP mail with imapfilter - Raymii.org
    Imapfilter is a mail filtering utility written in Lua which connects to one or more IMAP accounts and filters on the server using IMAP queries. It is a lightweight command line utility, the configuration can be versioned and is simple text and it is very fast.
    Sat Mar 21 21:50:20 2015 - permalink -
    - https://raymii.org/s/blog/Filtering_IMAP_mail_with_imapfilter.html
    config filter imap lua mail opensource tuto
  • Installing Virtual Machines with virt-install, plus copy pastable distro install one-liners - Raymii.org
    virt-install is a command line tool for creating new KVM , Xen or Linux container guests using the libvirt hypervisor management library. It allows you to create a VM and start an installation from the command line.

    This article is a quick introduction to virt-install. It also has a copy pastable getting started examples for different distro's. Make sure to change the mirror to one near you for faster downloads.
    Sat Mar 21 21:37:03 2015 - permalink -
    - https://raymii.org/s/articles/virt-install_introduction_and_copy_paste_distro_install_commands.html
    kvm linux virsh virt-install virtual vm
  • No Wireshark? No TCPDump? No Problem!
    Have you ever been on a pentest, or troubleshooting a customer issue, and the "next step" was to capture packets on a Windows host?  Then you find that installing winpcap or wireshark was simply out of scope or otherwise not allowed on that SQL, Exchange, Oracle or other host?  It used to be that this is when we'd recommend installing Microsoft's Netmon packet capture utility, but even then lots of IT managers would hesitate about using the "install" word in association with a critical server.  Well, as they say in networking (and security as well), there's always another way, and this is that way.

    "netsh trace" is your friend.  And yes, it does exactly what it sounds like it does.
    Fri Mar 6 09:31:51 2015 - permalink -
    - https://isc.sans.edu/diary/No+Wireshark%3F+No+TCPDump%3F+No+Problem!/19409
    debug network windows
  • WhyTheName
    An IT-etymology/linuxguistics page for people wondering "how come the package yasysmand-cling has such a strange name?"

    Giving cryptic names to software is a well-established UNIX tradition, and the explanations are often missing from the documentation, either because the developers imagine it's obvious (usually wrongly) or because they think nobody cares (and here they're usually right, or it would turn up as FAQ material).
    Wed Mar 4 11:52:49 2015 - permalink -
    - https://wiki.debian.org/WhyTheName
    debian name software unix why
Links per page: 20 50 100
◄Older
page 4 / 12
Newer►
Shaarli - The personal, minimalist, super-fast, no-database delicious clone by the Shaarli community - Help/documentation