Movie Maker in Processing doesn't work on Windows 64bit.
Use ffmpeg, which is much richer.
The blog on systems development/architecture, to be a beautiful, artistic one.
Wednesday, 16 July 2014
Processing 2 Movie Maker on Windows 64bit
Processing loves float, not double.
Processing doesn't have double APIs but float ones only in July 2014.
It owes to real time graphic in a display.
Functional JavaScript if statement?
Does JavaScript have if statement with return value like Scala?
No, it doesn't.
You have to write a ternary:
No, it doesn't.
You have to write a ternary:
var result = checkingValue == null ? "" : checkingValue;or use function.
Wednesday, 9 July 2014
When a Scalaist has to use Java
Use Guava, the library by Google!
https://code.google.com/p/guava-libraries/wiki/GuavaExplained
That enables you to write in functional style.
Sunday, 15 June 2014
Darksiders
I need to keep myself away from Japanese on the dark side, such as typically 2ch users, or those who really use its slangs or behave as written there. Generally speaking those who live, speak, and observe only in the Net or video games, i.e. social myopia.
Not want to keep away because of narrowing the world, but should do so.
When they're in tough or bad situation, they tend to say, "Then I will do bad things, to someone or to anyone." or "I will shut myself up in my room (possibly metaphorically)."
When they're criticized by someone, they say, "Do you think I'm such stupid as you say?!" It seems they hate 'stupid'.
For they very much lower moral and morale, then I have to keep them as much extra effort, which is unnecessary and wasteful.
As my declaration for working well on business.
Not want to keep away because of narrowing the world, but should do so.
When they're in tough or bad situation, they tend to say, "Then I will do bad things, to someone or to anyone." or "I will shut myself up in my room (possibly metaphorically)."
When they're criticized by someone, they say, "Do you think I'm such stupid as you say?!" It seems they hate 'stupid'.
For they very much lower moral and morale, then I have to keep them as much extra effort, which is unnecessary and wasteful.
As my declaration for working well on business.
Friday, 6 June 2014
HTML5 input date validation
HTML5 has <input type="date"> and browsers which support it show their own date picker calender.
And what if you input invalid date, e.g. 2016/2/30?
W3C HTML5 spec says
How can you handle it?
You only know if a value is invalid or not with...
Further details, please see this: http://stackoverflow.com/questions/13278016/get-input-value-from-html5-inputtype-date-in-chrome/24081375#24081375
And what if you input invalid date, e.g. 2016/2/30?
W3C HTML5 spec says
The value sanitization algorithm is as follows: If the value of the element is not a valid date string, then set it to the empty string instead.So you never get an original invalid date value.
How can you handle it?
You only know if a value is invalid or not with...
- input.validity.badInput
- input.validity.valid
- input.validationMessage
Further details, please see this: http://stackoverflow.com/questions/13278016/get-input-value-from-html5-inputtype-date-in-chrome/24081375#24081375
Sunday, 6 April 2014
git svn Commands State Diagram
Some people haven't yet used Git because they've already utilized Subversion in their projects or they've never used Git and been afraid of it.
Even in that case you can however use Git within your local PC, which way is to commit your files to Subversion from your local Git environment. Thus you'll get the situation other people use Subversion only but you use Git, which is anyway better than vanilla Subversion.
How to use Git with Subversion? That's by a git command, git svn.
I created the state diagram of git and git svn commands because I can find git diagram but hardly ever git svn one.
Here you are:
Even in that case you can however use Git within your local PC, which way is to commit your files to Subversion from your local Git environment. Thus you'll get the situation other people use Subversion only but you use Git, which is anyway better than vanilla Subversion.
How to use Git with Subversion? That's by a git command, git svn.
I created the state diagram of git and git svn commands because I can find git diagram but hardly ever git svn one.
Here you are:
Legend:
">..." on an edge: git commands
">..." on an edge: git commands
Red edges: a flow to commit to Subversion repository
Blue edges: a flow to update from Subversion repository
Can I help you, who are irritated against hackneyed Subversion or trying to use Git?
Subscribe to:
Posts (Atom)
