avalanche123
Re:Blue Origin first human flight
on Tuesday July 20, 2021 @09:25AM (#27893387)
What a mind blowing achievement. Wow!
Re:Give me /events, not webhooks
on Tuesday July 13, 2021 @01:50PM (#27823921)
I think this is also getting at the difference between pub/sub and state synchronization. While one might think they want the former, what they really want is the latter. Get some state and receive updates continuously rather than deal with unreliable stream of updates
Re:Amazon met with startups about investing, then launched competing p...
on Thursday July 23, 2020 @07:10PM (#23933812)
I believe anti trust is triggered when it negatively affects consumers, with Amazon’s aggressive competition consumers usually win. At least short term...
Re:Decorators in Go using embedded structs
on Wednesday October 23, 2019 @11:15AM (#21335468)
This pattern is called Composition (https://en.wikipedia.org/wiki/Composition_over_inheritance). What makes it much more practical in Go than in say Java is struct embedding and implicit interface implementations
Re:How I Built a Self-adaptive System
on Wednesday June 13, 2012 @10:33PM (#4109505)
Well, success of a job is transient and not permanent in this case. Like I mentioned before, successful boot of a dependency doesn't mean that dependency exists by the time we get to boot a host. You need to continuously check the status of your group to determine actions that can be taken for current state. A stateful system that marks a job as complete upon successful execution wouldn't work. DAG computation does happen, but inside MoreHostsCanBeBooted condition that is a pre-requisite for BootMoreHosts action. If what you're proposing is to re-run the same job until target state transition has been achieved and code job in idempotent way, then this is essentially what's being done with the current approach, except there are no jobs, and idempotency is a side-effect of not tracking progress. I hope my explanations make sense :)
Re:How I Built a Self-adaptive System
on Wednesday June 13, 2012 @09:55PM (#4109417)
This was my initial idea. However, consider this scenario. I need to boot a web stack (db master, pool of db slaves, webservers and a load balancer). I boot a master, job succeeds, then I boot slaves, job succeeds. I boot webservers, but by this time master is shut down or becomes unavailable. Because of a job-based approach, this will never be detected and fixed by the controller. The chosen approach would detect the state of the environment and determine that a master is missing and proceed to correct the situation or abort the process altogether. Hope this makes sense!
Re:How I Built a Self-adaptive System
on Wednesday June 13, 2012 @09:52PM (#4109409)
Thanks for feedback. Indeed, complex emergent behaviors are not demonstrated in the provided example. But they are possible when changes in environment affect other control loops. Which might result in conflicts, at which point control loop for conflict resolution can be added, this is why MAPE-K tower is a useful abstraction.
AngularJS - Superheroic JavaScript MVC Framework
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @06:31PM (#3645576)
I feel the example I built for our demo is a good one. Here I implemented presence and chat servers to build online chatroom. Servers and clients were initially built in Ruby, to be used in a private network behind firewall. I was then able to re-use client code with minimal changes and port it into JavaScript. This client code gave presence and chat to the browser. So effectively we solved an interesting networking problem once and were able to re-use the solution in two vastly different environments - private networks and the browser, where different authentication, authorization, performance and guarantees requirements apply.
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @02:18PM (#3644477)
heh, best I can do yet
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @02:17PM (#3644465)
You are right, however C bindings in other languages usually look quite ugly and non-idiomatic, but ZeroMQ did great job in that sense and their higher level language bindings are written with language specifics in mind
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @02:14PM (#3644441)
Haha, I know you don't like coffeescript, so I wrote clone client library for demo in pure JS - https://github.com/progrium/nullmq/blob/master/demos/presenc...
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @02:10PM (#3644420)
Yup, I'm sure that will get updated
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @02:09PM (#3644413)
NullMQ multiplexing protocol is built on top of STOMP. The main advantage of NullMQ is same socket primitives as ZeroMQ, so same patterns and solutions can be built in the browser.
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @12:43PM (#3644018)
Exactly, I'm very happy that message went through!
Re:Interacting with ZeroMQ from the browser
on Tuesday February 28, 2012 @12:40PM (#3644011)
Hi, the author is not twelve and he in fact is quite known in Python community. I'll ping him about missing license.
Interacting with ZeroMQ from the browser
Re:Image manipulation library for PHP 5.3
on Friday October 21, 2011 @05:48PM (#3141861)
very cool, I'll see about adding support for it too
Re:Image manipulation library for PHP 5.3
on Friday October 21, 2011 @05:47PM (#3141855)
thanks, will do!
Re:Image manipulation library for PHP 5.3
on Friday October 21, 2011 @03:45PM (#3141340)
sorry, it looked so awesome and I noticed the kind requirement to use it for flask-only projects after rolled the new sphinx design out. I promise to use a different theme and is something I'm working on now.