r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

onetom
1-May-2011
[1859]
angular is a js library which interprets special tags, attributes 
and element values in the dom and sets up an event handler system 
behind the scenes which keeps model objects in sync w the dom content 
(back and forth)
Maxim
13-May-2011
[1860x2]
wow, the new FF really is annoying  :-)


what is it with browser makers... they just keep making their stuff 
more and more aggravating to use.
ah, I just put back some toolbars which are off by default... making 
a bit more sense.
onetom
13-May-2011
[1862x2]
u seem to be a prisoner of your habits. toolbars? in a browser? what 
is the good for? :)
finally i dont have to start with turning off the bookmarks bar on 
a fresh install. most ppl dont use it anyway... and probably FF maker 
have *measuered* this. and giving more space for the content worth 
more than bookmarking
Maxim
14-May-2011
[1864]
don't get me wrong, I like that FF is conscious about screen real 
estate.... its just that opening a window with no buttons, is a bit 
drastic.  I hate pulldown menus because they are extremely slow.
AdrianS
16-May-2011
[1865]
so why not use keyboard shortcuts?
Maxim
18-May-2011
[1866]
bah, I've learnt so many keyboard shortcuts in my life (with a past 
in vfx and innumerable 3d & fx softwares ;-) that my memory for such 
things is pretty full.
AdrianS
21-May-2011
[1867]
yeah, I know what you mean, but a browser is such a constantly used 
tool that a few shortcuts are worth memorizing, IMO
onetom
25-May-2011
[1868]
http://code.google.com/p/js-test-driver/
this seems to be some serious shit...

the guy who is writing the angular.js framework can run 300 unit 
tests in 400ms on the 10K lines code base.
Robert
2-Jun-2011
[1869]
I have a question regarding fonts on web-sites: Take a look at this 
one here: http://www.binaryage.com/


It uses a font called PLAY which I like a lot. This font wasn't installed 
on my system, but the web-site displayed it. It's even not one of 
the standard web fonts I know. Why does this work?
Cyphre
2-Jun-2011
[1870]
I did just quick look at the site and it seems it uses this service 
http://fontdeck.com
Robert
2-Jun-2011
[1871]
Seems to work via Google as well: http://www.google.com/webfonts/family?family=Play&subset=latin#code
Cyphre
2-Jun-2011
[1872x2]
yes, the google api is probably using the fontdeck site internaly.
Also such fonts will work properly only in newer browsers..the binariage 
site looks terribly in IE8 for example.
Robert
2-Jun-2011
[1874]
IE9 looks the same as Safari, no problems.
Cyphre
2-Jun-2011
[1875]
I just noted that so you know. It depends how much you care about 
the backward compatibility etc.
Robert
2-Jun-2011
[1876]
Yep... thx. It should work for most people of course.
Kaj
2-Jun-2011
[1877]
The Googel Webfonts home page drives my Firefox 3.5 into a crash 
loop
onetom
3-Jun-2011
[1878x4]
im wondering what is the best way of providing permalinks for mechanical 
parts, like pipe fittings.
i'd like to provide a catalog of them for a couple of companies.

each company has their own part number system which unambigously 
identifies a product. i would expose a description page about these 
as:
/company/part-number
it would however look cryptic and wouldn't empasize what is that 
page about, so we were thinking about attaching a slug to it, to 
help human usage and search engines too.
Q1: im not very sure about how much more effective from a SEO point 
of view to have a slug in the URL as opposed to keywords in meta 
tags and the same description as in the title of the page for example.
Q2: would it be okay to add the slug as an extra  path level, like 
stackoverflow.com does?
Kaj
3-Jun-2011
[1882]
Search engines don't use meta keywords anymore
onetom
3-Jun-2011
[1883]
Q3: do u know any article describing best practices regarding permalinks/slugs?
Kaj
3-Jun-2011
[1884x2]
A structured description in a title tag would be OK, but it seems 
that URLs help extra
I use a unique identifier such as a date, followed by a textual description 
in the rest of the URL
onetom
3-Jun-2011
[1886]
it's not a news site, so there might be issues with the unqueness 
of the slug and other things like, i might need to display the nominal 
size of the part which is a fraction in many cases, lile 1-1/4" which 
wouldnt read nice at all if i have to replace the slash. the dbl 
quote might be okay to omit though
Kaj
3-Jun-2011
[1887x2]
Yes, readability is a problem, so URLs are often more optimised for 
search engines than for human readers
1/4" would be 0.25-inch
PeterWood
3-Jun-2011
[1889]
No, it;s two hoon in this part of the world.
Oldes
3-Jun-2011
[1890]
http://typekit.com/
onetom
3-Jun-2011
[1891]
do u specify the slug manually or let some automatism hint u with 
a possibility 1st?
Kaj
3-Jun-2011
[1892x2]
I just have an extra field short-name
But you have to train your users on it
Tim
9-Oct-2011
[1894x4]
Well, I've been using rebol for 11 years, but never have used altme 
for support. But I have a
OOPS! I have a problem send email with authentication required. using 
the following
set-net [[tim-:-mydomain-:-com] mail.mydomain.com mail.mydomain.com none 
none none [tim-:-mydomain-:-com] '*******'] where 'mydomain' replaces my 
domain and asterisk obfuscate the password, if I send a message I 
get the following : connecting to: mail.mydomain.com

** User Error: Server error: tcp 503 AUTH command used when not advertised
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Have I used set-net properly? :) the ML appears to have died. I find 
this very cumbersome for sharing code. Any other place for support?
Henrik
9-Oct-2011
[1898]
Tim, click the pencil, then you can easily share multiple lines of 
code.
Kaj
9-Oct-2011
[1899]
http://rebolforum.com
Tim
9-Oct-2011
[1900x4]
got it Kaj and been there. Will use.
And thanks Henrik. I see the pencil. Any ideas anyone?
Following is error trace.
>> send [tim-:-akwebsoft-:-com] "testing rebol"                        
                                             
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 11:45:39 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["HELO" system/network/host] "250"]
Net-log: {250 host266.hostmonster.com Hello bart [64.4.232.191]}
Net-log: ["AUTH CRAM-MD5" "334"]
Net-log: ["WARNING! Using plain authentication."]

Net-log: [{AUTH PLAIN dGltQGFrd2Vic29mdC5jb20AdGltQGFrd2Vic29mdC5jb20AdEhqMTk0OSc=} 
    "235"
]

** User Error: Server error: tcp 503 AUTH command used when not advertised
** Near: smtp-port: open [scheme: 'esmtp] 
either only
GrahamC
9-Oct-2011
[1904x4]
The rebol client should send "EHLO" and not "HELO"
As a result, the servere does not advertise any authentication methods
Maybe you're using an old esmtp protocol .. as mine sends EHLO
>> set-net [[tim-:-akwebsoft-:-com] mail.akwebsoft.com mail.akwebsoft.com 
none none none [tim-:-akwebsoft-:-com] "****" ]
>> send [tim-:-akwebsoft-:-com] "testing"
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 12:00:11 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["EHLO" system/network/host] "250"]

Net-log: {250-host266.hostmonster.com Hello Graham-PC [203.97.98.9]}
Net-log: "250-SIZE 52428800"
Net-log: "250-PIPELINING"
Net-log: "250-AUTH PLAIN LOGIN"
Net-log: "250-STARTTLS"
Net-log: "250 HELP"
Net-log: ["Supported auth methods:" [plain login]]
Net-log: ["WARNING! Using AUTH LOGIN."]
Net-log: [
    "AUTH LOGIN" "334"
]
Net-log: "334 VXNlcm5hbWU6"
Net-log: ["dGltQGFrd2Vic29mdC5jb20=" "334"]
Net-log: "334 UGFzc3dvcmQ6"
Net-log: ["KioqKg==" "235"]

** User Error: Server error: tcp 535 Incorrect authentication data
** Near: smtp-port: open [scheme: 'esmtp]
either only
Tim
9-Oct-2011
[1908]
Not sure what to do about the 'old protocol'. Is there a way to change 
it? I'm using 2.6.2.4.2