29 posts total
12
Gonna make my https://sindresorhus.com/online-check app paid tomorrow, so now is the time to download it if you want it for free. @sindresorhus Why? It didn't reach the success I had hoped for and I want to reduce support (and troll) burden. Be the change you want to see in the world. Start by changing your editor settings from spaces to tabs.
Show previous comments
@sindresorhus now my workplace’s git pre-commit hooks replace all my code anyway. Be the change you want to see in the world. Start by changing your editor settings from spaces to tabs.
Show previous comments
@sindresorhus now my workplace’s git pre-commit hooks replace all my code anyway. How come there is no proper HTML dropdown component that displays a system menu when clicked? By system menu, I mean how it looks when you right-click, but I'm specifically looking for left-click menu. We have `<select>` for selections, but nothing to pop up a dropdown with actions. I'm aware I can hack `<select>` to do that. That's exactly what I did. But it's ain't easy or pretty. And no, not `<dialog>`.
Show previous comments
@sindresorhus Like somebody already said, there was an implementation of something like this in Firefox where you could add your own options to the native menu. All the other options suppress the native context menu which I think is not optimal, but it works in some app like contexts, like Nextcloud or VSCode @sindresorhus or a typeahead multi select... so much design system effort goes towards implementing that one component How come there is no proper HTML dropdown component that displays a system menu when clicked? By system menu, I mean how it looks when you right-click, but I'm specifically looking for left-click menu. We have `<select>` for selections, but nothing to pop up a dropdown with actions. I'm aware I can hack `<select>` to do that. That's exactly what I did. But it's ain't easy or pretty. And no, not `<dialog>`.
Show previous comments
@sindresorhus Like somebody already said, there was an implementation of something like this in Firefox where you could add your own options to the native menu. All the other options suppress the native context menu which I think is not optimal, but it works in some app like contexts, like Nextcloud or VSCode @sindresorhus or a typeahead multi select... so much design system effort goes towards implementing that one component I added a random app endpoint to my website: https://sindresorhus.com/apps/random Shows you a random app each time you click it. Setting the desktop wallpaper reliably on Linux is ridiculously difficult: https://github.com/sindresorhus/wallpaper/tree/main/source/linux/background-managers @sindresorhus looks like there is an xdg portal available for this, not sure how many desktop environments make use of this, but al least GNOME. @sindresorhus I think this video of Linus would resonate: The gist being that Linux is ultimately too fractured. There is a Linux Desktop Diaspora, if you will. Some Apple apps use an entitlement that gives them access to calendar and contacts without a privacy prompt. Even Apple knows the privacy prompts are dumb. @sindresorhus Screenshot that reads: kTCCServiceCalendar kTCCServiceAddressBook kTCCServicePhotos My GIF searcher app, Jiffy, will unfortunately be sunset at the end of the month. Giphy is soon removing their free API tier. https://sindresorhus.com/jiffy Lesson learned (too many times). Don't depend on free APIs. I may bring it back some day using the Tenor API, but I don't have the time or interest in rewriting it right now. And Tenor is yet another API which could become paid one day.
Show previous comments
@sindresorhus @podfeet It would seem I need to check back in with all things podfeet. I spent a good 2-3 hours yesterday learning some lua trying to pass a NVIM selection into Tenor to speed up writing blog posts. @sindresorhus how do you know they're going to charge? Some secret source? can't find anything. I'm also using their api... I know, I know, "security." This shows utter contempt for the user. I was just asked to authorize an app that I've used SINCE THE 1990s so it would continue working for a week. And next week I guess it'll ask again? You have to let the user say, somewhere, "never ask me again--always allow."
Show previous comments
@jsnell so, I don't use Macs, and I am pretty much an outside observer. To be honest this (admittedly strange) solution makes me wonder, what the heck are they responding to? Have there been some particularly horrific crimes? Theft of plain people's money? Or has this led to hacks of Apple itself! Maybe if the crimes were bad enough the heavy hammer is justified. @jsnell @nicklockwood @9to5Mac personally, I agree but there are problems like spyware which get nasty (did “you” approve it or was that your abusive spouse when you used the bathroom?) which makes me wish they had put the effort into visibility so there isn’t a way to capture the screen without user awareness. Is there any AI service where I can feed it all my open source projects and then ask questions about them?
Show previous comments
@sindresorhus I use this https://github.com/simonw/files-to-prompt all the time to bundle up repositories and shove them into 4o or sonnet. @simon has several utilities that are great for this. ttok and strip-tags too. Otherwise I use typingmind.com and the (VERY) basic RAG to give me some control over what is pulled into chat. @sindresorhus Greptile AI does that: https://www.greptile.com/ As a new developer, I used it to understand a large open-source codebase that was too big for other AI chats. Greptile answered my basic questions which led to a successful PR for a bug fix. But for my personal (small) SwiftUI projects, I prefer ChatGPT and Claude AI. It's easier to just drag and drop my latest files from Xcode's Project navigator to keep those chats updated. Greptile seems to be most useful with large projects. @sindresorhus Did I understand correctly that you can use it to create Siri shortcuts? New app: Menu Bar Spacing Customize the gap between menu bar items MacBooks have limited menu bar space. This app reclaims space by reducing the gap between menu bar items. This could eliminate the need for Bartender/Ice for some users. And it can also let you fit more of my menu bar apps in your menu bar: https://sindresorhus.com/apps/menu-bar
Show previous comments
@sindresorhus Cool, I’ll probably use this app. Suggestion - if you could add links to open network and/or wi-fi settings I could probably remove the wi-fi icon from my menu bar and just use this app instead 😊 @sindresorhus as a non-mac user, surprised to hear this isn't something already provided by the OS... sweet app, though! love small utilities like this—focused on one particular thing, nothing more, nothing less :) @sindresorhus Cool! I noticed that if online-check isn’t in the main menu bar but rather in Bartender’s secondary bar, it doesn’t turn red when my Mac is offline. It _does_ turn red when in the main menu bar. Is that expected behavior? I published a TestFlight for a early Gifski 3 build, now rewritten in SwiftUI. The initial goal was feature parity. Moving forward, it will be much easier to add new features. @sindresorhus How often do you find yourself bumping up against the edges of SwiftUI on macOS? I hit them often and wonder if I'm just holding it wrong… 12
|
@sindresorhus how is it? Can you recommend this or is the social Plattform still silent?