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

Personally, I started building tooling around Data URIs to provide permanent archives to external resources. You can only really store text or single images like this, and you have to get the size below 16KB [1] (64kB at a push) to be reliable. You can do some form of compression, but it would be nicer to have support for longer Data URIs.

I've literally embedded these into PDFs and all sorts, all of which still open today. It doesn't really increase the document size notably, but does make them more robust.

[1] https://stackoverflow.com/a/695167


This is how singlefile and some other archiving tools work, they just embed all remote assets as data urls within the page. It works really well, the only inconvenience is if you need to parse the html later on, the massive attribute lengths can crash some html parsers like jsdom or cheerio.


> - Why is it better than internet archive?

With the internet archive, the purpose seems to be for public archiving. One could imagine a use-case where you want non-public archives, and are therefore not subject to any take-down requests, especially if they are considered court evidence for example.

By paying directly for your links to be archived, it directly helps fund the service and therefore keep it going. You would want to see some guarantees in the contract about pricing if you were to long-term rely on the service.


Not that convinced by this model:

    import llm
    model = llm.get_model("SmolLM2")
    model.prompt("Write me a poem about computers").text()
I ran the above to test it, and got this:

    In the realm of computation, where magic is a thing of the past,
    The digital realm, where the boundaries of what is thought,
    The digital realm, where the boundaries of what is thought,
And it repeats like that.


Oh yeah, it's complete rubbish - the challenge now is to figure out if there's anything useful a <100MB LLM can do.

Someone suggested using it to build the world's worst calculator.


Maybe I can do one better...

For the 'create_chat_completion' on this line: https://github.com/simonw/llm-smollm2/blob/afed0963b3a8bcca1...

I changed it to:

    completion = model.create_chat_completion(
      messages=messages,
      temperature=0.2,
      top_p=0.9,
      presence_penalty=0.06,
      frequency_penalty=0.5,
      repeat_penalty=1.0,
    )
I took as many parameters as I could from their documentation: https://github.com/huggingface/smollm/tree/main/text#transfo...

And then added some to reduce repeating. I then used the prompt "Write a 10 line poem on computers." (note the fullstop), to get:

    In the realm of computation, where magic and science intertwine,
    The art of programming and the art of computing.
    Computers are machines that can think, they are computers.
    They can do what humans cannot – to create.
    Computers are machines that can think, they are computers.
    Computers are machines that think, they are computers.
    Computers are machines that think, they are computers.
    Computers are machines that think, they are computers.
    Computers are machines that think, they are computers.
    Computers are machines that think, they are computers.
    Computers are machines that think, they are computers.
    Computers can think, they can think.
    Computers can be thought of as a machine that thinks.
    Computers can be thought of as a machine that thinks.
Still not perfect, but the parameters seem to make a massive difference. I think it's entirely possible to get something reasonable out of this model.


If it can call tools, then it could be used to download a larger, more useful model. Or send API requests to another model.


Not just most of the judges, but most of the MPs who voted on this. Let them eat their own cake.

I think they could do something like what Tik Tok did, by letting users know why they can no longer provide the service.

I would personally give Apple money to see them actually stand-up to this. What's probably more concerning is the number of companies not complaining about this at all.


I think grid storage does care:

* Size is important, because they need to be stored and maintained somewhere. The larger the energy storage, the more infrastructure required.

* Weight typically scales cost (the heavier it is the more it costs). If it really weighs a lot, you need to reinforce the ground too.

* Efficiency in charging and discharging. You also need to monitor the state of each cell carefully.


Personally I learned with 8086/8088 via MikeOS [1] (written in NASM). Highly recommended.

[1] https://mikeos.sourceforge.net/


Just to name a few...

Operational reasons:

* You often replace hardware and move disks, etc, around

* The TPM is not compatible with hardware that you have: https://wiki.archlinux.org/title/Trusted_Platform_Module

* You have a TPM that is too old: https://www.dell.com/support/kbdoc/en-uk/000132583/dell-syst...

* Your TPM is damaged

Security reasons:

* For some reason the TPM is actually seriously compromised itself (i.e. RCE or firmware backdoors):

