Lee

Lee

10p

7 comments posted · 0 followers · following 0

15 years ago @ The.Failboat.me - Javascript Syntax High... · 0 replies · +2 points

Yay, I'm glad to hear that you like my project. The drop-shadow was actually added in at the last second while looking from something to fill in the rest of my kb.

I'd also love to help you, although you probably shouldn't base the parser off of my approach, it's extremely inefficient in favor of a smaller size.

15 years ago @ The.Failboat.me - Javascript Syntax High... · 0 replies · +1 points

You know, I thought about that right after I made my last submission. I guess mondays really aren't good days for me :P

The escape characters may be a bit harder to implement using a stack-match approach (gosh why didn't I just make simple replacements T.T) but I have a pretty good idea of how to elegantly work around it via &escaped code. I'll definitely keep you informed!

15 years ago @ The.Failboat.me - Javascript Syntax High... · 0 replies · +1 points

Whoa, we were only 4 submissions apart :O. I forgot that there was a huge canvas sitting in the middle of the blank demo where I placed both the textarea and the syntax highlight layer xD (Yours actually looks a lot better than my submission)

Anyways, I finally got around to submitting an update :D, check out the new demo @ http://failboat.me/jpad.html

15 years ago @ Digital Trends - iPhone 4 vs. Android's... · 0 replies · 0 points

Let's take the logical predicate that phones are a reflection of one's social class and generalize it within the context of this discussion. I will make the following assumptions which I'm sure that you will find reasonable:

1. Steve Jobs (The Apple guy) owns an iPhone
2. Eric Schmidt (The Google guy) owns an Android device.

Given these assumptions within the context of your rationale, we must conclude that:

1. Steve must think that he is comparable to God.
2. You must be like dominating Eric, even though he's much wealthier than you will ever be.
3. By the laws of Appledom, which apparently defies common sense, I will automatically become an disenchanted member of the lower class if I willingly choose an Android over an iPhone.

Given the vast resources that Eric commands, it's only logical, as I'm sure you'll find, that the growing base of the lower class, especially those skilled yet oppressed (even those from the "higher class"), will rise up and overthrow its much more socially mobile oppressor. This will effectively cause the Android to be quite literally known as the "iPhone Killer"

Then again, since I'm a mere peasant in your far away fantasy land where iPhone is the sole indication of social status, you will of course ignore my counsel and self-propagate the chains of events that will ultimately lead to the rise of the iPhone killer.

15 years ago @ The.Failboat.me - strcpy() implementatio... · 0 replies · +1 points

The original strcpy implementation assumes that we've already allocated enough successive memory to the dst pointer (the good old char buf[100]). We can try to dynamically reallocate the memory within strcpy but we would end up with a different reference than the original other.

15 years ago @ The.Failboat.me - Freshman Schedule · 0 replies · +1 points

Haha, it could've been even better, I could've replaced Intro to CS with the CS Discrete Mathematics xD

15 years ago @ The.Failboat.me - Lua Exception Handling · 0 replies · +1 points

haha, good point, otherwise I could have gone with the even more arcane

for _,_ in pairs(...) do ... end