HNHacker News
TopNewBestAskShowJobs

muxator

2,203 karma · joined September 28, 2017

submissionscomments
muxator··on Ferrari owner Exor wants to build the Italian Y Combinator
Please do.
muxator··on Ask HN: Do you believe in GNU's Free Software?
I speak only for myself, but to me these two sentences clash with one another:

> The free software movement gave me an operating system and critical applications so I can do my work without big company garbage interfering.

[...]

> Because this is onerous software developers who seriously wish for success and profit minimize exposure to copylefted source code.

I couldn't say them without feeling I'm internally adopting a double moral standard in order to justify my goals.

muxator··on You build it, you run it [pdf]
This is indeed true in many cases, but not always.

If your application is a client-side GUI you may not want to restart it on reconfiguration. This applies to other things as well: think about having to restart your reverse proxy/load balancer each time you add a new route, or rebooting your OS each time you reconfigure a systemd unit, or reinitializing your embedded HW because something changes. The possible incarnations of SW are very much varied, and not everything can be solved in the same way.

muxator··on You build it, you run it [pdf]
Building a _runnable_ system is yet another ability, though. This may not apply to you specifically, but - for example - think about:

- clear error messages (with the actual data that caused it, minus privacy-sensitive information) - possibility of reloading configuration without having to restart the whole application (configure-once-at-construction-time is not enough; not every application is a web application with a php-like lifecycle)

- atomic check pointing and restoring of long running operations, without leaving a trail of partially truncatd temporary files

- security: you do not know how to write secure software until someone hacks your software in an unexpected way. This includes knowing how actual infrastructure configuration affects the running software (symlinks, permissions, capabilities)

- performance: unless "scale" a software means blindly increasing the number of replicas, there are so many architectural lessons to be learned studying flame graphs of actually running software that it is hard to imagine to acquire those expertise without making your hands dirty. At that point, it is even possible that your software works so well it no longer needs so much hardware

muxator··on Meld is a visual diff and merge tool targeted at developers
> Meld is extremely performant too

I've ben using Meld daily for more than 10 years now. I am not so sure it can be defined "performant". Maybe your box is really powerful, but on small and mid-sized systems its performance is more on the clunky side.

I remember its performance worsened when it migrated to GTK3. It has stayed semi-slow for me since then.

muxator··on Structured Concurrency
I just wanted to mention that this is taken from the blog of Martin Sústrik, one of the original authors of ZeroMQ.
muxator··on Ask HN: What is your Git commit/push flow?
Easier for you. Harder for who reads you history.
muxator··on Vanced has been discontinued
Good news is Video Background Play Fix is among the (admittedly few) extension that are enabled in Firefox for Android [0]. No need to use the nightly version.

How badly Mozilla messed up with Firefox on Android is worth another topic, however.

[0] https://addons.mozilla.org/it/android/addon/video-background...

muxator··on The case for induction cooking
I disagree. The definition of what is high and what is low frequency depends on what you are comparing.

If you are comparing electric capacitances of electric circuits vs the thermal capacitance of a macroscopic object, 1 Hz might be a high enough frequency for doing pwm.

muxator··on The case for induction cooking
I love my induction cooktop, but you are right: that gesture becomes impossible. Somewhat I manage :)
muxator··on Go’s Version Control History
Hg in itself is alive and well. Interacting with git repositories works well with hg-git.

But it is true that, for the mindset of the general public (or younger developers), it might well be nonexistent.

It is a shame, since life with mercurial is still so easier.

muxator··on Show HN: Koda, a typesafe functional toolkit for Python
Nit: in py3 map() and filter() are lazy (they return iterators instead of lists). You can better mimic their semantics using generator expressions "()" instead of list comprehensions "[]".
muxator··on Show HN: Koda, a typesafe functional toolkit for Python
The map() function is already lazy (in python 3 it returns a generator, and not a materialized list).

You can also have a look at "generator expressions", which are the lazy counterpart to a list comprehension (hint: use " ()" instead of "[]").

muxator··on Attrs – the Python library everyone needs (2016)
And a big thank you for the dataclasses module, and for making the life of the whole python community a little easier!
muxator··on Don't start with microservices – monoliths are your friend
If a dev team cannot self-discipline itself in maintaining a module, is it wise to entrust it with the responsibility of a whole service?

I'd rather work on better mentoring the single members.

