Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

05-17-2011 , 10:52 AM
You don't store the image in the database. You store the image in the file system and store a link to it.

You could also come up with some sort of magic naming system like you mentioned, but I don't think it really saves you anything, and if there's no image, you actually have to check the file system instead of seeing an empty DB column.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 10:57 AM
I don't think he wants to store the image in the DB, (he shouldn't be) I was assuming it was going to be a hyperlink to the image or something. If he wants a copy of the image you're right though, best to store it in the FSO and have a record that stores the location of the image.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 10:57 AM
Please dont ever store images in a database. I did this once, and survived. But many have not.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 01:48 PM
It was a server domain config issue that I solved but the answer would have been better on ServerFault or removed entirely.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 01:54 PM
Anyone know if there's something like the Python challenge out there, but for Java?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 02:32 PM
05-17-2011 , 03:54 PM
Quote:
Originally Posted by kyleb
lol, this was linked in that thread:



(PS: JQuery really is the greatest thing ever)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 04:09 PM
The best question I saw today on SO was:

"How do I force computer to turn off in Javascript or CSS"

I lolled hard, it's deleted now though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 04:11 PM
Quote:
Originally Posted by Zurvan
lol, this was linked in that thread:



(PS: JQuery really is the greatest thing ever)
Yeah I linked it. Kyle Boddy = kyleb.

I found it in this forum.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 04:36 PM
Well great, now 2p2 and SO have gone recursive.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 04:38 PM
Also I'm starting to consider reading that site.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 04:40 PM
Quote:
Originally Posted by kyleb
Yeah I linked it. Kyle Boddy = kyleb.

I found it in this forum.
I didn't even read who posted it, lol
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-17-2011 , 05:49 PM
Quote:
Originally Posted by Zurvan
It depends how you want the data.

If you're looking for specific data points from the page (ie, just title & image), then that belongs in a database.
A document store is a type of database. Instead of it being relational, it's a series of key/value pairs. Depending on which one you choose it could end up being schema-less.

That could be especially useful if you end up scraping a bunch of different sites. You could have a few functions, maybe each one scrapes a specific site but on the backend you don't have to worry that siteA doesn't have the same information as siteB. You just store it as is.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 03:06 AM
What does SO think of jQuery? I know that they are joking in those, but they seem sort of hostile to it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 03:35 AM
You should make an account and ask them.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 03:44 AM
There's tons of tickets on jQuery. Just not for var + var2 stuff.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 04:09 AM
I think jQuery is a great tool, but it is sooooo overused! I like to use it in cases where I need cross browser compatibility (e.g. ajax), but apart from that I tend to avoid using it too much.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 04:11 AM
Quote:
Originally Posted by daveT
What does SO think of jQuery? I know that they are joking in those, but they seem sort of hostile to it.
There's nothing wrong with Jquery, but a lot of questions on SO will be marked as 'Javascript' and not much else, and people will default answer with Jquery which shows that those people don't really understand Javascript and is where a lot of hostility comes from. Jquery is sort of seen as a magic bullet on SO by a lot of users (mostly lower rep) which is wrong imo.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 03:55 PM
I just came back from a job interview, for a senior level web development position.

I had lots of time to talk to the HR person, who's completely nontechnical, because the guy who was there before me took an extra 40 minutes to do his 1 hour technical test. She mentioned that she had talked to a number of candidates who didn't know what MVC was. I probably shouldn't have laughed out loud, but I was (and am) utterly flabbergasted at the idea that someone could call themselves a professional web developer - especially in the PHP world - and have no idea what MVC was.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 04:08 PM
Why did they let him keep working on the test? I guess their customers don't mind when delivery takes almost twice as long as scheduled.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 04:43 PM
I have no idea why they didn't cut him off. No big deal - it just makes me look that much better when I finished it in 45 minutes.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-18-2011 , 08:22 PM
Quote:
Originally Posted by Zurvan
I just came back from a job interview, for a senior level web development position.

I had lots of time to talk to the HR person, who's completely nontechnical, because the guy who was there before me took an extra 40 minutes to do his 1 hour technical test. She mentioned that she had talked to a number of candidates who didn't know what MVC was. I probably shouldn't have laughed out loud, but I was (and am) utterly flabbergasted at the idea that someone could call themselves a professional web developer - especially in the PHP world - and have no idea what MVC was.
eh, MVC is sooooo 2010. MVP is the way now!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-19-2011 , 03:11 AM
I spent yesterday helping a friend on his college homework assignment. The class is web-design, which is required for him to get his degree. To say the least, he really hates this class.

The book he is using is from 2001.

He told me he only wanted to get the minimum grade in this class. Okay, great. He asked me if I knew anything about CSS (I guess...), so we (I) start creating some external CSS for him.

I show him my computer and tell him to copy the stylesheet. He does and then he loads his page. "Why isn't it working."

"Well, how do you expect the stylesheet too manipulate your elements if you don't even have them on the html page?"

Him: "I want to create a large-type that is bold?"

I just stare at him and ask him why the **** this wasn't covered in day one. Okay, I didn't though I wanted to. I just ask him what element he would think he needs to do this and went to the bathroom. Ten minutes later he tells me he figured it out.

This is his final, and he has to create 5 pages. I have no idea how he managed to get all C's in this class. He even managed to get a B in the Java Applets portion.

Anyways, if you ever wonder why some people are total idiots at your job interview, remember that many schools blow chunks.

There are other people I know that are going to school for computer programming, and I really feel sorry for them. One was telling me he learned web programming, but he wasn't really that good at HTML. His goal was to learn Java. In his opinion, nothing else about the web mattered except for Java. You would have to see him talk up Java and how great it is to understand the irony of it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-19-2011 , 04:41 AM
Quote:
Originally Posted by diebitter
eh, MVC is sooooo 1980. MVP is the way now!
FYP

Spoiler:
smalltalk developer itt
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-19-2011 , 04:42 AM
You guys heard about bubble programming (code bubbles)? It has big claims.

http://www.mknopf.com/articles/rethi...h-bubbles.html
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m