Re: dump(8) is slow

2022-08-10 Thread Tomasz Rola
On Tue, Aug 09, 2022 at 07:06:04PM -0600, Theo de Raadt wrote: > Tomasz Rola wrote: > > > Ok. But what is a theoretic speed limit for this device? > > [...] > > Bravo, you tested the speed at 1024 bytes of data per system call. The OP complained his dump w

Re: dump(8) is slow

2022-08-09 Thread Tomasz Rola
s one thing, but it says theoretical upper speed, if I am correct. So you want to know about real speed limit of _this_ device. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home

Re: Freeze on OpenBSD 7.1

2022-07-17 Thread Tomasz Rola
in +- 5% of what they should be. Yours look bad, because ~30% too big. Bear in mind, I am not electrical engineer. If you do not own voltmeter, this probably means you should ask for help of someone who does. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's natur

Re: www.openbsd.org unreachable for a few days

2020-12-15 Thread Tomasz Rola
of-alberta-sms.10gigabitethernet2-2.core1.yeg1.he.net (184.105.18.50) 156.854 ms 157.227 ms 160.990 ms 13 cabcore-esqgw.corenet.ualberta.ca (129.128.255.35) 158.464 ms 163.029 ms katzcore-esqgw.corenet.ualberta.ca (129.128.255.41) 157.714 ms 14 * * * 15 gateway-5.ucs.ualberta.ca (129.128.5.1) 166.05

Emulating ps/2 for usb keyboard [was Re: Mouse hotplug in X?]

2020-11-01 Thread Tomasz Rola
ping). I have it plugged into usb hub with micro on-off switches for individual devices, so when I get annoyed, I "hard reset" the keyboard and after that it somehow comes back to the order. There is nothing on minus side yet. I expected it would not be perfect for this price but i

Re: Mouse hotplug in X?

2020-11-01 Thread Tomasz Rola
, if I recall - it was a bit of time since I did it last). Same for keyboards. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home** ** directory. And then the C programmer be

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Tomasz Rola
to look it up. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home** ** directory. And th

Re: Hardening browser

2020-03-08 Thread Tomasz Rola
/2020/03/the-case-for-limiting-your-browser-extensions/ I guess extensions work even with js switched off... Etc etc -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's h

Re: Hardening browser

2020-03-08 Thread Tomasz Rola
ne for listing the music. I will never propose this kind of solution to normal people. :-) [...] > --zeurkous. > > -- > Friggin' Machines! Oh no, it is not the machines. It is their masters. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddh

Re: Hardening browser

2020-03-04 Thread Tomasz Rola
On Thu, Mar 05, 2020 at 04:18:00AM +0100, Tomasz Rola wrote: [...] > As a side note, I sometimes get a bit obsessed upon seeing a program > which "sits idle" but scratches my disk every n seconds (and/or loads > my cpu with empty loops). A daemon can be hunted down and na

Re: Hardening browser

2020-03-04 Thread Tomasz Rola
re (fortunately, only I remember it) and reiteraited to the lair. Any ideas? The host is going to be laptop with Mint Xfce (yes, I have strong obsession against Unity), but I might move it to obsd one day (thanks to chronic lack of time I myself still had not moved out of Linux yet). TIA :-) --

Re: Softdep and noatime

2019-11-30 Thread Tomasz Rola
tion. Ok, so not "everything", I only mount filesystems as noatime. :-) -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home** ** di

Re: Softdep and noatime

2019-11-30 Thread Tomasz Rola
assume this may make lifetime a bit longer and decided it is better to be on safe(r) side. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home** ** directory. And then the C p

Re: Tools for writers

2019-11-02 Thread Tomasz Rola
ay more about this. So maybe the learning experience will not be peachy rosy for you at first, but I would say positives prevail over time. HTH -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programm

Re: BACK TO BASICS

