This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- time in this direction ----> | |
JBossMQ --->-----X | |
JBossMessaging ---->-------X | |
MRG-M---------------------------------->----X | |
HornetQ------------------------------------->-------------------------+ | |
.....................................ActiveMQ--------------->-----------------------+------------> Super unified messaging! | |
--- = active development at Red Hat | |
... = existence before Red Hat acquisition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void testReadStreamPauseResume() { | |
server.close(); | |
server = vertx.createNetServer(new NetServerOptions().setAcceptBacklog(1).setPort(1234).setHost("localhost")); | |
ReadStream<NetSocket> stream = server.connectStream(); | |
stream.handler(sock -> {}); | |
server.listen(ar -> { | |
assertTrue(ar.succeeded()); | |
stream.pause(); | |
attemptConnect(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ScratchPad { | |
public static void main(String[] args) { | |
Integer val = null; | |
Integer def = null; | |
Integer res = val == null ? def : val.intValue(); | |
System.out.println("res is " + res); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Integer val = null; | |
Integer res = val == null ? val : val.intValue(); | |
System.out.println("res is " + res); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching: tilt-2.0.1.gem (100%) | |
Fetching: haml-4.0.6.gem (100%) | |
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break | |
your application: | |
* Support for Ruby 1.8.6 dropped | |
* Support for Rails 2 dropped | |
* Sass filter now always outputs <style> tags | |
* Data attributes are now hyphenated, not underscored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching: eventmachine-1.0.3.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing eventmachine: | |
ERROR: Failed to build gem native extension. | |
/home/tim/.rvm/rubies/ruby-2.2.0/bin/ruby -r ./siteconf20150107-23365-7pbad1.rb extconf.rb | |
checking for rb_trap_immediate in ruby.h,rubysig.h... no | |
checking for rb_thread_blocking_region()... no | |
checking for inotify_init() in sys/inotify.h... yes | |
checking for writev() in sys/uio.h... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var STDOUT = java.lang.System.out; | |
STDOUT.println("starting test"); | |
var body = | |
"// this is a common js module\n" + | |
"\n" + | |
"module.exports = function() {\n" + | |
" var num = 234;\n" + | |
" num.substr(1, 1);\n" + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var STDOUT = java.lang.System.out; | |
STDOUT.println("starting test"); | |
var body = | |
"function() {\n" + | |
"// this is a common js module\n" + | |
"var num = 234;\n" + | |
"num.substr(1, 1);\n" + | |
"}\n// #sourceURL=wibble.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var STDOUT = java.lang.System.out; | |
STDOUT.println("starting test"); | |
var body = | |
"function() {\n" + | |
"// deliberate syntax error\n" + | |
"v a r num = 234;\n" + | |
"}\n//@ sourceURL=wibble.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var STDOUT = java.lang.System.out; | |
STDOUT.println("starting test"); | |
var myerr = new SyntaxError("mymessage", "somefile.js", 12345); | |
STDOUT.println("message is: " + myerr.message); | |
STDOUT.println("fileName is: " + myerr.fileName); | |
STDOUT.println("lineNumber is: " + myerr.lineNumber); |