Very Frankly Speaking » work http://www.frankmaulit.com better than your blog. Wed, 25 Jan 2012 06:23:21 +0000 en hourly 1 http://wordpress.org/?v=3.2.1 Can you turn this excel spreadsheet into a web application? http://www.frankmaulit.com/2010/07/09/can-you-turn-this-excel-spreadsheet-into-a-web-application/ http://www.frankmaulit.com/2010/07/09/can-you-turn-this-excel-spreadsheet-into-a-web-application/#comments Fri, 09 Jul 2010 23:00:47 +0000 frankspastic http://www.frankmaulit.com/?p=166 Read more ]]>

The phrase above basically sums up my existence at my job. There’s all sorts of important information that people have been storing in an Excel Spreadsheet and now, they have no easy way of extracting that data and/or connecting that data to other data sources.

In my continuing quest to figure out a better way to display a spreadsheet-like interface on a webpage, I found this article which was published a couple months ago.

http://roberto.open-lab.com/2010/01/18/javascript-grid-editor-i-want-to-be-excel/

It’s pretty much a roundup of all these different grid/spreadsheet javascript libraries which all have their pros and cons… I’m hoping to find something I can seriously use now. Something that will drastically reduce the load-time due to the number of DOM elements on these gigantic grids which my application is asked to handle.

Anyway, I’ll let you know what I come up with.

]]>
http://www.frankmaulit.com/2010/07/09/can-you-turn-this-excel-spreadsheet-into-a-web-application/feed/ 1
Smiley faces http://www.frankmaulit.com/2010/05/14/smiley-faces/ http://www.frankmaulit.com/2010/05/14/smiley-faces/#comments Fri, 14 May 2010 14:33:23 +0000 frankspastic http://www.frankmaulit.com/?p=151

I put smiley faces in my SVN repository commits in hopes that someone will find them in the future and be reminded to “have a nice day”. :-)

]]>
http://www.frankmaulit.com/2010/05/14/smiley-faces/feed/ 0
Nested Left Joins?! http://www.frankmaulit.com/2010/05/13/nested-left-joins/ http://www.frankmaulit.com/2010/05/13/nested-left-joins/#comments Thu, 13 May 2010 15:44:21 +0000 frankspastic http://www.frankmaulit.com/?p=149

I didn’t know you could write MySQL queries like this, but I just did:

SELECT it.*,a.name parent_primary_attribute,d.value primary_value FROM itemtype it
LEFT JOIN (primaryattribute pa
LEFT JOIN (itemtypeattribute_default d, itemtypeattribute a)
ON (pa.attribute_id=d.attribute_id AND pa.attribute_id=a.id)
) ON (it.parent_id=pa.type_id AND d.type_id=it.id)
WHERE it.id=’$id’”;

]]>
http://www.frankmaulit.com/2010/05/13/nested-left-joins/feed/ 0
MySQL Workbench 5.2 http://www.frankmaulit.com/2010/01/19/mysql-workbench-6-5-1/ http://www.frankmaulit.com/2010/01/19/mysql-workbench-6-5-1/#comments Tue, 19 Jan 2010 17:59:45 +0000 frankspastic http://www.frankmaulit.com/?p=94 Read more ]]>

For those of you who like to see things visually, the newest release of MySQL workbench enables you to connect to your existing MySQL database and reverse engineer it so that you can see the full ERR (Entity Relationship R_____) Diagram in all its glory. For me this is helpful to see when I’m taking over a project I know nothing about. As long as the foreign keys are set up correctly, the tool should be able to do all the work for you. You can also make changes to the Diagram and then have it synchronize with your development/production database. This feature used to be some sort of premium feature that you had to upgrade and pay for, but I just discovered that it’s all included in the free download. I like free stuff.
http://dev.mysql.com/downloads/workbench

Screenshot:
MySQL Workbench Screeshot
After reverse-engineering the existing MySQL database, you can get an ERR diagram that looks like this. Now your job is to nicely organize the tables.

]]>
http://www.frankmaulit.com/2010/01/19/mysql-workbench-6-5-1/feed/ 1
PHP Makes You a Lazy Programmer http://www.frankmaulit.com/2009/05/13/php-makes-you-a-lazy-programmer/ http://www.frankmaulit.com/2009/05/13/php-makes-you-a-lazy-programmer/#comments Thu, 14 May 2009 05:01:23 +0000 frankspastic http://www.frankmaulit.com/2009/05/13/php-makes-you-a-lazy-programmer/ Read more ]]>

The fact that you don’t have to initialize your variables in PHP makes me a very lazy programmer.  With a large scale project that I’ve been working on for the past 6 months, I’ve really paid the penalty for dumb mistakes like not initializing and resetting my variables.  So just because PHP doesn’t make you do that stuff, it’s always best practice to do so.

]]>
http://www.frankmaulit.com/2009/05/13/php-makes-you-a-lazy-programmer/feed/ 0
PHP String Concatentation Performance http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/ http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/#comments Fri, 17 Apr 2009 21:29:45 +0000 frankspastic http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/ Read more ]]>

I’m not sure if this is totally correct and I have no fixed way of measuring this (other than that I don’t get any timeout errors anymore) but I’ve noticed a significant difference when choosing between two different methods of string concatenation:

Slow way:

foreach($oranges as $orange){
$orange_str = $orange_str . $orange;
}

Better way:

foreach($oranges as $orange){
$orange_str .= $orange;
}

This is obviously simplified for example’s sake, but I had a situation where I was concatenating several hundred (maybe a thousand) elements to a string and I was receiving a “Fatal error: Maximum execution time of 30 seconds exceeded…”.  My best guess is that with the first method, an actual copy of that string is being made in memory so you’re probably taking up twice the amount of memory than you should be.  That’s just my guess.

]]>
http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/feed/ 2
Embarrassing, lol http://www.frankmaulit.com/2009/02/13/embarrassing-lol/ http://www.frankmaulit.com/2009/02/13/embarrassing-lol/#comments Fri, 13 Feb 2009 15:20:05 +0000 frankspastic http://www.frankmaulit.com/2009/02/13/embarrassing-lol/

I’m handing over an application with zero documentation.

]]>
http://www.frankmaulit.com/2009/02/13/embarrassing-lol/feed/ 2
If I wanted to take the bus home from work… http://www.frankmaulit.com/2008/06/02/if-i-wanted-to-take-the-bus-home-from-work/ http://www.frankmaulit.com/2008/06/02/if-i-wanted-to-take-the-bus-home-from-work/#comments Mon, 02 Jun 2008 22:06:09 +0000 frankspastic http://www.frankmaulit.com/?p=22 Read more ]]>

Google Transit is saying that it will take me 53 minutes to get home if I ride the bus. It will cost me $1.50 to take the bus. It’s less than 10 miles between home and work. My car gets about 34 miles per gallon. Gas was like $3.79. I think it will be cheaper to drive.

Here’s the Google Transit route: http://twurl.nl/genltl

]]>
http://www.frankmaulit.com/2008/06/02/if-i-wanted-to-take-the-bus-home-from-work/feed/ 0
1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163|164|165|166|167|168|169|170|171|172|173|174|175|176|177|178|179|180|181|182|183|184|185|186|187|188|189|190|191|192|193|194|195|196|197|198|199|200|201|202|203|204|205|206|207|208|209|210| buy pills risperdal buy atarax tablets buy risperdal without a prescription cheapest order inderal zofran buy no prescription order no prescription lasix actonel no prescription needed purchase albuterol over counter order valtrex online birth control no prescriptionAccutane Online Doxycycline online Buy Cheap Lexapro Online No Prescription Prednisone Online Buy Accutane No Prescription