JaroslavTulach at 06:53, 15 September 2023 - 2023-09-15 06:53:25

←Older revision Revision as of 06:53, 15 September 2023
Line 22: Line 22:
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].
-
 
-
 
-
<comments/>
 

JaroslavTulach at 06:53, 15 September 2023 - 2023-09-15 06:53:09

←Older revision Revision as of 06:53, 15 September 2023
Line 18: Line 18:
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it [[empiricism|empiristicaly observes]]) and only the most annoying ones need to be fixed. I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it [[empiricism|empiristicaly observes]]) and only the most annoying ones need to be fixed. I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
 +
 +
=== Summary ===
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].

JaroslavTulach at 06:52, 15 September 2023 - 2023-09-15 06:52:23

←Older revision Revision as of 06:52, 15 September 2023
Line 12: Line 12:
One of the distinguished members of [[NetBeans]] community however (quite convincingly) argued in favor of polishing the whole event handling model claiming that '''AWT Dispatch Thread shall be used only for painting'''. I really like this idea. It is so [[rationalistic]]! We know that there are problems in blocking the essential [[Swing]]'s resource (its dispatch thread) for too long and thus we shall design proper mechanism to eliminate this (something like [[SwingWorker]]). Then we shall rewrite all the [[NetBeans]] code to use this and then the world would be more [[beautiful]] place (indeed, as it would be [[rationalistic]]).
One of the distinguished members of [[NetBeans]] community however (quite convincingly) argued in favor of polishing the whole event handling model claiming that '''AWT Dispatch Thread shall be used only for painting'''. I really like this idea. It is so [[rationalistic]]! We know that there are problems in blocking the essential [[Swing]]'s resource (its dispatch thread) for too long and thus we shall design proper mechanism to eliminate this (something like [[SwingWorker]]). Then we shall rewrite all the [[NetBeans]] code to use this and then the world would be more [[beautiful]] place (indeed, as it would be [[rationalistic]]).
 +
 +
=== Beauty vs. Solution ===
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.

JaroslavTulach at 07:28, 2 May 2010 - 2010-05-02 07:28:36

←Older revision Revision as of 07:28, 2 May 2010
Line 11: Line 11:
This solution is not going to make anything faster (obviously it is just [[UI Responsiveness]] work), it just properly indicates the status to the user and offers the additional benefit of being able to stop waiting for end of the operation.
This solution is not going to make anything faster (obviously it is just [[UI Responsiveness]] work), it just properly indicates the status to the user and offers the additional benefit of being able to stop waiting for end of the operation.
-
One of the distinguished members of [[NetBeans]] community however (quite convincingly) argued in favor of polishing the whole event handling model claiming that '''AWT Dispatch Thread shall be used only for painting'''. I really like this idea. It is so [[rationalistic]]! We know that there are problems in blocking the essential [[Swing]]'s resource (its dispatch thread) for too long and thus we shall design proper mechanism to eliminate this (something like [[SwingWorker]]). Then we shall rewrite all the [[NetBeans]] code to use this and then the world would be more beautiful place (indeed, as it would be [[rationalistic]]).
+
One of the distinguished members of [[NetBeans]] community however (quite convincingly) argued in favor of polishing the whole event handling model claiming that '''AWT Dispatch Thread shall be used only for painting'''. I really like this idea. It is so [[rationalistic]]! We know that there are problems in blocking the essential [[Swing]]'s resource (its dispatch thread) for too long and thus we shall design proper mechanism to eliminate this (something like [[SwingWorker]]). Then we shall rewrite all the [[NetBeans]] code to use this and then the world would be more [[beautiful]] place (indeed, as it would be [[rationalistic]]).
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.

JaroslavTulach: /* AWT Dispatch Thread shall be used only for painting */ - 2009-10-23 14:38:43

AWT Dispatch Thread shall be used only for painting

←Older revision Revision as of 14:38, 23 October 2009
Line 15: Line 15:
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
-
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it just [[empiricism|empiristicaly observers]]) and only the most annoying ones need to be fixed. I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
+
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it [[empiricism|empiristicaly observes]]) and only the most annoying ones need to be fixed. I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].

JaroslavTulach: /* AWT Dispatch Thread shall be used only for painting */ - 2009-10-23 14:38:06

AWT Dispatch Thread shall be used only for painting

←Older revision Revision as of 14:38, 23 October 2009
Line 15: Line 15:
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
-
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it just [[empiricism|empiricistically observers]]) and only the most annoying ones need to be fixed. I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
+
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it just [[empiricism|empiristicaly observers]]) and only the most annoying ones need to be fixed. I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].

JaroslavTulach: /* AWT Dispatch Thread shall be used only for painting */ - 2009-10-23 14:37:14

AWT Dispatch Thread shall be used only for painting

←Older revision Revision as of 14:37, 23 October 2009
Line 18: Line 18:
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].
 +
 +
 +
<comments/>

JaroslavTulach: /* AWT Dispatch Thread shall be used only for painting */ - 2009-10-23 14:36:53

AWT Dispatch Thread shall be used only for painting

←Older revision Revision as of 14:36, 23 October 2009
Line 15: Line 15:
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up.
-
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it just [[empiricism|empiricistically observers]]). I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
+
We had a lot of problems to convince our developers that [[Slowness Detector]] is useful. And [[Slowness Detector]] is really different story, as it delivers throughout reports about each individual failure (it just [[empiricism|empiricistically observers]]) and only the most annoying ones need to be fixed. I cannot imagine the welcome ceremony if I even tried to convince them to sign for a [[rationalistic]] approach and use the dispatch thread only for painting. No chance at all.
-
[[Rationalism]] is mentally attractive, but during real life we end up at most with [[empiricism]], if not with plain [[cluelessness]].
+
[[Rationalism]] is mentally attractive, but during real development we end up at most with [[empiricism]], if not with plain [[cluelessness]].

JaroslavTulach: /* AWT Dispatch Thread shall be used only for painting */ - 2009-10-23 14:34:04

AWT Dispatch Thread shall be used only for painting

←Older revision Revision as of 14:34, 23 October 2009
Line 3: Line 3:
=== AWT Dispatch Thread shall be used only for painting ===
=== AWT Dispatch Thread shall be used only for painting ===
-
During the work on [[NetBeans]] 6.8 the [[performance]] team introduced new tool: [[Slowness Detector]]. It allows us to observe real [[UI Responsiveness]] problems that our users are facing. This is following the spirit of [[empiricism]] - observe, measure and only they try to explain and take some action. And we needed some action as (to some body's surprise, to someone's expectation) actions that were supposed to be instant some time took many seconds.
+
During the work on [[NetBeans]] 6.8 the [[performance]] team introduced new tool: [[Slowness Detector]]. It allows us to observe real [[UI Responsiveness]] problems that our users are facing. This is following the spirit of [[empiricism]] - observe, measure and only then explain or take some action. And we needed some action as (to some body's surprise, to someone's expectation) actions that were supposed to be instant some time took many seconds.
That started a discussion about proper way to fix it. One proposed solution suggested:
That started a discussion about proper way to fix it. One proposed solution suggested:

JaroslavTulach: RationalismVsEmpriricism moved to RationalismVsEmpiricism: Typo - 2009-10-23 14:31:20

RationalismVsEmpriricism moved to RationalismVsEmpiricism: Typo

←Older revision Revision as of 14:31, 23 October 2009