Re: apmd: add on demand adjustement mode

2015-03-03 Thread Peter Hessler
That code was fixed in -current, and will be in 5.7. Now, the kernel does the measurements and scaling. On 2015 Mar 02 (Mon) at 15:04:09 + (+), Jérôme Frgacic wrote: :Hello, : :At present, there is no middle between cool running and automatic adjustement mode. :I would suggest to add

redundant code in reboot/halt and init?

2015-03-03 Thread Simon Mages
Hi there, i read the code of init.c and reboot.c and was asking myself why reboot is not just sending SIGINT to init? The whole reboot code seems to be redundant, or am i missing something here? Why not just determine if im running as halt or reboot and send the correct signal to init. Let init

Testing LibreSSL Windows binaries

2015-03-03 Thread Brent Cook
Hi, Based on difficulty people have had building LibreSSL on Windows and desire for integration with Visual Studio, I have made a test package with LibreSSL Windows binaries available here: https://github.com/libressl-portable/portable/releases/tag/untagged-1124b2dee438a382b881 These should

qsort.3 big O notation

2015-03-03 Thread frantisek holop
i was looking at the qsort(3) man page, and saw O N lg N, etc. first i thought, maybe there should be some fancy utf8 math parentheses around, but looking at the source, no, it's plain ascii. a quick search in other man pages reveals an arguably more readable style:

Re: qsort.3 big O notation

2015-03-03 Thread Ted Unangst
frantisek holop wrote: i was looking at the qsort(3) man page, and saw O N lg N, etc. first i thought, maybe there should be some fancy utf8 math parentheses around, but looking at the source, no, it's plain ascii. a quick search in other man pages reveals an arguably more readable

Re: qsort.3 big O notation

2015-03-03 Thread Joerg Sonnenberger
On Tue, Mar 03, 2015 at 05:02:39PM +0100, frantisek holop wrote: i leave the battle about lg vs log to others, but i prefer 'log' as there is a man page for that and there is none for 'lg'... If anything, it should be log because that is the name of the mathematical function. libm is

Re: qsort.3 big O notation

2015-03-03 Thread frantisek holop
Ted Unangst, 03 Mar 2015 11:13: frantisek holop wrote: i was looking at the qsort(3) man page, and saw O N lg N, etc. first i thought, maybe there should be some fancy utf8 math parentheses around, but looking at the source, no, it's plain ascii. a quick search in other man

Re: Testing LibreSSL Windows binaries

2015-03-03 Thread Brent Cook
On Mar 3, 2015, at 9:22 AM, Brent Cook bust...@gmail.com wrote: Hi, Based on difficulty people have had building LibreSSL on Windows and desire for integration with Visual Studio, I have made a test package with LibreSSL Windows binaries available here:

Re: qsort.3 big O notation

2015-03-03 Thread frantisek holop
Joerg Sonnenberger, 03 Mar 2015 17:28: On Tue, Mar 03, 2015 at 05:02:39PM +0100, frantisek holop wrote: i leave the battle about lg vs log to others, but i prefer 'log' as there is a man page for that and there is none for 'lg'... If anything, it should be log because that is the name of

Re: qsort.3 big O notation

2015-03-03 Thread Tobias Stöckmann
On March 3, 2015 at 5:48 PM frantisek holop min...@obiit.org wrote: If anything, it should be log because that is the name of the mathematical function. libm is completely irrelevant in this context. 'lg' is also a valid name When talking about big O notation, you want to trim as many

Re: qsort.3 big O notation

2015-03-03 Thread Liviu Daia
On 3 March 2015, frantisek holop min...@obiit.org wrote: Joerg Sonnenberger, 03 Mar 2015 17:28: On Tue, Mar 03, 2015 at 05:02:39PM +0100, frantisek holop wrote: i leave the battle about lg vs log to others, but i prefer 'log' as there is a man page for that and there is none for

Re: qsort.3 big O notation

2015-03-03 Thread Thomas Schmidt
In the most recent algorithms lecture I heard we used log for base 2, ln for base e, and lg for base 10. But asymptotically the base doesn't matter and the notation coventions differ. So I'd also go for consistency with other documentation. On March 3, 2015 5:48:20 PM CET, frantisek holop

Re: qsort.3 big O notation

2015-03-03 Thread frantisek holop
Liviu Daia, 03 Mar 2015 19:26: 'lg' is also a valid name (altough i admit i didn't know, i was used to log2) https://en.wikipedia.org/wiki/Logarithm#Particular_bases as Tedu pointed out lg = log2 and lg != log Actually, that isn't what Tedu said, and it isn't the generally

Re: Questions about 802.11n support

2015-03-03 Thread Mark Kettenis
From: T. Jameson Little beatgam...@gmail.com Date: Tue, 3 Mar 2015 23:44:44 -0700 From what I've been able to gather, there is no 802.11n support in OpenBSD because more work is needed in ieee80211(9). I would greatly appreciate it if someone could answer a few questions for me: * Is

Questions about 802.11n support

2015-03-03 Thread T. Jameson Little
From what I've been able to gather, there is no 802.11n support in OpenBSD because more work is needed in ieee80211(9). I would greatly appreciate it if someone could answer a few questions for me: * Is anyone working on this? * If so, is there any way that I could help? * If not, who would

errata for X server infoleak

2015-03-03 Thread Ted Unangst
Patches are now available to fix an information leak in the XkbSetGeometry request of X servers. For more information, see the X.org advisory. We experienced a slight delay getting patches out, as you can see from the date in the patch. This is a comparatively minor issue so we didn't rush things

LibreSSL 2.1.4 released

2015-03-03 Thread Brent Cook
We have released LibreSSL 2.1.4, which will be arriving in the LibreSSL directory of your local OpenBSD mirror soon. This release adds a number of new security features, makes building privilege-separated programs simpler, and improves the libtls API. This release also includes a binary package

Re: pax/tar/cpio: use stdout if TAPE is set to -

2015-03-03 Thread Philip Guenther
On Sun, Mar 1, 2015 at 12:41 AM, Dmitrij D. Czarkoff czark...@gmail.com wrote: The diff below makes tar treat - in TAPE environment variable as stdout, making it consistant with -f argument. Could be a sane default for those who have no tape device. Frankly, I think someone using TAPE=- would

Async upd(4)

2015-03-03 Thread David Higgs
With much help from mpi@, I have made a first big step towards improving upd(4). I’m not sure when tree lock ends, but I’m still happy to accept feedback if right now isn’t the time to commit. There’s plenty more to do, but I’d like to get this ironed out before moving on. New behavior with