↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When | |
---|---|---|---|
*** | teknicaL has joined #arpnetworks | [00:38] | |
.... (idle for 19mn) | |||
ballen is now known as ballen|away | [00:57] | ||
baklava has quit IRC (Read error: 105 (No buffer space available))
baklava has joined #arpnetworks | [01:08] | ||
....... (idle for 30mn) | |||
up_the_irons | ballen|away: yeah, i get the idea (what a pun!) ;)
sroute: yup, that would explain it | [01:38] | |
BeBoo_: your screenshot looks cool | [01:47] | ||
......... (idle for 40mn) | |||
teknicaL | what screen shots? | [02:27] | |
...... (idle for 26mn) | |||
up_the_irons | teknicaL: http://www.beboobailey.info/getegg.png | [02:53] | |
teknicaL | oh
guess I'll be needed an upgrade soon. haha Would help if I can type. Should get some sleep | [02:55] | |
up_the_irons | hehe | [02:58] | |
teknicaL | 6am and still haven't slept. Bad habit of a sleep schedule. lol | [03:00] | |
................. (idle for 1h22mn) | |||
*** | BeBoo_ has quit IRC (Read error: 60 (Operation timed out)) | [04:22] | |
Element` has joined #arpnetworks
BeBoo_ has joined #arpnetworks | [04:27] | ||
teknicaL has quit IRC (Read error: 110 (Connection timed out)) | [04:37] | ||
.... (idle for 18mn) | |||
obsidieth | heh, speaking of suck
such. i just realised ive been installing a spoitable eggdrop through my commands for quite a while | [04:55] | |
....................... (idle for 1h51mn) | |||
*** | heavysixer has joined #arpnetworks | [06:46] | |
heavysixer has quit IRC () | [06:52] | ||
...... (idle for 26mn) | |||
mhoran | jeev, up_the_irons: re: kern.hz -- part of the problem is with context switchinh, which Parallels and VMware (desktop) are notoriously bad at. KVM has some optimizations which make this not so bad. | [07:18] | |
.... (idle for 17mn) | |||
*** | bithash has joined #arpnetworks
bithash has quit IRC ("leaving") | [07:35] | |
heavysixer has joined #arpnetworks | [07:44] | ||
.... (idle for 19mn) | |||
heavysixer has quit IRC ()
heavysixer has joined #arpnetworks | [08:03] | ||
.......... (idle for 48mn) | |||
baklava | I'm going through withdrawl
I had fun setting up the new VM, and now that it's done it just sits there working and I just have to stare at it :) | [08:54] | |
BeBoo_ | up_the_irons: thanks @ the screenshot | [09:07] | |
baklava: i know how that fels
feels* makes you wantto buy another one just to set it up again, right? or rm-Rf * :x | [09:19] | ||
baklava | not that bad :) | [09:20] | |
BeBoo_ | heh
i just hope if i get another one, i'll know what i did to this one lol | [09:20] | |
baklava | :P
I made sure to document when I set this one up I don't setup systems regularly so I usually have to go back and look a bunch of stuff up that I've forgotten | [09:21] | |
BeBoo_ | thats what i end up doing... scp'ing configs and reinstalling stuff i think i need
but we set this one up with mls which was confusing as hell so i'm probably gona try to document what we did | [09:23] | |
baklava | hehe | [09:28] | |
BeBoo_ | i can use the .bash_history file to give me a good idea of what i did on this one | [09:32] | |
jeev | anyone php it up here? | [09:33] | |
baklava | yea | [09:33] | |
jeev | mind helping my sexy ass | [09:33] | |
baklava | what's up? | [09:33] | |
jeev | im sending $1 through $4 through a php with POST to another php
the other php which im posting to is taking $1 through $4 it works OK but the problem is that i want to accept more than one check get what im saying | [09:34] | |
baklava | somewhat, can I see it? | [09:35] | |
BeBoo_ | array, jeev ?
you can serialize an array and send it to the second php script | [09:35] | |
jeev | http://www.pastebin.ca/1590821 | [09:36] | |
BeBoo_ | so the second script just decrypts the array | [09:36] | |
jeev | i read the array's for checkbox
making them the same name and adding a [] but i couldn't read it alll i could do is dump it i still dont understand how i could make it add the selected product names and descriptions and price together | [09:36] | |
BeBoo_ | you want to add the total or what was selected? | [09:37] | |
jeev | add the total + name and description | [09:37] | |
baklava | this looks like a job for OOPHP | [09:37] | |
BeBoo_ | i would do a multi-dem array
using [] | [09:37] | |
jeev | yea tried that last night | [09:37] | |
baklava | you should have an array of check
s check objects | [09:38] | |
BeBoo_ | $products['name'][]
$products['desc'][] $products['price'][] something like that | [09:38] | |
baklava | that have all this stuff, so you don't have to fool around with it | [09:38] | |
jeev | the name and description are actually set inside the php that's posted TO | [09:38] | |
BeBoo_ | ah ok | [09:38] | |
jeev | the set up is if $1 is enabled, set this..
http://www.pastebin.ca/1590821 | [09:38] | |
BeBoo_ | would still be the same | [09:39] | |
jeev | im a pretty big noob, just starting to learn the basics of coding. | [09:39] | |
BeBoo_ | i can help you with it, it's not too hard
i did something similar when i created my dns panel | [09:40] | |
jeev | ok
do you want me to set up the array again | [09:40] | |
BeBoo_ | did $dns['A'][]
etc | [09:40] | |
jeev | ok, i did:
<input type="checkbox" name="option[]" value="0" /> through option 4 is that right then it gets posted to the php that i showed you | [09:41] | |
BeBoo_ | to be posted to the script you pastebined? no | [09:41] | |
jeev | how come
no i put that in the previous file which posts to what i pastebined | [09:41] | |
BeBoo_ | you just need to call that something. you handle that in the resulting script | [09:41] | |
jeev | this is right
i set it in the right script | [09:42] | |
BeBoo_ | can you maybe send me the entire two scripts so i can understand what you are trying to do?
i'm still a little lost at what this does | [09:42] | |
jeev | well give me a second first
let me explain this | [09:42] | |
BeBoo_ | k | [09:42] | |
jeev | right now
it's spitting out the array whatever i check. cause i tried it last night the php i pastebinned is what is spitting it out, the entire thing it's some nasty code, i really can't sift through it | [09:43] | |
BeBoo_ | lol | [09:44] | |
jeev | Array ( [0] => 1 [1] => 2 )
if i check box 2 and 3 that's what shows up, whcih is right i named them 0,1,2,3,4 | [09:44] | |
BeBoo_ | k | [09:44] | |
jeev | what do i now? how can i accept this
$_POST['option'][] ? | [09:44] | |
BeBoo_ | is that the array? | [09:45] | |
jeev | yes | [09:45] | |
BeBoo_ | see the name is wrong... on the input type
i feel you can't have a postvar with that name | [09:45] | |
jeev | <input type="checkbox"
name="option[]" value="3" /> | [09:45] | |
BeBoo_ | it would be $_POST[
err | [09:45] | |
jeev | that's what im telling you, is i was stuck here | [09:45] | |
BeBoo_ | $_POST['option[]'][0]
oops.. replace the } with ] | [09:45] | |
jeev | oh, why then is the [] necessary | [09:46] | |
BeBoo_ | it isn't
-_- thats why i said the name is wrong | [09:46] | |
jeev | i read that that's how you start an array | [09:46] | |
BeBoo_ | in PHP, yes
but not in html that is just a name of that field that has nothing to do with starting an array | [09:46] | |
jeev | so the []'s are useless? | [09:46] | |
BeBoo_ | yes | [09:46] | |
jeev | sec | [09:46] | |
BeBoo_ | in those <input> tags | [09:46] | |
jeev | so just name
option. that's it ? | [09:46] | |
BeBoo_ | yes | [09:46] | |
jeev | and a value
done | [09:46] | |
BeBoo_ | then, in the resulting script, use $_POST['option'][0]
or $_POST['option'][1] | [09:47] | |
jeev | ok | [09:47] | |
BeBoo_ | might need to put those in single quotes tho
$_POST['option']['1] gah | [09:47] | |
jeev | but where should i put it | [09:47] | |
BeBoo_ | i am still waking up, sorry | [09:47] | |
jeev | what should i surround it with
should i like $0 = $_POST['option']['0'] ? | [09:48] | |
BeBoo_ | where ever you are testing the first checkbox which i'm guessing is $porduct1 ? | [09:48] | |
jeev | ok | [09:48] | |
BeBoo_ | $product_1 = $_POST['option']['1']
oooo wait a sec | [09:49] | |
Thorgrimr | You just trying to allow them to submit one from a list? | [09:49] | |
jeev | yea | [09:49] | |
BeBoo_ | i am totally confused | [09:49] | |
jeev | :< | [09:49] | |
Thorgrimr | If they can only choose one, use radio buttons | [09:49] | |
BeBoo_ | if you only want one, you need to use a radio button
not a checkbox | [09:49] | |
jeev | no
not submit one from a list | [09:49] | |
BeBoo_ | and you would do a case statement on $_POST['option'] | [09:50] | |
jeev | sorry i read that wrong
i have 5 checkboxes any 5 combination could be selected actually, i have one select all which sends all. the other combination of 4 could be selected i want it to add it together. | [09:50] | |
BeBoo_ | ok | [09:50] | |
jeev | it's a service with options. | [09:50] | |
BeBoo_ | forget what i said earlier. -_- those checkboxes need different names
like prod1, prod2, prod3 | [09:50] | |
jeev | sono array ? | [09:51] | |
Thorgrimr | Then use your <input type="checkbox" name="product[]" value="1" /> etc | [09:51] | |
BeBoo_ | eh | [09:51] | |
jeev | hmm
that's what i read last night | [09:51] | |
Thorgrimr | THen you have an array named product, that you can iterate over | [09:52] | |
jeev | yea | [09:52] | |
BeBoo_ | but it would be within $_POST[] | [09:52] | |
jeev | i get that it sends over the array
yea BeBoo_ | [09:52] | |
Thorgrimr | Yes | [09:52] | |
jeev | but i dont know what to do after that
i mean i can get it with _POST | [09:52] | |
Thorgrimr | if ($_POST['product'][1]) { box 1 was checked) etc | [09:52] | |
jeev | but do i have to have that for each product and possible product
to match it up? if product 1 and 3 are selected.. | [09:53] | |
*** | ballen|away is now known as ballen | [09:53] | |
Thorgrimr | Just run it through a while or foreach loop | [09:54] | |
jeev | hmm | [09:55] | |
Thorgrimr | foreach ($_POST['product'] as $index) { $price = $items[$index]['price'] } or some such | [09:56] | |
jeev | jeev is lost | [09:57] | |
BeBoo_ | lol | [09:57] | |
Thorgrimr | Sorry ;) | [09:58] | |
BeBoo_ | sec, jeev, working on it | [09:59] | |
jeev | i sort of understand the foreach
but i'm just lost | [09:59] | |
BeBoo_ | lost where? | [09:59] | |
jeev | how do you set the prices of ecah product
then the descriptions and add them together | [09:59] | |
Thorgrimr | Set up an array of hashes and store that info in it
Then you can just reference those values by the boxes the user checked Iterate over their choices picking out the checked products and sum em up | [10:01] | |
jeev | hm
why do i even need an array, the previous way iw as doing it it was just sending which ever name was enabled, the value i mean it was just fine | [10:03] | |
Thorgrimr | You don't | [10:04] | |
jeev | i just needed a way to add up the fields | [10:04] | |
Thorgrimr | But if the number of products increases, your code to process it will have to keep increasing | [10:04] | |
jeev | yea it really wont
it's not a shopping cart for items, just a service with options a couple options | [10:04] | |
Thorgrimr | By iterating over an array, the code never changes regardless of whether you offer 5 or 1000 options | [10:05] | |
BeBoo_ | jeev: then then do $sum = 0; then in the if statements just to $sum .= $price; | [10:05] | |
jeev | i understand | [10:05] | |
BeBoo_ | err not .=
lol | [10:05] | |
Thorgrimr | += | [10:05] | |
BeBoo_ | yeah that
sorry | [10:05] | |
jeev | bah | [10:05] | |
BeBoo_ | i need some tea or coffee or something | [10:06] | |
jeev | i need a miracle
http://www.pastebin.ca/1590821 can i set product_1's product_name to product_name1 and ... for the rest then try to add them up $product_name1 + $product_name2 + .. | [10:06] | |
BeBoo_ | http://www.pastebin.ca/1590873 | [10:07] | |
jeev | oh | [10:08] | |
BeBoo_ | depends on how you want to output it | [10:08] | |
jeev | and the same with text, right | [10:09] | |
BeBoo_ | that code will just add the prices | [10:09] | |
jeev | except, how would i put ,'s
to separate | [10:09] | |
BeBoo_ | $products .= ", ".$product_name
in each if cept the first one drop the comma lol | [10:09] | |
Thorgrimr | But then how does he know which is the first value they actually checked
I would do something like $product_desc[] = 'THe Description'; in each if | [10:10] | |
jeev | nice, it adds it | [10:11] | |
Thorgrimr | And then just do a $prod_descriptions = implode(',', $product_desc); | [10:11] | |
jeev | i wish i could code man | [10:11] | |
BeBoo_ | http://pastebin.ca/1590877
right true scratch taht post thats a good trick, Thorgrimr | [10:11] | |
jeev | rfmfhrmrhrmfm | [10:13] | |
BeBoo_ | i have no motivation to do anything today
=[10:34] <jeev> who does | [10:26] | |
....... (idle for 34mn) | |||
*** | ballen is now known as ballen|away | [11:00] | |
..... (idle for 21mn) | |||
ballen|away is now known as ballen | [11:21] | ||
.... (idle for 16mn) | |||
ballen is now known as ballen|away | [11:37] | ||
................ (idle for 1h19mn) | |||
Element` is now known as Element
Element is now known as teknicaL | [12:56] | ||
....... (idle for 34mn) | |||
ballen|away is now known as ballen | [13:30] | ||
....... (idle for 33mn) | |||
ballen | blah | [14:03] | |
*** | visinin has joined #arpnetworks | [14:05] | |
heavysixer has quit IRC () | [14:12] | ||
BeBoo_ | blahj
-j | [14:15] | |
teknicaL | no | [14:15] | |
...... (idle for 29mn) | |||
*** | bithash has joined #arpnetworks | [14:44] | |
.... (idle for 15mn) | |||
jeev | well
Thorgrimr helped me im almost done, just have to work out some minor things with his code and i'll be done ;) | [14:59] | |
BeBoo_, ther e? | [15:11] | ||
BeBoo_ | yup | [15:11] | |
jeev | Thorgrimr helped me out but he's not here
i have a question $price += $values['price']; that's set up under _POST['all'] i want to reduce it by 10% if all is checked which lets just say is 55 right now how can i subtract it at the end | [15:11] | |
BeBoo_ | $price = ($price * .9); | [15:12] | |
jeev | $price += $values['price'] - 55;
subtracts that 55 from every thing | [15:12] | |
BeBoo_ | need to seperate it out | [15:14] | |
jeev | heh | [15:14] | |
BeBoo_ | you are telling it to add $values['price']-55 to $price
so just $price += $values['price']; $price -= 55; | [15:14] | |
jeev | ahh | [15:14] | |
BeBoo_ | or use the * .9 which will give you 90%
gotta think backwards sometimes it's weird | [15:14] | |
jeev | wait, borked | [15:15] | |
*** | bithash has quit IRC (pratchett.freenode.net irc.freenode.net) | [15:16] | |
jeev | coming up with a weird price | [15:16] | |
*** | bithash has joined #arpnetworks | [15:16] | |
jeev | yea .9 works too
the $price -= 55; doesn't work does 55 from everything $pricetotal += $values['price']; $price = $pricetotal - 55; worked well the thing he did for me was good, i kind of learned from it i just need to now have the output of the page read the code cause it doesn't output the way i need it to if ($count > 0 || $count == 'all') what does that mean / if there is more than 0 selected? | [15:17] | |
BeBoo_ | $count > 0
means more than 0 are selected || mean or soo _if_ there are more than 0 items selected or $count == 'all' | [15:25] | |
jeev | ok
figured he has it printing under that to the screen, what's selected and how much but i need it to go to the bottom part of the page maybe i'll try to figure it out myself | [15:26] | |
BeBoo_ | bottom part?
oh he's probably using var_dump ? theres another one... i can't remember the name | [15:34] | |
jeev | na
yea, got it yay | [15:40] | |
BeBoo_ | nice | [15:44] | |
jeev | HELL YES!
just one problem since there are so many products and descriptions when multiple are selected it changes the format but it's ok i think | [15:48] | |
*** | heavysixer has joined #arpnetworks | [15:57] | |
jeev | problemski
i need to make one option required. | [16:01] | |
echo " <b><p>" . implode(', ', $descriptions) . "</b>n";
if i set $descriptions manually wee, got it | [16:08] | ||
....... (idle for 32mn) | |||
ballen | up_the_irons: in the colo biz, whats more expensive power or rack space. In other words, would a high end power hungry server that takes 1U be better, or 4 1U servers that take hardly any power | [16:42] | |
jeev | power i think
depends where you are you gotta remember, you're probably paying extra for UPS some people want 20 bux an amp but if you get a good deal, you may get the rackspace for like 10 bux per U and 10 bux an AMP | [16:43] | |
ballen | yea
ideally multiple boxes would be better as they're cheaper to buy, cheaper to replace, and offer more redudancy such as one of these bad boys: http://apcmag.com/dell-uses-via-nano-netbook-chip-to-create-modular-mini-servers.htm | [16:44] | |
jeev | damn
how mush | [16:48] | |
ballen | checking...
the power stats on that box are amazing 25watts fully loaded | [16:48] | |
jeev | jeebus | [16:49] | |
ballen | thats 12 units
perfect for scalling horizontally give each node a 32G SSD as much memory as it support and you officially have one hell of a distributed hash db | [16:49] | |
jeev | how mush monies | [16:51] | |
*** | heavysixer has quit IRC () | [16:51] | |
BeBoo_ | not a fan of SSD | [16:51] | |
ballen | still looking
BeBoo_ they're lower power yes? | [16:51] | |
BeBoo_ | of course at the cost of speed
tbh, i'd rather a few 15,000 RPM drives myself | [16:51] | |
ballen | whaaa. they are wicked fast | [16:52] | |
jeev | BeBoo_
can i $products2[] = $items[$key]['name']; | [16:52] | |
BeBoo_ | ballen: might want ot research that a bit | [16:52] | |
jeev | $products[] = $products2[] + fart;
or something ? | [16:52] | |
BeBoo_ | ssd speed is equiv to like a 4200 rpm drive
jeev: what is "fart" ? | [16:52] | |
jeev | a product
since # $items = array( '1' => array( 'price' => 100, 'name' => 'Product 1', 'desc' => 'Product 1'), # '2' => array( 'price' => 0, 'name' => 'Product 2', 'desc' => 'Product 2'), | [16:53] | |
BeBoo_ | period combines if that is what you are looking for
you just want to add to the product array? | [16:53] | |
jeev | says cannot use [] for reading
yea i have a required product | [16:53] | |
BeBoo_ | no you can't | [16:54] | |
jeev | which i want to add
i want it tobe added in everything but ALL which i can do | [16:54] | |
BeBoo_ | jeev: try $products = array_merge($products, $products2); | [16:54] | |
jeev | hm | [16:55] | |
BeBoo_ | is products2 an array? | [16:55] | |
jeev | $products[] = array_merge($productrequired, $products2[]);
can i do that yea | [16:55] | |
BeBoo_ | you can't use [] to read
-_- it knows that $products2 is an array if you are using that dunction function it returns an array | [16:55] | |
jeev | ah
what should i dooo ;/ | [16:56] | |
BeBoo_ | http://www.php.net/array_merge
what i said before... $products = array_merge($productrequired, $products2); ? don't use {} []* it combines | [16:56] | |
jeev | ahh | [16:56] | |
ballen | jeev: that dell server isn't generally available | [16:57] | |
jeev | ah
BeBoo_ what if $productrequired isn't an array $productrequired = fart; $products[] = array_merge($productrequired, $products2); | [16:57] | |
ballen | appears to be only for dell's customers that have some special relation | [16:57] | |
jeev | no error is produced
but it doesn't add the text fart $products2 = an aray $products2[] i have to turn productsrequired into an array i guess | [16:57] | |
BeBoo_ | yes
you can't slap just a string into an array well, you can if you wanted to but it won't match up and will likely break your script | [16:58] | |
ballen | BeBoo_: http://it.anandtech.com/IT/showdoc.aspx?i=3532&p=13
"ntel X25-E is nothing short of amazing: it offers at least 3 to 13 times better OLTP performance at less than a tenth of the power consumption of the classical SAS drives. " | [16:59] | |
BeBoo_ | thats news to be because i just did a bit of research on that about a week ago | [17:00] | |
jeev | damn | [17:00] | |
ballen | SSD drives have always been faster | [17:01] | |
jeev | i got an ssd in my laptop | [17:01] | |
ballen | especially the Intel's
really the ideal setup would be two SSDs and a set of slower SATA drives in ZFS ZFS is smart enough to do writes to the SSDs and move it around later
| [17:01] | |
BeBoo_ | i haven't played with zfs yet | [17:02] | |
ballen | its an amazing piece of software
and if by chance you have an application that does a lot of sequential reads/writes SSD owns all | [17:02] | |
jeev | BeBoo_, no go with arraymerge | [17:06] | |
ballen | also since there is not moving parts, reliability goes up a bit | [17:06] | |
jeev | BeBoo_, the thing im tryign to add is in the array as '1'
its just disabled in the post script cant i just yea man i should be able to emulate it's checked | [17:06] | |
BeBoo_ | ohh
you want to add 1 to which array? | [17:07] | |
jeev | hold up | [17:08] | |
BeBoo_ | i'm still kinda lost on how this script is working
hard to help without seeing it lol | [17:09] | |
jeev | sec, i think i got it
or i got the idea | [17:09] | |
.... (idle for 15mn) | |||
bithash | hello ppl | [17:24] | |
dbgi | hi | [17:27] | |
...... (idle for 26mn) | |||
*** | heavysixer has joined #arpnetworks | [17:53] | |
dbgi | lalala | [18:05] | |
teknicaL | la la | [18:05] | |
dbgi | good tune
it goes well with mine | [18:05] | |
...... (idle for 27mn) | |||
*** | visinin has quit IRC ("what") | [18:32] | |
........ (idle for 37mn) | |||
ballen has quit IRC (Read error: 113 (No route to host)) | [19:09] | ||
........ (idle for 39mn) | |||
heavysixer has quit IRC () | [19:48] | ||
.... (idle for 15mn) | |||
dbgi | hiii
slow here tonight | [20:03] | |
*** | heavysixer has joined #arpnetworks | [20:16] | |
BeBoo_ | hi | [20:16] | |
.... (idle for 16mn) | |||
dbgi | up_the_irons you around | [20:32] | |
*** | heavysixer has quit IRC () | [20:37] | |
.... (idle for 17mn) | |||
bithash has quit IRC (" HydraIRC -> http://www.hydrairc.com <- Now with extra fish!") | [20:54] | ||
timburke has quit IRC (Remote closed the connection)
timburke has joined #arpnetworks | [21:00] | ||
...... (idle for 29mn) | |||
dbgi | lalala | [21:30] | |
......... (idle for 40mn) | |||
*** | virtualroot has joined #arpnetworks | [22:10] | |
virtualroot | Its posible pay a VPS with Paypal? | [22:13] | |
jeev | i dont know about that, do you have a paypal debit card? | [22:21] | |
virtualroot | i dont have a credit card, only paypal account | [22:26] | |
jeev | paypal should give you a debit card, no ? | [22:26] | |
teknicaL | I;m sure you have a credit card or bank account to have a pay pal account. In which cause, if you have a bank account, they give you a debit card. =b | [22:32] | |
*** | virtualroot has quit IRC (Remote closed the connection) | [22:33] | |
...... (idle for 27mn) | |||
up_the_irons | The answer to that, for the record, is I do not accept payments directly from Paypal accounts, it must be a major credit card (Visa/MC/AMEX/Discover) | [23:00] | |
*** | coil has joined #arpnetworks | [23:01] | |
coil | is anyone around | [23:02] | |
sroute | probably
... depending on your definition of "anyone" | [23:03] | |
coil | oh i just checked out the faq | [23:04] | |
up_the_irons | hey coil | [23:04] | |
coil | it pretty much answered my question
it was about rdns | [23:04] | |
up_the_irons | what was the question, i'm interested
ah that's a common one to survive the rest of the night, I must .. cd $starbucks | [23:04] | |
*** | ballen has joined #arpnetworks
ballen_ has joined #arpnetworks ballen has quit IRC (Nick collision from services.) ballen_ is now known as ballen | [23:13] | |
ballen | $git tag rough_draft_v1
fecking thesis | [23:15] | |
dbgi | i have a ? about rdns when your back up_the_irons | [23:16] | |
up_the_irons i was wondering if i could run my own rdns server if that is allowed | [23:21] | ||
jeev | what's some good blogging software
i want to create some sexy political shit so i could light the ass up of the morons in this country | [23:31] | |
ballen | scanty-redis | [23:31] | |
jeev | huh | [23:31] | |
ballen | if you want some seriously lightweight
software | [23:31] | |
jeev | i want to use my domain
ahmadinejad.org | [23:32] | |
ballen | http://github.com/adamwiggins/scanty-redis | [23:32] | |
jeev | as a blog | [23:32] | |
ballen | thats nice | [23:32] | |
jeev | i love that guy
he's funny and a truth speaker in my opinion i will be the left wing poster | [23:32] | |
ballen | theres also a couchdb version | [23:32] | |
jeev | and i'll get a few right wing posters on the site too | [23:32] | |
ballen | that version uses redis
and there is also one that uses ActiveRecord its running: http://sysadminschronicles.com/ but pretty heavily modified | [23:33] | |
jeev | hmm | [23:33] | |
up_the_irons | dbgi: http://support.arpnetworks.com/faqs/main/reverse-dns
dbgi: you can run your own DNS server, sure | [23:34] | |
ballen | up_the_irons, first draft of thesis is done | [23:34] | |
up_the_irons | ballen: :D | [23:35] | |
ballen | v.2 will be done, with new and improved grammar and spelling
by tomorrow | [23:35] | |
up_the_irons | i could read your v1, but i'd make you cry if your spelling and gramar wasn't already fixed | [23:35] | |
ballen | yep | [23:35] | |
up_the_irons | channel poll -- | [23:35] | |
ballen | haven't even read through it
a second time | [23:35] | |
up_the_irons | I was thinking... Look at this: http://support.arpnetworks.com/faqs/main/reverse-dns
then imagine the same question, answer with this layout: http://arpnetworks.com/about (obviously imagine the "about" stuff is gone) what is easier to read / understand? | [23:36] | |
ballen | yep | [23:36] | |
up_the_irons | I kinda feel the KB on the support site has "a lot going on"... | [23:36] | |
ballen | agreed very busy | [23:37] | |
up_the_irons | like it belongs on Sun or Dell's site ;) | [23:37] | |
ballen | re-jigger it
plus it would look like it was yours and not hosted somewhere else | [23:37] | |
up_the_irons | I use that support app b/c it was geared toward support, and has stuff like search, ticketing, etc... all built in. but i'm wondering if I should just make my own, simpler, KB on my own site w/ Sinatra, and just make it searchable | [23:38] | |
dbgi | up_the_irons could u delegate rdns to my ip 206.125.172.78?
if that makes any sence | [23:38] | |
up_the_irons | ballen: yeah i hear ya on that... there's some way to change the CSS on that though | [23:38] | |
dbgi | sense | [23:38] | |
up_the_irons | dbgi: your whole /28 ?
ballen: i you know of any Sinatra plugin that makes pages "searchable" (for lack of a better word) | [23:38] | |
ballen | up_the_irons: maybe try to fix the CSS, is that a hosted solution or a app you're running?
uhh searching... is just a pain in the balls in general | [23:39] | |
dbgi | up_the_irons yea if thats ok | [23:40] | |
up_the_irons | ballen: it's hosted, but there's a way to upload your own CSS, or something
dbgi: sure, what rdns software are you running? ballen: I will make note of it, "pain in the balls" | [23:40] | |
ballen | ballen working on the same problem
with Sinatra | [23:40] | |
dbgi | up_the_irons gonna be bind9 | [23:40] | |
up_the_irons | dbgi: ok, i'll work on it, gimme a few mins | [23:41] | |
ballen | there is Ferret, http://www.davebalmain.com/ | [23:41] | |
dbgi | coool thanks | [23:41] | |
ballen | with is a ruby search index
which* which just halls ass in perf | [23:41] | |
up_the_irons | yeah i've used ferret
i've used sphinx more | [23:42] | |
ballen | which one is better | [23:42] | |
up_the_irons | sphinx
thinking sphinx is quite a nice lib: http://freelancing-god.github.com/ts/en/ but i'm purposely avoiding any ActiveRecord within my site (the Sinatra portion, at least) this is very integrated: http://www.rootbsd.net/faq/ i want my faq to be like that... not a bunch of different "articles" you have to search for or find in a directory | [23:43] | |
ballen | there ya go, one big ass page | [23:45] | |
up_the_irons | plus if i host my own faq, i can see statistics on it, i can even host mini howto's | [23:45] | |
ballen | let the user search
with their browser | [23:45] | |
up_the_irons | up_the_irons sense sarcasm | [23:46] | |
ballen | wicked simple app
nah | [23:46] | |
up_the_irons | *senses | [23:46] | |
ballen | seriously
by far the most simple solution why do anything more difficult | [23:46] | |
up_the_irons | i mean, personally, i hate f*cking click around everywhere to find what i need; i'd rather have it all in one page and hit "/<term>[enter]" (i use vimperator) | [23:47] | |
ballen | wasting time on it when you could be working on something else | [23:47] | |
up_the_irons | ah roger
that is what I'll do then i kinda like how Sinatra documentation is like that | [23:47] | |
ballen | yea | [23:48] | |
up_the_irons | it's like one page of "Getting started", and then "The Manual"
and that's it top to bottom | [23:48] | |
jeev | ballen | [23:48] | |
ballen | yea the people behind Sinatra get this whole perfectly minimalist thing pretty well | [23:48] | |
jeev | that scanty thing looks like a headache | [23:49] | |
ballen | heh
jeev: easy as hell | [23:49] | |
up_the_irons | scanty? | [23:49] | |
jeev | i like the sysadminchronicles | [23:49] | |
ballen | checkout tumblr.com if you want a hosted solution | [23:49] | |
jeev | ballen | [23:49] | |
ballen | can customize it fully | [23:49] | |
jeev | i have a million servers
whywould i want to host it elsewhere? :D | [23:49] | |
ballen | its free
and wicked easy | [23:49] | |
jeev | i'll download it, i duno
which database should i use though | [23:50] | |
ballen | up_the_irons: http://github.com/adamwiggins/scanty-redis
Sinatra app | [23:50] | |
jeev | i've never heard of redis | [23:50] | |
ballen | its a Key/value db
that rawks up_the_irons: its running my blog sysadminschronicles.com not that exact version, but thats what its derived from | [23:50] | |
jeev | hm | [23:52] | |
up_the_irons | ballen: (reading some scrollback) -- about the colo, hard to say; i think a high end 1U would be cheaper than 4 low end 1U's. "hardly any" power for a 1U would be like 0.5A, at the very minimum, which is still something; a high end 1U would be like 2A | [23:54] | |
ballen | even if the low end 1U was running an Atom CPU drawing like 25 watts
max also how about squeezing 2-4 servers into 1U | [23:54] | |
up_the_irons | ballen: the Atom may draw only 25 watts, but the main power supply to the box will be a lot more
here's an interesting stat: | [23:57] | |
ballen | nah the whole box draws 25 watts | [23:58] | |
up_the_irons | my one big VM server was using 2 amps before I put in that second Intel Xeon E5430 2.66 GHz Quad-Core bad boy
guess how much it drew after I added the second CPU? | [23:58] | |
ballen | 3 | [23:58] | |
up_the_irons | nope
2 | [23:58] | |
ballen | 4 | [23:59] | |
up_the_irons | the needle didn't move | [23:59] | |
ballen | hmm
interesting | [23:59] | |
up_the_irons | it means the CPU power was negligable | [23:59] | |
ballen | 60watt CPU? | [23:59] | |
up_the_irons | I have 8 7200 RPM drives in there
a ton of fans 2 redundant power supplies raid controller NICs everything | [23:59] | |
ballen | yea | [23:59] | |
up_the_irons | lot of stuff going on | [23:59] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |