Search found 31 matches

by fang
Wed Jan 29, 2014 7:24 am
Forum: Coding
Topic: How do you guys extend your classes in JS
Replies: -1
Views: 937

Re: How do you guys extend your classes in JS

parent.call(this) The problem with this method is that the parent's prototype chain is lost. >>> function objparent() { this.what = 'lol' } undefined >>> objparent.prototype.WHAT = function() { console.log('what') } function() >>> function myobj() { objparent.call(this) } undefined >>> myobj.protot...
by fang
Wed Jan 29, 2014 7:08 am
Forum: Off-Topic
Topic: Which Linux distro is for you?
Replies: -1
Views: 316

Re: Which Linux distro is for you?

Slackware and Gentoo.
by fang
Wed Jan 29, 2014 6:58 am
Forum: Say Hello
Topic: Hey there =)
Replies: -1
Views: 599

Hey there =)

Hello!

Things have slowed down a bit and I figured I'd join in. I've been primarily doing Node, python, and web frontend (html/css/js), and I'd love to help out on those topics. I'd also like to pick up some more C.

I dig the new banner, too. :)
by fang
Sun Apr 01, 2012 12:30 am
Forum: Beginner Help and Support
Topic: What Type is best for long decimal number in SQL database?
Replies: -1
Views: 827

Re: What Type is best for long decimal number in SQL databas

Or you could just store exact values in strings (VARCHAR perhaps) and simplify the problem (convert application-side).
by fang
Wed Mar 28, 2012 11:28 am
Forum: Advanced Help and Support
Topic: Error [solved]
Replies: -1
Views: 412

Re: Error [solved]

If you want to test for two different things in the same conditional and one depends on another, you can use the logical and && operator. It short-circuits, so once it hits a false condition it stops evaluating. The following shouldn't throw. if (isset($_POST['parse_var']) && $_POST[...
by fang
Tue Mar 06, 2012 5:34 pm
Forum: General Development
Topic: Cron Jobs Access Denied
Replies: -1
Views: 315

Re: Cron Jobs Access Denied

That looks like a system-level permission error. The htaccess shouldn't affect this; it only adds rules to apache. What permissions do you have set on the file/directory? What user is the cron running as? If cron doesn't have access to the directory, or if the file can't be read by cron, the script ...
by fang
Fri Mar 02, 2012 11:27 pm
Forum: Announcements and Site Discussion
Topic: You should all be proud
Replies: -1
Views: 679

Re: You should all be proud

When I get some free time I'll help out with node. It's all I've been doing at work the last three months, so at the very least I can get a "Node.js Resources" post similar to my python one going. Also, I'm enjoying it here. Ya'll are doing a great job, and if there is anything else I can ...
by fang
Mon Feb 27, 2012 3:05 am
Forum: General Development
Topic: Python resources
Replies: -1
Views: 10695

Re: Python resources

@ Ark: yes, that's what I've heard; after google bought them they ported to python.
by fang
Sun Feb 26, 2012 7:22 pm
Forum: General Development
Topic: Python resources
Replies: -1
Views: 10695

Re: Python resources

@ Verahta: Python is a general-purpose language. It's commonly used for web development (see web frameworks), desktop applications (see py2exe and py2app), server scripting, as an embedded language (see scripting in blender), and games (see Sid Meier and Eve Online). Python has been implemented in s...
by fang
Sun Feb 26, 2012 7:59 am
Forum: General Development
Topic: Python resources
Replies: -1
Views: 10695

Re: Python resources

Also, if you've got any python questions hit me up on the coding/help and support boards and I'd be happy to help. Two years of full time python work and several side projects; I should be able to help with most things. Even have a tattoo of the logo, lol.

Go to advanced search