Aaron Rosenzweig | 15 Apr 21:24 2014

What stands in the way becomes the way

I am now in “battle position” (see the two attached photos). Back from Quebec and slamming code.

Thanks to all who attended and made this year another great gathering of minds and spirits. WOWODC in Montreal was a blast, perhaps a year from now we’ll all meet in Germany.

Not all of us could attend this year, but many of us really wanted to. Here are many photos of various moments from the conference. Included is Dave Avendasora splitting a tree trunk in two with an axe:


Thanks to Maik Musall we have the state of the wocommunity video integrated with Pascal’s recognition ceremony. You can find that here:


My presentation slides are available:


Everyone is encouraged to think and reflect on what we are doing, and why we are here.

A Roman emperor may have said it best:

"What stands in the way becomes the way”

I looked it up, his name was Marcus Aurelius and his full statement was:

"The impediment to action advances action. What stands in the way becomes the way.”

The modern version of this is:

“When life gives you lemons, make some lemonade."


It’s embodied in a country song from Garth Brooks called “Unanswered Prayers”:

Garth remembers his high school girlfriend whom he wanted to marry and be with forever but it was not to be. Years later he bumped into her and reflected on the way his life is now. He is so glad they didn’t get married. 

What does this have to do with WO? What does it have to do with us?

We have enjoyed using a set of closed-source tools for many years. We’ve learned a lot and have solved real problems for real people. 

We must accept that these tools we love will never be open-sourced. 

But we are not simply a bunch of WO programmers. Rather, we are “real thinkers” who sometimes choose to use WO to help solve real problems. The key word is “choose” to use WO. 

Some of us will continue using the tools as they are for a few years. Others of us will make something even better. Others still will move on to other technology. 

I’m glad WO will never be free. Now that I’ve accepted this, I am free.

“There is no knowledge which is not power!”

Let’s take what we’ve learned and move forward. Let’s move beyond the borders of current reality.

I hope many of us board the “treasure boat.” Others have already taken our treasures to the “seaside” or created a “montage” of new ideas infused with old. I love it all. (Those words have weight, google all three of them)

Remember this! We can always tell the difference between a “want-to-be” and the “real deal.” 

“Want-to-bes”  are drawn to stories of overnight success. They look for what “big names” are doing. They attempt to copy the success of the famous. They want fast cars and faster women. 

“Want-to-bes” look for shortcuts. They look for charismatic leaders. They drool to find the latest trick from the guru. They follow the common path and guess what? They get common results. 

“Want-to-bes” are fear driven. They are afraid of missing out. They hope to catch the next big wave just as it is starting and ride it through to riches with little work. They are scared but never admit it.

“Want-to-bes” want to be taken care of and trust in somebody or something.

“Real deals” overcome life’s many challenges. They sweat. They fail. They get up. They keep going. They drive a mini-van. If they have a fast car it probably has a “wankel” engine in it because it does more with less. If they have a trophy wife, she has brains and charms to match. 

“Real deals” look for mastery. They look for community. They look for “give and take.” They look for understanding the principles of success not just following someone’s previous steps of achieving it. They build friendships of mutual respect. A veritable brotherhood / sisterhood of champions covering for each other in battle. 

“Real deals” are fearless. They pathologically avoid mindless imitation. They are like Bruce lee: learn from everyone, take what makes sense to you, reject the rest, make your own style. They question, they break, they improve. 

“Real deals” ask for more responsibility. They trust in themselves, they help their friends.

Does this resonate with you? Do you see how our community is the “real deal?” 

Don't ride the wave, create it. 
Aaron Rosenzweig / Chat 'n Bike
e:  aaron <at> chatnbike.com  t:  (301) 956-2319
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Fabian Peters | 14 Mar 19:11 2014

Re: [D2W] How can I make all references in the model read only?

This will depend on the look you use and the relationship components configured. For modern look, these
should remove all edit actions from relationships:

