Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Programming

52K

Solutions

40K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.

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

Sign up to Post

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
0
The top UI technologies you need to be aware of
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Hybrid app
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
0
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
5
SignAloud Glove
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
2
Monokai theme
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
1
Make the most of your online learning experience.
5
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
0
In this post we will learn different types of Android Layout and some basics of an Android App.
0
computer code editor
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
3
 
LVL 9

Expert Comment

by:Brandon Lyon
Comment Utility
Good article.

Angular JS is one of many options for learning javascript display+controller logic. If someone is trying to learn Angular but is struggling to understand then they might want to try another framework like React, Riot, Ember, Polymer, Vue, or Meteor. I had a really hard time following Angular but had a much easier time learning React, Polymer, and Meteor. Learning at least one js framework will give you an idea of how to work with the others and how to structure larger or more complex applications.
0
 

Expert Comment

by:Gina Lofaro
Comment Utility
Well bless your cotton socks, Ryan! Thank goodness someone else can do the jobs I can't fathom. I've been writing websites for clients for 11 years and I like to stick to my lane (writing quality copy). The thought of trying to code/design/build a website does my head in. We all have our strengths, don't we? For me, it's words ... not graphics, not design, not accounting. I know from working with you that your level of service is outstanding so there's no question about you being a "successful web developer"! I enjoyed your post (even if it did make my head spin a bit)!
0
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
2
Build and deliver software with DevOps
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Decision Making
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
27
 

Expert Comment

by:Brendan Wilson
Comment Utility
This is an excellent article. I appreciate you taking the time to write this.
1
 

Expert Comment

by:Judy Deo
Comment Utility
Thanks for taking the time to post this in such detail. Appreciate it.
1
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may help others on a similar path.
6
 

Expert Comment

by:JPNeron
Comment Utility
Re: "Rubber duck" the problem. We call this programming with your dog. Explain your problem as if you were talking to your dog, and usually the solution becomes apparent. If you have someone actually there standing in for your dog, their correct response is 'woof'.
2
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children.

So, while being a kid is still extremely important, it’s also important for you, as the parent, to start thinking about your child’s future. For many of us, that means investing in a college fund — but that’s hardly the end of it.

What many of us don’t do is truly prepare our child for the working world. It’s not until middle school or high school that we really start discussing the idea of going to college. Maybe we need to start a little earlier than that?

I’m not suggesting you should choose a career for your child. But you should be able to identify certain skills and characteristics that would make them a suitable candidate in various types of industries, such as a future developer or UX designer. You can nurture that skill set early on, and prepare him or her for a potential career in one of those fields.
 

Invest in Future Developers and UX Designers


To make this simpler, I’ll merge these two career paths into one.

Computer scientists drive the technological infrastructure of our world. They develop and create new hardware, software, applications and even methods for using technology. Many opportunities like software engineers, mobile application developers, game developers and even UX designers fit into this broad field.

Why does this matter? Well, since …
1
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
2
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
3
Programming Ninja
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
1
 

Expert Comment

by:JCincy
Comment Utility
Ask around and seek out professors with REAL WORLD experience. Too many profs can only teach what is in the book.

Also, many community colleges and tech schools have top notch programming classes taught by real programmers. And they can be significantly more affordable than a 4 year university. Sometimes these profs work in the community schools to link up with up and coming programming talent.

Avoid classes that rely on "programs" to grade your coding. These can be incredibly frustrating when you are losing points not for poor logic, but because the program wants certain words capitalized or variables spelled a peculiar way.
1
This is about my first experience with programming Arduino.
0
Man, Despair, Problem, Null, One, Binary
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
1
A short article about problems I had with the new location API and permissions in Marshmallow
0
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
2
 
LVL 66

Expert Comment

by:Jim Horn
Comment Utility
If you could add a paragraph painting a picture of what you just said then we'll be good.
0
 
LVL 66

Expert Comment

by:Jim Horn
Comment Utility
Nicely written.  I'm currently in an Oracle shop that has a wompload of .xml, .sql, and Java files that are used to build a monster data warehouse where using a tool like this is very important for supporting code.  

Voted Yes.
0
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user and avoid errors.
1
 
