:: Re: [DNG] FF pulseaudio hard depend…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Enrico Weigelt, metux IT consult
Fecha:  
A: dng
Asunto: Re: [DNG] FF pulseaudio hard dependency is here
On 09.03.2017 07:45, KatolaZ wrote:

> I have made a quick search, and it seems that the problem is, again,
> in the fact that people prefer overkills to simple solutions.


Yeah, they invented their own private "cross platform API" - as there
wouldn't already be enough out there, that just could be used.

OTOH, having an own video streaming within the browser (the same
silliness in chrome) also is just making everything complicated.
They just could have used gstreamer and get hw decoding for free.

> Midori (aside with many other browsers) is using XBEL, an XML format to
> store bookmarks, which was introduced not because another file format
> for bookmarks was needed, but rather to showcase the abilities of the
> PyXML module (google "XBEL bookmarks" to find out more details about
> this unbelievable yet interesting story...).


These folks could just sit together and design an browser agnostic
bookmarks library and let everybody pick the backend he wants.
Could even be done as an small 9P service.

> And it seems that the main developer of Midori finds it quite
> complicated (sic!) to transform a Netscape (html) bookmark files (or
> any other bookmark format, for that matter) into XBEL. There you
> go. You can still export your bookmarks into html format and browse
> that file.... :\


What's so complicated w/ netscape html bookmarks ?

> The reason why one wants to use XML to store bookmarks still defies my
> very primitive logic, though, since implementing a tag-based bookmark
> systems requires 28 lines of shell script (attached below), of which
> only 9 contain actual shell code...


Maybe, because that would be too easy ? :o


> #!/bin/sh
>
> ##
> ## Simple script to manage bookmarks
> ##
> ## If run without arguments, provide a dmenu list of current
> ## bookmarks, and paste the selection to the primary
> ## clipboard. Otherwise, add a new bookmark, and set the
> ## decription/tag to the arguments provided on the command
> ## line.
> ##
> ## KatolaZ -- 2015
> ##
>
> BKFILE=$(realpath "${HOME}/.surf/bookmarks.txt")
>
>
> if [ $# -ge 1 ]; then
>     ## adding a new bookmark from the primary selection
>     URL=$(xclip -o)
>     echo "${URL} | $@" >> ${BKFILE}
> else
>     ## Searching the bookmark file...
>     ## Get an URI
>     SEL=$(cat ${BKFILE} | dmenu -l 5)
>     ##echo "Selected: ${SEL}"

>
>     URL=$(echo "${SEL}" | cut -d "|" -f 1)
>     echo "${URL}" | xclip -f
> fi


hmm, looks like a nice addition to the surf package.


--mtx