Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yoavm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
361.
▲
by
yoavm
2y ago
I'm currently using public IPFS Gateways to fetch the files from IPFS.
362.
▲
by
yoavm
2y ago
Thanks! I really wanted to use verified-fetch, but it seemed like it doesn't really support all types of CIDs? In my case, most of the files use blake2b-256, and the last time I checked verified-fetch didn't like that :( Did somet
363.
▲
by
yoavm
2y ago
Yes it is, and you're absolutely right with raising this concern. I was planning to make seeding (if I get it working at all) an opt-in feature, firstly to prevent excessive data usage on mobile connections.
364.
▲
by
yoavm
2y ago
Ha, that's a great point... I can probably work on a meta "table of content" for each database, shouldn't be hard to do. But generally the database descriptions say what they have - public domain books, library genesis n
365.
▲
by
yoavm
2y ago
I need to check about Pocket - do you have any relevant documentation? Note however that TeaTime does keep an offline cache, both a list of your recent books and the files themselves, but it does it using LocalStorage and IndexedDB because
366.
▲
by
yoavm
2y ago
Thank you! I've seen quite a lot of similar projects as I was working on this, and they all served as much inspiration and also a proof that this can in fact be done. Also, thanks to whoever came up with thebookbay.org instance :)
367.
▲
by
yoavm
2y ago
Thanks, I shall have a look into that. Technically the index too can live on IPFS, but the real challenge was how to know which databases exist, and where. This is what I'm using the GitHub topics for - everyone can create a repo and a
368.
▲
by
yoavm
2y ago
Interesting - I'm kinda counting on PDF.js, which is used for PDF rendering, on doing it safely, but of course that doesn't always have to be the case. Do you have any thoughts on how to make this safer?
369.
▲
by
yoavm
2y ago
Yeah - the desire to have TeaTime run as a normal website. BitTorrent doesn't run over HTTP, unless you use WebTorrent, which most BitTorrent clients aren't 100% compatible with. This means you can basically only download from oth
370.
▲
by
yoavm
2y ago
Libgen is one of the databases that are currently available (and was probably a good fit because they already had their files on IPFS), but I think that this architecture, in which the UI is decoupled from the database, the database doesn&#
371.
▲
by
yoavm
2y ago
> Do static sites built with sphinx-build or jupyter-book or hugo or other jamstack static site generators work with TeaTime? I guess it depends on what you mean by "work with TeaTime". TeaTime itself is a static site, generate
372.
▲
by
yoavm
2y ago
That's a fair point - I guess it could be abused. Databases are sorted by their number of GitHub stars, so I was hoping that with the power of the crowds it will be possible to minimize the bad effect such actor might have, by simply n
373.
▲
by
yoavm
2y ago
Thanks, I haven't heard of it before. I wonder if it's possible to use OrbitDB to download a file from IPFS though? Based on it's CID, I mean, because that was my intention with Helia. I thought that one of the nice thing abo
374.
▲
by
yoavm
2y ago
Yes, https://bjesus.github.io/teatime/
375.
▲
Show HN: TeaTime – distributed book library powered by SQLite, IPFS and GitHub
(github.com)
307 points
by
yoavm
2y ago
|
55 comments
376.
▲
by
yoavm
2y ago
Nobody is "rewarding" polluting countries. The idea is to give poor nations money so that they can build clean energy infrastructure, as well as handle the damage already caused by climate change, for which the developed countries
377.
▲
by
yoavm
2y ago
Please not an animated gif. These easily end up weighing more than 10MB, while a similar mp4 can be 500KB. You just need to use an encoding all browsers support.
378.
▲
by
yoavm
2y ago
It does not seem to be a library at all, so very little to do with dependency hell. It's something you prepend to your commands if you want them to retry until they succeed. Seems pretty useful to me.
379.
▲
by
yoavm
2y ago
I would say that the 30% market-share Firefox had in 2009 was breaking the monopoly much more than the 3% Chrome had a time. Sure IE6 had many non-standard APIs, but even the fact that all hobbyist browsers back then were implementing tabs
380.
▲
by
yoavm
2y ago
> Google would have to make TONS of hostile moves for that fact to change I think the biggest issue with IE6 was not the hostile moves Microosft did, it is that it didn't do anything. The browser was just frozen. That's why it
381.
▲
by
yoavm
2y ago
It doesn't actually feel more readable to me. I find the idea that the lock declaration sits at the same level as the lock content confusing.
382.
▲
by
yoavm
2y ago
So you're telling someone that's looking for an alternative to Google automatically collecting every keystroke they make and using it for ads, not to switch to Firefox because Mozilla collects, uhm, telemetry? Do you really not se
383.
▲
by
yoavm
2y ago
Peanuts become a real problem when the country throwing them is a totalitarian dictatorship, and spying becomes tolerable when the country doing it is a democracy. How many people are forgetting those basics will never cease to surprise me.
384.
▲
by
yoavm
2y ago
To do what exactly?
385.
▲
by
yoavm
2y ago
Love seeing things like this! I think static databases are underrated and we're going to see more of that soon. I'm working on a similar project - https://github.com/bjesus/teatime - for book reading. Any Git
386.
▲
by
yoavm
2y ago
Why? More often than not the classes are combined during post-processing to the most reusable unified classes, with very short classes names.
387.
▲
by
yoavm
2y ago
Vim has the same problem: https://github.com/neovim/neovim/issues/989
388.
▲
Using Userscripts to Translate Subtitles On-the-Fly
(yoavmoshe.com)
5 points
by
yoavm
2y ago
|
0 comments
389.
▲
by
yoavm
2y ago
You can generally see the version for any Android app by swiping up to reveal the app switcher, then click the app icon, "info", and scroll down to see the version.
390.
▲
by
yoavm
2y ago
An average of 4.3 isn't too bad? It seems like Google is choosing the worst reviews as "most relevant" (whatever that means?) and is putting them at the top.
More ›