Re: Coming from FreeBSD, lower networking performance

2018-07-13 Thread Jordan Geoghegan

Hello Sijmen,


On 07/13/18 16:20, Sijmen J. Mulder wrote:

Hi all,

After migrating a VPS from FreeBSD to OpenBSD I noticed reduced networking 
performance. Both incoming and outgoing traffic seems to be 2-3 times slower on 
average. By testing 100MB file transfers I've mostly eliminated the following 
factors:



The easiest way to show and test this difference is as such:

  1. Install either FreeBSD 11.2 or OpenBSD 6.3 on a machine or VM
  2. Install curl, then `time curl -O 
http://download.thinkbroadband.com/100MB.zip`

On both my VPS provider and my own PC with VirtualBox VMs the difference is 
about 3x for the above test. Similar results happen when scp-ing a file to the 
machine.


Please do some benchmarks using -current and send in the results. The 
OpenBSD devs don't have time to do benchmarking, and always appreciate 
proper benchmarking comparisons. For your networking tests, please don't 
do any tests that involve disk writes. Disk speed is where you may have 
issues, as most disk operations/drivers are not multithreaded and/or 
kernel biglocked still.  For example, when using identical hardware (an 
old core 2 duo Dell workstation), I can read from my Samsung 860 SSD at 
~325MB/s on CentOS. On OpenBSD, I get more like ~130MB/s.  if you want 
to test ssh/scp speed, make sure you write/output all ssh/scp data 
transfers to /dev/null. What sort of data pipe are you working with? I 
have found myself able to saturate a gigabit line fairly easily over ssh 
using modest hardware.


Please reply back with some proper benchmarks as I'm sure many of us 
would love to take a look.


Cheers,

Jordan



Re: ISDN Card /PRI Card support on OpenBSD

2018-07-13 Thread Marcus MERIGHI
tom.sm...@wirelessconnect.eu (Tom Smyth), 2018.07.14 (Sat) 00:20 (CEST):
> Hi Stuart thanks it is for a client who wants to take faxes multiple
> numbers in on a hardline ... and then convert to email and vice versa any
> suggestions you have would be appreciated...

not Stuart here ;-) but I did exactly that, then. See comms/hylafax!
We've had AT-speaking ISDN "MoDem"s. It was fiddly but worked once it
worked. 

I know of large "Office Printers" that can handle this job... Not saying
it's better that way. 

Marcus

> On Wed 11 Jul 2018, 22:34 Stuart Henderson,  wrote:
> 
> > On 2018-07-11, Tom Smyth  wrote:
> > > Hello all,
> > >
> > > this is an odd one but I have a client that needs to
> > > migrate some legacy services
> > > Is there support for ISDN type interfaces in OpenBSD ?
> > >
> > > man / apropos shows nothing
> > >
> > > or is there a package that would add ISDN support
> > > (although I didnt see a package containing isdn or ISDN
> > > in packages)
> > > is ISDN support available under a different name by any chance
> > >
> > > Thanks
> > >
> > > Tom Smyth
> > >
> > >
> >
> > ISDN covers various things, data/voice, and various types of line
> > (BRI = 2 64k data/voice "B" channels plus one signalling "D" channel ..
> > PRI = up to 30 B channels over an E1/T1 circuit).
> >
> > Would need more information about what the "legacy services" are before
> > it's possible to make any kind of suggestion (but apart from some data
> > services on BRI which might work with an async TA, it's not really going
> > to involve OpenBSD in directly terminating the ISDN).
> >
> >
> >
> >



Re: Coming from FreeBSD, lower networking performance

2018-07-13 Thread Marcus MERIGHI
Hello Sijmen, 

this is not something I remember seeing often on the list; to improve
your chances of replies beyond "use iperf to test" (there's tcpbench(1)
in base) you should at least provide a dmesg(8). 

Maybe even use sendbug(1) and have the report go to bugs@ [1]. 

Could you run -current [2] to see if the problem is still there?

[1] http://www.openbsd.org/report.html
[2] http://www.openbsd.org/faq/current.html

Marcus

i...@sjmulder.nl (Sijmen J. Mulder), 2018.07.14 (Sat) 01:20 (CEST):
> Hi all,
> 
> After migrating a VPS from FreeBSD to OpenBSD I noticed reduced
> networking performance. Both incoming and outgoing traffic seems to be
> 2-3 times slower on average. By testing 100MB file transfers I've
> mostly eliminated the following factors:
> 
>  - Protocol and ciphers (tested SCP, SFTP, FTP+TLS, HTTP, HTTPS)
>  - Client software
>  - Peer host
>  - VM provider/platform
> 
> The easiest way to show and test this difference is as such:
> 
>  1. Install either FreeBSD 11.2 or OpenBSD 6.3 on a machine or VM
>  2. Install curl, then `time curl -O 
> http://download.thinkbroadband.com/100MB.zip`
> 
> On both my VPS provider and my own PC with VirtualBox VMs the
> difference is about 3x for the above test. Similar results happen when
> scp-ing a file to the machine.
> 
> Any ideas on the cause of this? Any additional tests or tweaks I could
> try?
> 
> Sijmen
> 



Re: Employers, Jobs and OpenBSD

2018-07-13 Thread Peter J. Philipp
I was extremely lucky 2 jobs ago to have an employer who requires only 
that I be able to SSH, and be able to work remotely across continents.  
So I made OpenBSD my workstation.  The last job I had to use windows10 
and I cried... and eventually quit, I can't work with that, and I wish I 
had my other job again.


Regards,

-peter


On 07/14/18 04:05, Man Hobby wrote:

Hi,

What is the opinion of employers about OpenBSD?

There is reason for to learn use OpenBSD to find job?

If not, why?

If there is not reason for to learn use OpenBSD to find job, why use
OpenBSD?




Re: Employers, Jobs and OpenBSD

2018-07-13 Thread Jordan Geoghegan
I have managed to make a decent living for myself as a consultant who 
works primarily on OpenBSD. When I am hiring/evaluating applicants, 
having OpenBSD experience on their resume shows me that they don't fuck 
around and indicates that they are passionate about Unix and have a 
personal drive to better themselves and acquire knowledge. Folks who are 
familiar and comfortable with OpenBSD tend to be the types who are able 
to seek and acquire knowledge quickly and effectively while at the same 
time being able to think critically and objectively.


In situations/jobs that don't explicitly _require_ OpenBSD, I often find 
a way to make OpenBSD a part of the job, as most people hiring a 
consultant don't actually know what they need-- that's why they hire 
me!. If you are "learning" OpenBSD with the sole goal of getting a cushy 
job, you're gonna have a bad time. If you are learning OpenBSD for the 
sake of learning OpenBSD, and because you are passionate and want to 
understanding how a sane, logical operating system is put together, then 
you will be giving yourself a gift that will keep on giving.


The moral of the story is, the Dunning-Kreuger effect is extremely 
prevalent in the IT world, and most of these wannabe tough guy 
"enterprise" fags don't even know, what they don't know. The IT world is 
full of dipshits who don't understand what's important. Most every 
OpenBSD aficionado I have met has been humble and compassionate, as for 
the most part, they realize that they know just enough to know that they 
know nothing.


-- Just my 2 cents.

Cheers,

Jordan


On 07/13/18 19:05, Man Hobby wrote:

Hi,

What is the opinion of employers about OpenBSD?

There is reason for to learn use OpenBSD to find job?

If not, why?

If there is not reason for to learn use OpenBSD to find job, why use
OpenBSD?




Re: Coming from FreeBSD, lower networking performance

2018-07-13 Thread Henry Bonath
Have you looked into IPerf? https://iperf.fr/

This is what I typically use for testing network throughput.
Downloading a file is a bit more complex and involves things
like the source server/latency/etc. as well as disk performance.
(I know a 100MB file isnt much but still...)

IPerf has a lot of knobs to tweak, like number of threads, TCP window size,
etc.
You will need 2 hosts, one to act as server and one as client.
I recommend the latest stable version of iperf3, which is available as a
package:
$ doas pkg_add iperf3

Hope this helps.

On Fri, Jul 13, 2018 at 7:20 PM, Sijmen J. Mulder  wrote:

> Hi all,
>
> After migrating a VPS from FreeBSD to OpenBSD I noticed reduced networking
> performance. Both incoming and outgoing traffic seems to be 2-3 times
> slower on average. By testing 100MB file transfers I've mostly eliminated
> the following factors:
>
>  - Protocol and ciphers (tested SCP, SFTP, FTP+TLS, HTTP, HTTPS)
>  - Client software
>  - Peer host
>  - VM provider/platform
>
> The easiest way to show and test this difference is as such:
>
>  1. Install either FreeBSD 11.2 or OpenBSD 6.3 on a machine or VM
>  2. Install curl, then `time curl -O http://download.
> thinkbroadband.com/100MB.zip`
>
> On both my VPS provider and my own PC with VirtualBox VMs the difference
> is about 3x for the above test. Similar results happen when scp-ing a file
> to the machine.
>
> Any ideas on the cause of this? Any additional tests or tweaks I could try?
>
> Sijmen
>
>


Re: Coming from FreeBSD, lower networking performance

2018-07-13 Thread bit shifter
On Fri, Jul 13, 2018 at 5:20 PM, Sijmen J. Mulder  wrote:
> Any ideas on the cause of this? Any additional tests or tweaks I could try?

You could try running iperf to eliminate disk IO from the equation and
narrow down the potential sources of the performance deficit you're
seeing.



Re: Employers, Jobs and OpenBSD

2018-07-13 Thread Ax0n
On Fri, Jul 13, 2018 at 9:05 PM, Man Hobby  wrote:

> Hi,
>
> What is the opinion of employers about OpenBSD?
>

As a hiring manager, I see OpenBSD experience on a resume as a sign that
one likely has a firm grasp of UNIX. Several of my employers have used it
for mission critical work such as application cluster servers, firewalls,
load balancers, mail servers and front-end web servers. At one point, I had
well over 200 OpenBSD systems (several racks full of 1U servers) under my
care.


> There is reason for to learn use OpenBSD to find job?
>

No.


> If not, why?
>

Initially, in 1998 I just wanted a stable UNIX-like operating system for my
laptop which had been flaky under Linux and FreeBSD. OpenBSD delivered
that, and more. I bounced around to other BSDs and Linux distros on my
laptops and desktops between 2000 and 2010, but I came home to OpenBSD in
2010 and haven't looked back.

If there is not reason for to learn use OpenBSD to find job, why use
> OpenBSD?
>

Simply put, it's the OS I'm most comfortable with using on a daily basis.
My day job has my team using Windows, Amazon Linux, RHEL and OS X. I come
home and I sigh in relief at the simplicity, excellent documentation, and
stability of the software that this community has built.


Re: Employers, Jobs and OpenBSD

2018-07-13 Thread Jay Hart
Do you have a car?

Do you drive for a living?

If not, then why have car???

J

> Hi,
>
> What is the opinion of employers about OpenBSD?
>
> There is reason for to learn use OpenBSD to find job?
>
> If not, why?
>
> If there is not reason for to learn use OpenBSD to find job, why use
> OpenBSD?
>




Re: Employers, Jobs and OpenBSD

2018-07-13 Thread Daniel Jakots
On Fri, 13 Jul 2018 23:05:09 -0300, Man Hobby 
wrote:

> Hi,
> 
> What is the opinion of employers about OpenBSD?

Best Operating System.

> There is reason for to learn use OpenBSD to find job?
> 
> If not, why?

Learning OpenBSD will make you learn many many many things about Unix
systems.

> If there is not reason for to learn use OpenBSD to find job, why use
> OpenBSD?

Just a side note, it's funny you're so much focused on 'job' while you
have 'hobby' in your name.

HTH,
Daniel



Re: Employers, Jobs and OpenBSD

2018-07-13 Thread Christopher Turkel
I use OpenBSD as my desktop though since I develop Motif at work it hasn't
hurt my job skills.

On Fri, Jul 13, 2018 at 10:10 PM Man Hobby  wrote:

> Hi,
>
> What is the opinion of employers about OpenBSD?
>
> There is reason for to learn use OpenBSD to find job?
>
> If not, why?
>
> If there is not reason for to learn use OpenBSD to find job, why use
> OpenBSD?
>


Employers, Jobs and OpenBSD

2018-07-13 Thread Man Hobby
Hi,

What is the opinion of employers about OpenBSD?

