16 April 2014

The Ruby Reflector

Topic

Compiler

  Source Favicon
By miraculous1 of mir.aculo.us 8 days ago.
Email

Recompile anything that's statically linked against OpenSSL. In many instances, web server software like Nginx is statically linked and must be recompiled. For example, if your Ruby is statically linked to OpenSSL, it's recompile time!

Reboot the server. This must be done before issuing new certificates.

Create a new private key and CSR and get a new SSL certificate. You will need to revoke the old SSL certificate. (If you're on Godaddy, use their "rekey" …

mir.aculo.us Read
  Source Favicon
By Todd Hoff of High Scalability 3 months ago.
Email

Why is processing a sorted array faster than an unsorted array ? Compilers may grant a hidden boon or turn traitor with a deep deceit. How do you tell? It's about branch prediction.

Can your database scale to 1000 cores? Nope. Concurrency Control in the Many-core Era: Scalability and Limitations : We conclude that rather than pursuing incremental solutions, many-core chips may require a completely redesigned DBMS architecture that is built from ground up and is …

highscalability.com Read
  Source Favicon
By Todd Hoff of High Scalability 4 months ago.
Email

…Running Facebook's HipHopVM ( hhvm) JIT Compiler for PHP by Yermo Lamers.

Yermo selected PHP to implement a number of content web sites. He took an interesting approach, he created a forms, views, validation, and business logic description language to remove the drudgery of creating the same code over and over again for each page. Having done this in Perl I think it's a great a approach. The problem is it can be slow. PHP's slow string handling makes dynamically …

highscalability.com Read
  Source Favicon
By Shannon Behrens of JJinuxLand 7 months ago.
Email

…people mixing features of Scala togehter in ways that he had never considered before. Compiling each feature one at a time to work on the JVM is easy--getting all the features to play nicely with one another when they're used at the same time in unexpected ways is quite a bit harder.

So as I watch all of my friends learn Haskell, these are the things that have been on my mind. It's a fascinating language, so I always enjoy reading other people's perspectives on it!

By …

jjinux.blogspot.com Read
  Source Favicon
Email

Compilation June 2013 Week 1 Best Fails of the Week 2 June 2013 Fail Compilation February 2013 Week 3 Fail Compilation April 2013 Fail Compilation 2013 Win Compilation May 2013 Win Compilation November 2013 Win Compilation November 2013 Win Compilation January 2013

Fail Compilation August 2013 Fail Compilation September 2013 Fail Compilation May 2013 Fail Compilation November 2013 Fail Compilation November 2013 Fail Compilation January 2013 FAIL Compilation 2013…

youtube.com Read
  Source Favicon
By Joey of Global Nerdy 1 year ago.
Email

S Translator: lets you speak one language into the Galaxy S4, hit a button, and have the S4 repeat what you said in another language. It reminds me of the idea behind the " Mandarax" in Kurt Vonnegut's Galápagos .

Group Play: links together several S4s so that they play the same song, in sync. I'm not sure how useful this is, but I can see some potentially interesting uses for flash mobs or group activities.

There are a couple of notable things about …

globalnerdy.com Read
  Source Favicon
By Ashley Puls of New Relic over 1 year ago.
Email

3. Recompile and restart your application with the Java agent.

If you prefer annotations , this second option might be for you:

1. Set enable_custom_tracing to true in your newrelic.yml file. Be sure to add the flag if it does not already exist.

2. Add the newrelic-api.jar to your class path.

3. Add the Trace annotation to the method you want to monitor.

4. Recompile and restart your application with the Java agent.

If modifying the source code is not possible or …

newrelic.com Read
  Source Favicon
Email

Compiler flags

The first thing we're going to play around with is one of the least likely to blow up in your face. Compiler flags are used to define constants at build time, that can then be used in your code to do some tricky things to customize your code for specific build configurations.

There are 3 possible places to set these up:

OTHER CFLAGS (Other C Flags)

GCC PREPROCESSOR DEFINITIONS ( Preprocessor Macros)

INFOPLIST PREPROCESSOR DEFINITIONS ( Info.plist Preprocessor Definitions…

robots.thoughtbot.com Read
  Source Favicon
By Hongli Lai of Phusion Corporate Blog over 1 year ago.
Email

OS X (including us!) have recently been suffering from problems with compiling Nginx. Compilation would fail with the error message that the symbol pcre_free_study is not found, within the context of the function pcre_free_studies in ngx_regex.o: src/core/ngx_regex.o: In function `ngx_pcre_free_studies': src/core/ngx_regex.c:307: undefined reference to `pcre_free_study' collect2: ld returned 1 exit status make[1]: *** [objs/nginx] Error 1

What is pcre_free_study ? A Google

blog.phusion.nl Read
  Source Favicon
By Jennifer Jenkins of RubyLearning Blog over 1 year ago.
Email

Computer Language Engineering' and ‘ Multithreaded Parallelism Languages and Compilers' to anyone with an Internet connection who wishes to take them. University of California, Berkeley is another school that offers a large number of online programming courses . Their current list includes ‘ Java: Discovering Its Power' and ‘ PHP Programming for the Web'; the site also announces future term courses, such as ‘3-D Graphics and Game Engines

rubylearning.com Read