Category: programming
04/10/12 08:46 - ID#56342
My first music program - May 1986
Permalink: My_first_music_program_May_1986.html
Words: 28
Last Modified: 04/11/12 12:07
Category: programming
03/10/12 02:44 - ID#56197
Such a fucking idiot
Anyways, I was trying to get an accurate location and it kept giving me lat/long of 42 by 78. It was weird because it was saying the accuracy was like 1-28m. At first I thought it was because it kept selecting the network provider as more accurate as I was indoors. This got me running in and out of the house to try and get it to work.
But it wasn't working. Even when I explicitly chose the GPS as the location provider and set the accuracy to ACCURACY_FINE, it still was 42 by 78. After tons of frustration I looked at my logging code and I was casting the lat and long to int instead of a fucking double. Duh, it was being rounded. I could kill myself for not having noticed this and wasting so much time. I guess this is what I get for programming as entertainment at 2:41am on a saturday.
double lat = (double) (location.getLatitude()); double lng = (double) (location.getLongitude());
vs
int lat = (int) (location.getLatitude()); int lng = (int) (location.getLongitude());
Permalink: Such_a_fucking_idiot.html
Words: 230
Last Modified: 03/10/12 02:44
Category: programming
10/15/11 04:47 - ID#55308
Language Learning Lab
While there I did so many different things, one of the most fun was a desktop app for mac that could check students in and out of the labs by swiping their id cards. I went to the cafeteria manager and asked him if we could borrow their card reader for testing and he let me, then when it worked I went to the professor I worked for and showed him and we got our own reader. The system really simplified and organized time tracking.
The code is so inefficient and redundant looking back but it's interesting to still have it.
::READ PDF::
Check out the amazing referral I got for the year I worked there. I wonder if my current boss could match this despite my significantly upgraded skill and dedication to my current job.
::READ PDF::
Lab assistants typically had little technical know-how and experience with software in this area. This changed when Paul Visco was hired. Paul started the job as student assistant and finished it as technical manager and technical support analyst. Paul brought the most varied and extensive background to the job of any of the LLC assistants I ever had, including one who served from 1991 to 1996. More importantly, the few Macintosh hardware and software applications in this multimedia lab that Paul was not familiar with, he taught himself at an amazing speed, not stopping until he had in-depth knowledge of the equipment or program. For example, Paul had never worked with FileMaker Pro, the database development software. When took up the software in my lab, he started from scratch to develop a lab visitation database application that he integrated with an I.D. card reader to automate the registration and sign-in process for students. I should mention that he managed to interface a card reader model made for Windows only with an iMac due to his astute technical skills and relentless efforts in searching the WWW until he found a solution.
There are two important testaments that I would like to make in regard to Paul and with a view of the position for which he is applying. First, after eight years of being a Macintosh lab manager, and at the time after almost 15 years of experience with Macintosh applications including desktop publishing, digital video, courseware authoring, MIDI, and image editing, Paul was the first person I met who knew more about the Macintosh in some areas than I did. As a result, I entrusted him with administrative duties such as system software maintenance, equipment and software trouble-shooting, as well as software installations. This freed up valuable time for me to meet my teaching, research, and service obligations while I was assured that the job in the LLC would not only get done on time but also effectively.
Second, I was thrilled to have a student worker in my lab who was intrinsically motivated to do everything in his power to ensure smooth technical operation, to search for new ways to improve lab management, and to identify software that could get certain tasks done better than the one the LLC had at the time.
Paul's work for the lab went above the and beyond the call of duty. He always put in extra hours just to learn new software or solve a problem, taking responsibility for attending to essential administrative and technical tasks without having to be assigned. I am convinced that to a certain (healthy) degree Paul identified with his workplace, a type of involvement in the daily and special routines that I had never seen in a student assistant before.
Paul was very pleasant to work with. Due to his exceptional skills and reliability,our work relationship quickly turned into one of cooperation and trust. He was well liked for his friendly personality and much admired for his expertise by his fellow lab assistants. Students using the lab were thrilled to have a peer who knew every facet of the lab and could solve their technical problems on the spot. Faculty frequently commented that they appreciated Paul's hiring because when they needed help and could not meet up with me, they knew they could receive qualified support in the lab from Paul.
I give Paul my highest recommendation because his technical skills, his sincere curiosity about everything Macintosh, and his open and cooperative demeanor make him an ideal candidate for the position of Multimedia Specialist in an educational and Macintosh dominated workplace.
Permalink: Language_Learning_Lab.html
Words: 809
Last Modified: 11/19/22 11:13
Category: programming
10/15/11 03:09 - ID#55303
switch to git?
The one thing that I hate/love is that tags do not actually exist as materialized files. One one hand this saves a ton of space. The repos are an tremendously smalller than in svn. I can export when needed but I liked having all of the tags in a repo for surebert because then I deploy all of the tags separately on the server and let the programmers link by defining the base path in their app. This was so easy before as I would just set the servers to sync the tags directory so that any time new tags were made, they were available immediately on all the servers.
If I like it maybe I will move more of my bizillion repos over. Thanks to the creators of svn2git
Permalink: switch_to_git_.html
Words: 179
Last Modified: 10/15/11 03:09
Category: programming
07/29/11 05:51 - ID#54814
Estrip android app
Just to give you an idea how unusual this is on a mobile android device - this is the message for the google marketplace. I think mine looks better.
Permalink: Estrip_android_app.html
Words: 91
Last Modified: 07/29/11 06:02
Category: programming
01/22/11 04:18 - ID#53476
Objective C and XCode Suck
Anyways, the point of this is that I got an objective C book so that I couldn't finally spend some time on it and it does in fact suck. For me, its simply too verbose and the NS (NextStep), camel case bullshit kills it.
That plus Xcode is so freakin awful. I thought an apple designed IDE would be refreshingly better. Turns out not to be the case. It makes me miss eclipse. Apple seems to be losing it to me anyways. Just look at the non standard interface for the new app store and the new itunes. I think the only reason they are generally successful with design is they cut out features until there are very few things to add to the design. Of course its easy to have a clean interface on something that only has a few options. I guess Xcode is an example of what they do with a larger, complicated application..
Xcode gets to the point where you have ~10 windows all open and even have to drag between them to accomplish stuff. And yes, I can remember all the keyboard shortcuts to bring the different parts I want to the front but its still a cluttered mess.
Enough with Xcode, this was supposed to be about objective C.
Well here is an example of my point about objective C. Several language comparisons of making arrays.
Objective C
NSMutableArray *items = [NSMutableArray arrayWithObjects:@"One", @"Two", @"Three"];
Javascript
var items = ["One", "Two", "Three"];
PHP
$items = array("One", "Two", "Three");
Perl
@items = ("One", "Two", "Three");
Java
String[] items = {"One", "Two", "Three"};
C#
string[] items = new string[] {"One", "Two", "Three"};
Ruby
items = ['One', 'Two', 'Three']
Permalink: Objective_C_and_XCode_Suck.html
Words: 337
Last Modified: 01/22/11 06:25
Category: programming
07/26/09 01:45 - ID#49380
Still working on estrip
It was the one big obstacle between being done and not being done. The basic idea was to get everything updated to the latest surebert framework and toolkit and then I can easily add new features as I release new stuff for that and for work.
Now all I have left is some themeing and some testing/refactoring to do. Its realy minor. I decided to just freeze featrues and launch it soon. Then I can add the new stuff I want much more easily to that version. There is the new topic of the day system and the API which will left you post to estrip from more devices, places, etc. Both of them can be addons after the launch.
I also want to add a more robust chat, but same thing, can wait.
The worst part of the day was when I started working on the old server and the CPUs started to overheat. I guess after 7 years, the thermal paste between the fans and the cpu started to break down. Glad I was home to catch it happening or it would have been a disaster.
Permalink: Still_working_on_estrip.html
Words: 254
Category: programming
03/20/09 11:53 - ID#48134
My first Impressions of IE 8
Sothe problems which were kind of tricky to identify were:
1. The async argument to an xmlHTTP instances open method cannot be a 0 for false. In all previous versions of IE and in every other browser 0 was acceptable for false. They must be type checking now. This occurs even in comparibiltu mode which makes me wonder what else is not truly compatible.
One of the major feature additions was the inclusion of querySelectorAll. Annoyingly, it return an instance of StaticNodeList instead of just NodeList like Safari and Firefox 3.1 beta. That through me for a loop for a bit.
The inclusion of Element prototypes is pretty sweet. In general it is a huge improvement over IE 6 and 7.
What frustrated me the most is lack of support for the native javascript 1.5 array prototypes forEach, every, some, filter, map. I just don't understand how they left that out. Same thing with standards compliant eventListeners.
Permalink: My_first_Impressions_of_IE_8.html
Words: 182
Category: programming
03/17/09 09:51 - ID#48094
What a day!
Then today I discovered that netbeans has this awesome collaboration software built right in that lets you edit code together, chat, and share code snippets, etc with your coworkers over an XMPP openfire server.
So I got openfire setup and it even integrated with AD. Tomorrow should be the beginning of a whole new dev era, lol. Either that or it just means I will get more questions and not get any exercise, lol. It will definately make code review easier.
Here is a to a video explaining it and here is a simple pic
Permalink: What_a_day_.html
Words: 197
Category: programming
01/03/09 01:31 - ID#47262
Programming For Fun and Not For Profite
Permalink: Programming_For_Fun_and_Not_For_Profite.html
Words: 50
Author Info
Date Cloud
- 03/24
- 11/23
- 02/23
- 01/23
- 12/22
- 01/22
- 12/21
- 11/21
- 12/20
- 11/20
- 01/19
- 12/18
- 08/18
- 04/18
- 03/18
- 02/17
- 01/17
- 12/16
- 11/16
- 09/16
- 08/16
- 07/16
- 06/16
- 05/16
- 04/16
- 03/16
- 02/16
- 01/16
- 12/15
- 11/15
- 10/15
- 09/15
- 08/15
- 07/15
- 06/15
- 05/15
- 04/15
- 03/15
- 02/15
- 01/15
- 12/14
- 11/14
- 10/14
- 09/14
- 08/14
- 07/14
- 06/14
- 05/14
- 04/14
- 03/14
- 02/14
- 01/14
- 12/13
- 11/13
- 10/13
- 09/13
- 08/13
- 07/13
- 06/13
- 05/13
- 04/13
- 03/13
- 02/13
- 01/13
- 12/12
- 11/12
- 10/12
- 09/12
- 08/12
- 07/12
- 06/12
- 05/12
- 04/12
- 03/12
- 02/12
- 01/12
- 12/11
- 11/11
- 10/11
- 09/11
- 08/11
- 07/11
- 06/11
- 05/11
- 04/11
- 03/11
- 02/11
- 01/11
- 12/10
- 11/10
- 10/10
- 09/10
- 08/10
- 07/10
- 06/10
- 05/10
- 04/10
- 03/10
- 02/10
- 01/10
- 12/09
- 11/09
- 10/09
- 09/09
- 08/09
- 07/09
- 06/09
- 05/09
- 04/09
- 03/09
- 02/09
- 01/09
- 12/08
- 11/08
- 10/08
- 09/08
- 08/08
- 07/08
- 06/08
- 05/08
- 04/08
- 03/08
- 02/08
- 01/08
- 12/07
- 11/07
- 10/07
- 09/07
- 08/07
- 07/07
- 06/07
- 05/07
- 04/07
- 03/07
- 02/07
- 01/07
- 12/06
- 11/06
- 10/06
- 09/06
- 08/06
- 07/06
- 06/06
- 05/06
- 04/06
- 03/06
- 02/06
- 01/06
- 12/05
- 11/05
- 10/05
- 09/05
- 08/05
- 07/05
- 06/05
- 05/05
- 04/05
- 03/05
- 02/05
- 01/05
- 12/04
- 11/04
- 10/04
- 09/04
- 08/04
- 07/04
- 06/04
- 05/04
- 04/04
- 03/04
- 02/04
- 01/04
- 12/03
- 11/03
- 10/03
- 09/03
- 08/03
- 07/03
Category Cloud
- 24 linwood
- animals
- art
- basra
- bathroom
- biking
- birthdays
- body
- botanical gardens
- brushwood
- buffalo
- camping
- cars
- clothes
- clothing
- computers
- dancing
- food
- furniture
- games
- haircut
- haircuts
- halloween
- hiking
- holidays
- house
- key west
- mobile
- music
- nature
- pets
- provincetown
- rochester
- swimming
- toronto
- toys
- travel
- vacation
- weather
- wedding
- weddings
- work
- accidents
- allentown
- android
- animals
- apple
- architecture
- art
- artvoice
- bars
- bathroom
- beach
- bikes
- biking
- birthdays
- body
- books
- brushwood
- buffalo
- buffalo rising
- bugs
- buildings
- camping
- cancer
- cars
- cats
- central terminal
- childhood
- church of the ascension
- clothes
- clothing
- computer
- computers
- conference
- crohns
- dance
- dancing
- dentist
- design
- downtown
- drugs
- electronics
- elmwood
- energy
- environment
- estrip
- events
- exercise
- family
- festivals
- firecracker
- food
- friends
- furniture
- gadgets
- games
- garden
- gay
- government
- gym
- hair
- haircut
- haircuts
- halloween
- hardware
- health
- hiking
- history
- holiday
- holidays
- house
- housing
- jewlery
- kenmore
- key west
- life
- linux
- linwood
- love
- marriage
- media
- mobile
- mobl
- movies
- music
- mustache
- nature
- nikon
- opinion
- orange tongue
- party
- peeptalk
- people
- pets
- photos
- poetry
- politics
- portland
- pride
- programming
- property
- protest
- random
- recycling
- religion
- rememberbuffalo
- renting
- school
- shoes
- shopping
- sports
- stress
- stuff
- swimming
- technology
- television
- thesis
- thursday
- thursdays
- toys
- transportation
- travel
- vacation
- vegas
- war
- water
- weather
- web
- wedding
- weddings
- weekend
- windows
- winter
- work
- world
- youtube
- zooey