Re: Updating plus.html

2011-11-02 Thread Nicolas P. M. Legrand
Hey,

On Wed, Nov 02, 2011 at 06:57:22AM -0500, Amit Kulkarni wrote:
 On Wed, Nov 2, 2011 at 6:42 AM, Brett brett.ma...@gmx.com wrote:
  Hi,
  If no-one else is updating this page, I will do it. Can someone tell me
  what date the OPENBSD_5_0 tag was added so I know when to start from? I
  couldn't figure out if this was possible from cvs. My plan is to go
  through the source changes and plunder from the commit messages.
  Brett.
 
 
 
 Brett,
 I offered to do it. But I am contributing to KDE porting and that's
 taking a lot of time, so if you could do the plus.html, just great! I
 didn't realize that diffing plus.html would take so much of my time.
 That's real work.
 
 I would say, you follow the github.com/openbsd repo, and do a git log.
 
 OpenBSD 5.0 tag was added on August 8th per the latest changelog
 ftp://ftp.openbsd.org/pub/OpenBSD/Changelogs/ChangeLog
 
 I have a diff for updating plus50.html but it needs further
 corrections, right now it takes to 06/20/2011 from 05/15/2011. I will
 do the diff tomorrow and then I hope you can do the future diffs?
 
 You would need to download the www repo and cvs diff -u against plus.html
 
 thanks in advance


I've done most of the latest updates with Janne's corrections. It's
true I have a lot of diffulties to find time to do it lately, sorry
:(, so maybe it'll be better if someone else take it now.

Anyway I'm a bit surprised some other people worked on it, I've worked
with Janne and some stuff are almost but not yet published (to week
#26, the beginning of c2k11 for 5.0, and week #33 and #34 of
current). I've done some work I could submit soon to Janne with weeks
#35, #36 and #37. Let me know if it's needed.

Doing a week of plus.html is about 3 or 4 hours of work for me, I've
learn a lot of stuff by doing it and that's cool. Unfortunately, new
job and weird life have distracted me a lot lately. I'd be happy to
give any insight I can on the subject :).

Cheers,

-- 
nicolas



Re: OpenBSD 4.9 pre-orders

2011-03-16 Thread Nicolas P. M. Legrand
On Wed, Mar 16, 2011 at 05:06:30PM +1100, Rod Whitworth wrote:
 On Tue, 15 Mar 2011 15:10:02 -0600, Theo de Raadt wrote:
 
 I've turned on OpenBSD 4.9 pre-orders.  Support us by buying something
 please.   These sales are a part of keeping the project going.  
 
 As for clothing... there's going to be a black hoodie this time.
 
 Of course there is an OpenBSD 4.9 song to go with the new artwork.
 That is at:
  http://www.openbsd.org/lyrics.html
 
 Enjoy!
 
 
 
 Hey guys,
 usually when Theo puts out the pre-order message there is a flood of
 messages about who has ordered what and, although it's no genuine race,
 there are many who kinda compete to be first.
 
 I'm #13 so twelve guys beat me and they aren't even boasting. WTF?
 
 Only two related messages on undeadly.org
 
 C'mon don't you like your new CDs and swag?
 
 Order up!

I hate so much people posting photos of the latest OpenBSD CDs sets
while I'm not having it yet that I ordered them as soon as I read the
announcement.

Maybe I beat you, I didn't boast, because I didn't really know what to
say appart from AWESOME!!! or THANK YOU SO MUCH!!! and since
capitalize letters and multiple exclamation points are kinda silly I
just gave money and remained silent :).

 The song's pretty good too and it's free to download.

Right!

cheers,

-- 
n



Re: Tracking What it's changing in current

2011-02-16 Thread Nicolas P. M. Legrand
On Wed, Feb 16, 2011 at 12:01:22PM -0500, Luis Useche wrote:
 One thing I would really like to see is the diffs of every commit. This is
 available for DragonflyBSD for instance. Is there a way to find this on
 OBSD?

CVS and git are very different I don't think you can easily have this
feature with CVS (if it exists I'd be glad to know it :)). Personally
I follow the commit changes on marc.info
http://marc.info/?l=openbsd-cvsr=1w=2 and use CVS tools (cvs
itself or Emacs version control) with a local source tree when I want
to see the diffs.



Re: Tracking What it's changing in current

