|
|
| Programming Discussions about computer programming |
08-08-2012, 08:30 AM
|
#4951
|
|
King of the sidebar
Join Date: Sep 2004
Location: Northern Virginia
Posts: 15,997
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Check the ISP's specs for what kind of modems you need, and get one that matches.
That's what I did, to go buy one at Best Buy instead of renting one forever and paying way more in the long run.
|
|
|
08-08-2012, 09:41 AM
|
#4952
|
|
veteran
Join Date: Sep 2004
Posts: 2,848
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Really depends on how your ISP is setup. If they support docsis 3.0 then you should definitely get a docsis 3.0 modem, both the Arris and Motorola are good choices.
I don't know the exact details of how it works. It lets your connection bind to more channels which in return could potentially give you more speed if your ISP overloaded the nodes in your area.
In my case my ISP is advertised as 15mb/2mb for their basic plan. For years I was getting 8mb/2mb and it never went faster. It also dropped to 1-3mb/2mb very often during prime time and sometimes even during the day. After asking them to switch to a D3 modem I started to get 23mb/2mb speeds all the time.
It's not a magic bullet though. You need good signals to get reasonable speed too. Signal levels could deteriorate over time. It might even just be that a splitter went bad, that could give you abnormally low speeds 24/7. Your ISP should be able to fix any signal issue for free. If not find a new ISP because they are garbage.
|
|
|
08-08-2012, 10:40 AM
|
#4953
|
|
Carpal \'Tunnel
Join Date: Aug 2004
Posts: 7,213
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Quote:
Originally Posted by Ryanb9
Wait what is wrong with 'else'? I dont understand your argument against it.
|
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
Quote:
Originally Posted by daveT
Code:
if: <code>
else: pass / lone comment / whatever
<never code here>
That the above is even suggested or up for debate is out-right strange to me, and I think that this is plain wrong that people would seriously resort to this for readability on something so fundamental to programming.
|
no one suggested this
|
|
|
08-08-2012, 03:56 PM
|
#4954
|
|
Carpal \'Tunnel
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 39,952
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Quote:
|
Glad you enjoyed it. I started watching the one in infoq, but the youtube one is much better and to the point.
|
Even motivated me to untangle some code today!
|
|
|
08-08-2012, 10:24 PM
|
#4955
|
|
old hand
Join Date: Jul 2010
Posts: 1,211
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Brag: The web site I launched last week for the app I've been building is on the front page of builtwithbootstrap.com right now.
It's LPology, the one with the horrible looking screen shot. (note to self: text shadows look awful in a quick, untouched screen cap)
Also, you guys mind checking it out and telling me what you think? It's a little light on content at the moment, I didn't really expect any traffic at this point. But, I'd love some outside opinions since I basically develop in a vacuum.
Any and all opinions, criticism (especially), thoughts, etc. are very much appreciated.
|
|
|
08-09-2012, 11:39 AM
|
#4956
|
|
veteran
Join Date: Mar 2007
Location: Shoving AK
Posts: 2,839
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Personally, I have never been a fan of the default bootstrap nav bar. I also think that the menu items in the nav bar look a bit odd right in the centre of the page (on my screen anyway).
The rest of the site looks good. Yes, content is low, but this is not always a bad thing, and the design is very clean.
|
|
|
08-09-2012, 12:04 PM
|
#4957
|
|
adept
Join Date: Nov 2006
Location: Tunica
Posts: 1,038
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Kyleb, from a programming standpoint, how do you like your MBP retina?
|
|
|
08-09-2012, 02:06 PM
|
#4958
|
|
Carpal \'Tunnel
Join Date: Oct 2004
Location: taking notes on u (see profile)
Posts: 11,992
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Quote:
Originally Posted by MrWooster
Personally, I have never been a fan of the default bootstrap nav bar. I also think that the menu items in the nav bar look a bit odd right in the centre of the page (on my screen anyway).
The rest of the site looks good. Yes, content is low, but this is not always a bad thing, and the design is very clean.
|
I like the bootstrap nav.
sdturner, I think the site looks clean and professional.
|
|
|
08-09-2012, 02:17 PM
|
#4959
|
|
old hand
Join Date: Feb 2010
Location: ( ͡° ᴥ͡°)
Posts: 1,829
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
http://www.ericsink.com/entries/vcbe...tion_free.html
If anyone wants a free hard copy book on version control, this guys shipping them out. Got mine after about a week. Might make for some light bathroom reading xD
|
|
|
08-09-2012, 02:46 PM
|
#4960
|
|
Carpal \'Tunnel
Join Date: Sep 2004
Location: Seattle
Posts: 38,076
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Quote:
Originally Posted by Tim Brice
Kyleb, from a programming standpoint, how do you like your MBP retina?
|
It's an overexpensive machine that runs a questionable Debian fork (given all the problems I'm having with it, anyway). I'm happy it was free. I would never spend the money they are asking for this machine.
|
|
|
08-09-2012, 05:22 PM
|
#4961
|
|
S.A.G.E. Master
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 16,986
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
This should be a longer post describing my reasoning. I'm currently about 70% done building this website. It's strange to write this: I don't get the appeal of web-development at all.
The concept, as far as I know, doesn't exist anywhere on the web, so it should be a pretty good business idea.
The stack:
Maven (Apache)
PostgreSQL
Clojure
So, with a decent idea and an interesting stack, I would have thought I would truly enjoy building this thing up, but no, I hate it.
It puts me in a weird mental place because if I take one step further, I can now understand web-dev companies that just use some drag-and-drop CMS templates and call that web-dev, which means that it's all about making money doing stuff you hate for a paycheck. I can't reasonably exist in a world like that, so I still fail to understand that mentality, however, it's almost like I can have empathy... nah, **** that; they suck.
*To clarify, this site is for me, not for someone else.
|
|
|
08-09-2012, 05:25 PM
|
#4962
|
|
Carpal \'Tunnel
Join Date: Sep 2004
Location: Seattle
Posts: 38,076
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Quote:
Originally Posted by kyleb
It's an overexpensive machine that runs a questionable Debian fork (given all the problems I'm having with it, anyway). I'm happy it was free. I would never spend the money they are asking for this machine.
|
But the retina display is ****ing awesome. I will say that much. TN panels can't go away soon enough. Worth reading:
http://www.codinghorror.com/blog/201...evolution.html
|
|
|
08-09-2012, 05:29 PM
|
#4963
|
|
Carpal \'Tunnel
Join Date: Sep 2004
Location: Seattle
Posts: 38,076
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Quote:
Originally Posted by daveT
This should be a longer post describing my reasoning. I'm currently about 70% done building this website. It's strange to write this: I don't get the appeal of web-development at all.
The concept, as far as I know, doesn't exist anywhere on the web, so it should be a pretty good business idea.
The stack:
Maven (Apache)
PostgreSQL
Clojure
So, with a decent idea and an interesting stack, I would have thought I would truly enjoy building this thing up, but no, I hate it.
It puts me in a weird mental place because if I take one step further, I can now understand web-dev companies that just use some drag-and-drop CMS templates and call that web-dev, which means that it's all about making money doing stuff you hate for a paycheck. I can't reasonably exist in a world like that, so I still fail to understand that mentality, however, it's almost like I can have empathy... nah, **** that; they suck.
*To clarify, this site is for me, not for someone else.
|
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.
|
|
|
08-09-2012, 05:33 PM
|
#4964
|
|
Carpal \'Tunnel
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 39,952
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Good think it's in Clojure. If you ever decide to turn it into a business you'll attract plenty of good people imo
|
|
|
08-09-2012, 06:30 PM
|
#4965
|
|
S.A.G.E. Master
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 16,986
|
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
Quote:
Originally Posted by kyleb
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.
|
Yeah, the front-end is pretty minimal, and back-end is sort of MVC with a mind for extensibility. I would gladly use something like Drupal, but at least in my experience with it, once you make certain decisions, you're sort of married to to them, and this would be very bad assuming certain other needs would want to be met. I really want full control of the database and how it integrates with the code logic. If I was a CMS expert, I would probably think what just I wrote is plain silly, but for now, I don't like fighting through the abstraction barriers.
The front-end stuff is sort of irritating and sort of neat at the same time because the HTML on the page can only be generated through pre-processing, thus you wouldn't be able to say, create a front-end in notepad++ or Dreamweaver push it into Clojure and display the raw HTML on the screen.
Here's an example from my base:
Code:
(defpartial what-we-do []
[:div#article
[:h2 "The Philosophy"]])
The above is equivalent to include files in PHP. I could toss in a vector-map of arguments or pass in a function as arguments and have this one piece represent unlimited pages.
Code:
(defpartial what-we-do [arg1]
[:div#article
[:h2 arg1]])
The following is not legal:
Code:
(defpartial what-we-do []
<div id=article>
<h2> "The Philosophy"</h2>
</div>)
Since I am dealing with a simple front-end, there isn't too much to worry about in regards to integrating CSS. I just run it through SASS and that seems to take care of most of the BS for me, though I've yet to test it in IE7 and IE8. I really don't like bombast on websites, so the clean front-end isn't gong to require much CSS beyond the basics.
****
As for the code-base itself. I find that I have the most fun refactoring. It's
pretty amazing how quickly 200 lines can get wrapped up into like 40 lines, or simply changing a page layout or navigation interface can slice off 100 lines of code. Creating extra namespaces to separate the logic of the program parts is also a lot of fun. So, it's unfair to say that I don't enjoy the project, I just don't enjoy the website part of the project, if that makes any sense to you. I always think to myself: "How can I make sure this whole thing is only 200 lines of code?"
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:44 PM.
|