2019-10-11 Thread Tomasz Rola
t, because monopolies always serve the public better! > > Rhetorically this answer sounds actually right... But I suspect it is given with a really long tongue in a cheek. Or maybe not? -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature.

Re: Postscript printer recommendations

2019-07-14 Thread Tomasz Rola
On Sun, Jul 14, 2019 at 12:09:20AM -0600, Jonathan Drews wrote: > On Sun, Jul 14, 2019 at 06:03:05AM +0200, Tomasz Rola wrote: > > On Sat, Jul 13, 2019 at 08:06:07AM +0200, Jonathan Drews wrote: > > > Hi Folks: I need some recommendations on what brand of printe

Re: Postscript printer recommendations

2019-07-13 Thread Tomasz Rola
e? Just curious. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home** ** directory. And then the C programmer became enlightened... ** **

Re: Future of X.org?

2019-07-08 Thread Tomasz Rola
for > trouble like the 2012-2015 systemd wars that plagued Linux and which > OpenBSD avoided. This new daemon was exactly the reason I subscribed to this list (and few others, to sniff on alternatives), even though various events kept me from installing OBSD (or anything else) so far. -- Regards

Re: Future of X.org?

2019-07-08 Thread Tomasz Rola
juggling the mess around. As long as I can keep doing this, I will be happy (I guess). Thank you. Oh, and BTW I am huge fan of starting in text mode, so I turn off graphical logins whenever I can. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha

Re: OT: hardware war with manufacturers (espionage claims)

2019-07-06 Thread Tomasz Rola
On Sat, Jul 06, 2019 at 07:56:10PM +0200, Tomasz Rola wrote: [...] > machine, two of which killed more than six hundred people, before > someone turned the switch. As for now, there was a way to stop it. I have rechecked and the number of fatalities was 189 and 157, totaling 346 people.

Re: OT: hardware war with manufacturers (espionage claims)

2019-07-06 Thread Tomasz Rola
hand, we are living in a future, so maybe this is more on topic than one would expect. People here are involved in creating significant portion of our lifes. Not that I see any way to make use of it, I am too apathetic for this. -- Regards, Tomasz Rola -- ** A C programmer asked whether co

Re: Cheaper alternatives for APC UPS

2018-12-17 Thread Tomasz Rola
e two 12v batts (I think) and I would rather not want to lift any of them other than on full arm. The first second-hand will probably be inspected and turned into spare unit, because the current one will finish itself too, one day. But the batts can be replaced in both models. HTH -- Regards, Tom

Re: Common Lisp and OpenBSD

2018-11-25 Thread Tomasz Rola
Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home** ** directory. And then the C programmer became enlightened... ** **

Re: find the process that heavily uses a disc

2018-10-27 Thread Tomasz Rola
I would start with atop, it has a column for RDISK and WDISK. If you cannot atop, there is about 78% chance that killing a browser will solve the problem. HTH -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -

Re: ksh equivalent to shell-expand-line

2018-10-07 Thread Tomasz Rola
On Sun, Oct 07, 2018 at 11:17:37PM +0200, John Ankarström wrote: [...] > > To which message is this a response? It seems I haven't received > it, but I'd like to read it. Tomasz? I have sent you a message offlist, see if you have it. -- Regards, Tomasz Rola -- ** A C program

Re: ksh equivalent to shell-expand-line

2018-10-07 Thread Tomasz Rola
On Sun, Oct 07, 2018 at 07:47:46PM +0200, Klemens Nanni wrote: > On Sun, Oct 07, 2018 at 07:30:15PM +0200, Tomasz Rola wrote: > > Another trick may be executing the line with echo prepended - should > > do all expansions and write what will be executed. I think it is not > > g

Re: ksh equivalent to shell-expand-line

2018-10-07 Thread Tomasz Rola
On Sun, Oct 07, 2018 at 10:13:16AM +0200, Otto Moerbeek wrote: > On Sun, Oct 07, 2018 at 08:48:52AM +0200, Tomasz Rola wrote: > > > On Sun, Oct 07, 2018 at 12:03:31AM +0200, Klemens Nanni wrote: > > > On Sat, Oct 06, 2018 at 09:38:42PM +0200, John Ankarström wrote: &g

Re: ksh equivalent to shell-expand-line

2018-10-07 Thread Tomasz Rola
cho "$(echo a b)" > bash-4.4$ echo a b Just in case it matters to anybody: $ echo "$(echo a b)" a b $ bash --version GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu) Looks like something changed in between? -- Regards, Tomasz Rola -- ** A C programm

Re: Some highlights: Emacs 21.4 and 25.3

2018-10-02 Thread Tomasz Rola
ter. > > http://www.gnu.org/software/emacs/manual/html_node/emacs/Indent-Convenience.html#index-Electric-Indent-mode > > Put (electric-indent-mode -1) somewhere in your Emacs configuration > when using 24.4 or later. Ah so this is the name. Thank you! -- Regards, T

Re: Some highlights: Emacs 21.4 and 25.3

2018-10-02 Thread Tomasz Rola
t such detail until I played with elpa too much and had to manually unkcuf it. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home

Re: Remiss on my personal and server security practices, offering server usage to outsiders

2018-09-23 Thread Tomasz Rola
cripts will be not only doing what they were doing upto now, but also whatever additional code someone appended to them 5. ... something nasty HTH -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on

Re: wifi gui manager

2018-08-22 Thread Tomasz Rola
from sources (not ports, just source*tgz from the respective websites) and I usually find that config script provided is ok, so I had to regenerate one such file maybe two years ago (via autoconf). HTH -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature.

Re: Lumina-Terminal on OpenBSD

2018-07-10 Thread Tomasz Rola
earn more about terminals... FVWM makes great minimal environment, IMHO. If you need multitabbed terminal, I have had (so far) good experience with roxterm, and I also use uxterm a lot - it is a Unicode-enabling wrapper around xterm. -- Regards, Tomasz Rola -- ** A C programmer asked whether comput

Re: How to copy n bytes from stdin to stdout?

2018-06-25 Thread Tomasz Rola
On Sun, Jun 24, 2018 at 10:53:37PM -0400, Steve Litt wrote: > On Thu, 21 Jun 2018 00:56:04 +0200 > Tomasz Rola wrote: > [...] > > Craps. I have consulted OpenBSD's manpage for dd and there is no > > mention of iflag. So this will not work on OpenBSD. I will have to &g

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Thu, Jun 21, 2018 at 12:44:14AM +0200, Tomasz Rola wrote: [...] > => (591 60): cat nread > #!/bin/sh > > # nread n - read up to n bytes from stdio, put them on to stdout > > N=$1 > > dd bs=512 count=$((N / 512)) iflag=fullblock 2>/dev/null > dd bs=1 cou

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
768maxresident)k 0inputs+0outputs (0major+734minor)pagefaults 0swaps 1234567 -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Wed, Jun 20, 2018 at 08:20:16PM +0200, Maximilian Pichler wrote: > On Wed, Jun 20, 2018 at 7:17 PM, Tomasz Rola wrote: > > But seriously: man sh. > > Are you saying there is a shell built-in that does this? If so, which one? => (591 13):cat nread #!/bin/sh # nrea

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Wed, Jun 20, 2018 at 06:50:06PM +0200, Tomasz Rola wrote: [...] > > Maybe suggest to the teacher that she sticks to numbers divisible by > 512? That is what haxorz do. But seriously: man sh. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Wed, Jun 20, 2018 at 06:35:49PM +0200, Maximilian Pichler wrote: > On Wed, Jun 20, 2018 at 6:27 PM, Tomasz Rola wrote: > > On my Linux box: > > ? > > > cat HUGE | /usr/bin/time dd bs=1 count=1234944 | wc -c > > stdin might be something much faster

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
puts (0major+248minor)pagefaults 0swaps 1234944 -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home** ** directory. And then the