muxator··on PSA: uBlock/AdBlocks on Chrome to lose function thanks to Manifestv3
Until Mozilla disables bookmark keywords on the desktop browser, too (on the android version they have been nuked already).
muxator··on Notes on Writing Web Scrapers
You can't use SQLite from multiple threads if you are in single thread mode [0]. If you are in multi-thread mode you can use multiple connections to the DB from different threads, or if you want to share a connection then you have to serialize over it. Or you can use SERIALIZED mode.

This is if you do not care writing any logic. If you do, there are other possibilities, for example using a queue and a a dedicated thread for handling database access, but I personally do not think there are many advantages to this more complicated approach.

[0] https://www.sqlite.org/threadsafe.html

muxator··on Notes on Writing Web Scrapers
First of all, thanks for marginalia.nu.

Have you considered stored compressed blobs in a sqlite file? Works fine for me, you can do indexed searches on your "stored" data, and can extract single pages if you want.

muxator··on Notes on Writing Web Scrapers
My current favorite cache for whole pages is a single sqlite file with the page source stored with brotli compression. Additional columns for any metadata you might need (URL, scraping sessionid, age). The resulting file is big (but brotli for this is even better than zstd), and having a single file is very convenient.
muxator··on Will Nix Overtake Docker?
Not an answer to you're question, but do you feel safe doing (https://github.com/jchilders/dotfiles/blob/main/Makefile#L34)

> sudo curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in... | /bin/bash

piping the output of a curl command to sh without first checking the sha256 of the file you just got?

In a similar situation I would not be comfortable without at least getting a specific version of the tool I'm downloading and then hardcoding an hash of its content I computed after manually downloading and inspecting its content.

muxator··on The Inherent Limitations of GPT-3
Why was this downvoted? I had the same doubt.
muxator··on Firefox is the alternative to a Chrome hegemony
Firefox sync and Chrome sync came out about the same time if I remember correctly. The first release was in Firefox 4.0, but Mozilla Weave (the addon that eventually developed into the first version of Firefox Sync) existed since 2007, before Chrome's first release.

An old Ars Technica article comparing the two protocols (much has changed since then): https://arstechnica.com/information-technology/2010/10/ars-e...

muxator··on Firefox is the alternative to a Chrome hegemony
That's true. They have been gone from Firefox for Android for some time now.

Keyword removal totally dumbed down my browsing experience on mobile. I fear the moment the same will happen on the Desktop version.

muxator··on Rust maintainer perfectionism, or, the tragedy of Alacritty (2020)
I'm perfectly ok with a maintainer reserving to himself the right to modify or even force-push a PR. If feature-wise the PR has value, but there are other requirements that have to be meet in order for it to be mergeable, I see no problem in the maintainer making his hands dirty. This contributor's work is recognized, and the maintainer can keep growing the project the way he wants.

Not every occasional contributor will become a project member, so it makes no sense to impose too much burden on him. Maybe he only wants an interesting feature added.

Some of them will eventually become interested in becoming regular contributors, and that is even better, but every one should be left freedom of choice.

In my experience as Etherpad maintainer (1.6.5 through 1.8.4) this approach worked very well. For example https://github.com/ether/etherpad-lite/issues/3540 (and the related PR https://github.com/ether/etherpad-lite/pull/3559) where deep changes that went very smooth, not only code wise, but above all wrt the relation with the contributor, who was smart and collaborative.

muxator··on Experiments in the Revival of Organisms – Russian Dog Head Experiment [video]
The film is from 1940, and it is in the public domain.

No need to sign in to YT.

https://upload.wikimedia.org/wikipedia/commons/d/d7/Experime...

muxator··on HTTP is obsolete – it's time for the distributed, permanent web (2015)
I do not understand the downvotes here. "It was obvious to everyone watching that the technology was going to change everything": how to disagree?
muxator··on How the .NET Foundation kerfuffle became a brouhaha
You've been lured by the "extend" phase.
muxator··on Show HN: MaryJane – Mjpeg server in 30 lines of async Python
<a href={"https://github.com/bootrino/maryjane"}>

What are the curly braces around the URL in <a>'s href attribute? Is there a spec for it?

muxator··on A search engine that favors text-heavy sites and punishes modern web design
How so? It's intuitive and super fast. I whish there were more websites with such a simple UI.
muxator··on My small revenge on Apple
When given the possibility, I always use the web version over a native app. I do not want to install as few software as possible on my device, and (at least for the time being) the security model of the browser is well-known and customizable (to an extent).
← PreviousPage 4 of 14Next →