200 : ((look = 'ERModernLook' and (task = 'list' and (parentPageConfiguration like '*Edit*' or
parentPageConfiguration like '*Create*'))) or pageConfiguration like 'EditRelationship*') =>
actions = {"right" = ("inspectAction"); } [com.webobjects.directtoweb.Assignment]
200 : ((look = 'ERModernLook' and (task = 'list' and (parentPageConfiguration like '*Edit*' or
parentPageConfiguration like '*Create*'))) or pageConfiguration like 'EditRelationship*') =>
isEntityCreatable = "false" [com.webobjects.directtoweb.BooleanAssignment]
200 : ((look = 'ERModernLook' and (task = 'list' and (parentPageConfiguration like '*Edit*' or
parentPageConfiguration like '*Create*'))) or pageConfiguration like 'EditRelationship*') =>
shouldShowQueryRelatedButton = "false" [com.webobjects.directtoweb.BooleanAssignment]

Am 14.03.2014 um 18:23 schrieb Giancarlo Dessena <giancarlo.dessena <at> xyrality.com>:

> Hi Fabian,
> 
> Thank you for your reply :)
> 
> what i meant was to just make the relationships between 2 Objects editable.
> For example you have two entities called User and Group
> User has a 1-n relationship to the group. 
> I do not want this relationship to be editable in D2W and for this single case writing a rules is indeed easy.
> 
> Obviously I don't want to write a rule for every relationship inside my model,
> so I'am trying to come up with a general rule to make all relations read only.
> 
> But how do I write a general rule that makes all these relationships not editable in D2W?
> 
> Carlo
> 
> 
> Am 14.03.2014 um 18:14 schrieb Fabian Peters <lists.fabian <at> e-lumo.com>:
> 
>> Hi Carlo,
>> 
>> If by "relations" you mean "entities", then this should do it:
>> 
>> 100 : *true* => isEntityEditable = "false" [com.webobjects.directtoweb.BooleanAssignment]
>> 
>> Fabian
>> 
>> Am 14.03.2014 um 17:53 schrieb Giancarlo Dessena <giancarlo.dessena <at> xyrality.com>:
>> 
>>> Hello everybody,
>>> 
>>> I'm trying to make all relations in my D2W application read only.
>>> Can anybody tell me how a rule to achieve that looks like?
>>> 
>>> Greetings Carlo
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and their
>>> applications. Written by three acclaimed leaders in the field,
>>> this first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/13534_NeoTech
>>> _______________________________________________
>>> Wonder-disc mailing list
>>> Wonder-disc <at> lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>> 
> 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Giancarlo Dessena | 14 Mar 17:53 2014

[D2W] How can I make all references in the model read only?

Hello everybody,

I'm trying to make all relations in my D2W application read only.
Can anybody tell me how a rule to achieve that looks like?

Greetings Carlo

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Laurence Mills-Gahl | 12 Mar 19:35 2014
Picon

WOUnit/AbstractEditingContextRule not finding models problem

Does anybody know why I would not be able to load/see eomodels from WOUnit? 
I am fairly certain this is a configuration issue with the particular framework that contains my models because I have tests in another similar eomodel framework and calling WOUnit in the same way on those tests works as expected. 

The specific problem I am having is trouble loading models into the MockEditingContext (IllegalArgumentException: Cannot load model named …). 

Any ideas where to look for this problem finding Resources/*.eomodeld


Larry Mills-Gahl






------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Jean Pierre Malrieu | 1 Feb 10:11 2014
Picon

Sorting on integer attribute?

Hi,

I want to sort the items in a popup (D2W, ERD2WEditToOneRelationship)
I am sorting them on an integer attribute. Suppose there are 12 items. The resulting sort is:

1
11
12
2
3
Etc...

Is there a way to specify I want a numerical ordering, not alpha numerical?

TIA

JPM
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
Jean Pierre Malrieu | 26 Jan 10:31 2014
Picon

Another localization issue

Hi,

Contrarily to what the documentation of ERMD2WEditToOneTypeAhead suggests

 *  <at> d2wKey newButtonLabel

this component does not localize it's "new" button

NewObjectButton : CCSubmitLinkButton {
  action = addObject;
  value = "New";
  class = newButtonClass;
}

Could someone with commit rights change this to 

NewObjectButton : CCSubmitLinkButton {
  action = addObject;
  value = d2wContext.newButtonLabel;
  class = newButtonClass;
}

I know, I know, I should learn to make pull requests... But I am not a professional developper, and my family might get mad if I spend the whole WE on this ;-)

JPM
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Jean Pierre Malrieu | 25 Jan 12:22 2014
Picon

Localization issue

I have faced a small problem with D2W and localization

The ERXBooleanSelector component has a yesString binding, and yet, when displaying a checkbox, it uses
it's parent's component yesName variable:

YesName: ERXLocalizedString {
	value = ^yesName;
	valueWhenEmpty = "Yes";
}

Thus ERD2WCustomEditBoolean does not localize properly... I wonder if this can be fixed by modifying
ERXBooleanSelector wod to

YesName: ERXLocalizedString {
	value = yesString;
	valueWhenEmpty = "Yes";
}

as this might break some person's code implementing yesName in a parent component (very unlikely given the
existing yesString binding)...

JPM

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
Jean Pierre Malrieu | 19 Jan 18:18 2014
Picon

ERMD2WEditToOneTypeAhead question

I am trying to use ERMD2WEditToOneTypeAhead in a Wizard page. When you create a new entry, this entry is not
added to the database until you actually reach the last step in the wizard process. Therefore, if you use
the ERMD2WEditToOneTypeAhead component several times in the same Wizard step, the second time, it won't
show the item created the first time (and not saved yet). Thus the user might create the same item several
time... and save duplicate entries.
What would be the easiest solution to this problem?

JPM
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
Pascal Robert | 8 Jan 12:47 2014
Picon

Re: Deployment Mode WAR

Ron, the WebObjects is small, but the amount of people who deploy in Tomcat with builds made with Maven is even smaller, in fact it's probably less than 10 people who does both. So either that you wait that one of the few who deploys in Tomcat see your post, or you look at the source to fix it yourself.

And you should use the webobjects-dev <at> lists.apple.com list, more people are subscribed to the main mailing list than the Wonder one.

De: "Ron X" <ron.x.by.su <at> gmail.com>
À: "Project Wonder" <wonder-disc <at> lists.sourceforge.net>
Envoyé: Mercredi 8 Janvier 2014 00:22:20
Objet: [Wonder-disc] Deployment Mode WAR

Hi!
I have problem with deployment mode:

Does anyone solve this?

Thanks!

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Ron X | 8 Jan 06:22 2014
Picon

Deployment Mode WAR

Hi!
I have problem with deployment mode:

Does anyone solve this?

Thanks!
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Joao Antunes | 11 Dec 20:52 2013
Picon

Re: New Relic for WebObjects

Thanks for sharing the whole tech stack overview,  i'll surely consider the technologies you described going forward.
Also, at first look it looks like a very elaborate and feature rich solution,  that apparently has some considerate development effort behind it.
At first, I'm considering a more mvp like approach to the solution.
That said, have you or anybody tried wostats before implementing that solution,  if so what where its shortfalls, caveats and general advice you may have to share

Em 11/12/2013 17:45, "Brook, James" <jbrook <at> libertyglobal.com> escreveu:
The data for your second bullet point is not so easy to get out into a visualisation tool but you might look at ERXStatisticsStore and the JMX MBeans. There are other tools that have JVM level instrumentation for obtaining profiling data like this. We find that the following tool-set works very well for us:

* Logstash - receives 'events' on a variety of inputs - a simple input might be 'tail' on a web server log. We pipe our Apache logs to a UDP input and we have a log4j socket appender pushing WebObjects log events. Then there is an optional filter stage. The default output is to an 'Elasticsearch' datastore. http://www.elasticsearch.org/overview/logstash/

* Kibana - Great UI/dashboarding tool for logstash. It's now built in to logstash. You can make custom dashboards of the data. http://www.elasticsearch.org/overview/kibana/

* StatsD - an event/stats 'aggregator' for forwarding data to graphite/carbon. https://github.com/etsy/statsd/  It's about one line of code to send events out of WebObjects over a UDP socket. Also completely non-blocking, so no performance overhead. We actually extended ERXStatisticsStore to support custom listeners (it's part of core Wonder) and we use a StatsD listener. You should be able to see how to implement it here:
    https://github.com/wocommunity/wonder/blob/master/Frameworks/Core/ERExtensions/Sources/er/extensions/statistics/store/IERXStatisticsStoreListener.java
    https://github.com/wocommunity/wonder/blob/master/Frameworks/Core/ERExtensions/Sources/er/extensions/statistics/store/ERXDumbStatisticsStoreListener.java

* Graphite - a dashboarding tool. This gives us really nice near realtime visibility of what is going on in every part of our infrastructure. It can also easily be used to set up time-series based alerting in Nagios or other monitoring tools. Really useful tool but ugly web site: http://graphite.wikidot.com

* JMXTrans - gets JMX data from WO apps (loads of useful stuff there) and sends it to StatsD so that Graphite can graph it - https://github.com/jmxtrans/jmxtrans

Also looks at:

* http://metrics.codahale.com - Java framework for sending out metrics
* http://sensuapp.org - Modern replacement for Nagios
* http://ganglia.sourceforge.net - Another monitoring tool - targeted at clusters/cloud deployments

Finally, the seminal article "Measure Anything, Measure Everything" http://codeascraft.com/2011/02/15/measure-anything-measure-everything/

--
James

________________________________
From: Joao Antunes [joao.antunes <at> tagus.ist.utl.pt]
Sent: 11 December 2013 12:41
To: probert <at> macti.ca
Cc: wonder-disc <at> lists.sourceforge.net
Subject: Re: [Wonder-disc] New Relic for WebObjects

Yes, sorry for the _very_ late reply.

Well, as far as I can tell, and i'm probably wrong, Nagios can only tell you how the server itself is doing, it does not give you details like:
- Time of response per HTTP request (ok you can hook up your Load Balancer to do this);
- Time spent on each layer of the MVC (well, how much time coming up with your components, how much time accessing the entities in the database, etc);

I have tried to use it with WO but it ended up making the server rewrite the URLs badly (for some reason, maybe because the agent wasn't in the same directory as the App as they advised it to be) and no data came out from it. I sent them an email and they said nothing about supporting it.

However, what are the other alternatives? I recently read about WOStats and that seems the way to go, any links/resources for a WO 5.3 (and an old version of wonder) with pointers on how to set it up/configure it? I could only found the Javadocs of the classes and they don't provide much help.

Also, opinions suggestions from someone who attempted the endeavor previously?

Thanks


On Tue, Nov 12, 2013 at 7:04 PM, <probert <at> macti.ca<mailto:probert <at> macti.ca>> wrote:
>From what I understand, New Relic is part Nagios-like and part JMX-like.

Pascal did a lot of work and presentations on using Nagios for WO app monitoring.

What problem did you hit with New Relic?


Chuck


--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!

On 2013-11-09 1:39 PM, "Joao Antunes" wrote:

Hi!

I was trying to install New Relic in webobjects, but I think that it is not compatible, are there any alternatives? I saw ERProfiling but my wonder version is previous to that one, and as far as I know the ERProfiling should only be used in development because it adds the 'header/footer' with the profling info on each page view.

Anyone has any ideas regarding implementing a similar functionality (to the one that NewRelic offers) in a WebObject application?

--
João Antunes
http://web.ist.utl.pt/~joao.a.p.antunes/<http://web.ist.utl.pt/~joao.a.p.antunes/?reference=emailSig>




--
João Antunes
http://web.ist.utl.pt/~joao.a.p.antunes/<http://web.ist.utl.pt/~joao.a.p.antunes/?reference=emailSig>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

Gmane