Blinkinblogs: RSS Feed

Adam Blinkinsop
  • theincredibleholk
    I use it at work to keep track of slashdot and a few webcomics. I haven't found one I really like yet. The best one I've seen seems to be the one built in to IE7, but even that isn't quite what I want.
    by theincredibleholk at 01/30/07 6:54PM
  • cognitivelink
    I'm a fan of Google Reader -- you should check it out.
    by cognitivelink at 01/30/07 9:02PM
  • theincredibleholk
    I've tried it a little, but I didn't quite like it. It seemed slow or something to me.
    by theincredibleholk at 01/30/07 11:32PM
  • cognitivelink
    Really? Interesting.
    by cognitivelink at 01/31/07 2:22PM
  • theincredibleholk
    Nice job on the syntax highlighting.
    by theincredibleholk at 01/31/07 2:44PM
  • cognitivelink
    I cheated.
    by cognitivelink at 01/31/07 5:10PM
  • geminigirl3000
    Can somebody help me with this:

    I'm writing a graphics engine (ambitious, I know) and I need to use the BIOS. I'm operating under Windows XP and can write in assembly or C/C++. Does anyone know how to a) use interrupts in a Win32 application or b) use API in a DOS application?
    Thanks a ton!
    by geminigirl3000 at 03/22/07 6:26PM
  • geminigirl3000
    I probably should have explained better.

    I need interrupts to interact directly with the hardware (speakers, video memory, etc.). Every time I try in C/C++ with an asm block, the program crashes. I have been able to use int86 in the past, but I cannot find the library in which it is defined. The same happens with PE format assembly, which I need to use to access the Windows API for functions like ExitProcess. I haven't figured out how that can be done in DOS because the PE format usually holds the import data, which in not in DOS executeables. I considered a device driver, so I could call interrupts "legally" from a Win32 application, but the only compiler I have that can accomplish that is Miracle C. I can't find a Windows NT device driver written in C anywhere. It comes to this: I need a few things from DOS and a few things from Windows, but I cannot use them together.
    by geminigirl3000 at 03/24/07 9:44AM
  • geminigirl3000
    If I could use int86, this entire problem would be solved...Do you know what library (DLL) it's in? Is it faster than calling the BIOS interrupts directly?
    by geminigirl3000 at 03/24/07 12:30PM
  • geminigirl3000
    I'm afraid that the asm() function isn't supported in my compiler; I'm using DMC. I can use an asm block (for example, asm int 21h), but that always crashes. I think it has something to do with Windows XP running on top of DOS, or some such thing.
    by geminigirl3000 at 03/26/07 4:32PM
  • geminigirl3000
    Okay, if I put 'inline' in the function declaration, it doesn't crash, but it doesn't do anything, either. If I leave out 'inline', I get this message: The NTVDM CPU has encountered an illegal instruction.
    by geminigirl3000 at 03/26/07 4:42PM
  • geminigirl3000
    If I can't call interrupts directly, do you know of any API that will allow me to access video memory? None of this makes sense, though. At some point, Windows has to call some interrupt, so why can it do it but I can't?
    by geminigirl3000 at 03/26/07 5:08PM
  • geminigirl3000
    Isn't there always a way around things like this?!?!
    by geminigirl3000 at 03/26/07 5:11PM
  • geminigirl3000
    I think I'll just use the Windows GDI and be done with it. At least Windows won't have a problem with that!
    by geminigirl3000 at 04/02/07 6:20PM
  • theincredibleholk
    You could use DirectX instead. It gives you a little more direct access to the hardware, though still not as much as you could get under DOS.
    by theincredibleholk at 04/05/07 10:40PM
  • theincredibleholk
    Have you tried Project Euler Problem 20? My program is telling me 675 but the web site claims that's wrong. My program works on smaller cases that I can check manually, so I'm at a loss. Am I misunderstanding the question?
    by theincredibleholk at 04/06/07 11:02PM
  • geminigirl3000
    I have been using DirectX for about two years, but I haven't figured out how to load models and animations. Plus, there were a few things I felt were missing from the system. I may go back to it eventually, but I've been considering trying my hand at my own engine, if only to get some insight into the way they work.
    by geminigirl3000 at 04/08/07 3:38PM
  • geminigirl3000
    Edit: I just realized I've had a tutorial to load models for some time. I may just program my engine as a hobby. Who knows, maybe it'll actually be useful someday!
    by geminigirl3000 at 04/08/07 3:44PM
  • theincredibleholk
    What do you mean by engine? Most modern game engines are built on top of DirectX. Are you trying to do you own 3d rendering? I think that's a great idea, it will be a good learning experience. I'd recommend building it on top of a 2d library like Direct Draw though.
    by theincredibleholk at 04/08/07 7:40PM
  • geminigirl3000
    It's kind of built on top of the Windows GDI so far. There were a few features I wanted to add that DirectX didn't have. I have always considered writing something yourself to be the best teacher. I was also going to construct a "composer" for writing music files in some format that I may make up myself. The music and sound side of the engine will use MIDI. The rest of it hasn't really been planned yet, but that's what I have so far.
    by geminigirl3000 at 04/08/07 10:18PM

More Music

