Profile

Cover photo
Gregory Geller
Works at Los Alamos National Laboratory
Lived in Miami, Florida
337 followers|70,728 views
AboutPostsPhotosVideos

Stream

Gregory Geller

Linux Commands  - 
 
Holy cow...I have a problem that is driving me crazy:

lets say I want to run a remote command using awk like this:

# ssh remote-host "chkconfig --list | grep 3:on | awk '{print $1}' "

This give me the same exact output if I had just typed:

# ssh remote-host "chkconfig --list| grep 3:on"

As if the awk didn't happen

If i remove the double-quotes, it "works" but not really because now the print statement is being run on the local host, not the remote host. For example, if I do:

# ssh remote-host chkconfig --list | grep 3:on | awk ''{system("hostname")}'

I get a bunch of lines like

local-host
local-host
local-host
...

one for each line of output of the sysconfig --list,
instead of the name of the remote-host like I want.

Obviously the command:

# sysconfig --list | grep 3:on | awk '{print $1}'
works on a local machine (without going through ssh)

Any ideas?
3
Gregory Geller's profile photoTyler Kalevra (goocher)'s profile photoGrant Stone (RFKiller)'s profile photoSascha Heuterer's profile photo
13 comments
 
Well its pretty easy, $1 unescaped is a local argument and thus empty, but escaped it will be sent to the server as string, not as value and then converted there.
Add a comment...

Gregory Geller

Shared publicly  - 
Compact and intense, the New Jersey band's songs channel the spirit of punk, but also the density of heavy rock that's had the fat cut out.
1
Add a comment...

Gregory Geller

commented on a video on YouTube.
Shared publicly  - 
 
Stan the Snail. Why you so crazy??
1
Add a comment...

Gregory Geller

Discussion  - 
 
Am I unAmerican for posting this?
4
Dean Al-Sarraf's profile photoEric Hanson (TesseractE)'s profile photoTimothy Collins's profile photoManfred M. Strasser's profile photo
9 comments
 
