Readit News logoReadit News
nateroling commented on Attention Is the New Big-O: A Systems Design Approach to Prompt Engineering   alexchesser.medium.com/at... · Posted by u/alexc05
nateroling · 5 days ago
Can you write a prompt to optimize prompts?

Seems like an LLM should be able to judge a prompt, and collaboratively work with the user to improve it if necessary.

nateroling commented on The Missing Protocol: Let Me Know   deanebarker.net/tech/blog... · Posted by u/deanebarker
nateroling · 12 days ago
This, but for many things.

Paint is ready at the hardware store Table is ready at the restaurant Construction is done on a bridge

All kinds of things that we need a one-time notification for.

nateroling commented on iPhone 16 cameras vs. traditional digital cameras   candid9.com/phone-camera/... · Posted by u/sergiotapia
dagmx · a month ago
The points really boil down to:

1. Difference in focal length/ position.

2. Difference in color processing

But…the article is fairly weak on both points?

1. It’s unclear why the author is comparing different focal lengths without clarifying what they used. If I use the 24mm equivalent on either my full frame or my iPhone, the perspective will be largely the same modulo some lens correction. Same if I use the 70mm or whatever the focal length is.

2. Color processing is both highly subjective but also completely something you can disable on the phone and the other camera. It’s again, no different between the two.

It’s a poor article because it doesn’t focus on the actual material differences.

The phone will have a smaller sensor. It will have more noise and need to do more to combat it. It won’t have as shallow a depth of field.

The phone will also of course have different ergonomics.

But the things the post focuses on are kind of poor understandings of the differences in what they’re shooting and how their cameras work.

nateroling · 25 days ago
Looking at the trees in the background of the first photo, it’s clear he’s using a longer focal length on the non-iPhone.

He has some good points, maybe, but in general it’s a pretty naive comparison.

nateroling commented on Apple's Liquid Glass is prep work for AR interfaces, not just a design refresh   omc345.substack.com/p/fro... · Posted by u/lightningcable
makeitdouble · 2 months ago
> Apple's actual guidelines are clear: only a few controls visible at once, infrequent access pattern, only on top of rich content.

> The criticism assumes they're redesigning everything when they explicitly documented the opposite.

Does Control Center fit those guidelines for applying Liquid Glass ?

It doesn't look like Apple has as much restraint as you're giving them credit for.

nateroling · 2 months ago
I don’t think control center actually uses the liquid glass elements. They don’t respond to accessibility options like reduce transparency, for one thing.
nateroling commented on I like Svelte more than React (it's store management)   river.berlin/blog/why-i-l... · Posted by u/adityashankar
0xfffafaCrash · 3 months ago
React doesn’t really concern itself with state management. Of course it has context, state, and props but the mental model for it predates focus on fine grained reactivity in frontends — useSyncExternalStore helps enable others to fill that void in v17+. Fine grained reactivity was notably also missed in the development of web components — only now is there a tc39 proposal for signals (in its early stages).

Jotai, mentioned briefly in the article, may not be built in but is as intuitive as signals get and isn’t even tied to React as of later versions.

I’ve very rarely met a state management problem in clientside state management where neither tanstack query (for io related state) nor jotai (for everything else) are the best answer technically speaking. The rare exceptions are usually best served by xstate if you want to model things with FSMs or with zustand if you actually need a reducer pattern. There’s a tiny niche where redux makes sense (you want to log all state transitions or use rewind or are heavily leaning on its devtools) but it was the first to get popular and retains relevance due to the fact that everyone has used it.

You can go a long way with useContext and useReducer/useState but few would opt for alternatives if jotai came batteries included with react.

nateroling · 3 months ago
Fine-grained reactivity (ie Knockout) was a thing well before React. If anything, React was a response to the deficiencies of fine-grained reactivity.
nateroling commented on Composable SQL   borretti.me/article/compo... · Posted by u/earnestinger
froderick · 7 months ago
I already have functors, effectively, by writing sql queries in clojure with honeysql. The clojure data structures make behavior composition from reusable sql snippets easy, and the testing of sql snippets is just based on literals as the article describes. Works really well.
nateroling · 7 months ago
I’ve done the same with SQLAlchemy in Python and SQLKata in C#.

Sadly the whole idea of composable query builders seems to have fallen out of fashion.

nateroling commented on A “meta-optics” camera that is the size of a grain of salt   cacm.acm.org/news/a-camer... · Posted by u/rbanffy
andrepd · 9 months ago
How does this work? If it's just reconstructing the images with nn, a la Samsung pasting a picture of the moon when it detected a white disc on the image, it's not very impressive.
nateroling · 9 months ago
I had the same thought, but it sounds like this operates at a much lower level than that kind of thing:

> Then, a physics-based neural network was used to process the images captured by the meta-optics camera. Because the neural network was trained on metasurface physics, it can remove aberrations produced by the camera.

nateroling commented on Nikon sold more Z9 cameras in its first year than any flagship in past 15 years   petapixel.com/2024/09/05/... · Posted by u/geox
nateroling · a year ago
More than any other Nikon flagship. Title had me thinking they outsold Canon and Sony.
nateroling commented on A disgruntled federal employee's 1980s desk calendar (2018)   theparisreview.org/blog/2... · Posted by u/jfax
nateroling · a year ago
Software calendars are so poor compared to this. There’s no concept of importance, of impact, of life. Just times and titles, every one equivalent. Digital calendars have hardly evolved since the palm pilot.
nateroling commented on Oh My Git: An open source game about learning Git   ohmygit.org/... · Posted by u/Lwrless
nateroling · a year ago
Imagine if apps just… worked like this, somehow. Start off with a realtime visualization and point and click commands, and as you learn them you can evolve into a straight CLI…

u/nateroling

KarmaCake day234November 16, 2014View Original