Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Other Topics > Programming

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 08-09-2012, 06:31 PM   #4966
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 16,809
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by clowntable View Post
Good think it's in Clojure. If you ever decide to turn it into a business you'll attract plenty of good people imo
Yes, this is hopefully a good plus, but considering I'm the one creating it and I would never hire myself to create this site....
daveT is offline   Reply With Quote
Old 08-10-2012, 03:52 AM   #4967
Carpal \'Tunnel
 
Join Date: Aug 2004
Posts: 7,156
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by greg nice View Post
there was no argument against else. my question was, when the entire if/else block takes up the full function block, should i just remove the else and just return in the 'if' part.

this SO post asks the same thing (shouldve searched there first):
http://stackoverflow.com/questions/9...f-if-else?lq=1
also
http://c2.com/cgi/wiki?GuardClause
http://c2.com/cgi/wiki?HandleErrorsInContext

Last edited by greg nice; 08-10-2012 at 03:58 AM.
greg nice is offline   Reply With Quote
Old 08-10-2012, 01:24 PM   #4968
Ivan Drago's homeslice
 
sylar's Avatar
 
Join Date: Dec 2006
Location: Zinatula fan club
Posts: 16,833
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Hunting down outliers in your dataset is such god damn fun!!!
sylar is offline   Reply With Quote
Old 08-10-2012, 01:29 PM   #4969
Carpal \'Tunnel
 
kyleb's Avatar
 
Join Date: Sep 2004
Location: Seattle
Posts: 37,879
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Is it still that thing with the thing?
kyleb is offline   Reply With Quote
Old 08-10-2012, 01:50 PM   #4970
Ivan Drago's homeslice
 
sylar's Avatar
 
Join Date: Dec 2006
Location: Zinatula fan club
Posts: 16,833
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Nah, that was a different outlier.
sylar is offline   Reply With Quote
Old 08-10-2012, 03:47 PM   #4971
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 16,809
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by kyleb View Post
External web dev is pretty infuriating; I hate front-end stuff. Roles that I've always flourished in are developing internal tools for data-related applications, because you generally don't have to worry about dumb stuff like tweaks to CSS. Most business units just want a decent access portal to analytics and/or data, and if you can solve 80% of their problems with simple work (which you generally can), they love you.

It's overcomplicated by the fact that most people want way more than is necessary. WordPress solves literally 95% of all demands on the web, yet everyone wants their own custom CMS or whatever bull**** nonsense they don't need. I worked at a lead generation company where we migrated away from PHP4 to Java (wtf) because they wanted an "enterprise-level" solution; they used Grails (lol) for the internal tools packages. It was a goddamned mess, and our biggest competitor was using WordPress and crushing us.
I want to re-respond to this because it's a great post and I gave a non-answer the last time because I didn't want to go into religious reasoning. I only said that I rather get my own hands dirty and I feel that using a CMS (Drupal) would create too much difficulty because apparently I am a special snowflake. I can fully accept that the issue is my own inexperience and lack of patience. The way you describe the mess, I have to admit is sounds bad, and if I recall, you mentioned a while ago about working for a company in the Seattle area that is infamous for doing something...?

As far as WP goes, I have found myself suggesting people use it to build their own sites, but I always get the same answer: "WP is a blogging software, I'd rather use this program I'm using now: never mind that it's incompatible with any web host and has zero documentation or community support," which I explain to them to look at WP's main site and look at all the credit card and paypal plug-ins. I'm not saying it's easy to use, but if someone insists on building their own site, I would much rather suggest WP over Mount Drupal or Magento, with it being XML-based and all.

What I meant by my comment is this: I don't understand companies that can only use WP and then just use drag-and-drop UI to create everything. I think this smacks of un-professionalism, and yes, although I think doing this on any level is dishonest, at least, for the most part, they aren't charging more than $5,000 for a project. Sure, you won't see your site for about 6 months and it will probably suck, but at least they're somewhat honest in this regard.

A while back, I was researching a web-dev company here in Los Angeles, and I found it appalling that 85% of the companies I found were exactly what I just described, and many of them were charging something closer to $30,000.