No, you are not un-American! Quite the contrary! He who loves his country, stands up, shows up when something is wrong. Or, as Barbara Ehrenreich (http://goo.gl/eFIEv) formulated it: No matter that patriotism is too often the refuge of scoundrels. Dissent, rebellion, and all-around hell-raising remain the true duty of patriots.
Her book Bright-sided: How the Relentless Promotion of Positive Thinking Has Undermined America (2009) is one of the most-read fiction books in Europe (http://goo.gl/p2LoL).
Add a comment...

Gregory Geller

▶Civil Rights/Social Issues  - 
 
 
Lowering our energy footprint does not have to be a sacrifice. In fact, it will more likely lead to happier, more meaningful lives.
We’re witnessing capitalism’s death throes right now. The stock market surges to new highs on a regular basis, corporate profits soar every quarter, and taxes on corporations as a percentage of GDP...
3
Add a comment...
Have him in circles
337 people
Jason Richardson's profile photo
yaser el tabal's profile photo
Partial Success's profile photo
Richard Sutherland's profile photo
Zaidan Sukari's profile photo
Andrew Strong's profile photo
Adam Hungerford's profile photo
Michelle Robbins's profile photo
Carolyn Stogdill's profile photo
 
Bidding question:

Online game at BBO. New partner that I know nothing about. Playing SAYC. I'm sitting South with:

Q987
AQ97
63
KJ8

Bidding goes:

W   N   E   S
----------------
P  1C  1H  X
P  2C   P    ?

My feeling is that we should be in game but I can't bid NT without a stopper in diamonds. Partner ought to know that I have four spades. So, I choose to bid 2H to show heart support. Partner, rebids clubs. I want to bid 3nt but surely opps will lead a diamond now. Feel like I can't miss game with this hand so I go to 5C. We get doubled and go down 2. Partner had AKJ of diamonds. 

How would you have bid this hand? Do you think it would be acceptable to bid 3nt instead of 2H? Good thing about that is if my partner IS weak in diamonds, we might get a heart lead.

What do you think?
1
Gregory Geller's profile photoKiat Huang's profile photoMorten Eide's profile photoİ.Ahmet SERDAROĞLU's profile photo
9 comments
 
i also play online game in BBO...My nickname "serdarus"..Playing SAYC and/or 2 over 1..Do not hesitate to contact me anytime you want to play with...
Add a comment...
 
Question. What does the following bidding sequence show in SAYC:

N   E   S  W
---------------
P  1C  P  1D
P  2NT

In particular, what can be concluded regarding East's strength?
1
Nicolas FRANCOIS's profile photoBill Jacky's profile photoPaul Gipson's profile photoIrving Hornic's profile photo
5 comments
 
18-19 balance and
4 diamonds may have 4 in a major or 5 diamonds w/o 4 in majors. West may bid 3 lvl major showing 4 cards or bid 3nt or slam based on west strenght.
Add a comment...
 
Interesting hand.

Both vulnerable:

East (dealing) passes.
You are South with:

XX
QJ98X
AQJxxx
<void>

Do you open? What is your bid?

The actual auction went:

W    N    E    S
------------------
              P   1H
P   1S   P   2D
P   4H   P   4N
P   5D   P   5H
P   6H   P    P
P

Is this a reasonable result? Did S grossly overbid their hand?
1
Gregory Geller's profile photoMatt M.'s profile photoNicolas FRANCOIS's profile photo
4 comments
 
+Gregory Geller
E has not enough values to propose slam. And if he wanted to propose, 5D would be more appropriate than 4NT !

Mind you, even a partner with only 14 points composed of 3 red top cards could consider doing some effort before concluding to game. So the "dream hand" should not be considered.

Imagine either A or KC in the N hand. Then you need AS, A and KH, those are all top cards worth considering that could lead N to a FSF (to paraphrase Matt).
Add a comment...

Gregory Geller

Programming  - 
 
So, I'd like to teach myself how to program in SIMPL. I've got programming experience, but SIMPL is a different type of beast than anything I have seen before.

I've got access to a DM processor, room controller, and a simple 10-button panel.

Any pointers on where/how to start? Are there any good online tutorials/resources that can walk me through a simple project?
2
1
Jason Jespersen's profile photoGeorge Tucker's profile photoAlbert Tu's profile photo
2 comments
 
Try the search result link at the bottom of this comment: the top link is a step by step "no frills" blog.  I have knowledge that Crestron is aware of it and has not seen a reason to have it modified or removed -(meaning it is 'mostly right').

There are also links to several YouTube videos showing some tips and techniques.  

https://www.google.com/search?q=simpl+windows+tutorial&oq=Simpl+windows+&aqs=chrome.1.57j0l3.8214j0&sourceid=chrome&ie=UTF-8
Add a comment...

Gregory Geller

Shared publicly  - 
 
A case against faith:

If a god tries to test your faith, then that god exists and it is no longer a matter of faith. Now it's just a decision to either obey or disobey.

If it seems to you that god is testing your faith, then it really does come down to a test of faith. If you are wrong, it will be you who are disappointed, either way, not god. Either you chose to obey a god that didn't exist. Or, you chose to not obey a god that does. 

One reason to choose not to obey is because if you do obey a non-existent god, you have literally given up the meaning of your life to a fiction. If you chose not to obey a real god, there is still some wiggle room because you really don't have any idea what might come next. Maybe it was a test to see if you would fall for the first test. Maybe the test isn't really that big of a deal to god. Maybe god was just kidding. Maybe you completely misunderstood what god was all about. Maybe even though god exists, we still all just die in the end.  The point is, there are an infinite number of possibilities. If you mistakenly obey, then you have definitely lost the chance to create an authentic life of meaning and can never get it back.
1
Gregory Geller's profile photoGeoff Brandt's profile photoKasper Brohus Allerslev's profile photo
8 comments
 
This is purely semantics though. The words faith and belief seem to mean different things to different people. No dictionary will change that.
Add a comment...

Gregory Geller

Shared publicly  - 
 
Are you guilty of being an asshole in the workplace? Not sure? Here are two tests for recognition of the asshole:

1. After encountering the person, do people feel oppressed, humiliated or otherwise worse about themselves?

2. Does the person target people who are less powerful than him/her?

Of the two rules, rule #2 is far more important than rule #1.
1
1
zlybax o'mally NukeToronto's profile photo
Add a comment...

Gregory Geller

Discussion  - 
 
 
Lowering our energy footprint does not have to be a sacrifice. In fact, it will more likely lead to happier, more meaningful lives.
We’re witnessing capitalism’s death throes right now. The stock market surges to new highs on a regular basis, corporate profits soar every quarter, and taxes on corporations as a percentage of GDP...
3
Marla Caldwell's profile photobill camp's profile photoAlex Grossman's profile photoGregory Geller's profile photo
16 comments
 
Actually, +Alex Grossman , I think you are over-broadening the concept of competition and misstating my position.

For example, you claim I am trying to "exclude the competition of ideas, for example in education."  But, actually, I explicitly used education as an example of sensible competition. I would rather not use the word competition to describe it, but that is far from saying that I'd like to disallow it altogether.

Who in their right mind would be against the "competition" of ideas?

I'm simply making a distinction between two different types of competition. There's the broad sense of competition, where people try out different methods to achieve the same goal in order to identify the most effective way to accomplish that goal. And then there is the narrow sense in which a competitor can only win via the loss of another competitor.

Do you agree that this distinction exists? If not, that there's no reason to proceed further with this discussion.

It is my contention that it is the latter sense of competition that is distinctly capitalist in nature, and it is the benefits of this type of competition that I have a difficult time understanding.

You say "What we need to do, as a society, is find mechanisms of allowing for healthy competition and the creative destruction that permits the reallocation of resources while at the same time minimizing the harm that individuals can suffer."

I couldn't agree more. But, for me, this means getting rid of the narrow sense of competition while keeping the broad sense.  

What you and other capitalists seem to believe is that people will not create value unless they have the possibility of economic gain. The claim may or may not be true but, if it turns out not to be true, then the capitalist mode of competition indeed ends up having little value. Would you agree? 
Add a comment...
People
Have him in circles
337 people
Jason Richardson's profile photo
yaser el tabal's profile photo
Partial Success's profile photo
Richard Sutherland's profile photo
Zaidan Sukari's profile photo
Andrew Strong's profile photo
Adam Hungerford's profile photo
Michelle Robbins's profile photo
Carolyn Stogdill's profile photo
Work
Occupation
Technical Stuff
Employment
  • Los Alamos National Laboratory
    2014 - present
Basic Information
Gender
Male
Birthday
August 10
Story
Introduction
Into music, literature, philosophy, politics, and other stuff
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Miami, Florida - Tallahassee, Florida - Savannah, Georgia - Tel Aviv, Israel - Haifa, Israel - punxsutawney, Pa - Atlanta, Georgia
Links
Contributor to