linux, programming, audio, homebrew, video, open source
iPhone App: This Way Up
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
-
I started working on a new project the other night. It took most of the night but the proof of concept looks promising. Take a look at the video below, follow the link to flickr to see it in HD.
If this helped you, please consider downloading my FREE iPhone app " Hydrate Yourself "and leaving a review. There are a whole bunch of tutorials to create a Navigation Controller inside a TabBarController with XCode3. But there are a number of small changes in XCode4 which can trip up someone not familiar with them. So this guide is essentially an updated version of those other guides, designed to create the same simple demo using the new tool. 1. Create a new Project We are going to start with a Tab Bar Application, so go ahead and create a new project as usual. I'm calling mine Navigation Tab Bar. 2. Select the Tab Bar Click MainWindow.xib and you should see the integrated Interface Builder. On the left is a section called Objects, select the Tab Bar Controller. 3. Add the Navigation Controller On the right side of your screen click the Utilities box. This is new in XCode4 and should look familiar if you've been using XCode3. At the bott
Today we have a Sony TC-800B to take apart. This is a portable Reel-to-Reel recorder is from the late 60's or very early 70's and is the same device that was used to record the watergate tapes . Unlike the TEAC 360S I took apart last week, this machine was very easy to take apart. The one I came across even had a carrying case, you might notice that the handle is crooked. This thing was somewhat busted up, if you look closely you can see through the window in the case that the plastic covering the reels is cracked too:
After a bit of searching I was unable to find an off the shelf solution to let me browse S3 with a JFileChooser . The closest I found was an S3 FileSystem implementation, but that doesn't seem to be used by JFileChooser. Instead you need a custom FileSystemView , which I implemented using minio as a simple client library. The code is not incredibly complicated so I wont explain it in detail. You can see that the custom S3FileSystemView is simply passed to JFileChooser to insert the S3 logic. The most interesting method is getFiles , that is where I decided to insert the buckets at the top level, so there is one switch which decides whether to call listBuckets or listObjects . From that point my custom VirtualFile objects are carefully constructed so that the File class plays nicely with JFileChooser. The result from selecting a file is something like s3:/bucket/path/to/file.txt which you will need to download yourself. VirtualFile could probably be extended to work lik
Comments
Post a Comment