knlje's comments

knlje | 2 years ago | on: Desmos 3D graphing calculator

I've been using GeoGebra for years. I have tried Desmos twice but couldn't immediately spot the differences. What are the benefits of Desmos over GeoGebra?

knlje | 2 years ago | on: The EU proposed CRA law may have unintended consequence for the Python ecosystem

This is a quote from the linked document:

> 10) In order not to hamper innovation or research, free and open-source software developed or supplied outside the course of a commercial activity should not be covered by this Regulation. This is in particular the case for software, including its source code and modified versions, that is openly shared and freely accessible, usable, modifiable and redistributable. In the context of software, a commercial activity might be characterized not only by charging a price for a product, but also by charging a price for technical support services, by providing a software platform through which the manufacturer monetises other services, or by the use of personal data for reasons other than exclusively for improving the security, compatibility or interoperability of the software.

knlje | 4 years ago | on: Internet Movie Firearms Database

I went to the army and spent many days at an outdoor range shooting at targets with an automatic rifle. I was a pretty solid shooter and earned some medals. Yet I fail to see where is the "cool" part. Shooting is just another skill you practice in order to kill.

knlje | 5 years ago | on: Galerkin Approximation

These packages you mention are not suitable for the typical use cases of the finite element method. There are some packages in the Julia ecosystem that may be suitable. I have no recent experience on using them though.

knlje | 5 years ago | on: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

I wasn't even sure which of them I'm running even though I've been remote teaching for almost a year, i.e. frequently sharing my screen:

> [user@laptop:~]$ echo $XDG_SESSION_TYPE

> wayland

Apparently it's not as bad as it seems! However, now that I think of it, I haven't been able to share the entire screen and must add one application at a time to OBS. Maybe I've gotten used to this. At least I won't accidentally show something that I'm not supposed to.

knlje | 5 years ago | on: One Week of NixOS

I have used NixOS only for a year so I'm no expert but I try to answer.

The config file has this line:

  imports = [ ./hardware-configuration.nix ];
This file hardware-configuration.nix is typically generated semi-automatically during the installation. It has stuff like

  fileSystems."/" =
  { device = "/dev/disk/by-uuid/14b5b22f-6cd2-4da5-a9a5-6ee74b76509d";
    fsType = "ext4";
  };

  fileSystems."/boot" =
  { device = "/dev/disk/by-uuid/7D69-81E5";
    fsType = "vfat";
  };
AFAIK you can include these details in configuration.nix if you happen to know them. But most of the time these are so hardware-specific details that you don't want to write them manually. Does it make sense?

knlje | 5 years ago | on: Teacher's low-tech laptop hack to display handwritten notes for online class

I've been now teaching several remote math lessons with a standard iPad $329 and Apple Pencil $99. Basically I'm joining to a Teams meeting and sharing the entire screen, then writing stuff using the standard Notes application. Finally I share the note with the class by exporting it to the Teams application.

There is a built-in feature in Teams which allows me to launch quick improvised quizzes in the chat which I find nice. I'm also able to collect assignments via Teams and check/mark them in Word using Apple Pencil. The students take a picture using their own phone camera and add it to a docx-file which is then turned in using Teams.

knlje | 8 years ago | on: Numpy: Plan for dropping Python 2.7 support

I'm a researcher and have used exclusively Python 2.7 and NumPy for many years. Originally I ported my codebase from Matlab to NumPy because I wanted to go open source. But it's a very nice thing in science if your code runs perfectly for many years. You don't want to do rewrites. So I feel like I should have stayed with Matlab.

Now that I'm soon forced to do another rewrite, I think I'll just switch to a different language with better future prospects on backwards compatibility. I don't feel that I can trust Python anymore in such things. Any ideas?

knlje | 8 years ago | on: 65 out of the 100 most cited papers are paywalled

And a funny thing is that, even though I work in a university, I still find myself using Scihub sometimes. Either we do not have the access (old papers are a problem) or I'm not present at work.

knlje | 8 years ago | on: Netflix, Microsoft, and Google just quietly changed how the web works

In my country DRM is a way for the copyright holder to communicate to the user that private copying is prohibited. All DRM systems can be trivially broken but it is illegal. If the content is not DRM protected you can legally make private copies.

Thus the major differences between DRM and DRM-free products are:

1) The DRM-free product you own for the rest of your life. You can legally do format conversions for future proofing your ownership.

2) The DRM product you can use for a time which is usually less than your lifetime. Sometimes the physical product format deteoriates (e.g. DVD) or the file cannot be used anymore (e.g. if Audible shuts down its login servers).

In the case of a streaming provider I do not understand why to go through so much hassle to prohibit private copying. You could just include a text that says "private copying prohibited". This would be an easier way to achieve the same thing.

I have a feeling that there are some people actively misleading copyright owners to use these DRM solutions and pay for their use. After all they only pay for delivering this message to the end user in an overly complicated manner.

knlje | 8 years ago | on: How to Make Python Run as Fast as Julia (2015)

Users of programming languages interested in the end result (output of the program etc) do not care. They want the fastest performing language for the job. Julia website has been misleading people. Due to those claims, I spent a week porting some of my simulation code to Julia before I realized that it is actually slower in (optimized) Julia than in optimized Python.

knlje | 8 years ago | on: Toyplot – A plotting toolkit for Python

Half of my plots use logarithmic scale. Makes sense to me.

I really like the default axis styling where they have gone against the mainstream style of gnuplot/matlab. I'm definitely going to try this out sometime soon.

page 1