212 reputation
210
bio website
location France
age 27
visits member for 2 years, 3 months
seen Mar 27 at 19:01

Jun
17
comment Possible to use more than one core with sed and bash?
You could just split the file and process each half in a different sed process, but if the script is complicated and involves tweaking the different sed spaces, it wouldn’t work. On simple scripts it should work, however.
May
28
comment How much more battery time would I gain by not having any hard drive?
@Ramhound Maybe I just misphrased it, but my question is not about replacing an hard drive with something else, it is about removing it. In my case, the USB or SD device will just load the OS image to memory, because there is no hard drive to do the job.
May
28
comment How much more battery time would I gain by not having any hard drive?
I guess you are right, that depends on the work load. If my computer uses 20Wh on heavy load and the disk is 6Wh, the battery life I gain is more than if it uses 40Wh. Yet I am sure there is a way to make that variable enter the equation. I am looking for back-of-the-envelope math here, not precise computations.
May
28
comment How much more battery time would I gain by not having any hard drive?
@DanielRHicks yea that's a very good point, I forgot to take that into consideration.
May
28
comment How much more battery time would I gain by not having any hard drive?
@Ramhound How do you know? actually, this is my question: how to estimate this? I presume it does make a difference because lots of websites recommend using hdparm to enable power save on the hard drive.
May
28
comment How much more battery time would I gain by not having any hard drive?
@Ramhound: my battery would live longer because it no longer has a hard drive draining power. The USB thing is just to explain how I would boot my computer in the absence of a hard drive, it's irrelevant otherwise.
May
28
comment How much more battery time would I gain by not having any hard drive?
Why did I get a down vote on that? people pointed out that it was hard to evaluate: does it make my question invalid?
Nov
4
comment Pinging an external server through OpenVPN tunnel doesn’t work
@Claudius if you wanna formulate an answer, I’d be glad to give you the response point.
Nov
3
comment Pinging an external server through OpenVPN tunnel doesn’t work
@Claudius I routed the google ip addresses via tun0 but I can’t wget them anymore, so I don’t think this works. see bpaste.net/show/55677
Nov
3
comment Pinging an external server through OpenVPN tunnel doesn’t work
@Claudius: I might be wrong, but I used ping -Itun0 www.google.com to override the gateway, shouldn’t that work? I didn’t want to redirect the default gateway to the tun0 adapter before I was sure it worked (or I wouldn’t be able to talk right now)
Nov
3
comment Pinging an external server through OpenVPN tunnel doesn’t work
@JulianKnight I normally don’t use iptables, I just added the rule to see if it would help. So my first configuration did not use iptables.
Nov
3
comment Pinging an external server through OpenVPN tunnel doesn’t work
@Claudius here you go!
Aug
19
comment Repair a huge file to which I have ssh access
@AlanCurry that’s how I ended up fixing it. Please edit an answer and I’ll give you the response point. I had to add parameter -c to the rsync command to enforce checksum.
Aug
18
comment Repair a huge file to which I have ssh access
@Shiki interesting idea. Will the torrent blocks be compared using checksums ? I am afraid the torrent way of checking is size-based (I really have no idea to be honest)
Jul
15
comment Removing files matching a numeric range regular expression
@cYrus I am aware of the limitations :) My answer was more aimed at being an alternative to superuser’s one.
Jun
14
comment How do those wifi amplifiers work?
But the data goes both ways. I mean, at some point, the receiver’s antenna will have to emit data too. If the amplifier is only on the AP side, won’t there be a problem when the PC sends data not far enough?
Jun
14
comment How do those wifi amplifiers work?
Does it mean that, to be useful, the device should be applied both on the emitter and receiver’s antenna?
Jun
14
comment How do those wifi amplifiers work?
@Ramhound Wait, I’m afraid you are mistaken. The device I was talking about is not a repeater. I mean, it connects between the computer and the computer’s antenna.
Jun
14
comment How do those wifi amplifiers work?
@Ramhound my English is pretty bad but I could have figured that from their name. So the only difference is that the computer sees a higher signal power? Isn’t that completely useless? I thought the power of the signal was just a way to judge its quality (i.e. average number of errors) : if the quality is still poor then what is it good for?
Jun
12
comment Do control groups improve system performances?
@haimg not really, but I have read many opposite statements and I am trying to figure out about them