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

I tried this out, and nothing happened. Then I discovered that it has to be enabled first, for example by: https://unix.stackexchange.com/a/34251/152147 Thanks for sharing, learnt something new :)


Can it be used as a date calculator? I didn't see a way to specify "today" or "tomorrow". Like "today" + 14 days etc.


If you're looking for a general solution to that specific type of problem, then dateutils¹ is really useful. It deals with conversions, durations, matching, repeats, etc. It also has a clear and well defined date input format, and being a collection of command line tools it is easy to mangle it in to other tools.

¹ http://www.fresse.org/dateutils


thanks for the recommendation, I hadn't come across this before and it looks really useful!


I was also looking into this, and couldn't find a way to do it.

My guess is that it has support for time, but not for calendars. The fact that a "month" is a static length points in this direction.

Maybe there's going to be a calendar module in the future though?


The problem here is that new features often involve some refactoring work. Then, if you didn't opt for feature X, the company isn't going to go out of their way to make and ship and maintain a fix for the old non-refactored version, so if you want fixes, there is no way to get them without feature X... Unless they are using feature flags of course, but then no fixes/updates are exactly "safe" for the combination of features agreed to.


It's a perfectly manageable problem. We just have to tell them they have to manage it.


Why can't they just maintain stable branches with bugfixes backported to them? You don't need feature flags for this, you can literally do this with just semver. Plenty of products support some number of previous minor versions but will backport bugfixes to them, and plenty of others have LTS releases that have a longer window of bugfixes still being made without new features.

If the claim is that there's something fundamental about car software that makes this less possible than literally every other type of software in existence, the burden is on the car companies to prove it. I strongly doubt this is the case, but if it is, I'd argue that the more prudent thing is to just _not_ keep adding features, because fixing bugs for the multi-ton behemoths hurtling alongside one another at high speeds sounds more important than literally anything that they could provide to the car that people have already decided is worthy of purchasing with the current set of features.


Interesting idea. I wonder how some examples would look for teams which have a docker compose file which don't include some services - because they are mocked for tests or expected to be run separately etc. Would it still be possible to write a k8s operator to transform the docker compose file perfectly to a k8s manifest or would it be lacking key information?


Helm did something like in the earlier versions. Helm 3 got rid of it to the great cheering of many. It didn't ingest Docker Compose files, but it is the same architectural pattern.

https://www.techtarget.com/searchitoperations/news/252474360...

On the other hand, you have something like CloudFoundery on top of K8S:

https://github.com/cloudfoundry/cf-for-k8s


Not only does it leave them blank, but most importantly it forgets the address of the page you were trying to visit...


But there is syntax highlighting - what editor and language combination are you using? I know for a fact that SQL is highlighted inside Python and PHP strings in Sublime Text 4..


IntelliJ will not only syntax highlight your embedded SQL, but also match it to your data source's schema to ensure correctness.


In my experience, socks are pretty expensive (at least here in Lithuania) and wear out pretty fast, so for me its reasonable to spend most of the clothing budget on socks...


Holeproof Explorer socks (wool inner, nylon outer) seem to last forever.

I have a few pairs that predate having kids (so 20+ years) and they are still wearable.


The gripe about being completely unable to enter a quantity of an item doesn't match my experience. But it isn't obvious how to use it - do you scan something, then enter the quantity, then put in the bagging area? Turns out no, you enter a quantity, scan one item, then put them all in the bagging area. But I discovered that if you enter a large quantity and can't put them all down in a certain time frame, it will complain the weight doesn't match and you have to wait for the supervisor... So I guess it works best with quantities of something you can fit in your hands.


> you enter a quantity, scan one item, then put them all in the bagging area

Self-checkout software is more or less a layer on top of (antique) PoS software (usually provided by IBM or whoever they sold it to since).

What you see here is an artefact of that, as that's exactly how most cashier-operated PoS systems behave.


If I were able to enter a quantity, that would be one thing, but the option for me simply isn't there.

So I have to do this awkward dance where I hold the jar of tomato sauce with one hand (for scanning) while the other moves the other jars from the cart to the bag (for the weight check.)


Presumably you can just inspect the magic script when you need to


For Windows, there is "ClipboardFusion" by Binary Fortress, which acts as a scriptable clipboard manager, and could tick most of your boxes.

I'm not sure how possible it would be on Windows for a third party app to perform isolation - maybe if it registers a hook for when clipboard content changes which is somehow guaranteed to run first before other applications and any hooks they may have, it could swallow the event and clear the clipboard so other processes can't see it, and then do something similar with paste events maybe?


While not scriptable and not super advanced, Windows 10 and Windows 11 have a native visual clipboard manager with history and some other basic features. And it works quite well.

Try pressing Win+V, and the OS will give you a prompt to enable clipboard manager in settings. Once you enabled it (has to be done once), next time you press Win+V, a panel will slide out from the right side, and you can see the last N entries in your clipboard (which could include text, images, etc.). You can pick anything from there and paste it, and you can also pin any item there so that it won’t be overwritten when the clipboard reaches the limit and starts writing over.


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

Search: