HNHacker News
TopNewBestAskShowJobs

japanuspus

1,299 karma · joined September 18, 2015

submissionscomments
japanuspus··on Why does the USA use 110V and UK use 230-240V? (2014)
I read this comment as implicitly assuming two phases to require less copper than three. In reality, the total copper cross-section needed to transfer power in a multi-phase system _decreases_ with increased number of independently wired phases (all else being equal).
japanuspus··on Launch HN: HyLight (YC S23) – Hydrogen airships to inspect energy infrastructure
It is surprisingly difficult to get pure hydrogen to burn. The DOE safety sheet [0] lists an upper flammability limit of 74% which matches my experience pretty well. In other words: gunshots would most likely just cause leakage.

[0] https://www1.eere.energy.gov/hydrogenandfuelcells/pdfs/h2_sa...

japanuspus··on Launch HN: HyLight (YC S23) – Hydrogen airships to inspect energy infrastructure
Also: for inspecting wind turbines (which I imagine would be a use-case), the operators usually want to work on low-wind days anyway.

I used to work at a large offshore wind operator, and the approach we used there for leading-edge inspection of blades was a telephoto lens from a neighboring turbine. As anything involving technicians off-shore, this was very expensive.

japanuspus··on 111,111.1 meters is reliably 1 degree of latitude
The work to measure the meridian with the highest possible precision was in itself a fascinating multi-year ordeal: https://en.wikipedia.org/wiki/Arc_measurement_of_Delambre_an....
japanuspus··on Offshore wind potential in the US is huge but untapped
If you want to follow the details of offshore wind projects, you can consult the the map published by 4C offshore [0] which is used as a reference by everyone in the industry.

[0]: https://map.4coffshore.com/offshorewind/

japanuspus··on Ice core scientists in East Greenland reach bedrock
Not sure if you are trolling of really believe this to be true, but for anyone else assuming good faith: The diffusion aspect is (of course) well-modeled, see e.g. references under "past greenhouse gasses" at [0].

[0]: https://www.antarcticglaciers.org/glaciers-and-climate/ice-c...

japanuspus··on Turmeric’s unexpected link to lead poisoning in Bangladesh
Another comment has this link to an Indian government website with simple tests for various food adulteration: https://eatrightindia.gov.in/dart/
japanuspus··on A 5.7 Terapixel Mosaic of the Surface of Mars
For anyone who studies Martian geology: What is the deal with the 5km deep gorge extending for 1000's of km around -70.654932°‎, -11.473828°‎?

It looks like the planet was almost torn in half.

(Turn on "MOLA Topography"-layer to see it)

japanuspus··on JupyterLab 4.0
This is my preferred way to work as well. Some techniques to address what you are missing:

1. Only checking in semantic differences (not output, timestamps, etc.):

Use the `jupytext`-extension [0] to seamlessly pair you notebook with an lightweight markup version of the input only (which can be used to generate full notebook).

2. Being able to switch between text editor and notebook interface

As other have mentioned, there are integrations for multiple editors.

Another approach is to move the central code out to a python module which you edit in a text editor, and then use the `%autoreload` magic [1] to reimport that module whenever you execute a cell in the notebook.

[0]: https://jupytext.readthedocs.io/en/latest/install.html [1]: https://ipython.readthedocs.io/en/stable/config/extensions/a...

japanuspus··on How to make fancy road trip maps with R and OpenStreetMap
Total agreement on QGIS: seems daunting at first, but if you know exactly what you want you can usually get there in half an hour.

I have been using this a lot for scout activities and keep grandma-style notes of which buttons to push for a particular use-case. So awesome to be able to do things like contour-only maps and atlas along a route.

For any Danes around: There is an official plugin from "Kortforsyningen" for QGIS, allowing you to pull all the high-quality public data directly into your maps.

japanuspus··on Colorado repealed law limiting municipal internet
In Denmark we now have an infrastructure / network-provider split on fibre, so that one company provides the physical infrastructure and then there is an open marked for network providers to provide services over that fibre.

Physical last-mile infrastructure is owned and operated by utility companies (privately operated non-profits), typically together with electricity or water, but in some areas by specialized fibre utility companies.

This setup requires a mature technology, but it has been very effective in driving consumer costs down.

japanuspus··on Americans have never been so unwilling to relocate for a new job
I once heard an anecdote that during the industrial revolution in the UK, "mills" were build out in the country where hydropower was available and the mill owners would also build homes to sell to workers. When recession hit and the mills downscaled, the workers were forced to sell at loss in order to relocate -- and the mill owners could resell the homes at profit when business picked back up.

Quickly Googling, this might be related to the Lancashire Cotton Famine [0].

[0]: https://en.wikipedia.org/wiki/Lancashire_Cotton_Famine

japanuspus··on Kids trying to play video games on school laptops
Similarly, my attempt to get my son started on simple HTML was stranded by his school disabling the "developer view" in Chrome. I suspect the simple reason is that seeing the source allowed you to cheat on some of the educational websites the teachers use for assignments.
japanuspus··on Dropbox telemetry can't be disabled
This. Recently came back to macOS after a decade on the other side, and one surprise was how terrible the official Dropbox client was. Installed Maestral instead and it just works -- just like Dropbox used to.

<begin rant>I see Dropbox as one of the biggest failures of the VC model. If only they had been bootstrapped, they would probably have stuck with their initial sync offering: A perfectly executed solution to a problem everybody has. And a small team could have made a good living here -- even with reasonably priced non-free options. Instead I imagine some VC partner convinced them to "grow their market" (or maybe "prepare for cloud"), and now they are descending into irrelevance. <end rant>

japanuspus··on America’s $800B climate splurge is feeding a new lobbying ecosystem
Nevertheless tenured academics are expected to handle this themselves in parallel with teaching and research...
japanuspus··on Stop Telling Everyone What You Do for a Living
Think there are large regional differences here. My experience from living two years in Boulder, CO a while back was that the first intro question was always "what did you do in the weekend".

I'm Danish, so it was not until I started discussing plans for moving to one of the coasts that I realized that I should expect another life there.

japanuspus··on Lobbyists begin chipping away at Biden’s $80B IRS overhaul
Having done personal taxes in both Scandinavia (Denmark) and the US, I would claim the opposite: The US system is relatively simple, and finding precise instructions is possible. Admittedly, my life was simpler then (rental property, no investments), but event with international income I remember it as a mater of filling out two sheets of paper.
japanuspus··on Bob Metcalfe wins Turing Award
Quanta magazine article on subj.:

https://www.quantamagazine.org/bob-metcalfe-ethernet-pioneer...

(This link is also on front page right now, but not getting any comments).

japanuspus··on Pytest Tips and Tricks
My favorite pytest trick: Using jupytext notebooks as tests.

I always use a notebook for notes and experiments when building python packages. By using `jupytext`[0] I can store the notebook as a commented python-file, which I can run from a parametrized test that runs all notebooks in a given folder [1]. Adding a few `asserts`, this gives you reasonable test coverage right from the start.

[0]: https://jupytext.readthedocs.io/en/latest/ [1]: https://stackoverflow.com/a/56813896/212538

japanuspus··on Google releases Bard to a limited number of users in the US and UK
Or at least arithmetic. And as the old (physicists) saying goes, you should never trust a true mathematician to use numbers larger than 4.
japanuspus··on Math and Motion: A Look at Chebyshev’s Works on Linkages
For anyone wondering about the domain name: Week 42 is the "autumn break" in Denmark: kids are home from school, you are still filled with travel from your summer holiday, weather is typically ok -- so in short, it is the perfect time do work on fun projects with the kids.
japanuspus··on Math and Motion: A Look at Chebyshev’s Works on Linkages
This is a fascinating subject. I stumbled into it (without knowing of Chebyshev) while playing with a "lego walker" back in 2018. Even did a couple of blog posts [0,1] (in danish, and mostly for my own benefit) exploring the geometry.

Only recently did I learn of the Chebyshev linkage, which has a "lambda variant" [2] is basically what I was looking for in the walker (except it needs to be upside down, as in Chebyshevs own "walker" or "plantigrade" [3]).

[0]: https://hack42.dk/2018/04/lego-walker/ [1]: https://hack42.dk/2018/04/geogebra-og-gaamaskiner/ [2]: https://en.wikipedia.org/wiki/Chebyshev_lambda_linkage [3]: https://en.wikipedia.org/wiki/File:Tchebyshevs_plantigrade_m...

(Edit: formatting)

japanuspus··on Switching from C++ to Rust
Completely agree. This article [0] by Raphael Poss, explicitly listing how functional constructs look in Rust compared with "pure" functional languages is one of my favorite takes on Rust.

[0]: https://dr-knz.net/rust-for-functional-programmers.html

japanuspus··on Maxima: A computer algebra system written in Common Lisp
An alternative is to run maxima from jupyter: https://github.com/robert-dodier/maxima-jupyter.
japanuspus··on Show HN: Makejinja: Automatically generate complex Home Assistant configurations
My impression is that most people doing heavy automatisation in Home Assistant are using Node Red or AppDaemon [1] almost exclusively.

    [0]: https://community.home-assistant.io/t/home-assistant-community-add-on-node-red/55023
    [1]: https://community.home-assistant.io/t/home-assistant-community-add-on-appdaemon-4/163259
japanuspus··on Seawater electrolysis by adjusting the local reaction environment of a catalyst
Synthetic fuels will be nothing but greenwashing for the next 20 years: there is massive demand for industrial hydrogen (most fundamentally for synthetic fertilizers), and as long as that demand is not met with hydrogen from renewable sources, it will be supplied (as today) from from methane-steam reforming -- using the exact fossil hydrocarbons that synthetic fuels would replace.

But yes, synthetic fuels would allow people with money to go to Davos and run their yachts while claiming total greenery, so I have a feeling we will end up with green synthetic fuel and black synthetic fertilizers even if causes larger net emissions.

japanuspus··on Show HN: TunnlTo – Windows WireGuard split tunnel client built with Rust, Tauri
This is exactly what Tauri does: unlike Electron it relies on the system web engine.
japanuspus··on Researchers develop a light source that produces two entangled light beams
The new part here is creating two entangled light beams at wavelengths suitable for interacting with trapped atoms.

The general technique of creating entangled beams via OPO has been used for years at other wavelengths, and the resulting beams have been used for quantum optics experiments (including some rather spectacular ones).

What is new here is that by using light at wavelengths that can interact with trapped atoms, there is a possibility to use such atoms as quantum memory.

japanuspus··on Underappreciated challenges with Python packaging
As detailed in the other answers, there are two parts to this: 1) Creating a python package from your project (and possibly share this on pypi), and 2) Making this package available as an end-user application.

For step 2 you can use nuitka or similar, but if your audience is somewhat developer-oriented, you can also propose for them to use pipx: https://github.com/pypa/pipx.

japanuspus··on Towards sustainable desalination (2019)
Good point.

In fact, since the end product (desalinated water) is easy to store in great amounts, desalination could be one of the processes that would run when surplus energy is available.

With current prices for renewable generation and storage, an overcapacity in production of 300-500% seems to be the optimal from a system cost perspective: In such a world, lots of surplus energy would be available at low cost for a flexible consumer such as this.

← PreviousPage 3 of 10Next →