Live data from Hacker News

Forget ChatGPT: why researchers now run small AIs on their laptops

nature.com

321–330 of 385 posts

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#322
post #110

Has anybody found a good way to utilize ollama with an editor such as zed to do things like "generate rustdoc to this method" etc. I use ollama daily for a ton of things, but for code generation, completion and documentation 4o is still much better than any of the local models...

Gemma2 27b instruct:

Generate documentation in Rust format for use in code.

  /// An enum representing possible errors during CRUD operations.
  #[derive(Error, Debug)]
  enum CrudError {
    /// Indicates an error occurred while interacting with the SQLite database.
    /// 
    /// This variant wraps a `rusqlite::Error`, providing details about the specific SQLite error.
    #[error("SQLite error: {0}")]
    SqliteError(rusqlite::Error),

    /// Indicates an error related to input/output operations.
    /// 
    /// This variant wraps a `std::io::Error`, giving information about the specific IO problem encountered.
    #[error("IO error: {0}")]
    IoError(std::io::Error),
  }

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#323

Earlier quoted context omitted.

> and some of the most popular extensions are only available with VSCode, not with Codium Which is an artificial restriction from MS that's really easily bypassed. Personally I don't care whether the telemetry is identifiable. I just don't want it.

How is it bypassed?

To switch the extension market place to the non-free one, some URLs need to be swapped in a product.JSON file, as in this script: https://github.com/fsfw-dresden/usb-live-linux/commit/3e4fd4...

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#324

Earlier quoted context omitted.

Button-toggled voice notes in the iPhone Notes app are a godsend for taking measurements. Rather than switching your hands between probe/equipment and notes repeatedly, which sucks badly, you can just dictate your readings and maaaaybe clean out something someone said in the background. Over the last decade, the microphones + speech recognition became Good Enough for this. Wake-word/endpoint models still aren't there…

> Button-toggled voice notes in the iPhone Notes app Is this a physical button or on-screen? I’ve been rewatching Twin Peaks recently and would love a high-tech implementation of Cooper’s tape recorder.

They could be refering to the "action button" on the newer Pro phones, which replaced the silent switcher.

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#325

Earlier quoted context omitted.

It is true that VS Code has some non-optional telemetry, and if VS Codium works for people, that is great. However, the telemetry of VSCode is non-personal metrics, and some of the most popular extensions are only available with VSCode, not with Codium.

From the documentation ( https://code.visualstudio.com/docs/getstarted/telemetry ) it seems there is a supported way to completely turn off telemetry. Is there something else in VSCode that doesn't respect this setting?

From the documentation you linked above:

> extensions may be collecting their own usage data and are not controlled by the telemetry.telemetryLevel setting. Consult the specific extension's documentation to learn about its telemetry reporting and whether it can be disabled.

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#326

I narrate notes to myself on my morning walks[1] and then run whisper locally to turn the audio into text... before having an LLM clean up my ramblings into organized notes and todo lists. I have it pretty much all local now, but I don't mind waiting a few extra seconds for it to process since it's once a day. I like the privacy because I was never comfortable telling my entire life to a remote AI company. [1] It fee…

For people on macOS, the free app Aiko on the App Store makes it easy to use Whisper, if you want a GUI: https://sindresorhus.com/aiko

My faith in humanity has notched up a little today after seeing how easy Aiko and Oolama make it to use this incredible tech.

As a daily user of all the latest OpenAI/Claude models for the last few years, I'm amazed at how good llama3.1 is - all running locally, privately, with zero connection to the web. How did I not know about this?!

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#327
post #298
post #285

Earlier quoted context omitted.

I dropped VSCode when I found out that the remote editing and language server extensions were both proprietary. Back to vim and sorry I strayed.

Jetbrains is pretty ok on this front. I've been enjoying using my beefy computer to do work from my potato laptop.

The way I read it, the message you replied to was a complaint about parts of VSCode being proprietary. Do you mean to say Jetbrains is pretty ok on the "not being proprietary" front?

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#328

Earlier quoted context omitted.

If you're gonna go with a VS code extension and you're aiming for privacy, then I would at least recommend using the open source fork VS Codium. https://vscodium.com/

It is true that VS Code has some non-optional telemetry, and if VS Codium works for people, that is great. However, the telemetry of VSCode is non-personal metrics, and some of the most popular extensions are only available with VSCode, not with Codium.

[deleted]

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#329

I narrate notes to myself on my morning walks[1] and then run whisper locally to turn the audio into text... before having an LLM clean up my ramblings into organized notes and todo lists. I have it pretty much all local now, but I don't mind waiting a few extra seconds for it to process since it's once a day. I like the privacy because I was never comfortable telling my entire life to a remote AI company. [1] It fee…

Can you give any more details on your setup? This sounds great

Re: Forget ChatGPT: why researchers now run small AIs on their laptops

#330

Earlier quoted context omitted.

It is true that VS Code has some non-optional telemetry, and if VS Codium works for people, that is great. However, the telemetry of VSCode is non-personal metrics, and some of the most popular extensions are only available with VSCode, not with Codium.

From the documentation ( https://code.visualstudio.com/docs/getstarted/telemetry ) it seems there is a supported way to completely turn off telemetry. Is there something else in VSCode that doesn't respect this setting?

That's new. Previously there was a setting, but they removed it, and it would even throw a warning in settings.json that the property no longer existed.

They must have reintroduced the telemetry setting. I can't remember if I deleted the old one, but my setting on that new value was set to "all" by default.

Post reply on HN