repeat with i from 1 to 5
try
do shell script "ping -o -t 2 server.ip.address"
exit repeat
on error
delay 5
if i = 5 then error number -128
end try
end repeat
tell application "Finder"
try
mount volume "smb://username@server/sharae1"
mount volume "smb://username@server/sharae2"
end try
end tell
The reason i'm pinging the server is because the network is slow to start on the Mac. If yours is fast just remove that part.
I found the Script Editor in Applications/Utilities. Save the script then Export it as Application. I did not select any other options.
I am running the Samba 3.6.25 version installed via brew.
]]>
repeat with i from 1 to 5
try
do shell script "ping -o -t 2 server.ip.address"
exit repeat
on error
delay 5
if i = 5 then error number -128
end try
end repeat
tell application "Finder"
try
mount volume "smb://username@server/sharae1"
mount volume "smb://username@server/sharae2"
end try
end tell
The reason i'm pinging the server is because the network is slow to start on the Mac. If yours is fast just remove that part.
I found the Script Editor in Applications/Utilities. Save the script then Export it as Application. I did not select any other options.
I am running the Samba 3.6.25 version installed via brew.
]]>
Dear State Farm Claim Adjustor:
I'm writing in response to your request for additional information concerning my beekeeping accident. Please notice that in block #3 of the accident report form I wrote "trying to do the job alone" as the cause for my accident. You said in your letter that I should explain more fully, and I trust that the following information will be sufficient. I am a hobbyist beekeeper living in the heart of my city. The only place I can keep my hives is on the top of the six-story apartment house where I live.
When I harvest honey I am not allowed to carry it on the elevator or down the stairs becasue I never seem to be able to get all the bees off of the combs. Besides, dripping sticky honey down six flights of stairs creates an ant problem. So I designed an ingenious method, utilizing a pulley mounted at the edge of the roof, and a rope attached to a platform that enables me to lower the heavy honey supers to the ground so they can be taken to a friends house where there is extracting equipment. This past year my hives produced far more honey than usual so I had a bountiful crop to harvest.
On the date of the accident, I was working alone on the roof of this six-story building. I first secured the rope at ground level, then I went up to the roof and harvested eight supers of honey that weighed a total of 600 pounds. I moved the platform over the edge and carefully stacked the supers on it. Then I went back to the ground and untied the rope, holding it tightly to ensure a slow descent of the 600 pounds of honey supers. Now, you will note in block #2 of your accident report form that I weigh 250 pounds.
Due to my surprise at being jerked off the ground so suddenly, I forgot to let go of the rope. Needless to say, I proceeded at a rapid rate up the side of the building! In the vicinity of the third floor, I met the platform coming down...this explains the fractured skull and broken collarbone. Slowed only slightly, I continued my rapid acsent, not stopping until the fingers of my right hand were buried four knuckles deep in the pulley. Fortunately, by the time I had regained my prescence of mind, I was able to hold tightly to the rope in spite of my great pain.
At approximately the same time, however, the platform of honey hit the ground and the honey supers fell off. Devoid of the weight of the honey supers, the platform now weighs approximately 50 pounds. ( I refer you again to my weight in block #2 of the accident report form.) As you can imagine, I began a rapid rate of descent - down the side of the building. Somewhere in the vicinity of the third floor, I again met the platfrom coming up. This accounts for the two fractured ankles and the lacerations of my legs and lower body.
The encounter with the platform slowed me enouh to lessen the injuries I received as I fell onto the scattered pile of honey supers and frames. Fortunately, only three vertabrae were cracked. I am sorry to report that, as I lay there in unbearable pain, my body embedded in the broken, mushed honey combs wet with honey, and unable to sit up, and watching the empty platform six stories above me, I again lost my prescence of mind and let go of the rope. The empty platform, weighing more than the rope, came immediately down upon me, breaking both legs. In the confusion I barely noticed the 50 or so bee stings I received upon the face. That explains my closed eyes and puffy ears. In conclusion, I sincerely hope I have furnished the information you required as to how the accident occured. All because: I was trying to do the job alone.
I found this posted over at reddit.com/r/Beekeeping. I have edited it for my insurance company and approximate weight.
To all my friends, this did not happen to me, i just found this funny and wanted to share it.
]]>
Dear State Farm Claim Adjustor:
I'm writing in response to your request for additional information concerning my beekeeping accident. Please notice that in block #3 of the accident report form I wrote "trying to do the job alone" as the cause for my accident. You said in your letter that I should explain more fully, and I trust that the following information will be sufficient. I am a hobbyist beekeeper living in the heart of my city. The only place I can keep my hives is on the top of the six-story apartment house where I live.
When I harvest honey I am not allowed to carry it on the elevator or down the stairs becasue I never seem to be able to get all the bees off of the combs. Besides, dripping sticky honey down six flights of stairs creates an ant problem. So I designed an ingenious method, utilizing a pulley mounted at the edge of the roof, and a rope attached to a platform that enables me to lower the heavy honey supers to the ground so they can be taken to a friends house where there is extracting equipment. This past year my hives produced far more honey than usual so I had a bountiful crop to harvest.
On the date of the accident, I was working alone on the roof of this six-story building. I first secured the rope at ground level, then I went up to the roof and harvested eight supers of honey that weighed a total of 600 pounds. I moved the platform over the edge and carefully stacked the supers on it. Then I went back to the ground and untied the rope, holding it tightly to ensure a slow descent of the 600 pounds of honey supers. Now, you will note in block #2 of your accident report form that I weigh 250 pounds.
Due to my surprise at being jerked off the ground so suddenly, I forgot to let go of the rope. Needless to say, I proceeded at a rapid rate up the side of the building! In the vicinity of the third floor, I met the platform coming down...this explains the fractured skull and broken collarbone. Slowed only slightly, I continued my rapid acsent, not stopping until the fingers of my right hand were buried four knuckles deep in the pulley. Fortunately, by the time I had regained my prescence of mind, I was able to hold tightly to the rope in spite of my great pain.
At approximately the same time, however, the platform of honey hit the ground and the honey supers fell off. Devoid of the weight of the honey supers, the platform now weighs approximately 50 pounds. ( I refer you again to my weight in block #2 of the accident report form.) As you can imagine, I began a rapid rate of descent - down the side of the building. Somewhere in the vicinity of the third floor, I again met the platfrom coming up. This accounts for the two fractured ankles and the lacerations of my legs and lower body.
The encounter with the platform slowed me enouh to lessen the injuries I received as I fell onto the scattered pile of honey supers and frames. Fortunately, only three vertabrae were cracked. I am sorry to report that, as I lay there in unbearable pain, my body embedded in the broken, mushed honey combs wet with honey, and unable to sit up, and watching the empty platform six stories above me, I again lost my prescence of mind and let go of the rope. The empty platform, weighing more than the rope, came immediately down upon me, breaking both legs. In the confusion I barely noticed the 50 or so bee stings I received upon the face. That explains my closed eyes and puffy ears. In conclusion, I sincerely hope I have furnished the information you required as to how the accident occured. All because: I was trying to do the job alone.
I found this posted over at reddit.com/r/Beekeeping. I have edited it for my insurance company and approximate weight.
To all my friends, this did not happen to me, i just found this funny and wanted to share it.
]]>
So i have been really busy and negleting this site. I have been working on this blog code re-write project, and a accounting system, plus a re-write of a Property Management system. Working on learning go-lang and rust-lang. Also i have started to get into keeping bees. And that is what is keeping me busy. Not to mention my son Simon. I'm trying to be a good dad for him, and want to spend as much time with him as i can. I'm not sure i'm doing a good job. So honey if you are reading this the people don't need your comments. :-D
I love my wife, she is awesome. God really blessed me with a incredible woman. I'm doing the best to keep her with me. However if she ever leaves me i'm going with her! And i mean it.
Anyway, i'll try to post more interesting stuff. Maybe about the projects i'm working on.
With Rust lang i'm doing a bot for Telegram. It's a Bible bot, so you can send it verses or topics and it will return the verse or verses for the topic. You can also tag verses for reference. It's not up yet, i need to get some db schema issues resolved. However i was able to send a few commands and get lists of the books of the Bible back.
With Go-lang trying to build sensor monitor. Which i got a domain for it. However it's not up yet, so i don't need to share that information. It's using mqtt with Apache Artemis as the messaging system. With the purchase of the domain name i started API for my dns management system. I needed to upgrade it. I wrote the initial version some 10 years or so ago I think it's been 15 years.
Well that's all for now. I'll post more hopefully before the end of July.
]]>So i have been really busy and negleting this site. I have been working on this blog code re-write project, and a accounting system, plus a re-write of a Property Management system. Working on learning go-lang and rust-lang. Also i have started to get into keeping bees. And that is what is keeping me busy. Not to mention my son Simon. I'm trying to be a good dad for him, and want to spend as much time with him as i can. I'm not sure i'm doing a good job. So honey if you are reading this the people don't need your comments. :-D
I love my wife, she is awesome. God really blessed me with a incredible woman. I'm doing the best to keep her with me. However if she ever leaves me i'm going with her! And i mean it.
Anyway, i'll try to post more interesting stuff. Maybe about the projects i'm working on.
With Rust lang i'm doing a bot for Telegram. It's a Bible bot, so you can send it verses or topics and it will return the verse or verses for the topic. You can also tag verses for reference. It's not up yet, i need to get some db schema issues resolved. However i was able to send a few commands and get lists of the books of the Bible back.
With Go-lang trying to build sensor monitor. Which i got a domain for it. However it's not up yet, so i don't need to share that information. It's using mqtt with Apache Artemis as the messaging system. With the purchase of the domain name i started API for my dns management system. I needed to upgrade it. I wrote the initial version some 10 years or so ago I think it's been 15 years.
Well that's all for now. I'll post more hopefully before the end of July.
]]>
Titled: Being Indian...
Management Lesson :
One night when the whole world was sleeping, a thief broke into the house of a washer man.
The washer man was fast asleep but the donkey and the dog were awake.
The dog decided not to bark since the master did not take good care of him and wanted to teach him a lesson.
The donkey got worried and said to the dog that if he doesn't bark, the donkey will have to do something himself.
The dog did not change his mind and the donkey started braying loudly.
Hearing the donkey bray, the thief ran away, the master woke up and started beating the donkey for braying in the middle of the night for no reason.
Moral of the story: One must not engage in duties other than his own.
Now take a new look at the same story.
The washer man was like a typical top management corporate guy.
He had the fundas of looking at the bigger picture and thinking out of the box.
He was convinced that there must be some reason for the donkey to bray in the night.
He walked outside a little and did some fact finding, applied a research approach, figured out from the ground realities that there was a thief who broke in and the donkey only wanted to alert him about it.
Looking at the donkey's extra initiative and going beyond the call of the duty, he rewarded him with lot of hay and other perks and the donkey became his favorite pet.
The dog's life didn't change much, except that now the donkey was more motivated in doing the dogs duties as well.
In the Appraisal the dog managed an "8".
The donkey was rated as "9".
Soon the dog realized that the donkey is taking care of his duties and he can enjoy his life sleeping and lazing around.
The donkey had to live up to his already high performance standards.
Soon he was over burdened with work and always under pressure and now is looking for a switch....
Moral of the story-Remains the same- "One must not engage in duties other than his own"
Titled: Being Indian...
Management Lesson :
One night when the whole world was sleeping, a thief broke into the house of a washer man.
The washer man was fast asleep but the donkey and the dog were awake.
The dog decided not to bark since the master did not take good care of him and wanted to teach him a lesson.
The donkey got worried and said to the dog that if he doesn't bark, the donkey will have to do something himself.
The dog did not change his mind and the donkey started braying loudly.
Hearing the donkey bray, the thief ran away, the master woke up and started beating the donkey for braying in the middle of the night for no reason.
Moral of the story: One must not engage in duties other than his own.
Now take a new look at the same story.
The washer man was like a typical top management corporate guy.
He had the fundas of looking at the bigger picture and thinking out of the box.
He was convinced that there must be some reason for the donkey to bray in the night.
He walked outside a little and did some fact finding, applied a research approach, figured out from the ground realities that there was a thief who broke in and the donkey only wanted to alert him about it.
Looking at the donkey's extra initiative and going beyond the call of the duty, he rewarded him with lot of hay and other perks and the donkey became his favorite pet.
The dog's life didn't change much, except that now the donkey was more motivated in doing the dogs duties as well.
In the Appraisal the dog managed an "8".
The donkey was rated as "9".
Soon the dog realized that the donkey is taking care of his duties and he can enjoy his life sleeping and lazing around.
The donkey had to live up to his already high performance standards.
Soon he was over burdened with work and always under pressure and now is looking for a switch....
Moral of the story-Remains the same- "One must not engage in duties other than his own"
Stephen Haffly reported this issue to me:
Your display server does not support XComposite, or Ecore-X was built
without XComposite support.
Note that for composite support you will also need XRender and XFixes
support in X11 and Ecore.
I have fixed that with the builds. Also someone talked about dual screens being used as one big screen. That is also fixed. When i resolved the build issue that Stephen reported that issue was resolved as well.
I also fixed the Connman Obsolete issue. So you should be able to have both NetworkManager and Connman installed at the same time.
I do not have a Fedora 18 machine, but if i get enough requests i can easily build these packages for 18 as well. Just let me know if you thing it's worth while. Fedora 17 i will not be building packages for, unless someone pays me. :-D
Thanks for using Enligtenment and providing me feedback to make the packages and apps work better. I am looking at packaging up some of the games that are developed with EFL.
]]>
Stephen Haffly reported this issue to me:
Your display server does not support XComposite, or Ecore-X was built
without XComposite support.
Note that for composite support you will also need XRender and XFixes
support in X11 and Ecore.
I have fixed that with the builds. Also someone talked about dual screens being used as one big screen. That is also fixed. When i resolved the build issue that Stephen reported that issue was resolved as well.
I also fixed the Connman Obsolete issue. So you should be able to have both NetworkManager and Connman installed at the same time.
I do not have a Fedora 18 machine, but if i get enough requests i can easily build these packages for 18 as well. Just let me know if you thing it's worth while. Fedora 17 i will not be building packages for, unless someone pays me. :-D
Thanks for using Enligtenment and providing me feedback to make the packages and apps work better. I am looking at packaging up some of the games that are developed with EFL.
]]>I just finished the builds for Fedora 19 x86_64. I will do the i686 builds tomorrow. Please those that have x86_64 machines try out the build and let me know if you have any issues.
The i686 build is done and on the server. You can update and let me know if you have issues.
I forgot to build Terminology. So that has been added. Also i don't have a repo rpm for Fedora19, so use
http://www.edmann.com/Enlightenment/repo/Fedora/18/enlightenment-repo-0.0.4-1.fc18.noarch.rpm
for now.
It was mentioned in the comments that i had forgotten a few packages. So i just built and uploaded python-elementary, econnman, and connman-1.15. Please give them a try and keep the feedback comming.
]]>I just finished the builds for Fedora 19 x86_64. I will do the i686 builds tomorrow. Please those that have x86_64 machines try out the build and let me know if you have any issues.
The i686 build is done and on the server. You can update and let me know if you have issues.
I forgot to build Terminology. So that has been added. Also i don't have a repo rpm for Fedora19, so use
http://www.edmann.com/Enlightenment/repo/Fedora/18/enlightenment-repo-0.0.4-1.fc18.noarch.rpm
for now.
It was mentioned in the comments that i had forgotten a few packages. So i just built and uploaded python-elementary, econnman, and connman-1.15. Please give them a try and keep the feedback comming.
]]>I know i said the last built would be the final one for Fedora 17, however 1.7.7 came out before i upgraded so i have one more build for the x86_64 version of Fedora 17. And i have not yet configured a virtual machine to do the Fedora 19 builds. Maybe before the next release i will get that done.
Sorry this build took a week, i have been sick all week and not feeling like putting in extra hours after work. However i am feeling much better. I think i have everything uploaded and correct this time. I am sure i will hear if i am missing anything.
I also built connman-1.14 for this release as well.
Well now i am off to work on the Android app for the accounting software i have been developing. I hope to get something done with it this weekend. However the day is getting late and i have some things outside i want to get done. I will post some screen-shots of my app. Not sure if anyone would be interested in it. I should put it in a different post, so with that said i will stop talking about it.
Enjoy!
]]>I know i said the last built would be the final one for Fedora 17, however 1.7.7 came out before i upgraded so i have one more build for the x86_64 version of Fedora 17. And i have not yet configured a virtual machine to do the Fedora 19 builds. Maybe before the next release i will get that done.
Sorry this build took a week, i have been sick all week and not feeling like putting in extra hours after work. However i am feeling much better. I think i have everything uploaded and correct this time. I am sure i will hear if i am missing anything.
I also built connman-1.14 for this release as well.
Well now i am off to work on the Android app for the accounting software i have been developing. I hope to get something done with it this weekend. However the day is getting late and i have some things outside i want to get done. I will post some screen-shots of my app. Not sure if anyone would be interested in it. I should put it in a different post, so with that said i will stop talking about it.
Enjoy!
]]>This will be my final build of for Fedora 17. I am planning on upgrading my machine to either 18 or 19 here soon. Yes 19 is not out yet, but the alpha is so i know a release might happen before i get my machine updated. Also i need to purchase a new laptop. Anyway enjoy the build and let me know if you have issues.
So i forgot to build enlightenment 0.17.2.1 and then when i did i uploaded it and forgot to update the repo database. Well that has been done. You might need to run a yum clean all. Well "all" is what i have run. I am sure someone will comment to let me know exactly which option i should give yum clean. I hear that the 1.7.7 libs will be out soon. So maybe this weekend i will have a working and good build system.
It was reported that eina-1.7.6 was missing. This i found was only for the Fedora 18 x86_64 release. I have fixed that and uploaded the rpm. Hopefully for this release we don't have any more issues.
I have fixed connman so that it does not Obsolete NetworkManager. Also Macfly reported an issues with eeze. I have fixed that package and uploaded a new version. Enjoy the Enlightenment goodness. Also this is the last version for Fedora 17. I will be doing only Fedora 18 and 19 from now on. I might put 19 up for the 1.7.6 EFL release. I will see how much time i get to devote to the build.
I am going to rebuild connman and not obsolete NetworkManager. It will cause issues when you try and update. I am sorry about this unforeseen side effect. I will have the rebuilt package up tonight.
]]>
This will be my final build of for Fedora 17. I am planning on upgrading my machine to either 18 or 19 here soon. Yes 19 is not out yet, but the alpha is so i know a release might happen before i get my machine updated. Also i need to purchase a new laptop. Anyway enjoy the build and let me know if you have issues.
So i forgot to build enlightenment 0.17.2.1 and then when i did i uploaded it and forgot to update the repo database. Well that has been done. You might need to run a yum clean all. Well "all" is what i have run. I am sure someone will comment to let me know exactly which option i should give yum clean. I hear that the 1.7.7 libs will be out soon. So maybe this weekend i will have a working and good build system.
It was reported that eina-1.7.6 was missing. This i found was only for the Fedora 18 x86_64 release. I have fixed that and uploaded the rpm. Hopefully for this release we don't have any more issues.
I have fixed connman so that it does not Obsolete NetworkManager. Also Macfly reported an issues with eeze. I have fixed that package and uploaded a new version. Enjoy the Enlightenment goodness. Also this is the last version for Fedora 17. I will be doing only Fedora 18 and 19 from now on. I might put 19 up for the 1.7.6 EFL release. I will see how much time i get to devote to the build.
I am going to rebuild connman and not obsolete NetworkManager. It will cause issues when you try and update. I am sorry about this unforeseen side effect. I will have the rebuilt package up tonight.
]]>
#!/bin/bash
######################################################################
# Simple script that will export a git version similar to svn export #
# Created 07/18/2012 by Edward Mann edmann.com #
######################################################################
GIT=`which git`
TAR=`which tar`
######################################################################
# Don't change the below, unless you know what you are doing. #
######################################################################
REMOTE=$1
TREE=$2
DIR=$3
RED='\e[1;31m'
BLUE='\e[1;34m'
#
# Check that our git executable is present and
# also that we have a good tar executable
#
checkSetup() {
echo -e "${BLUE}Checking setup..."
if [ ! -x ${GIT} ];
then
echo -e "${RED}The path i have set for the git executables is either wrong or not executable!"
exit 1
fi
if [ ! -x ${TAR} ]
then
echo -e "${RED}The path i have set for the tar executables is either wrong or not executable!"
exit 1
fi
if [ "${REMOTE}" == "" ] || [ "${TREE}" == "" ] || [ "${DIR}" == "" ];
then
showUsage
exit 1
fi
}
showUsage(){
echo "Usage:"
echo "git-export <repo> <tree> <dir>"
echo "<repo>: Source to create export from."
echo "<tree>: The tree or commit to produce an export for."
echo "<dir>: The directory to store the export into."
}
#
# Check that our directory does not exist. I don't want to remove the directory or overwrite the
# directory. This will hopefully prevent someone from destroying a directory acidentally.
#
checkDir(){
if [ -d ${DIR} ]
then
echo -e "${RED}The directory '${DIR}' exists, please remove the directory first."
exit 1
else
echo -e "${BLUE}Creating directory '${DIR}'..."
mkdir ${DIR}
fi
}
doExport(){
echo -e "${BLUE}Running Export..."
`${GIT} archive --format=tar --remote=${REMOTE} ${TREE} | (cd ${DIR} && ${TAR} -xf -)`
}
checkSetup
checkDir
doExport
#!/bin/bash
######################################################################
# Simple script that will export a git version similar to svn export #
# Created 07/18/2012 by Edward Mann edmann.com #
######################################################################
GIT=`which git`
TAR=`which tar`
######################################################################
# Don't change the below, unless you know what you are doing. #
######################################################################
REMOTE=$1
TREE=$2
DIR=$3
RED='\e[1;31m'
BLUE='\e[1;34m'
#
# Check that our git executable is present and
# also that we have a good tar executable
#
checkSetup() {
echo -e "${BLUE}Checking setup..."
if [ ! -x ${GIT} ];
then
echo -e "${RED}The path i have set for the git executables is either wrong or not executable!"
exit 1
fi
if [ ! -x ${TAR} ]
then
echo -e "${RED}The path i have set for the tar executables is either wrong or not executable!"
exit 1
fi
if [ "${REMOTE}" == "" ] || [ "${TREE}" == "" ] || [ "${DIR}" == "" ];
then
showUsage
exit 1
fi
}
showUsage(){
echo "Usage:"
echo "git-export <repo> <tree> <dir>"
echo "<repo>: Source to create export from."
echo "<tree>: The tree or commit to produce an export for."
echo "<dir>: The directory to store the export into."
}
#
# Check that our directory does not exist. I don't want to remove the directory or overwrite the
# directory. This will hopefully prevent someone from destroying a directory acidentally.
#
checkDir(){
if [ -d ${DIR} ]
then
echo -e "${RED}The directory '${DIR}' exists, please remove the directory first."
exit 1
else
echo -e "${BLUE}Creating directory '${DIR}'..."
mkdir ${DIR}
fi
}
doExport(){
echo -e "${BLUE}Running Export..."
`${GIT} archive --format=tar --remote=${REMOTE} ${TREE} | (cd ${DIR} && ${TAR} -xf -)`
}
checkSetup
checkDir
doExport
The first on is 16 ways to torture a developer. My current boss Mark Valentine has been great at letting me use what i need to get the job done. He has been a great boss over the years. (Thanks Mark for not sticking me with Windows.)
The second article is from the same site and it's 10 steps to becoming the developer everyone wants. Looks like i have a few down, and a few i could work on.
Well that's all for now. I have some documentation to write, and i see someone is wanting Fedora 19 rpms for Enlightenment. Speaking of Enlightenment a new release is in the works (so i have read) so new packages should be out soon. This has grown since the last time i built it. I have included many more modules and also the python bindings. I will see how i can update the build process. It was kinda automated, however with the bindings and modules i have 3 different ways now. :-D It will get figured out.
]]>The first on is 16 ways to torture a developer. My current boss Mark Valentine has been great at letting me use what i need to get the job done. He has been a great boss over the years. (Thanks Mark for not sticking me with Windows.)
The second article is from the same site and it's 10 steps to becoming the developer everyone wants. Looks like i have a few down, and a few i could work on.
Well that's all for now. I have some documentation to write, and i see someone is wanting Fedora 19 rpms for Enlightenment. Speaking of Enlightenment a new release is in the works (so i have read) so new packages should be out soon. This has grown since the last time i built it. I have included many more modules and also the python bindings. I will see how i can update the build process. It was kinda automated, however with the bindings and modules i have 3 different ways now. :-D It will get figured out.
]]>