9 Matching Annotations
- Jul 2019
-
www.artofmanliness.com www.artofmanliness.com
-
It is not really a trifling effort, as those will discover who have yet to essay it. To “clear” even seven hours and a half from the jungle is passably difficult. For some sacrifice has to be made. One may have spent one’s time badly, but one did spend it; one did do something with it, however ill-advised that something may have been. To do something else means a change of habits. And habits are the very dickens to change! Further, any change, even a change for the better, is always accompanied by drawbacks and discomforts. If you imagine that you will be able to devote seven hours and a half a week to serious, continuous effort, and still live your old life, you are mistaken. I repeat that some sacrifice, and an immense deal of volition, will be necessary. And it is because I know the difficulty, it is because I know the almost disastrous effect of failure in such an enterprise, that I earnestly advise a very humble beginning. You must safeguard your self-respect. Self-respect is at the root of all purposefulness, and a failure in an enterprise deliberately planned deals a desperate wound at one’s self-respect. Hence I iterate and reiterate: Start quietly, unostentatiously.
-
What I suggest is that at six o’clock you look facts in the face and admit that you are not tired (because you are not, you know), and that you arrange your evening so that it is not cut in the middle by a meal. By so doing you will have a clear expanse of at least three hours. I do not suggest that you should employ three hours every night of your life in using up your mental energy. But I do suggest that you might, for a commencement, employ an hour and a half every other evening in some important and consecutive cultivation of the mind. You will still be left with three evenings for friends, bridge, tennis, domestic scenes, odd reading, pipes, gardening, pottering, and prize competitions. You will still have the terrific wealth of forty-five hours between 2 p.m. Saturday and 10 a.m. Monday. If you persevere you will soon want to pass four evenings, and perhaps five, in some sustained endeavour to be genuinely alive. And you will fall out of that habit of muttering to yourself at 11.15 p.m., “Time to be thinking about going to bed.” The man who begins to go to bed forty minutes before he opens his bedroom door is bored; that is to say, he is not living.
How to handle post work day
-
-
www.joelonsoftware.com www.joelonsoftware.com
-
At the design stage, when you discover problems, you can fix them easily by editing a few lines of text. Once the code is written, the cost of fixing problems is dramatically higher, both emotionally (people hate to throw away code) and in terms of time, so there’s resistance to actually fixing the problems. Software that wasn’t built from a spec usually winds up badly designed and the schedule gets out of control.
-
In general, the longer you wait before fixing a bug, the costlier (in time and money) it is to fix.
-
- Jun 2019
-
nifi.apache.org nifi.apache.org
-
This annotation indicates that a method should be called every time the component is scheduled to run.
When processor is stopped and started, or started first time when nifi starts, the method with this annotation is called.
-
- May 2019
-
stackoverflow.com stackoverflow.com
-
getLogger().isDebugEnabled()
How do we enable debug?
-
// TODO: May need to buffer this if the content is large
Example?
-
-
nifi.apache.org nifi.apache.org
-
It is assumed that attributes are small enough to be entirely read into local memory every time a processor executes on it.
We need to clear unused attributes regularly
-
In either case, the Send event can be replayed with the click of a button (or by accessing the appropriate HTTP API endpoint) in order to resend the data only to that particular downstream system. Alternatively, if the data was not handled properly (perhaps some data manipulation should have occurred first), the flow can be fixed and then the data can be replayed into the new flow, in order to process the data properly.
How can we do this?
-