[SLUG] HTML 5 talk tonight

2011-02-25 Thread Ken Foskey

As always worth the trip to listen to Silvia. Great talk.

Best hint of night is caniuse.com. Talks about compatabilty


Ken Foskey
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Boot issues with Ubuntu

2011-02-25 Thread John Nielsen
Hi All
Good to see so many faces at the meeting tonight I am running Karmic Koala
and I went to boot up tonight after the meeting and it
s coming up to the GNU GRUB Menu with a choice of Ubuntu's to boot into and
when I boot into any of the non recovery ones it goes to the splash screen
and hangs.

Suggestions on how to get it to boot please

Yours in Wellness
Johannes Nielsen CEO
BAMedia
Wellness Marketing and Event Management

ABN 32 710 132 20
bammeb...@gmail.com

+ 61  (0) 449 065 729 (Vodafone Cell Phone)

ICQ 70972773
Skype fuzzy8561

Excellence in Service Provision

http://bikedaddybike.blogspot.com/


On Wed, Feb 16, 2011 at 22:44, david da...@kenpro.com.au wrote:

 one of my servers has developed a habit of dying (3rd time in 3 weeks). I'm
 guessing hardware - memory?? something else?? This box has been running for
 a couple of years.

 Symptoms are different each time, and each time there is nothing obvious in
 the log, but this was a photo of the death screen last time:

  http://david.kenpro.com.au/david/kernelpanic_110216.jpg

 The previous freeze had the screen rolling too fast to read, so I assume
 some sort of loop??

 I didn't record the problem the first time it happened, but I recall it was
 a static screen with error messages.

 Each time the server dies the last log message before restart is a DHCP
 request, which may mean nothing at all. I'm using Ubuntu 8.04 (in the
 process of upgrading but it hasn't happened yet).

 Hard reboot gets it up again.

 thanks..

 David.
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Boot issues with Ubuntu

2011-02-25 Thread Jake Anderson

edit the line its trying to boot,
go down to kernel (i think) and remove quiet and splash from the end of 
that line

then boot
it'll let you see what's going on at least.

On 26/02/11 00:05, John Nielsen wrote:

Hi All
Good to see so many faces at the meeting tonight I am running Karmic Koala
and I went to boot up tonight after the meeting and it
s coming up to the GNU GRUB Menu with a choice of Ubuntu's to boot into and
when I boot into any of the non recovery ones it goes to the splash screen
and hangs.

Suggestions on how to get it to boot please

Yours in Wellness
Johannes Nielsen CEO
BAMedia
Wellness Marketing and Event Management

ABN 32 710 132 20
bammeb...@gmail.com

+ 61  (0) 449 065 729 (Vodafone Cell Phone)

ICQ 70972773
Skype fuzzy8561

Excellence in Service Provision

http://bikedaddybike.blogspot.com/


On Wed, Feb 16, 2011 at 22:44, davidda...@kenpro.com.au  wrote:


one of my servers has developed a habit of dying (3rd time in 3 weeks). I'm
guessing hardware - memory?? something else?? This box has been running for
a couple of years.

Symptoms are different each time, and each time there is nothing obvious in
the log, but this was a photo of the death screen last time:

  http://david.kenpro.com.au/david/kernelpanic_110216.jpg

The previous freeze had the screen rolling too fast to read, so I assume
some sort of loop??

I didn't record the problem the first time it happened, but I recall it was
a static screen with error messages.

Each time the server dies the last log message before restart is a DHCP
request, which may mean nothing at all. I'm using Ubuntu 8.04 (in the
process of upgrading but it hasn't happened yet).

Hard reboot gets it up again.

thanks..

David.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] yacc anybody?

2011-02-25 Thread James
G'day all

I'm struggling with yacc. Any insight please ...

This file and this grammar work perfectly:

 file
[host]
   HVAL = hsomething
   ANOTHER = another Thing

[notme]
   HVAL = nothing
   ANOTHER = not another Thing  # comment

- grammar
%token DFLT
%token KEY
%token ID
%token EQ
%token STRING
%token SLASH

%%
Sections :
| Section Sections

Section : KEY Lines   
| DFLT Lines

Lines   : 
| Line Lines

Line: ID EQ arg
 
arg : ID 
| STRING
%%

