List topic bin\windows\kafka-topics.bat --list --bootstrap-server localhost:9092 bin\windows\kafka-topics.bat --describe --bootstrap-server localhost:9092 bin\windows\kafka-topics.bat --describe --bootstrap-server localhost:9092 --topic test
Producer:
console bin\windows\kafka-console-producer.bat --broker-list localhost:9092 --topic test
Power shell to pipe apache web server access log gc access.log | D:\dvp\kafka\kafka_2.12-2.2.0\bin\windows\kafka-console-producer.bat --broker-list localhost:9092 --topic test
gc access.log -wait -tail 1 | ... (Like linux tail -f access.log. Not working)
Configure apache httpd.conf TransferLog "| d:/dvp/kafka/kafka_2.12-2.2.0/bin/windows/kafka-console-producer.bat --topic test --broker-list localhost:9092"
For both pipe and TransferLog, I really doubt the reliabliability.
Consumer:
Console bin\windows\kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic test --from-beginning
I installed HttpWatch to inspect all my media. They were all in the same domain.
Took me a while to narrow the cause. Javascript like this obj.style.backgroundImage:url(myimage.gif); wass trouble. Image url need need to be full path.
Google around some tab samples : University of Illinois and YUI, as I said before they were very complicated.
I believe my tab page design is very generic for web designers. So this is my address book sample of Work and Home tab. I don't provide those complicated key navigation. All user need is just "tab" key.
My question is do I present "tab" role properly in my above design?
I though to make page AREA aware is just role attribute. When, I try to put together tablist and tab, then things are getting complicated. In IE8 with JAWS10, it read out all tabs are visited, so I guess there should be another attribute to tell which tab is on.
When I look at example. It's so complicated. A long long of javascript to create widget. This is really not simple and create burden to developer.
Firefox 3.1 comes with css transform. I learn IE also has matrix equally.
Previously, I use writing-mode: tb-rl; filter: flipv fliph; for IE vertical text. Unfortunately, the text is very jagged after rotated. I decide to give matrix a try.
<div id="vt" class="displayretainer" style="filter:progid:DXImageTransform.Microsoft.Matrix(M11='1.0', sizingmethod='auto expand');"> Vertical Text </div>
<SCRIPT> var deg2rad = Math.PI * 2 / 360; function setRotation(obj, deg) { var rad = deg * deg2rad; var costheta = Math.cos(rad); var sintheta = Math.sin(rad);
I try to make a SELECT and DIV side by side with outline (style by border) in the same height; unfortunately, IE6 has always few pixels short.
I play it more. This situation only happens on heavy styling -- font is problem. So, I try to set my SELECT with fixed size font (font-family:monospace,Courier,Courier New;), then both SELECT and DIV are in the same height.
In IE, that is straight forward -- I got "Print" to the right side. But, not Firefox. According to http://bytes.com/forum/thread100308.html"The text-align property affects, by CSS specifications, the alignment of text lines inside the element. The inner table is a block element, so it is not affected.", that is make sense to me. However, it just give my style sheet more complication.
Just installed IE 8 beta 2. Before I installed it, I need to go through a whole bunches of windows update -- they were incredible huge.
The most obvious change I noticed is tabs. Better interface is always plus.
The long time most inconvenience feature in IE is open new URL by hitting "Ctrl+l". In Firefox and Safari, the window focus move to address bar once "Ctrl+l" hit. However, IE 8 still comes out a small pop up. The problems are : 1) It covers up some page content. 2) This pop up can be fake by malicious site. 3) It has very short text field. 4) Unfortunately, when new page open, the url don't show in the address bar. Well, it's beta.
UPDATE : IE 8 is going to have another beta and not going to release this year.
I put a log in to the front page (http), but I put log in to a iframe (https) to make sure user always use https to log in and has less chance to be hacked. But, I got "allow sub-frames to navigation across different domains". I have main window and iframe all in the same domain, but just http and https difference. Why IE send up this warning by the default? It's getting annoying.
Actually, I am looking how to have cascading menu disappear when mouse out. I hope this example http://bytes.com/forum/thread553630.html is going to help. Got to try it later on.
Also, file object should have "progress" properties, which show what is uploading percentage. So, javascript function can read that.
For the UI, once the file is starting to upload, INPUT file area show progressInitColor as background color and progressFilledColor flooding in base on uploading percentage. Also, the upload percentage number show next to file name.
This is what I think.
I saw some of ajax implementations show the file upload status bar. They are all by stage, not really progressive. As browser security, server don't know the file size until fully upload, so there is no way to use ajax to create real progress bar.
I can replace a pattern with line break. Let's say I have
"AAA" "BBB" "CCC" "ABC"
I enter CTL+F to open Find, then switch to Replace. In Find What, I enter " " and Replace With \n, then I need to check Search Mode > Extended (\n, \r ...). Then hit "Replace All" button. I got
"AAA BBB CCC ABC"
I just delete two quotes simply. Then in the menu > TextFX > Text FX Tools > Sort Line ...
That's all. Notepad++ is getting better and better,
Java is programming language, but PHP is only presentation layer for web.
Some feature PHP can't do that.
Java is sophisticated. Java has more libraries.
Java can do thing more organized. People is arguing PHP code is messy.
Ideally, we would like to some layer in the application for better developer collaboration, like presentation layer, logic layer, database layer.
PHP is still evolving and some fundamental structure is not well planned. New version of PHP add some lack features. However, when update to new version PHP, backward compatible is big issue.
More vendors support java. More enterprise certify java. More community force for java.
PHP use oci to connect database. OCI is considering faster than thin drive, but more depend on system environment. Oracle suggest to use thin driver as server-side internal driver.
I can replace a pattern with line break much easy with latest jEdit; however, I found notepad++ is more lightweight and powerful. So, I intend to use notepad++.
Notepad++ has so many options, configurations and tools. I intend to it can do many jobs. However, it takes me a while for how to replace a pattern with line break. The tricky part is how to put line break into "Replace with". I tried "\n", but not translate to line break. Also, tried "crtl+enter" key. Still no.
After, I look at http://forums.whirlpool.net.au/forum-replies-archive.cfm/911631.html, then it give me some hint.
I need to turn on "End of Line" in the "View" menu, then I copy "LF" into "Replace With". Then a pattern can be replaced with real line break.
My next goal is to replace HomeSite with Notepad++.
IE is sometime very innovation, but at one point you need to cry for bugging design. IE came up first HTML editor (WYSIWYG) back to 5.x.
Eventually, Firefox (Mozilla) catch up this feature. And, it's in HTML 5 spec. When you look at the Mozilla midas definition is very simple, but when you look at MSDN document that is very complicated and bloated. Mozilla implement most basic parts from IE and work perfect. As security reason, the copy and paste are not scriptable in FF.
The line break is annoying in IE. Most of times, user experience double line break which is not user expected. To avoid double spaces, must use DIV tag as hint. If current cursor position's parent node is not DIV, then double line spaces which from P tag. This is part of developer know how.
Another interesting part is when you apply indentation (Indent), you can find out IE has DIV inside of BLOCKQUOTE. Obviously, the IE folks are trying to avoid double line break.
One time, I did handle key event to force all ENTER key BR tag. Unfortunately, it caused alignment problem. In IE, the alignment is applied to DIV, P, BLOCKQUOTE tag, but not between BR tags.
I am sure many peoples are fighting this issue. Despite, we can use SHIFT+ENTER to force as single line break, but who are going to know that.
Yesterday, I were happy with new Firefox 3 beta -- no crash in the yahoo new mail.
But in today, I still got one crash.
For the Firefox 3 beta, I have noticed the table spacing (or padding) is little bit different, but I haven't look at the detail. Generally, Firefox 3 beta is very good. I will will be nice if it don't crash Yahoo mail.