#arpnetworks 2009-10-03,Sat

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***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_ironsballen|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)
teknicaLwhat screen shots? [02:27]
...... (idle for 26mn)
up_the_ironsteknicaL: http://www.beboobailey.info/getegg.png [02:53]
teknicaLoh
guess I'll be needed an upgrade soon. haha
Would help if I can type. Should get some sleep
[02:55]
up_the_ironshehe [02:58]
teknicaL6am 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)
obsidiethheh, 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)
mhoranjeev, 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)
baklavaI'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]
baklavanot 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]
baklavahehe [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]
jeevanyone php it up here? [09:33]
baklavayea [09:33]
jeevmind helping my sexy ass [09:33]
baklavawhat's up? [09:33]
jeevim 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]
baklavasomewhat, can I see it? [09:35]
BeBoo_array, jeev ?
you can serialize an array and send it to the second php script
[09:35]
jeevhttp://www.pastebin.ca/1590821 [09:36]
BeBoo_so the second script just decrypts the array [09:36]
jeevi 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]
jeevadd the total + name and description [09:37]
baklavathis looks like a job for OOPHP [09:37]
BeBoo_i would do a multi-dem array
using []
[09:37]
jeevyea tried that last night [09:37]
baklavayou should have an array of check
s
check objects
[09:38]
BeBoo_$products['name'][]
$products['desc'][]
$products['price'][]
something like that
[09:38]
baklavathat have all this stuff, so you don't have to fool around with it [09:38]
jeevthe name and description are actually set inside the php that's posted TO [09:38]
BeBoo_ah ok [09:38]
jeevthe set up is if $1 is enabled, set this..
http://www.pastebin.ca/1590821
[09:38]
BeBoo_would still be the same [09:39]
jeevim 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]
jeevok
do you want me to set up the array again
[09:40]
BeBoo_did $dns['A'][]
etc
[09:40]
jeevok, 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]
jeevhow 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]
jeevthis 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]
jeevwell give me a second first
let me explain this
[09:42]
BeBoo_k [09:42]
jeevright 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]
jeevArray ( [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]
jeevwhat do i now? how can i accept this
$_POST['option'][]
?
[09:44]
BeBoo_is that the array? [09:45]
jeevyes [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]
jeevthat's what im telling you, is i was stuck here [09:45]
BeBoo_$_POST['option[]'][0]
oops.. replace the } with ]
[09:45]
jeevoh, why then is the [] necessary [09:46]
BeBoo_it isn't
-_-
thats why i said the name is wrong
[09:46]
jeevi 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]
jeevso the []'s are useless? [09:46]
BeBoo_yes [09:46]
jeevsec [09:46]
BeBoo_in those <input> tags [09:46]
jeevso just name
option.
that's it ?
[09:46]
BeBoo_yes [09:46]
jeevand a value
done
[09:46]
BeBoo_then, in the resulting script, use $_POST['option'][0]
or
$_POST['option'][1]
[09:47]
jeevok [09:47]
BeBoo_might need to put those in single quotes tho
$_POST['option']['1]
gah
[09:47]
jeevbut where should i put it [09:47]
BeBoo_i am still waking up, sorry [09:47]
jeevwhat 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]
jeevok [09:48]
BeBoo_$product_1 = $_POST['option']['1']
oooo wait a sec
[09:49]
ThorgrimrYou just trying to allow them to submit one from a list? [09:49]
jeevyea [09:49]
BeBoo_i am totally confused [09:49]
jeev:< [09:49]
ThorgrimrIf 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]
jeevno
not submit one from a list
[09:49]
BeBoo_and you would do a case statement on $_POST['option'] [09:50]
jeevsorry 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]
jeevit's a service with options. [09:50]
BeBoo_forget what i said earlier. -_- those checkboxes need different names
like prod1, prod2, prod3
[09:50]
jeevsono array ? [09:51]
ThorgrimrThen use your <input type="checkbox" name="product[]" value="1" /> etc [09:51]
BeBoo_eh [09:51]
jeevhmm
that's what i read last night
[09:51]
ThorgrimrTHen you have an array named product, that you can iterate over [09:52]
jeevyea [09:52]
BeBoo_but it would be within $_POST[] [09:52]
jeevi get that it sends over the array
yea BeBoo_
[09:52]
ThorgrimrYes [09:52]
jeevbut i dont know what to do after that
i mean i can get it with _POST
[09:52]
Thorgrimrif ($_POST['product'][1]) { box 1 was checked) etc [09:52]
jeevbut 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]
ThorgrimrJust run it through a while or foreach loop [09:54]
jeevhmm [09:55]
Thorgrimrforeach ($_POST['product'] as $index) { $price = $items[$index]['price'] } or some such [09:56]
jeevjeev is lost [09:57]
BeBoo_lol [09:57]
ThorgrimrSorry ;) [09:58]
BeBoo_sec, jeev, working on it [09:59]
jeevi sort of understand the foreach
but i'm just lost
[09:59]
BeBoo_lost where? [09:59]
jeevhow do you set the prices of ecah product
then the descriptions and add them together
[09:59]
ThorgrimrSet 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]
jeevhm
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]
ThorgrimrYou don't [10:04]
jeevi just needed a way to add up the fields [10:04]
ThorgrimrBut if the number of products increases, your code to process it will have to keep increasing [10:04]
jeevyea it really wont
it's not a shopping cart for items, just a service with options
a couple options
[10:04]
ThorgrimrBy 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]
jeevi understand [10:05]
BeBoo_err not .=
lol
[10:05]
Thorgrimr+= [10:05]
BeBoo_yeah that
sorry
[10:05]
jeevbah [10:05]
BeBoo_i need some tea or coffee or something [10:06]
jeevi 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]
jeevoh [10:08]
BeBoo_depends on how you want to output it [10:08]
jeevand the same with text, right [10:09]
BeBoo_that code will just add the prices [10:09]
jeevexcept, 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]
ThorgrimrBut 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]
jeevnice, it adds it [10:11]
ThorgrimrAnd then just do a $prod_descriptions = implode(',', $product_desc); [10:11]
jeevi wish i could code man [10:11]
BeBoo_http://pastebin.ca/1590877
right
true
scratch taht post
thats a good trick, Thorgrimr
[10:11]
jeevrfmfhrmrhrmfm [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)
ballenblah [14:03]
***visinin has joined #arpnetworks [14:05]
heavysixer has quit IRC () [14:12]
BeBoo_blahj
-j
[14:15]
teknicaLno [14:15]
...... (idle for 29mn)
***bithash has joined #arpnetworks [14:44]
.... (idle for 15mn)
jeevwell
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]
jeevThorgrimr 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]
jeevheh [15:14]
BeBoo_you are telling it to add $values['price']-55 to $price
so just $price += $values['price']; $price -= 55;
[15:14]
jeevahh [15:14]
BeBoo_or use the * .9 which will give you 90%
gotta think backwards sometimes
it's weird
[15:14]
jeevwait, borked [15:15]
***bithash has quit IRC (pratchett.freenode.net irc.freenode.net) [15:16]
jeevcoming up with a weird price [15:16]
***bithash has joined #arpnetworks [15:16]
jeevyea .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]
jeevok
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]
jeevna
yea, got it
yay
[15:40]
BeBoo_nice [15:44]
jeevHELL 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]
jeevproblemski
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)
ballenup_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]
jeevpower 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]
ballenyea
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]
jeevdamn
how mush
[16:48]
ballenchecking...
the power stats on that box are amazing
25watts fully loaded
[16:48]
jeevjeebus [16:49]
ballenthats 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]
jeevhow mush monies [16:51]
***heavysixer has quit IRC () [16:51]
BeBoo_not a fan of SSD [16:51]
ballenstill 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]
ballenwhaaa. they are wicked fast [16:52]
jeevBeBoo_
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]
jeeva 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]
jeevsays cannot use [] for reading
yea
i have a required product
[16:53]
BeBoo_no you can't [16:54]
jeevwhich 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]
jeevhm [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]
jeevah
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]
jeevahh [16:56]
ballenjeev: that dell server isn't generally available [16:57]
jeevah
BeBoo_
what if $productrequired isn't an array
$productrequired = fart;
$products[] = array_merge($productrequired, $products2);
[16:57]
ballenappears to be only for dell's customers that have some special relation [16:57]
jeevno 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]
ballenBeBoo_: 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]
jeevdamn [17:00]
ballenSSD drives have always been faster [17:01]
jeevi got an ssd in my laptop [17:01]
ballenespecially 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
basically big cache drives
[17:01]
BeBoo_i haven't played with zfs yet [17:02]
ballenits 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]
jeevBeBoo_, no go with arraymerge [17:06]
ballenalso since there is not moving parts, reliability goes up a bit [17:06]
jeevBeBoo_, 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]
jeevhold up [17:08]
BeBoo_i'm still kinda lost on how this script is working
hard to help without seeing it
lol
[17:09]
jeevsec, i think i got it
or i got the idea
[17:09]
.... (idle for 15mn)
bithashhello ppl [17:24]
dbgihi [17:27]
...... (idle for 26mn)
***heavysixer has joined #arpnetworks [17:53]
dbgilalala [18:05]
teknicaLla la [18:05]
dbgigood 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)
dbgihiii
slow here tonight
[20:03]
***heavysixer has joined #arpnetworks [20:16]
BeBoo_hi [20:16]
.... (idle for 16mn)
dbgiup_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)
dbgilalala [21:30]
......... (idle for 40mn)
***virtualroot has joined #arpnetworks [22:10]
virtualrootIts posible pay a VPS with Paypal? [22:13]
jeevi dont know about that, do you have a paypal debit card? [22:21]
virtualrooti dont have a credit card, only paypal account [22:26]
jeevpaypal should give you a debit card, no ? [22:26]
teknicaLI;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_ironsThe 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]
coilis anyone around [23:02]
srouteprobably
... depending on your definition of "anyone"
[23:03]
coiloh i just checked out the faq [23:04]
up_the_ironshey coil [23:04]
coilit pretty much answered my question
it was about rdns
[23:04]
up_the_ironswhat 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]
dbgii 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]
jeevwhat'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]
ballenscanty-redis [23:31]
jeevhuh [23:31]
ballenif you want some seriously lightweight
software
[23:31]
jeevi want to use my domain
ahmadinejad.org
[23:32]
ballenhttp://github.com/adamwiggins/scanty-redis [23:32]
jeevas a blog [23:32]
ballenthats nice [23:32]
jeevi love that guy
he's funny and a truth speaker in my opinion
i will be the left wing poster
[23:32]
ballentheres also a couchdb version [23:32]
jeevand i'll get a few right wing posters on the site too [23:32]
ballenthat version uses redis
and there is also one that uses ActiveRecord
its running: http://sysadminschronicles.com/
but pretty heavily modified
[23:33]
jeevhmm [23:33]
up_the_ironsdbgi: http://support.arpnetworks.com/faqs/main/reverse-dns
dbgi: you can run your own DNS server, sure
[23:34]
ballenup_the_irons, first draft of thesis is done [23:34]
up_the_ironsballen: :D [23:35]
ballenv.2 will be done, with new and improved grammar and spelling
by tomorrow
[23:35]
up_the_ironsi could read your v1, but i'd make you cry if your spelling and gramar wasn't already fixed [23:35]
ballenyep [23:35]
up_the_ironschannel poll -- [23:35]
ballenhaven't even read through it
a second time
[23:35]
up_the_ironsI 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]
ballenyep [23:36]
up_the_ironsI kinda feel the KB on the support site has "a lot going on"... [23:36]
ballenagreed very busy [23:37]
up_the_ironslike it belongs on Sun or Dell's site ;) [23:37]
ballenre-jigger it
plus it would look like it was yours and not hosted somewhere else
[23:37]
up_the_ironsI 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]
dbgiup_the_irons could u delegate rdns to my ip 206.125.172.78?
if that makes any sence
[23:38]
up_the_ironsballen: yeah i hear ya on that... there's some way to change the CSS on that though [23:38]
dbgisense [23:38]
up_the_ironsdbgi: your whole /28 ?
ballen: i you know of any Sinatra plugin that makes pages "searchable" (for lack of a better word)
[23:38]
ballenup_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]
dbgiup_the_irons yea if thats ok [23:40]
up_the_ironsballen: 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]
ballenballen working on the same problem
with Sinatra
[23:40]
dbgiup_the_irons gonna be bind9 [23:40]
up_the_ironsdbgi: ok, i'll work on it, gimme a few mins [23:41]
ballenthere is Ferret, http://www.davebalmain.com/ [23:41]
dbgicoool thanks [23:41]
ballenwith is a ruby search index
which*
which just halls ass in perf
[23:41]
up_the_ironsyeah i've used ferret
i've used sphinx more
[23:42]
ballenwhich one is better [23:42]
up_the_ironssphinx
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]
ballenthere ya go, one big ass page [23:45]
up_the_ironsplus if i host my own faq, i can see statistics on it, i can even host mini howto's [23:45]
ballenlet the user search
with their browser
[23:45]
up_the_ironsup_the_irons sense sarcasm [23:46]
ballenwicked simple app
nah
[23:46]
up_the_irons*senses [23:46]
ballenseriously
by far the most simple solution
why do anything more difficult
[23:46]
up_the_ironsi 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]
ballenwasting time on it when you could be working on something else [23:47]
up_the_ironsah roger
that is what I'll do then
i kinda like how Sinatra documentation is like that
[23:47]
ballenyea [23:48]
up_the_ironsit's like one page of "Getting started", and then "The Manual"
and that's it
top to bottom
[23:48]
jeevballen [23:48]
ballenyea the people behind Sinatra get this whole perfectly minimalist thing pretty well [23:48]
jeevthat scanty thing looks like a headache [23:49]
ballenheh
jeev: easy as hell
[23:49]
up_the_ironsscanty? [23:49]
jeevi like the sysadminchronicles [23:49]
ballencheckout tumblr.com if you want a hosted solution [23:49]
jeevballen [23:49]
ballencan customize it fully [23:49]
jeevi have a million servers
whywould i want to host it elsewhere? :D
[23:49]
ballenits free
and wicked easy
[23:49]
jeevi'll download it, i duno
which database should i use though
[23:50]
ballenup_the_irons: http://github.com/adamwiggins/scanty-redis
Sinatra app
[23:50]
jeevi've never heard of redis [23:50]
ballenits 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]
jeevhm [23:52]
up_the_ironsballen: (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]
balleneven 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_ironsballen: 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]
ballennah the whole box draws 25 watts [23:58]
up_the_ironsmy 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]
ballen3 [23:58]
up_the_ironsnope
2
[23:58]
ballen4 [23:59]
up_the_ironsthe needle didn't move [23:59]
ballenhmm
interesting
[23:59]
up_the_ironsit means the CPU power was negligable [23:59]
ballen60watt CPU? [23:59]
up_the_ironsI have 8 7200 RPM drives in there
a ton of fans
2 redundant power supplies
raid controller
NICs
everything
[23:59]
ballenyea [23:59]
up_the_ironslot 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)