What have we been up to?

Pages: 12
What have you been doing recently?

I've been
- Learning Java (pretty good but I still prefer C#) in order to learn to write Android apps
- Writing a concurrent pong clone (C)
- Writing a Sudoku solver (C#) which will (hopefully) use Google's OCR engine (tesseract) to read sudoku puzzles form images. At the moment I'm working on a sort-of plugin framework so that algorithms can be written in any language
- Trying to write a Universal Virtual Machine (C++) which reads a foo.uvm file which describes a platform in XML. Then it loads foo.dll/.so and loads a file. The file will contain opcodes that UVM will read and then send to foo.dll to be processed.
- Writing a script to upload images to a certain website. I'll be trying to use tesseract again to break reCAPTCHAs which this certain website uses to prevent spam (even though it doesn't work). It's going to be interesting seeing whether Google's OCR engine or Google's CAPTCHA engine will win. I'll be suggesting to Google to fire the losing party (not really :P).
Last edited on
Well, I've only recently been heading back to a little experimenting now and then. What I'm currently doing is:
- Learning how to program in Wolfram Mathematica
- Looking into uCalc Language Builder (to continue work on eC)
- Checking whether I still now C++ as "good" as before.

Nothing note-worthy, the only exciting is the programming in Mathematica, as I find it quite fascinating. (Huge set of functions that are all capable of working together)
Learning OpenGL =]
Working =[
Finishing Projects (only three full games so far, but I'm getting better at project completion) =]
Learning C# so I can collect on a full ride I was offered =]
Teaching programming to lots of people =]
Learning Linear Algebra =|
Revisiting Calculus =/
Reading Lots and lots of programming books =]
Getting ready to take the next month To program iPhone apps and games and learn stuff =]
Avoiding Minecraft, desiring to make my own so I don't feel bad about playing it =]

Oh also making a mathmatics lib to handle strings like this:
x=9+7x(3x)^2 And give it the ability to solve for x by actually finding a value or giving the equation to solve for x
Last edited on
If you made that library able to handle SI base (kilograms, metres, seconds, etc.) and derived (Newtons, Pascals, Joules, etc.) units as well as SI (femto, kilo, Mega, Giga, etc.) and SI binary (kibi, Mebi, Gibi, etc.) prefixes, then it would be awesome. Especially if it could detect when a group of base units can be converted to a derived unit (e.g., "kg m s^-2" -> "N"). You'd have to enforce rules about spaces in between separate units ("kg m s^-1" for momentum, not "kgms^-1").

ultifinitus wrote:
Learning C# so I can collect on a full ride I was offered =]

What do you mean by "collect on a full ride I was offered"?
I think you'll like C#. I did. I consider it Microsoft's greatest achievement. IMO it's almost perfect, except I don't like the way references work and I think the .Net framework could be simplified and better organised. Generally, though, it's extremely well thought out. It and Oracle's Java tutorial have finally helped me get my head 'round OOP (I still hate Oracle for suing Google). The Java tutorials' explanation of objects as mimicking real-world objects and about how real-world objects have states (a lamp for example has "On" and "Off") and behaviours ("turn on" and "turn off" for the lamp). After that, it's really easy, although I now make too many classes (my sudoku solver originally had a Cell class, a Box class and a Board class, but now it only has a SudokuSolver class) rather than too few, like I used to. Gotta find the middle ground :)
Last edited on
If you made that library able to handle SI base


Interesting idea, not horribly difficult to implement in my current state, so I might (if I take time away from OpenGL long enough of course)

What do you mean by "collect on a full ride I was offered"?


Well I worked as an intern quite a while ago, when I went back and talked to the head of the network security dept. (the educational portion) he heard of my .. skills with c++/Obj-c and said if I helped him with server stuff and client side architecture for an interesting conceptual program, he did something like this *cough* *cough* mumbles("full ride scholarship if you help me")

Gotta find the middle ground :)


Haha I feel this way in most things I do. Middle ground is hard to achieve =]
I've been working for a new company for a week now.
Schedule's good though it's tough to wake up early in the morning since I am a night person.
Currently at the office and listening to random songs to get some spirit.

---

Want fast, bulk or simultaneous downloads?
GO to
http://www.fast-debrid.com
download in 50 file hosting services like
Megaupload, Fileserve, MegaVideo, Hotfile, Rapidshare... :)
closed account (zwA4jE8b)
Ive been missing sleep, the semester just started, Im taking calcII, phys 131, and CS3. So I am pretty swamped with homework, on top of that my 2 kids are young (meaning they demand a lot of attention).

Other than that, life is good, I enjoy the challenge.

