Hacker News new | past | comments | ask | show | jobs | submit | notpushkin's comments login

There’s some problem with networking: if you try to run multiple containers, they won’t see each other. Could probably be solved by running a local VPN or something.

Windows can do “true” containers, too. These containers won’t run Linux images, though.

Can it? As far as I understood windows containers required Hyper-V and the images themselves seem to contain an NT kernel.

Not that it helps them run on any other Windows OS other than the version they were built on, it seems.


Source?

The following piece of documentation disagrees:

https://learn.microsoft.com/en-us/virtualization/windowscont...

> Containers build on top of the host operating system's kernel (...), and contain only apps and some lightweight operating system APIs and services that run in user mode

> You can increase the security by using Hyper-V isolation mode to isolate each container in a lightweight VM


Yes, it is based on Windows Jobs API.

Additionally you can decide if the images contain the kernel, or not.

There is nothing in OS containers that specifies the golden rule how the kernel sharing takes place.

Remember containers predate Linux.


Hmm, now that we have the prompts, would it be possible to reimplement Cursor servers and have a fully local (ahem pirated) version?

Or you could just use Cline / Roo Code which are better for agentic coding and open source anyway...

But extremely expensive in comparison

Were you really waiting for the prompts before disembarking on this adventure?

presumably their apply model is run on their servers

I wonder how hard it would be to build a local apply model/surely that would be faster on a macbook


Its hard to get a model that does it usefully on your laptop. Theres an open source 1.5B model from QuocDat, and Morph - https://morphllm.com which is a fast apply model as an API (that I run)

It’s possible, but they allow you to specify your own API (that’s how they got the prompts in this article).

Absolutely

I don’t understand a word you’re saying. How does any of this relate to the topic?

You may be right and I beg a pardon for my words then.

I still have to dig the current law proposal (my shame).

The conclusion I came to a few years ago is that anonymity in Switzerland is not something useful. Switzerland is not a police state, it mainly copes up with trying to get its citizens to being responsible. Whenever you make something wrong IRL, you have to assume the consequences. Same with online. I concur that my words are messed up.


> Switzerland is not a police state, it mainly copes up with trying to get its citizens to being responsible.

I don’t even know what to say.

Every police state claims it’s only “trying to get its citizens to be responsible”.


This is me saying it, not the state. I am swiss and living freely in Switzerland btw. Where are you from?

I’ve seen some in Moscow, too, and I think actually every Rostelecom payphone is free now (something about the universal communication services project I guess). In Russian: https://www.company.rt.ru/projects/uus/

Yeah, I think this is the reason this proposal is getting more traction again.

I think there’s a couple ways to improve it:

1. There’s a lot of variants of the same book. We only need one for the index. Perhaps for each ISBN, select the format easiest to parse.

2. We can download, convert and index top 100K books first, launch with these, and then continue indexing and adding other books.


How are you going to download the top 100k? The only reasonable way to download that many books from AA or Libgen is to use the torrents, which are sorted sequentially by upload date.

I tried to automate downloading just a thousand books and it was unbearably slow, from IPFS or the mirrors both. I ended up picking the individual files out of the torrents. Even just identifying or deduping the top 100k would be a significant task.


For each book they store its exact location in the torrent files. You can see on the book page, e.g.:

collection “ia” → torrent “annas-archive-ia-acsm-n.tar.torrent” → file “annas-archive-ia-acsm-n.tar” (extract) → file “notesonsynthesis0000unse.pdf”

But probably you should get it from the database dumps they provide instead of hammering the website.

So you come up with a list of books you want to prioritize, search the DB for torrent name and file to download, download only the files you need, and extract them. You’ll probably end up with quite a few more books, which you may index or skip for now, but it is certainly doable.


The thing is, for an ISBN, that is one edition, by one publisher and one can easily have the same text under 3 different ISBNs from one publisher (hardcover, trade paperback, mass-market paperback).

I count 80+ editions of J.R.R. Tolkien's _The Hobbit_ at:

https://tolkienlibrary.com/booksbytolkien/hobbit/editions.ph...

granted some predate ISBNs, one is the 3D pop-up version, so not a traditional text, and so forth, but filtering by ISBN will _not_ filter out duplicates.

There is also the problem of the same work being published under multiple titles (and also ISBNs) --- Hal Clement's _Small Changes_ was re-published as _Space Lash_ and that short story collection is now collected in:

https://www.goodreads.com/book/show/939760.Music_of_Many_Sph...

along with others.


Hmmm, yeah, ISBN isn’t great for this. Is there a good way to deduplicate the books by their contents?

LoC or Dewey Decimal with author and title (and edition?) should work.

I wish there was some better book cataloging/organizing scheme --- the Online Books Page uses LoC:

https://onlinebooks.library.upenn.edu/subjects.html

and is the most workable of the indices I've used.


There should be a way to leverage compression when storing multiple editions of the same book.

From a good search perspective though you probably dont want 500 different versions of the same book popping up for a query

Agreed. I would prefer to see a single result for a single title. The option of pursuing different editions should follow from there.

And without some sort of weighting system, it wouldn't even know which one is the best one to show the user.

We’ll also need to consider that some versions might be easier to index even though the user would prefer another version. E.g. if we have a TXT and EPub, we might want to index TXT (if it’s clean enough), but present user with EPub (with formatting and stuff).

But it’s not a huge problem actually: just link to the search page instead and let the user decide what they want to download.



Then crack it open and get yourself a decent battery for a project!

(or more likely find one lying in the streets somewhere)


Usually the battery chemistry does not allow recharging

The ones used in these “single use” devices are almost universally just standard Li-Ion.

In vapes it’s almost certain, as other battery types just don’t work very well for this application. Also, many of these come rechargeable now (but not refillable).

In “emergency chargers”, you could in theory use something different but usually it’s lithium too: https://www.youtube.com/watch?v=6lflk6iY56w


Depends.

https://www.youtube.com/watch?v=N65DpT2nqEI

Though the UK did just recently ban some of the worst offenders https://www.gov.uk/government/news/single-use-vapes-banned-f...


Do you have a proposal? (Showing file hashes could help, perhaps?)

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

Search: