Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization forum!

Al Hobbs

Ranch Foreman
+ Follow
since Aug 30, 2017
Al likes ...
Fedora Netbeans IDE Spring
Cows and Likes
Cows
Total received
2
In last 30 days
0
Total given
0
Likes
Total received
20
Received in last 30 days
0
Total given
15
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Al Hobbs

So your comment has the compile error message I guess.  Where did onlinevideos and randomnumber come from?  the complier doesn't interpret words and magically create meaning for them, you have to do that.
15 hours ago
seems a little bit overkill since the only part you are skipping is saving whatever data you want to print and then opening it with your program to actually create a report and print it.  But if you really want to make a fake printer you can probably do it.  Don't see why not.
15 hours ago
is that the full error message without casting?  It seems like something screwy is going on with the class types.  The expected class and the given class don't match, so you need to make sure they match up.
well the component is an individual section that can be used in another component.  So like if you have a main page that has a header and footer and navigation bar, then all the different section that you would show are a child to the main page(parent).  The sections that are shown on the main page(parent) are siblings to each other.  

An easy way to look at that is routing.  if the parent is /main, then the children are like /main/children.  

Not sure if that's what you're talking about.

If it's just a modal then you can just put it on the landing page.  
15 hours ago
You have to use a while loop or can you use a for loop?   Don't for loops use while loops underneath or something?

while looping through 1-100 you just check if it's divisible and if it is then you add it to a list or you can just print it out if the program can be simple like that.
15 hours ago
If you can't even try it out for free nobody is going to use it.  All the other good js frameworks can be used for personal use for free.   Angular is really great and has a ton of documentation and you can look at all the source code.

What can your framework do that is unique?
15 hours ago
There isn't a property to just get rid of it? In windows forms or wpf you can get rid of the top right buttons with a simple change of the property.
15 hours ago
So you want to return the file path along with the JSON string in the same response? you could possibly do it will a multi part response.  Is your UI just taking the values and sticking them on the page without looking at the keys?
15 hours ago
Well if you have an ide then usually you can find out by hovering. Or you just have to know what the functions do.  
3 weeks ago
If you dont know the functions being done then it can be confusing.  But if you look at the docs you can figure it out.   I wasnt sure at first what it did but after looking at the docs i understand now.

I think the variable names are what were most important here.  The functional version looks way better.
3 weeks ago
Reading the file using a stream isnt old fashioned is it?  Dont you need to do that in cases where the file is huge?   Maybe theres a cleaner way to do it with streams?
3 weeks ago
Hi guys
I just wanted to say what a pain it is to have to add new functions to a mess of a project.  
The gui code is 6000 lines long with the majority being code that should be put into different classes.  Also, did i mention the methods are hundreds of lines long.  Thankfully the function i have to add is pretty simple just have to test it.  Oh wait there is no I.o.c.  or interfaces anywhere to be seen.    

The real pain is mostly navigating it.

Anybody had to deal with stuff like that?   What the worse kind of code youve had to work on?
3 weeks ago
You are supposed to answer what kind of design or what?  Like what is that relationship called? No idea how you are supposed to answer.  It sounds like they already designed it down to what class to use
3 weeks ago
You just gotta keep at it.    One thing to keep in mind that the code in books is just for learning the syntax.   You dont actually want to write code like that because usually it doesnt use follow oop theory well
3 weeks ago
Probably your best resource is going to be the documentation.   Because the work is done for you serializing and deserializing  json is super simple