treehouse : what would you like to learn today?
Web Design Web Development iOS Development

fooman

  • Large-scale website image storage

    After more research and seeing what the general consensus is online, I found this site: File Name Hashing It's all well and good, but a few things I'm not sure about. I've read in a few places that keeping the files limited to 100…
    Comment by fooman May 10 permalink
  • Large-scale website image storage

    Thanks guys! Much appreciated pointing me in the right direction.
    Comment by fooman May 10 permalink
  • Large-scale website image storage

    I didn't see your post before replying. It seems like the filenames of both image-hosting sites are similar. I wonder if it's a similar hash of sorts. Directory structure is all a guess to me. I wonder if they create directories per user…
    Comment by fooman May 10 permalink
  • Large-scale website image storage

    Care to share some insights I'm missing asides from CDN's? For example, the image name... why do they even bother renaming it to that? Is it a random filename generated based on time upload? Is it a government secret hash that will burn…
    Comment by fooman May 10 permalink
  • Extending an absolutely positioned div to content height

    No, the dialog will be displayed over top of whatever field is being edited. If needed I'll try to do a bit nicer-looking example. I just thought it was simple enough to do what I put in Codepen there. Guess I'm just not seeing it throug…
    Comment by fooman May 3 permalink
  • Extending an absolutely positioned div to content height

    I have a little overlay, for example. It has a message in it. If the message is longer than expected for whatever reason, I need a div that extends beyond it's initial height. Maybe I'm going about this a weird way.
    Comment by fooman May 3 permalink
  • One-line Justified Text Design

    .. indeed! thx sir!
    Comment by fooman April 29 permalink
  • One-line Justified Text Design

    how do you bring this up to a designer without starting WW3? haha ;)
    Comment by fooman April 29 permalink
  • One-line Justified Text Design

    Generally curious, would you prefer using a "magic number" or the extra jquery script to do this? Thx for posting this. I didn't consider doing it this way!
    Comment by fooman April 29 permalink
  • One-line Justified Text Design

    Thanks for the reply! That would only work if it was a really narrow box and was multiple words. It kinda treats the text as blocks rather than treating letters as blocks... if that makes any sense. Awesome idea, but wouldn't be a good soluti…
    Comment by fooman April 29 permalink
  • One-line Justified Text Design

    It's more like a title rather than a section of text. It's actually a narrow area with often one or two words in big bold letters. So it's not a terrible design flaw or anything. Looks good, just dunno how to reliably do this in CSS …
    Comment by fooman April 29 permalink
  • Email confirmation (twitter, etc)

    Indeed, so I assume I'm somewhat correct in that it's just a hash or something along with their username being rewritten to a url that confirms that these two pieces match ... and then the user gets "confirmed" and redirects the …
    Comment by fooman April 16 permalink
  • Chrome's awesome autofill

    Thank you! I didn't want to set the entire form to off, but looks like that's the ticket.
    Comment by fooman April 12 permalink
  • Google Map with transparent rounded corners in Chrome

    lol @ CrocoDillon Yes I definitely tried things that seem obvious, but I was hoping a work-around was being done by others for this particular issue. Luckily in this case it was decided that squaring things off is ok, but if anyone ever finds a wor…
    Comment by fooman April 3 permalink
  • Infinite Loop on simple rewrite

    I'm just trying to use a simple permalink scheme. Example: mysite.com/location/mega-mall is rewritten to mysite.com/location.php?p=mega-mall My guess is that the infinite loop is taking place because the url is the same name as the actual php…
    Comment by fooman April 2 permalink
  • Can you chain functions in compass?

    Right you are! I'm not sure where the error of my ways was, but your code worked just fine. Good to know. Thanks!
    Comment by fooman March 27 permalink
  • transparent loading icons

    yes a loading gif for ajax and whatnot. Fairly small 16x1g. A standard circle animation is what I'm looking for, but everything with a transparent bg seems to be very jagged.
    Comment by fooman March 5 permalink
  • Codekit CSS minification

    This bit of CSS/SCSS is needed for one/two pages tops, same with the javascript that goes along with it. So importing it into the main scss file isn't really a great idea (although the size tradeoff in this particular instance is tiny indeed).…
    Comment by fooman February 23 permalink
  • Codekit CSS minification

    Another question regarding codekit: I have a little jquery/css "plugin" that I'd like to use on this project. Normally, I'd copy the folder to the project and include/link whatever I needed to in the php page in the of the docu…
    Comment by fooman February 22 permalink
  • Codekit CSS minification

    @sloveland: indeed!! I think that's a good way to go about it. Thanks for the help guys!
    Comment by fooman February 22 permalink
  • PHP UPLOAD_ERR_OK, however no file

    I have read PHP's documentation, or lack thereof, of safe mode. Can you explain, if your own words, what it is and what it attempts to accomplish? Often, it's best to hear it from someone not writing a tech document haha. I have gotten…
    Comment by fooman February 17 permalink
  • PHP UPLOAD_ERR_OK, however no file

    Seems it's a SAFE MODE issue. The above was part of an AJAX script, so the gross PHP error(s) was not something I was able to see. Is there a way to get around this Safe Mode issue? Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in…
    Comment by fooman February 15 permalink
  • Collation vs charset

    Thanks for this link. The first page alone describes the difference better than anything else I've found. I am trying to wrap my head around the issue I'm having. Perhaps someone can shed some light. I use HTMLPurifier and am having the…
    Comment by fooman February 5 permalink
  • auto-versioning filenames for cache busting

    So is this the way you guys are going about it? To append to the query string, are you utilizing a PHP function, or manually changing the query string value?
    Comment by fooman January 23 permalink
  • auto-versioning filenames for cache busting

    BTW, cool blog you have. I hope you continue to write more articles!
    Comment by fooman January 23 permalink
  • auto-versioning filenames for cache busting

    I've seen the query string idea, but the article linked explain why it is not a good idea to do so. Scroll to the bottom and read the end of the article.
    Comment by fooman January 23 permalink
  • $(this) from within a seperately called function

    Scope of variables is something I'm always keeping in mind, or else I'd go nuts haha. But the $(this) object sometimes escapes me when calling multiple functions from functions. It doesn't seem to behave the same as having an "u…
    Comment by fooman January 17 permalink
  • $(this) from within a seperately called function

    Yes I've found that it's "undefined" in Firebug, which led to this little thread haha. I was just curious as to "why" it's undefined and doesn't bubble up to the object that called the function. Maybe just w…
    Comment by fooman January 17 permalink
  • Margin-top pushing overlay down

    Yes, super easy fix. Thank you! I will keep your help in mind in the future when dealing with other situations. Thanks!
    Comment by fooman January 17 permalink
  • Margin-top pushing overlay down

    not if it has a border and you don't want that border to butt up against the edge of the page. I'm not sure if you took a look, but I made a simple lil' pen: Here
    Comment by fooman January 17 permalink