Readit News logoReadit News
danhite commented on Bookmarks.txt is a concept of keeping URLs in plain text files   github.com/soulim/bookmar... · Posted by u/secwang
yahoozoo · 5 days ago
I wish I could easily export my iPhone’s Safari “Reading List” even to something like this. I found a Shortcuts script that would do it but there are so many links I have saved that it freezes.
danhite · 3 days ago
> there are so many links I have saved that it freezes

If you are motivated enough to write Apple Shortcuts a useful trick for ~Find type actions that overload is to Filter them into reassemblable pieces eg

action find items from reading list filter Title begins with A (then do B etc)

that this trick often works would be due to the internal nature of the Shortcuts implementation problems, so YMMV

danhite commented on The McPhee method for writing deeply reported nonfiction   jsomers.net/blog/the-mcph... · Posted by u/jsomers
nonethewiser · 7 days ago
I suspect a large contingent here will really hate this suggestion but here it goes:

The McPhee method sounds like a great framework for making writing prompts. That is, prompts for LLMs to write things.

>in stage one he accumulates notes; in stage two he selects them; in stage three he structures them; and in stage four he writes. By the time he is crafting sentences the structure of the piece as a whole, and of each section, even paragraph, and the logic connecting them all, is already determined, thanks to the mechanical work done in the first three stages. McPhee is on rails the whole time he writes his first draft. From there it’s all downhill and the standard thing that everybody does: revision, revision again, then refinement—a sculptor with ax, then knife, then scalpel.

I know hackernews kinda hates LLMs but I don think this idea has to be so offensive. Much of the work and value from the author is in collecting these fragments and structuring them. Purely from a communication standpoint, I have no issues whatsoever with an LLM stitching them together and choosing the vocab and grammar.

danhite · 7 days ago
OP describes this ^ long arduous process and then notes:

> Your writing can only be as good as your taste.

That is, using an LLM to help with "collecting these fragments and structuring them" might be okay--should the writer still be able to deeply immerse--but the "stitching them together and choosing the vocab and grammar" of a faux writer LLM is likely to leave a bad taste in the mind of some readers (e.g. those HN types who "kinda hates LLMs").

danhite commented on Colombian Black Hawk downed by drone is a glimpse of what's to come   twz.com/air/colombian-bla... · Posted by u/Michelangelo11
danhite · 10 days ago
This IRL now is very much in the spirit of Mark Stiegler's 1990 humorous thought piece takedown of the $ inefficiency of the B-2 ~stealth bomber by proposing ~everyone buys chances to down one by any means possible.

There is a proper citation below, but you can enjoy this quick read at his dusty website here :

http://www.skyhunter.com/b2.htm

The B-2 Lottery · Marc Stiegler · published in New Destinies, Vol. IX/Fall 1990 ed. Jim Baen (Baen 0-671-2016-3, Sep ’90 [Aug ’90], $3.50, 286pp, pb, cover by David A. Hardy) Original anthology of eight stories plus six non-fiction pieces on space and technology.

danhite commented on How randomness improves algorithms (2023)   quantamagazine.org/how-ra... · Posted by u/kehiy
lifeinthevoid · 17 days ago
> Well in fact we know (if P! = NP) that for any randomized ALG there's a good deterministic one

Oh, that's cool, do you have a reference for that?

danhite · 16 days ago
>> Well in fact we know (if P! = NP) that for any randomized ALG there's a good deterministic one > Oh, that's cool, do you have a reference for that?

The OP article has such a reference, but theirs is paywalled, and perhaps you missed it, so you may wish to see this no paywall link to the paper:

Hardness vs. Randomness by Noam Nisan & Avi Wigderson https://www.math.ias.edu/~avi/PUBLICATIONS/MYPAPERS/NOAM/HAR...

danhite commented on Good system design   seangoedecke.com/good-sys... · Posted by u/dondraper36
santiagobasulto · 17 days ago
I’ve been in software for 20 years and it’s the first time I hear “back pressure”. Am I too old already?
danhite · 16 days ago
> I’ve been in software for 20 years and it’s the first time I hear “back pressure”. Am I too old already?

I first wrote code 50 years ago (I am 63yo) so yes, imo we are too old, but ...

It is worth noting that systems concepts/techniques often have analogues aka different names and histories in different fields and subfields.

If I were to "explain" back pressure to an ordinary person I might model my analogy to the logic of this ~classic joke:

Bob: Let's go to Trendio(TM) for dinner tonight!? Carol: Oh, nobody goes there anymore, it's too crowded!

Also, often a modern take-this-for-granted concept may be seen as an outgrowth of previous problems or solutions.

For example back pressure is conceptually adjacent to the clever~hack/design of random backoff in Ethernet.

Or if talking to a math geek or traffic planner you might relate it to ~modern understanding of congestion including oddities like possibly removing roads/routes to ~paradoxically improve traffic flow.

We are deep in the Information Age barreling towards Singularities, so none of us, young or old, see and understand but a tiny fraction of where we've been, are, or might be going.

Cue Calvin & Hobbes cartoon of us racing downhill in a fragile box.

Perhaps, as others have essentially suggested, merging your mind with an ~AI will help (albeit temporarily, imo). I prefer to think of us/greybeards as potentially Wise, yet, paradoxically, clueless.

Beginner's Mind, with likely no time/future for Mastery, is still potentially pleasant, and I would argue useful for Debugging.

Obviously this modern AI tsunami is phase shifting us all into debug~mode anyway, eh?

danhite commented on What is X-Forwarded-For and when can you trust it? (2024)   httptoolkit.com/blog/what... · Posted by u/ayoisaiah
francislavoie · a month ago
A very in-depth article on the topic: https://adam-p.ca/blog/2022/03/x-forwarded-for/

I implemented those recommendations in Caddy to enable a "trusted proxies" system which informs the proxy, logging, request matching etc to safely use the client IP taken from proxy headers.

danhite · a month ago
The article you cited was very informative.

For example it reminds that standards & intermediaries you trust might still allow multiple unconcatenated XFF headers though and the XFF unpeel by right to left heuristic fails if you only look at the e.g. the first such header.

This reminded me that there always seems to be a past or future pitfall case lurking, such as using old code/library honoring a X-HTTP-Method-Override header (e.g. historically used to ~convert POST to PUT bypassing client CORS restrictions).

Many holes I've noticed over the years seem to spring from legacy preservation of well intended endruns of restrictions, for example I can presently in Safari exploit a bug to get a crypto digest calculated for me within an insecure context ... I find this quite usefully locally (e.g. lan http: , data: , ~bookmarklets that I control) but nonetheless I reported the bug and am trying not to rely on it.

