Left-Right Algorithm for Concurrent Reading and Writing
Here's an interesting, practical and more memory efficient way alternative to the Read Copy Update (RCU) Algo. These algos assume far more rea...
I wonder if it is worth the effort to use an Nvidia Tesla for automatic anomaly detection in time series data. Obviously, you do not want detection for all time series data because it has to be mea...
https://www.youtube.com/watch?v=OFgxAFdxYAQ
Cliff Click, during the Q/A, talks about not using getters and setters if you really really care about performance. One of the reasons being that there is...
Just thinking about moving away from PHP in general and to NodeJS. I can definitely make my own blog in NodeJS nowadays without any worries about security updates and etc. Blog from anywhere too si...
It has been quite awhile since I last posted here. Last post, I complained about Citibank's initial setup which was in Nov 2016! and it is almost Sept 2017!
My biggest project has been released at w...
Two weeks ago from today November 15, I opened an Access account at Citibank through their online application. I've never seen a bank account that is online-only, so it is fitting that I sign up on...
Decided to start off an "Interesting things in Software" post to start logging things that I found interesting to read about.
Sonification of Algorithms
It is all about assigning a sound effect (esse...
I am going to assume you know what pointers are for and why you use them. If not, please go learn about stack and heap memory.
If you are like me, you know raw pointers look like this: `int * someNu...
Just watch this:
https://www.youtube.com/watch?v=iLiDezv_Frk and learn why C++ does what it does.
*Mic drop*
When I used to hangout in IRC gamedev channels, template metaprogramming was that arcane and cryptic thing to me... It still is. Why would anyone use it anyway? How does it make life easier for me?...
To start off, I'm using a Mac and you know we have homebrew to install things, so lets use it to use boost in our C++ program.
To install homebrew:
Go to
http://brew.sh/ and you follow the instructio...
I have not officially programmed in C++ for a long time though I did program C in successfully fixing and refactoring a python C module. I've been programming Java at work for a good amount of time...
https://berniesanders.com/press-release/sanders-statement-dnc-chair-resignation/
Prime example of today where a "leader" resigns directly to the evidence of not being capable of demands of the job.
T...
TL;DR: Enable private networking and bind to those IPs with your database and make sure your web server connects to that IP. You need to create a ssh tunnel to database server if you want to access...
Last time I posted was in March? Man, I need to post a little more often...
My curiosity is still insatiable as well as my need to think about things. I feel torn apart at times when I want to learn...
Yup, now show me the money
Many of us who use maven are used to using apt-get or yum on linux based systems. Well, WINDOWS has a third party package management system called
Chocolatey.
On their website, you run this command ...
Alrighty, a new year and a fresh outlook for the year. It seems that I try to attempt starting up new things at the start of every year as well as stop doing other things.
I decided to deprecate and...
Looks like it is one of those times of the year where I am deeply enveloped in a project. This is one of those projects where you build on top of what someone else created rather than start complet...
I stupidly deleted my database server, so all my blog posts from now to Spetember 2013 are gone. :| I think it may be possible to recover some blog posts from Google or the Internet Archive, but I ...
I was asked to send my resume in March/April-ish? Fast forward to the recruiter interview in April.
She asked me standard questions related to experience and interests. I stated I was more intereste...
Being a statistics major, it's natural to desire a data analyst position. I was emailed about a recruiter interview and was asked to give time slots. I did, but the recruiting lady did not respond....
Celice is an ECS with a modular game engine. If you have missed the past parts of this, then look for the Celice tag at the bottom of the post and start from there.
Animations in 2D games are basica...
if done right. Imagine talking to your computer in order to write an email or document. You'd name your computer "Jester." I imagine the use case scenario for responding to an email:
Jester," new em...
http://google-styleguide.googlecode.com/svn/trunk/google-r-style.htmlRead it and then read it again in a week and incorporate some of the styling because Statistics professors aren't going to help ...
Celice is an ECS with a modular game engine. One of the goals for awhile has been to figure out how to register and resolve interactions between two entities. This is critical for collision detecti...
I used to think formatting ifs, fors, while, and just about anything that uses a code block like this was attractive to the eyes:
while(condition)
{
}
I've been coding a lot of javascript lately and th...
In developing a Java Application, one of the issue you will come across is external configuration files, especially if you are making a server application, and the first idea to solve this is to bu...
So back to square one.
You might remember this if you saw a previous post about how nice I thought Crafty was. No more Crafty, this is Celice powering this guy with the use of Canvas. Entities, Co...
My new adventure with Celice started after I committed to making CraftyJS better by fixing the problems I saw with it, which were bugs, technical cruft (lack of documentation/tests and encapsulatio...
http://stackoverflow.com/questions/3169993/overriding-static-members-in-derived-classes-in-php?rq=1The above link has a great example of what I want trying to do. I was trying to assign static vari...
I've been discovering ways to manage data/resources in my database for Dark Gale and one way I found was to manage resource states, locks, and actions. Resource States are basically a link to a res...
http://isagoksu.com/2009/development/java/naming-the-java-implementation-classes/
I've been looking at some Javadocs for Hadoop and Hazelcast to name a few and I've been seeing this Impl suffix as e...
https://github.com/normano/exsystemTo be consistent with my Open Source declaration, I decided to release this thing. It is a library that provides common tasks in a wrapped form. Mainly created fr... Annotation Weirdness
http://stackoverflow.com/questions/305880/hibernate-annotation-placement-questionFor a weird reason, it doesn't like @Id annotation on a field. It fails to get the type when I p...
Wow, git post-merge hook changes my repo locations entirely. I used to have my repositories located in the same location as the production and staging directories, instead with post-merge hook I ca...
My approach to contributing to open source will be on a 80%/20% scale where 80% of the code is proprietary and closed source and the other 20% will be open source and on GitHub. Open source code is...
There is not much to say other than I got rid of the gradients because I made unduly use of them, so it looks wayyyy better than before. I understand color interaction much better than before.
New:
...
Rackspace Cloud is basically a VPS except that your resources are GUARANTEED. Rackspace has an SLA with these instances, so they require themselves to keep up your server! I like these qualities an...
I think the technologies today will converge into one device that will be multifaceted. The input devices such as voice, touch, pen, and the keyboard will all be included in this device. This devic...
I assume you came here because you have no idea what you are doing when it comes to Linux, so I'm going to make this easy. This one is an easy one, but can get quite annoying because of permissions...
it's Freakin' cold since I generally don't turn on the heat at night. Today, right now, I start the development of Project Journaler with the Excerion System libraries. I'd like to see how fast I c...
since last month and IT IS SO FREAKING USEFUL! My gawd, why haven't I used this before? The most useful aspect about it is the fact it provides two keys "j"/"k" to navigate through the news items, ...
It makes it so easy to get the current time, date, timezone, and everything you could imagine except the idea of meridian time: AM and PM. It is workable to use the 24 hours time, but simplicity in...
A bit ironic, if you know what I like to do with my free time. Hint: click Projects in the menu then come back to this post.
Let's see, I've been working furiously on Dark Gale to get it to minimum ...
Form validation is the scourge of my life. Have you ever tried to validate a form on your own and end up with a mountain of if/elseif/else statements and maybe a success variable to check on? Yes m...
You probably heard of https or secure browsing. Facebook, Google, Microsoft, and many other companies use it. You also probably want to make your own web site and "secure" your connections. Well, i...
Technology sometimes... Let me imagine your scenario, you are organized and have your music library is a bunch of folders. There is no audio file in sight as you scroll down. This is probably where...
You, like me, use the computer, browse the web, look at cool effects, nice designs and all these other ideas that reasonate with you. The problem is, when it comes to time to create your own design...
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 ...
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...
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 m...
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
NSInvoc...[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 c...
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),...
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...
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 war...
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 us...
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(yad...
I've started creating an iPhone application at my job and one of the things I immediately took advantage of is the UIWebView. One of the things it lacks is an address bar and a progress loading ind...
I used to think that all logs should go into the MySQL DB or whatever you want, but since my internship I'm starting to think that log files are the way to go. My aversion to writing to log files ...
One thing I've encountered with Android since my internship was handling the orientation changes. Orientation changes are part of a wider thing called configuration changes which will kill your act...
I had no idea until my internship that you could deviate from the master branch with multiple branches with different changes then modify the master branch and then merge master's changes into the ...
Let me put this quite simply.... They are not to be trusted. Treat them just like how you would treat user input because it can be spoofedl. Sooo, what should you do? I suggest using SetEnv inside ...
Microsoft OneNote is one of the best note taking software I have ever used, but one EVER so slight problem appears when I leave my notebooks to automatically sync!
Look for yourself...
It is HORRIB...
the same fragmentation crap Android is in... I will abandon Windows Phone forever. There is no place for more fragmented shit like Android. People have to ROOT their phones in order to upgrade beca...
http://www.playstation.com/pss/index_e.html*sighs* Only if they did this say .... in 2006? How unfortunate to be late to the game. Microsoft allows people to create games for XBox 360 at their desk...
It's all hype.. okay, not all of it anyway. Some people have legitimate reasons for open sourcing, but others (or many) do not.
What are legitimate reasons you say? One pertains to helping other lea...
Screw it.... Everytime I find myself a deal online I often find that there is no way to compare prices with the local shop. You know your local grocery store. Taking a localized approach to it make...
I've been reading Mahout in Action and its very good to say the least. The one thing I was annoyed at was the lack of an up to date chapter on creating a Web Service to feed Mahout data. I mean thi...
and what do I expect to do with it. Don't know what this is?
Click here for my first post.Intro
The HN News Recommender is due to my interest in recommendation systems, more or less content-based on...
Read:
http://www.laurentluce.com/posts/twitter-sentiment-analysis-using-python-and-nltk/According to this, I could make some modifications to my chrome recommender extension, bundle a trained model...
Anyone ever think about why the residuals need to be independent and identically normally distributed around mu = 0 and variance = 1? Well, I thought about it for a while and figured if you look at...
Hmm, I just read an
article on Coding Horror about hashing, but my take away is to use passphrases. Now I'm thinking wouldn't pass phrases be easier to remember and longer than a password? Since pa...
Ever wanted to install Hadoop or Mahout? Let's go. Keep in mind, I'm using Fedora 16.
Apache Hadoop
1. sudo yum install maven java hadoop eclipse --> you should install eclipse, but you don't have to...Looks like I'm going to v0.4 soon. Updated the extension to use IndexedDB on chrome even though webkit's IndexedDB is is a little messy right now. Versioning between webkit and mozilla is different...
Looks like I've been interested in Test Driven Development for some time and I will attempt this using Jasmine to start testing my HN News Chrome extension v0.4. I hope it is worth the time as it i...
Google Chrome Extension:
Get it here. Updated Git source here as well:
https://github.com/normano/ycChromeWhat is it?
Visit here.What's new?
- In the options page, there are two new options. Color and...
Get it here.
Read, if you'd like:
Improving the HackerNews News RecommenderAny problems: Go to the extension's options and reset the data, but should be working flawlessly.
Updated Git source here as...
Alright, so I've given it much though and there are several issues to address. One of them being that the data gets corrupted. Secondly, I have fixed weights on the recommender, which is probably a...
Update [11/03/12] Posted to
Chrome Web Store Update [11/02/12]: Looks like Chrome is blocking installation of my extension, which is fine. You can download the git repository and install from the e...
I recommend throwing out your current model of web programming and use a Client - API model. I personally think this is a better way of handling requests. Basically, you code PHP and it implements ...
For big projects anyway. MySQL Cluster 7.2 is out and it looks like I will be considering this thing for Project Flare. What is Project Flare you say? It's just a code name and I'm working on it.
It appears my
last post was somewhat well received, so I think I'll follow up with the things I did.
Imagine that you are me and you'd like to figure out how you imagine updating code from server to...
Update: Here is how I did it.
Setup dev/staging/production with gitLooks like I decided to attempt creating a private git repository on my server. It works, but that was after so much frustration i...
This is just an idea to improve my workflow. Yes, I still use SVN! As much as git is new, hip and cool. Its just like how I still use MySQL vs. NoSQL. Don't be a hater. Use what you need now and ad...
I’ve been reading research papers mainly on social networks, recommendation, and that sort of blah. A lot of it is social science, but statistics plays heavily on understanding what they use and wh...
Alrighty, I've written down some thoughts and drawn some mock ups of how I'd like it to look and so far... it looks like it was built for a tablet. Very simple interface and you'll see how simple i...
I've recently found more interest in pursuing my social idea. I should have pursued the first social idea I came up with because Google+ came out 1-2 years after and showed the viability of that id...
ArsTechnica reports that Microsoft is mandating secure boot, but as one commenter puts it “it will go largely unnoticed because no one cares.” I fully agree with this statement. Most people are not...
How do you describe a game engine anyway? Is it the combination of graphics, input, physics, audio, networking, AI scripting, and etc.? Think about it. Its weird to me, but I’m starting to think ga...
http://diydrones.com/profiles/blogs/a-newbies-guide-to-uavs
Bam, here’s how to get started. I don’t have the money or time to invest right now.
If you own a SSD, you’ll wonder why does Windows take so much space! I know I always do when I look at my drive space! This is a really annoying drawback of Windows. I think if you’ve wondered abo...
This is something programmers have come by: try { // blah } catch( Exception ) { // handle }. The infamous exception handler clause. It is something that can be overused. If I still have code (PHP)...
It appears it took me quite a while to figure out how to finally get my shared folder auto-mounted on boot.
I’ll show you the error I got <---- Starting /etc/rc.local Compatibility ^[[1;31mfailed^[[...
*This has largely been nullified for my uses due to Traits being implemented into the PHP standard*
*sigh* Long time since I’ve posted… Interesting times with programming languages. Anywho, I’ve bee...
I’ve been looking at ways to style forms in ways without Javascript/jQuery and all that jizz jazz. CSS is the way to go! The goal here is to create button like radio labels, so the assumption here ...
Windows Phone 7 is a sexy OS with a beautiful UI. It is like that hot girl you've been spying on, but haven't bothered to get at because you already have a girl (Android/iPhone). It is sure a wonde...
It really depends on what you want. If you are the average person, then you want something simple, easy, and on the web because your goal is to just transfer files. If you are a web developer or th...
Alright, fans! You are likely to be here not because you are looking for how to install XDebug because there are many other sites that show you how to, even XDebug’s site shows you how to. Heck, th...
Let's describe the issue. The situation is when I put my x201t to sleep, it would start its sleep process, but at some point during the sleep process it shuts down erroneously meaning whatever I di...
You are granted the new ability to create, customize, and publish websites like none other has done before! It includes images, templates, and open source software all the tools you need to build y...
or Windows Calculator.
There are five memory function on Windows Calculator and I will assume that basic calculators have these functions MC, MR, MS, M+, and M-. Even if your calculator does not hav...
I’ve been hanging out on Stack Overflow helping people recently, which is great because now I see some value in helping others as I see how other people tend to fall into problems and how other peo...
There are two ways of using the microtime function to measure page generation time.
The first way consists of using microtime() without any arguments leaving its only argument to default to false. T...
Grab your
Wacom Pen-enabled Tablet PC Driver here.
Update 2: It appears Wacom has updated their site, so you'll have to choose your OS and Tablet PC from now on. Also I'm linking to the EU site be...
What is cross domain authentication?
I believe it is a scenario where one website completely separated from another (meaning it cannot legally access cookies of another domain) and provides its own ...
I wonder what Internet Explorer 9 is to Microsoft. What is the mission for this browser in this day and age because it seems to me that Microsoft is only updating Internet Explorer because it is so...
Before you start reading this post, if you are a web developer, I highly recommend you read this:
Smashing Magazine’s Principles of CSS.
If you are into web development, then you will have already s...
The Law of Momentum, you wonder.. You probably thought this was a physics lesson.
To sum it up, when applied to matter of doing work dictates the amount of work done successfully generates as much p...
There are many people who look to become an iPhone programmer because of stories about becoming rich quick. Woahhh, stop right there... How are you going to program something worthwhile when you've...
I attempted to jailbreak my iPod touch, which worked. I used the iPod touch firmware 3.0 and redsn0w for this, in case you are wondering. I went to Cydia, which asked for an upgrade, so I went for ...
UPDATE [02/2012]: Lowering the standard comes from my idea of my model/thoughts of programming languages in 2009, which is probably irrelevant to today.
There used to be a time where computer progra...
I've been doing some extensive PHP OOP lately and found that it is easier to discard many principles of OOP such as the Single Responsibility Principle. Single Responsibility (in a nutshell) is ev...
If you are a beginning C++ programmer, I strongly suggest that you get into SDL as a start to your programming life with seeing how third party libraries make your life easier. Only after you’ve go...