Journaling on estrip is easy and free. sign up here

Tinypliny's Journal

tinypliny
My Podcast Link

10/16/2011 07:10 #55314

Making a bootable USB in Linux
Category: linux
Sometimes the simplicity of things across all distributions of linux are most refreshing. To burn an iso into a USB and create a bootable USB, I was glad to find out that I didn't need to hunt for programs as I usually do. I could do it in 4 steps.


(e:Paul) would like to remind everyone that this method completely gets rid of all the existing data on the USB drive so do it on an expendable one not somewhere you have all your backup files.



Pull up a terminal.
Pull up the system messages by


tail -f /var/log/messages


This records the realtime happenings on your system

Plug in your USB, you'll see it coming up on the messages window
Let's say its /dev/sdb


At this point (e:uncutsaniflush) would like to say:
You should also note that this only works if your usb drive is "/dev/sdb." If a box has multiple hard drives, it is unlikely that "/dev/sdb" would be your usb drive. If someone had for example two hard drives, "dev/sdb" would be the second one. And thus, all data on the second hard drive would be destroyed. "dd" is a wonderful tool but rather easy to misuse if one isn't absolutely clear which drive is which.


On the terminal again, umount it first


umount /dev/sdb



Go to the directory containing the iso image


cd /directory/that/contains/iso



Then give the simple command to burn the iso into the USB


dd if=file.iso of=/dev/sdb



This will take a while to finish, but yes, it's that simple.
tinypliny - 10/16/11 19:48
Yes! That is an important point. My two hard drives were attached to the comp when I did this and my USB was actually scc or some such thing. Unetbootin is good, but sometimes, it doesnt work for some distros. I wonder why...

Haven't tried imagewriter.
uncutsaniflush - 10/16/11 18:33
You should also note that this only works if your usb drive is "/dev/sdb." If a box has multiple hard drives, it is unlikely that "/dev/sdb" would be your usb drive. If someone had for example two hard drives, "dev/sdb" would be the second one. And thus, all data on the second hard drive would be destroyed. "dd" is a wonderful tool but rather easy to misuse if one isn't absolutely clear which drive is which.

Both unetbootin :::link::: and imagewriter :::link::: are good gui alternatives to using ""dd" in a cli.
tinypliny - 10/16/11 09:22
done, though I sometimes think everyone gets what they deserve for stupidity including me ;-)
paul - 10/16/11 09:17
You should note this destroys all data on the USB drive before some reads this and does it with a drive that conatins all of their backup files.

10/15/2011 10:51 #55304

Diffused Sunlight Simulation
Category: goals
The basic nature of sunlight indoors is that it is never direct most of the times. Almost all sunlight that filters through into rooms is reflected, diffuse and full spectrum (~5500 Kelvin). These three qualities set sunlight apart from artificial light.

The sunlight simulation lamps in the market are mainly high wattage, full spectrum and power consuming lamps. They are targeted at people with SAD - Seasonal Affective Disorders. While I am not convinced I have SAD and need the everyday intensive 1/2 hour to 1 hour therapy that these lamps are regularly recommended for, I am really interested in simulating sunlight at home especially when there is none outside.

I recently went to IKEA and saw this floor lamp, called "Tived".
image
The design is nothing spectacular. In fact, I would call it a bit ugly. But it has flexible arms that can be directed at various parts of the ceiling and walls. It looks like this flexibility could achieve that diffused reflected sunlight feel I want. I almost bought it but it comes with its own set of LED bulbs. I don't like that. I want to be able to readily replace the bulbs if they burn out. The only way to do this would be to get a lamp that holds regular full-spectrum CFLs. None of the more interesting IKEA lamps allow you to put your own bulbs in them.

If it had a few more flexible arms for some more bulbs and it took regular full-spectrum bulbs, it might come close to what I have in mind. IKEA also has a table lamp version of the "Tived" with more arms, but it could be tough to focus the light on the ceiling because of the lack of height. Even if I somehow succeeded in elevating the level of lamp, the bulbs are still the peculiar LED ones. image

I wonder where I can get such a lamp. It would be so cool to have one this winter.

tinypliny - 10/15/11 14:30
IKEA sells Ledare: :::link:::

A range of LED lamps. Maybe I will get one of these lamps after all (if I am sure that the bulbs can be replaced). On their site, they have 3000 and 2700 Kelvin). Both are not full spectrum though. :S
tinypliny - 10/15/11 14:26
More interesting stuff: :::link:::

Maybe LEDs are the way to go. But do they sell full-spectrum LEDs?
tinypliny - 10/15/11 14:17
There is this lamp: :::link::: It might work but it looks uglier. I don't like plastic shades either. They could be a fire hazard.

I like the flexibility of the IKEA lamp better.
tinypliny - 10/15/11 14:02
Glad you brought hydroponics up. Apparently, they use different parts of the spectrum (R, B, G) to achieve optimum rates of growth for various plants, not just the full spectrum sunlight mimicking lights.
tinypliny - 10/15/11 14:00
Yes, it does look somewhat like an abstract art installation. I kind of like it because of that.

Hydroponics is merely growing plants without soil using nutrient solutions: :::link::: I think you can even use cool LED lights of the correct spectrum (~5500K) for growing the plants.
metalpeter - 10/15/11 13:33
I have no idea it looks freaky to me like something from war of the worlds or something..... I wonder about grow lights.... People grow things Hydroponically I wonder if those are supposed to be real sunlight or if they are mostly just heat?

10/14/2011 22:19 #55298

Gadgety Goodness
Category: i-tech
Woo Hoo!!
image

10/14/2011 18:30 #55297

Fedora missing fonts for Gnumeric?
Category: linux
Why are the row and column numbers displaying as numeric placeholder skeletons in Gnumeric??

image

Does Gnumeric use some proprietary fonts that the mighty forces at Fedora have decided to outcast from the distro??

Aaargh. Can one thing be hitch-free for a change??! Apparently not.
tinypliny - 10/14/11 23:15
Stoke the fires, why don't you.
paul - 10/14/11 23:11
Its yours, mine looks totally normal.

10/15/2011 02:40 #55302

Why go minimal?
Category: the odes
And I thought.

What is the meaning of life? Why are we here anyway? Banal questions and the themes of several works of literary merit (or not). But unanswered nevertheless. Where do we go after this life is over? Heaven and Hell and "the great consciousness" seem rather medieval with all this technology surrounding us. It's hard to believe that anyone even gets punished or rewarded for what they do in life here. That sounds like the words of an atheist. But I am not an atheist. I have a TON of faith. Perhaps not in religion, but in people themselves.

I sincerely believe Science cannot exist without this faith in people, in methods, in what we do, faith in our spirit as humans, faith in a better but unknown future, faith that our work is making things better, faith that we are finding meaning in our lives, faith that we will someday be in a better place and faith that we are making progress.

But in the middle of all this hope, what if some of us give out? Sink into death, into the unknown oblivion? Will anyone care? Yeah, maybe. If you are Steve Jobs, people might even cover the walls of the nearest Apple store with post-its. But what if you are not Steve Jobs? What if you are one of the millions who feel impelled to write one of those post-its? Will someone write post-its for you? How many post-its will you get when you leave this life of yours? Will they be enough to cover a wall? Does it even matter?

The pain you will give people by leaving them behind will matter. How will they cope with this pain? Will it be tough for them to see things you lived with when you were... well alive? Was your life so complicated that along with the pain, you leave them with the tough ordeal of going through the complications and the sheer volume of personal effects you lived with. That each little belonging collects the grief and plunges it back into them as they remember you and then realize that you are now gone?

I am not sure what the point of all these morbid musings are. But I don't want people to suffer after I am gone. I want them to know that I lived happily and tried to do my part. It doesn't matter whether I got anywhere or not. It just matters that I lived most moments happily. I don't want so many belongings that people drown in them and need to hold an estate sale because they don't want any of it. I don't want trivial stuffed toys, knick knacks, I don't want heavily highlighted books and notes with the dried flowers and leaves in them, I don't want anything remotely sentimental and pain-inducing. I don't even want a bed. It does sound pretty clinical and detached but I want to wrap up this life as cleanly as possible, as minimally as possible and when its time to leave, I want leave quietly and completely at ease, and smiling. Because I am not sure I know entirely what the meaning of all this existence is, I just don't think it's worth the drama and pain we bring to people when we let it all go.

And no, I am not sad. I just want to break this chain linux based whingeing that I have been indulging in for the past so many posts with some free-writing on a very non-specific stream of thoughts that just came over and needed written expression.