Kissaki

joined 2 years ago
MODERATOR OF
[–] Kissaki@programming.dev 1 points 1 month ago

Thank you for the tools! They've been useful to me a little while ago.

[–] Kissaki@programming.dev 2 points 1 month ago

I'm using it at work. We have a customer portal running with it, and are working on a client-side PWA as well for a different use case / different set of users so that it can run offline.

[–] Kissaki@programming.dev 2 points 1 month ago

The reason for 'quietly' is probably that it's an experimental alpha release

This is an experimental Alpha release, and your input is crucial!

[–] Kissaki@programming.dev 6 points 1 month ago* (last edited 1 month ago) (1 children)

The link is broken. Looks like code was accidentally pasted there.

https://lukasatkinson.de/2025/net-negative-cursor/%20%20%20%20let%20mut%20bytes%20=%20vec![0u8;%20len%20as%20usize];%20%20%20%20buf.read_exact(&mut%20bytes)?%3B++++++++%2F%2F+Sanitize+control+characters+++++let+sanitized_bytes%3A+Vec%3Cu8%3E+=+bytes.into_iter%28%29+++++++++.filter%28%7C&b%7C+b+%3E=+32+%7C%7C+b+%3D%3D+9+%7C%7C+b+%3D%3D+10+%7C%7C+b+%3D%3D+13%29+%2F%2F+Allow+space%2C+tab%2C+newline%2C+carriage+return++++.collect%28%29%3B

404 Page Not Found
The page you have requested does not exist. Would you like to visit the start page?

Cleaned up link: https://lukasatkinson.de/2025/net-negative-cursor/

[–] Kissaki@programming.dev 1 points 1 month ago

“even a stopped clock is right twice a day.”

Code analysis is a bit more complex than a clock.

[–] Kissaki@programming.dev 7 points 1 month ago

Marketing-speak, not saying much at all. Not even a hint in what they "discovered", what they plan to change, or plan to do. No acknowledgement of previous issues, making me doubt the "working with the incredible global community" as pure marketing-speak.

[–] Kissaki@programming.dev 13 points 1 month ago

Roman @rtsisyk revoked Github owner permissions from Alexander @biodranik and Viktor @vng and granted such permissions to the community contributor @pastk. This triggered Github's automatic "sanctions" check and the whole Github OM organization was automatically archived and admin access was blocked until OM's appeal was reviewed. It was unknown whether and when Github would review Organic Maps' appeal and unblock the repositories, so 2 weeks later the project migrated to the self-hosted git.omaps.dev/organicmaps instance, using the free and open source software forge Forgejo.

What the fuck? GitHub blocking the account because of automated security evaluation triggering (probably a good thing) but no review over two weeks (obviously a very bad thing)?

[–] Kissaki@programming.dev 1 points 1 month ago

What are you referring to? The reasons to fork, what a fork/forking process is, or what it means for this project?

Contributors disagreed with how the project was run and controlled. They committed to run their own project based on the other project. With more collaborative ownership and governance.

[–] Kissaki@programming.dev 5 points 1 month ago

I also want locally deleted files to be deleted on the server.

Sometimes I even move files around (I believe in directory structure) and again, git deals with this perfectly. If it weren’t for the lossless-to-lossy caveat.

It would be perfect if my script could recognize that just like git does, instead of deleting and reuploading the same file to a different location.

If you were to use Git, deleted files get deleted in the working copy, but not in history. It's still there, taking up disk space, although no transmission.

I'd look at existing backup and file sync solutions. They may have what you want.

For an implementation, I would work with an index. If you store paths + file size + content checksum you can match files under different paths. If you compare local index and remote you could identify file moves and do the move on the remote site too.

[–] Kissaki@programming.dev 3 points 1 month ago

Your git repo might get very big after some time. Especially if you move files.

Moving files does not noticeably increase git repo size. The files are stored as blob objects. Changing their path does not duplicate them.

[–] Kissaki@programming.dev 0 points 1 month ago* (last edited 1 month ago)

Can you be more specific? What in what they present is bad use of AI?

[–] Kissaki@programming.dev 0 points 1 month ago* (last edited 1 month ago)

What makes you think anyone blindly trusted it?

They pointed out how it was almost correct, and the two places they had to correct. Obviously, they verified it.

There and at other times, they talked about similar approaches of generating a starting point rather than "blindly trusting" or anything like that.

 

That last part - optimistic move application with what games people sometimes call “rollback” - is about 1,600 lines of code that took me a ~7 days of fulltime work to write. I don’t remember the last time I wrestled with a problem that hard!

 
6
Nushell 0.104.0 Release (www.nushell.sh)
submitted 2 months ago* (last edited 2 months ago) by Kissaki@programming.dev to c/nushell@programming.dev
 

Today, we're releasing version 0.104.0 of Nu. This release adds additional job control capabilities, many datetime improvements, and a number of new Polars commands.

 

Starship is a customizable prompt with support for multiple shells, including Nushell.

Starship v1.23.0 includes:

completions: Offer Nushell completions (#6366) (df454d5)


The completions can be generated in the env.nu into an autoload dir:

starship completions nushell | save --force $'($nu.user-autoload-dirs | last)/starship-completions.nu'

I have a setup that generates env files only once per day, resulting in faster shell startup otherwise.

call-if-old $'($nu.user-autoload-dirs | last)/starship-completions.nu' {|filepath| starship completions nushell | save -f $filepath }

call-if-old is a command I defined.


Completions Demonstration:

view more: ‹ prev next ›