Thursday January 08, 2009 | Constantin's Blooog |
|
Useful stuff for your blog-reading pleasure.
All
|
General
Making 3D work over VNCDave recently played around with VNC on his computer and an iPod touch. While it worked surprisingly well, the achilles heel of many remote access solutions kicks in when you try doing some 3D stuff, such as a game, Second Life or maybe a scientific application. This reminds me of one of the best kept secrets at Sun: We fixed the 3D-over-VNC problem.
That's right, the server runs in Munich, the client is in Dresden, there's more than 400km air line in between (probably close to double that in terms of network line) and we saw close to 30 frames per seconds of intricate molecular modeling madness that we could manipulate interactively like if the server was around the corner. In this case, the "server" was a supercomputer that fills the halls of the LRZ compute center, so it wouldn't quite fit the showfloor, thus they used Sun Shared Visualization to deliver the images, not the whole supercomputer, to Dresden. And this is an increasingly common theme in HPC: As data amounts get bigger and bigger (Terabytes are for sissies, it's Petabytes where the fun starts) and compute clusters get bigger and bigger (think rows of racks after racks), your actual simluation becomes harder to transport (a truck is still the cheapest, fastest and easiest way to transmit PB class data across the nation). The key is: You don't need to transport your data/your simulation/your research. You just need to show the result, and that is just pictures. Even if it's 3D models at 30 frames per second (= interactive speed) with 1920x1080 pixels (= HDTV) each frame, that's only about 180MB per second uncompressed. And after some efficient compressing, it boils down to only a fraction of it. This means that you can transmit HDTV at interactive speeds in realtime across a GBE line without any noticeable degradation of image quality, or if you're restricted to 100 MBits or less, you can still choose between interactive speeds (at some degradation of picture quality) or high quality images (at some sacrifice in speed) or a mixture (less quality while spinning, hold the mouse to get the nicer picture). And this is completely independent of the complexity of the model that's being computed at the back-end server. The Sun Shared Visualization Software is based on VirtualGL and TurboVNC, which are two open source projects that Sun is involved in. It also provides integration with the Sun Grid Engine, so you can allocate multiple graphics cards and handle reservations like "I need 3 cards on Monday, 3-5 PM for my presentation" automatically. So, if you use a 3D application running on Linux or Solaris and you want to have access to it from everywhere, check out the Sun Shared Visualization Software for free and let me know what you've done with it. Also, make sure to check out Linda's blog, she runs the developer team and would love to get some feedback on what people are using it for. P.S.: There's some subtle irony in the LRZ case. If you check their homepage, their supercomputer has been built by SGI. But their remote visualization system has been built by Sun. Oh, and we now have some good supercomputer hardware, too.
"Making 3D work over VNC" has been brought to you by Constantin's Blooog.
This entry was created on 2009-01-08 05:31:27.0 PST and is associated with the following tags:
3d
graphics
hpc
open
shared
software
source
sun
visualization
vnc
New OpenSolaris Munich User Group
It was about time that a Munich OpenSolaris User Group be created, which Wolfgang and I just did. So, if you love OpenSolaris and happen to be near Munich, welcome to the Munich Open Solaris User Group (MUCOSUG). Feel free to visit our project page, subscribe to the mailing list, watch our announcements or participate in our events. As you can see above, we already have a logo. It shows a silhouette of the Frauenkirche church, which is a signature landmark of downtown Munich, with the Olympiaturm tower in the background. This is meant to symbolize the old and new features of Solaris, but let's not get too sentimental here... Let us know if you like it, or provide your own proposal for a better logo, this is not set in stone yet. Our first meeting will be on January 12th, 2009, 7-11 PM (19:00-23:00) at the Sun Munich office near Munich, Germany. Check out some more information about this event, we're looking forward to meeting you!
"New OpenSolaris Munich User Group" has been brought to you by Constantin's Blooog.
This entry was created on 2008-12-16 12:57:17.0 PST and is associated with the following tags:
advocacy
events
group
mucosug
open
opensolaris
solaris
source
user
BarCamp Munich 2008 - Enterprise 2.0, Open Source and the Future of TechnologyI'm astonished to see that I haven't blogged for so long. Sorry to my readers, it's been some very busy times lately, and I hope I can write more in the coming weeks. I also owe an apology to the people that pointed out a bug with my ZFS replicator script and cron(1M), I'll look into it and make it my next post. Barcamp at Sun in Munich I was surprised to see that both sessions I proposed were accepted, plus one about Open Source Software at Sun that my colleague Stefan proposed with some support by me. You can find a list of sessions for Saturday and Sunday on the web and it pays off to check back regularly, as the wiki is filling up with more and more collateral information around each track. So, here's a roundup of session descriptions, slides and other links and materials for those of you who attended my sessions or could not attend, in chronological order. Enterprise 2.0 - From Co-Workers to Co-Creators We had about 20 people in the room and quite a fruitful discussion on how to motivate employees to use new tools, how to guide employee behaviour and the challenges of opening up a company and making it more transparent. Feel free to glance through my Enterprise 2.0 slides or read an earlier blog entry on a related subject. Also, check out Peter Reiser's blog, he has a number of great articles from behind the scenes of our SunSpace collaboration project. Open Source Software at SunStefan Schneider proposed a session about great software products that are available from Sun for free, as open source. We went through his list from least well-known to most popular. Obviously, MySQL, StarOffice and OpenSolaris were at the end, but the more interesting software products were those that made the attendees go "Oh, I didn't know that!". One example of this category was Lightning, a rich calendar client. Stefan recently posted his slides into the Sun Startups blog, thanks, Stefan! The Future of Technology in 10, 20, 30 Years and More
This was a spontaneous talk that I offered after having seen the Barcamp Munich wishlist where people asked for a session on future technology developments, their effects on society and how one can cope with it. I took some slides from a couple of earlier talks I did a while ago on similar topics and updated it for the occasion. The updated "Future of Technology" slidedeck is in German, but if enough people are interested, I can provide a translated version as well. We started by looking at Moore's Law as an indicator of technology development. In "The Age of Spiritual Machines", Ray Kurzweil, a well-known futurist, pointed out that this law also holds for technology prior to integrated circuits, all the way down to Charles Babbage's difference engine of the 19th century. With that in mind, we can confidently extend Moore's Law into the future, knowing that even if traditional chip technology ceases to deliver on Moore's Law, other technologies will pick up and help us achieve even higher amounts of computing power per amount of money/space/energy. Again, Kurzweil points out that if we compare the amount of computational power that one can purchase for $1000 for a given year with the complexity of all neurons of a brain and their connections to neighbouring neurons at their typical firing frequency, then the 2020s will be an interesting decade. Key technologies of the future will be: Genetics and Biotechnology, Robotics and Nanotechnology.
Robotics are another fascinating area of technology and we're seeing more and more robots enter our day to day life. Industrial and military robots may be an "old hat", but did you know that today, millions of households are already using robots to vacuum their floory, mow their lawns or perform other routine work? And we will see many more robots in the future, I'm sure. Meanwhile, I'm happy to say that my Roomba robot indeed saves a lot of precious time while fulfilling my natural geeky desire for cool gadgetry.
Check out the Foresight Institute's introduction to nanotechnology for more information about this fascinating topic, including a free PDF download of K. Eric Drexler's book "Engines of Creation". Real engineers will probably want to take a look at his textbook "Nanosystems Molecular Machinery Manufacturing and Computation" One controversial topic when discussing the future is the Technological Singularity. This is the point in time, where artificial intelligence becomes powerful enough to create new technology on its own, thereby accelerating the advancement of technology without human intervention. A discussion of this topic can be found in Kurzweil's newest book "The Singularity is Near". Another great way to think about the future is to read Stefan Pernar's sci-fi thriller "Jame5 - A Tale of Good and Evil". This book starts in the best Michael Crichton style and then becomes a deep and thoughtful discussion around the philosophy of the future, when mankind confronts the powers of strong AI. You can buy the book or just download the PDF for free. Highly recommended. One of my favourite citations is said to be an old chinese curse: "May you live in interesting times." Many thanks to all the people that I met during, or attended my sessions at, Barcamp Munich 2008, it was a most interesting event. Edit (Oct., 13th): Meanwhile, a few blog reactions are rolling in: Dirk wrote a nice summary on the Enterprise 2.0 session (in German) while Ralph summarized the Future technology session (German as well). I found them through Markus' Barcamp Munich 2008 session meta entry. Thanks to all! Also, Stefan has posted his slides from the open source talk, see above.
"BarCamp Munich 2008 - Enterprise 2.0, Open Source and the Future of Technology" has been brought to you by Constantin's Blooog.
This entry was created on 2008-10-12 14:14:27.0 PST and is associated with the following tags:
#bcmuc08
barcamp
bcmuc08
enterprise
enterprise2.0
future
futurism
law
moore
nanotechnology
open
opensolaris
opensource
singularity
source
space
ZFS Replicator Script, New Edition
Meanwhile, the fine guys at the ZFS developer team introduced recursive send/receive into the ZFS command, which makes most of what the script does a simple -F flag to the zfs(1M). Unfortunately, this new version of the ZFS command has not (yet?) been ported back to Solaris 10, so my ZFS snapshot replication script is still useful for Solaris 10 users, such as Mike Hallock from the School of Chemical Sciences at the University of Illinois at Urbana-Champaign (UIUC). He wrote: Your script came very close to exactly what I needed, so I took it upon myself to make changes, and thought in the spirit of it all, to share those changes with you. The first change he in introduced was the ability to supply a pattern (via -p) that selects some of the potentially many snapshots that one wants to replicate. He's a user of Tim Foster's excellent automatic ZFS snapshot service like myself and wanted to base his migration solely on the daily snapshots, not any other ones. Then, Mike wanted to migrate across two different hosts on a network, so he introduced the -r option that allows the user to specify a target host. This option simply pipes the replication data stream through ssh at the right places, making ZFS filesystem migration across any distance very easy. The updated version including both of the new features is available as zfs-replicate_v0.7.tar.bz2. I didn't test this new version but the changes look very good to me. Still: Use at your own risk. Thanks a lot, Mike!
"ZFS Replicator Script, New Edition" has been brought to you by Constantin's Blooog.
This entry was created on 2008-08-13 13:25:49.0 PST and is associated with the following tags:
open
opensolaris
opensource
remote
replication
script
snapshot
solaris
source
zfs
zpool
How to compile/run MediaTomb on Solaris for PS3 and other streaming clients
To my surprise, Ingo got himself a new PlayStation 3 (40GB). The new version is a lot cheaper (EUR 370 or so), less noisy (new chip process, no PS2 compatibility), and since HD-DVD is now officially dead, it's arguably the best value for money in Blu-Ray players right now (regular firmware upgrades, good picture quality, digital audio and enough horsepower for smooth Java BD content). All very rational and objective arguments to justify buying a new game console :). The PS3 is not just a Blu-Ray player, it is also a game console (I recommend "Ratchett&Clank: Tools of Destruction" and the immensely cute "LocoRoco: Cocoreccho!", which is a steal at only EUR 3) and can act as a media renderer for DLNA compliant media servers: Watch videos, photos and listen to music in HD on the PS 3 from your home server. After checking out a number of DLNA server software packages, it seemed to me that MediaTomb is the most advanced open source one (TwonkyVision seems to be nicer, but sorry, it isn't open source...). So here is a step-by-step guide on how to compile and run it in a Solaris machine. Basic assumptionsThis guide assumes that you're using a recent version of Solaris. This should be at least Solaris 10 (it's free!), a current Solaris Express Developer Edition (it's free too, but more advanced) is recommended. My home server runs Solaris Express build 62, I'm waiting for a production-ready build of Project Indiana to upgrade to. I'm also assuming that you are familiar with basic compilation and installation of open source products. Whenever I compile and install a new software package from scratch, I use /opt/local as my base directory. Others may want to use /usr/local or some other directory (perhaps in their $HOME). Just make sure you use the right path in the --prefix=/your/favourite/install/path part of the ./configure command. I'm also trying to be a good citizen and use the Sun Studio Compiler here where I can. It generally produces much faster code on both SPARC and x86 architectures vs. the ubiquitous gcc, so give it a try! Alas, sometimes the code was really stubborn and it wouldn't let me use Sun Studio so I had to use gcc. This was the path of least resistance, but with some tinkering, everything can be made to compile on Sun Studio. You can also try gcc4ss which combines a gcc frontend with the Sun Studio backend to get the best of both worlds. Now, let's get started! MediaTomb PrerequisitesBefore compiling/installing the actual MediaTomb application, we need to install a few prerequisite packages. Don't worry, most of them are already present in Solaris, and the rest can be easily installed as pre-built binaries or easily compiled on your own. Check out the MediaTomb requirements documentation. Here is what MediaTomb wants:
Compiling and installing MediaTombNow that we have all prerequisites, we can move on to downloading, compiling and installing the MediaTomb package:
Configuring MediaTombOk, now we have successfully compiled and installed MediaTomb, but we're not done yet. The next step is to create a configuration file that works well. An initial config will be created automatically during the very first startup of MediaTomb. Since we compiled in some libraries from different places, we either need to set LD_LIBRARY_PATH during startup (i.e. in a wrapper script) or update the linker's path using crle(1). In my case, I went for the first option. So, starting MediaTomb works like this: LD_LIBRARY_PATH=/opt/csw/lib:/opt/local/lib:/usr/lib/firefox Of course you should substitute your own interface. The port number is completely arbitrary, it should just be above 49152. Read the command line option docs to learn how they work. You can now connect to MediaTomb's web interface and try out some stuff, but the important thing here is that we now have a basic config file in $HOME/.mediatomb/config.xml to work with. The MediaTomb config file docs should help you with this. Here is what I added to my own config and why:
MediaTomb is ok to help you show movies and pictures and the occasional song on the PS3 but it's not perfect yet. It lacks support for AAC (tags, cover art, etc.) and it could use some extra scripts for more comfortable browsing structures. But that's the point of open source: Now we can start adding more features to MediaTomb ourselves and bring it a few steps closer to usefulness.
"How to compile/run MediaTomb on Solaris for PS3 and other streaming clients" has been brought to you by Constantin's Blooog.
This entry was created on 2008-03-20 15:07:08.0 PST and is associated with the following tags:
compiling
diy
howto
installing
media
mediatomb
open
playstation
ps3
software
solaris
source
streaming
Shrink big presentations with ooshrinkI work in an environment where people use presentations a lot. Of course, we like to use StarOffice, which is based on OpenOffice for all of our office needs. Presentation files can be big. Very big. Never-send-through-email-big. Especially, when they come from marketing departments and contain lots of pretty pictures. I just tried to send a Sun Systems overview presentation (which I created myself, so less marketing fluff), and it still was over 22MB big! So here comes the beauty of Open Source, and in this case: Open Formats. It turns out, that OpenOffice and StarOffice documents are actually ZIP files that contain XML for the actual documents, plus all the image files that are associated with it in a simple directory structure. A few years ago I wrote a script that takes an OpenOffice document, unzips it, looks at all the images in the document's structure and optimizes their compression algorithm, size and other settings based on some simple rules. That script was very popular with my colleagues, it got lost for a while and thanks to Andreas it was found again. Still, colleagues are asking me about "That script, you know, that used to shrink those StarOffice presentations." once in a while. Today, I brushed it up a little, teached it to accept the newer od[ptdc] extensions and it still works remarkably well. Here are some examples:
Before I give you the script, here's the obvious The script works with Solaris (of course), but it should also work in any Linux or any other Unix just fine. It relies on ImageMagick to do the image heavy lifting, so make sure you have identify(9E) and convert(9E) in your path. My 22 MB Systems Overview presentation was successfully shrunk into a 13MB one, so I'm happy to report that after so many years, this little script is still very useful. I hope it helps you too, let me know how you use it and what shrink-ratios you have experienced!
"Shrink big presentations with ooshrink" has been brought to you by Constantin's Blooog.
This entry was created on 2007-11-27 03:20:08.0 PST and is associated with the following tags:
imagemagick
imaging
open
openoffice
opensource
script
source
staroffice
useful
Foresight Vision Weekend 2007
About two weeks ago, two colleagues and I had the inspiring pleasure of attending the Foresight Vision Weekend 2007. This was the weekend before our annual TS Ambassador Conference at Sun, so we happened to be in the Bay Area where this unconference was held. Ever since the year 2000, after I heard a talk from Eric Drexler on Nanotechnology during another Sun event, I've been fascinated by this topic and so I loosely followed the activities of the Foresight Institute. This event was a great way of catching up with recent developments - and an opportunity for me to have a reality check on how real all of this is, and can be. Limited by our flight schedule, we only attended the second day of the conference. It started with a few motivational speakers as an introduction to the second half of the day which was held in the now popular unconference format. A Systematic View on Anti-AgingThe first talk about anti-aging was given by Chris Heward, President of the Kronos Science Laboratory. He explained their very systematic approach to analyze the effects of aging and what factory play what role in the process. The great thing about this talk was that there was no esoterics, no magic, no BS, just plain, number driven science full of hard facts about what aging actually is (a decrease of bio-functional abilities due to decaying body functions over time), a fresh view on the subject (we're already becoming "unnatually" old, so why not figure this out once and for all?) and some reality-checks on popular health myths (If fats are so bad, why is the US population becoming fatter and fatter despite all that non-fat food?). So the systematic approach is quite simple, but effective: Figure out the primary causes of death (heart disease, skeletal dysfunction, cancer) and find ways to prevent them from happening as early as possible. The "as early as possible" part is the most important one: The earlier one starts to work on preventing these factors, the longer the life expectancy. My takeaways:
One interesting but not well understood factor in aging is hormones. There's a strong correlation between dropping levels of male and female sex hormones and their negative symptoms in ageing (obvious, isn't it?), but it is not understood yet if and how taking hormon supplements really helps you overcome ageing symptoms. Plus, taking hormones as pills is likely to produce other problems (as in liver overload...). Anyway, this was a fascinating talk and I now need to understand more on this subject, although separating the wheat from the chaff is difficult if you're not a doctor or a biochemist... Productive Nanosystems RoadmapThis conference covered a great variety of topics, so the next talk by Pearl Chin was on a completely different topic: The Productive Nanosystems Roadmap. What's a productive nanosystem you might ask? It's a machine that operates at the molecular level to create things in an atomically precise way. Watch this short movie to see one in action. The Productive Nanosystems Roadmap is all about the "How do we get there?" aspects of Molecular Nanotechnology. Similar to, but more challenging than the semiconductor business, this involves a huge amount of interdisciplinary work by physicists, chemists, biotechnologists, computer scientists, mechanical engineers, process technologists and many more. By synchronizing and bringing together different fields of research and development, the Nanotechnology Roadmap facilitates the creation of Productive Nanosystems. Can't wait to having one of these replicators in my home... Open Source SecurityYet another interesting and completely different subject: Open Source Security, by Christine Peterson, a founder of the Foresight Institute. The current physical security mechanisms, as implemented by major governments are hugely centralized (as in DoD-centralized), not transparent (who knows really what happens inside the NSA, or behind the doors of your friendly airport security operations?) and they have a huge impact on privacy (Did you know that "they" know what you read on an airplane?). The idea of this talk is: Centralized security has its flaws (what happens if someone takes out the central parts of a nation's security system?), obscure security measures are prone to becoming a security threat by themselves (In Germany there's a current debate about the police monitoring license plates on a big scale vs. privacy rights) and of course, there's no fun in living in a 100% controlled and watched Orwellian society. So why not try to create a security system that is transparent, distributed and still protects privacy? This "Open Source Security" system could be everywhere (like a neighborhood watch), it would be open to anyone (so nobody can manipulate the system) and it would work without invading people's privacies (a neighborhood watch keeps the neighbors secure, but doesn't know a thing about, say, the next cities' neighborhoods). Interesting concept and hopefully one that is going to be developed further. Sounds much, much better than what current governments would like to implement... Mapping the Technology LandscapeI can't remember the exact title of this session, but this sounds like a good fit. The first of the afternoon sessions I visited (there were several in parallel and we couldn't visit all of them) was about finding the right way to categorize new technologies as they emerge and create headlines. It was run by Phil Bowermaster who has an excellent blog called "The Speculist" and an accompaining podcast called "Fast Forward Radio". After blogging for a while, Phil came up with a 2-dimensional coordinate system for charting technologies, based on the axes "Impact on Society" and "Impact on Technology". While this seemed to work for charting "spot resistant nano-pants" (low impacts on both society and technology, placing it into the "fake" corner) vs., say, a desktop molecular nanofactory (now we're getting serious...), it didn't feel like the real thing for charting new technology. So, Phil showed us his improved coordinate systems, this time based on the axes "transformation" and "disruption". It intuitively makes more sense, as it better models the impact of technology on the world as we know it. But every model is only good until the next one comes around, so Phil welcomes your suggestions, too. See his article on "Disruption and Transformation". Self-Improving A.I.No futuristic conference without at least one A.I. related topic. Artificial Intelligence may have had a difficult story in the past, but the truth is that people tend to dismiss any advance in A.I. as being "nice, but not the real thing", be it speech recognition, route planning or beating Kasparov at chess playing. What's going to be the next milestone that people will choose to treat as "not real A.I.?". Ray Kurzweil observed that the development of technology happens at an accelerating pace. In fact, Moore's law only deals with advances in semiconductor technology, but it's pattern of modeling the increasing amount of available calculations per $1000 can be observed all the way back to early mechanical calculators. Looking into the future, semiconductor experts are confident that Moore's law will hold at least into the next 15-20 years - and there are some more exciting technologies waiting to be used for computations onces semiconductor chips become uninteresting. If the current rate of technological progress continues, then we will see a $1000 PC have the power of a human brain by 2025. Not a long time from now. Steve Omohundro's session on self-improving A.I. dealt with the questions such as: What will drive self-improving A.I.s? What are the benefits and risks of self-improving A.I.s? What should we try to do right before they arrive? Read more about this topic at the Self-aware Systems website. And for the lighter side of it, here's a hilarious comic on a very similar subject :). Nanotech LiteracyPerhaps the most important aspect of nanotechnology right now is it's acceptance. As soon as you learn about the great powers of nanotechnology, you can't help but imagine the great peril it might bring. Bill Joy's famous article "Why the future doesn't need us" is only one example. But is denying or opposing change a solution? Certainly not. If we refuse to learn about the next wave of technology, others will. So we better learn how to do it right from the start. One major focus of the Foresight Institute is to advance beneficial nanotechnology, partly by educating people about it's potential benefits to humanity. Miguel Aznar's session on Nanotech Literacy focused on how to make Nanotechnology more accessible and understandable to children and students in schools. I think this is a great way of spreading the word, as it instantly will touch their parents as well. I used to teach my parents how to program our VCR, and I'm looking forward to my daughter teaching me how to operate our first family molecular nanotech factory :) ConclusionThis really was a most inspiring event. My goal was to understand more about the reality behind Nanotech and other future technologies, and I got much more out of this day than I expected. I'm very proud to see that Sun is a corporate member of the Foresight Institute and I'm going to sign up with them as a senior associate soon. I'm convinced that every dollar spent in advancing beneficial Nanotechnology is going to save us more trees and more species, reduce the levels of CO2 more aggressively, provide more clean energy, cure more cancers and advance humankind more thoroughly in the long term than any other investment. If you want to learn more about the subject of Nanotechnology, I recommend looking at one of these articles.
"Foresight Vision Weekend 2007" has been brought to you by Constantin's Blooog.
This entry was created on 2007-11-20 14:31:52.0 PST and is associated with the following tags:
ai
anti-aging
extension
future
life
nanosystems
nanotechnology
open
productive
security
source
technology
unconference
vision
How to burn high resolution DVD-Audio DVDs on Solaris and Linux (And it's legal!)
It all started with this email I got from Linn Records, advertising the release of their Super Audio Surround Collection Vol 3 Sampler (Yes, targeted advertising works, but only if customers choose to receive it), which is offered in studio master quality FLAC format files, as a download. Gerald and I applauded Linn Records a few months ago for offering high quality music as lossless quality downloads, so I decided to try out their high resolution studio master quality offerings. The music comes as 96kHz/24 Bit FLAC encoded files. These can be played back quite easily on a computer with a high resolution capable sound card, but computers don't really look good in living rooms, despite all the home theater PC and other efforts. The better alternative is to burn your own DVD-Audio and then use a DVD-A capable DVD player connected to your HiFi-amplifier to play back the music. There's a common misconception that "DVD-Audio" means "DVD-Video" without the picture which is wrong. DVD-Video is one standard, aimed at reproducing movies, that uses PCM, AC-3, DTS or MP2 (mostly lossy) for encoding audio, while DVD-Audio sacrifices moving pictures (allowing only still ones for illustration) so it can use the extra bandwidth for high resolution audio, encoded as lossless PCM or lossless MLP bitstreams. Also, note that it is not common for regular DVD-players to accept DVD-Audio discs, they must state that they can handle the format, otherwise you're out of luck. Some if not most DVD-Audio Discs are hybrid in that they offer the content stored in DVD-Audio format additionally as DVD-Video streams with one of the lossy DVD-Video audio codecs so they can be played on both DVD-Video and DVD-Audio players.
Now, after having downloaded a bunch of high-res FLAC audio files, how can you create a DVD-Audio disc? Here's a small open source program called dvda-author that does just that: Give it a bunch of FLAC or WAV files and a directory, and it'll create the correct DVD-A UDF file structure for you. It compiles very easily on Solaris so I was able to use my Solaris fileserver in the basement where I downloaded the songs to. Then you give the dvda-author output directory along with a special sort file (supplied by dvda-author) to mkisofs (which is included in Solaris in the /usr/sfw directory) and it'll create a DVD ISO image that you can burn onto any regular DVD raw media. It's all described nicely on the dvda-author How-To page. Linn Records also supplies a PNG image to download along with the music that you can print and use as your DVD-Audio cover. And how about iPods and other MP3-Players? Most open source media players such as the VideoLan Client (VLC) can transcode from high resolution FLAC format to MP3 or AAC so that's easily done, too. For Mac users, there's a comfortable utility called XLD that does the transcoding for you. Here's common misconception #2: Many people think AAC is proprietary to Apple, mostly because Apple is heavily advertising its use as their standard for music encoding. This is wrong. AAC is actually an open standard, it is part of the ISO/IEC MPEG-4 specification and it is therefore the legitimate successor to MP3. AAC delivers better audio quality at lower bitrates and even the inventors of MP3, the Fraunhofer IIS institute treat AAC as the legitimitate successor, just check their current projects page under the letter "A". Apple developed the "Fairplay" DRM extension to Quicktime (which is the official MPEG-4/AAC encapsulation format) to be able to sell their iTunes Music Store as a download portal to the music industry. Fairplay is proprietary to Apple, but has nothing to do with AAC per se. As much as I love Apple's way of using open standards wherever possible, I don't think it's a good thing that their marketing department creates the illusion of these technologies being Apple's own. This is actually an example of how AAC suffers in the public perception because people think it's proprietary where the opposite is true. How is the actual music, you ask? Good. The album is a nice mixture of jazz and classical music, both in smooth and in more lively forms, great for a nice dinner and produced with a very high quality. Being a sampler, this album gives you a good overview of current Linn Records productions, so you can choose your favourite artists and then dig deeper into the music you liked most. There's one drawback still: The high-res files available on the Linn Records download store are currently stereo only, while the physical SACD releases come with 5.1 surround sound. It would be nice if they could introduce 5.1 FLAC downloads in the future. That would make downloading high resolution audio content perfect, and this silly SACD/DVD-Audio/Dolby-TrueHD/DTS-HD Master Audio war would finally be over.
"How to burn high resolution DVD-Audio DVDs on Solaris and Linux (And it's legal!)" has been brought to you by Constantin's Blooog.
This entry was created on 2007-10-21 04:45:44.0 PST and is associated with the following tags:
audio
diy
dvd
dvd-a
dvda
hd-audio
howto
open
opensource
solaris
source
Walking through the CEC 2007 JavaFX Message Prompter Source
The CEC Message Prompter source code is free for your reading pleasure under an as-is basis, no warranty, no support, etc. Still, comments are of course very welcome. The easiest way to try this out is to load up NetBeans (I use the current Beta 6), install the JavaFX module, then create a new JavaFX project. The stuff in the source code archive goes into the src subdirectory of your new JavaFX project. Choose "Main.fx" as the main class and feel free to enable Java Web Start. In order to compile/run the app, you also need JAXB 2.0 (or use J2SE 6) and the mySQL JDBC Connector installed in NetBeans as libraries and assigned to the project you use for this app. After starting the app, you'll see the window above. To the top is the message source selection GUI. Choose whether you want to have a database or a URL (for XML) connection. A sample XML file with some messages is included, so you probably want to use the URL method. Enter the file URL where you have your messages stored into the URL field, then click on the right (next) or left (previous) or the X (clear) buttons to display the messages. The optional Session field is for filtering messages by session ID but we never got to use it yet. Before I start with the code, a few words of introduction: This is my first JavaFX project and I welcome any suggestions on how to better code in JavaFX. It is also my first Java/NetBeans project since a long time, so I'm sure I can still learn a lot more about how to properly do it. But the learning journey into creating this app has been a fun and instructive one, so I hope this code can help others learn more about JavaFX too. If I had to do it again (And I hope I will, next year), I'd do some stuff differently, which I'll discuss at the end of this posting. Let's walk through the code in roughly the order of how the message flow works:
That was it. All in all, learning JavaFX was a fun experience. And you can do it too, just go to the OpenJFX website and check out the tutorials and references. What would I do differently if I had to write this app from scratch? Probably one or more of the following:
Thank you for reading this and I hope you enjoyed this JavaFX example. Let me know your thoughts by using the comment function or by sending me email!
"Walking through the CEC 2007 JavaFX Message Prompter Source" has been brought to you by Constantin's Blooog.
This entry was created on 2007-10-16 03:44:16.0 PST and is associated with the following tags:
2007
cec
cec2007
client
java
javafx
jdbc
messaging
netbeans
open
opensource
source
suncec2007
swing
xml
Final CEC Reflections: The Wynn, ZFS Under the Hood, Messaging wrap-upI'm now back home, sorting through emails and cleaning up some stuff before a regular week of work begins. Here are some highlights from Tuesday and Wednesday during the Sun CEC 2007 conference in Las Vegas:
"Final CEC Reflections: The Wynn, ZFS Under the Hood, Messaging wrap-up" has been brought to you by Constantin's Blooog.
This entry was created on 2007-10-12 06:33:24.0 PST and is associated with the following tags:
2007
cec
cec2007
javafx
las
messaging
open
solaris
source
suncec2007
vegas
wynn
zfs
Main | Next page » |
|