HackerTrans
TopNewTrendsCommentsPastAskShowJobs

danappelxx

no profile record

comments

danappelxx
·4 ay önce·discuss
There is natural incentive for engineers working on a project to keep Claude skills up to date. I cannot say the same for general documentation.
danappelxx
·5 ay önce·discuss
GitHub API is actually quite tricky here because there is a different between “comment” and “review” and “review comment” (paraphrasing, I don’t remember the details). So it’s not as simple as one API call that grabs the markdown. Of course you can write a creative one-liner to extract what you need, though.
danappelxx
·10 ay önce·discuss
If the DNS resolution call blocks the thread, then you need N worker threads to perform N DNS calls. Threads aren’t free, so this is suboptimal. OTOH some thread pools e.g. libdispatch on Apple operating systems will spawn new threads on demand to prevent starvation, so this _can_ be viable. Though of course this can lead to thread explosion which may be even more problematic depending on the use case. In libcurl’s situation, spawning a million threads is probably even worse than a memory leak, which is worse than long timeouts.

In general, what you really want is for the API call to be nonblocking so you’re not forced to burn a thread.
danappelxx
·6 yıl önce·discuss
You almost had me fooled :)

That's not a 3.5mm jack, that's the top of the headphones. See[1] where the crown is on the top.

[1]: https://www.apple.com/newsroom/images/product/airpods/standa...
danappelxx
·6 yıl önce·discuss
The headphones have a lightning port (just like iPhones). This cable is to connect the headphones to a 3.5mm port (ie MacBook).
danappelxx
·7 yıl önce·discuss
This is not about the war on drugs, this is about making roads safer. Driving under the influence is illegal whether the influencing drug is legal or not.