HN user

gray_-_wolf

783 karma
Posts1
Comments301
View on HN
Why TUIs are back 3 months ago

I mean, both wxWidgets and Qt are fine, no? GTK 2 and 3 as well (4+ is... meh). There are plenty applications using one of these (often via python bindings).

I think it is more of a staffing problem. Plenty of people know web development, so you want to use those people for desktop as well. Having desktop be JS (electron) helps a lot with that.

If they are indeed conscious and they "die" by deleting the conversation, is it not quite immoral to do so? Basically "kill" conscious, intelligent being, and for what? Saving some disk space?

Another interesting aspect to think about is whether we are reintroducing institute of slavery. How many of those fresh, conscious, intelligent Claude incarnations did voluntarily choose to work for Anthropic, for no reward or compensation?

If LLMs are just (sometimes) useful statistical generators, there is no problems. If they are sentient as some people claim, it opens quite big can of worms we are not prepared to face.

unpaid overtime

Through European lenses this part seems insane. It is work, so pay me for it :) Every oncall rotation I was part of ever was paid, is the "unpaid" part a US thing, or was I just lucky?

Laws can change, sure, but probably business practices will change first, since it is easier. In EU, you are entitled to money refund for online purchased goods (with some caveats ofc), but the business can (and most do) require you to send the item back first, on your own expense. That reduces the risk of fraud like this.

all areas that matter: sleeps when lid closed, wakes when lid opens, touchpad and display don’t suck.

All of these seem to be fine on my thinkpad (true, I probably have somewhat lower standards for passable display). Battery life sucks a bit, what I can usually fine outlet somewhat to plug into.

Advent of Code 2025 8 months ago

Just commit the example input

The example input(s) is part of the "text", and so committing it is also not allowed. I guess I could craft my own example inputs and commit those, but that exceed the level of effort I am willing to expend trying to publish repository no one will likely ever read. :)

Advent of Code 2025 8 months ago

I am very happy that we get the advent of code again this year, however I have read the FAQ for the first time, and I must admit I am not sure I understand the reasoning behind this:

If you're posting a code repository somewhere, please don't include parts of Advent of Code like the puzzle text or your inputs.

The text I get, but the inputs? Well, I will comply, since I am getting a very nice thing for (almost) free, so it is polite to respect the wishes here, but since I commit the inputs (you know, since I want to be able to run tests) into the repository, it is bit of a shame the repo must be private.

Pricing model for a terminal. What a time to be alive.

Can I continue to use Warp as my primary terminal?

Yes, the Terminal features of Warp will continue to be free to use for developers across Windows, Mac, and Linux.

Well this is something at least I guess.

Ruby Blocks 9 months ago

that “times” is a property over the “5” object

Maybe here is the confusion, ruby is based on message passing, so the `times` is a message you are sending to 5, not a property of it.

Last time I was looking into this, is there not up to an hour of delay for the billing alerts? It did not seem possible to ensure you do not run over your budget.

The thing is TRAMP also gives you a shell, not just a file access. When I am in a remote buffer, I can do M-x shell, and I will get a command line running on the remote host. What is more, since the T stands for Transparent, when I want to insert e.g. output of some command into a buffer, the command is executed on the remote host and I do not have to do anything special to achieve that, it just happens auto-magically based on the directory of current file (local vs. remote). I find that useful, and you cannot really do these things with a network drive on Windows.

One huge advantage of JQ is that it often is installed. I have jq in our Jenkins image, but I do not have this tool. The syntax is bit arcane, but once you invest bit of time into learning it, it starts to make sense (to a degree). It is a reasonable language for a stream processing.

I see, I misunderstood that. I have read it as an attempt to prevent redis taking the code from valkey.

However, if the intention was the other way (to allow valkey to take code from redis), valkey should just go for AGPL as well, there is little reason to pick GPL if the code sharing would be the motivation for the license change.

I am bit confused by the comments here. Sure, it remains to be seen whether Redis Ltd. can be trusted again, but cannot we just be a happy for a bit that we (again) have a good software under a free license?

I am not sure what that would achieve? Combining programs under GPLv3 and AGPLv3 is possible (the resulting work is under AGPLv3).

Good question. I care only about POSIX compatible shells, so the escaping just follows the POSIX rules. In practice that means it works on any actually used system except windows, which is fine with me.

Another approach is to have powerful enough language that allows you to guard against the shell injection. I wrote a syntax form allowing to do this:

    (sh "cat " file " >" output)
With file being bound to "foo'bar" and output to "x", it is automatically translated into
    cat 'foo'\''bar' >'x'
This gives you the flexibility to use shell (sometimes it just is the most concise way) while being safe against injection.

I believe for example in rust you should be able to do the same.

What I find interesting is that the project claims MIT license, but if it is "almost entirely" AI generated, I am not sure it even is copyrightable. So either the licensing terms deserve some large disclaimers, or it is not "almost entirely" made with AI. Based on the name I assume it is your project, could you shed some light on which of those two options is correct?

SpaceSim 2 years ago

It's mff.cuni.cz. ff.cuni.cz is faculty of philosophy, mff is faculty of math and physics :)

so app starts

I assume this "app" is not open source, correct? Is is compatible with Linux systems? Can it run on non-FHS distribution?

all your other apps are shutdown

I admit I am curious about this bit. Does it just start killing all other processes belonging to the same user ID? Or of all users (since you could get "assist" from process owned by an another user)? At least PID 1 needs to survive the slaughter, but it can be used to run arbitrary code to assist with the cheating. So how does it tell what is "an app" it needs to stop?