464 reputation
25
bio website gregmaclellan.com
location Canada
age 33
visits member for 3 years
seen Aug 29 at 17:43
Professional software developer since 2000. Have worked on many open-source projects, and am currently employed as a senior web application developer.

Apr
14
awarded  Yearling
Apr
11
comment Creating nested functions for purely aesthetic reasons?
Sorry good point, I got caught up in the other benefits that I forgot to address that part. :) Edited.
Apr
11
revised Creating nested functions for purely aesthetic reasons?
added 1248 characters in body
Apr
11
answered Creating nested functions for purely aesthetic reasons?
Feb
11
comment Things to consider for inviting and restricting users to a beta website
So long as your token contains non-verifiable data, it is security by obscurity ("decrypts successfully? must be legit!"). Don't get me wrong, this may be "good enough" for your case. But to answer your question: it's not all that secure, and there is a better way (as I outlined).
Feb
11
answered Things to consider for inviting and restricting users to a beta website
Feb
11
comment Include GPLv2 licensed data in MIT licensed project
..unless the holder of the license is able and willing to grant you an exemption or release the data under a more permissive license (compatible with MIT) or a dual-license. You can always ask, you never know. Many people choose their license based on what is common in their community/ecosystem, rather than deeply-held viewpoints of FOSS licensing.
Feb
7
comment How to line-break an email address?
@FEichinger Added some thoughts about always showing the part after @ .. Tough without context to get too much deeper. Are the e-mail addresses (or domains) typically known to the person viewing, as would be the case within an organization or social network? If not, then I can see the importance of showing the domain. Maybe a better question is simply: why are you showing the e-mail address? What will the user do as a result of seeing it? Without more context on your situation it's hard to make specific recommendations.
Feb
7
revised How to line-break an email address?
added 593 characters in body
Feb
7
comment Data Model for selling groups of products as one product
What you're doing sounds not unlike most designs for any kind of ordering/invoicing system, in that each line item on the invoice will typically contain all details of the original product being sold in addition to the product_id (eg, you copy the price, description, SKU, etc). This is so you can later generate the same invoice, even if the price or anything else has changed since the original sale. Take a look at the Northwind sample database for an example of Order->Order details->Product schema. You can probably use that design as a basis for yours.
Feb
7
answered How to line-break an email address?
Feb
6
comment Choosing the right Design Pattern
+1 for "solution looking for a problem." Knowing the patterns will allow you to skip the natural discovery of them when it turns out you need to solve a problem they happen to solve. Learning about them will probably help improve your coding and design skills, in the same way that reading other people's code or learning another programming language does. But you most definitely should not be actively trying to "fit patterns in" to your code.
Feb
5
comment Difference between Software Engineering and IT?
To add: A company that produces software as part of its offering (whether they directly sell it, or it's embedded in a physical product they sell) will tend to have a separate Product Development department (that does software engineering). Any company may also have software developers within their Internal IT department, who are building systems for internal use (whether by the IT group for operational support, or internal financial systems, etc). A company that only has developers in IT is obviously more likely to just call it all "IT".
Feb
5
awarded  Yearling
Feb
5
comment Best way to hide API key in source code
@svidgen Very good point, I added a section discussing that. Thanks.
Feb
5
revised Best way to hide API key in source code
added 746 characters in body
Feb
5
answered single table w/ extra columns vs multiple tables which duplicate schema
Feb
5
awarded  Teacher
Feb
5
awarded  Editor
Feb
5
revised Best way to hide API key in source code
added 348 characters in body