Spiritual Development of the World: Focus on the Change

I was inspired to change things. Today. Now. Maybe from now on.

It might be nice to spend my life being of genuine use to people. It might be nice to forget the day-to-day trivialities, the pettiness in the world, the news, and concentrate on helping people effect changes in their spiritual development.

Why have I been posting about computer stuff? I could be posting about real stuff.

focus3

So I have 2 stories. An inspirational web site, and my own experience jamming with friends.

1. Heather MacDonald’s Facebook page is inspiring.  I’d love to have a Facebook page just like that…  Totally oriented towards spiritual growth and growth in others; no silly postings about stuff that doesn’t matter.  Maybe I’ll start now.  Maybe.

I was moved by a posting Heather made, and I saw due to a comment on it that Kimberlee made.  I think I’m supposed to have seen that; it turns out that Heather and I went to the same schools, and we both moved to Ottawa, but I don’t know her.

2. The other is my jam session on Saturday with some friends.  I’ve not been able to leave the house much lately, and I made the effort, but it was moving.  We did stuff that was important.  We made music with each other.  I went home and thought about how I hear from people their gripes with politics, the state of the world, and I think how little this matters.  What matters is making the music.

I don’t know why,  but it’s the same when you write, make art, sing, dance, draw.  If you can create, you really should create.  Spend less time on the trivial.  Less time on the petty.  Do it now.  Stop reading.  Write a few lines on your blog or your social media. Right now.

What would it be like if my social media from now on consisted of this formula?: If it’s not inspirational, and not helpful to others’ spiritual growth, I won’t post it; and I won’t “like” it.

 

Posted in Uncategorized | 1 Comment

hlint doesn’t run after cabal install ubuntu, getting help from IRC #haskell

I installed hlint with cabal according to instructions, but I get The program ‘hlint’ is currently not installed. Here is the fix.

[14:27] Hi, I'm new. Is it ok if I ask for help, after I did $cabal install hlint in Ubuntu, it says "The program 'hlint' is currently not installed"
[14:28] == np356 [~karim@ip5f5bf73c.dynamic.kabel-deutschland.de] has quit [Ping timeout: 276 seconds]
[14:28] programs are installed to ~/.cabal/bin, you need to prepend that to $PATH
[14:28] thanks! i'll do that :) you are awesome :)

Here was my problem:

$ cabal update && cabal install hlint
Downloading the latest package list from hackage.haskell.org
Skipping download: Local and remote files match.
Resolving dependencies...
...
Installed haskell-src-exts-1.19.1
Downloading hlint-2.0.9...
Configuring hlint-2.0.9...
Building hlint-2.0.9...
Installed hlint-2.0.9

$ cat baby.hs
doubleMe x = x + x

louie@Jupiter:~/prog/haskell$ hlint baby.hs
The program 'hlint' is currently not installed. You can install it by typing:
sudo apt install hlint
You will have to enable the component called 'universe'

Here is what I did. I did a google for “haskell community” which brought me to

https://www.haskell.org/community

I then followed the links to IRC online chat, and a link to do IRC in browser, which led me to

http://webchat.freenode.net/

I did the following:
– entered a nickname
– channel was #haskell
– clicked I’m not a robot
– hit the connect button.

Once connected, I lingered awhile, because I didn’t want to interrupt anything, but nobody was talking, so after a few minutes, I took the plunge and asked for help.

You see the results (at the beginning of this post). I got an answer within seconds, and immediately thanked them.

I don’t know IRC, I don’t know the haskell ecosystem, I’m new to both, but this IRC experience with the haskell community was truly awesome.

If you found this post helpful, share the luv, and comment below, Thanks! 🙂

Posted in Uncategorized | Leave a comment

How to get networking on VirtualBox for ArchLinux

You just installed ArchLinux on Virtualbox, and ping 8.8.8.8 doesn’t work.  Here is the fix:

It worked when you booted up the system from the install medium.  Then you installed, and rebooted, and, no network.   😦

dmesg | grep bps

shows on the left, the name of the module for networking,  and the name of the ‘eth0’ type thing.  You were expecting eth0?  Nope.  here , have a look:

dmesg | grep eth0

yup, it was renamed.

#  here is the fix for virtualbox networking!!!!! (do after rebooting)

systemctl start  dhcpcd.service
ping google.com  # success, yay!

Now if that worked, you are done.  If not, try this:

# this will always work upon rebooting:
/usr/sbin/dhcpd enp0s3

This worked?  Share the luv, and leave a comment!  Thanks for reading 🙂

Posted in Uncategorized | Leave a comment

Our TRUE Nature vs. Our Experiences

We have a higher self that’s always been there and is there right now, but it is easy to lose sight of this and be overwhelmed by current events and feelings, and go through life that seems to be run by our past experiences, and not even have an awareness of this higher self.

I think my current job in life is to become aware of my “nature”; this nature that was there before I acquired any human experience. It will always be there. My job seems to be to learn about this nature (my true/higher self), and to identify with this nature, rather than identifying with my human experiences (experential self ? ). There has been much in the 20th century that said we are the product of our experiences, but I’m challenging this.

Take an experience where you felt care-free or spontaneous as a child, and/or did things that were fun and joyful. And then over time, life happened. But even after life’s crises, you may have had moments, as an adult, where you felt for brief moments that child-like nature. Perhaps that is a manifestation of my timeless nature. My real self. It’s always been there.

It’s very easy for me to have my life controlled by my past experiences, if I let it. And I think I seem very willing to let it. I used to have conversations with total strangers, and within three minutes, they would hear something about the wrongs that were done to me in the past. Obviously, I was re-living these experiences again and again, and they became so deeply rooted in me, they took over my identity, with no hope whatsoever of seeing any future with anything new or changeable.

There’s a perverse pleasure from identifying with our past pain. It’s similar to the perverse pleasure I get from self-pity. Both of these, in addition, free me from the need to take responsibility for my life and take steps to effect changes.

Here’s a quote from my video of the week by Eckhart Tolle.

[There are] two things getting together. Old pain, that wants more pain, and and the mind made self that needs to be right, and therefore needs to make somebody else wrong. “He did something to me”. […] We miss the simplicity of things [such as a typical daily event that just happened,] that is there without the story. [The story is the drama we add to day-to-day events by adding in our past pain, and making the innocuous event more personalized (ie, more about me), and explaining the event in terms of our past painful experiences].

So Tolle’s suggestion was to just witness the pain we are feeling, not even need to label it, certainly don’t analyze it or add stories to it. Just witness it.

Current pains relate to this blog post because we so easily identify with our pain. This means that our real selves are once again obscured by the pain we are in right now. And for the moments of the pain, we are overwhelmed with our past experiences, including fears and hurts, and create much more misery by adding in those elements. It’s easier to just experience the pain, no need for the drama. No need to say thing like “This always happens to me”, or “well I expected as much”.

My last blog post was about living in faith, regardless of what my past experiences are leading me to believe. That is, despite me thinking certain current events are explainable because of my past (painful) experiences, and I have expectations that the future will bring certain outcomes because I’ve learned to expect these outcomes, I can choose to not let these thoughts dominate my life. And I can live without acting in ways that are controlled by my experiences. That is, I can choose to live in faith, and do things, despite what my mind is trying to tell me, and be able to do that because of a faith that things will be OK. It opens up the world for new and wonderful possibilities.

P.S. [from my bathtub reading today, just an interesting tidbit,  Jan 25th]:

The ego wants to be right, but in the dynamics of life and art we are never right, we are always changing and cycling. [Free Play, Improvisation in Life and Art, Stephen Nachmanovitch].

My recent blog posts:

Depression, Procrastination and Putting One Foot in Front of Another

High Expectations of Admired Friends

Depression Paradoxes: Isolation

Afternoon Forest Walk

Posted in Uncategorized | Leave a comment

Total Faith, Let Go, and Live as If

What a tall order to totally surrender control of your life, let go of your plans and your ideas of what is best for you, let go of your fears based on years of programming in which you see imaginary futures, and just live totally in the present.

How can I be present with someone, and let God’s will take place if my mind is on my fears of the future based on my own perceived inadequacies?  I’ve already determined the outcome (in my mind), because I’ve learned to have certain expectations of what has “always happened” in the past.  It probably hasn’t “always happened”, but I seem unwilling to let this notion go, and therefore I prevent any possibility of anything happening which may be different from what I’ve learned to expect.  So if I expect disappointment, I’ll behave in a way that prevents me from living fully and, therefore is a threat to anything novel, which, chances are, will not be a disappointment.

I can’t love totally if I’m planning outcomes.  Of course, the outcomes I’m speaking of are the negative outcomes that we keep telling ourselves; messages we have been telling ourselves for decades.

Did you ever talk to somebody, and be looking out the corner of your eye at someone else who, in your infinite wisdom, is necessary to talk to right now, or as soon as possible.  I did this a lot.  I don’t anymore.  I have been trying to be fully present.  Ideally, if I wasn’t supposed to be fully immersed in the person in front of me, and ideally, if I had faith, I’d know that my higher power wouldn’t have this person in front of me, and, instead, he would put the other person in front of me.  “You are always exactly where you need to be at this moment in time”.  How little faith we have.  Even if we say we have faith in that statement, our mind is thinking of a million scenarios which if we do this or do that, we can make a certain outcome happen for us.  AS IF WE KNOW BETTER WHAT’S GOOD FOR US!

My mind may be useful for some things (less and less as time goes by), but for planning and scheming my future based on what I think is best, is definitely not one of them.

