Camen Design Forum

Hi I'm Kroc Camen--Ask Me Anything

append delete Kroc

Now if I could only pull myself away from the onslaught of work I plan to do some community events to get things moving in the forum, but for now this is an "ask me anything" thread, ala Reddit. (No point doing this on Reddit itself because I'm not well known enough there, or anywhere really)

Ask me anything, and I'll try give a reply. If I don't reply to your particular question, it doesn't constitute an answer either way (like questions that break da rules)

Any topic welcome, not just web-dev alone.

Reply RSS

Replies

append delete #26. dcrocks

If I apply the gradient to 'background' instead of 'background-image' the gradient tiles vertically based on the 'height' of the HTML element. This repeats cross browser. This is too weird and I am going to just use an image of a gradient for a background for now.
Still don't know why the html element often has a lower value for 'height' than the body element does. It occurs in more situations than just the jquery one. If a sub-container element of the body has more content than min-height specifies, it is added to the body element 'height' but not the html element 'height'.
I'm just going to push forward from here but still would appreciate any comment.
PS. All this with latest version for firefox and safari.

append delete #27. RAI

I only read some of your windows bashing (I'm a win user myself) and some old topics (including the people who shouldn't do software anymore) and really laughed my ass off with your accurate perspectives on them. Thanks for the laughs. There should be more sincere folks like yourself out there. BTW. Now that I'm here, I have plenty of friends who use Norton Anti Virus and on the other hand, I've encountered many folks like yourself, who believe is not a good software. Could I please have maybe a minute of your time to let me know the specific reasons (insights) why you think it's not a good software (besides what you have already mentioned) so I can forward my Symantec friendly neighbors what they are in for and if there's any risk in using it. If it's not much to ask, of course. (I use Avast in case you're wondering. NP's so far.) Oh, and one last question; do you have a technical website maybe (where you manage you pc repairing business), that maybe I could drop you a line or two regarding a particular issue.

Cheers mate!

RAI

append delete #28. Kroc

@RAI Hello, and welcome here.

Firstly, the reasons you or I won't use Norton are not the same as the reasons a regular computer user would not use it. We are offended by it's code, its bloatedness. For users, they just see something that has a green tick that comforts their fears that Norton is inspiring in the first place.

I fix computers for a living so I’m dealing with this issue often. Let me give you some concrete reasons why a user shouldn't use it.

* It costs a lot of money
* Microsoft security essentials is free

Money is what matters to a regular user. You can tell them about speed, you can tell them about anything else, but they won't feel safe switching until you can reassure them with something that will be better, but also cheaper.

Another thing that I always explain to users is that an anti-virus does not prevent viruses getting on to a computer (it doesn't patch security holes in other people's software, obviously), it's only a clean-up tool. Your web browser is the no.1 piece of security software and using Firefox with AdBlock Plus will do more for the user's safety than any amount of money spent on an anti-virus.

Once I've installed Firefox, AdBlock Plus and MSSE, users find their computer infinitely quicker, nicer to use and they have a whole lot less problems.

So in short, identify what matters to them, not just you.

If you have any questions in private, please just e-mail me. I don't guarantee a quick response as I am busy.

append delete #29. RAI

@ Kroc Howdy, and thanks.

For starters, Please know I very much appreciate your kindness and taking a minute of your time for your reply.
On the Symantec subject I believe I clearly understand what you mean in your writings. (As I understand you speak from your vast experience as a computer technician which very much validates your stand on the matter)

I looked up the MSSE and as I read and understood, it would service the pc as an antivirus would (without categorizing it as one). Hmmmn. All these years and wasn't aware of it. Now, acknowledging it's you who brought this (MSSE) to my attention, I will very likely consider using it once my current antivirus coverage period ends, which is not very far off btw. FF and ABP have always been on my pc's from very long ago, so I guess that's already done. Not 100% sure if the subscription filter I use on ABP is the far best but so far seems to be working well.

Once again, very grateful for your sincere feedback, and I'll return here as I learn plenty from PC gurus like yourself. I like researching topics that concern my equipment, so every time I need to execute any vital exercises on my pc, I like to discuss it first, and I get a pretty knowledgeable vibe from your writings.

regards

RAI

append delete #30. OddFuture

Hey Kroc!

Check this out! A new commodore with the same old design of the 1980s eheh

commentcamarche.net/…

append delete #31. Kroc

@OddFuture:

Firstly, the product doesn't exist, it's just mockups at this moment, and secondly, I know that the guy who runs Commodore USA is untrustworthy. He's attacked OSNews staff and tried to start a smear campaign against our chief editor, as well as (laughably) threatened OSNews with legal action: osnews.com/… He later apologised and withdrew after we showed him up: osnews.com/…

I wouldn't touch anything this guy makes until first someone gets a hands on with a real product and not CGI mockups.

append delete #32. lionize

greetings

stumbled on your site and find it is very impressive, really like the simplicity. we seem to approach design in the same way regarding style.
anyways, im in canada, and about to launch my second website. the first was hosted with the cheapest service i could find (in the u.s., of course).
the first site was an educational exercise - mine. the second will hopefully be more functional and get more use by others. my question is do you think its important to choose a host (w/ servers) from the country you operate, live, work in? This may be a bit too legal in nature for you to answer but i just wonder what your experience and feelings are on this basic decision.

append delete #33. Kroc

@lionlize I don't think it matters too much, what matters is getting good service. If the hosts you use are within your same time-zone, then it does mean that it is easier to get support. This is an issue here in the UK, since the US is so far away. The hosts I use thehostingfolks.com are located in the UK (AFAIK) and are small enough that I can get good support direct from the technicians. This factor I think is important in your choice. Either pay big bucks for dedicated support, or find a smaller company that won't have six layers of technical support to get through before you get to a human with an ounce of knowledge on computers.

append delete #34. lionize

thanks for the help kroc, i guess im excessively cautious.

i would also like to ask about learning to create dynamic web pages. i am self taught in xhtml and css. i would like to learn a programing language next so i can create more interactive websites, so i thought about starting with javascript. i understand that it has limited capabilities but figured it would be a good place for a beginner to start. could you tell me what programing language is most useful for web designers and if there any websites or books you recommend for learning it? i have found that w3schools.com is not nearly in depth enough for learning javascript, so any help pointing me in the right direction would be greatly appreciated.
i was also wondering how you learned to design websites so well and what programing languages you are familiar with and use?

append delete #35. Kroc

JavaScript is a good language to learn; the inescapable force of the web is going to be a big driving factor long beyond the plethora of app stores. The web is the only unifying force in all of these closed systems.

Learning JavaScript will teach you the fundamentals of many other programming languages, particularly C-style ones, like PHP, Ruby and Java.

My only warning is that it will take a self-motivating force to learn how to code JavaScript _properly_. It is a language that is easy to shoot yourself in the foot with, and especially easy to shoot the users in the feet with. Too many website depend on JavaScript when they shouldn't, and too often use JavaScript as a work around for their lack of knowledge of HTML. My advice is that if you are going to learn JavaScript, also make sure you learn HTML, properly. camendesign.com/… Try not fall into the trap of JavaScript programmers who have to write a million lines of unmaintainable JavaScript just to solve every little problem.

Learning to make websites and learning how to design them well are two different things. When I started out playing with the web in 1996, my early attempts were just produced in Microsoft Publisher, and then Frontpage. You can see one of my very early sites here: commodoreweb.camendesign.com (800x600 please!)

The key to learning is having a reason already apparent to learn. I find learning for the sake of learning very difficult. When I started learning how to write HTML by hand I wanted to do so to write a website to hold my Visual Basic code (named Vacant Brains), a screenshot of which is here: camendesign.com/…

Now, my first foray into JavaScript was to create the "Office Assistant" like animated character in the corner of the site (different selectable characters!). Bad idea, yes I know, but then that's why I say programming and design are not learnt at the same time. I was at college at the time, so I had the benefit of someone explaining to me the very basics of JavaScript for an hour. I then went off and spent the next 31 hours straight coding. To me, JavaScript opened up the possibilities that I had imagined, but could not piece together out of HTML alone. So, the realisation of what you can achieve _because of_ a technology being present is what matters. It is a tool in which enables the implementation of a greater idea; that is, not coding just for coding's sake.

First of all, you must imagine what it is you want to create with the web. What itch needs scratching, what problem needs solving, &c. Something that personally motivates you and drives you. Even if you're not sure how you would even make such a thing, do not restrict your thoughts because of that.

Once you have something that begs to be built, then you will have the necessary driving factor to learn many aspects of web development, including JavaScript.

I used w3schools as well as Microsoft's JScript reference to learn JavaScript, but this was back when JavaScript was a simpler language and there was only one browser to write for: IE.

Now, I would recommend that you use DevMo developer.mozilla.org and Google. Sometimes you can only find the answer by asking a question, rather than browsing references.

As expected, I write in HTML, CSS, JavaScript and PHP. I also know a good deal of Visual Basic 6, and it's siblings VBA, VBScript and ASP.

I could learn more languages, but I have no driving reason to do so :P The web solves my programming needs at the moment, and it's only getting more and more capable.

The issue of learning design is a matter of awareness of the issue, personal strength and motivation to want to improve in this area, and confidence. Lots and lots of confidence. This is all that separates me and you. I am confident to say what I feel is right or wrong when it comes to design and I forge my own designs based on that confidence and not on copying other people's trends.

The difference between a designer and a mere photoshop user is that confidence and the ability to say no. A photoshop user adds, a designer takes away.

append delete #36. bradsingleton

Is there a good way to do fallback for "simulated live streaming" (streaming a previously recorded event as if it was happening live)?

append delete #37. Kroc

"as if it was happening live"? I can’t understand this. Video is just video. What makes it visually different if it’s live or not?

append delete #38. bradsingleton

Its to simulate a live event (like livestream) using an event that was prerecorded. for instance an event that happened on the east coast at 6pm eastern time then replayed at 6pm pacific time for west coast viewers to experience together.

append delete #39. Kroc

Yes, but this still isn’t a question I understand u_u? What is this is in terms of HTML and JavaScript and so forth. What do you mean by "fallback", and therefore, what is the not-fallback?

append delete #40. theraje

I think the question is basically, "how can I play a video at the same clock time, but in different time zones?"

One way to do it would be to use JavaScript's Date() object, and use that to determine whether the video should be started, where to start, etc. It should be pretty straightforward that way.

append delete #41. james

Can you modify that code in a simple way to make html the fallback and flash the default? If so, could you post it. Thanks

append delete #42. Martijn

@james:

~~~ HTML ~~~>
<object width="640" height="360" type="application/x-shockwave-flash" data="__FLASH__.SWF">

<param name="movie" value="__FLASH__.SWF" />

<param name="flashvars" value="controlbar=over&amp;image=__POSTER__.JPG&amp;file=__VIDEO__.MP4" />

<video width="640" height="360" controls>

<source src="__VIDEO__.MP4" type="video/mp4" />

<source src="__VIDEO__.OGV" type="video/ogg" />

<img src="__VIDEO__.JPG" width="640" height="360" alt="__TITLE__"

title="No video playback capabilities, please download the video below" />

</video>
</object>
<p> <strong>Download Video:</strong>

Closed Format: <a href="__VIDEO__.MP4">"MP4"</a>

Open Format: <a href="__VIDEO__.OGV">"Ogg"</a>
</p>
<~~~

I’ve simply taken the code as Kroc wrote it (camendesign.com/…) and have moved the VIDEO element to where the fallback image was, inside the Flash OBJECT. I then moved the IMG to inside the VIDEO element.

It’s untested but this should make for a OBJECT->VIDEO->IMG fallback chain.

append delete #43. Martijn

Note: apparently the forum no longer allows single line-breaks. Makes the code look a little weird. But you should be able to get the picture.

append delete #44. Kroc

Ah, I know what that is.
The forum is stripping the trailing / leading whitespace, but adding unnecessary extra line breaks. Should be simple to fix.

append delete #45. james

@Martijn

Thanks dude! Works like a charm.

append delete #46. David Angel

This is pretty dern cool.

append delete #47. c

Thank you for this, it could b a lifesaver, I'll test it up shortly - and maybe I'll end up learnign some PHP as a bonus :).

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn