HN user

Cynox

74 karma
Posts0
Comments9
View on HN
No posts found.

Several years ago I used FEniCS mshr which wraps CGAL for Python, but I am unsure if is still maintained or if they went for a Gmsh wrapper instead, or abandoned the idea of constructive solid geometry from Python code completely. I have not followed FEniCS closely in the last few years.

Just do a super-minimal cleaning and upload to Zenodo or similar, then stick the DOI to the code and input/output files in your paper somewhere. 99% certain your reviewers will not brother to look at your code. 10 years from now someone new looking into the same topic gets a leg up. Don't feel obligated to update, clarify, or even think about the code ever again. If you want to build a community or something, then by all means go for github, but providing code along with your paper should be something automatic and quick, not adding an unwanted burden.

Norway became a unified independent Kingdom in 872 and entered a union with Sweden and Denmark in 1397. Sweden left the union in 1523, leaving Norway in union with Denmark until 1814 when Norway was transferred to a union with Sweden as a part of the aftermath of the Napoleonic wars. Norway regained full independence in 1905.

I am not sure which year Frozen is supposed to be set in, but I would assume either before or just after the Unification in 872.

https://en.wikipedia.org/wiki/History_of_Norway

Linux 5.10 6 years ago

On my Dell 13in XPS laptop from 2018 (9370), Bluetooth used to allmost work, but I had to manually pair my headset every time. Now, with the latest Ubuntu, it often connects automatically, but then looses connection immediately, or fails to see that the device can play audio. After some fiddling and turning the device on an off it will work if i start playing audio right away. It will then work for a long time. The amount of fiddling and rebooting of headphones seems to grow with every new Ubuntu release. It may also be a user space error, but in any case, Bluetooth is far from "just working", unfortunately.

FreeCAD Simulator 6 years ago

OpenSCAD can only produce triangulations (STL), not CAD geometries (STEP/IGES).

If you want an OpenSCAD-like workflow, but in Python and producing CAD (Brep) files, then cadquery 2 is progressing very quickly. They now have assembly support, so constructing a multi-solid part (as a STEP file) that can be dragged and dropped into FreeCAD is quite easy.

https://cadquery.readthedocs.io/en/latest/

If you use C++ for CPU-intensive tasks, then yes, in this case. E.g. reading 1kb of input, churning numbers for 10 minutes and outputting an h5 file. If you use C++ for IO-intensive tasks, then your tradeoff is probably different and you would optimise your IO for speed and not readability.

If it had been introduced today, would PNaCl have been rejected which ultimately lead to a better solution (WASM), or would it have been broadly accepted since it had sufficient market reach though Chrome?

Great work! Finally a stable version working with Python3!

I find wxPython highly productive and enjoyable to work with and the wx C++ documentation has always been outstanding. Now the Python docs are also really good! https://docs.wxpython.org/

I know that Qt gets most of the publicity, but personally I prefer wx (having written huge applications in wx and only a small one in Qt, but still). Being able to .Bind() anything without sub-classing and the fact that the class constructors normally takes sensible parameters so that no further method calls are needed to set up a widget makes it very fast and compact to generate dynamic UIs with readable code.

The work Robin Dunn has done with wxPython is simply massive and he should be known as one of the great open source legends, especially in the Python community! Congratulations on a fantastic release!