Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Justin Jones 0

@Justin Jones 0
About
Posts
39
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • landlords... !@$!@%*&!
    J Justin Jones 0

    I just bought a house, and when I moved out of the duplex, the landlord tried to charge me replacement cost of the carpet. I'm getting ready to fight it in court because we're talking about paying $700 for replacing carpet that was at least 15-20 years old. Security deposits are for damages, not replacement costs. The examples I've found state things like if a carpet cost $1000, had an expected life span of 10 years, and was ruined after 8, the landlord can fairly charge $200 (the deprecated value). After 10 years the expense falls on him/her, but they'll find any way they can to keep as much of your deposit as possible and count on the tenant just letting them do it. Crooked landlords are plentiful, fight back. Don't let him rip you off for his own mistakes.

    J Make the logo bigger

    The Lounge

  • DotNetNuke Bites
    J Justin Jones 0

    John Simmons / outlaw programmer wrote:

    I tried using the "starter" kit, and the install merely copied the zip files to a Projects folder. Nothing else was done, and I didn't get their nifty little template icon in the IDE. So far, it's crap.

    Sorry, I hadn't tried the starter kit since about 4.1 or so. It worked then. It creates a new project template, not a file template. There are templates for creating modules too, but they suffer from some limitations (e.g. you have to do a little extra work to get "hello world" running). I won't deny there's a bit of a learning curve to getting DotNetNuke running, that's why I bought the book. (That's not actually the one I bought, it looks newer.) Personally I don't use it much these days because the modules weren't quite up to the level I needed for the project I was working on. They're better now I hear. To create your own portable modules is a little more work than a starter kit, but it's very possible. It takes a little digging but instructions for how to do it actually are in the documentation. I wouldn't write it off. A lot of people like it a lot, there must be a reason. Sharepoint might be more what you're looking for however.

    J Make the logo bigger

    The Lounge tools performance

  • DotNetNuke Bites
    J Justin Jones 0

    Colin Angus Mackay wrote:

    John Simmons / outlaw programmer wrote: I STILL haven't found a description of how to set it up for development. I've been looking most of the day. It used to be really easy. But they changed things around when .NET 2.0 came out then it became a real pig.

    It's still pretty easy. There's a starter kit[^] you can install for visual studio. You do need to register and login to download it. All you need to do is create a new project using that template, follow the instructions it pops up, then hit f5. More or less.

    J Make the logo bigger

    The Lounge tools performance

  • The Muppet Show
    J Justin Jones 0

    Chris Maunder wrote:

    I have the tune from the Muppet show in my head.

    I've had the song "Fish Heads" (from the early 80s) stuck in my head since lunch. Which is worse?

    J Make the logo bigger

    The Lounge c++ com architecture

  • But all odd numbers are prime numbers
    J Justin Jones 0

    Ok, I get it now.:-D

    J Make the logo bigger

    The Lounge help csharp database business json

  • But all odd numbers are prime numbers
    J Justin Jones 0

    Can you explain the humor here? At the risk of sounding stupid, I don't get it.:wtf:

    J Make the logo bigger

    The Lounge help csharp database business json

  • updating javascript value to database
    J Justin Jones 0

    I'm not entirely sure I understand your problem either, but what it sounds like you want to do is populate a state combo box based on the users selection in a country combo box. You don't want connection strings in your web page unless your resume is up to date. I think you're going to have to look into an ajax solution unless you want to do a full postback each time the user changes their selection.

    J Make the logo bigger

    C# javascript database help announcement

  • Simple Q about multidimension array .. plz Help
    J Justin Jones 0

    I would say that if you need to be searching, arrays aren't the way to go. But if you must use arrays, the only tip I would add to the above is a break statement jump out of the nested for loops when you actually find the value (no need in running through the rest of the items).

    J Make the logo bigger

    C# question database data-structures help

  • Need help with Sqldatareader
    J Justin Jones 0

    We all have to start somewhere. Just a few tips of my own and I apologize if any are repeats. Think stored procedures. That will solve the Sql injection attack problem by itself. At the very least use parameterized queries. This will solve more than just security issues. Imagine the headache of having to debug your app at 2am because somebody entered "Bob O'Malley" into a textbox? put data connections, data readers, and commands into using statements. Especially the connections. Again, you don't want to be figuring out why your server came to a screeching halt at 2am because no connections ever closed. DataSets are great, you can also use the reader to load that data into a collection of objects, close your connections, then pass the collection around anywhere you need it. I know some of this may seem advanced if you're just getting started, but remember this is where you want to be going. It's never to early to start doing it right. Oh, one more thing that I just noticed: you don't need a priming read on your datareader. This will actually cause you to throw away the first row of data. HTH.

    J Make the logo bigger

    C# database sql-server help tutorial question

  • More proof of God
    J Justin Jones 0

    INITCOMMONCONTROLSEX wrote:

    In most cases, the rejection of the Creator does not result from logical conclusions. The average atheist, if he or she is honest, will cite an emotional motivation for lack of faith in God.

    And the average Christian, if he or she is honest, will cite an emotional motivation for their faith in God. Tow May Tow/Tow Mah Tow. I love Christian vs. Athiest debates because neither side can conclusively prove their point. You simply cannot prove the non-existence of a deity (God, Budda, Flying Speghetti Monster, etc) and you can only prove the existence of a deity if said deity were to schedule an appearance on Larry King Live, which they, oddly, never seem to do. Besides, only the Taoists have got it right. ;P

    J Make the logo bigger

    The Back Room html com question

  • Another Question
    J Justin Jones 0

    pbraun wrote:

    If you consider all prime numbers to be odd, would you then consider the number 2 to be odd?

    I don't believe that the definition of a prime number requires it to be odd. The definition of a prime number is that it only has two factors, 1 and itself. Two is the only even number that fits that definition since all other even numbers have two as a factor. Please correct me if I'm wrong. I'm not a mathmatician. -------------------------------- Of course reading a litte further into the replies now that point has been made several times over, hasn't it ;P

    J Make the logo bigger

    The Lounge question

  • 21-12-2012
    J Justin Jones 0

    El Corazon wrote:

    The most important figure goes first.

    If your data only spans a single month. MM-DD-YYYY suffers from the same limitation, except it's usefulness is limited to a single year. Take the following example: DD-MM-YYYY 01-01-2006 01-01-2007 01-02-2006 01-02-2007 01-03-2006 ... and MM-DD-YYYY 01-01-2006 01-01-2007 01-02-2006 01-02-2007 ... Neither are very useful, in my opinion, because neither represent an accurate date sort. YYYY-MM-DD will always sort correctly. However, like you, I have nothing better to offer than my opinion.

    El Corazon wrote:

    When you do date subtraction on 2007-08-22 and 2007-08-20 you get: 0 years, 0 months, 2 days. When reversed, with most important information first, you end up with 2 days, 0 months, 0 years a very natural comparison/difference model. When you order it as the USA does it you get 0 months, 2 days, 0 years, a very odd way to compare/diff dates.

    What's "natural" and "odd" is simply a matter of opinion. It really is nothing more than cultural differences. What you consider odd is perfectly normal to a large portion of the world's population. By the same token what you consider normal is odd to that same segment. Why is year not the most important information, being of the highest order of magnitude, with month being the second highest and day being the lowest order? To me that seems more natural.

    J Make the logo bigger

    The Lounge question

  • Minesweeper: The Movie
    J Justin Jones 0

    The latest in a long series of failed movies based on popular video games. Minesweeper

    J Make the logo bigger

    The Lounge com

  • Developers and the Salary Negotiation
    J Justin Jones 0

    Something that would be nice to add to this is a section on head hunters. I've been coding a long time now and they still get to me. When I applied for my current job it was nice that the head hunter handled the salary negotiation part (I'm sure he was much better at it than I was) but there was immediate pressure to "take the job now". The end result was I completely forgot to negotiate for vacation time. I had worked my way up to 3 weeks in my previous position (you have to love 'Merica. It would have been 6 in europe), and now I'm back to 2. My experiences with the head hunters haven't been too bad so far other than the dishonesty. Others I know have had far worse experiences though.

    J Make the logo bigger

    The Lounge career question business discussion

  • how to generate unique number
    J Justin Jones 0

    If I understand your problem you need a unique integer when saving your record. Why not just use an identity column in your table and return that through an output parameter in your save procedure? Another approach I've seen often is using GUID. You can generate that at the time your object is created and it (is supposed to) be unique. HTH

    J Make the logo bigger

    ASP.NET tutorial csharp database question

  • SOTD...The President
    J Justin Jones 0

    Bush sortof reminds me of Yosemite Sam. J Make the logo bigger

    The Lounge question

  • Does anyone know of a Bug Tracker Visual Studio add-in? [modified]
    J Justin Jones 0

    www.elementool.com The free version allows up to 200 issues and comes with a VS add in last time I checked. J Make the logo bigger

    The Lounge csharp visual-studio help question

  • 21-12-2012
    J Justin Jones 0

    Dario Solera wrote:

    I don't understand, though, how MM-DD-YYYY can actually exist. It's just plain stupid.

    And most 'Mericans could say the very same about DD-MM-YYYY. Why? That's what they're used to, and your format makes sense to you because that's what you're used to. Can you give me one reason why DD-MM-YYYY is better than MM-DD-YYYY? (Hint: "because it makes sense to me" is not a valid answer) The only format that I can give a valid reason for preferring is YYYY-MM-DD. Why? Because it sorts. J Make the logo bigger!

    The Lounge question

  • Fire... Fox!
    J Justin Jones 0

    Clickok wrote:

    My wife and I are thinking in purchase one Fox[^]. Do you think exaggeratedly geek place the text "Fire" before the "Fox" logo in the car?

    If you're going to go geek, you want this car.

    The Lounge question learning

  • Programmers of the past
    J Justin Jones 0

    I definately would have been a composer. Probably a mediocre one, obsessed with the fact that another composer was so much more talented than I was. After many failed schemes to get ahead, It would finally be too much for me and I would scheme to kill... Oh wait, I saw that in a movie. Maybe I would have been a poor Irish stowaway on a large early 20th century cruise liner when it hits an Iceberg...

    The Lounge csharp php wpf com question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups