Open Side Menu Go to the Top

01-29-2014 , 12:00 PM
I haven't yet, although reading their most recent release notes I'm tempted to. Before this I just always felt it wasn't developed enough to be able to use for real development work and I wasn't willing to put the time into an IDE I wouldn't actually be able to use.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
01-29-2014 , 04:11 PM
daveT,

I mainly use it for real-time'ish documentation because its code analysis is superb. It saves so much time not having to google a method's signature or the name of some function that you kind of know but aren't sure.

One killer feature for me is how it also handles file relations with popular python web frameworks. For example if I'm in a template file I can press a hot key which switches me to the python code that called the template. It also works the other way around. Not revolutionary in the slightest bit but there's 50 similar features that add up to a sick experience.

The refactoring is really good too. Today I drastically changed my app's folder structure and all I had to do was move the folders and files around in the IDE's project explorer. It took care of changing all of the imports and changing any dependencies on the old paths.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2014 , 07:30 PM
anyone upload 2p2 hand evaluator to somewhere please? link is dead on codingthewheel
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 10:32 AM
Quote:
Originally Posted by Nchabazam
Anyone know a bunch about SEO? Basically, I enjoy building single page apps. Seems like there was a pattern of redirecting the google bot to static snapshots of rendered HTML for indexing these types of sites. A few sites do this for cheap.

Any downside to this method if the pages aren't being updated too often? Probably not a good solution for a forum or something.
From what I understand this is pretty common. If you're worried about the static HTML pages getting out of date – you can always attach something like Casper/phantom to your app and have it spit out a new static HTML once a day or once an hour, etc.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 10:39 AM
Quote:
Originally Posted by muttiah
Don't think an IDE is necessary for a first/second course. You can do everything with command line. Standard library is well documented. You don't gain the benefit of IDE until reaching a large scale project. Student should learn how the language compiles/links and executes. Definitely doesn't hurt to learn a bit about the JVM in a first Java course.
This. It's always frustrating when you tell a junior developer they need to debug/customize their path/classpath/compile process/deploy/jar/whatever – and they just give you this blank look because they can't do anything without eclipse. You should definitely know what's going on under the covers.

I'm not saying don't use IDEs, but don't rely on them entirely either.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 11:24 AM
Quote:
Originally Posted by Shoe Lace
daveT,

I mainly use it for real-time'ish documentation because its code analysis is superb. It saves so much time not having to google a method's signature or the name of some function that you kind of know but aren't sure.

One killer feature for me is how it also handles file relations with popular python web frameworks. For example if I'm in a template file I can press a hot key which switches me to the python code that called the template. It also works the other way around. Not revolutionary in the slightest bit but there's 50 similar features that add up to a sick experience.

The refactoring is really good too. Today I drastically changed my app's folder structure and all I had to do was move the folders and files around in the IDE's project explorer. It took care of changing all of the imports and changing any dependencies on the old paths.
Sounds pretty cool.

I thought you were a Rails guy now days.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 11:25 AM
Thanks, suzzer.

seems like the wire on my PC connecting the hard drives and MOBO melted after my power cut off last night. Boo.

Any gamers in the house who can suggest the biggest and baddest CPU/mobo right now? I have a GTX690 (good graphics card), SSD and good CPU cooler.

Most of my other stuff is old and I like upgrading.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 12:38 PM
www.jekyllrb.com seems like a cool blogging platform. www.yearofmoo.com uses it to serve static pages from S3 and consume them using angularjs.

Seems like a good solution using the phantomjs/static page generation method of indexing static pages and integrating a blogging platform into a 1 page app for SEO purposes.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 12:52 PM
i love the design of the jekyll site itself, and i'm sure it's well done since github uses it, but it seems too complicated for something selling itself on simplicity.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 01:47 PM
So I've begun an internship at a startup and I'm working on front-end stuff that's using python, angular JS, and LESS bootstrap. The python I have a handle on, but I'm a JS noob (and angular just makes that much more complicated) and only have a rudimentary grasp of CSS (no experience with bootstrap or LESS specifically). Can anybody help point me to some good resources on getting up to speed with these? Unfortunately they're so busy there that nobody can really sit down with me and walk me through them, they'll have to be self-taught. Thanks.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 01:49 PM
Quote:
Originally Posted by Lattimer
So I've begun an internship at a startup and I'm working on front-end stuff that's using python, angular JS, and LESS bootstrap. The python I have a handle on, but I'm a JS noob (and angular just makes that much more complicated) and only have a rudimentary grasp of CSS (no experience with bootstrap or LESS specifically). Can anybody help point me to some good resources on getting up to speed with these? Unfortunately they're so busy there that nobody can really sit down with me and walk me through them, they'll have to be self-taught. Thanks.
http://egghead.io/ is a good place to get started for angularjs.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 03:51 PM
Dave,

I am but I've gotten to the point where I feel like I am productive with it. I don't just learn stuff and then never use it, I'll continue to use it when it makes sense.

I just wanted to take a peek at django, I feel like I always learn a valuable lesson after spending some time with something new.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 11:19 PM
Yeah, there's a Django meetup out here and I've been meaning to go. Interested in learning more about it, ot least what it is.

I've read so much about how learning language X or framework Y will teach you some unnamed Z, but perhaps I'm seriously stupid since I don't recall experiencing this sensation with any language. I sort of just think of stuff as components. At the end of the day, it is all data exchange with a different flavor.

Learning how to build a server was so different from anything else that yeah, I gained quite a bit of insight into Linux, the web, and other ideas. Not sure what language would really upset my world-view where I feel that the effort to learn it will be offset by some glorious insight into programming. I can do a bit of C and I've been learning x86, but nothing about programming languages blow my mind these days.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2014 , 11:54 PM
I'm updating a crappy static HTML template for someone and the contact form doesn't seem to work. I'm not a coder and only know very basic HTML stuff. If anyone is willing to take a gander and fix it for me, I'd be very grateful. It doesn't "submit" or do anything. Ideally I'd like a "Thanks, we'll get back to you shortly" to replace the form (would settle for a forward to another page entirely if that's easier) once the form is submitted. Don't see a place to enter the receiving email in the PHP either.

Here's the HTML for the form itself and the PHP code for the mailer: http://speedy.sh/k8N63/mailer.rar (Click mailer.rar at the top near the stars)

Last edited by Phresh; 01-31-2014 at 12:00 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-31-2014 , 09:01 AM
Quote:
Originally Posted by Lattimer
So I've begun an internship at a startup and I'm working on front-end stuff that's using python, angular JS, and LESS bootstrap. The python I have a handle on, but I'm a JS noob (and angular just makes that much more complicated) and only have a rudimentary grasp of CSS (no experience with bootstrap or LESS specifically). Can anybody help point me to some good resources on getting up to speed with these? Unfortunately they're so busy there that nobody can really sit down with me and walk me through them, they'll have to be self-taught. Thanks.
For CSS, get the hang of using Chrome inspector (F12) and click the magnifying glass and inspect elements. It's a really useful tool for working with and learning CSS.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-31-2014 , 06:31 PM
Any good programming podcasts you guys listen to? Both from a technical/learning aspect as well as entertaining / keeping up with general trends?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-31-2014 , 07:25 PM
I think http://thechangelog.com/podcast/ is a popular one but I don't listen to it personally.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-31-2014 , 07:42 PM
ruby rogues podcast has some good eps
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-31-2014 , 11:52 PM
What is the cost / benefit of storing images / css / js / etc on an external server?

I've been trying to research this, but I've come up empty-handed. I've only read some stuff about how people do this, but I can't find anything convincing about why. Some claims appear to be for speed, and I guess it would be partly for security assuming someone can upload malicious files and I don't have the talent or know-how to prevent this.

I first saw this about 2 years ago when some web dev company sent over a project sheet. They used external storage for images on AWS. When considering a server, one blogger talked about using one droplet (slang for "server" in Digital Ocean) for the main content and another droplet for external resources.

I'm thinking of one interesting aspect in my case. I use .jar files which, unless I program the upload-paths into the site itself, aren't conducive for quickly adding one-off photos or changing CSS files.

So there appears to be a few pluses -- easier deployment and perhaps security -- to storing externally, but I seriously doubt the speed claims.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-01-2014 , 01:44 AM
Anyone going over the edx intro to probability? I need a review of it before fall semester.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-01-2014 , 02:28 AM
Wonderful quote from Jim Coplien:

Quote:
Imagine that you could write methods for an interface in Java. What's the type of "self"? Well it's generic. It will take on the type of whatever the derived class object is. But of course I can't do this in Java. Java is a toy scripting language. You *cannot* do object-oriented programming in Java.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-01-2014 , 07:01 AM
Am I having a brainfart or isn't that what abstract classes are for?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-01-2014 , 09:40 AM
Dave,

The speed part definitely comes into play if you host your static files on a CDN. It might take 70ms to go across the US, or even 200-300ms to go half way around the world.

Imagine your droplet is hosted in NY but you have a visitor coming from Sweden or California. To serve your 200kb compressed JS file it has to travel thousands of miles. If your JS was hosted on a CDN then there's a very high chance the file was served within a few hundred miles. Amazon has CDN locations all over the world.

I guess it's not a big deal until you're at massive scale where going from 200ms to 30ms to serve an initial static asset results in a big boost in money but setting up your code to use a CDN is not too hard. It's a free win IMO if you can afford it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-01-2014 , 11:47 AM
Quote:
Originally Posted by clowntable
Am I having a brainfart or isn't that what abstract classes are for?
Abstract base classes won't help you. A ruby example should clarify what it is Java can't do. Why it's so important is a longer discussion, but you probably know.

Code:
module JavaExpert
    def thoughts_on_java
        "#{name} lols at java"
    end
end

class Programmer
    attr_reader :name

    def initialize(name)
        @name = name
    end

    def thoughts
        "true OO is awesome!"
    end
end

gm = Programmer.new('gaming_mouse')
p gm.thoughts # at this point gm has no thoughts on java

# this is the key ability Java is missing: 
# teaching an object new tricks at runtime
# in java, the entire interface of any object 
# has been completely specified at compile time
# coplien notes java is the *only* major modern
# OO language that lacks this ability

gm.extend(JavaExpert)
p gm.thoughts_on_java
https://eval.in/96932
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-01-2014 , 01:33 PM
So just out of curiosity – how do you implement an interface in C++ at runtime?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m