Skip to content

Instantly share code, notes, and snippets.

@mtsokol
mtsokol / KafkaInZioQueuesFibers.scala
Last active October 13, 2024 16:18
Build your own Kafka in ZIO - Queues & Fibers
import zio._
import zio.random._
import zio.console._
import zio.duration._
object Main extends App {
override def run(args: List[String]) = program.exitCode
sealed trait Diagnostic
import tensorflow as tf
from tensorflow.keras.backend import placeholder
print(tf.__version__)
print(tf.executing_eagerly())
x = placeholder(shape=(1, 1), dtype=tf.float32, name='x')
t = placeholder(shape=(1, 1), dtype=tf.float32, name='t')
W0 = tf.Variable(tf.random.normal((1,20)), dtype=tf.float32)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mtsokol
mtsokol / FACET_PyData_Global_2022.ipynb
Created December 2, 2022 10:42
Notebook for FACET demo - PyData Global 2022
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.