Re: [dev] C talk

2012-02-29 Thread Hank Donnay
The thing I would harp on is the mindset. If you keep in mind when moving into C from another language that C is portable asm and not an actual high-level language, you're closer to thinking about problems in the proper terms. On Thu, Mar 01, 2012 at 12:06:33AM +0100, Florian Limberger wrote: > Gr

Re: [dev] C talk

2012-02-29 Thread Jacob Todd
Woah, getting a little too technical. Tone it down. On Feb 29, 2012 9:35 PM, "Antonio Hernández Blas" wrote: > On Wed, Feb 29, 2012 at 8:23 PM, Jacob Todd wrote: > > Whatever you do, don't mention arithmetic. That stuff is hard. > > Seriously? what about logic? Dealing with true || false just bl

Re: [dev] C talk

2012-02-29 Thread Andrew Hills
As an exercise, have the students parse this: http://www.ioccc.org/2006/toledo2/toledo2.c --Andrew Hills

Re: [dev] C talk

2012-02-29 Thread Antonio Hernández Blas
On Wed, Feb 29, 2012 at 8:23 PM, Jacob Todd wrote: > Whatever you do, don't mention arithmetic. That stuff is hard. Seriously? what about logic? Dealing with true || false just blows your mind. -- - hba | Antonio Hernández Blas | Mexico, Mx. http://hba.dyndns.info | http://barrapunto.com/~hba/

Re: [dev] C talk

2012-02-29 Thread Jacob Todd
Whatever you do, don't mention arithmetic. That stuff is hard. On Feb 29, 2012 9:22 PM, "Andrew Hills" wrote: > On Wed, Feb 29, 2012 at 8:19 PM, Kurt H Maier > wrote: > > Sure. Also avoid mentioning int, char, float, preprocessing, compiling, > > and functions. > > Don't forget to avoid those da

Re: [dev] C talk

2012-02-29 Thread Andrew Hills
On Wed, Feb 29, 2012 at 8:19 PM, Kurt H Maier wrote: > Sure. Also avoid mentioning int, char, float, preprocessing, compiling, > and functions. Don't forget to avoid those dangerous operators. --Andrew Hills

Re: [dev] C talk

2012-02-29 Thread Kurt H Maier
On Wed, Feb 29, 2012 at 06:08:03PM -0500, Calvin Morrison wrote: > > pointers... avoid mentioning pointers at all costs :-) > Sure. Also avoid mentioning int, char, float, preprocessing, compiling, and functions.

Re: [dev] C talk

2012-02-29 Thread Calvin Morrison
On 29 February 2012 18:06, Florian Limberger wrote: > Greetings list, > > I think about giving a short talk about C and why to use it on a small > student event at my local university this weekend. > Does anybody have pointers to some stuff like that? > > Thanks, > > flo > pointers... avoid menti

[dev] C talk

2012-02-29 Thread Florian Limberger
Greetings list, I think about giving a short talk about C and why to use it on a small student event at my local university this weekend. Does anybody have pointers to some stuff like that? Thanks, flo

[dev] [stest] patch: Add option -v for inverted tests

2012-02-29 Thread Martin Kühl
Hi, here is a patch that adds a -v option to stest. The option inverts all other tests, similar to grep -v. Cheers, Martin stest-v.diff Description: Binary data

Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-29 Thread Anselm R Garbe
On 29 February 2012 02:09, Paul Onyschuk wrote: > Same goes for rc/Makefile and sam/Makefile (move -lm flag to the end). > > Also uClibc doesn't provide futimes, so we need to use futimesat() in > lib9/dirfwstat.c (patch is attached). Thanks, applied. Cheers, Anselm