Hacker Newsnew | past | comments | ask | show | jobs | submit | more iameoghan's commentslogin

> Yes, there are tons of resources but I'll try to offer some simple tips.

This is a great post!


I really like it.

My one criticism is that the docs are always slightly out of date. I would love more flexibility in the queries i.e. being able to do advanced queries on multiple collections, rather than having to resort to raw SQL. It'll get there I'm sure.


>These are both trivial, stateless 5-line scripts

Would it be possible to share these scripts? I would love to see them, they sound really helpful/useful


Sure. Here's the help system one (no longer used since intercom now supports permissions, and I opened up the help system anyway):

    addEventListener('fetch', event => {
       event.respondWith(handleRequest(event.request))
     })

    async function handleRequest(request) {
       const cookie = request.headers.get('Cookie');
       if (cookie && cookie.includes('foo=bar')) {
         return await fetch(request);
       } else {
         return new Response('You must log in before accessing this content');
       }
     }
The encrypted URL script is actually a bit longer than "5 lines" (it has been a while) so here's a gist:

https://gist.github.com/stickfigure/af592b1ce7f888c5b8a4efbe...


That's really handy to know. Was looking for an alternative to forest admin.


Would love to know more. This is fascinating.


The dat website is at dat://aaca379867bff648f454337f36a65c8239f2437538f2a4e0b4b5eb389ea0caff

You can visit with the beaker browser, or share it through dat so it won't ever go down.

You can also visit it at http://www.nanosavseq.com/ (DNS is not up yet, http://167.172.195.83/book/index.html is direct)

It's embarrassingly barren right now, mainly since I've encountered some big problems with getting my DNA quantifier out of storage to start doing a lot more experiments. I'm getting that on Tuesday, so will be updating site then.


The book / documentation is very clean and presented in a fantastic way. May I ask what engine you are using for presenting this book?


mdbook! By the folks making the Rust docs. I love their formatting.


Would you like to work together on this? This is very interesting stuff.


Would love to. Feel free to email me at koeng101<at>gmail.


Gonna check this out, seems very useful!


Absolutely. I enjoy Bubble - should have put it on the list.

Any other platforms that have caught your attention?


BioTech definitely counts haha


Absolutely.


....


If you have to know, it's the engineering equivalent of trying to divide by zero in Math.


An invention invention?


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

Search: