News for hackers. Stuff that matters.

shadytrees

PTACs suck. Well-maintained, newer models suck less, but they still suck. Unless well-insulated, the sleeves leak air (and humidity). And there's a duopoly between Ice Air and Islandaire, so they get to charge more for maintenance. They benefit from the trend of maintenance for older models being a yearly chore also.

From what I understand, PTACs started as a convenient way to retrofit apartments with air conditioning. You don't need ductwork, which I believe is more expensive in the concrete buildings around here. Also, I think you need protected refrigerant sleeves to meet code here, but only if the sleeves go from one floor to another (someone just told me this fact today, and i haven't verified this).

BTW that PTAC's thermostat dial in the link doesn't have numbers around the dial, which I think is honest. No A/C unit I've ever owned has managed to have a thermostat that read the temperature I was feeling consistently. It makes me think the apartment was built before the late 2010s though -- still feels new but a generation ago in HVAC terms. Mini-splits seem to have arrived, even for <1M condos. Talking to the mini-split contractors I had over recently for a squeaky noise, I got the feeling that business was booming. They had every day in the summer booked months in advance.

Re:What it feels like to work with Mythos on Wednesday June 10, 2026 @05:06AM (#48473548)
The Balatro game that Fable spit out (Flipside) https://play-flipside.netlify.app/ is buggy but fun. Fable also fixed one of my personal pet peeves. Unlike Balatro, it comes with a calculator to preview the score!
Re:Helium Browser on Thursday September 25, 2025 @06:00AM (#45371016)
Scroll through his X account -- Charlie Kirk and DHH content are some recent entries. He is one of those people who thinks tech should be apolitical without really interrogating what apolitical means or how it affects people who have been marginalized by politics
Re:Cloudflare is sponsoring Ladybird and Omarchy on Monday September 22, 2025 @12:30PM (#45335782)
Kling's politics aside, he's also had a history of abandoning projects after hyping them up on social media and attracting contributors. Here is what happened to SerenityOS and jakt, for example:

https://github.com/SerenityOS/serenity/graphs/commit-activit... https://github.com/SerenityOS/jakt/graphs/commit-activity

If Cloudflare wants to defend the future of the web, maybe they could also throw a few dollars towards projects with better governance and aren't helmed by a BFDL with a spotty record and are written in a more future-proof language than C++ [0]. (For example, Servo.)

[0]: In Kling's own words! https://web.archive.org/web/20250819053816/https://awesomekl...

Maybe not common, but there’s Control.Arrow.(>>>)
Re:Why is it so hard to buy things that work well? on Monday December 16, 2024 @03:17PM (#42434943)
try this alt stylesheet https://ddanluu.com/nothing-works
Re:What's New in F# 9 on Sunday November 10, 2024 @06:21PM (#42103308)
Rider's recent free non-commercial license makes F# a much more attractive option for macOS, I think
Re:The Tragedy of Google Books (2017) on Wednesday October 23, 2024 @01:28PM (#41927291)
James Somers writes beautifully; https://www.newyorker.com/contributors/james-somers has some of his other writing
Re:I've built a city, now it needs residents on Friday September 27, 2024 @04:20PM (#41675127)
reminds me of why the lucky stiff's hoodwink.d project, in a good way
Re:Making your own hot sauce on Monday August 05, 2024 @11:33AM (#41162313)
> I made fermented hot sauce once, and i don't think it was sufficiently different to other kinds to be worth doing again. But then, i have only done it once!

+1. I spent hours lovingly sanitizing and prepping and waiting for habaneros to ferment; in the end, they added a bit of funky tang, but I didn't feel like it was worth the time. I realized that vinegar-based hot sauce recipes are quicker to iterate on and perfect and taste closer to what I prefer.

However, it's all subjective! Watching something ferment in a container is inherently fun, in the way a terrarium with a small creature in it can be. YMMV.

Formatted with minimal CSS: https://ddanluu.com/seo-spam
Re:The curious case of the abominable shower on Thursday November 23, 2023 @11:19AM (#38394394)
Yes, this article is borrowing liberally from Passage of Power (2012), the fourth book:

> Lucy’s father was not as pleased with his new quarters. Two days after the Johnsons moved in, he told West, “Mr. West, if you can’t get that shower of mine fixed, I’m going to have to move back to The Elms.”

> “He didn’t sound as if he were joking,” West was to say. And after the President explained that the water pressure was inadequate, and that he wanted the same elaborate, multi-nozzle arrangement that he had had at his former home, he repeated his threat to move out. Then, “without a smile, he turned on his heel and walked away.”

> A few minutes later, Mrs. Johnson asked West to come by the room she had chosen for her once, a small sitting room with one door. “I guess you’ve been told about the shower,” she said, with a smile, and repeated to West what she said to all Johnson employees. “Anything that ... needs to be done, remember this: my husband comes first, the girls second, and I will be satisfied with what’s left.”

> As he became acquainted with the Johnsons, West was to write, “I soon could see that had been her life’s pattern.” Nothing, he came to see, could “faze her.”

Re:Firefox Address Bar Tips on Monday July 10, 2023 @04:37PM (#36672599)
* * *
Re:Janet for Mortals on Friday March 31, 2023 @09:41PM (#35396169)
* * *
Re:Normalization of Deviance (2015) on Tuesday February 14, 2023 @01:36PM (#34793878)
* * *
Re:There’s No Planet B on Monday January 16, 2023 @03:51PM (#34405320)
The person who founded Elliott Management (Paul Eliott Singer) is far from a saint, but he has been astonishingly accurate during his career. According to Wikipedia (I did a big deep dive into this hedge fund and person after reading the submitted article), he warned about CDOs in 2006. The hedge fund also exited its holdings in Twitter in June 2022, right before the Musk-pocalypse.

I'm kind of astounded the article didn't talk about Paul Singer at all. It seems like a massive oversight to not dig into the money behind Barnes and Noble.

Re:Avoid exception throwing in performance-sensitive code on Thursday December 22, 2022 @07:02PM (#34100679)
Yes, raising an exn in OCaml is close to jumping to an address stored in a register. https://stackoverflow.com/a/8567429

As a result, raising and catching exns in OCaml is cheap. List.fold_until in Base, for example, is implemented with exceptions: https://github.com/janestreet/base/blob/ae169dc8097b3da8e99d... (With_return is internally implemented by raising an exception in a try-with.)

Implementations of functional programming languages often have powerful, yet fast!, non-local control-flow primitives. GHC recently sprouted delimited continuations (https://ghc.gitlab.haskell.org/ghc/doc/users_guide/9.6.1-not...), for example, and Lisps have had that for much longer. It's easy to program in an imperative language for a long time and think that straight-line control flow is the end-all, be-all for performance—but it doesn't have to be the case.

Re:Signed distance functions in 46 lines of Python on Wednesday December 21, 2022 @08:56AM (#34080770)
Check out https://bauble.studio too
+1 Sisters with Transistors. I watched this in the dark at the Metrograph, a theater in the outskirts of Manhattan, with maybe six other people, and the experience was transcendental.
Fun fact: GNU Readline and Bash are maintained by a single person. https://tiswww.case.edu/php/chet/readline/rltop.html#Maintai...

In case you were looking for more examples of "open source being held together by one tireless person somewhere" (obligatory xkcd comic link omitted).

Re:Extremely Linear Git History on Tuesday November 22, 2022 @07:41AM (#33705119)
There's a memorable Stripe CTF from 2014 that had something similar (Gitcoins). This brought back fond memories of that.
Re:APL deserves its Renaissance too on Friday November 18, 2022 @10:43AM (#33656347)
I agree!! I think having APL be a embedded domain-specific language is the perfect fit. I don't want to give up record and union types when I'm programming something large; but some piece of the app I'm writing will want to perform vector math or compute order statistics, and for that there's nothing better than APL. Note that Python and numpy is shockingly close to this state of the world already: Python's the general language, and numpy is the beautiful vector escape hatch. If only Python and numpy were statically typed.
Re:APL deserves its Renaissance too on Friday November 18, 2022 @10:41AM (#33656308)
This is what got me and my friend into APL-likes. My friend even made an APL-like towards the end. I assert that APL is one of the main, definitional pillars of programming languages, the way Lisp and C and Prolog are. It is extraordinarily easy to build an APL with scalar and vector support -- once you start thinking about higher-dimensional data structures, though, it is the ergonomics and the design that become subtle and tricky. (Ivy, in particular, does some questionable things at with multi-dimensional matrices.) Also, if you think of APL operators as verbs, perhaps there should be adverbs that lift the verbs up into higher dimensions...
Re:The most extensive Apple (pommes) database on Friday November 18, 2022 @10:30AM (#33656116)
stark apple subtweeting vibes in this post
Agreed. This seems like a newspaper trying to squeeze an article out of a weak signal.
Re:My Favourite Computer, an Old Mac on Friday October 07, 2022 @06:00PM (#33127409)
I hope the author has found their way to joshua stein's blog: https://jcs.org/
Re:Bash 5.2 on Tuesday September 27, 2022 @08:55PM (#33003090)
Re:Get in zoomer, we're saving React on Saturday September 24, 2022 @08:16AM (#32961807)
Yes, there's the NSEvent ecosystem.

Cocoa also lets you two-way bind a state object with the view as long as the state object (whether it's a controller or a model or a view model) implements key-value coding; notably, the blessed data framework (Core Data) is KVC-compliant, so apps that use Core Data sort of get all this for free. Core Data also has fairly good support for undo/redo. That being said, Core Data is a fairly idiosyncratic relational data layer. It's sort of a double-edged sword: it's easy to do 90% of what you want, and the last 10% will involve some deep dives into Apple's documentation. But it's been a long time since I've written an app on OS X -- someone will have to correct my errors.

I've long thought that the inverse of what the OP suggests, bringing reactive UI programming techniques to Cocoa, would be much more interesting. Making native apps just as easy and as fun to build as web apps would be great! ReactiveCocoa/ReactiveSwift are promising, but the underlying, mutation-heavy Apple APIs still peek through. SwiftUI also seems promising, but still relatively immature to the, gosh, decades-old OS X platform.

Older »