Metanet Forums

Welcome to the Metanet Software community.

View unanswered posts | View active topics It is currently 248/2010 @015

AltArc: source code released

Talk about the Nmaps.net website.

Moderator: rocket_thumped

Postby EdoI » 110/2009 @872

This is what I get when I go to the AltArc...
User avatar
Lifer
 
Posts: 1066
Joined: 269/2008 @817
Location: Zenica, Bosnia and Herzegovina
NUMA Profile: http://nmaps.net/user/EdoI
MBTI Type: INTJ

Postby Fraxtil » 111/2009 @175

EdoI wrote:This is what I get when I go to the AltArc...

I'm looking into that right now. I don't know what's causing it, but it might be that the httpd is down at the moment.
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Arachnid » 118/2009 @362

Gforce wrote:
incluye wrote:Oh, yeah, that's probably not good. Is that why the site is down? Maintenance?
*nods*
I've begun to make it more efficient, and so far I've gotten the lag down to about 60% of what it originally was. That's still unacceptably slow, but I have plans to make it even faster.
Here's an idea of how the original system worked:
- First, create an array containing all the maps in the entire database.
- Generate the appropriate HTML code for every map and store it in the same array.
- Filter results based upon the search query and date.
- Sort the filtered results by the user's preference.
- Display the first ten of those results (or whatever count=x is).
Obviously this was bad. Now it still creates an array of every map, but it only stores the necessary information (map ID and the sort parameter, such as the map's rating, votes, favorites, or whatever).


Ready to take back those things you said about NUMA's sorting and filtering being easy to improve yet? ;)

Seriously, though, if you haven't already, you need to look at indexing, and learn about big-O runtime. In a nutshell, if you continue to take your current approach, no matter how efficient you make it, it's going to be unacceptably slow once you get a decent number of maps. This is only going to work at all if you do your filtering in the database, with indexes, and only retrieve matching maps.
Member
 
Posts: 35
Joined: 273/2008 @577

Postby Fraxtil » 137/2009 @115

Arachnid wrote:Ready to take back those things you said about NUMA's sorting and filtering being easy to improve yet? ;)
Yeah, you got me. :/
Arachnid wrote:Seriously, though, if you haven't already, you need to look at indexing, and learn about big-O runtime. In a nutshell, if you continue to take your current approach, no matter how efficient you make it, it's going to be unacceptably slow once you get a decent number of maps. This is only going to work at all if you do your filtering in the database, with indexes, and only retrieve matching maps.
I've been pondering such a system, and I still don't know exactly how I'm going to implement it. For certain, though, there will be database-level indexing before I release the final AltArc.

Edit: I've begun writing the indexer, but have yet to implement it throughout the site. Also, I decided to use AJAX for favoriting and saving maps; voting and commenting may eventually follow suit. JQuery will make things beautiful.
Edit2: The caching is almost complete. I just need to iron out a few bugs in the new search system, and it will be done.
Edit3: AltArc is now very close to completion, as I've fixed the aforementioned bug and added sorting functionality to users and packs. All I need to do now is implement comment reporting and batch-submissions to AltArc and Numa. I'm also going to change the implementation of "default sort parameters" because it's crappy at the moment. :|
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Destiny » 138/2009 @807

Can't wait to see this done :D
User avatar
Damn You're Fine
 
Posts: 384
Joined: 272/2008 @977
Location: Seireitei
NUMA Profile: http://nmaps.net/user/_destiny%5E%2D
MBTI Type: ISTJ

Postby Nexx » 138/2009 @865

Is this not being beta-ed atm? 'Cuz I haven't been able to load the site for ages. And if it's not being beta-ed as you're adding the features you mentioned, won't it need to be before it can really be called "completed"?
Boeing Boeing Bone!
 
Posts: 762
Joined: 273/2008 @317
Location: California, USA
NUMA Profile: http://nmaps.net/user/Nexx
MBTI Type: INTJ

Postby Fraxtil » 138/2009 @992

Avarin wrote:Is this not being beta-ed atm? 'Cuz I haven't been able to load the site for ages. And if it's not being beta-ed as you're adding the features you mentioned, won't it need to be before it can really be called "completed"?

Of course. I've been working offline for awhile, and I'm not even going to bother with finding a webhost for now. Pretty much every free host has everything I need minus one feature, whether it be GD, htaccess, or some other wacky configuration that breaks everything. I'll get a beta going once I complete my to-do list, which can be found here. As you can see, there isn't too much left to do, and since tomorrow is my last day of school (WOOOOT), I'll probably get a beta up and running sometime this week. It will also be the last beta until AltArc is finally considered 'complete'.

It'll be awesome. Seriously. After I finish the last major functions, I'm going to start using jQuery and Ajax to polish up the site even more. :)
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Inspired » 140/2009 @295

How's it looking IE wise?

Im just crossing my fingers.
spoiler

Image

User avatar
Demon Fisherman
 
Posts: 1295
Joined: 279/2008 @845
Location: New Zealand
NUMA Profile: http://nmaps.net/user/nDEAVOUR
MBTI Type: INFJ

Postby Fraxtil » 140/2009 @674

With IE8, the only problems on AltArc involve unsupported CSS3 tricks. It doesn't hurt the functionality, but some parts of the site look a little weird (checkboxes have a box around them which is only supposed to apply to text inputs, but IE doesn't know how to interpret "input[type='text']").
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby SampsonHammerjack » 140/2009 @811

I can't say I'll be using AltArc, no matter how much better it is unless it is somehow connected to the current NUMA map database. Oh and being able to load its maps in NReality is something that I would put above all else... its just too handy to leave, but of course, you can change any of that.
~~Download Modmaster: My NReality Mod Helping App~~
spoiler

~~Quotes~~
golfkid - "I beat kk on his map, and he got me within 6 seconds, then I did it again and he beat me in 12 seconds."

blue_tetris - "kkstrong was nothing, alot of people stood in his way, and he just fought against adversity, he learned he lived, and he was admin at nmaps.net for a while. He is a great mapper, and ya know, thats why he is on the short list for the mod pick."

Pheidi -" Despite a mapper's best efforts, highscorers will always find a way to defy his intentions."

User avatar
Moderator
Moderator
 
Posts: 100495
Joined: 269/2008 @278
Location: Southern California, USA
NUMA Profile: http://nmaps.net/user/cucumber_boy
MBTI Type: ESTP

Postby Fraxtil » 140/2009 @937

kkstrong wrote:I can't say I'll be using AltArc, no matter how much better it is unless it is somehow connected to the current NUMA map database. Oh and being able to load its maps in NReality is something that I would put above all else... its just too handy to leave, but of course, you can change any of that.

I've PM'd Unreality about support for downloading AltArc maps within the game. Thanks for reminding me about that.
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby SampsonHammerjack » 140/2009 @964

Or IRC sometimes on #n-highscores from about 8pm - 5am PST.
~~Download Modmaster: My NReality Mod Helping App~~
spoiler

~~Quotes~~
golfkid - "I beat kk on his map, and he got me within 6 seconds, then I did it again and he beat me in 12 seconds."

blue_tetris - "kkstrong was nothing, alot of people stood in his way, and he just fought against adversity, he learned he lived, and he was admin at nmaps.net for a while. He is a great mapper, and ya know, thats why he is on the short list for the mod pick."

Pheidi -" Despite a mapper's best efforts, highscorers will always find a way to defy his intentions."

User avatar
Moderator
Moderator
 
Posts: 100495
Joined: 269/2008 @278
Location: Southern California, USA
NUMA Profile: http://nmaps.net/user/cucumber_boy
MBTI Type: ESTP

Postby Fraxtil » 159/2009 @872

The beta will hopefully be permanently online within the next few days. I'm just waiting for a confirmation e-mail from the webhost. Yes, this means AltArc is pretty much done right now (except for clearing out any bugs or missed suggestions, which is why it's still technically a beta).

http://altarc.sector-five.net/ is online! Register and alert me via PM or IRC of any bugs you find.
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Nexx » 159/2009 @896

I tried to register and got a strange error. I PMed you the details just to be safe.
Boeing Boeing Bone!
 
Posts: 762
Joined: 273/2008 @317
Location: California, USA
NUMA Profile: http://nmaps.net/user/Nexx
MBTI Type: INTJ

Postby Tunco » 159/2009 @897

Avarin wrote:I tried to register and got a strange error. I PMed you the details just to be safe.

Me either. A possible solution for that?
I'll PM you later, GForce.
Image
User avatar
Overmage
 
Posts: 2597
Joined: 13/2009 @695
Location: Istanbul.
NUMA Profile: http://nmaps.net/user/Tunco123
MBTI Type: ENTP

Postby Fraxtil » 160/2009 @175

I changed some file permissions on the new host; hopefully that will resolve the problems.
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Nexx » 160/2009 @283

Are news entries purposefully categorized as maps? Right now, you can hit "random map" and get one of the news items. And it's less important, but the rating text shouldn't be "vote on this map" for news items.

Also, "recently viewed maps" doesn't seem to work for me. I viewed both of the two maps there and then tried that feature, but nothing happened.

Also, the site just went down as I was using it, according to http://www.downforeveryoneorjustme.com

EDIT: Site is back up and recently viewed maps is working, so scratch those. My first "paragraph" still stands.
Boeing Boeing Bone!
 
Posts: 762
Joined: 273/2008 @317
Location: California, USA
NUMA Profile: http://nmaps.net/user/Nexx
MBTI Type: INTJ

Postby Fraxtil » 160/2009 @759

Avarin wrote:Are news entries purposefully categorized as maps? Right now, you can hit "random map" and get one of the news items. And it's less important, but the rating text shouldn't be "vote on this map" for news items.

Yes, they are categorized as maps, partially because it's easier to code it that way, and also because it's more efficient to use a single database for both. I may end up changing the way "random map" works- right now it just picks a number between 1 and [number of maps], meaning it can even take you to a delisted map.
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Bio » 164/2009 @199

Sweet. And for packs, do we just slip in a ton of level data for multiple levels? The interface for packs confuses me.
Snugglepop wrote:F*ck, my fetish for men keeps going up

"I am Doctor Dipshit, PhD"

The Dave trend! | Has beat N! | <gloomp> Fuck, why is Bio above me on the stats? | 250+ maps strong! | Master of average Nreality maps! | Me and kk are tight! | Copperplate Orange guy | Farragomate master | Sometimes irritates Leaff | Damn good speedrunner! | Hi Communist | Frequents IRC | Super metroid speedrunner! | American and kinda proud of it! | <Universezero> On New Years, I'm going to be UniverseBeero | Long sig fanatic! | Generally hated! | Enjoys RPing | Likes George Lopez | Citris fruit lover | Sauerbraten modder | Nrealitypack creator | Mostly nonconformist | Considers himself a good drawer | Math smart for my age | Sporcler | <Communist> Like "Carries disease, and proud of it!" | Phun addict | Stick ranger level 40+ | "Brett used to get laid, but now he masturbates while crying himself to sleep." | Death fucking metal!! | Communism rules | The colder the better. | Running out of colors. | Uzi owes me an ass | HATES Leaff | Cheese whore! | Epic mafia game | The Melting Pot contributer | Loves Vacations | Python buttraped me ;_; | Has annoying family | 3.141592653589793238462643383 | Known as Bio on IRC | Salt & Vinegar Potato Chip eater | Fucking Optimus Prime can't even tear this shit up! | Delphenic Zoophile | Mastering python! | Also known as Ishkur | Biosquib on the way, bitches!
Image

User avatar
The 700 Club
 
Posts: 708
Joined: 290/2008 @061
Location: Lethal Lava Land
NUMA Profile: http://nmaps.net/user/BionicCryonic
MBTI Type: ENTP

Postby Fraxtil » 164/2009 @040

BionicCryonic wrote:Sweet. And for packs, do we just slip in a ton of level data for multiple levels? The interface for packs confuses me.

You create a private pack (assuming you're the only author), then you use the map submission interface and choose your pack from the list of map types. Hold Ctrl and click to select more than one, if you want to label it as 'action' or whatever in addition to your pack.
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Bio » 165/2009 @113

So do I add maps to it over time? Or do I just put a ton of maps in at once?
Snugglepop wrote:F*ck, my fetish for men keeps going up

"I am Doctor Dipshit, PhD"

The Dave trend! | Has beat N! | <gloomp> Fuck, why is Bio above me on the stats? | 250+ maps strong! | Master of average Nreality maps! | Me and kk are tight! | Copperplate Orange guy | Farragomate master | Sometimes irritates Leaff | Damn good speedrunner! | Hi Communist | Frequents IRC | Super metroid speedrunner! | American and kinda proud of it! | <Universezero> On New Years, I'm going to be UniverseBeero | Long sig fanatic! | Generally hated! | Enjoys RPing | Likes George Lopez | Citris fruit lover | Sauerbraten modder | Nrealitypack creator | Mostly nonconformist | Considers himself a good drawer | Math smart for my age | Sporcler | <Communist> Like "Carries disease, and proud of it!" | Phun addict | Stick ranger level 40+ | "Brett used to get laid, but now he masturbates while crying himself to sleep." | Death fucking metal!! | Communism rules | The colder the better. | Running out of colors. | Uzi owes me an ass | HATES Leaff | Cheese whore! | Epic mafia game | The Melting Pot contributer | Loves Vacations | Python buttraped me ;_; | Has annoying family | 3.141592653589793238462643383 | Known as Bio on IRC | Salt & Vinegar Potato Chip eater | Fucking Optimus Prime can't even tear this shit up! | Delphenic Zoophile | Mastering python! | Also known as Ishkur | Biosquib on the way, bitches!
Image

User avatar
The 700 Club
 
Posts: 708
Joined: 290/2008 @061
Location: Lethal Lava Land
NUMA Profile: http://nmaps.net/user/BionicCryonic
MBTI Type: ENTP

Postby Fraxtil » 165/2009 @822

BionicCryonic wrote:So do I add maps to it over time? Or do I just put a ton of maps in at once?

I may eventually allow you to batch-upload maps, but I have to figure out a way to make that -not- fill up the Newest Maps page first. I'm open for suggestions.
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Nexx » 165/2009 @848

How do you get the packs thing to work?

I tried making a new pack, but then I realized I don't have any maps. So then subbed a map, but now I have no clue how to put it in the pack. Even if I had to declare what was in it at the time of creation, shouldn't there be an "edit pack" option? I'm totally lost here.
Boeing Boeing Bone!
 
Posts: 762
Joined: 273/2008 @317
Location: California, USA
NUMA Profile: http://nmaps.net/user/Nexx
MBTI Type: INTJ

Postby Fraxtil » 165/2009 @874

Avarin wrote:How do you get the packs thing to work?

I tried making a new pack, but then I realized I don't have any maps. So then subbed a map, but now I have no clue how to put it in the pack. Even if I had to declare what was in it at the time of creation, shouldn't there be an "edit pack" option? I'm totally lost here.

When you create a pack, it's added to the bottom of the list of map types available- scroll down to find it.
Image
On hiatus until Robotology or N 1.5 is released.
ImageImageImageImageImage
Formerly known as Gforce20.
Post count from the old Metanet forums: 724
User avatar
The number of Electoral College votes needed to be President of the US.
 
Posts: 271
Joined: 280/2008 @220
Location: Arizona, USA
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTP

Postby Bio » 165/2009 @913

Gforce wrote:
BionicCryonic wrote:So do I add maps to it over time? Or do I just put a ton of maps in at once?

I may eventually allow you to batch-upload maps, but I have to figure out a way to make that -not- fill up the Newest Maps page first. I'm open for suggestions.


How about a seperate 'pack' listing where instead of haveing a ton of maps you can just Batch-upload a premade pack.
Snugglepop wrote:F*ck, my fetish for men keeps going up

"I am Doctor Dipshit, PhD"

The Dave trend! | Has beat N! | <gloomp> Fuck, why is Bio above me on the stats? | 250+ maps strong! | Master of average Nreality maps! | Me and kk are tight! | Copperplate Orange guy | Farragomate master | Sometimes irritates Leaff | Damn good speedrunner! | Hi Communist | Frequents IRC | Super metroid speedrunner! | American and kinda proud of it! | <Universezero> On New Years, I'm going to be UniverseBeero | Long sig fanatic! | Generally hated! | Enjoys RPing | Likes George Lopez | Citris fruit lover | Sauerbraten modder | Nrealitypack creator | Mostly nonconformist | Considers himself a good drawer | Math smart for my age | Sporcler | <Communist> Like "Carries disease, and proud of it!" | Phun addict | Stick ranger level 40+ | "Brett used to get laid, but now he masturbates while crying himself to sleep." | Death fucking metal!! | Communism rules | The colder the better. | Running out of colors. | Uzi owes me an ass | HATES Leaff | Cheese whore! | Epic mafia game | The Melting Pot contributer | Loves Vacations | Python buttraped me ;_; | Has annoying family | 3.141592653589793238462643383 | Known as Bio on IRC | Salt & Vinegar Potato Chip eater | Fucking Optimus Prime can't even tear this shit up! | Delphenic Zoophile | Mastering python! | Also known as Ishkur | Biosquib on the way, bitches!
Image

User avatar
The 700 Club
 
Posts: 708
Joined: 290/2008 @061
Location: Lethal Lava Land
NUMA Profile: http://nmaps.net/user/BionicCryonic
MBTI Type: ENTP

PreviousNext

Return to Nmaps.net

Who is online

Users browsing this forum: No registered users and 1 guest