Skip to content

Instantly share code, notes, and snippets.

View calincru's full-sized avatar

Călin Cruceru calincru

View GitHub Profile
@calincru
calincru / prepare.ipynb
Last active September 18, 2020 08:18
Buildings Classification
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@calincru
calincru / tf_eigh_cpu_vs_gpu.py
Last active July 9, 2019 13:04
tf.linalg.eigh is slower on GPU than on CPU
import tensorflow as tf
import timeit
assert tf.test.is_gpu_available()
# See https://www.tensorflow.org/tutorials/using_gpu#allowing_gpu_memory_growth
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
def sym(x):
@calincru
calincru / expr.scala
Created March 30, 2017 13:41
Expression problem in Scala
// The expression problem is a new name for an old problem. The goal is to
// define a datatype by cases, where one can add new cases to the datatype and
// new functions over the datatype, without recompiling existing code, and while
// retaining static type safety (e.g., no casts).
// (Philip Wadler)
import scala.language.implicitConversions
object ExpressionProblem extends App {
The objective of this project is to create support for spreadsheet style note taking with predefined user columns and some system supported data types. Supporting the setup of structure, editing workflow, structure updates, revisions, exporting and importing from excel.
1. Database Support Using COMDB2's new dynamic table support, implement storage for structured notes. Manage versioning of changes in a very clear manner for later investigations.
2. Middle layer Support transport of actions via the interface commitment into the database system. Manage Bloomberg system types conversion to and from the user interface. Include broadcast of data updates to other machines supporting structured Notes such that customers viewing he same note see the data changes.
3. Terminal User Interface Create an interface in Rapid that manages the setup, editing, structure changes, revisions, exporting and importing from excel.
4. Stretch: Sharing Connect structured boards to the Note sharing framework individual shares or
@calincru
calincru / Proiect-CDL.md
Last active August 29, 2015 14:12
Proiect-CDL

Marble

Descriere

Marble este o aplicație construită în jurul unui glob virtual care le permite userilor să aleagă între mai multe planete și tipuri de hărți (istorice, politice, OpenStreetMap, etc) pentru o vizualizare 3D a acestora. La acestea se adaugă și un număr considerabil de feature-uri și plugin-uri menite să extindă capacitățile de utilizare ale acesteia. Dintre acestea, cele mai importante sunt:

  • Interactive Tours, un feature destul de recent care permite crearea/exportarea/importarea unor tururi virtuale ale planetei;
  • Marble Games, început în timpul GSoC 2014 și în cadrul căruia se dorește dezvoltarea unei serii de joculețe educative, folosind bibliotecile puse la dispoziție de Marble; e.g. Identify the Country, Identify the Flag.