[QUOTE=Diaklu;18506846]Anyone interested in Windows shells, as in explorer replacement?[/QUOTE]
Make it like OSX's finder for win (if you're making a full explorer replacement).
Also, javascript is lovely:
[code]
<script type="text/javascript">
window.addEventListener( 'load', function() {
for( var i = 0; i < document.links.length; i++ ) {
document.links[i].addEventListener( 'click', function() {
alert( 'leaving to...' + this.href )
}, false )
}
}, false )
</script>
[/code]
[editline]01:58PM[/editline]
Now to just make it call a script on exit, I can get bounce rate and the time spent on the site.
[QUOTE='-[ Fizzadar ]-;18506922']Now to just make it call a script on exit, I can get bounce rate and the time spent on the site.[/QUOTE]
Meet [url=https://www.google.com/analytics]Google Analytics[/url]
[QUOTE=CarlBooth;18507056]Meet [url=https://www.google.com/analytics]Google Analytics[/url][/QUOTE]
Already using it, not a huge fan. I prefer to self-host stuff like that.
[QUOTE='-[ Fizzadar ]-;18506922']Make it like OSX's finder for win (if you're making a full explorer replacement).[/QUOTE]
Will do. I'll make it have a folder list on the left and items on the right with buttons on the top and a statusbar.
[QUOTE=Diaklu;18507233]Will do. I'll make it have a folder list on the left and items on the right with buttons on the top and a statusbar.[/QUOTE]
Awesome, finder is so win :D One thing is missing, though, the "up" button to go up a level, Windows 7 doesn't have it either, it's so useful at times, although finders status bar (with folder location enabled) solves the problem similar to Windows 7's top bar with the location.
Also I've decided [i]not[/i] to track 'time on site' or crap like that. Instead, I'm going to track events, which will be searchable by IP. The overall idea is that you'll be able to generate a 'site flow' of where your visitors travel throughout the site. So searching an IP will get all visits by that IP (so every page they visit, along with the time, browser, and so on) and the exits table, which will be a separate list of exits, and where to (unless it's a simple window close).
[editline]02:35PM[/editline]
Table structure: 3 tables: pages, exits & users.
I'll have to do some simple cookie stuff so it only updates the users info per one visit, because realisticially 1 query is enough/page, rather than 2 (which will be on the first visit with no cookie).
I dreamt that a2h was my neighbour, and he kept trying to make me get Bugspray, even though I don't really have a use for it.
Also, his sister made an oldschool Batmobile out of Lego. Leather interior.
More on OS making: there was one point with me when I went 'WOAH ICANACTUALLYMAKEANOPERATINGSYSTEM?!:byodood:' and went to some sites and found some tutorials, example oses, forums, etc.
I also found assembly more confusing than c and an example OS that uses asm to start, and the rest is c
*[url]http://dl.dropbox.com/u/2421761/os.7z[/url] is the c os I found. Though now I have no idea where it's from. Requires NASM, GCC, AND LD.
*[url]http://www.osdever.net/tutorials/index[/url] and [url]http://wiki.osdev.org/[/url] have alot of tutorials. the wiki has a huge list of home-made oses (184)
[QUOTE=ryandaniels;18498343]Base 10 has always seemed "magical" to me. But while looking at that picture, I realized that there's nothing magical about 10, it's just a value that, like all other values, has no intrinsic meaning.[/QUOTE]
Base 10 is [B]handy[/B].
[QUOTE='-[ Fizzadar ]-;18507080']Already using it, not a huge fan. I prefer to self-host stuff like that.[/QUOTE]
[url]http://piwik.org/[/url]
[QUOTE=Ortzinator;18508884][url]http://piwik.org/[/url][/QUOTE]
Yeah I've heard of that, not a huge fan of a few things:
1. The javascript bit
2. The design
I'm also assuming you add sites manually, I personally find that annoying, I'm aiming for a panel you can upload, install via the web, and then stick the code into your sites (or WP plugin, for example). It will save the hostname on page load, so there's no adding sites in the control panel, just add the code and go. Of course, anyone can then add the code, but really, who's going to do that if they can't see the resulting stats?
The 'home' page will display stats across all sites, basically your 'network' size. Then it will pretty much be filter based, selecting individual hostnames, etc, then tracking an IP through your site and creating a virtual timeline of their actions, where they exit, where they come back (if they come back) and so on.
I'm also planning on integrating a click/heat map style thing. I'll use ajax with the javascript, and only once the page is loaded will it request to send data, which will mostly be detected with PHP rather than javascript (which will really only detect the hostname/location). Clicks will give further ajax requests. All the ajax is to maximize page load speed, since the actual javascript will be ~1-2KB tops.
[QUOTE=Ibutsu;18505513]Can you link the said picture?
I wish to be enlightened, (although I already know our numeric system is just human interpretation of values). :smile:[/QUOTE]
[url]http://upload.wikimedia.org/wikipedia/commons/b/b5/Hexadecimal-counting.jpg[/url]
Just realized the visitors system won't work, IP's change, they might switch browser, etc. Instead, using sessions and visits. Each session will have a visit ID.
[QUOTE=windwakr;18511169]Yes, people have been making hobby OS's since the dawn of time.
Check this one out, it's in 100% assembly, and has full source code available.
[url=http://www.menuetos.org/stuff32.htm]Menuet OS[/url]
It has a full GUI and it fits onto a normal floppy disc.
But don't get your hopes up thinking you could put out some awesome OS anytime soon, especially if you want a GUI in it. Making anything past a simple command-line could take months, even years depending on how much you work at it.
I don't even plan on working toward a GUI in WIND OS. Would be too much work. I'm just going for some more commands and then I'll implement some MSDOS-like int 21h commands so I can run MSDOS programs in it. Even that will take a long time.
Programming languages are like real languages. The one you didn't know first just seems confusing and out of place. You find assembly confusing, I find C confusing.[/QUOTE]
I've always wanted to get into OS dev, but I don't think you can even do it with python.
Actually thats wrong, someone has.
[QUOTE=iPope;18511446]I've always wanted to get into OS dev, but I don't think you can even do it with python.
Actually thats wrong, someone has.[/QUOTE]
:v: ...
[QUOTE=iPope;18511446]I've always wanted to get into OS dev, but I don't think you can even do it with python.
Actually thats wrong, someone has.[/QUOTE]
[img]http://costeira.com/upl/uploads/1258230209761.png[/img]
[QUOTE=ddrl46;18504815]To a2h:
[code]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE IF NOT EXISTS `actiontypes` ( `id` int(11) NOT NULL AUTO_INCREMEN' at line 6
*snip*
[/code][/QUOTE]
Okay, so exploding by \r\n works on my side, but not elsewhere? Or what...
The Git repo's been set up to use CRLF.
[QUOTE=a2h;18512377]Okay, so exploding by \r\n works on my side, but not elsewhere? Or what...[/QUOTE]
What are you exploding by line anyway?
Also, xmlhttp object sucks, it doesn't work cross domain.
Solution is to document.write a <script> tag after page load, how is that fucking better? Fuckin' javascript & browsers.
[QUOTE='-[ Fizzadar ]-;18512580']What are you exploding by line anyway?[/QUOTE]
[code] $dumpfile = fopen('dump.sql','r');
$dumpstr = fread($dumpfile,filesize('dump.sql'));
$dumparr = explode(";\r\n",$dumpstr);[/code]
An SQL dump.
[QUOTE='-[ Fizzadar ]-;18506922']Make it like OSX's finder for win (if you're making a full explorer replacement).[/QUOTE]
shut up with your god damn mac faggotry
[highlight](User was banned for this post ("Flaming/Trolling" - cosmic duck))[/highlight]
I just tested out [url]http://www.phpclasses.org/browse/package/5365.html[/url] and made a picture of C:\windows\media\chimes.wav's wave form
[QUOTE=fngrbng;18512956]shut up with your god damn mac faggotry[/QUOTE]
As a Windows user, I think Macs are better outside of gaming.
So continue on playin' Fizzadar. :banjo:
Working on OpenGTA2. I'm done with low-level networking transport, and I'm almost done with high-level message transportation system, which will serve as base for all networking in OpenGTA2.
Right now server and client only synchronize their internal clocks over network - so "ServerTimer.Time()" will return same time, synced, on both sides. It's used for timestamping certain events, and to just to aid various things.
No change from visual side though, my friend is still working on new rendering code. No ped remaps yet either. Here's some screenshot though: [url]http://filesmelt.com/downloader/ogta3.PNG[/url]
Oh yeah, walking around now works completly. You don't fall through anywhere, and you can walk up and down the slopes! And it fixes gazillion of bugs that were in original GTA2 movement code!
Is the game made from scratch or what? Some info would be nice, not all of us know what 'opengta2' is
I'm working on blob recognition for my group on our robotics team. My mentor guided me writing some (fairly shitty) code. I'm working on some better code. It should be accurate once it's finished.
[url]http://spamtheweb.com/ul/upload/3109/68789_crimegame.php[/url]
I have to touch some stuff up and make it so you can actually win, but that's about it, someone offered $300 for a primary sponsorship already, i'll see where it's at on friday.
[QUOTE=databee;18520071]Is the game made from scratch or what? Some info would be nice, not all of us know what 'opengta2' is[/QUOTE]
Was there an openGTA1? Or is this like a painstakingly reproduced clone of GTA2?
[QUOTE=windwakr;18511169]Yes, people have been making hobby OS's since the dawn of time.
Check this one out, it's in 100% assembly, and has full source code available.
[url=http://www.menuetos.org/stuff32.htm]Menuet OS[/url]
It has a full GUI and it fits onto a normal floppy disc.
But don't get your hopes up thinking you could put out some awesome OS anytime soon, especially if you want a GUI in it. Making anything past a simple command-line could take months, even years depending on how much you work at it.
I don't even plan on working toward a GUI in WIND OS. Would be too much work. I'm just going for some more commands and then I'll implement some MSDOS-like int 21h commands so I can run MSDOS programs in it. Even that will take a long time.
Programming languages are like real languages. The one you didn't know first just seems confusing and out of place. You find assembly confusing, I find C confusing.[/QUOTE]
Sounds kind of interesting, just not sure if I have the patience to get into the low-level world :P
[QUOTE=efeX;18522873]Sounds kind of interesting, just not sure if I have the patience to get into the low-level world :P[/QUOTE]
It's actually really easy, especially in real-mode. There's so much less to worry about, the only thing you really have to learn is how to interact with the BIOS using interrupts, and how to make your own interrupts. Once you're there, you're good to go. Testing is also easy with a virtual machine (like VirtualBox).
It doesn't take long to get started anyway, just grab VirtualBox and an assembler for the boot image (I recommend FASM... I think that's what windwakr uses too). Once you've got the hang of it, you can start coding in a different language for your OS.
Just wrote a b256-b128-b64-b16 converter
[code]Base-256 The quick brown cock jumps up your ass
Base-128 QAmôdèõãXÀÂgtäÙ#3im2(nÍG1DTÓdöí_4ipw(ÉÂGWÌ-W
Base-64 vgHLihf1AwnRigjYB3DUignVy2SGANvTChmGDxaGEw91CIbHC3m
Base-16 54686520717569636B2062726F776E20636F636B206A756D707320757020796F757220617373[/code]
[QUOTE=a2h;18512377]Okay, so exploding by \r\n works on my side, but not elsewhere? Or what...
The Git repo's been set up to use CRLF.[/QUOTE]
a2h, the code that's erroring has "AUTO_INCREMEN" rather than "AUTO_INCREMENT" at least looking at the error people have posted.
hope this helps
Sorry, you need to Log In to post a reply to this thread.