Now I'm trying to extend the grammar to include a non section line ie

 file

VAL = something

[host]
   HVAL = hsomething
   ANOTHER = another Thing

[notme]
   HVAL = nothing
   ANOTHER = not another Thing  # comment

say by grammar ...
Sections :
| Section Sections
| Lines

And am struggling terribly ...
[haycorn] /home/jam/getcfg [1995]% yacc -d getcfg.y
conflicts: 3 shift/reduce, 2 reduce/reduce

Anyhelp from anyone ... thanks
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] yacc anybody?

2011-02-25 Thread Peter Miller
On Sat, 2011-02-26 at 10:24 +0800, James wrote:
 Sections :
 | Section Sections
 | Lines

The problem is two-fold.  First, it is the convention to write iteration
left recursively, as in

Sections
: /* empty */
| Sections Section
;

This results in less depth in the parse stack, and in some cases (where
rules are attached) results in a more-expected side-effect order (L2R
rather than R2L).

The second problem is that both Lines and Sections can be empty.
This make the initial parse state ambiguous.  Should it immediately
reduce by the Sections: /* empty */ rule, or by the Lines: /* empty
*/ rule?

Try this instead

Sections
: Lines
| Sections section
;

Now there is no empty Sections rule, and all ambiguity goes away... the
file always starts with a (possibly empty) non-section set of lines.

When it doubt, always read the y.output file, it will document how and
where ambiguities occur in your grammar.

HTH


-- 
Regards
Peter Miller pmil...@opensource.org.au
/\/\*http://miller.emu.id.au/pmiller/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.

Of all the strange crimes that humanity has legislated out of nothing,
blasphemy is the most amazing - with obscenity and indecent exposure
fighting it out for second and third place. -- Robert Heinlein,
Notebooks of Lazarus Long
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] New abc.net.au URL for streaming audio?

2011-02-25 Thread Nick Urbanik

Until last week, it was possible to access the streaming audio from
Radio National with something like
mplayer http://media3.abc.net.au/radionational

This no longer works.  I have spent a little time with tcpdump trying
to understand the new URL without success.  My bicycle commute will
sadly lack my weekly goon show until I sort this out.  Does anyone
know how to access the new stream with mplayer or the like?
--
Nick Urbanik http://nicku.org   ni...@nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] New abc.net.au URL for streaming audio?

2011-02-25 Thread Jeremy Visser
On 26/02/2011 4:49 PM, Nick Urbanik wrote:
 Until last week, it was possible to access the streaming audio from
 Radio National with something like
 mplayer http://media3.abc.net.au/radionational
 
 This no longer works.

The following works for me:

$ mplayer
http://www.abc.net.au/res/streaming/audio/windows/radio_national.asx

The main problem is that they have moved to Akamai for their streaming.
Why putting a voice recording was easier than setting up a HTTP redirect
is quite beyond me.

If playing Windows Media audio streams isn't adventurous enough, you can
play the AAC+ stream with the following (which works at the time of
writing):

$ rtmpdump --live -r
rtmp://cp112896.live.edgefcs.net/live/radio_national@40675 | mplayer -

I got the RTMP URL by looking at:

http://www.abc.net.au/res/streaming/audio/rtmp/rtmpStreamPointer_rn.js

Hope this helps!

Jeremy.



signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] New abc.net.au URL for streaming audio?

2011-02-25 Thread Jeremy Visser
On 26/02/2011 4:49 PM, Nick Urbanik wrote:
 Does anyone know how to access the new stream with mplayer or the
 like?

In addition to the info in my previous e-mail, it looks like the ABC now
has a bunch of Shoutcast AAC+ and MP3 streams. While I'd love to see Ogg
Vorbis streams, you've got to give them some credit for doing something
that's not completely DRM-only.

http://www.abc.net.au/radio/listenlive.htm#directlinks

In other news, the ABC is getting rid of their Real Media streaming. For
such a tech savvy organisation, it's genuinely surprising that it's
taken them this long to ditch Real.

/me dreams for a future of Vorbis over RTSP over IPv6

--
P.S. Apologies for the misplaced linebreaks in my previous e-mail.
Normally I try to use Evolution, which gives me a preformatted option
which suppresses automatic linebreaks.



signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html