Something I just put together is available right here if you can play Ogg Vorbis (which you should be able to, it's free!).

EDIT: If you don't want to deal with Ogg Vorbis, you can listen right here.
  • just2seeusmile
    Awesome music!!!!
    by just2seeusmile at 07/21/06 4:02PM
  • geminigirl3000
    Hey, I figured out how to fix the problem: I just loaded the DLL and GetProcAddress'd the function instead of using a library.
    by geminigirl3000 at 08/26/06 2:58PM
  • geminigirl3000
    Hey, I have a question about DirectX again (sorry!):
    I am trying to spin a triangle around by using Direct3DDevice9::SetTransform with a Y-axis rotation matrix, but when I run the program, the triangle is the same as before. What would cause that?
    by geminigirl3000 at 09/04/06 10:50PM
  • theincredibleholk
    do you have enough video card to run vista with all its spiffy graphicalness?
    by theincredibleholk at 09/26/06 12:25AM
  • theincredibleholk
    also, what build are you running?
    by theincredibleholk at 09/26/06 12:55PM
  • theincredibleholk
    5600 is RC1, not post-RC1. It's great you get to see vista in all it's glory. I installed it on my brother's machine last weekend, and it worked really well (he has an audigy2, but he's running a 32-bit build) but Vista doesn't support his printer yet.

    It seems to not be very efficient with virtual memory. At work I'll put it through some pretty heavy loads and programs start getting unresponsive because of paging. It's sad that anything can make my dev box feel overloaded. Hopefully the performance team will get this all fixed before it's shipped. I've got build 5600 on my laptop, and it's actually usable, unlike the beta2 that I had installed, so that was a rather impressive improvement.
    by theincredibleholk at 09/26/06 11:06PM
  • geminigirl3000
    I figured it out, I'd pre-transformed the triangle.
    I'm not really that excited about Vista. All of my programs are Win32 PE files, but my dad (computer analyst) says that no one knows if those will run on Vista. Do you know if they do or not?
    by geminigirl3000 at 01/09/07 4:50PM

Music (Edited)

I'm putting things up on my home domain.

How is this?
  • slave_of_jesus_jdb
    Hey man. How are you?
    by slave_of_jesus_jdb at 06/20/06 1:43AM
  • slave_of_jesus_jdb
    You never post stuff that I know about, so I just have to randomly say hello.
    by slave_of_jesus_jdb at 06/20/06 1:43AM
  • cognitivelink
    When my hosted database comes back up, you could listen to the piece I wrote yesterday - that's pretty non-technical, right?
    by cognitivelink at 06/20/06 11:24AM
  • cognitivelink
    Ok, it's back up now.
    by cognitivelink at 06/20/06 12:28PM
  • geminigirl3000
    Any news on my DirectX question?
    by geminigirl3000 at 06/25/06 12:24PM
  • geminigirl3000
    I get a "Symbol Undefined: DirectDrawCreate@12" error even though I link ddraw.lib, ddraw.dll, and a definition file (ddraw.def) that I wrote to my project, which should fix the error. However, I just get a "Cannot Export: DirectDrawCreate" error instead, and I don't know what else I am supposed to do. I'm using Windows XP and DMC++ compiler.
    by geminigirl3000 at 06/26/06 5:59PM

Bwa ha ha!

It must be broken...
That site makes me feel better about my job.
  • theincredibleholk
    i'd seen that one... That's funny.
    by theincredibleholk at 06/13/06 6:48PM
  • trey
    great site!
    by trey at 06/22/06 2:17PM

Django-Powered Blog

I call it OJ. Note that the entire thing is about 300 lines of code.

The urls.py, settings.py.template, manage.py, and __init__.py files are automatically generated, too.

Just did a word count:
$ wc -l `find . | grep -v ".svn"`
wc: .: Is a directory
0 .
wc: ./entries: Is a directory
0 ./entries
32 ./entries/models.py
wc: ./entries/templates: Is a directory
0 ./entries/templates
8 ./entries/templates/404.html
8 ./entries/templates/500.html
30 ./entries/templates/base.html
90 ./entries/templates/css.html
28 ./entries/templates/detail.html
24 ./entries/templates/index.html
12 ./entries/urls.py
45 ./entries/views.py
0 ./entries/__init__.py
11 ./manage.py
74 ./settings.py.template
9 ./urls.py
0 ./__init__.py
371 total
(argh. this auto-br is killing me)
  • adampual
    this semester i've generally been writing in C, integrated with some assembly. it's software for microcontrollers in embedded systems.
    by adampual at 05/05/06 11:13PM
  • kennon
    So are you through with rails?
    by kennon at 05/08/06 9:25AM
  • kennon
    I'm actually liking rails more and more, especially after 1.1.

    I don't like the by-default ruby templating, but with Liquid, everything is really great.

    Python is good, but I find it somewhat less attractive than ruby (esp with the "__init__"-style method names)
    by kennon at 05/08/06 9:26AM
  • adampual
    yeah it definitely is Bawls. good eye!
    by adampual at 05/12/06 8:50AM
  • adampual
    22, you?
    by adampual at 05/15/06 4:58PM
  • adampual
    this is starting to get really odd.
    by adampual at 05/16/06 1:06AM
  • lboogie1403
    adam darling...how are you?
    by lboogie1403 at 05/18/06 2:28PM
  • geminigirl3000
    Can you help me with some C++ and DirectDraw? I get this error: "Symbol Undefined: _DirectDrawCreate@12" but when I make a .def file and convert ddraw.dll to ddraw.lib and link those two files to my C++ file, I get this error: "Cannot Export: _DirectDrawCreate@12". Does anybody know what's up?!?!
    by geminigirl3000 at 05/25/06 12:14AM