I fail to understand why anyone would bother going to school for 4 to 6 years and then enter into these sorts of companies or specialize in CMS-based websites. Although I am dismissing a group of highly skilled developers with that comment, it's astounding that after all the interesting things you'd (hopefully) learn about computers and programming, that any sane person would want to sit down do stuff that superficially reflects programming. It would stand to reason then, that RoR, C#, and Django companies generally attract better developers because, although I am sure each company has a default CMS, each of those CMS's, as well as the front-end, is customizatable.

Have you ever heard of Agile Development in Word Press?

As far as a custom CMS, I don't know exactly what to make of that. I know some companies would prefer to switch around their site as they please, but I honestly think that allowing a customer to do this is really bad. Many of the sites I examined looked like Picasso drawings with all the different fonts, variable-styled bullet points, div sizes, and other muck they managed to put on the site. I am speaking not only from my research in web-dev houses, but also at the company I currently work at. I think that my, and everyone's, life at this company would be much easier it updating the site was three steps: Make the appropriate changes to a CSV, drag-and-drop the images to an FTP, upload the CSV. Boom: 300 updates complete in 1/2 day.

Even though PHP seems to be the bastard child of the web and reviled by many, I personally don't give a two craps what anyone uses for anything: just use a) what your comfortable with, b) the best tool for the job, and c) understand that a) and b) are non-inclusive.

As far as using Grails / JVM, I can understand a decision like this -- but not this one -- if they were actually deploying JVM-based products to desktop apps for enterprises. As I understand it, the whole point of these new-fangled JVM languages is to create enterprise-compatible programs that can be deployed with little resistance because so many companies use JVM for various reasons. But to rebuild a site like this does seem really stupid. But then again, so doesn't Oracle, SAP, Peach Tree, et.al. Why bother when you can just use LAMPP? The only difference is, that it sounds like your company just went into the new direction based on religion and not on business logic. Why would anyone rewrite their site in brand-new, untested, and unpopular language and framework?

I do agree that data-backed programming is more enticing and interesting: it's a good balance. I suppose though, that a good house will have a strong separation of duties. Unless someone wanted to come work on this site: I would just tell them to rewrite the whole thing and be glad they have a job. j/k.
daveT is offline   Reply With Quote
Old 08-10-2012, 03:51 PM   #4972
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 16,809
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

This is a really good read. Actually shows the else / comment idea I mentioned, but also touches on pushing things out into a separate function, etc....

http://programmers.stackexchange.com...ad-programming
daveT is offline   Reply With Quote
Old 08-12-2012, 05:06 AM   #4973
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 39,766
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Don't want to clutter up the other thread but since Erlang was mentioned as a web development language (I agree FWIW) has anyone investigated the available options?

I haven't gotten much further than reading a couple of stackoverflow posts. Seems like the frameworks to chose from are Erlang Web (the notion of it being JAVA enterprisey is a prett big red flag for me) and Chicago Boss (which kind of seems like one dude doing his thing but seems better suited for me). EarlyWeb seems to be abandoned since the dude went to Facebook, Nitrogen is mostly frontendish stuff but I've read only good things about it.

Mochi Web isn't an entire framework but probably a good starting point.

Yaws as a webserver just to mention it.

I guess cliffnotes..I'd just pick Chicago Boss hope for the best and hack away :P
clowntable is offline   Reply With Quote
Old 08-12-2012, 11:03 AM   #4974
Retired
 
Zurvan's Avatar
 
Join Date: Apr 2005
Location: On the front porch, yelling at kids
Posts: 32,269
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Just because you use a CMS as the basis for web development doesn't mean everything you're doing is mindless drag and drop. All it means is that you've taken away a lot of the repetitive drudge work of web development (eg, filtering for security, templating). The actual interesting parts of the development - creating the unique solutions for this client - are still there.

If all you're doing is creating yet another marketing website, then there's nothing interesting there, no matter what system you use. You want to get it done as quickly and cheaply as possible to better serve the client - and focus your time and effort on the things the matter to them (the design) and provide them with an easy-to-use editing interface.
Zurvan is offline   Reply With Quote
Old 08-12-2012, 11:38 AM   #4975
veteran
 
Join Date: Sep 2004
Posts: 2,814
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I always thought the term CMS was pretty strange. By definition it's a content management system but when you use a CMS you're not just managing your content. You're managing and creating your entire site's functionality and output.

