HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ghayes

no profile record

comments

ghayes
·8일 전·discuss
> It's finally here! We believe that Kagi's application of AI should always be useful - there when you'd like it, and never when you don't, and always respecting your privacy.

It's nice to have choice here when, e.g. Google, has been trending in the opposite direction.
ghayes
·2개월 전·discuss
For example, https://mydetector.ai/ai-code-detector/ says 90% likely AI. Not that I trust the tools, but there are telltales to me in this function from the site:

     Object.values(zipBuckets).forEach(function(b) {
       var latest = b.reports.map(function(r){return r.date;}).sort().reverse()[0];
       // ...
       var popup =
         '<div style="font-family: Inter, sans-serif; min-width:220px; max-width:280px;">' +
         (noteLines ? '<ul style="font-size:12px; color:#3a4a2a; padding-left:16px; margin:0;">' + noteLines + '</ul>' : '') +
       // ...
     }
Certain ergonomics are hard to miss since a human who writes heavy FP would opt for a `(r) => r.date` lambda, where the computer has no problem writing out inline `function(r)`-style declarations. Similarly, the HTML mapping function could go either way, but mixing in large sets of text with hard constants would be really uncommon for humans to write.

JavaScript is always a mess, but it's a _different_ mess between humans and AI, and this function `loadCommunityReports` really reads AI-first to me.
ghayes
·4개월 전·discuss
Instead of focusing on why having a website is better for customers (100% it is), the article is really an attack on... developers at Meta and tech other companies? I love a good profanity laced rant, but the entire article reads unfocused and unpersuasive.
ghayes
·4개월 전·discuss
Honestly, skip planning mode and tell it you simply want to discuss and to write up a doc with your discussions. Planning mode has a whole system encouraging it to finish the plan and start coding. It's easier to just make it clear you're in a discussion and write a doc phase and it works way better.
ghayes
·5개월 전·discuss
I’ve really enjoyed Shapr3D (built on Parasolid). Nothing particularly better than the usual competitors but the interface is really intuitive and you can realistically develop on an iPad. Curious if anyone else has had experiences with it.
ghayes
·5개월 전·discuss
To be fair, that's not exactly what Loper Bright says. It holds that the courts should read the statute independently and not assume that Agency rules or procedures are prima facie controlling where the statute is ambiguous.
ghayes
·6개월 전·discuss
I am always worried when I bring development boards on airplanes. I assume most people are reasonable, but I worry for a few that might not be.
ghayes
·8개월 전·discuss
Whenever I see these and play with models like this (and the demos on this page), the movement in the world always feel like a dolly zoom. Things in the distance tend to stay in the distance, even as the camera moves in that direction, and only the local area changes features.

[0] https://en.wikipedia.org/wiki/Dolly_zoom
ghayes
·5년 전·discuss
Obvious code should have obvious properties, in which case you should be able to gain value from property tests. If you make every little function high-quality and well tested, you should end up with better code overall. The only functions, IMO, that don’t deserve properties as much as functions which are exclusively the composition of other functions without any other logic. In that case, the function is often, by definition, its result.
ghayes
·9년 전·discuss
Erlang has arbitrary length integers by default, and I've found it to be incredibly liberating.