There is reason for to learn use OpenBSD to find job?

If not, why?

If there is not reason for to learn use OpenBSD to find job, why use
OpenBSD?


Coming from FreeBSD, lower networking performance

2018-07-13 Thread Sijmen J. Mulder
Hi all,

After migrating a VPS from FreeBSD to OpenBSD I noticed reduced networking 
performance. Both incoming and outgoing traffic seems to be 2-3 times slower on 
average. By testing 100MB file transfers I've mostly eliminated the following 
factors:

 - Protocol and ciphers (tested SCP, SFTP, FTP+TLS, HTTP, HTTPS)
 - Client software
 - Peer host
 - VM provider/platform

The easiest way to show and test this difference is as such:

 1. Install either FreeBSD 11.2 or OpenBSD 6.3 on a machine or VM
 2. Install curl, then `time curl -O 
http://download.thinkbroadband.com/100MB.zip`

On both my VPS provider and my own PC with VirtualBox VMs the difference is 
about 3x for the above test. Similar results happen when scp-ing a file to the 
machine.

Any ideas on the cause of this? Any additional tests or tweaks I could try?

Sijmen



subscribe

2018-07-13 Thread Matthew Wishek
subscribe



signature.asc
Description: Message signed with OpenPGP


Re: ISDN Card /PRI Card support on OpenBSD

2018-07-13 Thread Tom Smyth
Hi Stuart thanks it is for a client who wants to take faxes multiple
numbers in on a hardline ... and then convert to email and vice versa any
suggestions you have would be appreciated...

On Wed 11 Jul 2018, 22:34 Stuart Henderson,  wrote:

> On 2018-07-11, Tom Smyth  wrote:
> > Hello all,
> >
> > this is an odd one but I have a client that needs to
> > migrate some legacy services
> > Is there support for ISDN type interfaces in OpenBSD ?
> >
> > man / apropos shows nothing
> >
> > or is there a package that would add ISDN support
> > (although I didnt see a package containing isdn or ISDN
> > in packages)
> > is ISDN support available under a different name by any chance
> >
> > Thanks
> >
> > Tom Smyth
> >
> >
>
> ISDN covers various things, data/voice, and various types of line
> (BRI = 2 64k data/voice "B" channels plus one signalling "D" channel ..
> PRI = up to 30 B channels over an E1/T1 circuit).
>
> Would need more information about what the "legacy services" are before
> it's possible to make any kind of suggestion (but apart from some data
> services on BRI which might work with an async TA, it's not really going
> to involve OpenBSD in directly terminating the ISDN).
>
>
>
>


Re: nvi and unicode

2018-07-13 Thread Anthony J. Bentley
Thuban writes:
> Default vi (nvi) in OpenBSD doesn't handle correctly most of UTF-8
> sings such as "é", "à" or so. One need to install nvi package to do so.
> Is it planned to replace the vi binary in the future?
> Is there any reason I can't think to keep this vi version?

nvi2's main deficiency is that it cannot handle invalid characters at
all: they interfere with display, searching, and writing. This is a big
change from base nvi which merely visually escapes non-ASCII characters.
In the past nvi2 has also had some pretty severe bugs including frequent
crashes and irreversible file truncation on :w which makes me wary of
bringing it in.

UTF-8 in OpenBSD's base vi is definitely a desired feature. The primary
blocker to implementing it is simply that nobody has done the work.



Re: Wireless on ThinkPad T40 - Connects but no data

2018-07-13 Thread Daniel Bolgheroni
On Fri, Jul 13, 2018 at 07:32:50AM +, Stuart Henderson wrote:
> On 2018-07-13, Daniel Bolgheroni  wrote:
> > I get very poor signal on a ThinkPad X220.  It works at max 3 meters away
> > from the router.  After that, almost 100% packet loss.  The AP doesn't
> > matter.  However, it is not OpenBSD-related:
> >
> > https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/X220-wifi-very-poor-performance/td-p/484303
> 
> No such problems on my laptops (X220, X201). iwn seems fairly
> solid in most cases so if seeing problems there I would check
> that the u.fl connectors are properly seated (if you want to try
> disconnecting/reconnecting to see if that helps you may want tweezers,
> they are a bit fiddly).

Already did this check, but no success. I don't know if it's a failed
module or failed antennas. For now I am using an urtwn(4).

Thank you.

-- 
db



Re: Wireless on ThinkPad T40 - Connects but no data

2018-07-13 Thread Richard Laysell
On Thu, 12 Jul 2018 16:37:27 +0100
Richard Laysell  wrote:



The solution in the end was to use a spare USB wireless dongle that I
had lying around.  This was detected as a run(4) device.

Everything now works perfectly

Thanks to all who responded.

Regards,

Richard



Re: nvi and unicode

2018-07-13 Thread Thuban
Thanks for enligthenment.

* Predrag Punosevac  le [13-07-2018 10:06:19 -0400]:
> On July 13 2018 Thuban wrote:
> > 
> > Default vi (nvi) in OpenBSD doesn't handle correctly most of UTF-8
> > sings such as "", "?? " or so. One need to install
> > nvi package to do so.
> > Is it planned to replace the vi binary in the future?
> > Is there any reason I can't think to keep this vi version?
> > 
> > Regards.
> > -- 
> > thuban
> 
> If you read
> 
> https://en.wikipedia.org/wiki/Nvi
> 
> you should have noticed the following paragraph
> 
> "BSD projects continue to use nvi version 1.79 due to licensing
> differences between Berkeley Database 1.85 and the later versions by
> Sleepycat Software."
> 
> So the answer is no. nvi in the base of OpenBSD is further cleaned from
> bugs beyond once upon a time common code. bcallah@ could shed more light
> on the work on nvi from the base. Obviously if you need UTF-8 support
> you have a choice of using package or two switching to DragonFly BSD
> which has nvi2 in its base.
> 
> Cheers,
> Predrag 
> 

-- 
thuban



Re: Kaby Lake software rendering on Intel NUC

2018-07-13 Thread Frank Groeneveld
After sending the email I noticed the first line in the Xorg log 
(machdep.aperture=1) and that also doesn't seem to fix the software rendering.

Frank



Kaby Lake software rendering on Intel NUC

2018-07-13 Thread Frank Groeneveld
Dear all,

I'm trying to get OpenBSD 6.3 with Gnome working on an Intel NUC based on Intel 
Kaby Lake. I found that the amd64 webpage at https://www.openbsd.org/amd64.html 
states there is support for Intel Kaby Lake. Does that mean it should not 
fallback to software rendering? Because on this machine it does fallback to 
software rendering. Attached the dmesg and Xorg logs.

Thanks,

Frank
[   470.923] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
	(Operation not permitted)
	Check that you have set 'machdep.allowaperture=1'
	in /etc/sysctl.conf and reboot your machine
	refer to xf86(4) for details
[   470.923] 	linear framebuffer access unavailable
[   470.935] (--) Using wscons driver on /dev/ttyC4
[   470.939] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[   470.939] X Protocol Version 11, Revision 0
[   470.939] Build Operating System: OpenBSD 6.3 amd64 
[   470.939] Current Operating System: OpenBSD elliot.ivaldi.nl 6.3 GENERIC.MP#4 amd64
[   470.939] Build Date: 24 March 2018  02:38:24PM
[   470.940]  
[   470.940] Current version of pixman: 0.34.0
[   470.940] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   470.940] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   470.940] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 13 16:18:22 2018
[   470.940] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[   470.940] (==) No Layout section.  Using the first Screen section.
[   470.940] (==) No screen section available. Using defaults.
[   470.940] (**) |-->Screen "Default Screen Section" (0)
[   470.940] (**) |   |-->Monitor ""
[   470.940] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   470.940] (==) Automatically adding devices
[   470.940] (==) Automatically enabling devices
[   470.940] (==) Not automatically adding GPU devices
[   470.940] (==) Max clients allowed: 256, resource mask: 0x1f
[   470.940] (==) FontPath set to:
	/usr/X11R6/lib/X11/fonts/misc/,
	/usr/X11R6/lib/X11/fonts/TTF/,
	/usr/X11R6/lib/X11/fonts/OTF/,
	/usr/X11R6/lib/X11/fonts/Type1/,
	/usr/X11R6/lib/X11/fonts/100dpi/,
	/usr/X11R6/lib/X11/fonts/75dpi/
