Better HN
topnewbestaskshowjobs
Log inSign up

dkmar

62 karma · joined Mar 31, 2018 (8y ago) · 25 submissions

Submissions

comment 1d ago · link · parent

saagarjha moment

comment 2w ago · link · parent

Small web scripts that can email you and you can cron schedule them. They used to let you do this for free so I used it for web monitoring (like if a site restocks the product I want).

edit: my usage was just minor personal scripts but it seemed like a great platform and I wish the team the best

comment 2w ago · link · parent

macOS 27 min version lmao

comment 11mo ago · link · parent

Yup. The author has now swapped that part out for “Any language can do this.”

Just commenting to preempt any comments telling you that the article doesn’t say this.

comment 11mo ago · link · parent

Jarred just tweeted a few days ago about how little influence over zig he has, funnily enough.

https://x.com/jarredsumner/status/1994950394955665486?s=20

comment 1y ago · link · parent

honestly as long as they don’t use the home directory ill survive. vscode and similar apps not offering any alternative to home directory pollution kills me.

I assume this breaks vscode? Would love a writeup if you have time

comment 1y ago · link · parent

Nice start. There's definitely room for a good native macOS chat client, I have tried a few now and none feel perfect. I found two that feel usable:

HuggingChat (https://github.com/huggingface/chat-macOS) It has a launcher interface in the current release, and code, latex, etc are pretty printed. You can switch from HF hosted models to local mlx ones (though those are hardcoded rn i think). I like it for quick queries to qwen2.5-coder and I think it would be great if they develop it more.

Enchanted (https://github.com/gluonfield/enchanted) This one feels a bit buggy and it might be abandoned, but it has basic functionality for working with ollama models.

Also worth a mention is aichat (https://github.com/sigoden/aichat). It's not a native gui app, but it's an impressive cli client.

comment 1y ago · link · parent

Just switched from logi options to Steer Mouse myself.

You can map the buttons and add chords. The only thing it might lack is being able to use mouse movement as a trigger (eg hold the back button and move left to change spaces). Still looking for it

https://plentycom.jp/en/steermouse/

comment 2y ago · link · parent

Nice, I’ll try it. I assume this takes a screenshot every second or so and we get a video?

Semi-related but I’ve been wanting a screen recording tool that drops identical consecutive frames for reducing file size. Maybe frame comparison would be mouse-insensitive idk. Cause I would like to review what I’ve been working on and still capture the details as I’m scrolling a page, but often there’s half a second where I’m just reading or I take a drink of water or something and I don’t need those frames. I suppose this is a pretty close approximation if I can capture like 10fps or something

comment 4y ago · link · parent

Wow. When I saw the original for-loop example I was like "ok not a huge deal, doesn't surprise me too much really". But rewritten in the comprehension form I'm like wtf

comment 5y ago · link · parent

Dynamic UTIs in macOS started to cause problems for me when I upgraded to Catalina.

Setting defaults for 'Open with' on these file types seems pointless as I'm forced to do it once per each dynamic UTI (as far as I can tell).

It's also annoying that quicklook (extensions) started playing dumb with them — you'd think that QL would look for the lowest familiar ancestor or something.

I'm not sure whether the file typing approach changed with catalina, or if the migration from qlgenerators to quicklook extensions broke things, or if it's just catalina being buggy but it's disappointing that the typing situation seemed better back in mojave.

comment 6y ago · link · parent

note: i’m not a doctor or anything related.

Wikipedia says “5-HT2A antagonists block the psychedelic activity of LSD”[0], so wouldn’t 5-ht2a antagonists like mirtazapine work well enough here?

No idea as to how quickly the trip would be tempered, though

[0]: https://en.m.wikipedia.org/wiki/Lysergic_acid_diethylamide

comment 6y ago · link · parent

For anyone looking for more information on what happens on the first run of an app in Catalina, see [0]. Here's a direct link to the diagram [1].

[0]: https://eclecticlight.co/2020/01/27/what-could-possibly-go-w...

[1]: https://eclecticlightdotcom.files.wordpress.com/2020/01/appf...

comment 6y ago · link · parent

Perhaps related: "How come someone notarized my app?"[0]

It mentions that anyone with an apple developer ID can notarize a qualifying app and submit this notary to the Apple Notary Service. However, the proof of notarization—the notarization ticket—might not be stapled to the application.

In the case of no stapled ticket, Catalina contacts the notary service to see whether a ticket exists. If so, the app is good to go.

[0]: https://eclecticlight.co/2020/05/22/how-come-someone-notariz...

EDIT. More informative link here[1]. It specifically outlines what happens on first run of an app. (and there's a great diagram if you scroll down)

[1]: https://eclecticlight.co/2020/01/27/what-could-possibly-go-w...

comment 6y ago · link · parent

I remember reading speculation about that as well. After some googling, it appears only speculation that the Music app would be built using Marzipan/Catalyst.

9to5mac writes in a correcting update that “We’ve now learned that the code for the new Music app for macOS will be based on iTunes, not iOS”.

https://9to5mac.com/2019/04/10/macos-10-15-itunes-standalone...

comment 6y ago · link · parent

Mostly unrelated, but does anyone know how apple managed to make the macOS Apple Music app feel like electron?

I imagine that they didn’t actually use electron, but the app feels pretty far from native imo

comment 6y ago · link · parent

> actually deploys new reddit design on HN like a boss

comment 6y ago · link · parent

My use case is making lots of highlights in textbook PDFs and I usually can't highlight for long before it beachballs. PDF Expert is a huge upgrade in this respect.

Readdle just needs to add exact phrase searching/finding; then it'll be wholly better than Preview imo.

You can read more about Preview's struggles with annotations here https://eclecticlight.co/2020/04/07/how-preview-mangles-anno...

comment 6y ago · link · parent

I hope your MBP remains that way. I have a 13” 2018 MBP myself and felt similarly up until a week ago.

After evading all the issues that have plagued the butterfly-switched keyboards, I started seeing my “e” key repeating itself every so often.

I made the relevant changes in settings to minimize this, but I’m now seeing occasional repeats on both the “e” key and the “i” key (maybe once every 30 presses). Livable, but it worries me.

I think I’m going to look into their keyboard repair program later today

comment 6y ago · link · parent

Agreed. I've been trying to get my 2018 MBP to do 4k 60hz through my AVR and TV via a USB-C to HDMI cable with no luck so far. The AVR, TV, and cable are each individually HDMI 2.0a or greater, but my MBP refuses to believe that more than 1080p 60hz is possible.

And it actually worked at 4k 60hz the first time I plugged everything together, just not since then. Irritating to say the least.

comment 6y ago · link · parent

https://travisjeffery.us4.list-manage.com/subscribe?u=1e3ff7...

via his comment history :)

comment 7y ago · link · parent

Not sure if this is worth much, but I saw this earlier today and thought I'd leave it here. It's just an observation from a reddit user: "Cinematographer Jakob Ihre deliberately over-exposed all outdoor scenes to mimic the way the radiation during the Chernobyl disaster bleached out and destroyed the film taken at the time." [0]

[0]: https://www.reddit.com/r/TVDetails/comments/bz28hw/cinematog...

comment 8y ago · link · parent

Woah. I think I ran into this last night after updating to Safari 12 on macOS. I was typing my message into messenger.com (facebook messenger), and all of my typing was reversed. I even took a photo of it

24.

Google Swift Style Guide(google.github.io ↗)

55 points · by dkmar · 8y ago · 9 comments