- https://www.reddit.com/r/sysadmin/comments/1akxbfn/youtuber_...

- https://www.beyondidentity.com/resource/cybersecurity-mythbu...

- https://www.bleepingcomputer.com/news/security/new-tpm-20-fl...

* You have an alternative security model, i.e. PTT: https://uk.crucial.com/support/articles-faq-ssd/alternatives...

* As others have pointed out, what if you're locked into using Windows, Windows requires TPM, and TPM implements something you don't like, for example DRM or it snoops on you. Maybe you have to let it scan your drives, maybe your TPM doesn't like your politics.


> for example DRM or it snoops on you

Stop spreading FUD.


It's not a guarantee, you may consider it FUD, but you can't tell me it's impossible - you can't even promise me it won't happen.

The TPM is fundamentally about storing cryptographic keys, platform integrity checks, unique IDs, etc. It is already used for secure logins by the Windows OS. Microsoft are successfully enforcing your email, ID, logins, etc, to be associated directly with your unique hardware.

One day you will request a video from Netflix or Youtube, and your device will be the only device in the world that can view it. You might think to screen record, but the OS does not allow it. You might think to record it via an external display, but this has to interface with the TPM. You decide to record your screen from your phone, but the phone's TPM recognises that the camera tries to record DRM material.

Don't get me wrong, security devices should exist 100%. But. It should never be forced.


TPM isn't capable of the outlandish claims you're making. It stores textual content in PCRs, and is extremely limited at that, not at the very least of in size.

Unique IDs of a system don't require a TPM. Microsoft uses unique IDs from various hardware to bind a product key to a particular device, and has been doing that since the XP era.

Intel and gfx vendors already provide secure DRM paths. TPM isn't capable of doing so.

> Don't get me wrong, security devices should exist 100%. But. It should never be forced.

They should be forced otherwise users would continue leaving themselves open to attack. Security has moved on from ACLs. Microsoft recognizes the need for things like VBS to protect against modern threats, which in turn requires TPM.

Apple has been doing this for roughly 15 or so years now with no fanfare on consumer devices. TPM has been around on x86 since the late '00s with little-to-no fanfare.


> Under the bloc’s approach, there are four broad risk levels: (1) Minimal risk (e.g., email spam filters) will face no regulatory oversight; (2) limited risk, which includes customer service chatbots, will have a light-touch regulatory oversight; (3) high risk — AI for healthcare recommendations is one example — will face heavy regulatory oversight; and (4) unacceptable risk applications — the focus of this month’s compliance requirements — will be prohibited entirely.

I think this is a massive oversight, for a few reasons:

1. Things will continue to be done, just elsewhere. The EU could find itself scrambling to catch-up (again) because of their own regulation.

2. Increased oversight is only part of the picture, the real challenge is that even with the oversight, proving that AI is acceptably safe, or that the risk is acceptable.

3. Some things are inherently not safe, e.g. war. I know many (almost all) military tech companies using AI, and the EU is about to become an impossible investment zone for these guys.

I think this will make investment into the EU tough, given tonnes of investment is now focused around AI. AI is and will likely remain the fuel to economic growth for quite some time, and the EU adding a time/money tax to the fuel.


This is a great idea, we could have a "advocate bot" that takes a small brief and advocates your app on your behalf to the Google bot. What a time to be alive!


Hmmm... maybe I need to make an AI bot service that repeatedly has agents making 24/7 argumentative chat and voice complaints to customer service about services you use to reach the optimal low price. And THEN have another company selling a chatbot that expertly stonewalls bot complaints more effectively than current CS bots. And eventually, everything would be so clogged up with bots arguing with each other that the only way to actually reach customer service for any company would be through my platform.

Not so much a value-added strategy, but value-partially-un-removed strategy.

Looks like enshittif.ai is available!


I think you are describing a lucrative business plan. When you have two of your own bots arguing it out you can bypass the computation overhead entirely.


Running locally is such an important feature, running elsewhere is an instant non-starter for me. I also want the LLM to be able to read the code to build an in-context solution, but not be able to make changes unless they are strictly accepted.


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

Search: