Better HN
topnewbestaskshowjobs
Log inSign up

mathfailure

314 karma · joined Apr 27, 2019 (7y ago) · 315 submissions

Submissions

comment 3y ago · link · parent

They stopped releasing, I think the project dies.

comment 3y ago · link · parent

> Oh, we don't actually delete anything - just deduplicate for search.

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

> A typical command I run is never going to be something I look up again, so I would prefer to optimize for writing instead of reading. Dumping every command to a file adds no friction to my regular work

Then why write history at all? Just discard it.

comment 3y ago · link · parent

1. I don't always know beforehand if the command I am about to execute is garbage I'd like not to save.

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

This is also sub-optimal, as it causes another problem: some of the commands are part of a bigger sequence (the most import property here is that items inside sequences are ordered, the order of commands matters!), so by blindly deleting duplicates - you break sequences.

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

Disk space is the least of the problems garbage entries in command history cause.

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

If you'd steal a copy of my backpack - I wouldn't mind at all.

comment 3y ago · link · parent

Some of professional videos contain some valuable bits that I am after. And I simply don't let anyone else decide for me what I should and shouldn't watch.

> 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

It looks like making videos became your profession, since you expect monetization of your video views.

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 3y ago · link · parent

That's the most clear signal to just close the tab and forget about this site forever.

comment 3y ago · link · parent

Firefox WAS a good browser.

Firefox has been a failure since their values shifted from developing an extensible browser for advanced users to protecting lgbtq+$^! rights.

comment 3y ago · link · parent

I've read the project's description and still failed to understand what it does and what it is useful for.

comment 3y ago · link · parent

https://public.amplenote.com/embed/VQcRyeVT2SMNqSjbVMnK1871

comment 4y ago · link · parent

That's not reddit, I wish crap like this be removed from hacker news.

comment 4y ago · link · parent

I wish they also provided the code to run own server of ntfy, but instead it looks like they meant "write and run your own server".

comment 4y ago · link · parent

Clearly, I don't. Ever.

comment 4y ago · link · parent

First time I see this piece of software and I'm both intrigued and scared of what it's capable of. My fear (as a k8s administrator) comes from not yet understanding the details of how it works. Yes, I've read the linked article and project's readme on github and they didn't contain the important details.

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

They aren't the same people. If I post my code somewhere online - that means I had already decided to share my code with the public and I don't give a crap who, how and where uses it and whether they claim ownership or claim to be Napoleon.

comment 4y ago · link · parent

Correct. You either have access to the code and thus own it, or you do not, the rest is bullshit (BUT MAH LYSENS FORBEEDS!).

comment 4y ago · link · parent

This man is a legend now. The awesomest quality of articles.

comment 4y ago · link · parent

403 ERROR The request could not be satisfied. The Amazon CloudFront distribution is configured to block access from your country. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

comment 4y ago · link · parent

I don't like the docs / project description. Everything is made 'so simple' that important parts are now gone and everything is now pure magic, I guess.

> 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

This sounds quite awesome, it's a pity that the realization is quite 'alien' to unix way of things. IMO shell commands history should be a database by default, not just a single file that gets auto-appended with both awesome commands and crap you don't really want to get stored for later.

Thanks for linking this project, will try it, it may be a game changer.

comment 4y ago · link · parent

The project's description made no sense to me.

And it lacks a demo of what it does.

I always treat such projects just as useless garbage.

comment 4y ago · link · parent

Proprietary closed-sourced crapware.

comment 4y ago · link · parent

It is abandonware. The page you linked has a 'latest release' button leading here: https://www.gnu.org/software/gnuzilla/ just look at dates.

comment 4y ago · link · parent

I don't get such high-matter maths as 'quantum maths' at all.

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

Well, that's just bullshit.

You either get stuff sooner or get stuff more stable, you can't have 'rock solid' stuff sooner.

comment 4y ago · link · parent

Because alternatives have some requirements that may not suite some people.

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).

1
7891011