instruction stringlengths 34 19.9k |
|---|
I have been working on learning as much as I can before starting college to change my career, and I noticed on the w3schools site that there is now html and html 5, css and css 3. Do I need to go back and learn those newer languages before moving onto PHP and MySQL?
|
So I know HTML5 is the "replacement" for Flash...however it's obviously not mainstream just yet......but what else is it supposed to replace.
I ask this because web-dev has always been a secret kinda side-passion of mine (even though I a firmware programmer mostly doing C/Java stuff). And anyway I want to pursue a side... |
Anecdotally, I've visited many .aspx website that require a significant amount of load time for each page.
Is my experience unique?
If not, why might an ASP.Net website load slowly?
Edit: It's now about 7 years later (12/29/2017). The good news is I don't see this problem much anymore, maybe because Google started pena... |
This is my first question on stackoverflow, so please bear with me.
I'm trying to stay away from any form of trolling or flame baiting as i have a tremendous respect for both languages.
I'm a python programmer (though not an expert) and i love it. My first language was C++.
My line of work (web development) is pushing ... |
My experience with developing dynamic websites is limited mostly to Java servlets. I've used Tomcat to develop various Java servlets, and I wouldn't hesitate to say that I'm reasonably proficient with this technology, as well as with client-side HTML/CSS/Javascript for the front-end.
When I think "dynamic website", I ... |
I've been programming for a while on different languages. I never really studied programming at school nor worked on a team of more than two people (me included). Still, I've been a professional developer for over three years.
Last year, I took over my first C# project and it ended up being fine. I can't help but think... |
I recently started working on a personal project where I was connecting to a database using Java. This got me thinking. I have to provide the login information for a database account on the DB server in order to access the database. But if I hard code it in then it would be possible for someone to decompile the progr... |
In the Web development world, what exactly do backend/server-side programmers do? I guess I don't really understand the whole concept.
I've done the HTML/CSS layouts and website design and a little bit of SQL with PHP (still enhancing my skills, it's more of a side project for me). I've also done a small amount of Ja... |
A long-time client has asked us to help screen their work machines for pornography. They're worried about liability if sensitive materials were found. Their main concerns (for obvious reasons) are video, audio, and image files. If possible, they'd also like to scan text-based documents for inappropriate content. They h... |
I'm looking for a library that I can use to help mock a program component that works only intermittently - usually, it works fine, but sometimes it fails.
For example, suppose I need to read data from a file, and my program has to avoid crashing or hanging when a read fails due to a disk head crash. I'd like to model ... |
Given a standard windows procedure function:
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
Where do the names wParam and lParam come from and what the history behind them?
|
I have been asked to work in a Java web application that is very very poorly designed. In the name of "making this easy", they have come up with their own "framework" to make things extremely difficult to understand. I am struggling to figure out the control flow. Do you have any such experience?
What do you do in suc... |
My problem is simple : when I'm programming in an OO paradigm, I'm often having part of a main business process divided in many classes. Which means, if I want to examine the whole functional chain that leads to the output, for debugging or for optimization research, it can be a bit painful.
So I was wondering : is the... |
I'm wondering if you could suggest me any way to implement "user roles" in GWT applications. I would like to implement a GWT application where users log in and are assigned "roles". Based on their role, they would be able to see and use different application areas.
Here are two possible solution I thought:
1) A possibl... |
Inspired by this question, I started wondering - is there or has there ever been such a thing as a "well designed application"? One where the architecture would be perfect and no refactoring would ever be needed; code would be easy to read and understand even for someone new to the project; changes could be done with a... |
I am still getting mature as a software engineering/designer/architect, as you may want to call. At this point in time, I am getting small projects, private projects and so on.
What I noticed is that even though I think about the SW structure, design some diagrams, have they really clear in my mind when I start coding,... |
PHP stands for:
PHP: Hypertext Preprocessor
This a recursive loop, if I'm not mistaken. Did the creator of PHP have this in mind when he named PHP?
Is this the only language where the name has some sort of spurious grammar, spelling or phonetic?
|
As a panelist for technical interviews, you often come across candidates who have all the requried educational qualifications, skill sets and experience level on resumes, but struggle to answer even the most basic questions.
Ideally, technical interviews should try to check different aspects of a candidate and test th... |
A couple recent questions focused on "well designed applications" and "poorly designed applications". Looking at the responses it appears to me that it might be easier to recognize and define poor code and poorly designed applications than it is to define what good code and good/correct application design is. What do y... |
We're looking at a replacement for our CMS which runs on Oracle. The new CMSes that we've looked at can in theory run on Oracle, but
most of the vendor's installs run off of MySQL
vendor supports install of their CMS on MySQL, and a "theoretical" install on Oracle
the vendor's dev shops use MySQL
none of them develop... |
I now program in C# for a living but before that I programmed in python for 5 years. I have found that I write C# very differently than most examples I see on the web. Rather then writing things like:
foreach (string bar in foo)
{
//bar has something doen to it here
}
I write code that looks like this.
foo.ForEa... |
I have a bit of experience with SVN as a pure programmer/developer. Within my company, however, we use SVN as our Configuration Management (CM) tool. I thought using SVN for development at the same time was OK since we could use branches and the trunk for dev, and tags for releases. To me, the tags were the CM part, an... |
This question got me thinking about how comapnies deal with newly-hired graduated.
Do experienced programmers expect CS graduates to write clean code (by clean I mean code easily understandable by others — maybe that is too much to expect?)
Or do significant portion of graduates at your place (if any) just end up test... |
I thought about this, and have been trying to come up with solutions on how to fuzzy search a database, if for say example a user types a spelling mistake. Any glaring problems with the logic behind this? Will it work and has it been done before?
Our table we wish to search:
**tblArticles**
Body - Soundex_Body - Cha... |
I've read online on multiple occassions that MySQL is a bad database. The places I've read this include some threads on Reddit, but they never seem to delve in on why it's a poor product.
Is there any truth to this claim? I've never used it beyond a very simple CRUD scenario, and that was for a university project durin... |
I am looking into an alternative for the combined utilities of SVN, as both a development tool and configuration management tool. Instead, I would like to investigate the approach of having a dedicated Configuration Management (CM) tool and a separate development tool.
The reason for this is that I work in a company w... |
If you have to explain the concept of multi-threading to a seven year old kid how would you do it? I recently got this question in an interview. I came up with a story using jobs (the task to be done) and workers (the threads) but it was not entirely convincing (considering the kid is too young).
If you were asked to d... |
So, I'm working with an open source project, and I'm making some significant changes to a small module of the project. The project uses SVN as its version control, and I need access to this repository, since there is a lot of active development, and I need to be able to get the updates. At the same time, I don't want t... |
I am planning a project to develop and enhance an information architecture for a website.
This will include navigation structures, content classification, metadata etc.
Where is the best place to start planning this?
What software can be used to create this (apart from MS Word?)
Any tips on how to go about designing a... |
I'm a bit confused about the whole NoSQL thing and such.
When would you choose to use something like MongoDB over something like Oracle or MySQL?
I don't really understand the "difference" as far as usage goes between them.
From my understanding NoSQL type databases aren't meant to replace RDBMSes, but what exactly are... |
When reading Programmers at Work (by Susan Lammers), they often refer to code as "listings". Why is that?
|
What is the difference between building a .NET project to target 32-bit or 64-bit?
Are there computers that aren't able to run 32-bit programs and only 64-bit?
Do x64 programs run twice as fast?
|
My day job is plain old software development. I am also doing my Masters in CS (part time, course based). I took a course on AI and found machine learning quite fascinating but like most courses it only offered a basic intro.
I intend to learn more about Machine Learning and if possible get a job in that field. When I ... |
Editing Question for Clarity
Thanks for feedback so far, very insightful.
I'm not sure how far along this part of the software community is, and what if any libraries exist for me to leverage from. Heres what I'm trying to do.
Problem:
Take an existing video of a game of rugby league.
The Rugby League field is 100 metr... |
What is the difference between a library, framework, and API? They all seem the same to me. I would like to hear peoples thought of this.
|
I took up a small CSS challenge to solve for a client and I'm going to be paid on a hourly rate.
I eventually solved it, it took 5 hours but I spent roughly 25% of the time in the wrong track, trying a CSS3 solution that only worked in recent browsers and finally discovering that no fallback is possible via JS (like I... |
I've been working in embedded software development for this small startup and our team is pretty small: about 3-4 people. We're responsible for all engineering which involves an RF device controlled by an embedded microcontroller that connects to a PC host which runs some sort of data collection and analysis software.
... |
I have noticed that this is a frequent issue among younglings from technical areas such as ours.
In the beginning of our careers we simply don't know how to sell ourselves to our employers, and random guy #57 (who is a programmer, but not as good as you - technically) ends up getting a raise or a promotion because he k... |
With Scrum / user story / agile development, how does one handle scheduling out-of-sync tasks that are part of a user story?
We are a small gaming company working with a few remote consultants who do graphics and audio work. Typically, graphics work should be done at least a week (sometimes 2 weeks) in advance of the ... |
Why the Lucky Stiff removed most of his online profile on Aug. 19th, 2009. The author of Why's (poignant) guide to Ruby, Hpricot, and many other projects left behind many confused and upset users.
Zed Shaw called it a "dickhead thing to do".
John Resig called his work a "Sand Mandala".
Do developers have an unwritten o... |
As part of research for a user group presentation I'm looking for usage examples of certain code constructs.
I'm looking for online source code repository collections that allow me to search inside the source code across the whole collection.
GitHub does it but it's a bit light on the sort of code I'm looking for.
Sour... |
I'm doing my 3rd year CSE Engineering. I guess this is the right time to ask this question!
As in the next year, I'm going to do projects, "get my hands dirty". And there is only few days left out, as I know many people in Stack Overflow are working in Software field, I thought to ask these question.
Does the project ... |
Have you ever been developing something and just came to a point where you think that this is rubbish, the design is bad and although I will lose time it will be better to just start all over again?
What should you consider before making this step? I know it can be drastic in some cases, is it best to just totally igno... |
I have heard/read writing common pre-conditions for a large number of test cases is a bad thing, since this dependency may cause large number of test cases to fail if something changes . What are your thoughts on it ?
If this is so , then what exactly is the purpose of setUp() method in Junit that runs before each test... |
To me the ultimate beauty in working as a developer is the fact that given a nice CV, your are going to find a new job, everywhere at any time.
So I would like to ask if somebody here as experience in working while travelling for example. Or job-hopping from metropolis to metropolis every, say, six months.
For example ... |
I was interviewing with a "too proud of my java skills"-looking person.
He asked me "What is your knowledge on Java IO classes.. say.. hash maps?"
He asked me to write a piece of java code on paper - instantiate a class and call one of the instance's methods. When I was done, he said my program wouldn't run. After 5 m... |
Over on SO I came across a question regarding which platform, Java or Python is best for developing on Google AppEngine. Many people were boasting of the increased productivity gained from using Python over Java. One thing I would say about the Python vs Java productivity argument, is Java has excellent IDE's to speed ... |
Is it possible to have in eclipse 2 "team providers" for same project. E.g. svn and mercurial?
So svn will be used to commit to central repository, and mercurial only to work on my PC.
E.g. when I get updates from SVN, I commit to mercurial, then I work with mercurial. When everything is ready to go to central place, ... |
Lately I have been thinking of application security and binaries and decompilers. (FYI- Decompilers is just an anti-complier, the purpose is to get the source back from the binary)
Is there such thing as "Perfect Decompiler"? or are binaries safe from reverse engineering? (For clarity sake, by "Perfect" I mean the ori... |
I am hoping to find an easy tool or method, that allow's managing our code deployment.
Here are the features I hope this solution has:
Either web-based or batch file, that given a list of files, will communicate to our production server, to backup those files in different folders, and zip them and put them in a backup... |
What things should be considered in the license etc when you're using some open source projects/ tools in your application(in my case, specifically a web application/website) ?
What are the terms & conditions to look for in the license and in what ways can they impact my future business in technological, financial... |
When should I use the XML data type in Microsoft SQL Server?
|
How do I identify a good Scrum Master?
Here are some possibilities:
The person is agile (doesn't just do agile). Indicators: Blog, volunteer activities
The person connects well with others at the level of emotions and needs (not just technical stuff).
The person is relentless and fearless when removing impediments
|
Are there reasons other than budget for hiring "entry-level" programmers?
|
While there is such operator - ** in Python, I was wondering why Java and C++ don't have one too.
It is easy to make one for classes you define in C++ with operator overloading (and I believe such thing is possible also in Java), but when talking about primitive types such as int, double and so on, you'll have to use l... |
I usually leave my email address as a courtesy in case someone wants to ask me a question about it later. Do other people leave more or less information than that? Does anyone leave a phone number??
|
I am setting up a new RESTful web service and I need to provide a role-based access control model. I need to create an architecture that will allow users to provide their username and password to get access to the services and then restrict how they can use the services (which services they can use, read vs read/write,... |
In a code review, what do you look for to assess a developer's expertise? Given an opportunity to look at a developer's work on a real-world project, what tell-tale signs are a tip-off to carelessness or lack of experience? Conversely, where do you look in the code to find evidence of a developer's skill or knowledge o... |
What is the typical pattern regarding remembering users for a website? Do you offer to remember the user at login and when they register, or at login only, or either depending on what mood you are in :) ? Not interested in implementation details, just the recommended practice?
|
When building an application should all validation messages have punctuation?
|
I'm looking for some guidance on CASE tools and whether my concerns are valid.
Recently I was in a meeting between my employer and an external software company which have a CASE tool currently in beta. They demonstrated this tool to us, showing how you build a UML model in Enterprise Architect (or something like it) an... |
A common complaint I hear about Facebook, Twitter, Ning and other social sites is that once a comment or post is made, it can't be edited.
I think this goes against one of the key goals of user experience: giving the user agency, or the ability to control what he does in the software.
Even on Stackexchange sites, you ... |
Looking at the Friend Connect sites, documentation, example, I've noticed that:
there haven't been updates in a long time
many of the sites used as example sites are dead or abandoned
the community (forums, message boards, etc) is relatively silent
Is google's Friend Connect set of tools defunct/abandoned, or is it s... |
COBOL is still (heavily?) used for financial computing. It is an old language, and AFAIK most programmers hate, or at least dislike, COBOL. This brings a question: is the only reason COBOL is still used that legacy software uses it, or does it have any real advantages over other programming languages?
Just curious.
|
I know (to some extent) a few languages, including C, Java and Python. I'm also (somewhat) familiar with Scala and Scheme, plus I can read (but not write) x86 Assembly. Say I want to learn C++, what is a good book which doesn't try to teach me what a class is, teach me inheritance, polymorphism or loosely coupled class... |
I've decided what I really want is to do game programming. So the question is, as a 18 years old who wants to learn self taught programming, what is the most suited programming language between C# and C++? (I should state that I don't care about Unix because I believe windows will be still the most used OS)
I know the... |
i heard that these(say for example Groovy) languages have the capability of changing the variable name or call methods dynamically in runtime! What you meant by dynamic languages? And what is the real need for changing any values during runtime? Is that doen't lead to confusion, because at runtime if you change any val... |
All programming languages are having their design flaws simply because not a single language can be perfect, just as with most (all?) other things. That aside, which design fault in a programming language has annoyed you the most through your history as a programmer?
Note that if a language is "bad" just because it isn... |
I am a small time web dev freelancer during my time off at university and I have some horror stories when it comes to designing sites for people (not that the sites are bad - just the clients DO NOT KNOW WHAT THEY WANT) this really grinds my gears.
To set the context this is what I want to avoid:
I had a client last y... |
I am working on a project and my task is to evaluate quality of that project by quality metrics. I found three types of metrics namely product, process & project. On some websites I fount other types like Defect Detection Percentage, Defect Removal Efficiency, Defects Find Rate, Escaped Defects Found, Function Points, ... |
Eventually you need to depreciate parts of your public web API. However I'm confused on what would be the best way to do it. If you have a large 3rd party app base just yanking old versions of the API seems like the wrong way to do it as almost all apps would fail overnight. However you can't keep ancient web api's ava... |
What is the main reason that made Facebook need to use C++ beside PHP? I am wondering if I make a website with alot of vistors would I need to use C++ as well?
|
I'm interested in ways and means for learning (a) programming language(s) efficiently. I believe that using Unit Test concepts and infrastructure early in that process is a good thing, even better than starting with "Hello world".
Why: To write a decent program even for a toy/restricted problem in a new language, you'l... |
I'm not a game developer or anything, but I know that Java is not very widely used for game development. Java should be fast enough for most games, so where's the catch? I can think of some reasons:
Lack of game developers with expertice in Java
Lack of good game development frameworks
Programmers don't want to accept... |
I have been asked "What are SDLC and OOP?" many times in job interviews but I am still not sure how to answer this question. I am a web developer for quite some time but I still have problem with explaining OOP and SDLC (System Development Life Cycle) .
Can someone help me to explain what these are to another person?
|
When I was working as a website designer/engineer I primarily used databases for storage of much of my dynamic data. It was very easy and convenient to use this method and seemed like a standard practice from my research on the matter. I'm now working on shifting away from websites and into desktop applications. Wha... |
I'm looking into real-time web applications using websockets and node.js. I'm interested to see what are some technical challenges with scaling such a setup.
One such problem I've heard is that each socket requires a Unix file descriptor, and epoll/select takes time linear to the number of open file descriptors.
Anyone... |
I'm writing an experimental iPhone app to learn about the MVC paradigm. I instantiate my Model class in the ViewController class. Is this stupid?
I'm asking because storing the id of the Model class, and using it works where it's initialized, but referring to it later (in response to an interface action) crashes.
Seem... |
The same question goes for | and ||.
Why would one overload or 'use' the & and && operator? The only use i thought of are
Bitwise Ands for int base types (but not float/decimals) using &
logical short circuit for bools/functions that return bool. Using the && operator usually.
I cant think of any classes that use tho... |
One of the major regrets in life is that I didn't do something with my introversion. I didn't manage to get past the first year of college because of that. I have chosen the path where there are no video games and other time sinks, all I have is the internet to quench my thirst of learning the ins and outs of the field... |
I am looking to start an experimental project using a functional language
and am trying to decide beween Erlang and Haskell, and both have some points
that I really like.
I like Haskell's strong type system and purity. I have a feeling it will make it easier to write really reliable code. And I think that the power o... |
In our development group there is currently discussions around agile and waterfal methodology. No-one has any practical experience with agile, but we are doing some reading.
The agile manifesto lists 4 values:
Individuals and interactions over processes and tools
Working software over comprehensive documentation
Cu... |
What is the best way to implement this:
1.iphone/webBrowser user selects some products (a,b,c) to buy
2.the chosen products most appear on the iPad located in the Store. using a UITableView perhaps.
3.The store staff then decide if the products are available in 10, 20 or 30 minutes for pick up.
4.When the store staff ... |
I try to teach myself a new programming language in regular intervals of time. Recently, I've read how Lisp and its dialects are at the complete opposite end of the spectrum from languages like C/C++, which made me curious enough to know more about it. However, two things are unclear to me, and I'm looking for guidance... |
When designing an API, consistency often aids usability. However, sometimes they conflict where an extra API feature can be added to streamline a common case. It seems like there's somewhat of a divide over what to do here. Some designs (the Java standard library come to mind) favor consistency even if it makes comm... |
I've been developing Java EE web apps with Eclipse for about a year. My employer doesn't use Maven, but the more I read about it, the more convinced I am that Maven + Hudson will be greatly beneficial for us. First, though, I have to become comfortable with those technologies in my spare time, so that I can create a pr... |
I am working on a product that I don't feel is completely ready but I have a set of users that are very interested in using it now as "alpha" testers. I would like to give them the product now for free as "alpha" testers, but I would like to later license the software.
Is this possible? Can anyone point me to any lin... |
Every once in a while I'm asked in interviews which I like the best- low level or high level. It seems to me that the implicit message is that they are both a specialty and they want to know which direction I'm heading. The trouble is, I seem to like both. Low level is extremely challenging and often requires a great d... |
Is it possible to programmatically trigger the Windows's Hibernate without actually Hibernating, just to take snapshot of the OS at regular intervals? So that the system can return to the previously saved state in case of any failure.
This is much like System Restore, which backups system files; but the idea is to back... |
I have been into freelance business for more than 2 years. While doing projects for other people, I've build a compilation of common tasks that I implement in projects and put them into code. It's kind of a library with some functions that I can reuse without having to rewrite the same thing dozen times. I'm talking ab... |
There are times when just one bug that keeps eating away your time like hell ... for example this one. I generally end up wasting hours and realize I've gone terribly behind my schedule and not completed other tasks. With n number of tabs open in the browser, I end up posting the question in stackoverflow as a last res... |
Just ran across this, and wondering if anyone has a way to prove or disprove this statement:
Something to keep in mind ... what's
the half-life of knowledge in high
tech? It tracks with Moore's Law: half
of everything you know will be
obsolete in 18-24 months.
SOURCE: Within answer by Craig Trader to this que... |
Do the following scenarios count as "reinventing the wheel" in your book?
A solution exists, but not in the language you want to use, and existing solutions can't be interfaced with the language you want to use in a clean, idiomatic way.
In principle you could get an existing library to do what you wanted with heavy m... |
There are a lot of great explanations for what the Model-View-Controller design pattern is, but I am having trouble finding good resources showing how to use it in practice.
So, when you are starting a new application (doesn't matter what it is), what is in your toolbox?
For example, it was suggested that using UML col... |
I know this is a very basic question, but I sometimes find myself struggling to figure out when to split a single object method into multiple methods. For example, I am trying to set up an ACL using Zend_Acl and Zend_Auth, as shown in this tutorial: http://devzone.zend.com/article/1665. However, I am wondering if the... |
In order to view system performance, I have been asked by management to give page response times for a few key pages. I want to make sure I am giving a good picture of the overall health of the system, and not just narrowing in on a single measurement.
So my question is: When developing software, what metrics would you... |
In theory, customers should be able to feel the software performance improvements from first-hand experience.
In practice, sometimes the improvements are not noticible enough, such that in order to monetize from the improvements, it is necessary to use quotable performance figures in marketing in order to attract custo... |
Do we have to learn Mathematics to be a good Programmer?
|
I'm reading a chapter on jQuery in a ASP.NET book. To be honest I'm finding it quite boring.
How important is it to learn jQuery? And do many ASP.NET developers use it for their pages?
Regards
TDG
|
First of all, I apologize if this is the wrong section of network to post this question. If it is, please feel free to move it to more appropriate location...
Question: I would like to hear your ideas regarding the ways of open source projects being started and run. I have an open-source content management system proje... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.