HNHacker News
TopNewBestAskShowJobs

knlje

180 karma · joined October 20, 2015

submissionscomments
knlje··on I think I found a planet nobody knew existed. I used Claude Code to find it
This is a quote from the Reddit post:

"TESS comes back to this part of the sky in November. I submitted an observing proposal asking it to record this star every 2 minutes while it's there. It was approved. Program #100. "

knlje··on How the first fourth-generation nuclear power plant works
According to this summary, Germany has lots of remaining problems with its prototype pebble bed reactors: https://web.archive.org/web/20170329044120/http://nuris.org/...
knlje··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··on Kaffeost
Last 1 minute of this video is the first time I heard about this practice: https://m.youtube.com/watch?v=eB3svho-sF0
knlje··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··on Show HN: Trading cards made with e-ink displays
Really interesting idea and I can see many game mechanics that benefit. What do you think is the minimum thickness using any technology available?
knlje··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··on The 4:6 method for coffee-brewing (2017) [video]
I have learned empirically during the last year or so that using darker coffee variants causes me less heartburn.
knlje··on Ryanair’s statement on diversion to Minsk Airport
Here is a new statement published 45 minutes ago: https://twitter.com/RyanairPress/status/1396767221058359299
knlje··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··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
Thanks for the hint, I'll check it out. I'm using v4l2loopback already for feeding OBS output to Teams/Zoom so I'm familiar with the process.
knlje··on Ask HN: What is your “I don't care if this succeeds” project?
My finite element library (https://github.com/kinnala/scikit-fem). I consider it complete and add features only if my research requires, but I'll likely maintain it until Python is dead or I'm dead.
knlje··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··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··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··on Simon's Algorithm
Doesn't it read that "for all x, y \in {0, 1}^n"?
knlje··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··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··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··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··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.

knlje··on Computational Linear Algebra
Just a remark. I cannot see sections 9 and 10 in your link. They only go up to section 8.
knlje··on Why is the Quintic Unsolvable?
Numerical methods quite easily give the roots of arbitrary polynomials of much higher order. QR-iteration works well up to some polynomial order, say at least 20. The idea is to construct a matrix that has the studied polynomial as its characteristic polynomial, and find the eigenvalues using a repeated QR decomposition. This gives you all complex and real roots.
knlje··on Teller – API for your bank account
You write the equivalent info (user+pass+keycode) into a third party app.
knlje··on C64 Yourself: Browser-based image converter to C64 color palette
Would love to try this but limiting the upload to drag and drop makes it hard for me. Not everyone uses Windows or Mac you know. Is there any way to upload stuff to these without having graphical file manager?
knlje··on IBM unveils its most powerful quantum processor
I missed the first release of 5 qubit processor since the IBM website has so much marketing jargon. I find some papers in arXiv where they use the processor. Is there any reference demonstrating that this is a true quantum processor? I'd like to see some non-classical scaling with respect to N, etc.
knlje··on Interactive Mind Map for learning
Mind maps are great for recalling terminology hierarchies (for the lack of better word). I have not used them much in my engineering studies but I have taken some courses in history and philosophy where I often had to recall lots of terminology related to, for example, certain time periods or philosophical theories. The spatial aspect of a mind map really helps me. Just drawing the map is usually enough for me to remember everything that's in it for a few days. I simply close my eyes and picture the map in my head.

This, however, requires that I draw the map myself by hand. Drawing it by hand forces me to carefully look at every pixel of the map. Adding some fancy fonts and pictures like in your example can help in the sense that you spend more time looking at the pixels.

knlje··on NeoVim 0.2.0 released
On the other hand there are not many reasons for not doing the switch. Thus, it's more like choosing whether you want to support the project or not.
knlje··on A Competitive Programmer's Handbook
Programmers participate to ICPC in teams of three. According to my experiences, teamwork is a fairly important part of success since there is only one computer for each team.
knlje··on Sanakirja: Transactional, branchable key-value store in Rust
This seems to be a component of a version control system with a very interesting data model. Check it out at the main page https://pijul.org if you hadn't heard about it like me.
Page 1 of 2Next →