News for hackers. Stuff that matters.

chrra

Re:OpenVoice: Instant Voice Cloning on Friday April 26, 2024 @06:09AM (#40167580)
There's install instruction under “How to Use” and example code in the .ipynb files. It's mostly geared towards TTS, but it seems to work with voice recordings too.
Re:Nerdsniping: A glimpse into a stubborn mind on Monday April 14, 2014 @01:01PM (#7587341)

  newtype X = X (IORef Int)
  instance Num X where
    fromInteger = X . unsafePerformIO . newIORef . fromInteger
  instance Eq X where
    (X a) == (X b) = unsafePerformIO $ do
                       x <- readIORef a
                       y <- readIORef b
                       writeIORef a $ x+1
                       return $ x == y

  ghci> a <- fmap X $ newIORef 1
  ghci> a == 1 && a == 2
  True
Edit: formatting.
Re:Google Reader is dead on Tuesday July 02, 2013 @04:05AM (#5976419)
So it goes.