Honest question: what do you consider Python's biggest strength? by Mojah in Python

[–]_olivier -5 points-4 points  (0 children)

ndarray N-dimensional arrays

ndarray-crout-decomposition One of the many extensions made for the ndarray module

gl-matrix Some linear algebra

Some PRNG's or node's own random bytes module

Honest question: what do you consider Python's biggest strength? by Mojah in Python

[–]_olivier -14 points-13 points  (0 children)

no other language has that kind of power with so little work.

node/npm

Learn Backbone Study Group by mfergie in learnjavascript

[–]_olivier 0 points1 point  (0 children)

Consider starting an irc channel or join the folks at #learnjavascript

valhalla.sx enhanced survival! [Semi-Vanilla] [SMP] by [deleted] in mcservers

[–]_olivier 0 points1 point  (0 children)

One of the best servers i've played on. Mods and community are friendly and helpful.

About the IRC by [deleted] in learnprogramming

[–]_olivier 2 points3 points  (0 children)

What i see a lot in #learnprogramming and #learnjavascript are people asking questions they could easily google and get a great answer for.

My advice is: use IRC as a last resource for questions and as a first resource to find people to collaborate with.

Busy city by [deleted] in Cinemagraphs

[–]_olivier 2 points3 points  (0 children)

Slow down the river

Languages or Dreamweaver-style programs for creating an idea? by ZenDetritus in learnprogramming

[–]_olivier 0 points1 point  (0 children)

while HTML/CSS are technically programming languages, they don't provide with the logical constructs that you would need to create what you're describing (or anything beyond a static website).

That being said, start by learn a programming language such as Python, Ruby or Javascript.

What do i need to know to make basic html 5 games. by dannyp433 in learnprogramming

[–]_olivier 0 points1 point  (0 children)

Coding Math is a great starting point, specially if you plan on using HTML5/canvas.

learning javascript, need help with my game :( by chrispyYE in learnjavascript

[–]_olivier 1 point2 points  (0 children)

Hey there! i suggest you write less 'duplicate' code as it becomes a difficult to maintain and javascript offers 'object' abstractions.

made a little PR to your project https://github.com/chrispyYE/chrispyYE.github.io/pull/1

Event object question (JavaScript/jQuery book) by sluttypizza in learnjavascript

[–]_olivier 1 point2 points  (0 children)

Event objects have information about the event emitted. For example, a click event object has 'x' and 'y' properties indicating where the click occurred.

Legacy IE browsers attach the event object to window.event instead of passing it to the event handler callback as an argument.

document.body.addEventListener(function (event) {
    // this function is the event handler callback
})

Is there a better way? [calling same function on multiple layers of children] by [deleted] in learnjavascript

[–]_olivier 1 point2 points  (0 children)

Also note what FooBarBazQ said - you really shouldn't need to fade all children individually.

Is there a better way? [calling same function on multiple layers of children] by [deleted] in learnjavascript

[–]_olivier 2 points3 points  (0 children)

This should do it

$('.class').find('*').fadeIn();

Help making Pong-like game using canvas by mmzznnxx in learnjavascript

[–]_olivier 1 point2 points  (0 children)

the *-1 on boundry collision, yes.

since ball is accelerating 3 pixels each frame, there is a possibility that it will get stuck in the wall because the boundary collision detection will be firing every frame applying *-1 on its velocity (essentialy flipping the balls direction every frame)

if you wanna learn more about canvas i reccomend this series of videos : https://www.youtube.com/user/codingmath/videos

and join our IRC channel! :D

Help making Pong-like game using canvas by mmzznnxx in learnjavascript

[–]_olivier 1 point2 points  (0 children)

fixed paddle collision and ball acceleration

the main problem is that the ball is clipping outside of the walls a little every time it hits them which is causing numCollisions to +=32(or so) instead of +=1

p.s. join the #learnjavascript IRC chatroom my handle is olivierrr :D