HNHacker News
TopNewBestAskShowJobs

majoe

279 karma · joined March 24, 2020

submissionscomments
majoe··on Companies with return-to-office mandates face losing their most valuable workers
That article kind of misses the premise of its own headline.

90% of the article is the usual discussion about working from home: Are employers more or less productive, cultural changes after COVID, managers reasons for RTO, etc

But all of these don't answer the why of the actual key observation:

"...they are losing experienced managers and top performers at disproportionate rates"

Why disproportionate? There could be many reasons, but there is surely an obvious one:

"You can force employees back to the office, but not the good ones "

And why is that so? Because you're less likely to force a good employee than a bad employee to do something, simply because the bad employee has less opportunities to leave your company.

The more interesting question would have been, whether there is actually a disproportionate amount of good employees, which wanted to work from home and therefore left, or only a disproportionate amount of good employees, which were able to leave (which is naturally always the case).

majoe··on Git cheat sheet [pdf]
git is now so ubiquitous in software development, that it's hard to justify learning another version control system. You're probably better off learning the core concepts and using the most common git commands through some GUI.
majoe··on Gaussian Blue Noise (2022)
The upper bound of the approximation error of random Monte Carlo methods decreases with O(1/sqrt(N)), whereas the error for quasirandom Monte Carlo methods (omitting some details) decreases with O(1/N) (where N is the number of samples) [0]. I don't think path tracing is an exception here.

I would even argue the opposite: For the same variance I would expect the error to be more perceptible for (blue noise) quasirandom MC, because it can lead to regular patterns in the noise.

[0]: https://en.m.wikipedia.org/wiki/Quasi-Monte_Carlo_method

majoe··on Alacritty – A fast, cross-platform, OpenGL terminal emulator
Foot is really great. I often open terminals for executing single commands, so I appreciate its short startup time
majoe··on Gaussian Blue Noise (2022)
Not only in imaging. More generally, blue noise is often used with all kind of Monte Carlo simulations, since the more evenly spaced sampling can speed up convergence. Raytracing can be seen as one such MC simulation
majoe··on Lithium-free sodium batteries exit the lab and enter US production
One of the claimed benefits of sodium based batteries, that I remember from the press statements of CATL, is that they don't burn, even when you but them in a fire. The also should work in a wider temperature range, which is especially interesting for cold regions.

In the article it says, that they are using a "patented Prussian blue". Isn't CATL also using Prussian blue in their first generation sodium batteries?

majoe··on Are We Modules Yet?
I still like the Effective Modern C++ books by Scott Meyers, although they are a few years old already.

The modern parts of C++ are alright (inelegant and cumbersome, but alright), but because the language has grown over the years and best practices changed, it's difficult to see, which parts are worth learning as a newcomer.

That's why I like the books, mentioned above. They give concrete Do's and Don'ts, explain some important concepts like move semantics and why and how best practices changed.

Keep in mind, that these books require some preliminary knowledge, but you should be fine, if you learn the basic stuff from an online tutorial before going through the books.

majoe··on Negative-mass exciton polaritons induced by light-matter coupling semiconductor
OK, I give it a shot, though it's been a long time since I worked with polaritons.

Let's start from the beginning. If you look at a single atom, you find distinctive energy states for an electron, but in solid state physics these distinctive energy states blur into continua of possible state, called bands.

Usually you will find plots of such band structures in the momentum space and here the mass of the electrons come into play. Juggling a bit with formulas one can see, that the curvature (second derivation) of the band structure is the (effective) mass of that particle.

So, is this a "real" mass? Well, who cares, but certainly the particles behave like they have this mass and that's also why polaritons are so interesting.

If you bombard your electrons with photons, so that they absorb/emit with an high enough rate (strong coupling), they stop behaving like electrons and instead behave like a combination of photons and electrons. We call this quasiparticle a polariton.

Now, to tie that all together, the photon has m=0 and since the polariton inherits some properties from it, it also has a drastically reduced effective mass.

The guys from this paper seem to have found a configuration, where the effective mass is not only small, but negative, which is surprising.

majoe··on Funeral Food
I think the "Leichenschmaus" is underappreciated, both for the communal aspect and also simply for how good it feels to eat good food after the emotionally demanding funeral.

I told my wife, that if I die before her, to cheap out on the coffin and the tombstone and to spend the money on a fine meal instead.

majoe··on Go or Rust? Just Listen to the Bots
Packaging is indeed a weakness of Python, but to be fair, that Python packages are frequently wrapping C, C++ or Fortran code makes packaging a lot harder compared to nodejs.
majoe··on German state moving 30k PCs to LibreOffice
There is Collabora Office [0], which is built on LibreOffice. It also has a Nextcloud integration.

[0]: https://www.collaboraoffice.com/

majoe··on Wayland breaks your bad software
Plasma 6 was released recently with man fixes and improvements for the Wayland session, which is now the default. So it may be worth to try it again.
majoe··on Germany's solar panel industry, once a leader, is getting squeezed
To add to what others already commented. The EU has been setting energy efficiency targets for itself for several decades now. In the most recent update to that target "EU countries will be required to achieve an average annual energy savings rate of 1.49% from 2024 to 2030" [0].

So it's not that surprising, that Germany's energy production is sinking, it is required to do so.

[0]: https://energy.ec.europa.eu/topics/energy-efficiency/energy-...

majoe··on Terminal Latency
I also recently tried different terminals, because I was annoyed by the startup time of konsole. I eventually settled for "foot" [0], which I think is a bit underappreciated. It would be an interesting addition for the benchmark, although it's Wayland only.

[0] https://codeberg.org/dnkl/foot

majoe··on I'll refrain from providing code that involve concepts as you're under 18
From all the modern C++ features, concepts are imho the least offensive, though. I never heard anyone calling them dangerous or anything the like, which wouldn't make sense, since they are a compile time feature.
majoe··on The KDE desktop gets an overhaul with Plasma 6
How good is wayland support on Nixos currently? Did you have to make a lot of tweaks to your nix configuration?

Last time I tried it a few months ago, albeit with plasma5, it kind of worked, but I had to do many tweaks in my configuration and couldn't figure out settings for coherent scaling for hidpi.

majoe··on When Apple takes the European Commission for fools: An initial overview
If your old relatives "cannot even handle passwords", I doubt they will install alternative App Stores or sideload some apps straight from the internet.

On Android, there is usually a setting to allow apps from different sources and additional permissions, you can enable per app (e.g. a permission for Apps to install other apps, which is for example needed by F-Droid).

Also this is not about preferences, but about anti competitive behaviour. Nothing will be taken from you. If you prefer the Apple ecosystem as is, you can keep using it as before, but Apple's competitors should get a fair chance to provide an alternative experience on iOS.

majoe··on Show HN: I made an app people call "Airdrop for Android"
+1 for KDEConnect, it's a great piece of software.

The other day I figured out my last problem with it: My phone was coupled with my laptop and desktop computer, but desktop and laptop were not coupled to each other. This lead to awkward behaviour, when all three devices were turned on. For one reason or another I never thought about changing that, but coupling desktop and laptop fixed all problems I had occasionally with kdeconnect.

majoe··on Going declarative on macOS with Nix and Nix-Darwin
Not sure what the situation on MacOs is, but you don't need to use home-manager, do you?

You should be able to simple use:

nix-env -I <package_name>

Or (new flake enabled CLI tools):

nix profile nixpkgs#<package_name>

That's quite close to other package managers. You still have the massive nixpkgs repository and tools like nix-shell as an advantage.

majoe··on The roots of ancient Rome's gladiator fights
Civilized is such an overloaded term. What you and other commenters are lamenting is a lack of human rights, not a lack of civilization. We often take human rights for granted, but in antiquity (less so in the Middle ages) the only rights, that you could possess, were by virtue of your citizenship.
majoe··on Ask HN: What has quantum computing achieved so far?
tl;dr: Quantum computers are not only interesting for their practical applications, but also for furthering our understanding of Quantum mechanics.

I had a similar feeling until I took a course on 'Theory of Quantum Information'. It cleared up some reservations I had about problems of Quantum Computing, e.g. error correction, and showed, that these are solvable (at least in theory).

But more important, the lectures made it clear for me, that information is a physical quantity not less real than e.g. energy and that treating it as a non-physical "auxiliary" variable is core to many of the perceived paradoxes of QM. Also Quantum Computers try to make Quantum coherence work outside of closed laboratory systems, which not only pushes the boundaries of experimental physics, but also leads to interesting theoretical problems, since open systems don't exhibit a unitary time translation and are therefore not governed by the Schrödinger equation.

These things together helped to spark a new interest in looking at the foundational questions of Quantum mechanics after decades of "Shut up and calculate".

majoe··on Simulating fluids, fire, and smoke in real-time
Raytracing simulates geometrical optics. That it doesn't take interference pattern into account is therefore a mathematical limitation and of course true, but irrelevant for most applications.

There are other effects (most notable volume scattering), which could be significant for the rendered image and which are simulatable with raytracing, but are usually neglected for various reasons, often because they are computationally expensive.

majoe··on Julia solves the 2 language problem, however it creates the 1.5 language problem
Mojo is a superset of python, but, when I remember correctly, they are introducing C++ like move semantics to achieve "C like performance".

While formally this solves the "2 language problem" (and by design creates the same 1.5 language problem discussed in this talk, but only worse), I don't think it is a good trade off between performance and usability.

majoe··on Show HN: Microagents: Agents capable of self-editing their prompts / Python code
Small nitpick: I think you mean the second law of thermodynamics.

Also the second law of thermodynamics is an empirical law. It is based on observations and not proven. To say, that a perpetual motion machine can't exist because of the 2nd law, is circular logic, since the 2nd law was established precisely because a perpetual motion machine was never observed.

That's from the POV of thermodynamics, though, you can show with statistical mechanics, that the probability for a process that defies this laws goes to zero.

majoe··on Wikifunctions
> ...Westerners... > ...Western-thinking

When did we become Westerners and started to think in the same way?

I recognised a trend for such expressions in the news, too, in the last few years. It's misleading and creates a "we against them" mentality.

majoe··on State of Mozilla
They do have a fixed release window, don't they? So the amount of versions per year is not really meaningful.

Laying off the Servo team is one example I remember, that didn't look like Mozilla cares about Firefox. Personally I keep on using Firefox and can't really complain about the browser itself, even though it's noticeable that incompatibilities increased over the years as the market share decreased.

I also agree, that it's the correct approach for Mozilla to search for different revenue streams. They just haven't been succesful with that for years, which together with the fact, that market share is declining drastically, paints a bleak future for Mozilla.

A lot of people care about Mozilla's declared goal of an "open internet" (for which a browser monoculture is the greatest risk). That's why you hear so many complains.

majoe··on D Programming Language
What made Julia so difficult to package? I'm genuinely curious.

> ... because of how little they care about increasing the safety in the language (like Rust or Ada).

I think it's a bit harsh to compare Julia to Rust on that front. Julia has completely different design goals. Compared to Rust's borrow checker and C++'s move semantics, Julia's immutability-by-default (+ clever compiler optimizations) gives a good trade off between performance, safety and ease of use. While Rust goes for safety + performance, Julia goes for performance + ease of use (respectively dynamicity).

Nevertheless, I miss some features related to type driven development in Julia, which would improve safety:

  - A newtype idiom
  - Sum types
  - Explicit, type-checked interfaces : I actually would prefer something like C++20 concepts (a blacklist approach) to Rust's trait (or typeclasses, a whitelist approach), because it would be a better fit for Julia's design goals.
majoe··on Ask HN: Why do half of Internet users think we are living in a simulation?
The argument presented above rules out a infinite chain of simulations inside simulations. It may still be possible to have a finite chain of simulations, where the fidelity successively decreases. At some point down the chain the simulation can't have enough capacity anymore to contain conscious beings, which wonder, whether they live in a simulation.
majoe··on Apple and Irish Government suffer major setback in €13B EU case
What may be beneficial for Ireland, is certainly not beneficial for the other nations in the EU. I don't see why it's bulllying, when Germany or France try to enforce the treaties they have with Ireland (as an EU member).
majoe··on Does employer have to tell if they're spying on you through your work computer?
To elobarate on that, the hurdles for monitoring employees are really high. It is always illegal to do it secretly and conversations etc are considered private even if you're in the office and talk with collegues. Also worker's councils hate that stuff and a company would have a really bad time with theirs.
← PreviousPage 3 of 4Next →