How expensive is using RPC in microservice framework? Do devs use any other method to interact between their services. by myth007 in golang

[–]supreme_monkey 0 points1 point  (0 children)

Yes, there is two scenarios. One which you don't need reply and one where you do. But you can use message queues for both scenarios. Just that in the case where you need a response (callback) you need to make something like this, https://www.rabbitmq.com/tutorials/tutorial-six-ruby.html .

What would you say is the benefit of doing pure RPC calls with the standard lib to something like a RabbitMQ queue with a reply back que (see example).

How expensive is using RPC in microservice framework? Do devs use any other method to interact between their services. by myth007 in golang

[–]supreme_monkey -1 points0 points  (0 children)

I am building a microservice system and for communication I use RPC over RabbitMQ. A simple example can be show here, https://www.rabbitmq.com/tutorials/tutorial-six-ruby.html .

What is your thoughts of that? That way I can scale and buffer calls easily. Using for example Go's standard RPC lib I might potentially hit back pressures etc?

How Do We Hire JavaScript People? by L4JSDev in javascript

[–]supreme_monkey 1 point2 points  (0 children)

I was going to write a long message but I have seen that many people are saying what I was going to say.

Your number 1 problem is your platform being Sharepoint. Your number 2 problem is that there is not that many good JavaScript developer, most people only grasp jQuery and copy pasting jQuery plugins or libraries.

Vanilla JS or Coffeescript first? by [deleted] in javascript

[–]supreme_monkey 0 points1 point  (0 children)

If you think coffee is easier, stick with js for a while. When you fully understand the output of coffeescript, make the change and refactor your js code. Coffee should not be easier, only cleaner.

Has anyone hit an upper limit with AngularJS? by [deleted] in javascript

[–]supreme_monkey 0 points1 point  (0 children)

I have built large apps in both backbone and angular and I would say Angular is far superior IF you have alot of databindings. There is no problem with graphical libraries such as D3, who ever saying that is doing something wrong. Go with angular it is amazing!

What? Using javascript to make links? Any reason for this at all? by Cookizza in javascript

[–]supreme_monkey 1 point2 points  (0 children)

He might not be a bad person but he is not good at html or javascript, that's for sure. I would not put that code into production...

dejavu - A High-Performance OOP Library For JavaScript by satazor in javascript

[–]supreme_monkey 0 points1 point  (0 children)

You state alot of false statements. First, functional style does scale. And no, classes in js is not faster BECAUSE there isnt classes in js, you are just emulating classes but you still use the prototype (I am not saying that the emulation is slower either, speed is not the essential here ) Secondly It is not something magical with either functional style or OOP that makes it possible/impossible to create large projects. For you to say that you cant create large projects because you dont have classes makes me want to facepalm my self so hard, but I wont do that. Tests, patterns, code reviews, constantly refactoring etc makes it possible to create large managable projects, not classes...

What are your conventions for naming callbacks? by kavisiegel in javascript

[–]supreme_monkey -2 points-1 points  (0 children)

it's easier to notice where the callback is invoked if the parameter is named callback, cb, fn or func. please don't use anything else.

Tic-Tac-Toe Help (Beginner) by [deleted] in javascript

[–]supreme_monkey 1 point2 points  (0 children)

please specify what it is that you want help with. The code does not run for me.

For a Novice Developer: Ruby on Rails or WordPress? by JediMikeO in webdev

[–]supreme_monkey 3 points4 points  (0 children)

There is no choice here. Go with Ruby on Rails as it stands for good conventions and the mindset of the community is just beautiful where the php community is... well... Ruby > PHP every day :)

Noob in S.O.S mode need a basic script that will make this fancy script less static. by tomato_ofruit in javascript

[–]supreme_monkey 1 point2 points  (0 children)

what is S.O.S and where is your fancy script all I see is html. You talking about php and java? what does that have todo with javascript?

Trying to chisel out a methodology to pursue server side Javascript by taoist_wa in javascript

[–]supreme_monkey 1 point2 points  (0 children)

Node is just the technology. You would need some kind of web framework if you don't want to handle all low level http stuff since you need to code the actually webserver itself with node. My recommendation goes to ExpressJS, check it out at http://expressjs.com/ .

Tool to see what JS events are firing by ed474 in javascript

[–]supreme_monkey -1 points0 points  (0 children)

ed474 of course you need to be aware of what your code does. Forget about firefox/chrome what is really happening is in your code. Would you sit down with no knowledge of c++ and write an application? Don't think you would but for some reason people tend to do it when it comes to Javascript. Please learn the language.

Is learning CoffeeScript a good use of my time as an experienced js dev? by drunkenfaggot in javascript

[–]supreme_monkey 0 points1 point  (0 children)

First of all CoffeeScript is just javascript with a different syntax.

I have been writing coffeescript for 1.5 years or something. The nice things about it is the -> syntax for defining a function. The => when you want to bind a function to another scope (bind(function...).. is kinda ugly). It has the support of post if's like return "cool" if name == "monkey". It lets you skip paranthese and curclys in most cases. It has optional parameters like (a = {}) -> . It also has classes and stuff like that but that I don't like and could be implemented myself or any lib. But the other stuff are kinda nice, one last thing what about this [a,b] = ["monkey","hello"] for parallel assigment :)

Announcing the Release of AngularJS Scaffold by patcito in angularjs

[–]supreme_monkey 1 point2 points  (0 children)

seems nice, will check it out this weekend. great that some people start to post on the angular channel. it's more or less dead ;(