Category : cycling

Smarter Alexa

The fight of the smart speakers has become a constant back and forth between Amazon and Google. Last April, Google Home represented an ability to recognize individual voices. It allows the device to personalize its response for everyone in your house. This way, you’ll get your calendar briefing or curated music playlists when asking Assistant for them, and Google won’t mix up contacts when you call someone with the Home speaker. Today, Amazon announced that Alexa can now do the same thing.

You can set up recognition using the Echo, Echo Dot, or Echo Show. You will be asked to read aloud 10 phrases, and Alexa will then use that data to create a voice profile. After that’s done, voice profiles work across other Echo devices and “most” third-party party Alexa-enabled devices.

Author: 1 year ago

The waterproof Kindle

The waterproof Kindle has finally arrived. It’s been 10 years since Amazon has started selling Kindle.  But “waterproof” hasn’t appear on its list of incremental technological advancements until now. The company just announced a new version of its popular e-reader that builds on last year’s Kindle design and now has an IPX8 waterproof rating.

The new Kindle Oasis — the same name as last year’s premium Kindle — has been changed in size, it used to be a 6-inch screen, now it’s a 7-inch screen. It has an aluminum back, which gives it a more premium look and feel than the Kindles with soft-touch plastic.

Author: 1 year ago

Tamagotchis are back!

Do you remember Tamagotchis? There was no moment more painful in my childhood than when my brother took my Tamagotchi, put it in his pocket and it went through the wash…

But today is the day when I can finally forgive him, because six different models will go on sale next month for the pocket toy’s.

All we can say is 90s generation, get ready to put your phones down and fill your time with trying to make sure your digital pet doesn’t die a horrible death.

The new Tamagothis are based on the 97’s design from Japan.

Author: 1 year ago

 

With the vast developments that we have observed in technology above the earlier couple of many years, by considerably one particular of the coolest and most convenient up and coming innovations is heading to be the use of automation to manage every little thing in your house. Automation can be so practical due to the fact you can handle a lot of capabilities during your home with a easy a single touch or motion onto a handle pad. There are numerous great approaches automation can be useful to your each day lifestyle.

Residence Automation Gives Comfort

One of the 1st approaches automation is generating our life simpler is it would allow you to control all the lights in your residence in the palm of your hand. Say you are obtaining comfy on the couch, all wrapped in a blanket, and you understand you need to flip the light in the kitchen off before you can view your film. Or your youngsters are heading out for the night time and you can inform that they left all the lights on upstairs, with various automation units you can management that easily with no leaving the couch. Dim the lights or change them off, you manage it in your hand. With automation, you can shut off lights in any space from any area thus saving your self income on your electrical monthly bill.

Property Automation Offers Comfort

Yet another fantastic gain of automation products is the capacity to use the curtains and blinds from the distant as nicely. One particular of the worst instances is when you get comfortable on a couch to view a movie and you recognize that annoying glare beaming off of the television. Properly, fret no more due to the fact with an automation system you can deal with the blinds and curtains from the comfort of your couch. No a lot more ruining your comfort and ease to be able to see the tv. With automation methods, all of that power will relaxation at the mercy of your fingertips.

Property Automation Supplies Simplicity

With automation methods, the choices are endless. You are also in a position to management the temperature of your house with ease. It also permits you to set up your property stability program from the comfort and ease of your bed room with no getting to wander downstairs and check if you have been not sure. There are quite a few approaches that automation methods can be advantageous and increase your good quality of life and make items in your family operate much more efficiently and effectively. It really is one of the several systems of the long term that are heading to reward our life for years to come.

When you hear the phrase “Property Automation“, you may very easily consider that these kinds of a issue is only viable for people with modern day searching properties and lots of income. What you may well not understand is, as extended as you have the significant factors for residence automation and a small knowledge about wiring and computer systems, you can in fact automate your property.

Why need to you contemplate automating you home and what advantages will you and your loved ones achieve from this kind of a shift? Home automation has gotten a poor rap from some folks seeing it as a lazy man’s paradise, and you can not actually blame some people for this outlook. Possessing your method make coffee, switch lights on and off as effectively as open and close windows with no you lifting a finger might appear like some thing a lazy person could want.

What some people do not know is that house automation goes over and above the automated on and off of HVACs, lights and appliances. This certain technique really provides you a centralized way to get your home arranged and secured. From timing your security techniques to go on and off, to having lighting controls to simulate individuals becoming house when there is no one particular, to telling you that your fridge wants cleaning – all of these can be accomplished with the use of a house automation system.

Of course, along with these will come the convenience of getting ready to system and automate certain jobs from 1 central command center (typically your computer or a pill). Not only will you be able to established timers for your appliances and house programs to change on and off, but you can also set specified specifics for these. You can set your HVAC unit to switch on and continue being at a certain temperature up to a distinct hour and alter temperatures or flip off when that hour is reached. You can also set lighting brightness, window shade angles and the like with this distinct technique.

What a house automation method can truly do for you is much more than just make issues simpler. It also assists preserve you time. Having your coffee ready for you in the morning, when you get up to go to function, is 1 less thing you have to make time for when you are in a rush. One more thing home automation provides you is additional stability and basic safety since you can keep an eye on your property even when you are not there. Environment methods to switch on and off while you are not home can ward off possible trespassers given that this kind of exercise will make them consider an individual is house.

