Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

03-19-2012 , 03:30 PM
Not sure this is threadworthy, so I'll ask here. The task is making a spreadsheet like html table with the capability to select rows and columns. Selecting columns is easy - there's events on the <th> elements to toggle a css highlight class. Selecting rows = ?? I can't think of a good solution. In Excel, you have an extra column of rows to the left that you can click on to select the whole row. To do this in html, I have to either 1) add <td> elements to the start of each row in my data table (yuck, mixing data and ui) or 2) make a separate table that has a column of row numbers that aligns with the data table (yuck, worrying about two tables lining up). Any suggestions?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-19-2012 , 03:38 PM
Quote:
Originally Posted by greg nice
similarly, anyone use bluehost.com?

shared hosting for $4/month, unlimited everything, ssh access
I've been using them for general purpose hosting. Made about 5-6 accounts over the years for various clients.

They seem ok for the price. I've encountered slow down issues with them but it usually happens for a few minutes and clears up, doesn't happen too often.

Their tech support is reasonable. I wanted to setup django with them once like 2 years ago maybe, it took about 5-6 back and forth e-mails to get things setup and the tech dude went out of his way to help me so I'll give them that.

Also experienced a strange edge case with their cron service and it was resolved in less than an hour over the phone.

Keep in mind if you want ssh access you do need to fax (or maybe e-mail) them a picture of your driver's license.

Would I highly recommend them? Probably not.
Do I think they are worth using given the price/features? Heck yeah.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-19-2012 , 05:04 PM
Germany is on 24h by default and we say something similar to 20 o'clock ("20 clock" basically :P)

Thing I hate most about non 24h is that I always get confused by 12am vs 12pm
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-19-2012 , 05:42 PM
Sweden is also on a 24h clock. All meetings and things. All times in news papers and letters and so on are the form 16.30 or 20.15 and so on. In every day speech though its rare to say something like 20 o'clock, it's always 8 o'clock and if its necessary to make it clear, something like 8 o'clock at night is used
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-19-2012 , 08:02 PM
Quote:
Originally Posted by Zurvan
If I could change anything in the entire world, normalizing everyone on a single timezone would certainly be in my top 5. As would giving them all a single character set.
Monkey's Paw.

You forgot to ask for a single encoding, too.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-19-2012 , 09:12 PM
Quote:
Originally Posted by myNameIsInga
Sweden is also on a 24h clock. All meetings and things. All times in news papers and letters and so on are the form 16.30 or 20.15 and so on. In every day speech though its rare to say something like 20 o'clock, it's always 8 o'clock and if its necessary to make it clear, something like 8 o'clock at night is used
Actually the more I think about it the more it depends. In some areas the 24h talk is more common but in everyday speak 8h instead of 20h may be more common. Typical example of 24h system being used is TV times "this show will be airing at 20:15"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 12:06 AM
Quote:
Originally Posted by EvilSteve
I'm new to the 24 hour clock, and so far I only use it in the sense that my electronic devices are set that way (where possible). I've never used it in conversation. You actually say "20 o'clock" or would it be the military style "20 hundred hours"? Which is completely illogical, 2000 hours wtf, hopefully the former then.
heh, you caught me! in speech i tend to fall back to "let's meet at eight", both because it's shorter/more comfortable and because there is usually context such that you won't wonder whether i mean 8am or 8pm.

i do tend to think "twenty hundred hours" though i agree this is silly. "two thousand hours" sounds weird too though (as does "one thousand" vs "ten hundred"). i dunno. like i said, you caught me!

Quote:
Originally Posted by clowntable
Actually the more I think about it the more it depends. In some areas the 24h talk is more common but in everyday speak 8h instead of 20h may be more common. Typical example of 24h system being used is TV times "this show will be airing at 20:15"
american and canadian tv would say something like "seven central, eight pacific" and then write something like "8p/7p". our tv also ~never starts at any time other than on the hour or half hour.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 12:09 AM
Quote:
Originally Posted by smrk
Not sure this is threadworthy, so I'll ask here. The task is making a spreadsheet like html table with the capability to select rows and columns. Selecting columns is easy - there's events on the <th> elements to toggle a css highlight class. Selecting rows = ?? I can't think of a good solution. In Excel, you have an extra column of rows to the left that you can click on to select the whole row. To do this in html, I have to either 1) add <td> elements to the start of each row in my data table (yuck, mixing data and ui) or 2) make a separate table that has a column of row numbers that aligns with the data table (yuck, worrying about two tables lining up). Any suggestions?
can you write a css event for <tr>?

