View Posts for Unfiled

  • Does Windows 8 wake up at a scheduled time for you?

    |
    Updated at
    Apparently, at around 6PM every day, my desktop PC wakes up from hibernate. What this hell? Ever since I upgraded to Windows 8, which was on the first day it came out, I've been trying to see what the heck it could be. There are a number of things that can wake your computer:
    1. Scheduled wake from bios
    2. Hardware such as network card, keyboard, or mouse
    3. Scheduled tasks (find in control panel -> admin tools -> task scheduler)

    My bios doesn't support scheduled wake, so I can't see how this could be a factor in my cas...
  • How to Change Fashion Shopping?

    |
    Updated at
    Technology. Just imagine being able to walk into a shop have a Kinect camera scan your model as you walk up to kiosk and being able to try on different combinations of clothes. It would be a simple experience where you pick clothes and sizes on your model and in real time see how it looks by walking around or using gestures to rotate the model. Finally, once you've decided on what you want simply use NFC to grab the items and the location and pick them up.

    There are obvious ways to complicate it, but I like ...
  • What I tend to think about most developers (or people)...

    |
    Updated at
    Before you read. If you want a tl;dr (too long; didn't read), then skim until you see something interesting or don't read this.

    is that they don't care enough about the work they are doing or care more about financial security in some form than the success of the team. The latter is fine sometimes as it is more or less motivation to work. My problem with both of these is that when I work towards something that I envision myself doing for the next 2-5 years I care enough about my work that I have to make sure...
  • NSInvocation's Equivalent in Java?

    |
    Updated at
    Looks like browsing a discussion on LinkedIn about differences between Java and Scala turned out something I never knew about: Method Handles. If you remember my post on how freaking useful NSInvocations are, well read it!

    Basically, let's say you want to execute a method on a function somewhere far far away without knowing what object you are talking to, you use a Method Handle in Java or a NSInvocation to encapsulate the method. My use case scenario was in the iPhone app I created during the summer. I used...
  • Transitioning from PHP to Java

    |
    Updated at
    [UPDATE 10/27/2012] Writing servlets isn't as hard as I thought. Everything is just baked in, though I'll have to obviously get more experience with J2EE classes and the other components before I can make a definitive decision on just using Java. My next big concern is whether there are any xss/string stripping methods or whether I'll outsource that task to a library.

    I think it is about that time I started looking at Java as legit language for the web. There are many companies that use it successfully witho...
  • Why sentiment analysis with the Naive Bayes Classifier makes sense

    |
    Updated at
    Let's think about it for a second. You have a labeled data set meaning you have bunch of sentences with some sentiment attached to it (good/bad). Assuming we chose the Naive Bayes Classifier (NBC), we work with something called the bag of words model, so we assume we are using uni-grams as our features of the data set. In essence, that means we use word count divided by how many times we've seen the word in all classes as our simple way of calculating the probability of the word for a specific class.

    So, giv...
  • My Enthusiasm for Windows 8

    |
    Updated at
    But, it is not in the Metro interface (oops, no more? oh well), but rather in the speed up of boot times, consolidation of products, rebranding, and more importantly A NEW OS that does a better job than its predecessor.

    My impression of the Start Screen is that it feels more like an addition than the main interface of the OS because I don't find myself returning to it on purpose. It feels sort of like a secondary UI compared to the desktop app. If we could take statistics on my usage of the desktop icons vs....
  • Looks like My Lenovo x201 has the same issue again...

    |
    Updated at
    Sigh the problem is basically the same as before in this post. How unfortunate given that I take my lappy to french class to look at the ebook. Random shutoff times... wtf. 270 days left on its warranty though! I'm taking the advice from my past self and calling customer service soon. I need to wait for the arrival of my next lappy though. The x220T! Woooooooooooo! I'm usually on a one-two year lag when it comes to laptops because that appears to be how long most of them last before they start having issues...
  • Windows Phone's viability

    |
    Updated at
    I think Windows Phone, in its current state, is flopping around trying to find it's niche. I mean, realistically, why should I buy it? Why should anyone buy it over an iPhone or Android? Ease of use isn't so much of a big deal. It can't rely solely on the ease of use factor because Android and iPhone are easy enough to use. Presentation? The fact that notifications can pop in almost whenever and wherever and being able to adjust icon sizes? I don't know about that either.

    The fact of the matter is that Micro...
  • iOS: Selectors vs NSInvocation vs Method To Func Pointers

    |
    Updated at
    Building one of the features of the iOS app for my internship has been enlightening. Whenever I'd like to invoke a selector from another object I'd usually use [object performSelector:@selector(yada:)] and that's that. Apparently, yada is one of those functions that doesn't return an object. In fact it doesn't return anything at all, so at some point performing that same selector will cause a EXC_BAD_ACCESS. It is quite baffling to get this problem especially when it works. Sometimes, it is completely rando...