Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dutch_619

Pages: [1] 2 3 ... 6
1
Off-Topic / Re: Google Chrome OS? Good idea?
« on: 2009-11-23, 02:07:08 PM »
I ran it in a virtual machine and played with it some. It's not very usable at present, the windowing system is wonky, there is no ACPI management in place. It's an interesting idea however.

I do worry about the SSI issue (single sign-in). Basically your login allows access to ALL of your files on the cloud. I'd like to see it implement a hardware key or bio-mimetics requirement as an option. Even using a usb drive with a hashed key for verification would be acceptable for me.

2
Projects / Re: New project
« on: 2009-11-18, 10:06:51 PM »
SGDK2 It is! Man, the toolsets in this thing are outstanding!

Time to work on some sprites I guess. Then some photoshop tutorials....

Thanks again for the help.

3
Projects / New project
« on: 2009-11-18, 04:17:50 PM »
Okay, so work has eased off enough for me to consider writing some code and graphics for fun.

I'm thinking of remaking a game idea I had long ago, based on my memories of a 2d CGA graphics biplane game from the late 80's. I did a half-assed version but got bored and started working on an embedded linux project.

My questions are
1) should I do it in SGDK2 or SGDK1
I'm familiar with one, but suck at VB, I'm good a C# but have to learn 2 so the learning curve may be an issue.
2) Should I concern myself with footprint? Memory is cheap now. Should I avoid making an 8mb png file for the sky? Avoid a 12480x100 pixel terrain file? Tiles are nice for memory savings, but can be very bland.
3) If I did make large single terrain files how would I import them? Collision detection would be iffy as well, no?

I hope to start a project that I can finish in a few months, as I tend to get distracted by new techniques at work and go a bit obsessive about them.

4
Off-Topic / Re: Unreal Engine 3 Free For Indies
« on: 2009-11-16, 12:29:08 PM »
Heh, a friend of mine and I have about 15 playable minutes of a game called "Rev 16" built on unreal. We gave up eventually as it's just too much work for 2 people. It's a helluva game engine though. The kinesthetic hooks in the software are nicely done. It beats the old style frame-select method of calling an animation.

5
Off-Topic / Re: Bots
« on: 2009-10-30, 09:26:18 AM »
I had heard that the 32nm process didn't scale well, but it appears they've found a fix...

Wait, isn't quantum processing based in part on the idea that all the processors exist in the multiverse simultaneously and the first one to get the correct answer returns the value to all the processors? This would allow for a MASSIVELY parallel brute force attempt.

6
Off-Topic / Re: Bots
« on: 2009-10-28, 10:27:03 AM »
It appears that 40nm is the limit on process size, any lower and quantum effects become a problem e.g. tunneling. The trouble is that granularity is a problem with coding for multiple cores. Some problems do not parallelize(sic) well.

7
Off-Topic / Re: Bots
« on: 2009-10-26, 10:49:17 AM »
There is an attempt being made now to simulate the cortex of a brain in silicon.
http://bluebrain.epfl.ch/
While we are several years out from running a complete brain in silicon we are closer now than you would think. I recall the excitement of breaking a teraflop, now I can do the same with my video cards using the CUDA toolkit. Somehow it ended up being the future without me noticing it.


8
Off-Topic / Re: Bots
« on: 2009-10-24, 10:57:34 PM »
I had a graph that showed the growth of supercomputer complexity with a line demarcating what it would take to simulate a mind neuron by neuron in real time. We are surprisingly close to that line.

9
Off-Topic / Re: Fun facts!!!
« on: 2009-10-24, 10:55:57 PM »
A sharp (#) is a half step in music notation, and ++ means increment by one, so C# is C plus one and a half

Ternary is base three notation so
1=1
2=2
3=10

10
Off-Topic / Re: Fun facts!!!
« on: 2009-10-22, 01:10:07 PM »
There are only 10 types of people, those that understand ternary...

11
General Discussion / Re: Linux
« on: 2009-07-31, 09:38:51 AM »
Graphics drivers used to be an issue with linux. That seems to be no longer the case however.

The 64 bit compatibity issue is unfortunately not just a linux problem. I have similar issues with compiled software from my 64 bit XP machine running on any other iteration of windows. Vista64 is plainly obscene in its problems.

The reason you need a 64 bit os is that everything on the motherboard has a physical address. The RTC, the DMA, northbridge and southbride. Add in a video card with a gig of ram and you suddenly have a little more than 2 gig of adress space available for RAM. Unfortunately there is no hardware abstraction available at this level, so you can't spoof or duplex the addresses. Unlike with a hard drive for example.

12
Game Development Artistry / Tablet Pc
« on: 2009-06-15, 10:57:24 AM »
I ended up with an older Toshiba slate-format tablet pc from work. My company will give away or sell for a nominal fee older hardware that we've replaced. I just started using it for art work and I am amazed at how much easier it is to draw on it vs a digitizing tablet. Anyone else used one of these bad-boys in the past?

13
Off-Topic / Re: barren forums...
« on: 2009-06-05, 08:30:05 PM »
Umm..... Here.

Been busy doing embedded stuff at work and NO WAY am I coming home to do more coding. Still have that project, but its gathering dust.

14
Off-Topic / Re: inserting data into sql database
« on: 2009-05-15, 09:40:04 AM »
...and an example straight from W3C schools ADO section
Code: [Select]
<html>
<body>

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"

sql="INSERT INTO customers (customerID,companyname,"
sql=sql & "contactname,address,city,postalcode,country)"
sql=sql & " VALUES "
sql=sql & "('" & Request.Form("custid") & "',"
sql=sql & "'" & Request.Form("compname") & "',"
sql=sql & "'" & Request.Form("contname") & "',"
sql=sql & "'" & Request.Form("address") & "',"
sql=sql & "'" & Request.Form("city") & "',"
sql=sql & "'" & Request.Form("postcode") & "',"
sql=sql & "'" & Request.Form("country") & "')"

on error resume next
conn.Execute sql,recaffected
if err<>0 then
  Response.Write("No update permissions!")
else
  Response.Write("<h3>" & recaffected & " record added</h3>")
end if
conn.close
%>

</body>
</html>



As well as some ripped from a functional database interface from work (non-proprietary)
Code: [Select]

var adoConn = new ActiveXObject("ADODB.Connection");
var adoRS = new ActiveXObject("ADODB.Recordset");
adoConn.Open(adoConnectString);
adoRS.Open(QString, adoConn, 1, 3);
var adoQstringEOF = adoRS.EOF
if (adoQstringEOF == false)
{
userNameFromDatabase.value = adoRS.Fields("Username").value;
passwordFromDatabase.value = adoRS.Fields("Password").value;
adoRS.Update;
adoRS.Close();
adoConn.Close();
}
else if (adoQstringEOF == true)
{
adoRS.Close();
adoConn.Close();
alert ("Username not found")
}
}



15
Off-Topic / Re: inserting data into sql database
« on: 2009-05-15, 09:17:00 AM »
I could do it in PHP or even javascript using ADO.

Post the table name and field names and I'll hack up an example in VBscript/ASP real quick for you.

*** Edit ***

You really need to add a connect object as well as the recordset. Additionally a recordset EOF object to handle errors if the query object is not found. I would sanitize my inputs by using a regular expression parser and most critical of all... you MUST close a connection cleanly. The software we design here tends to asynchronous database hits, but it is important regardless of the method used. It is safer to open and close connections as needed and used rather than leaving it open.


Pages: [1] 2 3 ... 6