Skip to content

Instantly share code, notes, and snippets.

View rdsr's full-sized avatar

Ratandeep Ratti rdsr

  • LinkedIn!
  • Sunnyvale, CA
View GitHub Profile
bishboria /
Last active April 25, 2024 06:27
Springer made a bunch of books available for free, these were the direct links
ZenBowman /
Last active April 24, 2017 07:30
Using the Hive Thrift Client in Java and Scala - an example
import junit.framework.TestCase;
import org.apache.hadoop.hive.service.HiveClient;
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TBinaryProtocol;
import org.apache.thrift.protocol.TProtocol;
import org.apache.thrift.transport.TSocket;
import java.util.List;
pchiusano / Nonblocking.scala
Created February 2, 2014 21:34
A Par type for representing parallel computations, without blocking, developed in chapter 7 of FP in Scala
package fpinscala.parallelism
import java.util.concurrent.{Callable, CountDownLatch, ExecutorService}
import java.util.concurrent.atomic.AtomicReference
object Nonblocking {
trait Future[+A] {
private[parallelism] def apply(k: A => Unit): Unit