A few weeks back, I was told that go code which uses cgo (that is utilising C api calls to shared libraries exporting C interface) cannot be cross-compiled. Well, if it's just calling out a C compiler it should totally be easy to cross compile, since so much of our platform is.
So there we go, first I've picked a moderately small project which only does a couple cgo calls, and check that it compiles correctly:
$ sudo apt-get build-dep ubuntu-push-client
$ go get launchpad.net/ubuntu-push/...
$ cd $GOPATH/src/launchpad.net/ubuntu-push/
$ go build ubuntu-push-client.goWell, when your gcc is all is easy.
I didn't want to polute my system, so I quickly created a chroot with go, build-dependencies in armhf architectures and cross-compiler:
# Get a chroot with build-dependencies installed, I am basing on top of a click-chroot
# one should be able to use any chroot which is armhf multiarch enabled.
$ sudo click chroot -aarmhf -fubuntu-sdk-14.04 -s utopic create
$ sudo click chroot -aarmhf -fubuntu-sdk-14.04 -s utopic maint apt-get install golang-go golang-go-linux-arm golang-go-dbus-dev golang-go-xdg-dev golang-gocheck-dev golang-gosqlite-dev golang-uuid-dev libgcrypt11-dev:armhf libglib2.0-dev:armhf libwhoopsie-dev:armhf libubuntuoneauth-2.0-dev:armhf libdbus-1-dev:armhf libnih-dbus-dev:armhf libsqlite3-dev:armhf crossbuild-essential-armhfAfter that the tricky bit was advising go to cross-compile:
$ click chroot -aarmhf -fubuntu-sdk-14.04 -s utopic run CGO_ENABLED=1 GOARCH=arm GOARM=7 PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig GOPATH=/usr/share/gocode/:~/go CC=arm-linux-gnueabihf-gcc go build -ldflags '-extld=arm-linux-gnueabihf-gcc' ubuntu-push-client.goIgnoring the click chroot wrapper:
- CGO_ENABLED=1 - by default cgo is disabled when cross-compiling, but really shouldn't be as compiler names are standard $(GNU_TRIPPLET) prefixed tools
- GOARCH=arm - set the target arch
- GOARM=7 - set ABI level
- PKG_CONFIG_LIBDIR - the ugly beast to pass where pkg-config should search for .pc files. With autoconf one simply sets PKG_CONFIG environment variable pointing at a cross-pkg-config, $(GNU_TRIPPLET)-pkg-config but go tool doesn't support it. I've raised merge proposal to get that added https://codereview.appspot.com/104960043/
- Next I just set GOPATH to where my packages are and CC as to which compiler to use
- The last portion to the puzzle was to pash "-ldflags '-extld=$CC'" because the linker tool (5l) didn't use environmental variable CC and simply defaults to gcc. I'll raise a merge proposal for this.
Today FedEx courier delivered me a package. Inside was APM Mustang in 19″ rack case.
I unpacked, grabbed all required cables from my cable boxes (power, Ethernet, serial), connected it and booted. It arrived at very good moment as we are in a middle of Fedora 21 mass rebuild so I do not have to use remote machines anymore.
Will not write about technical details cause those are already known (8 cores, 16GB ram, SATA storage, 1GbE networking). Do not expect benchmarks as I am not allowed to publish results. If you want to compare build speed then go to [Launchpad][http://launchpad.net/] and check how long it takes to build Ubuntu packages for arm64 target.
My plans for machine? Run Fedora rawhide, fix building issues. I also plan to play with virtualization to check how Ubuntu and Debian work.
Our Apps and Platform teams took part at a design/engineering sprint on the beautiful island of Malta in May, and we thought we would share some pics to show a peek into “behing the scenes” and people working on the apps and operating system.
The sprint itself was a great experience, with over 150 people, engineers and designers, working together and planning out the next steps. Refined designs for mobile apps such as Browser, Camera and Telephony suite (Dialer, Contacts and Messaging) were unveiled and implementation got well underway, and on the platform team Scopes are starting to look really beautiful on the phone. There were plenty of tech demos and talks ranging from Cloud to Convergence to Mobile to Internet of Things – it was great to see everyone hacking, designing and discussing together about super exciting things. A good reminder that although Canonical has grown in size, at the core it still feels like a startup in a good sense.
It is an interesting time coming up to the release of the phone hardware, and these two weeks at Malta were a brilliant opportunity for all teams to sync up, work hard and squeeze in some R&R in the evenings too. Sun, great grilled seafood and the historical buildings of Valeta – it was fantastic to work in such a beautiful setting, and we cannot wait to get all the new goodies in the hands of people.
Ubuntu Online Summit starts today with talks and sessions on all matter of stuff related to Ubuntu. It opens with the highlight of the summit, KDE Frameworks - Libraries for all Qt users a talk about the 50-odd framework libraries KDE is releasing and how they will be useful to all Qt programmers. The excitable David Edmundson introduces the current status and what works well.
Welcome to the Ubuntu Weekly Newsletter. This is issue #371 for the week June 2 – 8, 2014, and the full version is available here.
In this issue we cover:
- A new era for the Ubuntu community team, or business as usual
- Welcome New Members and Developers
- Ubuntu Stats
- Ubuntu California Local Community Team & OCLUG held an Installfest at Fullerton
- Ubuntu 14.04 LTS release party + Offline meeting 14.04 Tokyo
- Ubuntu Cloud News
- The Fridge: Alternate Meeting Channel
- The Fridge: Renewed call for 12:00 UTC Membership Board Nominees
- Jamie Strandboge: Application isolation with AppArmor – part IV
- Adnane Belmadiaf: How I Did Make The Ubuntu HTML5 Range Slider
- Canonical News
- In The Press
- In The Blogosphere
- Ubuntu Community Team Q&A – 3rd June 2014
- Core Apps Discussion – 5th June 2014
- Ubuntu Podcast from the UK LoCo: S07E10 – The One with the Ultimate Fighting Champion
- Weekly Ubuntu Development Team Meetings
- Upcoming Meetings and Events
- Updates and Security for 10.04, 12.04, 13.10 and 14.04
- And much more!
The issue of The Ubuntu Weekly Newsletter is brought to you by:
- Elizabeth K. Joseph
- Paul White
- Diego Turcios
- And many others
Except where otherwise noted, content in this issue is licensed under a Creative Commons Attribution 3.0 License BY SA Creative Commons License
The quickest way to set up your own WebRTC trial is to install the repro (reSIProcate SIP proxy) packages for your preferred Linux distribution and then copy JSCommunicator into a directory on your web server.
My earlier blog get WebRTC going faster gives specific examples of entries needed in repro.config..WebRTC Calling from Android
I've continued to have success making and receiving calls with both the Firefox and Chrome apps on Android. This is a great way to reach out to friends and family using free software for communication.
More details and some screenshots are available in my earlier blog on Android WebRTC.
display-dhammapada is a small package I have been maintaining for the last 2 years and I recently found the time to update. Verses from the English, German, or Polish translations of the
Dhammapada are displayed, either in a terminal or graphically.
With the update display-dhammapada to version 1.1 The German translation was added and titles are now displayed in the appropriate language.
The source code is located at my web site as well as a 64 bit .deb and .rpm (in the Debian and Fedora directories).
The program itself can be compiled as follows
tar xzvf display-dhammapada-1.1.tar.gz
sudo make install
To remove the program:
sudo make uninstall
As part of the Ubuntu Server team's participation in the Ubuntu Open Summit, we'll be running two Q&A sessions this week aimed at Ubuntu Server users. We want to gather questions from the community both before and during the event, so that users can get direct and authoritative answers from those in the know.
This will be the first Ubuntu Open Summit, combining the previously separate Ubuntu Developer Summit and Ubuntu Open Week events. The event will run online, with live video streaming and participation using Google Hangouts and IRC. See the schedule for details. Sessions will be recorded and the videos will be available afterwards.
Alternatively, and for more interactivity, there will be an IRC channel that we will monitor during the sessions themselves.Ubuntu Server Security Q&A
Currently scheduled for: Tuesday (2014-06-10) 19:00 - 19:55 UTC
Also known as "Security team reads mean tweets", Marc Deslauriers and Seth Arnold of the Ubuntu Security Team will be on hand to answer all questions security.
If you want to know how to secure your freshly installed Ubuntu Server, the pros and cons of various individual hardening approaches, how to make sure that your system has received a particular security update, or have any other question related to Ubuntu Server and security, this is your opportunity to find out.
And of course, I presume everyone wants to hear the Ubuntu Security Team read mean tweets!Ubuntu Server systemd Q&A
Currently scheduled for: Wednesday (2014-06-11) 18:00 - 18:55 UTC
Following a long debate, Debian chose systemd in Februrary as the default init system for its upcoming "jessie" release, and Mark has confirmed that Ubuntu will follow Debian and also switch to systemd by default.
What are the implications of this move for Ubuntu Server users? Will 16.04 switch to systemd, and if so, when? When will Ubuntu Server users need to rewrite all of their custom upstart jobs?
Dimitri John Ledkov, an Ubuntu Core Developer closely involved with the systemd switch, will be online to answer your questions.Submitting questions
We'll accept questions at any time, including during the event on IRC. Or if you know what you'd like to ask already, please post them to Reddit or to the Ubuntu Server mailing list and we will pick them up and prepare answers for you.Schedule changes
Please keep an eye on the schedule in case it changes!
500 Linux compatible games are now on Steam which is a pretty great number to point anyone at. No longer will people keep stating “but Linux has no games”, but sadly they will say Linux has very little AAA games which is true, but this will be a gradual build up of course.
Once the Steam Machines/SteamOS are released, and if they are successful we should see the number rise even quicker.
Submitted by: Liamdawe
The bottom edge swipe gesture is simple and accessible for users, so it’s strategic for application developers. By giving instant access to the most needed settings, controls, and views through the bottom edge, app developers have a powerful tool for crafting more useful and usable experiences.
In earlier postings we’ve talked about how the bottom edge can be harnessed effectively, but helping users to get curious about this special place on the interface is the key to unlocking the full value of an app. The solution is simple and elegant: smart cues.What is a cue?
On first glance, the bottom edge cue is just a tiny label space that pops up when an app is opened, looking much like a simple tab or handle. When the user grabs it, or simply swipes up, anywhere along the bottom edge, the edge is activated normally.
The cue component can stay on screen as a label, or retract to a minimal handle that doesn’t clog the screen or distract from the user’s primary task. Finally, and perhaps most interestingly, the cue can become an app indicator bar, reminder the user about which settings are currently selected.How to cue
For many apps, the bottom edge is ideal for providing a simple, always-accessible way for users to compose a new item like a message, note or add to a list of things. A cue for this purpose can be as straight forward as a “Create New” text label that slides up when the app is loaded to remind users of the action, but then retracts neatly to either a simple handle, or altogether, as the user interacts with other parts of the application. The minimized cue can remain on top of the screen if desired, providing users with an unobtrusive but persistent cue.Combination cue and indicators
While a simple cue such as “create new” may be just right sometimes, but in some cases where settings or controls are located in the bottom edge, cues can work even harder, providing the user with an indicator bar of current setting. For example, in the camera app, the bottom edge cue shows the current flash setting and whether GPS tagging of photos is enabled. If the user triggers the bottom edge, controls for all of these settings are revealed.Please and cues
Before you finalize your app design, think about how the bottom edge can help you deliver the most pleasing and effective user experience. Part of this plan should include the best use of the bottom edge cue, either as a label, a settings indicator, or both. Make it easy for users to discover what the bottom edge can do, and get more from your application.
RoboLinux is an impressive traditional Linux desktop distro. It could be an ideal vehicle for both enterprises and SOHOs to make the migration to Linux.
It comes with a few extra features that solve some of the potential problems of leaving other desktop platforms. One of its more enticing migration tools is a preconfigured virtual machine add-on that greatly reduces the IT burden of setting up Windows XP or Windows 7 to run in a VM environment within the Linux distro.
The website gives the impression that RoboLinux is unique in that it lets you run Windows in a VM setting that is immune to viruses and malware. However, all Linux distros are immune to the targeting attacks of decades-old viruses, as well as new malware. Running Windows in a VM setting within any VM-capable Linux distro will achieve the same degree of safety for Microsoft Windows.
Submitted by: Jack M. Germain
The theory to get faster internet is to have faster networking devices, from network adapter, cables or high speed wireless router and also a fiber internet.
Load balancing is a technique to distribute packets to multiple gateways. Aim to optimize our available resources and the most important is to maximize throughput. Using multiple connections with load balancing instead of a single connections may increase reliability through redundancy.
On Linux operating systems, route command has many options. One of them are nexthop option. The next hop, or gateway, is the address of the next station to which the packet is to be sent on the way to its final destination.
If you are using both cable and wireless, operating system such as Linux or Windows will choose which one has the lowest latency to the gateway. In this case, cable will be always the winner.
How to maximize your available resources ? The command is simple, when you are connected to both cable and wireless, just type ip route del default scope global ; ip route add default scope global nexthop via 192.168.0.1 dev eth0 weight 1 nexthop via 192.168.1.1 dev wlan0 weight 1 && ip r
ip route del default scope global - to remove the default gateway that operating system has already choose for you based on the latency to the gateway.
ip route add default scope global nexthop via 192.168.0.1 dev eth0 weight 1 nexthop via 192.168.1.1 dev wlan0 weight 1 - this command will define your gateways for your selected network adapters. You will need to readjust your gateway addresses depending on your networks configuration. In my case, my gateway for my cable connection is 192.168.0.1 and my gateway for my wireless connection is 192.168.1.1. Please notice that my wireless adapter name is wlan0.
ip r - this command will show your gateways. You will see the outputs. For example,
root@linux:~# ip r
nexthop via 192.168.0.1 dev eth0 weight 1
nexthop via 192.168.1.1 dev wlan0 weight 1
This script will do the magic job. When i connects to my wifi, it will automatically runs the load balancing script.
if [ "$IF" == "wlan0" ]
case "$2" in
ip route del default scope global ; ip route add default scope global nexthop via 192.168.0.1 dev eth0 weight 1 nexthop via 192.168.1.1 dev wlan0 weight 1
Put it on /etc/NetworkManager/dispatcher.d/ and name it as 90loadbalance.sh. This "90" in the name of the script means that this script will be executed in the last 10% of all scripts if you have a bunch of scripts to execute. Dont forget to make it executable.
p/s - if you use desktop computer, you can install wifi usb adapter. You can try to install 3 or 5 network adapter (wifi, ethernet) to your desktop or laptop and readjust the command depending on your devices and gateways. Practically it will work, but i never tried. You also can make the script to run periodically, persistently by putting it to the crontab.
Cast iron cookware is considered some of the best and most amazing stuff that anyone could ever cook with. My grandma gave me a cast iron dutch oven a while back and I never had the chance to use it because it was rusty, too big to use, and I haven't been camping in a long time. She recently passed away and my grandpa let me have the cast iron cookware.
This landed me with a decent amount of cast iron cookware, most of which was rather rusty and just kinda bad looking. It's not that they weren't cared for. Cast iron is something that you need to keep using to keep a fresh coat of seasoning on. If you don't use it, the seasoning can become ineffective and then you wind up with air and moisture getting to it. Air, moisture, and iron make rust.
Cast iron is a challenge to restore but I guarantee the reward is worth the effort.Why Cast Iron
Cast iron is amazing, but only if you understand why.
- Can almost always be restored
- Holds up to high heats (if heated evenly, like in an oven)
- As non-stick as non-stick pans get
- Is non-stick without the Teflon crap that can't handle higher heats)
- Will last your lifetime
- Can be found for very cheap
- No soap! (Don't use it!)
- Excellent heat distribution (the #1 point)
- Retains heat extremely well (the other #1 point)
- You get a little bit of iron in your diet
So, you're going to buy cast iron or looking at some now or considering looking around for it or... whatever you're doing, I don't care. You have or want cast iron cookware. You should know what you're looking at and why you do or don't want it. I learned a lot in short order and here are my foot notes.
Much cast iron cookware is not marked with a brand. It takes some research to know what particular markings mean.
Common older brands:
- Birmingham Stove & Range (BSR)
You're not likely to run across anything older than 1700.
If the cast iron has a "gate mark", it is older than 1900. Gate marks happened when the pan was broken out of the mold. Between 1875 and 1900, they were phased out by injecting the mold at the lip of the pan instead of the bottom.
Originally, cast iron was made to fit on top of a wood stove. Wagner, Griswold, BSR, and Lodge made stoves and then made the pans that would fit those holes. This is what the size printed on the pan means. It roughly means the diameter, but not always. For a time, they were produced with a heat ring which would set right inside of the hole to help keep the pan centered. The heat ring disappeared in the late 1970's.
If the heat ring is very neat to the edge of the pan and the pan has a sharp sloped edge, it was produced prior to 1950.
If it has "Made in <anywhere>" printed on the bottom, it's made after 1960.
"Wagner 1891 Original" was produced in the 1990's.
BSR changed from <number>/<letter> to "NO. <number>" in the 1950's.Brand
If the brand isn't printed, these are some clues to who produced it. A pan may or may not have all of these characteristics. Example: A BSR pan either had the <number>/<letter> size or it had NO. <number> for size, but not both.
- Three notches in the heat ring
- Very rounded script used for the numbers
- Used "SK" for Skillet
- An extra handle opposite of the handle
- Heavier than Wagner
- Cornbread pan with an open hole
- INCH and description "SKILLET" is spelled out completely
- Typewriter style font
- Angled handle (comes to a point)
- Italic font for size
- The size is perpendicular to the handle
Chicago Hardware Foundry:
- Dented surface (like a golf ball)
- Weight is between Lodge and Wagner
- Extremely smooth surface
- Solid round heat ring
- Size will also have a letter or two (the mold letter)
- Angled ridge on the bottom of the handle
- "NO." number abbreviation
- Cornbread pan without an open hole
Made in Asia:
- Rough surface
- Saucepan with wooden handle
- Generally poor quality iron
- Ridges on the top of the handle
- No, they don't have lead in them
Everything listed here, except Asian cookware, is generally great quality.
Anything produced by Favorite Stove and Range (very light), Wapak (very light), or Martin Stove Company (very heavy) are also great brands. Most iron produced in Asia was done with low quality iron.The New Stuff
New cast iron is fine and usually comes pre-seasoned. The quality is supposedly just as good as fifty years ago, however, the pre-seasoning means something to the pan. In order to properly pre-season, they need to make the pan rough so there is something for it to adhere to. This extra roughness causes sticking and isn't much fun to clean.
Many people will strip the seasoning off and then grind the pan smooth(er) and then re-season it. They usually feel that the seasoning they put on is better anyway. This is likely true. It's especially true if you do a great seasoning job. Pre-seasoning is usually done with soybean oil. This makes the older stuff much more enticing.Cleaning Cast Iron
There is a lot on the internet about cleaning up cast iron and making it look pretty and amazing. Well, I tried a lot of it and a lot of it utterly sucks. I even bought a nice Dremel tool to clean it up. It's a great tool to have, but not useful for this job.
Electrolysis works, but it's not something I had handy or the motivation to build, so wasn't an option for me.Really Bad
If your cookware is full of gunk, crap, rust, stuff, and other things, then it might very well fall into this category.
The best thing to do is clean it with a green scrubby pad as well as you can without water and then wipe it clean with a damp rag. Put it upside down in your oven and put the oven on self-clean. How long it stays in there depends on how bad the build-up is.
When it's done, LET IT COOL! If you force the oven door open too soon or open it after the oven has cooled but the iron hasn't, you risk a drastic change in temperature. This change can cause the cookware to either warp or crack. When taking the cookware out, everything that was caked on should just fall off. It might not be unwise to suck up the flakes on the pan with a vacuum hose before pulling them out. Yes, rust will remain.
Once out, wash the pan with cold water and soap. The soap will help remove any lingering oils and rust. Use a green scrubby pad and some mild dish soap. Once it looks shiny and new, rinse it extremely well. You don't want any soap to remain. Dry this extremely well right away or rust will form. Do not use warm water or the rust will come back faster.
You can now move on to seasoning it.Not That Bad
If it's not in bad condition, you may get by with just scrubbing it well with a green scrubby pad and mild dish soap, then rinsing well with water, and drying immediately might be all you need.
Sometimes a soak in vinegar can help loosen some rust. Just remember that water is the enemy of cast iron. Keep it dry when not soaking.
If it's not bad, sometimes you can season right over top of tiny amounts of rust. When coating with oil, you'll actually take some of that thin layer too.Seasoning
This one is tricky, there are thousands of methods out there and they're all basically the same but very different.
The oil/fat you use will make a big impact. If you choose something like Crisco that has a low smoke point you will have to bake it at a much lower temp and you end up with a softer finish.
After much research, I found that the best option is flax oil. Flax oil has a smoke point of 520 °F which means you can bake it at 450 °F without worry. Flax oil and the high temp produce a very hard seasoning that won't break down so easily over time and gives a very nice black appearance.
I chose organic flax oil because it had nothing else added. The other stuff I found had extra flavorings and I didn't want that inside the iron. I wanted just the flax oil.
Flax oil and linseed oil are basically the same thing, but they are very much not interchangeable. Don't try.
Just put a small amount of oil on the pan and coat the whole thing. Use the oil sparingly. You just want to get the whole piece wet with oil. Once you've hit every part of the pan, wipe it down with an absorbent paper towel. You should no longer see any streaks from the oil. This is key to making it look nice. If it's too thick, it will pool or drip.
Once your oven is pre-heated to 450 °F, you're ready to put your piece in the oven. Leave it in there for 30-60 minutes. Turn the oven off and let it cool with the door closed. Once it's cooled completely, take it out, put another thin layer of oil on it, wipe it down, and repeat the kiln process. You may need to repeat this process three times.
On your last baking cycle, leave it in the oven for up to two hours. This helps ensure your finish will be rock hard. On the last pass, just as it gets cold enough to handle carefully, I will flip the pan over and put just a small amount of oil on it where the iron touched the rack. I do this all inside the oven to prevent hitting the iron with too much cold air.
That's all there is too it! A lot of text here, but after doing it once, it's as hard as Crisco.
Once you have a good seasoning, just using it and caring for it is enough and you shouldn't have to ever season the inside again. It's possible you may have to touch up the bottom from time to time, but that shouldn't be anything more than baking it with some oil on the bottom.Using Cast Iron
Now that you have you're cast iron cookware, know who made it, how old it is, and have seasoned it to perfection, it's time to cook with it!
The number one tip when using cast iron is to NEVER turn you're burner to high. This is exponentially more true with electric burners. If you put the pan on a very high heat, the bottom will heat faster than the rest of the pan. If this happens too rapidly, the edges won't have time to expand and the pan will warp. This isn't instant. Over time, it will ruin the pan. Electric burners tend to focus heat which makes this even easier to do.
Start your burner on low and let the pan warm up before turning up the heat. You shouldn't ever need to bring it up above medium or maybe medium high heat. High should be avoided like your crazy ex, especially with an electric range.
Obviously, you'll probably be cooking with oil. I recommend using either peanut or olive oil. Olive oil is a bit pricey but gives the best flavors and peanut oil is the best of the cheap options. They give great flavor and help maintain an amazing seasoning.
Once your up to temp, you'll stay there cast iron doesn't lose its heat just because you dropped something cool on it. It keeps a very nice consistent and even heat. That's part of why we love it so much.
If you want a steak that has an excellent crust, pre-heat a cast-iron pan to 400-500 °F (if you used flax oil) in an oven. Take it out out of the oven and sear the steak on both sides for three minutes each side. Put it back in the oven for another three minutes on each side. If you have two cast iron pans, one can be used to sandwich the meat and cook both sides at once.
The lower temp you cook your food at, the better it will end up. On medium-low heat, get some oil sizzling. Take stems off some portobello mushrooms and put them stem side down in the pan. Put them on the side of the pan and they'll cook themselves. Put a ground beef patty in there, wait a while, flip, wait, toss on a slice of cheese, take it all off, but don't stop! Take a bakery fresh bun, split it, and toast in the remaining oil. Now you're ready for the best burger ever. Bonus points for using grass-fed ground beef.
Make sure to not cook things too hot. If you do, grease will splatter and create a mess. This mess will probably form letters. It might look something like "I don't know what I'm doing."Cleaning Cast Iron
You just finished your amazing meal and you realized what you've been missing in life. It wasn't a dog! Now you have to clean. Take a paper towel and wipe it down. Done. Stop arguing, you're done cleaning it!
If you really insist, you can let it cool, rinse with cold water, and wipe down again. Really, though, that's it.
Don't use soap unless you plan to start seasoning from scratch immediately. Just don't use soap. Absolutely NEVER EVER use the dish washer. NEVER! Did I make my point well enough? Don't ever do it! Want to clean everything off of it and start from scratch? Still, don't ever use the dishwasher.Conclusion
Well, there we have it. Everything I know about cast iron at the moment is right here. I hope this will help many others learn to love cast iron cookware and care for it properly.
I’ve been learning about android development over the last few weeks, and I think I’m slowly getting the hang of best practices.
It’s a bit tough, there’s a lot of stuff that’s not super Java-idomatic that’s become Android-idiomatic, so getting over that stuff has been interesting.
I’ve been finding that Android tends to re-implement most things in a similar enough way, but always with some small tweak that feels kinda funny.
It’s working well enough, and I’m hoping that I can clean up a few android libraries to deal with some of the OpenGov datasets I’m interested in.
If anyone has any tips on proper handling of what to make a fragment, and what activities should look like, I’d really love posts about that.
It seems like sometimes I have a 1-to-1 mapping of Fragments to Activity, but I want to keep it a fragment for large devices.
Anyway, best practices welcome.
Full Circle Podcast Episode 41, Trusted To Fail!!
Welcome to our new format show, there are several changes from the previous format, the most important being we are now recording together at the Blackpool Makerspace in the office. This Episode we Test Ubuntu 14.04, Review of Official Ubuntu Server Book.File Sizes:
- OGG 34.2Mb
- MP3 58.4Mb
Running Time: 1hr 00mins 49seconds
Feeds for both MP3 and OGG:
RSS feed, MP3: http://fullcirclemagazine.org/category/podcast/feed
RSS feed, OGG: http://fullcirclemagazine.org/category/podcast/feed/atom
The podcast is in MP3 and OGG formats. You can either play the podcast in-browser if you have Flash and/or Java, or you can download the podcast with the link underneath the player. Show notes after the jump.
- Les Pounder (blog at http://bigl.es twitter @biglesp)
- Olly Clark (blog at http://www.ollyclark.org/blog twitter @ollyclarkdotorg)
- Tony Hughes (blog http://tony-hughes.blogspot.co.uk/ twitter @TonyH1212)
02:08 | WELCOME and INTRO:
Welcome to our new studio recording format. Here are a couple of pictures from the recording:
02:35 | Since Last Time
- Tony - Starting to get used to his new life of leisure by getting very busy doing lots of stuff. He attended a local computer auction and bought a couple of Lenovo X200s laptops and have been playing with these. Also He’s been getting frustrated with LMDE, as he said on the last show he’s been having issues with audio in LMDE. He’s now found out that it gobbles up HDD space, only installed this system about 3 months back on a 160Gig HDD which should give loads of space for applications and updates but he has started to get the low disc space warning. Even having transferred all the data he can off the drive to other storage and given the remaining space taken up in the home folder is only around 7Gb The OS has swallowed up nearly 130 Gb of space. In the end he had to reinstall Mint 16 to regain a workable system.
- Les - Has spent a lot of time in recent months working with a class of young hackers from Mere Side Primary School in Blackpool. They designed, built and tested an emergency beacon power by Raspberry Pi and PiGlow from Pimoroni. They entered a competition from PA Consulting to find the best use of technology for the environment. It was our first time in the competition, and they came second in our group, a great result for the children. He have also been working with the Department for Work Pensions, hosting a hackday using robotics and the Raspberry Pi using Pibrella from Pimoroni which is an awesome piece of kit for £10.
- Olly - Well it’s been a roller coaster couple of months for him, he left his old job as some of you who follow him on social media may have seen he has set up a business with a very good friend of his to provide a complete IT, Data & Telephony support service to startup and medium sized businesses including a package they’ve dubbed “Business In A Box”. The good news for this podcast is they have made a commitment to run their business and deliver their services utilising Free and Open Source Software wherever possible, so lots more reviews of software and hints and tips will be shared on the show as they set things up and get settled in, so far they’ve setup a VPS running the company website, mail server, file server utilising NFS, LDAP and Samba (their Admin Assistant/Bookkeeper uses Windows so they needed to share files with her). Shortly they’ll be setting up a PBX using Asterisk so they can have a business number they can stay connected to anywhere. This is going to be quite a challenge for business partner Matt as he comes from a Microsoft and Proprietary Unix background and uses a lot of Apple products for personal stuff, including an Iphone and a MacBook Pro. So far he seems to be taking to it well, using the Motorola Moto G as a defacto business handset (we know it’s technically not FOSS software!!) he’s quite impressed with the quality of the phone for the money and how much android has come on since he last saw it, which would be around 1.4. they have also procured Lenovo ThinkPad X240s and installed Linux Mint with Cinnamon Desktop Environment on them which Matt likes, he has also been experimenting with installing Ubuntu Server edition on a few bits of old redundant hardware as we will more than likely be using it for a standard VPS build, more about that later.
10:47 | NEWS
- Ubuntu 14.04 Trusty Tahr was released on the 17th April 2014, its the first long-term support release with support for the new “arm64″ architecture for 64-bit ARM systems, as well as the “ppc64el” architecture for little-endian 64-bit POWER systems. This release also includes several subtle but welcome improvements to Unity, AppArmor, and a host of other great software. http://fridge.ubuntu.com/2014/04/17/ubuntu-14-04-trusty-tahr-released/
- Ubuntu One the file sync storage and multimedia distribution services has been axed by Canonical, the service will cease to sync from the 1st June 2014 and your data will remain available for download until the 31st July 2014 after which date your data will be deleted as the servers will be closed down. Music purchasing has now ceased. Now might be a good time to take advantage of the SpiderOak promotional code in the latest edition of the magazine. http://blog.canonical.com/2014/04/02/shutting-down-ubuntu-one-file-services/
- Linux Foundation to run as a Massive Open Online Course (MOOC). The Linux Foundation has joined up with edX to release its ‘Introduction to Linux Course’ free to the community you can find more information here. http://aq.be/7a124e
- Google has now done a u-turn on it’s controversial Google+ integration after upsetting the Youtube Community earlier this year, forcing it’s users to activate a G+ account so that they could comment on videos and respond to comments on their own videos. Is this the beginning of the end for Google’s Social Networking service which has attracted a fair amount of criticism and controversy over it’s 3 year life. http://www.zdnet.com/google-plus-is-turning-negative-but-dont-bet-on-it-going-away-7000028831/
- New from the Pi foundation – on 7th April they released information about the new Pi compute module, this is basically the Pi chips on a board the size of a laptop SODIMM that can be plugged into a board with input and output ports provided by the foundation or that can be designed independently. the link to the blog is: http://goo.gl/9Q0hCN
25:28 | LINUX LABS – Ubuntu 14.04 Testing
- This experiment was a test of installation and usability of Ubuntu 14.04 on 3 different hardware specifications.
- First was the minimum requirements, an “emachine” Intel Celeron 700Mhz with 768Mb RAM.
- The Second was the preferred specification for running Unity Desktop a Compaq Intel Pentium 4 1.6Ghz with 768Mhz RAM
- The Third was a reasonably modern specification of a Lenovo ThinkPad X220 with a 1.8Ghz Intel Core 2 Duo Processor with 2Gb RAM
- We used the Ubuntu 14.04 32Bit DVD ROM install media.
- After an hour of waiting for the installation to complete on the emachine PC we declared it lost as the installer had made no discernible progress what so ever. We then downloaded the Lubuntu 14.04 32Bit installation media and tried again with that.
- The Lubuntu installation also failed, which is meant to be a lightweight distro!!
- The Compaq managed to install 14.04 but that was about as good as it got, it took 10 minutes to boot to the Login prompt, another 5 minutes to get the desktop and Unity dash to load. It ran pretty sluggishly from then on.
- The only real success was the Lenovo, which installed in around 20 minutes and ran pretty smoothly.
- We didn’t get time to test the usability of the OS due to the time spent installing the various flavours of Ubuntu
39:01 | REVIEW - Official Ubuntu Server Book Third Edition by Kyle Rankin & Benjamin Mako Hill
- This book is recommended as a no experience required introduction to the most common Linux/Ubuntu Server technologies. http://www.amazon.co.uk/Official-Ubuntu-Server-Book-Edition/dp/0133017532
- The first part of the book takes you through the history of GNU/Linux and the history of Ubuntu and Canonical includes some of the structure a organisational decisions in the Introduction, 26 pages of it!! this seems a little superfluous as I don’t think anyone who’ll pick this book up will be unfamiliar with Ubuntu/Canonical or will read this section as they are looking for a technical guide to administering Ubuntu Server.
- The next few chapter take you through the installation process, disk partitioning explaining the different types of partition and disk system formats and why you choose one over the other, also a brief guide to the file structure of the Linux operating system.
- Then look at various server roles which you will select for your server, these are preconfigured profiles for packages and software to be installed so that a server can perform a particular role, such as mail server, web server, DNS and so on.
- The book then moves onto installing specific software to undertake a specific server task such as email and web server walking you through installing Postfix, Dovecot and Apache. The book does discuss some of the options available to you during installation and configuration but it does guide you towards the a standard setup that you would expect for most situations.
- In summary if you are relatively new to Linux servers and want a first timers approach where you can get up and running fairly quickly with things like running a webserver then this a great book for you, well explained with a very straight forward approach. But I would add a word of caution here, more complicated operations such as running a mail server I would move on to something more detailed after reading this book such O’Reilly’s Postfix & Dovecot books as you do need quite and in-depth knowledge of the subject.
46:18 | EVENTS
- Manchester Girl Geeks Bracamp 2014 – They’ve done it again, this years it’s bigger at better, now being held at Manchester Metropolitan University in the Geoffrey Manton Building http://mggbarcamp14.eventbrite.co.uk http://manchester.girlgeekdinners.com/
- Coder Dojo – Blackpool – We’ve talked about Coder Dojos before on the show, now hosts Olly and Les have got involved with a new local one in Blackpool. For those who missed our discussion previously, Coder Dojos are free monthly workshops where children can learn all about coding and computing via carefully curated lessons. The main site is http://coderdojo.com/ and Blackpool’s site is at http://blackpoolcoderdojo.org.uk/
52:10 | FEEDBACK
- We received this via Twitter from Gnu To Linux @GnuToLinux on Apr 14 @FullCirclePod glad the podcast is back and enjoyed listening but considering the full circle name it seems you all run Mint :p
- We had some other feedback from a troll in the comments section of http://fullcirclemagazine.org/2014/04/05/full-circle-podcast-episode-40-the-man-that-slept/
55:33 | OUTRO AND WRAP
Full Circle Magazine #85 is out now.
Comments: on this page, using the comment form, OR;
Send us a comment to email@example.com
tweet us @FullCirclePod or by using the hashtag #FullCirclePodcast
You can also send us a comment by recording an audio clip of no more than 30 seconds and sending it to the same address. Comments and audio may be edited for length. Please remember this is a family-friendly show.
Please note: this podcast is provided with absolutely no warranty whatsoever; neither the producers nor Full Circle Magazine accept any responsibility or liability for content or interaction which readers and listeners may enter into using external links gleaned from this website, forum or podcast series.
Creative Commons Music Tracks
Opening: ‘Achilles’ by Kevin Macleod
Main Theme: ‘Revolve’ by His Boy Elroy
Catch Up to News: ‘Dance Zone’ by Unknown
News to Linux Labs: On the Run 1 By Unknown
Linux Labs to Review and Review to Feedback: Iron Man By SoundJay
Censor at: 39m 47s: Train Honk Horn Clear by Mike Koenig
Censor at: 59m, 43s: Dog Barking Sound Effect by Jace
The latest version of this branch of the stable Linux kernel, 3.10.41, has been announced by Greg Kroah-Hartman and comes with quite a few changes and fixes.
The amount of changes and enhancements for this branch of the Linux kernel is rather large and the developers have added numerous drivers and other improvements. This is an LTS release and it’s likely that it will be updated for a long time.
If you are using any of the versions released until now in the Linux kernel 3.10.x branch, it’s recommended that you update to this current version.
Submitted by: Silviu Stahie
The developers from The Document Foundation have released a new build in the LibreOffice 4.3 Beta branch, bringing even more changes than the latest update in the series. It looks like 4.3 will be quite interesting, but it’s going to take a while until it’s released.
Some fixes, according to the changelog, are the upper margin of the multi-page floating table for WW8 import has been fixed, the wrong text position in grouped list has been corrected, the direct formatting for numbering in .DOCX is now handled correctly, and numerous other fixes have been implemented.
Remember that this is a development version and it should NOT be installed on production machines. It is intended for testing purposes only.
Submitted by: Silviu Stahie
ddate is a utility to display the Discordian date with a colorful history. It was removed from util-linux but the source code is still available on GitHub
Click the “Download Zip” box on the left.
save / extract in ~/src
sudo make install
There is no uninstall script, so to remove,
sudo rm /usr/local/bin/ddate
sudo rm /usr/local/share/man/man1/ddate.1.gz
I’m laughing hysterically since saw this picture 20 minutes, and I still can’t stop!
Wow, so Apple Macs are made on Windows? pic.twitter.com/fOqZUJezGj
— Linux (@Linux) June 7, 2014
The picture shows CEO of Apple Tim Cook visiting a Mac production facility in Austin, Texas, and the iMacs behind him are running on Windows XP! Apple makes their own OS but their machines are made on Windows? How funny is that?