1,540 reputation
714
bio website
location Orbiting the Sun (More precisely: probably Prague)
age
visits member for 5 years, 4 months
seen Nov 19 at 17:23

Rents brain for food.

Programmer by day, OpenStreetMap enthusiast by night, bicyclist in-between.


Aug
21
comment How does a browser get a website's logo?
GET /favicon.ico - a normal HTTP GET request, no magic here. You can also specify the icon in a HTML page using the meta name="shortcut icon"
Aug
15
comment Reverse SSH Tunneling Question
Even better, use autossh instead of ssh - it is a wrapper around ssh with additional mechanisms for ensuring that the SSH connection stays up.
Aug
14
comment SSH access to office host behind NAT router
Now that the 5.0.0.0/8 network actually has public IPv4 addresses assigned, Hamachi is in trouble (if Hamachi is running, you can not access a somewhat-random part of the internet). Also, Hamachi is no longer free-to-use.
Aug
14
comment Reverse SSH Tunneling Question
see e.g. this: superuser.com/q/277218/2249
Jul
28
comment Should I plug my mouse into a USB 3.0 port?
@Dolda2000: A device using USB1.1 will force the port to use USB1.1, which is Not A Good Thing (it has various quirks in addition to being sloooow); most mice I could get my hands on report as USB 2.0 devices.
May
30
comment Follow up to SSH access to office host behind NAT router
You need something to restart the autossh from your office PC. That answer by Velmont should work - but you need to put it somewhere it gets autostarted (be it crontab, rc.local, .profile or .autostart)
May
11
comment Make rsync update existing files first, create new ones later?
Good points - the stat overhead for --times should be negligible; if I were using --checksum, it might have an effect.
May
11
comment Make rsync update existing files first, create new ones later?
Also, using a larger target partition is not possible (the target is not a common-off-the-shelf disk, I need to work with what I have).
May
11
comment Make rsync update existing files first, create new ones later?
Note that there is similar functionality for files which don't exist in the new version: --delete-before; I haven't found any *--update-before or somesuch in the manpage.
Apr
7
comment SSH access to office host behind NAT router
I have a serious problem with "No need to open SSH port (keep your computer save)" - the shell-over-jabber bot which you propose is secured with, quote, CLIENT_PASSPHRASE = "logmein", in plaintext. That is literally zero security - you're making a truck-sized hole for anyone to enter. Contrast to SSH public key authentication: I'm authenticating over a secure channel, using credentials which never even cross the wire. Who's keeping their computer safe now?
Apr
7
comment SSH access to office host behind NAT router
Thank you for the compliments :) For my use cases, I regularly need the shell access, as well as the forwardings; plus, I have tried to show the minimal case here (it is possible to simplify the above into two commands with transparent SSH host hopping, but that would require additional configuration on the homepc computer).
Mar
26
comment Router eavesdropping on SSH tunnel?
Perhaps it blocks all traffic which looks like "small outgoing payload - huge incoming payload coming in below line capacity" (which might indicate a streaming video)?
Mar
26
comment What is the exact meaning of localhost on the operating system?
@alex: 127.0.0.1 refers to a virtual network interface, usually called loopback (or lo for short). This interface does not have any physical components, it is fully implemented in the OS.
Mar
26
comment How to install Filder on Ubuntu 11.10?
Update: there is now an experimental Linux build at fiddler.wikidot.com/mono
Feb
27
comment modprobe vboxguest failed
This works because VBoxLinuxAdditions.run compiles the VirtualBox kernel modules, but doesn't quite mention this when it fails.
Feb
27
comment Bittorrent Sync username
See serverfault.com/a/422952/178 - no, it's not required; in fact, I'd discourage it. Run the daemon as yourself using su yourusername -c '/whatever/command --foo=bar' See also stackoverflow.com/a/8941040/19746
Feb
24
comment How to share CPU or RAM?
@Phoshi: Significantly more complex to set up, though (as opposed to e.g. RAID0-backed swap).
Feb
24
comment How to share CPU or RAM?
@Phoshi: I agree - indeed it is, and the optimal solution is "add more physical memory." All I'm saying is that paging out to a fast device (e.g. a ramdisk) over a fast network might still be faster than paging out to a physical disk. In other words: this might be a faster swap device than a swap on a physical medium, even though it will be many orders of magnitude slower than physical RAM.
Feb
24
comment Files copied to NTFS partitions in Ubuntu get deleted by Windows 8
Great, thanks :)
Feb
24
comment How to share CPU or RAM?
@Phoshi: Even with the latencies added by network, such setup might be faster than disk-based swap.