Programming Theory

Programming theory deals with the design, implementation, analysis, characterization, and classification of programming languages and their individual features, along with introductory programming concepts like program structure, variable declaration and conditional and looping constructs. Sub-disciplines include the formal semantics of programming languages, type theory, program analysis and transformation, comparative programming language analysis, metaprogramming, domain-specific languages, compiler construction and run-time systems.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have been reading the Scrum Guide, and it seems to imply that Scrum is used primarily on products undergoing revision.  

Is Scrum used on the creation of new products (where the Waterfall has been traditionally used?)

Thanks
0
In Scrum, the Product Owner owns the Product Backlog (Task Board)

Does the Scrum Master own the Burn-down chart, or does the Product Owner>

Thanks
0
Are Product Owners allowed to speak at daily Scrums?

Are Product Owners allowed to attend daily Scrums?

Thanks
0
I have researched various Agile tools:  VersionOne, JIRA Agile, Rally, Axosoft, etc

Most of these products seem to use Agile (some use iterations instead of sprints), but for the most part they do not seem to be Scrum specific.  I suspect Axosoft may be an exception, but I have  not been able to look at it yet.

In the opinion of the experts on this board, which of these tools or other Scrum or Agile tools provide the 'most pure' Scrum view (as opposed to a general Agile).

Thanks
0
My understanding from reading the literature is that the difference between a story and a task is that a task may take between 4 and 12 hours and may be directly associated with a user story.  However, if the story would take too long, the story would  be broken down between several tasks.  

The definition I am reading seems a bit nebulous,.  Is this correct?

Thanks
0
I have been researching Agile methodologies such as the following

Scrum
kanban
Lean
Extreme Programming

Which of these is most popular (actually which is the second most popular, as I suspect Scrum is the most popular)

Also, did I leave any methodology out?

Thanks
0
I was reading about SAFe and its movement towards enterprise Agile (Thanks to a suggestion from a previous post of an expert).

Is this a well known effort in the industry.  Would getting this certification make sense at this time, would it be a worthy effort?  (The reason I ask is I have been in the industry a while and have never heard of it before)

Thanks
0
I have an idea for a website in which I need to know how many people die each day. I know this cannot be done by hand and not even accurately by programing as all deaths are not always reported.

How would you write a Bot or spider that would search the web (say in the United States) and find all the people how died between the ages of 59 thru 65 that was reported in an obituary that day and each and every following day?

And once this data is found have it inserted into a database.

Can this even be done? It seem like it could but I have no clue of how or who I would contact to do it for me.
0
I need to do a mass update of several years of data in binary circular files.  I have a program that can be run to update one file at a time, but I need a more efficient way of updating multiple files.  I am fairly new to C.  Any help would be greatly appreciated.
0
I'm in the job market, and everyone wants to know if you have experience in an agile environment. I can't legitimately say yes, but I am pretty agile, I can juggle multiple balls in the air, I've done rapid development, and I've read the book on Agile. Hit the still makes it a little hard to pass muster from the recruiter and or the hiring manager. So how long would it take to come up to speed in a Agile environment that was run well? I don't mean to minimize the importance of agile, but it just seems as a developer, one could fit in pretty easily without having a certification or a whole lot of experience in it.
0
I am new in CUDA programming I would like to know how to write a kernel that  compute the average of array with 32 elements ?
0
A marketing crm application I've build involves a feature where the application tracks and scheduled actions for a specific contact. The user schedule these up front and application execute them on time.

When they are created the scheduling instructions are provided as follows.

1. Execute this action on contact creation.
2. Execute this action after 2 days of creation.
3. Execute this action after 3 days of creation.


These actions contains, email sending, reminders to self etc.

The way I've placed it now is, in background the application loop through and execute these actions. Once an action is executed a record is saved in database to keep track. The next time it runs it can skip the already executed steps.

 The flow.

1. Get all the possible steps.
2. Query and loop through each contact.
3. On each contact, query the action tracking table and see which steps has been executed.
4. After excluding executed steps, loop through possible steps and check if any step can be executed (checking with creation date)
5. Execute the steps and record in tracking table.

This flow has allowed flexibility on action management. Because it query actions and it's related instructions on each execution user can go ahead and update the actions any time and have them reflected almost instantly.

However I have to run this flow on every 5 minutes, and right now my application has total of 100,000+ contacts and it's getting harder to maintain.

Is there a  better way…
0
This is my first attempt at Object Oriented Programming.  I like the potential benefits.  Although I have a couple of questions, any pointers on proper coding would be appreciated.  I do not think this is OOP? but my lack of fully understanding "scope" I have not been able to use my _OutTable, I have been running around for a couple of days from one won't build or not referenced to another.  This works, (I get my result) but I think it is hacked together.  Do I have an issue with all these extra Tables?

Thanks Much
Sam
MyFirstOOP.docx
0
Greetings,

I am trying to clean up some code and learn c# as I am going. I am looking for a way to eliminate a duplicate code warning message I receive from devexpress coderush.

I have 5 buttons that the user can click on.  An example of only two of them are shown here for brevity.
The subtle differences are in the background color of each button changes when a button is pushed, monitorType variable changes, and the Image changes/

private void btnNEWdtm_Click ( object sender, EventArgs e )
        {
          Variables.monitorType = "DTM";

          //set the background color for the active and inactive buttons
          btnNEWdtm.BackColor = Color.PaleTurquoise;
          btnNEWrmm.BackColor = Color.Transparent;
          btnNEWscm.BackColor = Color.Transparent;
          btnNEWbhm.BackColor = Color.Transparent;
          btnNEWbhmpd.BackColor = Color.Transparent;

          // Set the PictureBox image property to this image.
          // ... Then, adjust its height and width properties.
          pbNEWmonitor.Image = Properties.Resources.DTM_12pctSize;
          pbNEWmonitor.Height = 228;
          pbNEWmonitor.Width = 242;
          pbNEWmonitor.Location = new Point ( 190, 46 );
        }
       
        private void btnNEWbhm_Click ( object sender, EventArgs e )
        {
          Variables.monitorType = "BHM";

          //set the background color for the active and inactive buttons
          btnNEWdtm.BackColor = Color.Transparent;
0
Greetings,

I am working through someone else's code and learning as I go.  I came across this pice of code and I wonder why would I write this?

private static int EXPECTED_LENGTH_OF_BYTE_ARRAY = 998;
        public static int expectedLengthOfBHMConfigurationArray
        {
            get
            {
                return EXPECTED_LENGTH_OF_BYTE_ARRAY;
            }
        }

Instead of calling expectedLengthOfBHMConfigurationArray and having a 998 returned would it not be more efficient to reference the variable EXPECTED_LENGTH_OF_BYTE_ARRAY directly?
0
I have two lists I'd like to compare.
$FIrst = @{1='abc',2='def'}
$Second = @{1='abc';2='ghi'}

I need to output a list indicating that item 2 was modified from $First to $Second, displaying what the value was for 2, and what it is now.
I believe I can accomplish this via a foreach loop using compare-object, but I wonder if there's not a more effecient method
0
Dear Experts,

I´ve been developing a parser/interpreter in Delphi to solve scripts which use functions and variables located in cells (for the while only in lines and using one single column). I´m using this to create a list of input parameters and calculated parameters.

The parser is doing very well, but the approach to update values in the cells uses a top to bottom update. In this case, bottom cells can only use top variables.

Thinking about extending this list to more columns and to allow top cells to use bottom variables, which method (algorithm) could I use to correctly update all cells ? I am also not figuring how to detect circular reference out.

I´ll appreciate any help on this. Thanks.
0
Greetings,

I need to convert an MSSQL db into SQLite.  One of the fields in MSSQL has a data type of 'uniqueidentifer' which is a guid.

When I convert this db into SQLite there is not data type guid.  I need to maintain the references across many tables all of which have guid's as the primary key.

There are 55 tables to deal with.  All relating to each other via the guid's

Any suggestions on how to handle this?  (I am writing the code in C#)

Thanks,
Ron
0
I am using Delphi XE5 and I have a TPanel

Caption: 0,00 USD
Width: 185
Height: 41

What i need to do is to change the fontsize according to text width / height to fit the panel.

Let's say the panel should show 1,25 USD, Fontsize will be 25 but if panel shows 1.425,18 USD the Fontsize will be 18 automatically. Is there anyway to change the fontsize automatically according to text size?
0
Hi Experts,

Attached is a form that is used in our application by one form as a popup form to filter for employees, however I am trying now to expand this filter utility to various forms in our application,

The way I am planning to use it is as follows, insert is as a hidden subform, then when users clicks on filter button, this will move to the center, expand itself to full size and become visible.

One of the reasons of designing it this way is to allow user to have this filter option open multiple times by multiple forms, all at the same time.

Now my question here is, where do I build the  dynamic sql? and how do I call it?

I could have written something like this on the main form
 if not isnull(Me.SubForm.Form!TextCriteria) then...

Open in new window

however this would require a code modification for each main form every time I update the sub form (meaning the attached filter form).
untitled.bmp
0
Greetings,

I am looking for a way to make this work in python,

f=os.system("tcpdump -l src 172.16.0.3 and dst 172.16.0.33")
print "Dump is ", f

I will then process 'f' downstream of this

This produces an output of tcpdump to the console but nothing to the 'f' string

Thanks,
Ron
0
I've got a small FORM with a long caption. Visual FoxPro insists on truncating the caption so that it ends in "...".

Is there any way in which I can increase the height of the caption bar, in the same way that I can do this in a grid object?
0
Heyas,

I know their is metric termed Cyclomatic complexity which measures a software module's structural complexity. I would like to know if their a metric to measure the number of dependencies (DLL Calls, SQL Server Queries etc) a software module has to operate.

Thank you.
0
Hi
I wish to gather data from reputed news site as it reports all over the world.
I wish to know how to capture this information into which database(as data will be huge) , do analysis on it and produce reports,charts as required.
I request to provide information about the concepts and tools which need to be used to develop a software which does this functionality
0
HI, I need to display a list of EmpBO in a winform datagridview. Each EmpBO has a list of EmpTaskBO. Here is BO's

public class EmpBO
    {
        //BO for Employee
        private int empId;
        private string name;
      private List<EmpTaskBO> lEABO;
      
      public int EmpID
        {
            get { return empID; }
            set { empID = value; }
        }
      ...
    }

private class EmpTaskBO
    {
      private int id;
        private string taskName;

      public int ID{...}
    }

I want a DataGridView gv to display the following:

EmpID      Name      TaskName
1              Jake              DB
1              Jake              Files
2              John      Misc
2              John      Phones
3        
...

How should this be done, if the datasource is List<EmpBO> how can the child object be shown?

Thanks,
Jakob
0

Programming Theory

Programming theory deals with the design, implementation, analysis, characterization, and classification of programming languages and their individual features, along with introductory programming concepts like program structure, variable declaration and conditional and looping constructs. Sub-disciplines include the formal semantics of programming languages, type theory, program analysis and transformation, comparative programming language analysis, metaprogramming, domain-specific languages, compiler construction and run-time systems.