LVL 83

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
Depends on the street - there is a world outside the US Try and explain it to the full 73 percent of American citizens are incapable of identifying their home country on a map of the United States. :->
http://recoilmag.com/poll-73-percent-of-americans-unable-to-locate-america-on-map-of-america-2/
0
 
LVL 51

Author Comment

by:Gustav Brock
Comment Utility
Great. On the other hand, extremely few Europeans can point out all the states of the US. Most can label Hawaii, Alaska, California, and Florida, perhaps Texas, but that's it.

/gustav
0
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
1
This is an explanation of a simple data model to help parse a JSON feed
0
A short article about a problem I had getting the GPS LocationListener working.
1
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to do amazing, modern things with bits!
27
 
LVL 35

Author Comment

by:gr8gonzo
Comment Utility
@philkryder - The impact is going to be different depending on the application. For example, let's say that you do have this situation where you're dealing with 20 million 15-byte strings (roughly 286 megabytes).

If you're dealing with a database, then typically you're in a client/server setup, so the client needs the data locally in order to do any viewing or processing (this can be expanded also to a scenario where you've got DB Server -> Web Server -> End User, and data has to be transferred twice - and that's just basic setups).

Typically, the data's going to be transmitted over a TCP/IP network connection, so you're also adding about 8 megs of TCP overhead for 300,000,000 bytes (versus 2 megabytes for 80,000,000 bytes). You also have overhead of the structure containing/defining the data, plus any extra identifying data, but we'll set that aside for now.

So let's say that the database server has all the resources it needs to send all the data across to the client. On a LAN, it might not take too long either way, but you'll still notice a significant difference between transferring 78-ish megs vs 294-ish megs.

If you're dealing with a situation where you transfer that over a broadband connection of some kind, the difference will be even larger.

So the majority of the time, your "extra time" is going to be found in the data transfer, since that's often the slowest point. For the sake of having some example numbers, let's say that we're transferring over a 60Mbps connection, so we're looking at anywhere from 30 seconds - 45 seconds to download a roughly-300 meg payload, and 10-15 seconds to download a roughly 80-meg payload.

We'll say that we can save about 20-30 seconds in transfer time.

Now let's say the client app finally has the data in memory. It probably needs to store it somewhere, so there's some kind of structure involved, which also means an extra % of overhead storage in memory. Let's say you have a C# app using a DataTable structure. A string column in a DataTable takes up a LOT more memory per row than a long column. I don't have hard numbers in front of me, but I did have a project once where I hadn't defined my column type and I was accidentally storing small integers as a string. When I fixed the problem with a byte type definition on the field, memory usage dropped by several hundred megabytes.

So now we've got a client app with the data in memory. What's the next step?

If we're displaying the data on-screen, then chances are that you're probably only converting a handful of records at a time - maybe 200 at most.  The time it takes to convert 200 longs into string is around 0.001 seconds each time (just a rough test on my end).

But let's say you want to convert those 20 million numbers into 20 million entries all at once to be written to a file. Let's say that looping through 20 million records in memory takes a full 3 seconds, with absolutely no processing at all, so it wouldn't matter if the numbers were already converted or not - 3 seconds is the starting baseline. Your question is then - how much ADDITIONAL time would it take to convert 20 million numbers? A rough test on my machine shows about 40 seconds, and of course, that's going to depend on processor power. Many machines might be even slower.

So now we have some example numbers.
You have about 20-30 seconds of savings on the transfer side. If you were to turn around and convert all of those to strings immediately and write them to a file, then you're probably looking at a speed LOSS of roughly 10 seconds. Of course, this also doesn't take anything else into consideration (the value of bandwidth pipes / network saturation / memory / likelihood of this scenario / scalability across multiple clients / etc).

For displaying the data on-screen, you have about 20-30 seconds of savings on the transfer side, and virtually no time spent on conversion since you're not doing them all at once. The client's not going to notice a split-second of extra time every time they move to a new page of results.

Either way, there is a LOT of extra value in more efficient storage. There will always be some scenarios where it doesn't make sense to compact everything, but that's where being a good programmer comes into the picture and understanding the business case and how it translates into data flows and the value of each resource involved, and how that multiplies with concurrent load.
0
 
LVL 86

Expert Comment

by:Mike Tomlinson
Comment Utility
Excellent article!  The only thing I would have included would be a small section on Endianness (Big Endian vs. Little Endian).
0

Programming

52K

Solutions

40K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.