2011-02-16 Thread Nicolas P. M. Legrand
On Wed, Feb 16, 2011 at 11:16:01AM -0800, patrick keshishian wrote:
 On Wed, Feb 16, 2011 at 10:29 AM, Nicolas P. M. Legrand
 nlegr...@ethelred.fr wrote:
  On Wed, Feb 16, 2011 at 12:01:22PM -0500, Luis Useche wrote:
  One thing I would really like to see is the diffs of every commit. This is
  available for DragonflyBSD for instance. Is there a way to find this on
  OBSD?
 
  CVS and git are very different I don't think you can easily have this
  feature with CVS (if it exists I'd be glad to know it :)). Personally
 
 Sure it can. see CVSROOT/loginfo. You define a filter and need a
 filter-script that will take files with changed revisions, do the 'cvs
 diff' and mail out the outputs.

ha thanks! I'll have a look.



Re: Advice on learning C as first language

2010-11-25 Thread Nicolas P. M. Legrand
On Thu, Nov 25, 2010 at 09:26:52AM -0500, Kenneth Gober wrote:
 On Thu, Nov 25, 2010 at 7:20 AM, Christiano F. Haesbaert 
 haesba...@haesbaert.org wrote:
 
  On 24 November 2010 13:55, Kenneth Gober kgo...@gmail.com wrote:
   since you've indicated that you are interested in a 'first' language, I
  must
   assume you plan to learn other languages later.  as a result, I strongly
   recommend that you start with the book Structure and Interpretation of
   Computer Programs (available online at
   http://mitpress.mit.edu/sicp/full-text/book/book.html, or you can buy a
   paper copy if you prefer, for example from Amazon:
  
  http://www.amazon.com/Structure-Interpretation-Computer-Programs-Engineering/dp/0262011530
  ).
this book will give you an excellent foundation on programming in
  general
   (and the Scheme programming language in specific).
  
 
  Are you insane ?
  Recommending  SICP to a guy that just started programming and CS in general
  ?
  Have in mind that not everyone is a MIT grad.
 
  Learning lisp/scheme as ones first language is sweet, but it just
  doesn't happen in 2010, that makes me said, but it's the truth. Before
  flaming me, I'm quite fond of scheme and elisp.
 
 
 SICP isn't used to teach MIT grads, it's used as the entry-level course to
 teach MIT undergrads how to program (or so I understand, I never went to
 MIT).  if a college undergrad can use it to learn programming while also
 taking 5-6 other classes at the same time, then I'm confident the OP (who I
 assume isn't trying to learn 4-5 other things at the same time) can manage
 the task as well.

actualy I'm not sure it's used anymore

http://www.wisdomandwonder.com/link/2110/why-mit-switched-from-scheme-to-python

It's on the list of books I want to read anyway :)



Re: Advice on learning C as first language

2010-11-24 Thread Nicolas P. M. Legrand
On Wed, Nov 24, 2010 at 03:49:27PM +, Jona Joachim wrote:
 On 2010-11-24, Jan Stary h...@stare.cz wrote:
  On Nov 24 06:55:20, James Hozier wrote:
  I read online that the first programming language one learns could
  be crucial to the person's future programming skills and habits
  that become ported to other programming languages they learn later
 
  Start with LISP, I'm tellin' ya.
 
 Come on, LISP is from teh past, learn Haskell already.

http://www.lisperati.com/landoflisp/panel57.html
 
from http://landoflisp.com/

:)



Re: OpenCVS in Base?

2010-11-20 Thread Nicolas P. M. Legrand
On Sat, Nov 20, 2010 at 01:05:21AM -0700, Clint Pachl wrote:
 I am starting a new project that needs version control and I was
 thinking about using OpenCVS. However, I'm not sure if it is in the
 base (I'm running -current). My old 4.4 firewall has
 /usr/bin/opencvs. Is /usr/bin/cvs actually opencvs?

No /usr/bin/cvs is GNU CVS:

/usr/bin/cvs -v

 I noticed http://www.openbsd.org/plus48.html states Removed OpenCVS
 from the build.

It means the sources are still there, but aren't build with the whole
system. You have to build it yourself with something like:

cd /usr/src/bin/cvs
make
sudo make install

Here is the commit mentionning the removal from the build:

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/Makefile#rev1.114

Since then the commits on OpenCVS and OpenRCS have been pretty active
again, but not yet putted back in the build:

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cvs/

 And OpenCVS.org directs me to
 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cvs/.
 
 What's the status?
 

The default CVS shipped with OpenBSD it's still GNU CVS. So I wouldn't
use OpenCVS unless I wanted to test it and/or improve it.



Re: OpenBSD PPC on iBook G3 -- Wireless alternatives?

2010-11-07 Thread Nicolas P. M. Legrand
Hello,

On Sat, Nov 06, 2010 at 08:30:54PM -0600, David Astua wrote:
 I've just got an old iBook G3, and want to run OpenBSD on it, so
 there's some recommendation about which USB wireless adapter would
 work better on this PPC laptop?
 The idea is to to learn PPC assembly and do some C code on it, there's
 no need for X or sound, a minimal install and some developer tools
 would be enough for me.
 
 So all I need on this box is OpenBSD/Vi/Wifi/OpenBSD sticker to cover
 the Apple Logo.

I have a D-Link DWA-110 I have plugged in various G3/G4 PPC systems
that works very well.

rum0 at uhub1 port 4 Ralink 802.11 bg WLAN rev 2.00/0.01 addr 2
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address ba:ba:ba:ba:ba:ba

cheers,

-- 
nicolas



Re: Ordering CDs in Europe becoming increasingly difficult

2010-07-08 Thread Nicolas P. M. Legrand
I've bought from the computer shop directly on three occasions, I get
the CDs in the right time and I didn't felt the shipping was that
expensive. In fact, I think it was quite the same.

I'm working near Eyrolles, and I didn't saw OpenBSD sets their for a
long time. Not far from Eyrolles, the excellent book shop le monde en
tique http://www.lmet.fr/ sell them, but they receive them some
times after official release day.

Personnaly I'll keep buying from the Computer Shop. They are nice and
efficient.

cheers,

-- 
nicolas

On Thu, Jul 08, 2010 at 01:31:26PM +0200, Andri Braselmann wrote:
 On Thu, Jul 08, 2010 at 12:21:54PM +0100, John Wright wrote:
 
   Ordering the CD sets just isn't as much fun anymore as it used to be.
  
  I feel the same way. 
 
 rrright. 
 
 Andri 



diff for getenv.3

2010-07-03 Thread Nicolas P. M. Legrand
to reflect changes from this commit :

http://marc.info/?l=openbsd-cvsm=127778468909371w=2

Index: getenv.3
===
RCS file: /cvs/openbsd/src/lib/libc/stdlib/getenv.3,v
retrieving revision 1.14
diff -u -r1.14 getenv.3
--- getenv.310 Mar 2010 20:46:16 -  1.14
+++ getenv.33 Jul 2010 14:33:53 -
@@ -130,6 +130,12 @@
 character.
 .Pp
 The
+.Fn unsetenv
+function was passed an empty
+.Ar name
+or a NULL pointer.
+.Pp
+The
 .Fn putenv
 function was passed a
 .Ar string



Time te restart plus.html, the daily changelog

2010-06-03 Thread Nicolas P. M. Legrand
Hello,

after a talk initiated by Rod Whitworth on www@ it seems some people
are willing to restart the daily changelog, after it stopped in last
november. We could set up a team to submit plus.html diffs. If you are
interested please email me.

cheers,

-- 
nicolas



typos in upgrade47.html

2010-05-09 Thread Nicolas P. M. Legrand
Hello,

received the CDs on friday, a very nice moment as always, thanks
everyone :-).

I saw minor typos in upgrade47.html while upgrading, useless prompt,
useless sudo and use of obsolete -F pkg_add flag:

Index: upgrade47.html
===
RCS file: /cvs/openbsd/www/faq/upgrade47.html,v
retrieving revision 1.8
diff -u -r1.8 upgrade47.html
--- upgrade47.html  6 May 2010 01:36:59 -   1.8
+++ upgrade47.html  9 May 2010 14:40:26 -
@@ -553,7 +553,7 @@
 your $RELEASEPATH, run it with:
 
 blockquotepre
-# bsudo sysmerge -s $RELEASEPATH/etc47.tgz -x $RELEASEPATH/xetc47.tgz/b
+bsysmerge -s $RELEASEPATH/etc47.tgz -x $RELEASEPATH/xetc47.tgz/b
 /pre/blockquote
 
 Sysmerge(8) will show you a unified
@@ -654,7 +654,7 @@
 and use something like
  
 blockquotepre
-#b pkg_add -ui -F update -F updatedepends/b
+bpkg_add -ui -D update -D updatedepends/b
 /pre/blockquote
 
 where the tt-u/tt indicates update mode, and tt-i/tt specifies



Re: typos in upgrade47.html

2010-05-09 Thread Nicolas P. M. Legrand
On Sun, May 09, 2010 at 08:17:29PM +0100, Jason McIntyre wrote:
 On Sun, May 09, 2010 at 04:49:26PM +0200, Nicolas P. M. Legrand wrote:
  Hello,
  
  received the CDs on friday, a very nice moment as always, thanks
  everyone :-).
  
  I saw minor typos in upgrade47.html while upgrading, useless prompt,
  useless sudo and use of obsolete -F pkg_add flag:
  
  Index: upgrade47.html
  ===
  RCS file: /cvs/openbsd/www/faq/upgrade47.html,v
  retrieving revision 1.8
  diff -u -r1.8 upgrade47.html
  --- upgrade47.html  6 May 2010 01:36:59 -   1.8
  +++ upgrade47.html  9 May 2010 14:40:26 -
  @@ -553,7 +553,7 @@
   your $RELEASEPATH, run it with:
   
   blockquotepre
  -# bsudo sysmerge -s $RELEASEPATH/etc47.tgz -x $RELEASEPATH/xetc47.tgz/b
  +bsysmerge -s $RELEASEPATH/etc47.tgz -x $RELEASEPATH/xetc47.tgz/b
   /pre/blockquote
   
 
 this should either be # or $ sudo, i think, which is how we normally
 refer to prompts. i'm not sure whether that's a consistent faq thing too
 though.

Sorry i didn't mention it has already been discussed for upgrade46.html:

http://marc.info/?l=openbsd-miscm=125696072511365w=2

Nick then said:

Slapping a sudo in front
of everything they contribute to the FAQ is some people's style,
but not mine.  And yes, the # in front is really annoying, since
much of upgrade46.html (including that line) is intended to be
copy/pasted.  This is not true of most of the rest of the FAQ, where
I generally DON'T want people to copy/paste blindly and ignorantly.

reading upgrade47.html for the first time, i thought it must be a sort
of copy/paste error and that I should mention it again. By the way
maybe there is a better way to mention those kind of problem than
posting on misc?

regards,

-- 
nicolas