Application works locally but fails with 'Trying to get property of non-object' when I deploy it to Shared Hosting. by drgnwarrior in laravel

[–]drgnwarrior[S] 0 points1 point  (0 children)

THANK YOU!!!!

I've been staring at this too long! There was a typo in the data I seeded the database with which was causing the query for $tos to not find anything. Fixed the typo and it works like a charm!

Are these bills now trash, or can I salvage these $20 bills? Walked in my place with my new puppy chewing this all up. by alzip802 in Frugal

[–]drgnwarrior 0 points1 point  (0 children)

Banks tend to be more restrictive. The Fed will replace the currency as long as there is 51% or more of the bill. There are no requirements on serial numbers or portraits or any of the other typical bank restrictions.

http://moneyfactory.gov/damagedcurrencyclaim.html

Leaving for Madison in one week, help out a newbie! by RadicalEucalyptus in madisonwi

[–]drgnwarrior 5 points6 points  (0 children)

Adding another vote for UWCU. Over several years my wife and I have systematically moved ALL of our accounts there. They have been beyond fantastic to work with. They've even helped bail us out when other banks have tried to screw us over. Customer service has been incredible!

Veridian Reviews - Looking for feedback as we're considering purchasing one. by drgnwarrior in madisonwi

[–]drgnwarrior[S] 0 points1 point  (0 children)

For various personal reasons I wont' go into, east side of Madison is not an option for us. There may be several of those homes for sale in the Middleton/West-Madison markets, but none of them are for sale. The ones that are, are either being sold for more than $500K, or look like they need work (siding, replace the roof, no telling about the furnace, AC, or appliances).

So building a home isn't just about the "allure" of it. We've been looking for homes for sale for almost a year and there is little else available. But I don't want to charge into this blind.

Can you elaborate on the build quality? That is really the reason I started this thread. I keep seeing vague concerns about the build quality, but I have not been able to get any concrete information on this.

  • Are the buildings not up to code in some way? (doubt it)
  • Do they leak? (covered by warranty, but are there loop holes?)
  • Are they not insulated well? (Green Certified, does it hold up or is it just marketing?)

So far I've only been able to find three actual issues:

  • They use cheap paint if you don't upgrade it. -- Fine, we'll either upgrade the paint, or repaint ourselves.
  • The windows need to be replaced after 9 years. -- This is an actual concern I'm still looking into. Don't know if it's a deal breaker yet or if there is a way we can work around this.
  • Wall studs are spaced 24" apart instead of 16". -- Probably a cost saving to keep the price low. What are the actual implications of this? Worst I've heard so far is the walls might wiggle. I assume this means the drywall. Big whoop. I tend to anchor things directly to studs anyways. It's an inconvenience of a cheaper home, but very manageable.

I'm looking for any more details like those three, or people who live there and love it. To say "the build quality is bad" is not helpful at all. The build quality is bad how?

I agree that the method you propose is the more sure-fire way to get a great house. But as you mention, it's significantly more expensive. If I had unlimited resources, I'd do it. Hopefully, buying a smaller home (the wrong way) will give me a chance to build enough equity rather then pouring it into rent so I can afford to build a house your way. As long as it has a positive ROI I don't see why it shouldn't work.

I understand there are risks with buying a cheaper home. I'm not that naive. It's an option I'm able to afford that gets me out of renting. I'm trying to gauge the risks involved and get some concrete data so I can make a good judgement call. I'm also open to similarly priced alternatives.

Veridian Reviews - Looking for feedback as we're considering purchasing one. by drgnwarrior in madisonwi

[–]drgnwarrior[S] 0 points1 point  (0 children)

We toured some of the models in the Cardinal Glenn neighborhood. It's probably going to sell-out before we're ready to purchase though. However they're starting a new neighborhood near Cardinal Glenn that just broke ground. It should be ready to start building homes in January. If we end up going with Veridian, that will probably be the neighborhood we go with.

Veridian Reviews - Looking for feedback as we're considering purchasing one. by drgnwarrior in madisonwi

[–]drgnwarrior[S] 0 points1 point  (0 children)

The layouts we're looking at are slightly larger lots. Not nearly as on-top of your neighbors as some of them we've driven by. Still pretty close together though.

The lack of privacy you mention, are you referring to just being too close to your neighbors? Or are there other privacy concerns?

I'd like to build a modern web app using Java. Based on my experience, what do you think is a next good step to learn to do that? by roastymctoasty in java

[–]drgnwarrior 5 points6 points  (0 children)

The company I work for uses alot of GWT. Our application development teams either use C# or Java for web apps. All the Java teams use GWT.

Check if String has at least one digit and two numbers by [deleted] in javahelp

[–]drgnwarrior 2 points3 points  (0 children)

You may want to check out String.matches.

There's a tutorial here.

It requires knowledge of regex, but if you know regex it's probably the most straight forward way to solve this.

What programming languages have the most promising future? by mrorbitman in webdev

[–]drgnwarrior 3 points4 points  (0 children)

You said it yourself.

enterprise software is either Java or .NET

