-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|699|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




Cower

Oh Look, a Thing

13th January 2011

I made something again.
(Image.jpg)
You know, there's probably an easier way to do this than posting blog thingies.


Cower

Cards

12th January 2011

A simple solitaire app for Chrome


Cower

What Have You Done : 12th January 2011

12th January 2011

Ups
What did you get done this week.
[*]Wrote a Javascript/HTML-based solitaire Chrome app.
[*]Sculpting the art for said Chrome app
[*]I leveled my Togepi up to 22 and it evolved.
Did everything turn out as planned?
Sort of. The game still is barel*snip*


Cower

Cards

9th January 2011

A quick look at the ace of spades I'm making:
(Image.png)
And on the card:
(Image.png)
Update, attempt #1 at the ace of hearts:
(Image.png)


Cower

Some alien body thing

5th January 2011

It's not a dog


Cower

c pointers?

30th December 2010

Ignore what Afr0 wrote, because he's wrong about how the operators work. You do not need to use * and -> in conjunction. In fact, it probably won't work most of the time unless you use a lot of pointers to pointers. The only time you would use *a->b in *snip*


Cower

ZBrush Acquired

23rd December 2010

I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush. I got ZBrush.
(Image.jpg)
C*snip*


Cower

Student Fes in Britain

14th December 2010

As an anarchist and head-in-car-door-slammist, I will break your car's windows.


Cower

gDEBugger

11th December 2010

A debugger for OpenGL that is now free


Cower

What Have You Done : 8th December 2010

10th December 2010

That is pretty damn cool.


Cower

What Have You Done : 8th December 2010

9th December 2010

Ups
What did you get done this week.
[*]Made it to #14 on the Android Market's 'Top Paid' Themes section.
[*]Got my essay on Heart of Darkness more or less into finished draft form. I'm still not happy with it, but I've said that about every single pap*snip*


Cower

Berkelium

25th November 2010

Library for rendering webpages using Webkit/Chromium


Cower

Animatable Value

21st November 2010

Simple class to animate between two values over a set amount of time using GLFW's timing API


Cower

What Have You Done : 17th November 2010

18th November 2010

Ups
What did you get done this week.
[*]Worked on tightening the bolts on my writing process
[*]Writing
[*]I looked at some code for about 5 minutes and decided I didn't want to fuck with it
Did everything turn out as planned?
Writing process is impr*snip*


Cower

Ascension

18th November 2010

Live wallpaper for Android that is basically a lot of shimmery, glowing bars.


Cower

Poetry Portfolio Stuff

9th November 2010

The fall 2010 semester is ending soon, and with it will come a number of things I'm obligated to do in order to pass classes. Some I've already been given the go-ahead for, others I'm somewhat in the dark on. My poetry portfolio is one of the latter thin*snip*


Cower

What Have You Done : 27th October 2010

27th October 2010

Ups
What did you get done this week.
[*]Homework
[*]Working on some app stuff
[*]Familiarizing myself with the iOS SDK (fucking loads better than Android's SDK)
[*]Bought a couple books (Machine of Death and The Tunnel)
Did everything turn out as pla*snip*


Cower

Un-ugly my ReplaceString C function?

24th September 2010

[quote]so now the string is terminated right at the start (and so is empty).[/quote]
Wrong. Try again.


Cower

Un-ugly my ReplaceString C function?

24th September 2010

I'm not sure what you're asking. It does put a null character in, so I'm not entirely sure why you think it doesn't, or what it is you think it does...


Cower

Un-ugly my ReplaceString C function?

24th September 2010

New version, down to 0.000310 ms/call average.
[code]char *stringReplace_cower(const char *haystack, const char *needle, const char *replace) {
char *out_str, *out_ptr; // output string, pointer used for modifying output
int out_len, replace_*snip*


Cower

Un-ugly my ReplaceString C function?

24th September 2010

Only problem with your new version is it doesn't work. >_>
[code]Original: Have an unpleasantly nice day!
Replaced (ben): Have afantastic ufantasticpleasafantastictly fantasticice day!
Replaced (cower): Have an unpleasantly fantastic day![/cod*snip*


Cower

Un-ugly my ReplaceString C function?

23rd September 2010

Leaking memory is fine for testing speed in this case.


Cower

Un-ugly my ReplaceString C function?

23rd September 2010

After fixing mine up a bit, it takes 12141ms for 10,000,000 iterations. So, that comes to about 0.0012141ms per call. Yours takes about 3680ms, which is about 0.000368ms per call, which is damned impressive. So, I modified mine:
[code]char *stringRepla*snip*


Cower

Un-ugly my ReplaceString C function?

23rd September 2010

Interesting that it'd segfault only after so many iterations. O_o


Cower

Un-ugly my ReplaceString C function?

23rd September 2010

I'm not sure what you're using to get your timing, but try mine:
[code]char *stringReplace(const char *haystack, const char *needle, const char *replace) {
char *out_str, *out_ptr;
int needle_len, out_len, replace_len;
const char *replace_i*snip*

Newer Posts More - Older Posts