a dedicated column of checkboxes for selecting rows is a very common idiom (see e.g. gmail). you won't really be mixing data and ui because the backend code will keep ui and data separate. it's no worse than having 'hardcoded' column headers 'mixed' with data, right?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 09:16 AM
Quote:
Originally Posted by myNameIsInga
Sweden is also on a 24h clock. All meetings and things. All times in news papers and letters and so on are the form 16.30 or 20.15 and so on. In every day speech though its rare to say something like 20 o'clock, it's always 8 o'clock and if its necessary to make it clear, something like 8 o'clock at night is used
long time pet peeve of mine is "8 a.m. in the morning" or similar
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 01:37 PM
Quote:
Originally Posted by tyler_cracker
heh, you caught me! in speech i tend to fall back to "let's meet at eight", both because it's shorter/more comfortable and because there is usually context such that you won't wonder whether i mean 8am or 8pm.

i do tend to think "twenty hundred hours" though i agree this is silly. "two thousand hours" sounds weird too though (as does "one thousand" vs "ten hundred"). i dunno. like i said, you caught me!



american and canadian tv would say something like "seven central, eight pacific" and then write something like "8p/7p". our tv also ~never starts at any time other than on the hour or half hour.
Yeah for some odd reason 20:15 has established itself as primetime here. I think it's because the full hour is usually for news (on other channels) so you'll have news at 20h then movie or whatever starts at 20:15.

Another interesting difference compared to US TV...for the most part we don't have the concept of regional TV. So it'll be the same news with the same anchors for everyone. Probably due to size (+timezones) as well.
There's a slight reginal thingy on the 3rd programs but for the most part they are fairly similar as well.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 03:45 PM
Quote:
Originally Posted by smrk
Not sure this is threadworthy, so I'll ask here. The task is making a spreadsheet like html table with the capability to select rows and columns. Selecting columns is easy - there's events on the <th> elements to toggle a css highlight class. Selecting rows = ?? I can't think of a good solution. In Excel, you have an extra column of rows to the left that you can click on to select the whole row. To do this in html, I have to either 1) add <td> elements to the start of each row in my data table (yuck, mixing data and ui) or 2) make a separate table that has a column of row numbers that aligns with the data table (yuck, worrying about two tables lining up). Any suggestions?
You can use <th> elements within rows too iirc...they have a scope attribute that you can set to "row".
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 03:58 PM
Quote:
Originally Posted by tyler_cracker
can you write a css event for <tr>?

a dedicated column of checkboxes for selecting rows is a very common idiom (see e.g. gmail). you won't really be mixing data and ui because the backend code will keep ui and data separate. it's no worse than having 'hardcoded' column headers 'mixed' with data, right?
Quote:
Originally Posted by Neko
You can use <th> elements within rows too iirc...they have a scope attribute that you can set to "row".
ty, that works out nicely
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 07:02 PM
Quote:
Originally Posted by Neil S
You forgot to ask for a single encoding, too.
It was implied
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 07:49 PM
Quote:
Originally Posted by Zurvan
It was implied
THE MONKEY'S PAW KNOWS NOT 'IMPLIED'

Last edited by tyler_cracker; 03-20-2012 at 07:49 PM. Reason: but it does come with a free frogurt...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 09:02 PM
And the frogurt's docs are encoded in UCS4-BE.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-20-2012 , 09:17 PM
...

that's bad.

Last edited by tyler_cracker; 03-20-2012 at 09:18 PM. Reason: can i go now?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 03:26 AM
-bad code
-explanation of why code is bad
-good code

if any of ever plan on writing a programming book, please don't follow this format to introduce concepts. it makes me want to break things.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 10:46 AM
Quote:
Originally Posted by e i pi
-bad code
-explanation of why code is bad
-good code

if any of ever plan on writing a programming book, please don't follow this format to introduce concepts. it makes me want to break things.
what book are you reading? i've found this format too be very helpful in some books, especially those teaching patterns.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 11:44 AM
http://www.amazon.com/Python-3-Objec...2430505&sr=1-1

It just tilts me to sift through a code example, get confused, think I misunderstood a concept so go back, reread the example again, then reinterpret what I thought the author meant earlier to make sense of it... then continue reading and see the example is faulty in some way. Maybe it's just me :P
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 02:46 PM
sounds like the problem is that the author is not being clear enough about his method of presentation. if he is presenting problematic code, he should make that clear beforehand.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 04:56 PM
Quote:
Originally Posted by gaming_mouse
what book are you reading? i've found this format too be very helpful in some books, especially those teaching patterns.
I agree with this, but as you state below, the author needs to be very clear about what he is doing
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 08:14 PM
Heh the folks at piratebay are pretty cool. They want to have rasperry pi based servers floating in orbit which would mean taking them down via planes could be concidered an act of war depending on where they float etc...innovative thinking rofl
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 08:17 PM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-22-2012 , 09:01 PM
I read that article but assumrd it was a joke...no way is that actually practical.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-23-2012 , 02:56 AM
I think they should just invent a time machine and host the servers before there were any copyright laws.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m