Search found 22 matches

by sehku17
Sun Sep 20, 2009 5:34 pm UTC
Forum: Coding
Topic: detecting just modifier keys in curses
Replies: 1
Views: 1069

detecting just modifier keys in curses

in curses, you can detect key combinations like ctrl+c but what if you just want to detect ctrl? is there a way to do that? ctrl is always strictly a modifier, so it would not surprise me if there was not a way to do that, but some other keys like alt often are used by themselves. (in a lot of apps ...
by sehku17
Wed May 06, 2009 10:38 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571705

Re: The "IT DOESN'T WORK!" thread

So I have an IRC bot, and I wrote it in lisp. (the purpose of this bot was to learn lisp). It's essentially an adaptation of a previous IRC bot, which now works, but is suck because it was written in php and is just a hack in general. My new bot SHOULD work enough to connect and things, but I only g...
by sehku17
Sat Apr 11, 2009 6:27 pm UTC
Forum: Coding
Topic: [mostly resolved] user-defined functions for an IRC bot?
Replies: 0
Views: 433

[mostly resolved] user-defined functions for an IRC bot?

so recently a bunch of us were writing IRC bots. Of course, I took up the challenge. Although I didn't really think it was a good language for this purpose, I did this is php, because it was what I knew best. one of the main things my bot is supposed to do is be user-extensible. In other words, anyo...
by sehku17
Sat Apr 11, 2009 5:49 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571705

Re: The "IT DOESN'T WORK!" thread

so recently a bunch of us were writing IRC bots. Of course, I took up the challenge. Although I didn't really think it was a good language for this purpose, I did this is php, because it was what I knew best. one of the main things my bot is supposed to do is be user-extensible. In other words, anyo...
by sehku17
Thu Dec 18, 2008 5:21 pm UTC
Forum: Coding
Topic: Calculator Programming: PONG
Replies: 10
Views: 3102

Re: Calculator Programming: PONG

here you go:

http://wtf.homelinux.org/PONG2P.8Xp

transfer it you your calc, and it'll work. I use TILP to transfer files to and from the TI calculators.
(http://lpg.ticalc.org/prj_tilp/)
by sehku17
Thu Dec 18, 2008 4:13 pm UTC
Forum: Coding
Topic: implimenting graphics in ANSI C
Replies: 6
Views: 1276

Re: implimenting graphics in ANSI C

Thanks for the help, I'll try SDL, but will probably end up implementing OpenGL if it can easily do all the things you say it can. Is there any good source of documentation for SDL?
by sehku17
Thu Dec 18, 2008 3:43 pm UTC
Forum: Coding
Topic: implimenting graphics in ANSI C
Replies: 6
Views: 1276

Re: implimenting graphics in ANSI C

I was considering that. Being on linux it would do fine for me, but I'm hoping at some point to port it. I know that OpenGL is available for win32, but I'm pretty sure that it's not installed by default, and has less support. I want it to be well-supported, but OpenGL is a good fall-back that I know...
by sehku17
Thu Dec 18, 2008 3:32 pm UTC
Forum: Coding
Topic: implimenting graphics in ANSI C
Replies: 6
Views: 1276

implimenting graphics in ANSI C

A friend and I are working on making an implementation of a 3D tetris game. It will have multiple viewing areas, and shading to denote depth in the structure. I need a fairly easy to learn graphics library that can do simple shape rendering, as well as score keeping displays and basic stuff like tha...
by sehku17
Thu Dec 18, 2008 3:22 pm UTC
Forum: Coding
Topic: Calculator Programming: PONG
Replies: 10
Views: 3102

Re: Calculator Programming: PONG

I made this a few months ago as part of a contest with a classmate. I'll transfer it off my calculator and post a download link later today. It's two-player only (never got around to writing the AI), and still 'officially' in 2nd Beta, but it is totally playable, if a bit buggy. Of Note: it runs slo...
by sehku17
Sun Nov 09, 2008 1:19 am UTC
Forum: Coding
Topic: Program That Solves the Math problem from #287
Replies: 1
Views: 1658

Re: Program That Solves the Math problem from #287

too. much. free. time.

cool, but did the waiter have a computer to run it on? It's pretty simple algebraically, the funny part was that he made the waiter do the problem in the first place.
by sehku17
Mon Oct 27, 2008 10:55 pm UTC
Forum: General
Topic: Show the world your desktop! [Mommy, what's 56K?]
Replies: 2356
Views: 443289

Re: Show the world your desktop! [Killing 56K since January]

My alternative machine, running gOS (based on Ubuntu), my main runs Mint. The system monitor on the right is Torsmo (the picture here does not show the whole thing, I have it set to update every .5 seconds, and this was during one of its update cycles, but I'm tool lazy to take another pic. The widg...
by sehku17
Mon Oct 27, 2008 10:40 pm UTC
Forum: Coding
Topic: Greasemonkey script for xkcd comics
Replies: 5
Views: 1709

Re: Greasemonkey script for xkcd comics

This is sweet, but I often prefer keyboard shortcuts. There is a function GM_registerMenuCommand which can bind these functions to menu items, as well as hotkeys. This is part of the greasemonkey API. (http://greasemonkey.mozdev.org/authoring.html) However, I was unable to bind the functions to hotk...
by sehku17
Tue Oct 21, 2008 9:56 pm UTC
Forum: Coding
Topic: [python + pyglet] XKCD viewer ;)
Replies: 4
Views: 1423

Re: [python + pyglet] XKCD viewer ;)

nice.

I'm surprised there isn't an import xkcd.
by sehku17
Tue Oct 21, 2008 9:53 pm UTC
Forum: General
Topic: Explain your avatar!
Replies: 1628
Views: 154689

Re: Explain your avatar!

Something random I made in flash a few years ago when I was bored.
by sehku17
Tue Oct 21, 2008 6:08 pm UTC
Forum: General
Topic: Unicode characters
Replies: 12
Views: 4526

Re: Unicode characters

Yeah, just because you can name functions like that and use those characters in code doesn't mean you should. It would end up getting really confusing if you used that notation with any frequency.
by sehku17
Tue Oct 21, 2008 1:20 am UTC
Forum: General
Topic: Unicode characters
Replies: 12
Views: 4526

Re: Unicode characters

Thanks for the research. Private use and blank characters are also an issue for overhead, which is why a fair amount of the time I just use ASCII. However, the question was the rationale for including them, regardless of if that is a good thing or a bad thing. I have no problem including them, but t...
by sehku17
Tue Oct 21, 2008 1:10 am UTC
Forum: General
Topic: Who the dickens are you?
Replies: 10922
Views: 2413535

Re: INTRO THREAD THE THIRD

I heard that this was where the forum greenhorns were supposed to post an intro, so here I am. I'm 17, male, and live in Missouri, USA (don't like being too specific :wink: ). I code in my free time and generally mess around with stuff. Voiding warranties is a free service. Although I'm not proud of...
by sehku17
Tue Oct 21, 2008 12:48 am UTC
Forum: General
Topic: Unicode characters
Replies: 12
Views: 4526

Unicode characters

I was recently doing some web design and found the need to know the numerical values for various Unicode characters, so I made a simple script in javascript to find the first few thousand Unicode characters. For those of you who wish to try, open a new tab and type "javascript:" followed b...
by sehku17
Mon Oct 20, 2008 11:13 pm UTC
Forum: Hardware
Topic: Check it out
Replies: 3
Views: 1190

Re: Check it out

That thing has some pretty nice hardware, but it is also very expensive. I could get a desktop with the same or better specs, for half the price or less. Maybe that's just the purposes I use it for. If you want a high-end gaming machine, get a sweet desktop, but I'd prefer my laptop to be just for b...
by sehku17
Mon Oct 20, 2008 11:01 pm UTC
Forum: Coding
Topic: PHP script modding google search
Replies: 7
Views: 1422

Re: PHP script modding google search

well, that's true of most any language (all that I can think of)

I just didn't notice it. Not enough coffee.

I'll try to remember this for the next time...
by sehku17
Mon Oct 20, 2008 10:14 pm UTC
Forum: Coding
Topic: PHP script modding google search
Replies: 7
Views: 1422

Re: PHP script modding google search

Wow. I am an idiot. It's that youtube-saying-my-comment-out-loud feeling all over again. It works now.

Thanks.
by sehku17
Mon Oct 20, 2008 9:57 pm UTC
Forum: Coding
Topic: PHP script modding google search
Replies: 7
Views: 1422

PHP script modding google search

I am attempting to create a spoof of google called google.commie which is essentially google with a few custom additions. I am still using google itself to search the web, but I want the results to display with a different title and background, among other things. So this is the php script I have so...

Go to advanced search