danhite commented on What is X-Forwarded-For and when can you trust it? (2024)   httptoolkit.com/blog/what... · Posted by u/ayoisaiah
knorker · a month ago
1. Have (and maintain!) a list of addresses you trust to not lie (e.g. your own proxy layers, cloudflare's proxy IP list, akamai, GCP LB, AWS LB, etc…)

2. If the connecting party (real TCP connection remote end) is in the trusted list, then take the rightmost address in XFF and set as remote end.

3. Repeat 2 until you get an address not in the trusted list.

4. That is now the real client IP. Discard anything to the left of it in XFF. (though maybe log it, if you want)

The article seems to forget the step of checking the real TCP connection remote address (from my skimming), which means that if the web server can be accessed directly, and not just through a load balancer that always sets the header, then the article is a security hole.

danhite · a month ago
thank you for your comment :

> The article seems to forget the step of checking the real TCP connection remote address (from my skimming)

as this alerted me when reading the article to see their very important, but not highlighted, caveat emptor that covers this dangerous case :

  Note that this logic assumes that your server is not directly accessible. 
  If it is, you need to check the actual request source IP address is one of yours first - 
  effectively treating that as an extra right-most address.

danhite commented on Please for the Love of God Stop Building AI Therapy Chatbots   blogtherapy.substack.com/... · Posted by u/rpastuszak
BizarroLand · 3 months ago
Counter Argument:

Talking to therapists is difficult, time-consuming, painful, annoying, and expensive. The number of hoops you have to jump through just to get to the starting line is crazy, even if you are willing and able to pay the few hundred dollars an hour out of pocket yourself.

Therapy isn't like confession or church or a religious experience. Its proposed benefits will never be life changing, it will not build you up, it will not give you anything you didn't already have, and you have to pay for it.

If I can work out a few kinks in my psyche on my own I'll do that. If I bounce some words off of a convenient lie bot, then fine.

The only way I can get more f'd in the head would be to start killing, and at this point I just don't have the drive to take on murder as a new hobby.

danhite · 3 months ago
Your interesting comment immediately passed my test for "this was written by a human, not an AI" but got me to thinking about PARRY ...

  PARRY was written in 1972 by psychiatrist Kenneth Colby, 
  then at Stanford University.
  While ELIZA was a simulation of a Rogerian therapist, 
  PARRY attempted to simulate a person with paranoid schizophrenia.
-- wikipedia:PARRY [1]

One of the fascinating things that was done was to have Parry & Eliza chat together.

So it immediately occurred to me that your comment would make an excellent Lenna[2] text to feed to AI chatbot therapists right after their initial pleasantries when they ask ~ "Now, what seems to be your problem?"

The various chatbot results would then be like the headliner in a suite of fitness tests for them and so, like the Turing Test, could be named in your honor, maybe called the Bizarro Test [Suite Protocol or BTSP].

Perhaps you would help humanity in its likely brief and futile resistance by granting permission ala Creative Commons for such use?

[1] blockquote is from wikipedia:PARRY ...

https://en.wikipedia.org/wiki/PARRY

[2] "Lenna (or Lena) is a standard test image used in the field of digital image processing, starting in 1973." -- wikipedia:Lenna ...

https://en.wikipedia.org/wiki/Lenna

danhite 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
xnx · 3 months ago
Also, no evidence that Liquid Glass isn't a bad UI for AR too.

John Carmack writes:

Translucent UI is usually a bad idea outside of movies and non-critical game interfaces.

The early moments of joy are fleeting, while the usability issues remain. Windows and Mac have both been down this road before, but I guess a new generation of designers needs to learn the lessons anew. Sigh.

All of the same issues apply in AR as well. Outside of movies, people do not work out their thoughts on windowpanes or transparent “whiteboards” because of the exact same legibility issues.

Would you prefer a notebook of white sheets, or hundreds of different blurry image backgrounds?

https://x.com/ID_AA_Carmack/status/1932521605340483607

danhite · 3 months ago
> Outside of movies, people do not work out their thoughts on windowpanes or transparent “whiteboards” because of the exact same legibility issues.

I knew a lovely man, a kind hearted engineer, Larry Weiss, for whom this was not true... In the early 1980s I was in his VW van that he used for business roadtrips when he, while still driving, grabbed a felt marker and started drawing on the window in front of him to illustrate a point.

I learned that he kept markers handy and used them to capture his thoughts on long drives (to conferences, customers etc). Rough mechanical sketches mostly.

Back then I did not generally know to describe myself as (modern term) aphantasic as I had yet to realize I was different from most people, but hopefully this context helps you to understand why I then (and now) grokked the value of putting your conceptual thought into your ongoing visual field, non-occlusively aka transparently

Legibility is no more the deciding factor of ~utility here/AR/VR than it is in dreams. Indeed I have been very near sighted for over 50 years and I do not find this ~illegibility to be an issue for clarity of visual~assist to thinking.

The point John Carmack makes may have greater merit for other people or if we were limited to discussing text--but Liquid Glass is not about text per se, is it?

"...there’s way too much information to decode the Matrix. You get used to it. I…I don’t even see the code." -- Cypher from The Matrix 1999

P.S. If my story about Larry intrigued you, I am happy to share these two tiny tidbits I found in memoriam ...

https://isaac-online.org/wp-content/uploads/ISAAC-E-News-Oct...

https://w140.com/tekwiki/wiki/Larry_Weiss [re his work and patents at Tektronix in the 1960s]

danhite commented on Malleable software: Restoring user agency in a world of locked-down apps   inkandswitch.com/essay/ma... · Posted by u/jessmartin
gklitt · 3 months ago
Coauthor here.

You make a fair point! Ease of use matters. We all want premade experiences some of the time. The problem is that even in those (perhaps rare!) cases where we want to tweak something, even a tiny thing, we’re out of luck.

An analogy: we all want to order a pizza sometime. But at the same time, a world with only food courts and no kitchens wouldn’t be ideal. That’s how software feels today—-the “kitchen” is missing.

Also, you may be right in the short term. But in the long run, our tools also shape our culture. If software makes people feel more empowered, I believe that’ll eventually change people’s preferences.

danhite · 3 months ago
> Coauthor here.

> That’s how software feels today—-the “kitchen” is missing.

I believe you'll want to read this essay which appeared in the Spring 1990 issue of Market Process, a publication of the Center for the Study of Market Processes at George Mason University ...

"An Inquiry into the Nature and Causes of the Wealth of Kitchens" by Phil Salin

Having worked for him, I'd say his wikipedia entry doesn't do him justice, but is a good start if you're curious--like your Ink & Switch group he spent many years trying to create a world changing software/platform [AMIX , sister co. to Xanadu, both funded in the 1990s by Autodesk].

http://www.philsalin.com/kitchens/index.html#:~:text=An%20In...

u/danhite

KarmaCake day28October 10, 2015
About
Greybeard, former Technical Director at Electronic Arts
View Original