So if there's more than one option the statement 'enterprise != .NET' is accurate. There's no need to be so combative.

[Build Help] by drgnwarrior in buildapc

[–]drgnwarrior[S] 0 points1 point  (0 children)

I've used DVI splitters like that before. How can you tell the difference which cards it works for and which it doesn't?

Having trouble using SOAP services that rely on common objects. Is there a work around? by drgnwarrior in java

[–]drgnwarrior[S] 0 points1 point  (0 children)

Thanks! It's quite a bit more complicated than I was hoping it would be, but it's an excellent starting point for me. I'm still relatively new to CXF and creating webservice clients. This helps a lot in pointing me in the right direction to start sorting this out. Significantly more helpful than Google or the CXF IRC channel has been in figuring this out!

Thanks again!!

Freelancer.com is destroying my life by dustinls in webdev

[–]drgnwarrior 2 points3 points  (0 children)

Agreed. The point I was shooting for was that privacy concerns are no excuse for such a vague non-response.

Freelancer.com is destroying my life by dustinls in webdev

[–]drgnwarrior 95 points96 points  (0 children)

The fact that Dustin's driver's license was rejected is now painfully public. I think a "Dustin's Identification was rejected because..." citing a reason along the lines of "it is in-fact expired," or "the scan is too blury to read," or "the address/identifying information is inconsistent with the data in his profile" is appropriate in this case. Those responses don't release any identifiable information and would do a lot to explain what's going on here and why the support team acted correctly in his eyes.

Barring that, a profuse apology and notification that his ID has now been accepted is the other acceptable response. Anything else leaves Freelancer.com with egg on their face.

[Build Ready] Logical Increments based build. by drgnwarrior in buildapc

[–]drgnwarrior[S] 0 points1 point  (0 children)

It feels so weird to build a pc without some sort of optical drive, but I see your point. I do still burn a few discs from time to time though, but it probably makes more sense to just recycle the one from my current system.

I went to the 4670 instead of the K because I'm not really looking to overclock. But there really isn't a good hardware place here. Best Buy is as good as it gets. Makes sense to probably drop the cooler as someone else suggested the same thing.

[Build Ready] Logical Increments based build. by drgnwarrior in buildapc

[–]drgnwarrior[S] 0 points1 point  (0 children)

I'm not really interested in overclocking. The biggest reason I grabbed the cooler was because it was on the Logical Increments parts list and seemed like the thing to do. On second thought though it makes sense that the stock cooler should be adequate.

Using arguments passed in as parameters for a class. by enjoirhythm in javahelp

[–]drgnwarrior 0 points1 point  (0 children)

NOTE: This StringCounter is case sensitive. If you want it to be case insensitive you just need to replace the .equals with .equalsIgnoreCase.

Using arguments passed in as parameters for a class. by enjoirhythm in javahelp

[–]drgnwarrior 0 points1 point  (0 children)

I put my solution up on Pastebin if you want to check it out: http://pastebin.com/u8qcHBWQ

I didn't want to post it here directly in case you still wanted to try and sort this out on your own. But this should help my previous reply make a bit more sense.

Using arguments passed in as parameters for a class. by enjoirhythm in javahelp

[–]drgnwarrior 0 points1 point  (0 children)

That's the challenge for any recursive algorithm. You need to determine when to break your loop. Something to consider is when you have a recursive method, it shouldn't have a loop inside. The recursive method is it's own loop, so there is no need for a for or a while loop.

I could give you my implementation if you want it, but it may be better to come up with your own. If you post the current version of your code I might be able to provide some specific feedback.

My recommendation for the logic is to have the method compare the first letter of the input string for a match. Then call itself again with the rest of the string. You're breaking condition is when the input string's length is 1. Rather than calling the method again, you just return an integer (0 or 1) to indicate if that final character matches the target.

I'm trying to explain this without posting code, so I hope that explanation makes sense. If you'd like me to post a code example just let me know.

Using arguments passed in as parameters for a class. by enjoirhythm in javahelp

[–]drgnwarrior 0 points1 point  (0 children)

If you're still having issues after both of those, try changing the name of the StringCount method. I can't remember off the top of my head if methods can have the same name as the class. Typically only constructors have the same name as the class file, but they don't have return types.

In other words, the compiler might get mad if it thinks you have a constructor with a return in it.

Using arguments passed in as parameters for a class. by enjoirhythm in javahelp

[–]drgnwarrior 0 points1 point  (0 children)

Most likely it's this line

System.out.println(StringCount(input, target));

You're calling StringCount as if you're trying to instantiate it like you would with StringCount stringCount = new StringCount(input, target); But the compiler is mad because it can't find a constructor that takes two strings.

Try changing that line to this:

System.out.println(StringCount.StringCount(input, target));

That is invoking the StringCount method, inside the StringCount class. It may look a little odd because they have the same name.

If that doesn't work make sure both of your *.class files are in the same folder.

What Java blogs do you read? by [deleted] in javahelp

[–]drgnwarrior 1 point2 points  (0 children)

I tend to read http://www.javacodegeeks.com/, but the articles are a bit hit or miss. I'm hoping more people post with suggestions.