In the finish, getting a property automation method set up in your house is generally helpful to you and your loved ones. You are not able to even say that it is an added cost given that getting these kinds of a method is regarded a good investment, not truly just an price. It can even conserve you from the possibility of theft and losses.

 

Author: 4 years ago

mdadm software raid Raid 1 Xen 6.2

After initial installation of Xenserver 6.2 (DO NOT configure any local storage!)

Check /dev/sda partition table
# gdisk -l /dev/sda
(…)
Number Start (sector) End (sector) Size Code Name
1 2048 8388641 4.0 GiB 0700
2 8390656 16777249 4.0 GiB 0700

Prepare second drive for GPT:
sgdisk –zap-all /dev/sdb
sgdisk –mbrtogpt –clear /dev/sdb

After listing the sdb partition with sgdisk we will get info:
sgdisk -p /dev/sdb
Disk /dev/sdb: 250069680 sectors, 119.2 GiB    –> this is DISK_SIZE !
First usable sector is 34, last usable sector is 250069646

We need to make sure the size is exactly the same as on sda:
sgdisk –new=1:2048:8388641 /dev/sdb
sgdisk –typecode=1:fd00 /dev/sdb
sgdisk –attributes=1:set:2 /dev/sdb
sgdisk –new=2:8390656:16777249 /dev/sdb
sgdisk –typecode=2:fd00 /dev/sdb
sgdisk –new=3:16779264:DISK_SIZE-34 /dev/sdb
sgdisk –typecode=3:fd00 /dev/sdb

in my case DISK_SIZE-34 is 250069680-34=16779264
Pay attention if sgdisk says the kernel is still using the old partition table. You need to reboot if that is the case.

Now it is time (REboot if needed) to create the software RAID devices.

mknod /dev/md0 b 9 0
mknod /dev/md1 b 9 1
mknod /dev/md2 b 9 2
mdadm –create /dev/md0 –level=1 –raid-devices=2 missing /dev/sdb1
mdadm –create /dev/md1 –level=1 –raid-devices=2 missing /dev/sdb2
mdadm –create /dev/md2 –level=1 –raid-devices=2 missing /dev/sdb3

Create bitmaps for each RAID device:

mdadm –grow /dev/md0 -b internal
mdadm –grow /dev/md1 -b internal
mdadm –grow /dev/md2 -b internal

Format the RAID root disk, mount it at /mnt and copy all to it

mkfs.ext3 /dev/md0
mount /dev/md0 /mnt
cp -vxpR / /mnt

Modify /mnt/etc/fstab and change root filesystem to /dev/md0
sed -i ‘s/LABEL=[a-zA-Z\-]*/\/dev\/md0/’ /mnt/etc/fstab

Create a new boot image and uncompress it:

mkdir /mnt/root/initrd-raid
mkinitrd -v –fstab=/mnt/etc/fstab /mnt/root/initrd-raid/initrd-`uname -r`-raid.img `uname -r`
cd /mnt/root/initrd-raid
zcat initrd-`uname -r`-raid.img | cpio -i

Edit init and raidautorun:
sed -i ‘s/raidautorun \/dev\/md0/raidautorun \/dev\/md0\nraidautorun \/dev\/md1\nraidautorun \/dev\/md2/’ init

Copy the new ramdisk to the /mnt/boot folder and modify boot menu

find . -print | cpio -o -Hnewc | gzip -c > /mnt/boot/initrd-`uname -r`-raid.img
rm /mnt/boot/initrd-2.6-xen.img
cd /mnt/boot
ln -s initrd-`uname -r`-raid.img initrd-2.6-xen.img

Replace in /mnt/boot/extlinux.conf string “root=LABEL=root-…” to “root=/dev/md0″ in all menu entries.

sed -i ‘s/LABEL=[a-zA-Z\-]*/\/dev\/md0/’ extlinux.conf
Set up MBR for GPT on /dev/sdb

cat /mnt/usr/share/syslinux/gptmbr.bin > /dev/sdb
cd /mnt
extlinux –raid -i boot/

Reboot (IMPORTANT: Set your server to boot from the SECONDARY HDD before booting!)
When XenServer is up again, include /dev/sda in the array with the following commands:

sgdisk –attributes=1:set:2 /dev/sda
sgdisk –typecode=1:fd00 /dev/sda
sgdisk –typecode=2:fd00 /dev/sda
sgdisk –typecode=3:fd00 /dev/sda
mdadm -a /dev/md0 /dev/sda1
mdadm -a /dev/md1 /dev/sda2
mdadm -a /dev/md2 /dev/sda3

The array needs to complete its synchronisation. That is gonna take a while. Follow its progress with:

watch -n 1 cat /proc/mdstat
When it’s done on all three arrays, copy the RAID setup to /etc/mdadm.conf

mdadm –detail –scan >> /etc/mdadm.conf

Add the md3 as the local storage:

xe sr-introduce uuid=UUID_from_section_3 type=type_from_section_3 name-label=”Local storage” content-type=user
xe pbd-create sr-uuid=UUID_from_section_3 device-config:device=/dev/md2 host-uuid=[TAB]
xe pbd-plug uuid=previous_returned_UUID

Several neat mdadm commands that might be useful to remember:
removing disk from raid:
mdadm /dev/mdX -r /dev/sdX
adding to raid
mdadm /dev/mdX -a /dev/sdX

Author: 4 years ago