Forgot your password?
typodupeerror

Comment: rst/DocBook/LaTeX (Score 1) 204

by zougloub (#45191483) Attached to: Ask Slashdot: Do You Use Markdown and Pandoc?

I write my personal stuff in reStructuredText, which is like Markdown but with more processing possibilities and more extensible.

When it comes to professional stuff, depending on the size of the project, I use reStructuredText or DocBook.
DocBook is a must when complex stuff (like cross-references, recursive file inclusion...) is involved, and XML processing enables many fancy features, and output to many formats.
reStructuredText documents can be converted to DocBook, so it's possible to use a master DocBook document and rst fragments.

rst is definitely a plus for straight reading, collaborative edition and SCM.
DocBook is not as painful as binary files, but XML edition, diffs and merges is not as trivial as text chunks.

Then I use LaTeX for stuff with too many formulas, or stuff that really needs to look pretty.
But I dislike that there is no real separation between structure and looks of the document.
Also, LaTeX is harder to process and slower to compile.
DocBook or reStructuredText toolchains can process chunks of math code in LaTeX syntax, which is a nice tradeoff.

In all cases, writing non-trivial documents is easier when a good build system is used.
What I like most is the ability to share external resources (chunks of text, generated data, images, generated images, ...) between documents, when using this kind of text-based tools.

Comment: Re:Practical arguments against? (Score 1) 336

by zougloub (#38607164) Attached to: China Cuts 'Excessive Entertainment' From TV

My GF heard the news from the source and told me about it a few days ago.
She was very happy about this responsible/authoritative decision, because of the excessive garbage they have on TV.
Most of the shows are totally pointless and yet addictive, while aggressive for the eyes and ears.

Entertainment shows reduced to a "maximum of 90 minutes daily between 7:30 p.m. and 10 p.m." - that's better, and still a lot !

The movies usually get aired later, so perhaps they'll be shifted, and working people will have a chance of watching more cinema.

While I can attest on Internet censorship in PRC, regarding this particular issue I think the censorship / population control accusations are IMHO exaggerated; what's worse than the shows being purged ?

Open Source

+ - How Open Source Hardware is Kick-Starting Kickstar-> 2

Submitted by
ptorrone
ptorrone writes "Imagine waking up and seeing your design for a circuit being used in a product by someone who never contacted you to ask if it was okay. You will not get any payment for their usage of your design, they’ve raised over $31,000 dollars, and they’re selling something you worked really hard on. You have no control over what someone does with something you made. Is this a nightmare? Perhaps for some, but this is actually a dream come true for others who do open-source hardware. MAKE magazine profiles a maker using open-source hardware for his now-funded project and how many are using open hardware for their works."
Link to Original Source
Hardware

+ - Open Source CPUs Coming to a Club Near You?-> 1

Submitted by lekernel
lekernel (1279600) writes "The Milkymist project have started shipping their so-called "video synthesizer", a device used by concert and other event organizers to create live visual effects. Most interestingly, the device is based on their fully open source system-on-chip design, including both a CPU and graphics accelerators — the latter being a significant part of what Open Graphics is still struggling with."
Link to Original Source

Comment: Re:No, ntfsclone is what you're looking for. (Score 3, Informative) 133

by zougloub (#37655442) Attached to: Ask Slashdot: Create Custom Recovery Partitions With FOSS?
For NTFS partitions, ntfsclone --save-image / --restore-image is really efficient. You probably want to feed its output to lzop instead of gzip, because gzip/bzip2/xz would be a bottleneck and you don't gain that much with it: - compressing is longer - decompressing is longer - space gain is not magical (when performing an initial disk image (whole disk, with dd/cat) of an OEM laptop with a 640GB disk, I had 26GB with xz --extreme instead of 44GB with lzop -3). xz file was too slow to decompress, so I finally deleted it. Note: if the MBR or partition boot is broken, you'll need to boot with a Windoze rescue CD to fix that.

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...