Unable to load webfont Ubuntu-Title.t[SUP]f[/SUP]f
Did he just seriously designed the whole thing on top of an image?
[editline]asd[/editline]
He fucking wrapped it in a H1 tag. I mean, sure he's new to web dev, but out of all the ways to do it, he comes up with the most retarded way possible.
[img]http://i.imgur.com/vnAL8.png[/img]
it's basically a javascript command-line tool
you define the environment using b.register (b being an instance of Cmd.Base), like this:
[code]
// this adds stuff to the root prefix, '.'
b.register.add('.', {
echo: function(){ return this.args.join(" "); }
});
[/code]
that defines the .echo command. It also allows you to define namespaces (both of these do the same thing):
[code]
b.register.add('.', { foo: {
bar: function(){ return "hello, world!"; }
}});
// and
b.register.add('.foo', {
bar: function(){ return "hello, world!"; }
});
[/code]
it works in both node and in browser (i haven't tested the browser out yet). It also allows you to just use pure values instead of functions:
[code]
b.register.add('.', {
foo: "bar"
});
// run the command (b.r is an alias for b.receiveCommand)
b.r(".foo") // returns "bar"
[/code]
and it allows you to set values for those:
[code]
// continuing from the example above
b.r(".foo 1 Integer") // 1 is the value, Integer tells it that it's an Int (Integer, Int, Float, and JSON all work); it also outputs the new value, which is 1 (a number)
[/code]
Normally, the command [b]has[/b] to start with a "."; if it doesn't, the code automatically sets it from your command to ".default" + your command, so the default is called with your command arguments. It does this for sub namespaces, but less strict:
[code]
b.register.add('.', {
default: function(){ return ["You idiot, try .", this.command, this.args.join(" ")].join(''); },
foo: { default: function(){ str = ( this.args.length > 0 ? "You can't set foo!" : "hi from foo" ); return str; } },
bar: {} // you can change bar from the command line since it doesn't have a default
}
b.r("what") // outputs "You idiot, try .what"
b.r(".foo") // "hi from foo"
b.r(".foo d") // "You can't set foo!"
b.r(".bar") // {}
b.r(".bar hi") // "hi"
[/code]
When you declare functions, this does not refer to the function; it refers to the command object that was used to create the function, which is kinda like this:
[code]
{
command: ".echo",
args: ["hello", "world"],
base: [Object]
}
[/code]
You can also take the args like a normal function instead of using this.args:
[code]
b.register.add('.', {
echo: function(){ return arguments[0]; }, // arguments is an object, not an array; arguments.join doesn't exist (in webkit)
first: function(arg1){ return arg1; }
});
b.r(".echo hello world") // returns "hello world"
b.r(".first hello world") // returns "hello"
[/code]
On error, it returns false; but the function may also return false, so you might wanna check b.register.errno (b.register.resolveError() gives a string and clears the errno) for errors.
It also comes with a built-in autocomplete, which returns an array sorted by the closest command to the input one:
[code]
b.register.add(".", {
echo: function(){ return arguments[0]; }, // arguments is an object, not an array; arguments.join doesn't exist (in webkit)
data: {
watermelons: "yummy",
foo: "bar",
pancakes: "syrup",
water: "hi"
}
})
b.autoComplete(".data.watermel") // outputs [ '.data.watermelons', '.data.water', '.data.pancakes', '.data.foo', '.data' ]
[/code]
Why, you ask? I was bored.
[QUOTE=Over-Run;37754410]So I finally finished up (a very) rough version of my website.[/QUOTE]
Truthfully?
You need to go back to school to learn the basics again.
[QUOTE=antiChrist;37751223]AW YEAH WHAT ABOUT SOME LOCALHOST MONEY?
[img]http://i.imgur.com/p35Zp.png[/img][/QUOTE]
what the hell are you doing
[editline]22nd September 2012[/editline]
that's not localhost
[QUOTE=Over-Run;37754410]So I finally finished up (a very) rough version of my website. It's just so any employers who check the link on the cv I gave them see that I actually have a site. But I quite enjoyed designing it and developing it so I think I am going to keep at it.
Just please give me feedback. I know there is no home button and the text is a bit hard on the eyes, and my portfolio lacks any real portfolio.
My main problem was with the actual coding. If you guys saw my code you would probably box my head in. I think then XHTML is a lot better than the CSS because I havn't really gotton used to margins and padding and grouping in css but hey at least I'm learning.
[URL]http://www.andrewohart.com/[/URL]
Any constructive criticism is greatly appreciated.
After just trying it in Firefox it looks like the the browser isn't downloading the font I want and the text is not inline as it should be. It works in Chrome but not Firefox. How can I fix this? I'm guessing I have to add a separate css command for firefox?[/QUOTE]
honestly there's a fine line between exaggerating your abilities a bit on a resume and straight up lying about a skill you don't have to get the job (you're on the bad side of that line). ignoring the fact that everything about the site is technically wrong and broken the design itself is really obnoxious and annoying. all of the text is massive, you're just slapping contrasting colors like blue and orange together because you probably read on a design blog that the two go well together, it feels like it was designed for elderly people who have trouble distinguishing subtle changes in color and normal sized text. padding is really wonky and your little circle logo in the top left is just.. idk? like honestly i'm not trying to be a cunt but you should be able to recognize how messy this is. its the kind of site people hire me to replace. take some time to research css more, open photoshop and sketch a design out and honestly think about it and whether or not you think it looks good, and next time don't lie so blatantly on your resume
It makes me happy to see poorly designed websites. Gives me a sense of job security.
[QUOTE=Kopimi;37757488]honestly there's a fine line between exaggerating your abilities a bit on a resume and straight up lying about a skill you don't have to get the job (you're on the bad side of that line). ignoring the fact that everything about the site is technically wrong and broken the design itself is really obnoxious and annoying. all of the text is massive, you're just slapping contrasting colors like blue and orange together because you probably read on a design blog that the two go well together, it feels like it was designed for elderly people who have trouble distinguishing subtle changes in color and normal sized text. padding is really wonky and your little circle logo in the top left is just.. idk? like honestly i'm not trying to be a cunt but you should be able to recognize how messy this is. its the kind of site people hire me to replace. take some time to research css more, open photoshop and sketch a design out and honestly think about it and whether or not you think it looks good, and next time don't lie so blatantly on your resume[/QUOTE]
Thanks for at least being constructive haha. Didn't know XHTML was dead, the book im reading must be outdated. I know the site was wonky, I didn't put it through the validator but that's where I'm going to start now. Padding and margins are something I haven't quite gotten used to yet. The reason the site is all basically an image is because I'm not too sure on how the best way to slice stuff for the web in photoshop and all is, and then piece them together on the site. I was going to do it separately but I couldn't get it looking right. I'll keep at it though thanks.
What would be a good place to learn about padding and margins? They gave me a good bit of trouble
[QUOTE=Over-Run;37758130]Thanks for at least being constructive haha. Didn't know XHTML was dead, the book im reading must be outdated. I know the site was wonky, I didn't put it through the validator but that's where I'm going to start now. Padding and margins are something I haven't quite gotten used to yet. The reason the site is all basically an image is because I'm not too sure on how the best way to slice stuff for the web in photoshop and all is, and then piece them together on the site. I was going to do it separately but I couldn't get it looking right. I'll keep at it though thanks.
What would be a good place to learn about padding and margins? They gave me a good bit of trouble[/QUOTE]
Don't read books on web design. use the interwebs.
It's been said a thousand and ten times in this forum alone, but you seem genuine. Try looking at [url]http://www.htmldog.com[/url] for a start. It beats W3Schools... No, it blows it out of the water.
[QUOTE=Over-Run;37758130]I know the site was wonky, I didn't put it through the validator but that's where I'm going to start now.[/QUOTE]
Putting it through a validator is useless. You have to learn to validate your own skills, not your products.
[QUOTE=TerabyteS_;37756606]what the hell are you doing
[editline]22nd September 2012[/editline]
that's not localhost[/QUOTE]
yeah just working on a generic CMS with random modules.
not localhost, just for the heck of example ads.
[QUOTE=Over-Run;37758130]Didn't know XHTML was dead, the book im reading must be outdated.[/QUOTE]
What book did you read that told you to produce a website that way?
You're either not reading the book correctly or you need to burn it.
PHP question (yes PHP), is there a way I could restart the webserver (lighttpd) using PHP? Without root that is - or do I have to use sudo?
[QUOTE=Knallex;37759594]PHP question (yes PHP), is there a way I could restart the webserver (lighttpd) using PHP? Without root that is - or do I have to use sudo?[/QUOTE]
I assume this would work
[php]
exec("/etc/init.d/lighttpd restart");
[/php]
Finished programming (PHP) the modules on the right side (fully costumizable) the modules are Header, POTN, Links, and Clock (which I disabled via SQL).
[img]http://i.imgur.com/7zQ9W.png[/img]
[QUOTE=Over-Run;37758130]Thanks for at least being constructive haha. Didn't know XHTML was dead, the book im reading must be outdated. I know the site was wonky, I didn't put it through the validator but that's where I'm going to start now. Padding and margins are something I haven't quite gotten used to yet. The reason the site is all basically an image is because I'm not too sure on how the best way to slice stuff for the web in photoshop and all is, and then piece them together on the site. I was going to do it separately but I couldn't get it looking right. I'll keep at it though thanks.
What would be a good place to learn about padding and margins? They gave me a good bit of trouble[/QUOTE]
Your design could almost be replaced entirely with normal HTML elements. The only things that would need to be an image is the "noise" background and the line-circle-line divider.
[QUOTE=Slater;37758432]It's been said a thousand and ten times in this forum alone, but you seem genuine. Try looking at [url]http://www.htmldog.com[/url] for a start. It beats W3Schools... No, it blows it out of the water.[/QUOTE]
I've heard of HTMLDogs, I'll have a look at it because I really do want to improve the site. I'm going to start over tonight I think
[editline]22nd September 2012[/editline]
[QUOTE=TerabyteS_;37758724]Putting it through a validator is useless. You have to learn to validate your own skills, not your products.[/QUOTE]
It helps me learn some of the things I'm doing wrong since I'm new at it but I know what you mean
[editline]22nd September 2012[/editline]
[QUOTE=Amiga OS;37758785]You know, you could CSS3 that entire site very easily if you wanted too, there is absolutely no need for images considering its so basic.[/QUOTE]
Didn't even know there was a CSS3 haha but I will look into it cheers
[editline]22nd September 2012[/editline]
[QUOTE=Emz;37759207]What book did you read that told you to produce a website that way?
You're either not reading the book correctly or you need to burn it.[/QUOTE]
It was a Head First HTML, XHTML and CSS book.
They did say in the book that there will probably never be a HTML5 and XHTML is the new standard so I guess I should of seen that as a warning sign it was a bit outdated haha
[editline]22nd September 2012[/editline]
[QUOTE=SteveUK;37762261]Your design could almost be replaced entirely with normal HTML elements. The only things that would need to be an image is the "noise" background and the line-circle-line divider.[/QUOTE]
I'm going to look into doing it that way. Would probably help me get a better understanding of margins and padding better than the way I'm currently doing it. Thanks man.
[QUOTE=Over-Run;37762886]It was a Head First HTML, XHTML and CSS book.
[B]They did say in the book that there will probably never be a HTML5 and XHTML is the new standard so[/B] I guess I should of seen that as a warning sign it was a bit outdated haha[/QUOTE]
did you, perhaps, find this book in a library that hasn't been used for 10 years?
[QUOTE=Over-Run;37758130]Thanks for at least being constructive haha. Didn't know XHTML was dead, the book im reading must be outdated. I know the site was wonky, I didn't put it through the validator but that's where I'm going to start now. Padding and margins are something I haven't quite gotten used to yet. The reason the site is all basically an image is because I'm not too sure on how the best way to slice stuff for the web in photoshop and all is, and then piece them together on the site. I was going to do it separately but I couldn't get it looking right. I'll keep at it though thanks.
What would be a good place to learn about padding and margins? They gave me a good bit of trouble[/QUOTE]
"I lied on my CV"
"I didn't even know HTML or CSS or web design or anything"
"Keep in mind this is my very first site ever haha."
"Thanks for at least being constructive haha. Didn't know XHTML was dead, the book im reading must be outdated"
"Didn't even know there was a CSS3 haha but I will look into it cheers"
"haha"
"haha"
"haha"
you're just a giant bellend wanker aren't you
you're like a grade-a typical scum bag
maybe you should consider never touching a computer, for the sake of creating something, [I]ever [/I]again
[img]http://images.devs-on.net/Image/jZvfb3vDPHtr9q7c-AndyOFaurtGoogl.png[/img]
[I]ever [/I][I][U]haha[/U][/I]
[highlight](User was banned for this post ("Trolling" - Craptasket))[/highlight]
because fuck yellow scheme and round corners
[img]http://i.imgur.com/EqpAU.png[/img]
(not really, but still looks better without them imo)
[QUOTE=amcfaggot;37764708]"I lied on my CV"
"I didn't even know HTML or CSS or web design or anything"
"Keep in mind this is my very first site ever haha."
"Thanks for at least being constructive haha. Didn't know XHTML was dead, the book im reading must be outdated"
"Didn't even know there was a CSS3 haha but I will look into it cheers"
"haha"
"haha"
"haha"
you're just a giant bellend wanker aren't you
you're like a grade-a typical scum bag
maybe you should consider never touching a computer, for the sake of creating something, [I]ever [/I]again
[img]http://images.devs-on.net/Image/jZvfb3vDPHtr9q7c-AndyOFaurtGoogl.png[/img]
[I]ever [/I][I][U]haha[/U][/I][/QUOTE]
I've never seen somebody so angry/ upset over somebody's disgusting website.
Maybe you should have a Smirnoff ice and like, chill out man.
You big meanie.
[QUOTE=Over-Run;37765571]I've never seen somebody so angry/ upset over somebody's disgusting website.
Maybe you should have a Smirnoff ice and like, chill out man.
You big meanie.[/QUOTE]
He's right though. A bit too aggressive but still right.
[url=https://github.com/redjazz96/jscmds]my project is now on github[/url], and it comes with a demo for you to fuck about with. It's in demo/index.html.
[editline]23rd September 2012[/editline]
Note that the demo is proof-of-concept, mainly, but the history view is quite awesome if i do say so myself
[QUOTE=Over-Run;37765571]I've never seen somebody so angry/ upset over somebody's disgusting website.
Maybe you should have a Smirnoff ice and like, chill out man.
You big meanie.[/QUOTE]
yeah that was p. mean, im sorry, but 4srs, don't do that stuff
it's bad mang.
[img]http://i.imm.io/Fkbp.png[/img]
saw this on fb
idk what this dude and his bionic eye have to do with web design but i know i don't want to get left behind by technology so im signing up anyway
[QUOTE=amcfaggot;37768180]yeah that was p. mean, im sorry, but 4srs, don't do that stuff
it's bad mang.[/QUOTE]
I know it's bad but it's not my actual CV, I wouldn't lie if it was for a proper job, it's for my college work placement and I'm doing Computer Science so I wouldn't be doing any HTML or anything, I just said I did because I planned on learning how to do it, and having a site would help me get placement.
I am going to be working on the site and all because I find it all pretty interesting. And that's what I love about the internet is that you just get cold hard feedback even if it is mean, people have no reason but to tell you straight up what's wrong with your stuff. So thanks boys. I'll post up the site when I think I have improved it.
You're a resilient little bugger aren't you? ;)
[QUOTE=Slater;37770007]You're a resilient little bugger aren't you? ;)[/QUOTE]
I won't get anywhere if I don't get told off the odd time!
lightbox and menu items done.
[img]http://i.imgur.com/uBJW1.png[/img]
Sorry, you need to Log In to post a reply to this thread.