tag:blogger.com,1999:blog-4077618024937136731.comments2023-08-01T01:21:09.908-07:00Shogi SoftwareFat Bold Cyclophttp://www.blogger.com/profile/05150168717094079722noreply@blogger.comBlogger76125tag:blogger.com,1999:blog-4077618024937136731.post-45498685847614620172022-12-03T05:20:56.934-08:002022-12-03T05:20:56.934-08:00pearltrees<a href="https://www.pearltrees.com/raflesh_ft" rel="nofollow">pearltrees</a><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-1698105262895954252022-02-25T02:07:40.123-08:002022-02-25T02:07:40.123-08:00thanks
HP LaserJet 1300 Driverthanks<br /><a href="https://www.my-hpdrivers.com/2022/02/hp-laserjet-1300-driver.html" rel="nofollow">HP LaserJet 1300 Driver</a>Maherhttps://www.blogger.com/profile/07028912797296662433noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-75035636855495277912017-04-28T04:17:09.864-07:002017-04-28T04:17:09.864-07:00I am not sure that I get your question right, but ...I am not sure that I get your question right, but after re-reading I get the point.<br />Here what I had in mind was mostly Shogi notation.<br />Unicode, in my opinion, are perfectly fine for this. <br />They should be also quite fine for diagrams (problems). Take a look at this: http://blogimg.goo.ne.jp/user_image/76/3d/291514248529057801a373409e39756e.png<br /><br />I tend to agree, that for board visualisation purposes having pieces would be much more user friendly.Fat Bold Cyclophttps://www.blogger.com/profile/05150168717094079722noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-51035065635823987442017-04-03T12:29:21.834-07:002017-04-03T12:29:21.834-07:00Do you think that it would be better to encode cha...Do you think that it would be better to encode characters that actually look like the shogi pieces? because I cannot see how you would be able to represent a board (do you invert the ideographs for the other players? how?). Aren't you of the opinion that having such characters would simplify the notation? Anonymoushttps://www.blogger.com/profile/15229738112611735779noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-54885783311649821132015-11-17T01:14:46.233-08:002015-11-17T01:14:46.233-08:00Thank you for spotting this. I've fixed the po...Thank you for spotting this. I've fixed the post.Fat Bold Cyclophttps://www.blogger.com/profile/05150168717094079722noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-76105720954871486042015-11-17T00:08:26.691-08:002015-11-17T00:08:26.691-08:00674f not 6740 for +L674f not 6740 for +LAnonhttps://www.blogger.com/profile/14119557748432860672noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-16559797429441221852013-05-14T11:09:51.625-07:002013-05-14T11:09:51.625-07:00Very helpful. Thank you very much.Very helpful. Thank you very much.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-7052761302953276822012-11-09T01:31:40.769-08:002012-11-09T01:31:40.769-08:00@Vũ Hải Nam
The sources are located at code.googl...@Vũ Hải Nam<br /><br />The sources are located at code.google.com. (for example, UserPreferences are here: http://code.google.com/p/shogitools/source/browse/ShogiServer/src/org/fbc/shogiserver/entities/UserPreferences.java?r=285).<br /><br />PMF is a persistance manager factory. See https://developers.google.com/appengine/docs/java/datastore/jdo/overview.<br /><br />The code for the class is here:<br />http://code.google.com/p/shogitools/source/browse/ShogiServer/src/org/fbc/shogiserver/dao/PMF.java?r=285<br /><br />Best wishes,<br />fbcFat Bold Cyclophttps://www.blogger.com/profile/05150168717094079722noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-55944986028156983162012-11-09T00:18:34.903-08:002012-11-09T00:18:34.903-08:00Hi!
May I question.
I copyed In UserDAO file have ...Hi!<br />May I question.<br />I copyed In UserDAO file have statement :<br /><br />import org.fbc.shogiserver.entities.UserDetails;<br />import org.fbc.shogiserver.entities.UserPreferences;<br /><br />can you post 2 file UserDeatail and UserPreferences ?<br /><br />and <br />PersistenceManager pm = PMF.get().getPersistenceManager();<br /><br />Can you explain for me PMF is what, and where.<br /><br />Thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-17236588976507640892011-07-29T23:14:43.354-07:002011-07-29T23:14:43.354-07:00@Henry
Looks like you are using DiskFileItem which...@Henry<br />Looks like you are using DiskFileItem which tries to write to the filesystem, which GAE forbids.<br />Please, see doPost in my example for hint how to avoid the problem.<br /><br /><br />The curious thing is what you are saying about different behavior of dev environment and production environment.<br />I know there were some problems with this in the past (i.e. http://code.google.com/p/googleappengine/issues/detail?id=1655) but I thought it was fixed now.Fat Bold Cyclophttps://www.blogger.com/profile/05150168717094079722noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-42435303721917170642011-07-29T23:01:49.347-07:002011-07-29T23:01:49.347-07:00@Anonymous
> In my case, if i want to upload my...@Anonymous<br />> In my case, if i want to upload my file to a<br />> directory named /WebContent/File in my <br />> application server, how do i do it?<br />Unfortunately, the answer is: you don't. GAE does not let you write to the filesystem.Fat Bold Cyclophttps://www.blogger.com/profile/05150168717094079722noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-72613082634487645892011-07-27T12:24:43.578-07:002011-07-27T12:24:43.578-07:00Everything works fine in google server emulator.
B...Everything works fine in google server emulator.<br />But not at google hos - <br />java.lang.NullPointerException<br /> at java.io.File.(File.java:276)<br /> at org.apache.commons.fileupload.disk.DiskFileItem.getTempFile(DiskFileItem.java:565)<br /> at org.apache.commons.fileupload.disk.DiskFileItem.getOutputStream(DiskFileItem.java:510)<br /> at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)<br /> at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)<br /><br />....Henryhttps://www.blogger.com/profile/13200945979211879524noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-31668321449371209312011-07-26T21:48:58.596-07:002011-07-26T21:48:58.596-07:00I remember (when collecting the problems) some ans...I remember (when collecting the problems) some answers were missing, some were wrong. I also copied them by hand so there is a possibility of mistake, too.<br /><br />I planned to do automatic "testing" of the solutions with Spear (http://www.teu.ac.jp/gamelab/SHOGI/SPEAR/spearmain.html) which has a good tsume solver. But it didn't work out. I had both problem with Japanese ;-) and the program being Windows application.<br /><br />Now I've read that Spear is an engine that can be "plugged" into other programs (like BCMShogi - http://home.arcor.de/Bernhard.Maerz/BCMShogi/).<br /><br />If you decide to use some program to check the solution, please give me a note. I could prepare the positions in format acceptable by the software you choose.<br /><br />Best wishes, <br />fbcFat Bold Cyclophttps://www.blogger.com/profile/05150168717094079722noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-7541803336427312602011-07-26T13:22:33.025-07:002011-07-26T13:22:33.025-07:00Awesome! thank you!
I'm enjoying the problems...Awesome! thank you!<br /><br />I'm enjoying the problems.<br /><br />That said... is there a possibility for the problems to have different solutions than those listed? I've only solved the first 4, but found different solutions for 2 of them. I'm new to tsume problems, so I might be missunderstanding a rule or something.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-32241459902390153132011-07-20T08:02:48.135-07:002011-07-20T08:02:48.135-07:00Hello,
May i ask you a question, in which direc...Hello,<br /><br /> May i ask you a question, in which directory of the web server do you upload your file to? <br />In my case, if i want to upload my file to a directory named /WebContent/File in my application server, how do i do it?<br /><br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-76887145375743412752011-04-26T10:23:52.989-07:002011-04-26T10:23:52.989-07:00Your blog helped me alot.. i was looking for this ...Your blog helped me alot.. i was looking for this since 3 days.. and was trying different things by looking into GAE's tutorial on file upload but wasn't helpful to upload larger files( > 1mb).. Very Very thanks... good work and keep posting things like thisjugal Kishore Mahendrahttp://www.jugalkmahendra.tknoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-55965348586392936962011-03-08T01:09:24.661-08:002011-03-08T01:09:24.661-08:00Articles are created to express different body of ...Articles are created to express different body of knowledge. That is why I admire writers who are passionate of doing such incredible job. I salute you guys. By the way, I like you post for it is specifically talk about current issues and technicalities in life. I look forward for your subsequent post.I look forward for your next article.Thanks Marks <a href="http://www.mpowerglobal.com/en_GB/web/mpower-india/blog" rel="nofollow">Liferay Blog</a>Liferay Bloghttp://www.mpowerglobal.com/en_GB/web/mpower-india/blognoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-5387108596477133022011-01-26T10:17:23.311-08:002011-01-26T10:17:23.311-08:00this is excellent. thank you very much.this is excellent. thank you very much.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-48434445493890476402011-01-14T23:59:46.770-08:002011-01-14T23:59:46.770-08:00@quiming
You code works fine. What it does is:
1. ...@quiming<br />You code works fine. What it does is:<br />1. get array of bytes from input stream<br />2. print the array to the console<br /><br />Bytearray is not a string. If you print out a string to the console, you get its content. When you print out a bytearray, you get it's "visual representation" (you can think about it as a "kind of pointer" to the variable). <br /><br />If you need to load string instead of array, use IOUtils.toArray(). If you need to read bytearray and then show its string representation, convert it like I did here:<br /> InputStream in = null;<br /> byte[] contentBytes = null;<br /> try {<br /> in = new FileInputStream("test.txt");<br /> contentBytes = IOUtils.toByteArray(in);<br /> System.out.println(<b>new String(contentBytes)</b>);<br /> } catch (IOException e) {<br /> e.printStackTrace();<br /> } finally {<br /> IOUtils.closeQuietly(in);<br /> }<br /><br />Hope it helps.Fat Bold Cyclophttps://www.blogger.com/profile/05150168717094079722noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-15488439005574003042011-01-14T12:03:14.071-08:002011-01-14T12:03:14.071-08:00I want to ask why i get a weird file content just ...I want to ask why i get a weird file content just like:[B@ce0197 , the jsp code is:<br />byte[] contentBytes = null;<br />try {<br />contentBytes = IOUtils.toByteArray(in);<br />out.println("contentByte :" + contentBytes);<br />} finally {<br />IOUtils.closeQuietly(in);<br />}Unknownhttps://www.blogger.com/profile/09561400783315090995noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-11134019696717955742011-01-03T21:20:19.731-08:002011-01-03T21:20:19.731-08:00Fantastic post! This could aid lots of people find...Fantastic post! This could aid lots of people find out about this matter.Move4lesshttp://move4less-las-vegas.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-33844368516889476272011-01-01T00:46:03.299-08:002011-01-01T00:46:03.299-08:00I like it very much, Also I really enjoyed reading...I like it very much, Also I really enjoyed reading the post.Carpet Cleaning Las Vegashttp://carpetcleanersoflasvegas.com/noreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-24120813647833866842010-12-20T03:31:49.490-08:002010-12-20T03:31:49.490-08:00Nice explanation and a great code to fetch the ima...Nice explanation and a great code to fetch the image via the code. Fetching the image is taking a bit longer time can we reduce that time gap..net Obfuscatorshttp://secureteam.net/Obfuscator.aspxnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-86034581300599593702010-12-13T23:48:40.330-08:002010-12-13T23:48:40.330-08:00Oracle Database 10g Express Edition works on my op...Oracle Database 10g Express Edition works on my openSUSE 11.0 installation very well. I think you always have to do the following steps:<br /><br />* After installation and configuration as described above, add, perhaps with yast, the additional group `dba´ to your own user.<br /><br />* Log out and log in again to read in the new additional group.<br /><br />* Start the Oracle web interface as described above.<br /><br />* Log in WITH THE USERNAME `system´, not with the name you gave while configuring Oracle database.<br /><br />* But choose the then given password.<br /><br />* I think the user name given whilst configuration is only the name of the new linux user, not the Oracle interface user name.<br /><br />I didn't make any SQL query. Operating system is 32-bit, on a virtual machine.<br /><br />Have a lot of fun with your oracling openSUSE ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4077618024937136731.post-29423914063464005292010-10-15T03:22:55.576-07:002010-10-15T03:22:55.576-07:00I know Shogi people like to do everything as diffe...I know Shogi people like to do everything as different as possible, but I like to stick to existing standards as long as they can do the job. None of the requirements you point out is really any different from what you need for any other Chess variant, and Portable Game Notation was designed to meet them.<br /><br />So in the WinBoard / XBoard graphical interface for Chess / Shogi / Xiangqi (plus a host of others) I stick to using PGN as a single standard format, rather than using zillions of different formats of limited scope.H.G.Mullerhttp://home.hccnet.nl/h.g.muller/shokidoki.htmlnoreply@blogger.com