So I had an amazing experience of living in faith and being totally present with someone, and even though my mind was on my inadequacies and expectations that this will soon blow up in my face because they will not be OK with me exactly as I am and at this point in time.  But I was wrong, very wrong.  And seeing this is totally foreign to me, I mean seeing that I don’t have to be anyone or do anything or plan anything or change anything whatsoever in order to be accepted totally.  I’ve learned to realize that if I’m me and not trying to be something else, not even hinting at it, and if I live in faith that I will be accepted exactly as I am, wherever I am at my journey, it’s the only way to find real love.  But it takes a huge leap of faith.  Huge.  It’s almost impossible to do it, but it is possible.  I think the key is, just behave as if you have total faith in this idea, regardless of all the messages and planned futures (of negativity) that are in your head.

 

Posted in Uncategorized | 1 Comment

Second JSF Tutorial with Eclipse, Tomcat

Using JSF with Eclipse, we create a java class used to navigate to a second xhtml page and also create that second xhtml page.

Previous tutorial was here

  1. Modify the index.xhtml to include this the code as listed below.
  2. Create page2.xhtml in the same folder as index.xhtml and use the code below.
  3. Create a class by right-clicking on the project name (JsfTut)/New class.  Name it MyPageClass.java and include the code below
  4. Right click on the project (JsfTut), and run on server.

index.xhtml

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:h="http://xmlns.jcp.org/jsf/html">
<h:head>
<title>JsfTut</title>
</h:head>
<h:body>
<h1>Congrats, this works!</h1>

<h:form>
Let's go to a new page:
<h:commandButton value="Click for page 2"
action="#{myPageClass.nextPage}"/>
</h:form>

</h:body></html>

page2.xhtml

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:h="http://xmlns.jcp.org/jsf/html">
<h:head>
<title>Page2</title>
</h:head>
<h:body>
<h1>This is page 2 :)</h1>

</h:body></html>

MyPageClass.java

import javax.faces.bean.ManagedBean;

@ManagedBean
public class MyPageClass {

 public String nextPage() {
 return "page2";
 }
}

Found this useful?  Share the luv, and leave a comment 🙂

Posted in Uncategorized | Leave a comment

First JSF tutorial with Eclipse Neon, Tomcat 9

  1. In eclipse, Window/Show View/Servers
  2. If you have a working Tomcat in Eclipse, go to step 6.
  3. Download and unzip Tomcat 9 anywhere on your computer.
  4. If this is a new Eclipse and no Tomcat is already in the Servers tab window, right click on that window, select New Server.  Select Tomcat vX.x Server which is the version Tomcat you downloaded and unzipped. Click Next
  5. Click Browse to fill in the directory where you downloaded Tomcat.  Click finish.
  6. In Eclipse, create a new Dynamic Web Project; here is one way: File / New / Project / Web / Dynamic Web Project.  Next.
  7. ProjectName: JsfTut.  Configuration:  Click Modify button. (On old versions of Eclipse, we just selected the Jsf2.2 config, no modify, no save).  Select Java Server Faces v2.2.  Click Save As.  Name it MyJsf2.2Config.  You’ll be using this config in future JSF projects.
  8. Hit Next until you get to the JSF Capabilities screen.
  9. Type: User Library.  Below it, right click (or click the download button beside it) and download library for JSF 2.2.  Also before clicking finish, highlight *.faces and click the Remove button to remove any mapping patterns that are there.  Click the Add button and add *.jsf     Now click finish.
  10. In Project Explorer, expand your new project.  Navigate to WebContent/WEB-INF, and right-click on web.xml.  Open With/Text Editor.
  11. Add the lines listed below into web.xml just before the web-app closing tag
  12. Now we’ll create a home page of type xhtml.  Right-click on the project name in Project Explorer: JsfTut.  New/Html File/index.xhtml.  Click finish.  Delete its contents and replace them with the contents in the second piece of code below
  13. It’s ready to run.  Eclipse can show the web page but it will take a minute.  Right click on the project name (JsfTut)/ Run As/Run on Server/ Select the Tomcat Version and proceed.  In Eclipse, the web page should say “Congrats this works”.  If it worked for you, show some luv, and leave a comment below. 🙂

    Congrats, this works!

 <context-param>
 <param-name>javax.faces.PROJECT_STAGE</param-name>
 <param-value>Development</param-value>
 </context-param>
 <welcome-file-list>
 <welcome-file>index.jsf</welcome-file>
 <welcome-file>welcome.jsf</welcome-file>
 <welcome-file>index.html</welcome-file>
 <welcome-file>index.jsp</welcome-file>
 </welcome-file-list>

index.xhtml

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:h="http://xmlns.jcp.org/jsf/html">
<h:head>
<title>JsfTut</title>
</h:head>
<h:body>
<h1>Congrats, this works!</h1>

</h:body></html>
Posted in Uncategorized | 1 Comment