It seems like a mistake to me to try and use a CMS to mold your entire site because you'll spend a lot of time working within the limitations of the CMS and to do anything semi-custom you have to learn something that's only applicable to that specific CMS (little value in the grand scheme of things).

Also when you start really tinkering with stuff because "hey, my CMS is good, it lets me manually do whatever I want" then you lose the entire appeal of what a CMS does because it's no longer this generic thing that lets you mix and match plugins/modules anywhere. Now it's highly tuned to your specific site and is unusable anywhere else without modification.
Shoe Lace is offline   Reply With Quote
Old 08-12-2012, 12:17 PM   #4976
Pooh-Bah
 
Join Date: Jul 2005
Posts: 4,001
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Of course sometimes it's a mistake to use a CMS if you need a lot of custom functionality.

The whole point is that 100-X% (where x is small for some definition of small) of websites on the internet don't need anything more than a plug and play CMS that can run on a $5 a month shared hosting platform and therefore rolling your own takes longer, costs more money and likely has no measurable upside.
Neko is offline   Reply With Quote
Old 08-12-2012, 01:41 PM   #4977
Carpal \'Tunnel
 
Join Date: Aug 2004
Posts: 7,156
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Shoe Lace View Post
Also when you start really tinkering with stuff because "hey, my CMS is good, it lets me manually do whatever I want" then you lose the entire appeal of what a CMS does because it's no longer this generic thing that lets you mix and match plugins/modules anywhere. Now it's highly tuned to your specific site and is unusable anywhere else without modification.
but the same holds true when you build it yourself. except with a CMS you've saved yourself 90% of the development time
greg nice is offline   Reply With Quote
Old 08-12-2012, 03:19 PM   #4978
veteran
 
Join Date: Sep 2004
Posts: 2,814
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by greg nice View Post
but the same holds true when you build it yourself. except with a CMS you've saved yourself 90% of the development time
Can you give me an example of a type of site you would use a CMS for? Make sure to list out each feature you want, the type of content it will contain and how you plan to edit/manage the site.

This will be a fun experiment.
Shoe Lace is offline   Reply With Quote
Old 08-12-2012, 05:24 PM   #4979
Pooh-Bah
 
Join Date: Jul 2005
Posts: 4,001
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I have a small martial arts dojo that I want to make a website for. The features it needs are:

- a landing page with some basic information about dojo
- pages outlining the classes available at my dojo
- profile pages of my instructors
- contact page including directions and a map to the studio (using google maps)
- photo gallery that i can add videos and photos to of our tournaments and practices
- calendar of events page that lists upcoming and past events

I need to be able to edit the site myself using an online editor as the class descriptions change fairly often, we have teachers coming and going etc.
Neko is offline   Reply With Quote
Old 08-12-2012, 06:04 PM   #4980
veteran
 
Join Date: Sep 2004
Posts: 2,814
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Do you happen to be a martial arts expert who owns his own dojo and is also technically capable of buying a domain, figuring out what hosting you need and have a lot of experience working with your CMS of choice because that doesn't really seem like the norm.

Most people who want a web site and aren't developers themselves have no idea how to do any of that. That is why they are hiring you. I also feel like if you just threw a random person at the WP admin panel and told them here's how you update your site they would be lost even with an hour or 2 of training, they will constantly be calling or e-mailing you asking how to do stuff.

I have given back ends for some clients that were dead simple. At least on par with the difficulty of sending a plain text e-mail. They asked for the feature of being able to update their site and even with it being so easy to update they still don't do it. You think those people will want to touch WP's admin panel or another CMS?

How long would it take you to get that site up and running with a CMS with all of the features working and looking exactly how you want them to?

Assume that you already have a host setup and you're working with a blank slate here. You need a design, a way to implement it into a theme or are you just going to use a free theme that 750,000 other people are using and finally you need to get all of the features in.

Are you restricting any feature functionality or how things look based on what the CMS provides? What if you were given just a PSD of the design and were asked to supply all of your features into a working product, how much time does this add?

Will any of your choices allow you to create similar but not identical sites quicker? If so, list them along with the reason(s).
Shoe Lace is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 02:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive