Hacker Newsnew | past | comments | ask | show | jobs | submit | snatchpiesinger's commentslogin

I assume that firing was a bit more selective in who they wanted to keep.


> Actually it was a bit unexpected that it would have known to do that; it must have used its complete IMU data to even know it was rolled, as plain accelerometer would have been pointing "down" as usual.

That actually feels like overengineering based on well-intentioned, but wrong specs. You probably want to just use sideways acceleration for "falling over" detection, instead of roll.


Python dlopens binary wheels with RTLD_LOCAL on Linux, and I assume it does the equivalent on Windows.

There were issues relatively recently with -ffast-math binary wheels in Python packages, as some versions of gcc generates a global constructor with that option that messes with the floating point environment, affecting the whole process regardless of symbol namespaces. It's mostly just an insanity of this option and gcc behavior though.


Windows has a different design where the symbols are not merged, the .dll name is part of the resolution, so you can have 2 different .dll export the same symbol.


You can have private and public dependencies. Private dependencies are the ones that don't show up on your interface at all. That is you don't return it, you don't throw it or catch it (other than passing through), you don't take callbacks that have it in their signature, etc... You can use private dependencies for the implementation.

It should be safe to use multiple versions of the same library, as long as they are used as private dependencies of unrelated dependencies. It would require some tooling support to do it safely:

1. Being able to declare dependencies are "private" or "public".

2. Tooling to check that you don't use private dependencies in your interfaces. This requires type annotations to gain some confidence, but even then, exceptions are a problem that is hard to check for (in Python that is).

In compiled languages there are additional compilications, like exported symbols. It is solveable in some controlled circumstances, but it's best to just not have this problem.


> you don't throw it or catch it

Herein lies the issue: in this context exceptions can be thought of as the same as returns. So you actually need to catch/handle all possible exceptions in order to not leak private types.

Also what does “except requests.HttpError” do in an outer context? It checks the class of an exception - so either it doesn’t catch some other modules version of requests.HttpError (confusion, invariants broken) or it does (confusion, invariants broken).


It's fine as long as you catch all exceptions, and only produce ones that you document. Your users aren't supposed to know that you used `requests` at all.


Sure, but who does this? And the typical pattern is to wrap exceptions, giving you access to the inner exception if you need more context.

The requests HTTP exception contains the request and response object. Wrapping that would be a huge pain and a lot of code.


The actual video title is "Lorenzetti Electric Shower Head", the HN submission title is edited to include the nickname "suicide shower head". I think the best would be is to just use the actual video title here.

FWIW it's just a nickname for their apparently dangerous design (which doesn't necessarily translate to actually dangerous), it has nothing to do with suicides.


It is extremely common that these showers are installed visibly ungrounded which is extremely dangerous by developed country standards. It's common to feel a tingling sensation while showering if you are in any way tall (over 175cm).

That said, it's obviously something millions of people live with, so it's still relatively safe in grand terms.


> It's common to feel a tingling sensation while showering if you are in any way tall

Why does the user's height make a difference?


Closer to the shower head, less resistance from the water.


> Aliasing in sound is usually painfully untolerable. It does not seem to be like that in graphics.

It's tolerable in graphics in many cases, but becomes painfully obvious when the spatial frequency of some model approaches the pixel grid's frequency, and you get very distracting Moiré patterns.

edit:

But I guess in 3D rendering you deal with this differently, probably. You probably don't want to spend resources on painting model details that are half a pixel in size, so they get entirely culled, instead of causing any Moiré problems.


git log --first-parent


I wonder what the fallout of this will be. If this results in a successful fork of wordpress with a registry independent from Wordpress.org that would be quite ironic.


The issue started from WP Engine not contributing back to WordPress, I don't see how they'd ever put up the resources to fork anything.


To my understanding WP Engine already sponsor a dozen developers on the WordPress project, maintain their own open source projects, and host events.

Matt's demand was allegedly specifically for "tens of millions to his for-profit company Automattic" (i.e. WordPress.com, a for-profit competitor of WP Engine, not WordPress.org) for a trademark license.


I thought the trademarks were owned by the Wordpress Foundation?


They are, and the foundation's policy[0] already explicitly states:

> The abbreviation “WP” is not covered by the WordPress trademarks and you are free to use it in any way you see fit.

Matt's whole "WP Engine needs a trademark license, they don’t have one", to try to extract money from WP Engine, is legally toothless as far as I can tell.

According to WP Engine:

> Automattic CFO Mark Davies told a WP Engine board member that Automattic would “go to war” if WP Engine did not agree to pay its competitor Automattic a significant percentage of its gross revenues – tens of millions of dollars in fact – on an ongoing basis. Mr. Davies suggested the payment ostensibly would be for a “license” to use certain trademarks like WordPress, even though WP Engine needs no such license.

[0]: https://web.archive.org/web/20240901224354/https://wordpress...


There are two paths:

1. Fork and cherry-pick from upstream, don't accept contributions from outside. They need minimal changes.

2. Fork and maintain their fork independently, try to get community contributors too.


If WP Engine is not capable to contribute to WP development, how do you imagine they will ne able to support a fork?


We also did it in uni, it was very exhausting. And after a full day of measurements noone ever had enough data to see the quantization of the charge of electrons.


> Cyclists rarely leave the bike lane for pleasure, it's usually either because a car is parked on the bike lane, pedestrians are walking on it, or because there's litter or a bad surface (bikes are much more sensitive to uneven road surface, but at the same time bike lanes, especially those that are separated from the road, are often built with lower standards than the streets).

Or you know, turning left (or turning right in the UK). Or entering a roundabout, where it's generally better to take your lane, if you are not leaving at the first exit.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: