Skip to content

Instantly share code, notes, and snippets.

View Oregu's full-sized avatar

Oleg Prophet Oregu

View GitHub Profile
@stantonk
stantonk / TestPropertiesInjection.java
Last active August 9, 2018 17:55
Example of loading a Java properties file and binding to @nAmed attributes in Guice. Handles default property settings as well. Adapted from code written by https://github.com/kylemcc
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Inject;
import com.google.inject.name.Named;
import com.google.inject.name.Names;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
@tonymorris
tonymorris / fuck-you.md
Last active February 26, 2016 01:30
Ignorance has real-world practical effects.

I was just sitting in a doctor surgery 45 minutes ago with an orthopaedic spine surgeon, who is one of the few who has worked out how to use software to his advantage. We were measuring a deformity that the previous surgeon has created. After 20 minutes of drawing lines and measurements all over this DICOM image, the following happened

Access Violation at address 0xGOFUCKYOURSELF

…so now I have to go back in two weeks while he can restart a plan for a difficult corrective surgery.

@sathishpaul
sathishpaul / Fluent2016.md
Last active March 18, 2016 22:33
Fluent Conference 2016

I had the opportunity to attend the Fluent Conference held at San Francisco from March 8th to 10th 2016.

Here is a brief summary of the various sessions I attended and what I learnt from them.

##Functional reactive JavaScript on the client and the server

  • Pete Hodgson from Thoughtworks gave a wonderful talk about what Reactive programming is. He focussed specifically on using Rx.js and explained what streams are and how they can be used to model everything - from a series of async values, to node streams, to even mouse clicks. Using one API to model everything as a stream is a huge benefit, but I find the Rx programming paradigm needs considerable effort in learning and mastering it. I am still trying to wrap my mind around what exactly does an 'Observable of Observables' mean. The takeaway for me was to start using Rx.js on a very small portion of an existing application and grow from there. 'Don't try to boil the ocean' is good advice.

My rating for this talk: 5/5 (based on topic relevance and speaker d