Thanks Lowongan for the link. I was looking more for development process when creating a video app. I'm more of a 'roll your own' type of guy :)
DeepToot
Posts
-
Workflow for a video chat application -
Workflow for a video chat applicationDoing some more research it appears that we will need a 'Signaling Service' which will be responsible for transmissions of data. PubNub is one that I have found. So far I cannot find another way of doing it, in my app I was hoping to be able to have multi-user video chat..which I could but would have to pay for something like PubNub.
-
Workflow for a video chat applicationAny thoughts on this? Was the question asked correctly or did I miss something?
-
Workflow for a video chat applicationHello. I am in the design process in creating a video chat application. I am trying to come up with the best route for the video transmission..being new to the mobile world I am wondering if there needs to be a 'middle-man' that is in charge of routing the data? For instance, should I have each client hit a webservice that would be in charge of sending the data to the other client? Should I just have the clients connect directly to each other (if possible) and by pass a webservice? Can anyone answer how apps like Periscope handles the transmission of its video? Thank you.
-
Any Protobuf guru's here? Have problem with outputted data.I believe that is what we are using but am not 100% on it. Reason being is that the implementation is a part of our framework here and we don't touch it but rather implement it. I cannot be certain how the core framework is using it. I've determined that the 'dataType' so to speak is a Dictionary and that will allow me to deserialize the json into an object correctly. When it comes into my area it is a json, I deserialize into a class, now I need to pack it back into a proto and send it out in the exact same format it comes in at. I can't seem to order my proto in a way that does this.
-
Any Protobuf guru's here? Have problem with outputted data.I have an incoming json object that I can successfully deserialize into an object. However, I now need to send that object back to the UI and to do this we use Google Proto objects. This is what the json string looks like coming in and what it should look like going back out:
"lang\":{\"en-US\":{\"name\":\"AS Test Assembly Activity\",\"description\":\"Activity to test assembly activities\"}
I am trying to organize my proto messages that would output the same but I am having no luck. Here is what I have so far. Proto Messages:
message CustomActivityConfig { optional CustomActivityLanguage lang = 5; } message CustomActivityLanguage { required string key = 1; repeated LanguageData lang = 2; } message LanguageData { optional string name = 1; optional string description = 2; }
This gives me an output of:
"lang":{"key":"en-US","lang":[{"name":"AS Test Assembly Activity","description":"Activity to test assembly activities"}
My Class structure which holds the correct data from the json at the top looks like this:
\[Serializable\] public class CustomAssemblyData { public Dictionary<string, LangData> Lang { get; set; } } \[Serializable\] public class LangData { public string Name { get; set; } public string Description { get; set; } }
So what I am doing is iterating through the KeyValuePair in my class above and trying to pack it into my proto message. I feel if I can get the proto right that it should work as expected If this helps, here is how I am currently trying to pack the proto (which gives the second incorrect json output:
var cac = new CustomActivityConfig.Builder(); foreach (KeyValuePair<string, LangData> kvp in genericAssembly.CustomActivityConfig.Lang) { var culture = kvp.Key; var name = kvp.Value.Name; var desc = kvp.Value.Description; var langData = new LanguageData.Builder() { Name = name, Description = desc }.Build(); var customActivityLanguage = new CustomActivityLanguage.Builder() { Key = culture //will be 'en-US' in json }; //Add class to Value of Dictionary customActivityLanguage.AddLa
-
Why HP Quality Center 9.2 is my best friendThanks for the replies, glad I am not the only one who thinks this version is a waste. My only question I have on version 11..does it have a resize event that doesn't look like this product was made using foxpro? If I resize will the controls follow? lol.
-
Why HP Quality Center 9.2 is my best friendDear HP Quality Center 9.2, Oh how you're my best friend. Not because you start in the middle of my dual screen monitors as a small box and I have to move to one monitor or other, nor the lack of a 'Resize' event that would seem obvious to have, or the way your controls adamantly stay in the position they were upon maximizing when you were a small box..no, you love to make the whole window a nice dark gray for me..'Who needs a full page of viewing' you say..so cute. The feelings I get when I minimize you for two minutes and you 'gently' log me off and it saves only half the information isn't even the reason you are my little buddy. Even as my bigheartedness sometimes get to me, it's not even that I feel sorry for you because you obviously had lazy developers create you. Today lil buddy, you are my best friend because I refuse to let you get me down with your piddly crashes and ugly/none functioning UI. Today I will remain strong and smile in your direction with kindness and friendship. Amen
-
Best way to return class at runtime - based on valueI agree great solution, thank you both for the time on this.
-
Best way to return class at runtime - based on valueI have a task that is being repeated throughout the application many times. My goal is to take those methods and consolidate it into a Global method. The problem I am running into is that each task uses a different class type. My thoughts were to create a method, say IncrementLine(), passing in as a parameter an Enum that would tell it what class it is coming from (Rooms or Library for instance). This is an example of the existing code from one of these methods: (Also this is the exact code I need to change to bring back different classes, instead of RoomData it could be LibraryData - instead of Room it could be Library)
Dim lstRooms As List(Of RoomData) = Room.LoadAllForLibrary(libraryID)
The code for each of my methods that call IncrementLine() have their own classes like RoomData and Room. With the exception of the code above the rest of the method codes are identical. Without using a bunch of Selects to determine what Class I should use..how can I return the proper class based on the enum passed in? I was thinking of maybe using a Generic Delegate Class..something like this:
Public Function ReturnClass(Of t)(ByVal _lType As ListType) As t
End Function
based on what enum value they place it would send back the correct class..however, once I created this class I realized I'd still have to do a Select to determine what ListType they provided. So my question is, how can I change the code above to be dynamic in returning the proper class based on the enum? Thanks
-
Anyone work with Microsoft Dynamics Great Plains?I am researching a job position and was curious if anyone deals with Dynamics GP on the regular? I am basically wondering if this is a new language that I will have to learn or can I utilize C# and/or vb.net to work with it? I viewed a project that was created in this a few months ago and looked like really ugly code. I am weighing the pro's and con's of this and deciding if it would be worth leaving a job using c#/vb.net to go exclusively to developing GP. Is it a great pain or nice to work with? Can you use c# or vb to code or do I have to use the ugly code I viewed sometime ago? Thanks,
-
Great Plains CRM - worth knowing?and this answered my question how?
-
Great Plains CRM - worth knowing?I had a company come at me with a position that works a lot with Great Plains. I have no real experience with it, except viewing it briefly at a recent client site and remembered it looked like old style coding and not .Net. I am wondering what other developers think of working with GP and if it is worth leaving a development position where I use c#,Vb.Net exclusively - to developing under GP only for a while. Can you develop using c# or vb.net? I have to give an answer on Monday whether I want the position or not. But if it takes away from my skills I already have (mainly c# and vb.net) I don't think it would be a good move. Your opinion would be appreciated. Thanks
-
Interview questions - best way to learn the answersI agree it is pretty easy and although I can explain in general what polymorphism is, the definition itself I didn't know. The interview asked me for the definition and I plainly said that I didn't know the textbook definition, I know what it is thou. Your thoughts are exactly why I posted the question. Would me not knowing how to explain polymorphism really prevent me from being a great developer? In the 13 years I have done this, I have created a wide variety of things used in both windows and web environments. Code reviews tell managers what the code looks like and what it does, all great reviews and never had anyone come off like 'What is this?'. I make sure that my code is written to standard, whether the 'standard' be microsoft standard or the company's way. They do differ at times. But 'hacks' I never do, I know enough to know what is the right way to do it. However, I have had to redo a lot of code that others have done. I think that has become my specialty in this career is the ability to go through anyone's code whether VB or C# and fix the bug or rewrite if needed. That is usually the first thing I have to do when going to a client site and get handed an existing application that is broke. If you would like specifics on the things I have developed I'd be happy to give you a list hehe.
-
Interview questions - best way to learn the answersFirst off, thank you for serving as a Reserve. Hoorah! I agree this has been a great discussion and I am so glad I am not alone in this, because to be honest it does feel like everyone has their skills together but me. That was another thing that I could of probably done better, writing on the chalk board pseudo code. The one that stumped me was writing out a recursive function. I failed that one even though I could do it if I had the IDE up. What is it about being in my 'element' that gets my brain working? I made a Word document with about 10 terms that I need to memorize or at least know enough about what it is to describe it in my own words. I have interviews Wednesday and Friday so if I can get them down I am hoping the outcome will be different.
-
Interview questions - best way to learn the answersI'm getting to that point as well. Going with the flow just seems easier sometimes.
-
Interview questions - best way to learn the answersExcellent reply thank you for the time on this and you are exactly right. The last position I interviewed for had those 7 questions - add to it Immutable - what is it? After asking what immutable was they asked about StringBuilder and String difference. I remember reading about StringBuilder and it had something to do with immutable values or something like that..yea I still need to study up hehe. I always thought instead of the questions about definitions and the like, why don't they just plop a laptop on my lap and give me a technical document with what they want and let me create it. Then I can show them my true skills.
-
Interview questions - best way to learn the answershmm, I might have to use that one hehe thanks.
-
Interview questions - best way to learn the answersCouldn't agree more and I think the strategy for the moments when I forget something is a great idea.
-
Interview questions - best way to learn the answersExcellent advice and reply. You have me nailed really. It's crazy to think that as long as I have been doing this I would have a better understanding of OO and the like.