HNHacker News
TopNewBestAskShowJobs

eljost

14 karma · joined March 20, 2017

submissionscomments
eljost··on The “Zoo” Constant in Python's Sympy Library
Given the fact that infinity is expressed as sympy.oo in sympy makes the use of sympy.zoo somewhat consistent/unsuprising.

Maybe the OP of the tweet was/is not aware of this use. I wonder if his next tweet will be about sympy using oo for infinity.

eljost··on Nvidia's Crazy New Neural Engine Is Redefining Realism in Graphics
The audio also reminded me of the Fallout games.
eljost··on Dwarf Fortress’ graphical upgrade provides a new way into a wildly wonky game
Works fine w/ steam and "Proton Experimental" under "Linux 5.10.154-1-MANJARO #1 SMP PREEMPT Thu Nov 10 20:51:28 UTC 2022 x86_64 GNU/Linux". I had to install the package "sdl_ttf" though; without it, the game just hung at the inital screen that says "Loading".
eljost··on Pattern matching accepted for Python
You can use variables in the formats.

  >>> flt = 1.2345
  >>> two = 2
  >>> f"{flt:.{two}f}"
  '1.23'
eljost··on A CIA officer turned police officer: thoughts on policing
As someone from Germany it seems very strange how casually he talks about being shot at, as if this is a normal thing.
eljost··on Ask HN: How to release research paper code?
Check out Zenodo [1]. It lets you generate DOIs for Github releases.

[1] https://zenodo.org/

eljost··on A Molecular Near Miss
Actual atoms in molecules also vibrate all the time, so the provided bond length he talked about should be seen as an equilibrium bond length.
eljost··on Ask HN: Teaching programming in computational biology?
I'm a computational/theoretical chemist and use python extensivly.

To me te question seems a bit poorly phrased. What is the goal of the course? Are they supposed to learn how to program? Then it's of course fundamentals first, especially the stuff you cited (variables, functions, scoping). You can't solve any problem without knowing this stuff.

If they are supposed to learn a specific library/tool then, in my opinion, it depends on the libs/tools you want to teach them. Maybe this libary is not that relevant for comp. biologists, but take scikit-learn. You still have to know how to program when you wan't to use this library properly. On the other hand if they shall learn some GUI-tools then I guess they don't have to know how to program. You can ask yourself: Can you anticipate what tools/libraries your students will be using in a few years? If you can answer yes to this, then teach them a bit about these tools. If your field is constantly evolving/changing then it would be better to invest in the basics, so your students can adapt easier.

Considering the fact that you are (hopefully) and have to be constantly learning as a practicing scientist it is of great importance to get the basics right.

eljost··on Pythran: Crossing the Python Frontier [pdf]
Interesting article but just skimming through it some things stand out immediately: 1.) The first snippet isn't even valid python code as floats don't have a shape attribute.

  s = 0. 
  n = s.shape
2.) The inline latex math isn't rendered properly.