[QUOTE=HeroicPillow;22055047]I still prefer to make my own fonts and host them alongside the website i'm making and embed them with @font-face. Not only does it allow me to control all aspects of what's shown, but I can embed whatever you want that way. Not to mention I wanted a very specific style of font for my site with certain icons embedded so they could be colored whenever.
But I guess it's handy for lazy people...[/QUOTE]
It just helps save bandwidth and makes it easier really. Still nice of them.
[QUOTE=cosmic duck;22066996]Just got done coding the layout for the Muxdos admin panel.
[img_thumb]http://img.hexxeh.net/f3bb58ad0d15a97787df22e9d8593ddb.png[/img_thumb][/QUOTE]
Yeah I stared at that for like a minute.
[editline]11:12PM[/editline]
[QUOTE=nullsquared;22067285]You're 100% correct. I do not understand why you have PHP code embedded in your interface code.
[editline]03:31PM[/editline]
Also; you're saying that only small/unimportant websites use PHP? What about the behemoth that is Facebook?[/QUOTE]
Because it's easier and if you only need to run a query or two there's little than can go wrong. The code is still easy to understand, and a single file is easier to maintain. Having it inline also gives you a better idea of how it's going to look in the actual browser.
And I'm not saying that only small websites use PHP, however people seem to prefer ASP.NET for larger stuff (actually ASP.NET only makes sense to me for larger stuff) for its superior ability with MVC and classes, which, while indeed superior, are more work, which I really don't need if I'm making...say...an URL shortener (I made one a few days ago actually).
[editline]11:16PM[/editline]
[QUOTE=Tuntis;22068426]No, I'm not saying that - what I am saying is that PHP hasn't really been designed for writing large web apps, but instead for embedding pieces of dynamic code in otherwise static websites (as PHP's history says - Lerdorf created it for trivial things like a pageview counter). Regardless, PHP is used for so many large websites such as Wikipedia or Facebook - however, that is not a valid measure of how "good a language is".
As an example, Twitter's frontend runs on Ruby (on Rails), reddit is Python, Stack Overflow is ASP.NET MVC... I could list tens of great web apps that run on different languages. (Facebook probably uses other languages for their backend, just like how Twitter's queuing runs on Scala.)
PHP is so popular because at the time it was the best option for writing server-side code, and now it is so widely adopted among shared hosts. However, apps such as [url=http://www.modrails.com/]Passenger[/url] are starting to become popular in shared hosts - for example, I can run Rails apps on my Dreamhost package, because they have Passenger installed.
But really, the decision on what language to go with is your choice.[/QUOTE]
Ruby appeals to me as well because it seems easy, powerful, and feasible for both small and large stuff. I actually read a bit of _why (<3) 's sublime [url=http://mislav.uniqpath.com/poignant-guide/book/]guide[/url] but it never really amounted to anything for me. I'll probably play with it one day though.
[b]Edit:[/b]
Heh, Ruby seems to be full of nifty stuff that's of moderate practical use but certainly interesting. [url]http://en.wikipedia.org/wiki/Markaby[/url]
[QUOTE=Almost Dawn;22071809]Yeah I stared at that for like a minute.[/QUOTE]
What?
[QUOTE=cosmic duck;22072790]What?[/QUOTE]
What's with the blurred out group descriptions?
Tagged for size
[IMG_thumb]http://dl.dropbox.com/u/1439918/Pics/2010-05-20_2015.png[/IMG_thumb]
Opinions?
[editline]08:24PM[/editline]
Based on [url=http://dl.dropbox.com/u/6681840/Screencap/2010-05-21_0049.png]this image[/url] that a friend did for a school project.
[QUOTE=compwhizii;22072987]What's with the blurred out group descriptions?[/QUOTE]
Special features that haven't been announced yet.
Spare time at school leads to:
[img]http://i12.photobucket.com/albums/a234/benjy355/bottlesobear.png[/img]
And that was my day.
[code]javascript:var x = 98; function nextBottle() { if (document.getElementsByName('comment')[0].disabled) { setTimeout("nextBottle()", 100); } else { document.getElementsByName('add_comment_text')[0].value = x + " bottles of beer on the wall, " + x + " bottles of beer, take one down, pass it around, " + (x-1) + " bottles of beer on the wall."; document.getElementsByName('comment')[0].click(); x = x-1; if (x > 0) { setTimeout("nextBottle()", 100); } } } nextBottle();[/code]
I'm gonna look into doin' fun stuff with JS soon, although it's my least favorite language.
[QUOTE=Almost Dawn;22071809](actually ASP.NET only makes sense to me for larger stuff)[/QUOTE]
ASP.NET can be used in single pages if you wish, you don't have to setup a whole project in Visual Studio.
[code]
<%@ Page Language="C#" %>
<html>
<head>
<title>The Time</title>
</head>
<body>
The time is <%=DateTime.Now %>
</body>
</html>
[/code]
[QUOTE=cosmic duck;22072790]What?[/QUOTE]
It looks fucking sexy.
Cleaned up CodeIgniter's default Debug output for SyncWiki
[img]http://grab.by/grabs/efc0aacdfbf66684d357b89aff5c7abc.png[/img]
[QUOTE=compwhizii;22088569]Cleaned up CodeIgniter's default Debug output for SyncWiki
[img]http://grab.by/grabs/efc0aacdfbf66684d357b89aff5c7abc.png[/img][/QUOTE]
Looks nice :)
Been working on Mod Outlet all morning, item pages mainly. Re-worked a few methods of doing things, including realizing each file actually only needs one download.
Setup thumbnail system (well, half of it), now to build the cron which will process the thumbnail generation queue, and my thumbnails should start displaying nicely. Except it might be a manual cron in the end due to PHP execution limits, I may have to have it reload every thumbnail generation, and keep reloading (need to check if that actually works with a cron, it'll probably have to be a cron triggering a web-cron).
Made it nicer
[img]http://grab.by/grabs/24c632b34476fbc002f92a46c93e2122.png[/img]
Why don't you just step through the request in the debugger?
[editline]08:37AM[/editline]
Oh wait
[QUOTE=turb_;22089806]Why don't you just step through the request in the debugger?
[editline]08:37AM[/editline]
Oh wait[/QUOTE]
Why don't you not post like a fanboy every other post
[QUOTE=turb_;22089806]Why don't you just step through the request in the debugger?
[editline]08:37AM[/editline]
Oh wait[/QUOTE]
Speaking of which, how [b]do[/b] you do that in ASP.NET?
Same way as you do in any other Visual Studio project.
Click in the bar on the left of the code to set a breakpoint on that line, and when that code is about to be executed, it'll break and you can use step into and step over to debug. You can hover over variables to see values, works really well for objects.
Good places to set a breakpoint are at Application_BeginRequest() in Global.asax or the Page_Load() method of your page's codebehind.
I would post screenshots, but I'm on my iPod
[QUOTE=turb_;22089806]Why don't you just step through the request in the debugger?
[editline]08:37AM[/editline]
Oh wait[/QUOTE]
Fly away troll fly awaaay.
Fuck off I'm so tired of you two going on about ASP.NET, give it a rest damn't
[QUOTE=Almost Dawn;22090426]Fly away troll fly awaaay.[/QUOTE]
Fly away on my zephyr...
ASP.NET fan boys alert.
[QUOTE=turb_;22090294]Same way as you do in any other Visual Studio project.
Click in the bar on the left of the code to set a breakpoint on that line, and when that code is about to be executed, it'll break and you can use step into and step over to debug. You can hover over variables to see values, works really well for objects.
Good places to set a breakpoint are at Application_BeginRequest() in Global.asax or the Page_Load() method of your page's codebehind.
I would post screenshots, but I'm on my iPod[/QUOTE]
Whenever I try running it, it never attaches to the server, hence breakpoints do nothing. This is MVC by the way.
[QUOTE=EDDY TT;22090570]ASP.NET fan boys alert.[/QUOTE]
Your alert is slow by about two and a half pages.
[QUOTE=GreyIOutcast;22092254]Your alert is slow by about two and a half pages.[/QUOTE]
Congrats Sherlock Holmes, want a cigar to go with that pipe?
[QUOTE=Pridit;22092409]GMod Theater MOTD
[img_thumb]http://i49.tinypic.com/2u97lf8.png[/img_thumb][/QUOTE]
Put a 10-20px margin inside that main div.
Just wrote a page that lets you "like" any string you want on Facebook.
EDIT: OK crap, uses up too much resources, gotta rewrite it some other way
[editline]12:00PM[/editline]
I think I'm going to go work on bugspray again
Um, guys, does anyone know where this weird line came from?
[img]http://anyhub.net/file/weird_line.png[/img]
I was just working on my project and then looked back and all of a sudden noticed it, and it doesn't want to go away.