314 karma · joined Apr 27, 2019 (7y ago) · 315 submissions
comment 3y ago · link · parent
Good to hear, but the point stands: so you deduplicate only for the view, not in the source, and thus the source remains contaminated with duplicates (at very least they cost some disk space and increase seek time).
As for the view: so, since you deduplicate the commands - you can't lookup the context (commands executed before & after)! Because each time the now deduplicated command was executed in the past - it had its own context!
comment 3y ago · link · parent
2. I just don't want to be conscious about that every time I write a command. I'd rather edit history after I've finished some work. But that's just too tedious to do manually, I'd like to have some pre-configured heuristics applied automatically, like "never save cd/ls to history", but provide a way to overrule that rule in rare situations.
3. Absolute/partial/symlinked paths - are another separate problem :'(
comment 3y ago · link · parent
In SQL there are sessions and transactions. In shell history - we don't have such entities and this sucks. One could configure their bash/zsh to save history into separate files, but you can't teach them later to source them properly (retaining session awareness).
comment 3y ago · link · parent
It's not just commands that are actual for the current session (like ls/cd/cat), it's also incorrect commands or just commands not worth retaining still being saved among with the useful commands.
The most precious is user's time. And when you fzf part of the command with the regularly saved history and would like to re-execute something important - you'll first get a long list that you'll first have to filter to find the command you were seeking.
So to counter your question with another: why store garbage?
comment 3y ago · link · parent
> you are just "stealing" content and trying to excuse yourself for it by wishing it was something it isn't.
> The videos aren't put out for free
I don't even try to excuse myself if you call it 'stealing', instead I'll just agree, since from your point of view - me watching your videos with adblockers enabled basically makes me a thief of your potential profits (which isn't a direct loss, but a somewhat comparable thing).
Thing is (which many people that upvoted my previous post would probably disagree with) - I am not nice at all:
I don't care about your profits.
I don't owe you anything.
You want money for your videos? You are free to sell them! Don't upload them into public!
Oh, but you did? Well, I might watch them for free now with all my adblockers (if, I wish so), because that's now for me to decide. I might rewind your videos if I get bored or annoyed by some parts.
And I don't care what you think about it.
I just wanted to explain my position that your choices affect you and my choices affect me: you can't command me and I can't command you.
You chose to become a professional youtuber - go you!
I chose to be a pirate - yarrr! I might watch your content for free!
p.s.: another thought that entertains me: as you might have not noticed - you didn't pay me for reading my comment. Does this make you a hypocrite? [That's a joke, re-read my comments for free as many times as you like, I'm a hobbyist poster!]
comment 3y ago · link · parent
And I, as a viewer, simply don't want... professional content.
I want to watch videos made by hobbyists for the sake of fun and to inform/debate/educate.
So by installing adblockers and shill-skipping scripts I simply vote for my interests.
comment 4y ago · link · parent
Does this tool work with any k8s cluster? or does one at first need to install an operator into their cluster?
Does this tool talk to kubernetes API? If yes - then does it rely on kubectl's config or what?
https://mirrord.dev/docs/overview/faq/ - Here I've found an answer to "how exactly does it do it's magic?":
> Does mirrord install anything on the cluster?
> No, mirrord doesn’t install anything on the cluster, nor does it have any persistent state. It does spawn a short-living pod/container to run the proxy, which is automatically removed when mirrord exits.
> If you have any restrictions for pulling external images inside your cluster, you have to allow pulling of ghcr.io/metalbear-co/mirrord image.
and also another important detail:
> Since mirrord uses the dynamic linker to load into the application’s process, it cannot load if the binary is statically linked.
comment 4y ago · link · parent
comment 4y ago · link · parent
> We want to make it more trivial to build OCI compliant images without all the knowledge required to understand how Dockerfiles/Container Filesystem/BuildLayers/etc work
As someone who understands how the above mentioned stuff works - I feel like I'm being forcefully excluded from the tool's target audience as I need explanations and the docs are written with such an idea in mind that it is something I shouldn't know.
https://nixpacks.com/docs/how-it-works
> Nixpacks works in two steps
> Plan
> Analyze the app source directory and generates a reproducible build plan. This plan can be saved (in JSON format) and re-used at a later date to build the image in the exact same way every time.
How about an example of how a simple plan for a few projects would look like?
Plus, the tool seems to assume too much:
> To create the plan, language providers are matched against the app source directory and suggest Nix packages
I don't need no Nix in my images, no thanks.
comment 4y ago · link · parent
Thanks for linking this project, will try it, it may be a game changer.
comment 4y ago · link · parent
comment 4y ago · link · parent
This all sounds like some bullshit.
What was the solution?
> Critically, the quantum states that compose these officers have a special relationship called entanglement, which involves a correlation between different entities. If a red king is entangled with an orange queen, for instance, then even if the king and queen are both in superpositions of multiple regiments, observing that the king is red tells you immediately that the queen is orange.
Okay.
> The theory seemed to work, but to prove it, the authors had to construct a 6-by-6 array filled with quantum officers. ... > When the researchers repeated the algorithm over and over, the puzzle array cycled closer and closer to being a true solution. Eventually, the researchers reached a point where they could see the pattern and fill in the few remaining entries by hand.
So what is the goddamn solution???
There isn't one, cause that's all bullshit and they didn't solve anything. I can claim I solved all the proved unsolvable math problems that way (I just superpositioned everything quantumly so everything has a solution).
Grant money well wasted.
comment 4y ago · link · parent
1. VMs have relatively big resources overhead and this approach requires you to download some Android image first.
Of course you'd want some clean distribution and there simply aren't many such ones (that I know of) that are easily available. The ones I tried - were a 2-in-1 shitshow+slideshow for me. Maybe it's because I used ISO (for QEMU/KVM), as I didn't want to run proprietary crapware (VirtualBox/VMWare).
2. Going with Anbox requires having crapware snapd and their Android image is quite old (Android 7.1.1).
3. Going with Waydroid requires having Wayland, which if you don't use it - is an overkill to install just to have Android on your PC.
4. Going with Android from AndroidSDK - is probably an even harder way to get access to some Android on your PC (I don't really know, I haven't investigated that option).