Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 289 290 [291] 292 293 ... 796

Author Topic: if self.isCoder(): post() #Programming Thread  (Read 882312 times)

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4350 on: April 20, 2013, 12:43:13 pm »

Yeah, Blast is such a generic and bland name. Most important part of programming is totally the naming stage.
Logged

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4351 on: April 20, 2013, 12:58:36 pm »

Why don't you rename it Blast Furnace?
I named it after that, but just Blast is easier to type and won't abbreviate. Also I didn't want to have the name contain any D's or F's (too many DF utilities start with DF). But since I haven't released it yet, I'm still open for naming suggestions.
Logged

Skyrunner

  • Bay Watcher
  • ?!?!
    • View Profile
    • Portfolio
Re: if self.isCoder(): post() #Programming Thread
« Reply #4352 on: April 20, 2013, 01:04:19 pm »

I think Magma's reasons are valid, too.
Logged

bay12 lower boards IRC:irc.darkmyst.org @ #bay12lb
"Oh, they never lie. They dissemble, evade, prevaricate, confoud, confuse, distract, obscure, subtly misrepresent and willfully misunderstand with what often appears to be a positively gleeful relish ... but they never lie" -- Look To Windward

cerapa

  • Bay Watcher
  • It wont bite....unless you are the sun.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4353 on: April 20, 2013, 01:06:23 pm »

In my opinion Furnace sounds better than Blast, if you only want to have one word.
Logged

Tick, tick, tick the time goes by,
tick, tick, tick the clock blows up.

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4356 on: April 20, 2013, 01:31:21 pm »

I'm gonna throw my vote in for Blast Furnace.

Or Smelter. (the point is to throw in, use, and combine a lot of different mods easily, right?)
Logged

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4357 on: April 20, 2013, 02:27:13 pm »

(the point is to throw in, use, and combine a lot of different mods easily, right?)
Foremost it's a toolkit to write and combine combinable mods, but it can also be used to create standalone mods more easily.

As for the name, I'm currently swaying between Blast, Smelter and Cauldron, but those are all kinda medium awesome, so if anyone comes up with something better pertaining to mixing, I'll probably take that.
Logged

Slayerhero90

  • Bay Watcher
  • Time for Taako's opinion.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4358 on: April 20, 2013, 02:36:49 pm »

Ooh! Idea! How about "Jeweler"?
Logged
My tumblr.
Yeah no I don't haunt here anymore. Peace

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4359 on: April 20, 2013, 02:49:22 pm »

Ooh! Idea! How about "Jeweler"?
I kinda fail to see the connection between the purpose of this utility and the profession of jewelery. Enlighten me?
Logged

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #4360 on: April 20, 2013, 03:26:27 pm »

There is a little thing that people ALWAYS get wrong when designing a website.
Although your solution is more logical from a caching perspective, it's not wrong to do it in the way people expect it to work.
From the user perspective the primary difference between my method and the method that developers normally use is that my method produces  a most recent page that may contain less than a full page of items.

How big a deal is that? if seeing a small list of recent items is bad for the user, I can fairly easily add a second full page if the most recent page was less than half full.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4361 on: April 20, 2013, 04:11:24 pm »

Ooh! Idea! How about "Jeweler"?
I kinda fail to see the connection between the purpose of this utility and the profession of jewelery. Enlighten me?
Jewelers encrust gems in little pieces of bent up metal.
[Tool name here] encrusts mods in little pieces of DF.
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4362 on: April 20, 2013, 04:37:46 pm »

The same reason Ruby (the language) has Gems (libraries).
Logged

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #4363 on: April 21, 2013, 04:19:36 pm »

This was a bigger pain in the ass than it should have been.

[spoiler ="a tab set using no images or javascript. May not work in ie."]
Code: [Select]
<html>
<head>
<title>tabset</title>
<style>

.tabset {
background-color:rgb(100,100,100);
height:50px;
width:500px;
display:table-cell;
vertical-align:bottom;
padding:0 0 5 20;
margin-left: -20;
margin-right:-20;
}

.tabset > div {
display:inline-block;
position:relative;
margin-left:-20;
margin-right:-20;

}

.tabset > div > div:first-child {
position:relative;
margin-left: -0;
display:inline-block;
padding:0;
z-index:100;
vertical-align:bottom;
width:20px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;

}

.tabset > div > div:last-child > div {
position:relative;
margin-right:-0;
display:inline-block;
padding:0;
z-index:100;
vertical-align:bottom;
width:20px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 18px;
border-bottom-right-radius: 0px;

}

.tabset > div > div:first-child > div {
position:relative;
margin-right:-0;
display:inline-block;
padding:0;
z-index:100;
vertical-align:bottom;
width:20px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 18px;
}

.tabset > div > div:last-child {
position:relative;
margin-right:-0;
display:inline-block;
padding:0;
z-index:100;
vertical-align:bottom;
width:20px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;

}

.tabset > div > div:nth-child(2) {
position:relative;
display:inline-block;
padding:5 20 5 20;
border-top-left-radius: 18px;
border-top-right-radius: 18px;
z-index:100;
vertical-align:bottom;



}

.tabset > div:hover > div:first-child {
color:red;

z-index:1000;

}
.tabset > div:hover > div:nth-child(2) {
color:red;;
padding:5 20 20 20;
z-index:1000;

}
.tabset > div:hover > div:last-child {
color:red;

z-index:1000;

}

.first > div {
background-color:rgb(200,200,100);
}

.second  > div{
background-color:rgb(150,200,100);
}

.third  > div{
background-color:rgb(100,200,150);
}

.fourth > div {
background-color:rgb(100,200,200);
}


.first > div:first-child > div {
background-color:rgb(100,100,100);
}

.second  > div:first-child > div{
background-color:rgb(200,200,100);
}

.third  > div:first-child > div{
background-color:rgb(150,200,100);
}

.fourth > div:first-child > div {
background-color:rgb(100,200,150);
}

.first > div:last-child > div {
background-color:rgb(150,200,100);
}

.second  > div:last-child > div {
background-color:rgb(100,200,150);
}

.third  > div:last-child > div {
background-color:rgb(100,200,200);
}

.fourth > div:last-child > div {
background-color:rgb(100,100,100);
}



</style>
</head>
<body>
<body>
<div class="tabset">
<div class="first"><div><div>&nbsp;</div></div><div>
first
</div><div><div>&nbsp;</div></div></div><div class="second"><div><div>&nbsp;</div></div><div>
second
</div><div><div>&nbsp;</div></div></div><div class="third"><div><div>&nbsp;</div></div><div>
third
</div><div><div>&nbsp;</div></div></div><div class="fourth"><div><div>&nbsp;</div></div><div>
fourth
</div><div><div>&nbsp;</div></div></div>
</div>

<div class="shit">damn it to hell</div>
</html>
[/spoiler]
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #4364 on: April 22, 2013, 04:04:20 am »

That's a shitloads of divs.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))
Pages: 1 ... 289 290 [291] 292 293 ... 796