Skip to main content

Posts

Showing posts from April, 2021

Wow PyPy

Recently, I read about executing python scripts faster, so I wanted to test out pypy . As it turns out, using pypy is not even much faster than python3, but it is faster than C# as well. Impressive. Previous C# vs Python test . python3 sp.py (~ 22.75 seconds): 2021-04-30 13:18:32.646116 2021-04-30 13:18:55.456401 2021-04-30 13:19:18.182853 2021-04-30 13:19:40.847922 2021-04-30 13:20:03.548258 2021-04-30 13:20:26.182298 2021-04-30 13:20:49.132793 pypy sp.py (~ 1.47 seconds): 2021-04-30 13:21:20.140819 2021-04-30 13:21:21.461551 2021-04-30 13:21:22.892700 2021-04-30 13:21:24.451105 2021-04-30 13:21:25.888588 2021-04-30 13:21:27.267887 2021-04-30 13:21:28.937091 C# debug (~ 2.15 seconds): 2021-04-30 13:34:23.613 2021-04-30 13:34:25.734 2021-04-30 13:34:27.869 2021-04-30 13:34:30.067 2021-04-30 13:34:32.092 2021-04-30 13:34:34.255 2021-04-30 13:34:36.486 C# release (~ 1.87 seconds): 2021-04-30 13:37:39.637 2021-04-30 13:37:41.524 2021-04-30 13:37:43.332 2021-04-30 13:37:45.236 2021-04-30 1

Great vocals

David Archuleta -   Therapy Sessions  (2020) Continuation of My favorite music albums (so far)

Who knew you can have home theater under 200$

  NICPOW Home Theater Projector I have to get some popcorn Matrix 4 - I am ready

How to downgrade gcc 10.3 in Ubuntu 21.04

Ubuntu 21.04 comes with gcc 10.3 which causes some issues when used with nvcc ( bug for gcc 10.3 is filed ). To downgrade to gcc 9 you can use these commands: sudo apt-get remove gcc-10 g++-10 sudo apt-get install gcc-9 g++-9 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 After that, DeeperThought will run on Ubuntu 21.04:

Let's talk about biodegradable food packaging

We already talk quite a bit about CO2 levels , and yes - CO2 graph looks quite scary, but we already plant trees and plant trees... CO2 quite scary and real graph But another scary thing is that recycling might be not as good as it seems . We eat every day, so why not only biodegradable food packaging in grocery stores instead of plastic? biodegradable food packaging

Testing Ubuntu 21.04

  Ubuntu 21.04 Installation was without any problems, Google Chrome was easy to install, WideOpenThoughts just works & for DeeperThought  seems like I will be filing bug for gcc-10 . LibreOffice 7.1 seems to have polished icons and loads what feels quicker? (I might be wrong, but it feels way speedier than before) It comes also with Python 3.9.4, which seems to be working just fine as well. Still no blurred transparent terminals as some other linux OSs have, but that's just a very minor beautification thing (I might be wrong again, but seems like font colors in terminal changed as well? They look pleasant).

When you have more than satisfactory ...

  3 trees planted for every tree used

Whoa - my first sighting of closer meteor

Out of nowhere, there was a big bright lighted line... Universe is bonkers :) If you are in Florida (and most likely other places around the world as well), get out to your balconies and have fun. Some people were lucky enough to capture this moment on cameras: #meteor over #Miami ?? pic.twitter.com/1kgW5s9LLS — Collin (@thecollinlee) April 13, 2021 @CoralTap Just saw this in the sky from Parkland at 10:16PM. #Meteor pic.twitter.com/E1rqXUbku8 — m (@cbkcc1) April 13, 2021 WOAH! Big flash and streak across sky in West Palm Beach. Happened moments ago while we were on Facebook Live for a @CBS12 story. Working to figure out what it was. pic.twitter.com/VDl9pFtb3h — Jay O'Brien (@jayobtv) April 13, 2021 Twitter #meteor  

I love salads #3

 It's fruit salad, hence more of a dessert thing, but none of the less - still salad. Berry Salad You need to wash these: strawberries (cut to smaller pieces) blueberries blackberries raspberries If you need to be filled out more, just add banana.

When you have breakfeast instead of breakfast

  Costco breakfeast

Clustered internet search

There is many internet search providers these days, but they all give you very simple result of one column results. It's 2021 so I would expect internet searches to compete not only when it comes to their internal algorithms, but visual appearance and some clustering of results as well. Example - Google: So much unused space for our wide & high resolution monitors How it could be: Three columns - 2 dominant clusters with their keywords + 1 cluster with the rest of the links Simple and great, right? It's 2021... Anyone? Are the Yahoo patents from 2004  stopping us from doing something great? Seems like there is already even paper from Beihang University in 2006 . Who is going to be first and do it well? And more importantly - why did Yahoo give up such a great patent? 🤦 Google is somewhat already heading in that direction, but in my opinion not enough: Minor attempt for clustering And for people with low resolution monitor? Just show old one column result.

I love salads #2

This salad is extremely simple as it consists only of one vegetable... It's perfect for summer as after you are done with vegetables, you can drink the water, which is extremely tasty. Summer cucumber salad cucumber (peeled & sliced to very thin pieces) water white vinegar powder sugar (but regular sugar will do as well if you don't have powder sugar) Let it chill for a bit in a fridge before eating to make even the juicy water cool. If you ever wondered what is this side of 4 sided grater for, wonder no more - it's for this salad:

Testing Deepin linux distro

I had my eye on Deepin 20.2 distribution for a while, so I wanted to test it out. As they don't have option try before install (no live run from USB), it took me some time to finally try it. But here it is. It does look pretty: Deepin 20.2 The good stuff: installation was easy it has its own "Paint" program it comes preinstalled with LibreOffice installation of Google Chrome is easy their app store works as well (tried installing VLC from there) transparency and blurring of terminal works really nicely OS feels fast and responsive The not so good stuff: you need to log out and log in if you want to change Display Scaling, which is quite annoying no live test run from USB, only install installing CUDA, drivers for NVIDIA card were not as easy as on Ubuntu And then there is really bad stuff: DeeperThought & WideOpenThoughts were not running, even though nvidia-smi is saying that driver is installed as well as CUDA - quite weird I guess it still needs some polishing b

My favorite Czech & Slovak movies

Yes, I was born in Czechoslovakia and so I thought if someone wanted to try movies from my countries of origin, what would I recommend? I personally enjoy watching movies from all kinds of different countries. My favorite non-English movies are French, German and Spanish movies. So here it is. If you want to have a good giggle and know something about how it was to grow up during communism (also a Christmas movie): Pelisky (1999) or another fun movie: Vesnicko ma strediskova (1985) Czechs & Slovaks make a lot of fairy-tales for kids, so here are two of my favorites: Tri orisky pro Popelku (1973) Perinbaba (1985) Or TV series fairy-tale for kids, which I watch (and would watch again) even as adult: Teta (1987) There is naturally Oscar winner: Kolja (1996) And then there is Petr Zelenka , who is chapter of his own... Here are three movies from him I enjoy the most: Rok dabla (2002) Knoflikari (1997) Pribehy obycejneho silenstvi (2005) Naturally, there is more, but this should be a go

Yellow Thai chicken curry soup

As Seattle is far for me at the moment, and I can't go to Mae Phim, I decided to try to make my own yellow chicken curry soup, which they made so delicious ( number #27 if you go there ). Mae Phim on Columbia street in Seattle To my surprise, this soup is not very common on the menu at many Thai restaurants.  For the first try, it wasn't bad, I just think I need to use less coconut milk and more chicken broth. (And I say yellow, but only red and green curry paste was available, so I chose red.) "Yellow" (red) self made chicken curry soup What you need: chicken breast sliced to thin pieces & onion sliced (fry on pan till done) olive oil salt & pepper basil And then once chicken is ready, keep adding: "yellow" curry paste (I used red this time) coconut milk (I will go easier on it next time) chicken broth sugar Once it comes to boil, add brown rice noodles and cook for 4-5 minutes (or as your box says) with the rest, until noodles are ready. bean sprou

Got my first Covid-19 vaccine shot

  Moderna Covid-19 vaccine So far so good, no pain nor side effects. But it has been only 1 hour :)

I love salads #1

  Simple cucumber & tomato salad: cucumber tomatoes white onion (little bit & optional) crumbled Greek feta cheese (little bit & optional - you can use other cheese as well) olive oil black vinegar (little bit & optional - not included in picture above) salt & pepper (just a hint of pepper)

Rainy movies for rainy days

 My favorite movies that will make you cry. This movie will make your eyes watery: The Fault in Our Stars (2014) This will make you cry real hard: Love Story (1970) And this will make you laugh real hard & cry real hard at the same time - such a messed up feeling: Steel Magnolias (1989)

When you celebrate new submitted math manuscript

0 video meetings, roughly 80 emails between September 2020 and April 2021... There is no way I could celebrate without some German pretzel American medium rare steak & red wine & Moscow mule Would I want to go out with my collaborators? Definitely yes, but it's still Covid-19 season and collaboration across continents. Happy Easter Sunday 🐤🐇