Finished my game, with help from Disch, and learned a ton about Win programming.
I've been making a Mathemtica code interpreter (sort of my own Mathematica). It already supports ~100 functions, including Graphics and Plot.
It is extremely exciting to work with and manipulate syntax trees.
I get kinda embarassed cause I've just been up to the usual - either chilling out, testing out some small idea that I had, relearning Java, revisiting high school level math in preparation for Uni etc.
I was messing with trying to do graphics with wxWidgets (http://www.wxwidgets.org/)... dirty dirty work (maybe I should learn this open-gl thing?)

Here is the end result - an n-D demo (2<=n<=8) of root systems (the demo explains with slides what root systems are). I'd be greatful if anyone can test if it works as is - I might have messed up the linking...

Linux (tested Ubuntu only):
http://sourceforge.net/projects/vectorpartition/files/Root_System_Visualization_linux.zip/download

Windows(tested Vista only):
http://sourceforge.net/projects/vectorpartition/files/RootSystemAnimation.zip/download

To run it, one needs to click the "Go" button, wait 15 seconds for the frames to be computed and buffered. Then the whole thing takes around 3 minutes and a half.


I am trying to keep everything I learn within one project - otherwise I would get lost in versioning. This project is the very same I started when I joined this forum and started learning C++ like 2.5 years ago... )



Last edited on
tition wrote:
(maybe I should learn this open-gl thing?)


I looked at your project, your graphics on the side could benefit greatly from learning OpenGL. The speed is phenomenal with said spec.

Are you going to make transitions between slides? This seems like a slideshow presentation style thing.


I only need 2D drawing functions - lines and dots - how fast does openGL draw 10 000 lines and 300 small circles on the screen? wxWidgets manages 10 000 lines & 300 circles in around 0.5 seconds (way too slow; I haven't also timed how much time I eat computing the line ends). That is why I buffer the whole computation - I allocate 400 BMPs - then I swap the BMPs and draw on the screen.

However, on pictures below 500 lines, it is completely smooth (you can rotate the starting picture with your mouse in real time without flicker).

Also, how easy is it to draw with openGL semitransparent quadrilaterals? How fast do you think can openGL draw 100 semi-transparent quadrilaterals on the screen? 1000?

The slides are just pre-loaded .png files, and I have no clue how it works (I use a ready made file-to-screen function of wxWidgets; quite frankly I don't care how it works :)).

Last edited on
how fast does openGL draw 10 000 lines and 300 small circles on the screen?
You should get above 1000 fps as long as you use the appropriate interfaces. No glBegin-glEnd pairs for drawing en masse.
The easiest way to draw circles is as texture-mapped polygons, by the way.

How fast do you think can openGL draw 100 semi-transparent quadrilaterals on the screen? 1000?
Don't worry about such low object counts. I was able to have 3000-4000 textured and alpha-blended quads following Bezier curves at 60 fps. I'm pretty sure it could have reached 10000 if I had moved more code to C++, as most of the time was spent in Lua (possibly the GC, but I can't say for sure).
chrisname wrote:
Learning Java

This...

ultifinitus wrote:
Learning OpenGL

...and this...

chrisname wrote:
in order to learn to write Android apps

...for this.

A couple of days ago, a cousin of mine and I decided
that it's about time we entered the android market.

So, I've been playing around with OpenGL and I made this: http://www.4shared.com/file/IHtDCwbF/berry_frenzy_3D.html
(some of you may remember the earlier (and crappier) version)

Some of my friends couldn't play it. I don't know if it's their drivers or my dlls (I don't
remember where or when I got them, I just copied them from my system directory).

If you can't play it, you can check out the gameplay video here, instead:
http://www.4shared.com/video/KjxZ9jIt/berry_frenzy_3D_gameplay.html
Last edited on
I need to get into game programming more, put my degree to use. Sadly, due to how the programming courses were in my degree I have no confidence in my programming abilities. I find myself reading "C++ Programming From Problem Analysis to Program Design 3rd Edition" to try and build my confidence up again. I'm on chapter 12 of 19 (about to start chapter 13) and learning things I didn't know, but I don't know if I will ever get my confidence back for programming.

Other than that I'm just spending time with my family (wife and son).
Last edited on by closed account z6A9GNh0
Just installed Fedora 15... and loving it!

There's still some tweaks to make... (like changing that obnoxiously-placed Caps Lock key into a Ctrl key; IIRC it shouldn't be too hard on Fedora).

I had Red Hat years ago (before there was a Fedora branch) and I liked that. I can't remember why I changed it... did I get new hardware?

In any case, no version of Ubuntu will work on my hardware, so I figured I'd look to see what else and came across Fedora XFCE Spin so I jumped on it. And I'm glad I did!


On the XP side of life, I'm updating my old mpath program and working on my text editor.
See, that's rather interesting. When I tried to install Fedora 15, I had so many problems with it that I eventually threw my hands up and switched to Ubuntu 11.04.

-Albatross
That is funny I just installed Ubuntu 11.04. I have heard Fedora is for the "Power User" is it harder to use than Ubuntu?
Ubuntu is designed for desktop and mobile device users, so its maintainers have an interest in making it easy to install and maintain for the average mortal. You can still put yourself in "I need semi-divine help mode" if you aren't careful though. Ubuntu is a Slackware distribution.

Fedora is designed by people who program and have both business (workstation) and home (desktop) interests. The installer is very nice, but system maintenance still requires you to know something about how *nix works -- so there is a bit more of a learning curve (but not much) to use it.

Either way, both are fine systems, and can be used for the same purposes.


I'm not sure why Ubuntu choked on my system -- it is rather old. Perhaps it is because my PC's drives are hooked up via SCSI instead of IDE...

Ubuntu is a Slackware distribution


Wrong. Ubuntu is based on Debian.
Pages: 12