[   470.940] (==) ModulePath set to "/usr/X11R6/lib/modules"
[   470.940] (II) The server relies on wscons to provide the list of input devices.
	If no devices become available, reconfigure wscons or disable AutoAddDevices.
[   470.940] (II) Loader magic: 0xa5d7da42000
[   470.940] (II) Module ABI versions:
[   470.940] 	X.Org ANSI C Emulation: 0.4
[   470.940] 	X.Org Video Driver: 23.0
[   470.940] 	X.Org XInput driver : 24.1
[   470.940] 	X.Org Server Extension : 10.0
[   470.940] (--) PCI:*(0:0:2:0) 8086:5927:8086:2068 rev 6, Mem @ 0xdb00/16777216, 0x9000/268435456, I/O @ 0xf000/64
[   470.940] (II) LoadModule: "glx"
[   470.941] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[   470.942] (II) Module glx: vendor="X.Org Foundation"
[   470.942] 	compiled for 1.19.6, module version = 1.0.0
[   470.942] 	ABI class: X.Org Server Extension, version 10.0
[   470.942] (==) Matched wsfb as autoconfigured driver 0
[   470.942] (==) Assigned the driver to the xf86ConfigLayout
[   470.942] (II) LoadModule: "wsfb"
[   470.942] (II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.so
[   470.942] (II) Module wsfb: vendor="X.Org Foundation"
[   470.942] 	compiled for 1.19.6, module version = 0.4.1
[   470.942] 	ABI class: X.Org Video Driver, version 23.0
[   470.942] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[   470.942] (WW) Falling back to old probe method for wsfb
[   470.943] (II) wsfb(0): using default device
[   470.943] (II) wsfb(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   470.943] (==) wsfb(0): Depth 24, (--) framebuffer bpp 32
[   470.943] (==) wsfb(0): RGB weight 888
[   470.943] (==) wsfb(0): Default visual is TrueColor
[   470.943] (==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
[   470.943] (II) wsfb(0): Vidmem: 9000k
[   470.943] (==) wsfb(0): DPI set to (96, 96)
[   470.943] (**) wsfb(0): Using "Shadow Framebuffer"
[   470.943] (II) Loading sub module "shadow"
[   470.943] (II) LoadModule: "shadow"
[   470.943] (II) Loading /usr/X11R6/lib/modules/libshadow.so
[   470.943] (II) Module shadow: vendor="X.Org Foundation"
[   470.943] 	compiled for 1.19.6, module version = 1.1.0
[   470.943] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   470.943] (II) Loading sub module "fb"
[   470.943] (II) LoadModule: "fb"
[   470.944] (II) Loading /usr/X11R6/lib/modules/libfb.so
[   470.944] (II) Module fb: vendor="X.Org Foundation"
[   470.944] 	compiled for 1.19.6, module version = 1.0.0
[   470.944] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   470.944] (--) Depth 24 pixmap format is 32 bpp
[ 

Re: Julia on OpenBSD?

2018-07-13 Thread Predrag Punosevac
On July 13 2018 Rudolf Sykora wrote:

> Hello,
>
> has anyone any experience with running Julia (language)
> on OpenBSD? How difficult was it to set it up? (It isn't
> in the Ports.)
>
>

As somebody already pointed out bcallah@ was looking more into it but
last time I looked (1-2 years ago) it would be a major undertaking both
by upstream and the porter. 

Even on RHEL which is the most widely used OS for scientific computing
Julia has to be compiled from the source.

What are you trying to do with Julia? If you are just trying to do
science it is probably a bad choice. Jeff Bezanson came here to Carnegie
Mellon University to give a talk 2 years ago and I was not too
impressed (arguably I am more interested in science than in computer
language design). They had immense momentum 5-6 years ago but I think
the enthusiasm is dissipating at least among scientist.

Cheers,
Predrag



Re: nvi and unicode

2018-07-13 Thread Predrag Punosevac
On July 13 2018 Thuban wrote:
> 
> Default vi (nvi) in OpenBSD doesn't handle correctly most of UTF-8
> sings such as "", "?? " or so. One need to install
> nvi package to do so.
> Is it planned to replace the vi binary in the future?
> Is there any reason I can't think to keep this vi version?
> 
> Regards.
> -- 
> thuban

If you read

https://en.wikipedia.org/wiki/Nvi

you should have noticed the following paragraph

"BSD projects continue to use nvi version 1.79 due to licensing
differences between Berkeley Database 1.85 and the later versions by
Sleepycat Software."

So the answer is no. nvi in the base of OpenBSD is further cleaned from
bugs beyond once upon a time common code. bcallah@ could shed more light
on the work on nvi from the base. Obviously if you need UTF-8 support
you have a choice of using package or two switching to DragonFly BSD
which has nvi2 in its base.

Cheers,
Predrag 



Re: disable fvwm screensaver?

2018-07-13 Thread Craig Skinner
Hi Jordan,

On Thu, 12 Jul 2018 23:56:31 -0700 Jordan Geoghegan wrote:
> 'xset s off && xset -dpms' seemed to do the trick. I popped it into
> my ~/.profile and am now off to the races!


Try removing xidle's timeout from your ~/.xinitrc file
or /etc/X11/xdm/Xsession


Or in your ~/.Xresources file, configure it with these parameters:

XIdle.timeout
XIdle.nice
XLock.mode
XLock.usefirst
XLock.lockdelay
XLock.nice


See xidle(1) and xlock(1)



Tweaks can also be done in your ~/.fvwmrc file
(Sample: /usr/X11R6/lib/X11/fvwm/.fvwmrc)



Cheers,
-- 
Craig Skinner | http://linkd.in/yGqkv7



ospfd feature request

2018-07-13 Thread Kapetanakis Giannis
Thanks for the latest changes on ospfd/ospf6d especially for 'depend on' for v6

While you're there can you please also see if you can add the following change.
I've tried to make a diff but failed.

bgpd provides fib-priority to set the routing priority which is useful.
Would you please add it also for ospfd/ospf6d instead of the hardcoded RTP_OSPF 
32?

thanks in advance

G



nvi and unicode

2018-07-13 Thread Thuban
Default vi (nvi) in OpenBSD doesn't handle correctly most of UTF-8
sings such as "é", "à" or so. One need to install nvi package to do so.
Is it planned to replace the vi binary in the future?
Is there any reason I can't think to keep this vi version?

Regards.
-- 
thuban



Re: Julia on OpenBSD?

2018-07-13 Thread Janne Johansson
Den fre 13 juli 2018 kl 10:46 skrev Rudolf Sykora :

> Hello,
>
> has anyone any experience with running Julia (language)
> on OpenBSD? How difficult was it to set it up? (It isn't
> in the Ports.)
>
>
http://daemonforums.org/showthread.php?p=63134
the internet seems to point to bcallah@


-- 
May the most significant bit of your life be positive.


Julia on OpenBSD?

2018-07-13 Thread Rudolf Sykora
Hello,

has anyone any experience with running Julia (language)
on OpenBSD? How difficult was it to set it up? (It isn't
in the Ports.)

Thanks!
Ruda



Re: Wireless on ThinkPad T40 - Connects but no data

2018-07-13 Thread Stuart Henderson
On 2018-07-13, Daniel Bolgheroni  wrote:
> I get very poor signal on a ThinkPad X220.  It works at max 3 meters away
> from the router.  After that, almost 100% packet loss.  The AP doesn't
> matter.  However, it is not OpenBSD-related:
>
> https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/X220-wifi-very-poor-performance/td-p/484303

No such problems on my laptops (X220, X201). iwn seems fairly
solid in most cases so if seeing problems there I would check
that the u.fl connectors are properly seated (if you want to try
disconnecting/reconnecting to see if that helps you may want tweezers,
they are a bit fiddly).

The OP was about T40 though, which is much older. Any problems there
(excepting hardware) are less likely to be related to problems seen
on newer machines.




Re: disable fvwm screensaver?

2018-07-13 Thread Jordan Geoghegan

On 07/12/18 18:34, Edgar Pettijohn III wrote:


man xset

I haven't used it to disable the screen saver, so I'm not sure the 
exact command.  But you need something like:


xset s off


Hey Edgar,

 Thanks for help!

'xset s off && xset -dpms' seemed to do the trick. I popped it into my 
~/.profile and am now off to the races!


Cheers,

Jordan