chasteinsect

joined 6 months ago

Interesting. So manually converting a prompt into poetry had more success than asking AI to turn it into poetry.

Some have called it "the revenge of the English majors,"

The study looked at 25 of the most widely used AI models and concluded that, when faced with the 20 human-written poetic prompts, only Google's Gemini Pro 2.5 registered a 100 percent fail rate. Every single one of the human-created poems broke its guardrails during the research.

To be fair, Gemini 2.5 pro is in general pretty "mis-aligned" and easy to jailbreak from my experience if you play around even without poetry.

[–] chasteinsect@programming.dev 4 points 1 week ago (1 children)

What are the main things Wezterm does better than Kitty, in your opinion? Back when I looked at trying a different terminal I was just not convinced there's that much of a difference between say Kitty and the other hyped ones.

That being said, back then I didn't need any of this session stuff and multiplexing as I used ZelliJ.

You just have to make it expensive / hard enough to cheat that most people don't bother.

I understand peoples distrust in kernel level anti-cheats and why they suck, that being said, back when I still played multiplayer games Valorant (that has a kernel level anti cheat) was so much ahead of CSGO that it was not even a comparison. I don't know whether it was due to CSGO's anti cheat being bad or Valorants being good.

When you have to spend 50 eur / month to cheat most people don't and that's good enough for the casual player base. Not sure what the case now is with CS2 and other online games in general.

[–] chasteinsect@programming.dev 12 points 1 week ago

Yep, he showed around Calibre in the interview and most of it's features. The calibre-server thingy is cool, you can host it on your home server and access your library from any device through a web interface.

 

I came across this interview that I found interesting of a guy (Kovid) who both made Calibre and Kitty.

It made me appreciate his contribution to the terminal ecosystem and actually made me switch off of a multiplexer (ZelliJ) to kitty sessions, which have been developed since the release of this interview. I'm happy with them, they solve my problem and are far more intuitive and simple than ZelliJ with no performance inefficiencies and key-bind conflicts.

Some of the more interesting parts that he talked about in this interview:

  • How Calibre came to be: In 2006, he and some collaborators reverse-engineered Sony’s e-ink reader. That eventually led him to create Calibre.
  • What motivated him to create Kitty: He was using gvim and was frustrated with its slowness, however, the terminals weren't much faster. So he learned GPU programming through OpenGL and wrote Kitty. He then learned about all of he other terminal limitations and started pushing what a terminal could do. He created several protocols to address issues like colored underlines (for errors/typos), images in the terminal, cleaned-up keyboard handling, proper text sizing and width, and more.
  • Why Kitty is written in Python/C instead of Rust.
  • Why multiplexers like Zellij or tmux are an anti-pattern for local use: tmux is literally a terminal... running inside another terminal and that creates a lot of problems, bugs, inefficiencies and also usually is an innovation bottleneck.
  • A very cool Kitty scrollback plugin: It lets you open your scrollback history directly in nvim instead of less. You can navigate with normal Vim motions, search, copy, edit text, and use any of your plugins. I’ve been using it and it’s great.
  • Other open-source-related topics: (he lives out of it), what languages he programs in, his editor, lots of other small interesting stuff. For instance, he says he built Kitty for himself and it shows, he even uses it as a browser.
[–] chasteinsect@programming.dev 1 points 1 week ago (1 children)

Oh interesting I wasn't aware of how all of these things work. So even on the strictest CSS font visibility setting system fonts are not hidden (provided Document Fonts is enabled)? Local fonts I assume are hidden?

[–] chasteinsect@programming.dev 21 points 1 week ago (4 children)

I remember thinking how strange it is that websites can know all of your installed fonts when I was playing around with https://coveryourtracks.eff.org/ and https://www.amiunique.org/

I'm on linux and I have some extra fonts installed. Just the combination of them alone is so unique to me that you don't need anything else.

[–] chasteinsect@programming.dev 4 points 2 weeks ago (1 children)

It has a lot of momentum, so it will continue to dominate. But I wonder if it will decline over the long term as Linux continues to improve. Similar to how smartphones barely differentiate themselves from one another these days (compared to the past) maybe operating systems will have a similar fate. Maybe I’m a bit naive, but perhaps Linux will eventually have all the stability and ease of use of Windows, while also offering privacy, customization, and open-source benefits so there will be no real reason to use windows and the split will be more even.

Maybe... eventually...

[–] chasteinsect@programming.dev 2 points 2 weeks ago (1 children)

I didn't like it either on first play-through but I will try it again soon !

[–] chasteinsect@programming.dev 2 points 2 weeks ago

Not a safari user so don't really know but on a quick google search did find this : https://github.com/televator-apps/vimari

[–] chasteinsect@programming.dev 8 points 2 weeks ago (3 children)

On a related note, try Vimium (FF / chrome extension) that brings vim motions into your browser. You will have a more complete experience.

[–] chasteinsect@programming.dev 39 points 3 weeks ago (7 children)

For those that want a quick summary, they're doing these things:

  1. Reducing Parking Supply, Not Increasing It
  2. Creating "Superblocks": This is a flagship project where the city designates several city blocks, restricts through-traffic, removes parking spots, and transforms the space. The reclaimed asphalt is used for:
  • Green Spaces: Planting trees and bushes to combat heat islands.
  • Public Spaces: Adding benches and areas for people to meet and rest.
  • Active Transport: Expanding bike lanes and pedestrian areas.
  1. City-Wide Parking Management:
  • Eliminating Free Parking: Since 2022, all on-street parking in Vienna requires payment.
  • Time Limits for Non-Residents: Non-residents are limited to two hours, discouraging long-term commuter parking in neighborhoods.
  • Revenue Reinvestment: The significant revenue generated (around €180 million annually) is funneled back into improving alternatives, specifically cycling infrastructure. This helps build public support.
  1. Empowering Local Communities ("Neighborhood Oasis" Project): Residents can petition the city to convert parking spots in their area into small green spaces or seating areas
  2. Providing Strategic Alternatives (Park & Ride): Recognizing that some car use is inevitable, Vienna built convenient, affordable Park & Ride facilities on the city's outskirts. These large, cheap parking garages are directly connected to efficient and affordable public transport (buses and trains), making it easy for commuters to switch modes for the final leg of their journey.
[–] chasteinsect@programming.dev 3 points 3 weeks ago

I found it fascinating how much Meta is spending on AI, 72 B a year, more than the GDP of Alaska!

Also feel like it was a good summary of Zucks and Meta's whole past failures.

 

Today had some important markdown file that accidentally deleted on my SSD and had to go over the recovery of it.

All I did was this:


run sudo systemctl status fstrim.timer to check how often TRIM runs on my system (apparently it runs weekly and the next scheduled run was in 3 days)

run sudo pacman -S testdisk

run sudo photorec

choose the correct partition where the files were deleted

choose filesystem type (ext4)

choose a destination folder where to save recovered files

start recovery

10-15 minutes and it's done.

open nvim in parent folder and grep for content in the file that I remember adding today


That's it - the whole process was so fast. No googling through 10 different sites with their shitty flashy UIs promising "free recovery," wondering whether this is even trustworthy to install on your machine, dealing with installers that'll sneak in annoying software if you click too fast, only to have them ask for payment later. No navigating complex GUIs either.

I was so thankful for this I actually donated to the maintainers of the software. Software done right.

 

The Cheonggyecheon stream restoration project in Korea. Got the screenshot from this walk: Seoul Night Walk From Dongguk University to City Hall | Walking Tour 4K HDR - YouTube

Context about it : They Tore Down a Highway and Made it a River (and traffic got better) - YouTube

Not gonna lie Korea has some nice vibes to it.

view more: next ›