Java: User Input Validation
Whenever a user is asked to provide input, the program should expect errors. This is true for almost any language and almost any case; you should protect your MySQL code from sql-injections, your php...
View ArticleJava Project: Temperature Conversion
Java code for the conversion of degrees from Celsius to Fahrenheit and vise versa. This was a project for Java programming 101 in the fall semester of 2012. The project and tutorial can help Java...
View ArticleJava Project: Mice Fill Central Park
Java program that calculates the time it would take mice to multiply and cover every inch of Central Park. This project was created as part of a Java programming 101 course in the fall semester of...
View ArticleMy Programming Romance With Windows 8 App Development
Windows 8 and I have been flirting for a while, ever since my (rather awesomely built) Dell laptop came with it preinstalled. Like most experiences with a new Operating System (especially...
View ArticleGoogle Summer of Code 2013: RTL Support for MediaWiki’s Visual Editor
This year I had the distinct privilege of being accepted to the Google Summer of Code summer internship, working for the Wikimedia Foundation. I will be responsible for improving Right-to-Left support...
View ArticleThe Issues of Coordinate Systems (or: Mirroring XY, Oh My!)
I’ve spent a lot of my Physics education dealing with calculations. Calculating positions of objects as they move in space, particles in some electric field, planets around a certain star, and more,...
View ArticleElement Positioning: .css( ‘left’ ) vs .position().left (Or: Making Element...
I sit in front of my trusty computer, coding-away right-to-left popup-location fixes in anticipation of the new VisualEditor deployment in the Hebrew Wikipedia. The hard part, I tell myself (and with...
View ArticleThe Language Double-Take: Dealing with Bidirectional Text (or: Wait, ?tahW)
English is written left to right. Hebrew is written right to left. We know that. Browsers (for the most part) know that too, just like they know that the default directionality of a web page is...
View ArticleGSoC2013 Summary: Right-to-Left Support in VisualEditor
If you’ve read any of my previous posts, you should know by now that I have been participating in the Google Summer of Code internship, working for the Wikimedia Foundation. And now, as the summer has...
View ArticleDesigning a JavaScript Sudoku Puzzle: An Adventure in Algorithms
As part of my neverending quest towards improving my programming skills and learning new patterns and algorithms, I had the idea of finding myself a well-defined challenge I can conquer from start to...
View ArticleTutorial: Building a ToDo app with OOjs-UI (Part 1)
In this post we’ll walk through creating a simple ToDo JavaScript app with the OOjs UI library, which was created by the Wikimedia Foundation. OOjs UI has a lot of power under the hood and a lot of...
View ArticleTutorial: Building a ToDo app with OOjs-UI (Part 2)
In the previous part of this tutorial, we walked through how to make a very basic version of a ToDo app using Wikimedia’s OOjs UI library. Now it’s time to add a way to store and display information...
View Article
More Pages to Explore .....