For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more bburky's commentsregister

> The LE HTTP challenge gives no guarantee which A record it will use.

That almost changed[0], but the current consensus[1] seems to be that you should be using dns-01 for validation behind a load balancer instead.

[0] https://github.com/ietf-wg-acme/acme/pull/138

[1] https://mailarchive.ietf.org/arch/msg/acme/6RSxtvpkcQNPmKs9f...


If anyone wants these steps fully automated you can use this script:

https://gist.github.com/bburky/40317e6375b1262b1a1fc31072acf...

Just use it as a User Data file on DigitalOcean or elsewhere.

Edit: After doing this, I realized coursera-dl has a Docker script already. You may prefer it: https://github.com/coursera-dl/coursera-dl/tree/master/deplo...


A complete list of the courses cited so far in this thread can be obtained via this shell one-liner:

    curl "https://news.ycombinator.com/item?id=11881767" | grep -Po "[a-zA-Z0-9-]*-0\d{2}" | sort | uniq
better:

    curl "https://news.ycombinator.com/item?id=11881767" | grep -Po "[a-zA-Z0-9-]*-0\d{2}" | sort | uniq | awk '{print "# " $0}'

You might might want to update your script :)


Done.


Awesome. Just awesome.


Even better: allow using CSS transitions to make moving turrets.


Good point actually; you could extend this with a number of properties to make an awesome learn-while-you-play td game for CSS more generally... keep us posted ;)


Nice trick. It looks like this is actually a POSIX shell feature too, so feel free to use this in portable shell scripts even.

Here's the rest of the parameter expansion options. I usually only remember half of them.

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3...


While strace is awesome in general, git has some very useful debug environment variables: GIT_TRACE, GIT_TRACE_PACKET, GIT_CURL_VERBOSE and a few more[1].

Try:

    GIT_TRACE_PACKET=1 GIT_TRACE=1 git push
[1] https://git-scm.com/book/en/v2/Git-Internals-Environment-Var...


I have this bookmarked for some reason, it may help: http://stackoverflow.com/questions/3205819/bezier-path-widen...

Half the links are dead now. This is the openjdk Stroker.java code: http://grepcode.com/file/repository.grepcode.com/java/root/j...


Thanks!


Yep, that's mine.

Actually, it was you Christian, who was describing the git graphs as train tracks and prompted me to do this.

vbarbaresi, you should include the script or whatever method you used to generate the metro. I noticed you also used --allow-empty.


I will, it's a recursive Python script actually. I think the algorithm is suboptimal and a bit messy, I'll share as soon as I rewrite it.


I would like to read that article, comment whatever about git and graphs


Oh. It was an in-person conversation, or possibly a Facebook message that @bburky and I had at some point. Let me see if I can dig it up, but I think it was pretty much just a screenshot of gitk on a particularly complex graph.


Also, curl gained a --next command line option somewhat recently. It lets you send off multiple requests in the same curl invocation. These requests will all be pipelined in the same HTTP connection, which might trigger slightly different behavior in the website.

I have considered writing a program that will let me send of a bunch of HTTP requests at once, but wait to close all the connections at the exact same time. That would probably be the most effective way to trigger race conditions.


Also, is there any reason Git LFS can't be used as a special remote for git-annex?

It would provide an easy way for people to host their git-annex repos entirely on GitHub.


Yeah, git-annex is very interested in having a special remote for everything and anything. And if someone creates 4 shell commands, I could have a demo working in half an hour. The commands would be:

  lfs-get SHA256 > file
  lfs-store SHA256 < file
  lfs-remove SHA256 (optional)
  lfs-check SHA256 # exit 0 or 1, or some special code if github is not available
Presumably the right way would be to use their http api, but these 4 commands seem generally useful to have anyway.


I want to see someone implement surround sound with head tracking. Some Googling turns up some research projects that have done this with either face tracking or accelerometers. And at least one (expensive) commercial product.

I wonder if someone could do it with a software implementation that just takes 5.1 input and uses only a camera or some inexpensive hardware?


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You