News for hackers. Stuff that matters.
Re:Scramble: Open-Source Alternative to Grammarly by vunderba on Wednesday September 18, 2024 @12:10AM (#41575712)
Nice job—I'm always a fan of 'bring your own key' (BYOK) approaches. I think there's a lot of potential in using LLMs as virtual copy editors.

I do a fair amount of writing and have actually put together several custom GPTs, each with varying degrees of freedom to rewrite the text.

The first one acts strictly as a professional editor—it's allowed to fix spelling errors, grammatical issues, word repetition, etc., but it has to preserve the original writing style.

I do a lot of dictation while I walk my husky, so when I get back home, I can run whisper, convert the audio to text, and throw it at the GPT. It cleans it up, structures it into paragraphs, etc. Between whisper/GPT, it saves me hours of busy work.

The other one is allowed to restructure the text, fix continuity errors, replace words to ensure a more professional tone, and improve the overall flow. This one is more reserved for public communique such as business related emails.

Re:Scramble: Open-Source Alternative to Grammarly by thankyoufriend on Wednesday September 18, 2024 @12:54AM (#41575937)
Very cool! I'd be interested in reading more about your dictation-to-text process if you documented it somewhere, thanks.

My partner and I were just talking about how useful that would be, especially driving in the car when all of the "we should..." thoughts come out of hiding. Capturing those action items more organically without destroying the flow of the conversation would be heavenly.

Re:Scramble: Open-Source Alternative to Grammarly by copperx on Wednesday September 18, 2024 @01:33AM (#41576120)
I do something similar. I have a custom Gemini Gem that critiques my writing and points out how I can better my paragraphs, but I do the bulk of the rewriting myself.

I'm not a native speaker, and the nice thing about this approach is that I seem to be learning to write better instead of just delegating the task to the machine.

Re:Scramble: Open-Source Alternative to Grammarly by edweis on Wednesday September 18, 2024 @03:48AM (#41576944)
> I'm always a fan of 'bring your own key' (BYOK) approaches.

"Bring your own key" has the same amount of syllables as "BYOK"

Re:Scramble: Open-Source Alternative to Grammarly by closetkantian on Wednesday September 18, 2024 @09:03AM (#41579224)
If your point is that BYOK is a useless acronym since it has the same number* of syllables, I disagree. Acronyms aren't just for reducing syllable count; they also reduce visual clutter and are easier to read for people who scan text.
Re:Scramble: Open-Source Alternative to Grammarly by pixelpoet on Wednesday September 18, 2024 @05:02PM (#41585446)
My brother from another mother, I thought I was the only one left who distinguishes much from many. (I wish I didn't know that it's technically an initialism not an acronym...)
Re:Scramble: Open-Source Alternative to Grammarly by closetkantian on Thursday September 19, 2024 @06:53AM (#41590512)
Hahaha, this comment has me thinking about how I would pronounce it. Bee-yok? Bye-yolk?
Re:Scramble: Open-Source Alternative to Grammarly by halJordan on Wednesday September 18, 2024 @12:15AM (#41575732)
Seems like it just has some prebaked prompts right now. FF's AI integration does this much already with custom prompts and custom providers. Pls let me set my own base url. So many tools already support the openai api.
Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Tuesday September 17, 2024 @10:59PM (#41575324)
After years with Grammarly, I wanted a simpler, cheaper way to improve my writing. So I built Scramble, a Chrome extension that uses an LLM for writing enhancements.

Key features: - Uses your OpenAI API key (100% local) - Pre-defined prompts for various improvements - Highlight text and wait for suggestions - Currently fixed to GPT-4-turbo

Future plans: add LLM provider/model choice, custom prompts, bug fixes, and improve default prompts.

It's probably buggy, but I'll keep improving it. Feedback welcome.

GitHub: https://github.com/zlwaterfield/scramble

Re:Scramble: Open-Source Alternative to Grammarly by _HMCB_ on Tuesday September 17, 2024 @11:52PM (#41575609)
This is awesome. Can’t wait to install it and put it through its paces.
Re:Scramble: Open-Source Alternative to Grammarly by compootr on Tuesday September 17, 2024 @11:53PM (#41575618)
how much does it cost in a normal day?
Re:Scramble: Open-Source Alternative to Grammarly by pkhamre on Wednesday September 18, 2024 @04:57AM (#41577444)
What is a normal day?
Re:Scramble: Open-Source Alternative to Grammarly by exe34 on Wednesday September 18, 2024 @05:15AM (#41577563)
a day when nothing too unusual happens.
Re:Scramble: Open-Source Alternative to Grammarly by compootr on Wednesday September 18, 2024 @12:54PM (#41582359)
like what he's spending on average.

Maybe sending some emails, writing or proofreading some docs -- what you'd do in a business day

Re:Scramble: Open-Source Alternative to Grammarly by Tepix on Wednesday September 18, 2024 @07:27AM (#41578363)
Don't think about money. Think about the cost in terms of forgone privacy.
Re:Scramble: Open-Source Alternative to Grammarly by compootr on Wednesday September 18, 2024 @12:53PM (#41582346)
to protect your privacy from grammarly you fork over your data to openai?
Re:Scramble: Open-Source Alternative to Grammarly by Tepix on Saturday September 21, 2024 @06:18AM (#41608946)
Hopefully we soon get local llm support
Re:Scramble: Open-Source Alternative to Grammarly by TheRealPomax on Wednesday September 18, 2024 @01:13AM (#41576025)
Does it work in "not a browser" though? Because that's the last place I need this, I really want this in Typora, VS Code, etc. instead.
Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Wednesday September 18, 2024 @07:06AM (#41578202)
Not right now. Looking into a mac app. This was just a quick and dirty first go at it.
Re:Scramble: Open-Source Alternative to Grammarly by TheRealPomax on Wednesday September 18, 2024 @11:51AM (#41581385)
Makes sense. Strongly hope it won't be a "mac app" but a cross-platform application instead though, nothing worse than having a great mac app that you can't use 50% of the time because your work computer's a mac and your personal computer's a windows machine because you like playing games.
Re:Scramble: Open-Source Alternative to Grammarly by kylebenzle on Wednesday September 18, 2024 @01:46AM (#41576196)
Without marketing speak can I ask why anyone would have a need for a service like grammerly, I always thought it was odd trying to sell a subscription based spell checker (AI is just a REALLY good spell checker).
Re:Scramble: Open-Source Alternative to Grammarly by pbhjpbhj on Wednesday September 18, 2024 @04:15AM (#41577149)
Without marketing speak, can I ask why anyone would have a need for a service like Grammarly?

    ---
Manual corrections here, but maybe they give a clue?
Re:Scramble: Open-Source Alternative to Grammarly by robertlagrant on Wednesday September 18, 2024 @11:20AM (#41580858)
They aren't a native English speaker and would like a hand with phrasing.
Re:Scramble: Open-Source Alternative to Grammarly by gazereth on Wednesday September 18, 2024 @01:56AM (#41576252)
Non-native speakers find it useful since it doesn't just fix spelling but also fixes correctness, directness, tone and tense. It gives you an indication of how your writing comes across, e.g. friendly, aggressive, assertive, polite.

English can be a very nuanced language - easy to learn, difficult to master. Grammarly helps with that.

Re:Scramble: Open-Source Alternative to Grammarly by rlayton2 on Wednesday September 18, 2024 @01:57AM (#41576260)
I'm a big fan of Grammarly and have been using it, and paying for it, for years.

The advantage is not spell checking. It is grammar and style improvements. It tells you things like "this language is informal", or "this is a better word for that".

Re:Scramble: Open-Source Alternative to Grammarly by mhuffman on Wednesday September 18, 2024 @02:02AM (#41576282)
The "grammar" part, at least in a professional setting. You might be shocked at how many people will write an email pretty much like they would talk to friends at a club or send a text message (complete with emojis!) or just generally butcher professional correspondence.
Re:Scramble: Open-Source Alternative to Grammarly by dotancohen on Wednesday September 18, 2024 @02:13AM (#41576352)
So it may be more attractive to employers to check their employees' output, rather than an individual checking his own?
Re:Scramble: Open-Source Alternative to Grammarly by oneeyedpigeon on Wednesday September 18, 2024 @02:59AM (#41576642)
No, it's also useful to check your own writing. I've used it as both an Editor and a Writer.
Re:Scramble: Open-Source Alternative to Grammarly by socksy on Wednesday September 18, 2024 @05:33AM (#41577656)
It is widely used in countries where the professional language is English, but the native language of the speakers is not.

For example, most Slavic languages don't have the same definite/indefinite article system English does, which means that whilst someone could speak and write excellent English, the correct usage of "a" and "the" is a constant conscious struggle, where having a tool to check and correct your working is really useful. In Greek, word order is not so important. And so on.

Spell check usually just doesn't cut it, and when it does (say, in Word), it usually isn't universally available.

Personally, I have long wanted such a system for German, which I am not native in. Lucky for me DeepL launched a similar product with German support.

A recent example for me was that I was universally using "bekommen" as a literal translation of "receive" in all sentences where I needed that word. Through DeepL I learned that the more appropriate word in a bunch of contexts is "erhalten", which is the sort of thing that I would never have got from a spell check.

Grammarly is notably a Ukrainian founded company.

Re:Scramble: Open-Source Alternative to Grammarly by lhousa on Wednesday September 18, 2024 @03:53AM (#41576980)
Rookie question: the openAPI endpoint costs extra right? Not something that comes with chatGPT or chatGPT+.
Re:Scramble: Open-Source Alternative to Grammarly by paraknight on Wednesday September 18, 2024 @04:22AM (#41577198)
Yes
Re:Scramble: Open-Source Alternative to Grammarly by Szpadel on Wednesday September 18, 2024 @04:31AM (#41577263)
yes, but gpt-4o-mini costs very little so you probably will spend well under $1/month
Re:Scramble: Open-Source Alternative to Grammarly by miguelaeh on Wednesday September 18, 2024 @07:19AM (#41578295)
I don't think the point here should be the cost, but the fact that you are sending everything you write to OpenAI to train their models on your information. The option of a local model allows you to preserve the privacy of what you write. I like that.
Re:Scramble: Open-Source Alternative to Grammarly by nickthegreek on Wednesday September 18, 2024 @09:50AM (#41579742)
Openai does not train models on data that comes in from the API.

https://openai.com/policies/business-terms/

Re:Scramble: Open-Source Alternative to Grammarly by punchmesan on Wednesday September 18, 2024 @11:51AM (#41581380)
Assuming for the moment that they aren't saying that with their fingers crossed behind their back, that doesn't change the fact that they store the inputs they receive and swear they'll protect it (Paraphrasing from the Content section of the above link). Even if it's not fed back into the LLM, the fact that they store the inputs anywhere for a period of time is a huge privacy risk -- after all a breach is a matter of "when", not "if".
Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Wednesday September 18, 2024 @07:07AM (#41578204)
Correct but I'm going to loom into a locally running LLM so it would be free.
Re:Scramble: Open-Source Alternative to Grammarly by Tepix on Wednesday September 18, 2024 @07:26AM (#41578357)
Please do (assuming you mean "look"). When you add support for a custom API URL, please make sure it supports HTTP Basic authentication.

That's super useful for people who run say ollama with an nginx reverse proxy in front of it (that adds authentication).

Re:Scramble: Open-Source Alternative to Grammarly by nickthegreek on Wednesday September 18, 2024 @09:48AM (#41579709)
Look into allowing it to connect to either a LM Studio endpoint or ollama please.
Re:Scramble: Open-Source Alternative to Grammarly by xdennis on Wednesday September 18, 2024 @05:19AM (#41577579)
> Key features: - Uses your OpenAI API key (100% local)

Sorry, but we have a fundamental disagreement on terms here. Sending requests to OpenAI is not 100% local.

The OpenAI API is not free or open source. By your definition, if you used the Grammarly API for this extension it would be a 100% local, open source alternative to Grammarly too.

Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Wednesday September 18, 2024 @07:05AM (#41578198)
Agree, I want to add a local LLM set up. The wording there isn't great.
Re:Scramble: Open-Source Alternative to Grammarly by reynaldi on Wednesday September 18, 2024 @12:08AM (#41575702)
Awesome, I was just about to look for something like this and it showed up on HN!
Re:Scramble: Open-Source Alternative to Grammarly by ofou on Wednesday September 18, 2024 @12:24AM (#41575776)
Loved it. I'd love to use something like "right-click, fix grammar" under iOS—not just rewrite. I want to keep my own voice, just with minimal conformant grammar as a second-language speaker.
Re:Scramble: Open-Source Alternative to Grammarly by rafram on Wednesday September 18, 2024 @12:41AM (#41575866)
AFAIK Apple Intelligence will include essentially that.
Re:Scramble: Open-Source Alternative to Grammarly by ofou on Wednesday September 18, 2024 @10:07AM (#41579896)
let's hope the rumors are real
Re:Scramble: Open-Source Alternative to Grammarly by rafram on Wednesday September 18, 2024 @12:30AM (#41575801)
Grammarly grammar checking predates modern LLMs by many years, so I assume they’re actually using some kind of rule-based engine internally.
Re:Scramble: Open-Source Alternative to Grammarly by tiew9Vii on Wednesday September 18, 2024 @03:25AM (#41576798)
I was a big fan of Grammarly, as dyslexic, so often write the wrong word then ten minutes later when re-reading spot i used the wrong word/spelling etc.

It worked extremely well, as you say I think by using basic rules engines.

I’ve canceled my subscription recently as found it getting worse, not better, I suspect because they are now applying LLMs.

The suggestions started to make less sense and the problem with LLM suggestions is all your writing takes the tone of the LLM, you loose your personality/style in what you write.

The basic rules approach worked much better for me.

Re:Scramble: Open-Source Alternative to Grammarly by keiran_cull on Wednesday September 18, 2024 @01:16AM (#41576042)
From what I understand, they've used a whole bunch of different kinds of AI models over the years.

They've been reasonably transparent about how things work, e.g. this blog post from 2018: https://www.grammarly.com/blog/transforming-writing-style-wi...

Re:Scramble: Open-Source Alternative to Grammarly by TheRealPomax on Wednesday September 18, 2024 @01:24AM (#41576083)
This pretends that LLMs aren't just "more machine leearning", which they simply are.
Re:Scramble: Open-Source Alternative to Grammarly by mobscenez on Wednesday September 18, 2024 @01:02AM (#41575969)
That's awesome, Grammarly is good but not as good as large language models such as GPT-4. I have been waiting for a tool that incorporates LLMs into grammar checks for a long time and here it comes! Hope it can integrate Anthropic API in the near future.
Re:Scramble: Open-Source Alternative to Grammarly by raverbashing on Wednesday September 18, 2024 @01:17AM (#41576050)
> open-source Chrome extension

> It's designed to be a more customizable and privacy-respecting alternative to Grammarly.

> This extension requires an OpenAI API key to function

I disagree with this description of the service

No, it's not an "Open Source alternative to grammarly", it's an OpenAI wrapper

Re:Scramble: Open-Source Alternative to Grammarly by 8f2ab37a-ed6c on Wednesday September 18, 2024 @01:22AM (#41576077)
Wonder if there's an option to somehow pipe the prompting to a local ollama instead.
Re:Scramble: Open-Source Alternative to Grammarly by raverbashing on Wednesday September 18, 2024 @01:37AM (#41576142)
That would be an interesting possibility
Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Wednesday September 18, 2024 @07:19AM (#41578292)
Agree, wording could be improved. I'm gonna add local LLM support.
Re:Scramble: Open-Source Alternative to Grammarly by polemic on Wednesday September 18, 2024 @01:37AM (#41576139)
Seems a stretch to call it open source.
Re:Scramble: Open-Source Alternative to Grammarly by WA on Wednesday September 18, 2024 @01:38AM (#41576147)
Seems a stretch to call it "more privacy-friendly" if it talks to OpenAI.
Re:Scramble: Open-Source Alternative to Grammarly by senko on Wednesday September 18, 2024 @01:44AM (#41576174)
The source seems to be at the linked repo, and the license is MIT. How’s that a stretch?
Re:Scramble: Open-Source Alternative to Grammarly by trog on Wednesday September 18, 2024 @02:08AM (#41576319)
> The source seems to be at the linked repo, and the license is MIT. How’s that a stretch?

Speaking for myself, I clicked on this thinking it might be open source in the sense of something I can run fully locally, like with a small grammar-only model.

Re:Scramble: Open-Source Alternative to Grammarly by n_plus_1_acc on Wednesday September 18, 2024 @02:42AM (#41576531)
Check out languagetool, as mentioned in other comments. It isbtruly open source
Re:Scramble: Open-Source Alternative to Grammarly by TheDong on Wednesday September 18, 2024 @02:53AM (#41576603)
Code is only copyrightable if it has any element of creativity.

This repo is _only_ really 7 sentences, like "Please correct spelling mistakes in the following text: " (these https://github.com/zlwaterfield/scramble/blob/2c1d9ebbd6b935...)

Everything else is uncreative, and possibly un-copyrightable, boilerplate to send those sentences to OpenAI.

All of the creative software happens on OpenAI's servers using proprietary code.

Re:Scramble: Open-Source Alternative to Grammarly by too_damn_fast on Wednesday September 18, 2024 @03:10AM (#41576717)
Why would you even say 'please' in a prompt ?
Re:Scramble: Open-Source Alternative to Grammarly by t-writescode on Wednesday September 18, 2024 @03:39AM (#41576894)
There has been evidence that better responses are sometimes provided with politeness for some LLMs.

And some people just try to be polite and it only costs a couple tokens.

Re:Scramble: Open-Source Alternative to Grammarly by chaosist on Wednesday September 18, 2024 @03:34PM (#41584459)
I use to say please/thank you to gpt4 in 2023 all the time but it was because I was completely anthropomorphizing the model in various ways.

I suspect it would be just as easy to write a paper that saying please has absolutely no effect on the output. I feel like gpt4 is/was stochastically better on some days and at some hours than others. That might even be wrong though too. The idea that it is provable that "please" has a positive effect on the output is most likely a ridiculous idea.

Re:Scramble: Open-Source Alternative to Grammarly by dotancohen on Wednesday September 18, 2024 @02:14AM (#41576363)
The MIT licensed code is a wrapper for the OpenAI API. That OpenAI API provides the core functionality, and it is not open source.
Re:Scramble: Open-Source Alternative to Grammarly by latexr on Wednesday September 18, 2024 @05:14AM (#41577550)
Because it’s a wrapper on a closed-source system.

Imagine writing a shell script that cuts and converts video by calling ffmpeg, would you say it was “a video converter written in bash”? No, the important part would not be in bash, that’s just the thin wrapper used to call the tool and could be in any language. Meaning it would be useless to anyone who e.g. worked on a constrained system where they are not allowed to install any binaries.

Same thing here. If you only run open-source software for privacy reasons, sending all your program data to some closed server you don’t control doesn’t address your issue. There’s no meaningful difference between making an open-source plugin that calls an OpenAI API and one that calls a Grammarly API.

Re:Scramble: Open-Source Alternative to Grammarly by guappa on Wednesday September 18, 2024 @05:31AM (#41577645)
I've seen posts of "js interpreter written in 1 line" that was just a script calling node…
Re:Scramble: Open-Source Alternative to Grammarly by latexr on Wednesday September 18, 2024 @05:51AM (#41577751)
Were those being serious? That sounds like it could’ve been a joke/commentary.

Then again, there are people who genuinely believe they could trivially rewrite curl.

https://daniel.haxx.se/blog/2021/05/20/i-could-rewrite-curl/

Re:Scramble: Open-Source Alternative to Grammarly by guappa on Thursday September 19, 2024 @05:50AM (#41590183)
Yes I think they were serious, and they used eval() or whatever.
Re:Scramble: Open-Source Alternative to Grammarly by xdennis on Wednesday September 18, 2024 @05:29AM (#41577637)
The entire codebase is one call to `api.openai.com`.

If I sold you an electrical generator, but the way it worked was by plugging it in, would you say it's fair to say it's a generator?

Re:Scramble: Open-Source Alternative to Grammarly by insane_dreamer on Wednesday September 18, 2024 @10:43AM (#41580314)
Disagree. The fact that it can call another closed-source service doesn't mean that this tool itself is not open source.
Re:Scramble: Open-Source Alternative to Grammarly by Alex4386 on Wednesday September 18, 2024 @01:48AM (#41576202)
People really should stop calling a glorified openAI API as an open-source software.
Re:Scramble: Open-Source Alternative to Grammarly by 42lux on Wednesday September 18, 2024 @03:48AM (#41576947)
Companies should really stop calling a glorified openAI API call as a commercial product? You draw the line for an oss dev that provides a interface for the API that is close to the commercial product has more options for personalizing these API calls which in the end will cost a minuscule amount of the commercial product and people ask why a lot of devs don't bother anymore.
Re:Scramble: Open-Source Alternative to Grammarly by jillesvangurp on Wednesday September 18, 2024 @02:07AM (#41576312)
There are several free alternatives to OpenAI that use the same API; which would make it possible to substitute OpenAI for one of those models in this extension. At least on paper. There is an open issue on the github repository requesting something like that.

So, it's not as clear cut. The general approach of using LLMs for this is not a bad one; LLMs are pretty good at this stuff.

Re:Scramble: Open-Source Alternative to Grammarly by dotancohen on Wednesday September 18, 2024 @02:11AM (#41576341)
Yes, but the API at the end is providing the core functionality. Simply swapping out one LLM model for another - let alone by a different company altogether - will completely change the effectiveness and usefulness of the application.
Re:Scramble: Open-Source Alternative to Grammarly by JCharante on Wednesday September 18, 2024 @03:00AM (#41576650)
everyone stands on the shoulders of giants.
Re:Scramble: Open-Source Alternative to Grammarly by sham1 on Wednesday September 18, 2024 @03:10AM (#41576719)
Things standing on the shoulders of proprietary giants shouldn't claim to be free software/open source.
Re:Scramble: Open-Source Alternative to Grammarly by t-writescode on Wednesday September 18, 2024 @03:35AM (#41576868)
Their interfacing software __is__ open source; and, they're asking for your OpenAI api key to operate. I would expect / desire open source code if I were to use that, so I could be sure my api key was only being used for my work, so it's only my work that I'm paying for and it's not been stolen in some way.
Re:Scramble: Open-Source Alternative to Grammarly by noduerme on Wednesday September 18, 2024 @03:36AM (#41576877)
My older brother who got me into coding learned to code in Assembly. He doesn't really consider most of my work writing in high level languages to be "coding". So maybe there's something here. But if I had to get into the underlying structure, I could. I do wonder whether the same can be said for people who just kludge together a bunch of APIs that produce magical result sets.
Re:Scramble: Open-Source Alternative to Grammarly by dotancohen on Wednesday September 18, 2024 @04:26AM (#41577229)

  > But if I had to get into the underlying structure, I could.
How do you propose to get into the underlying structure of the OpenAPI API? Breach their network and steal their code and models? I don't understand what you're arguing.
Re:Scramble: Open-Source Alternative to Grammarly by latexr on Wednesday September 18, 2024 @04:59AM (#41577454)
> How do you propose to get into the underlying structure of the OpenAPI API?

The fact that you can’t is the point of the comment. You could get into the underlying structure of other things, like the C interpreter of a scripting language.

Re:Scramble: Open-Source Alternative to Grammarly by robertlagrant on Wednesday September 18, 2024 @11:17AM (#41580826)
But what about the microcode inside the CPU?
Re:Scramble: Open-Source Alternative to Grammarly by zja on Wednesday September 18, 2024 @12:48PM (#41582253)
That tends to not be open source, and people don’t claim that it is.
Re:Scramble: Open-Source Alternative to Grammarly by K0balt on Wednesday September 18, 2024 @06:01AM (#41577823)
I think the relevant analogy here would be to run a local model. There are several tools to easily run local models for a local API. I run a 70b finetune with some tool use locally on our farm, and it is accessible to all users as a local openAI alternative. For most applications it is adequate and data stays on the campus area network.
Re:Scramble: Open-Source Alternative to Grammarly by noduerme on Thursday September 19, 2024 @03:57AM (#41589565)
A more accurate analogy would be, are you capable of finding and correcting errors in the model at the neural level if necessary? Do you have an accurate mental picture of how it performs its tasks, in a way that allows you to predictably control its output, if not actually modify it? If not, you're mostly smashing very expensive matchbox cars together, rather than doing anything resembling programming.
Re:Scramble: Open-Source Alternative to Grammarly by K0balt on Thursday September 19, 2024 @09:12PM (#41597889)
As an ancient imbedded system programmer, I feel your frustration… but I think that it’s misguided. LLMs are not “computers”. They are a statistics driven tool for navigating human written (and graphical) culture.

It just so happens to be that a lot of useful stuff is in that box, and LLMs are handy at bringing it out in context. Getting them to “think” is tricky, and it’s best to remember that what you are really doing is trying to get them to talk as if they were thinking.

It sure as heck isn’t programming lol.

Also, it’s useful to keep in mind that “hallucinations “ are not malfunctions. If you were to change parameters to eliminate hallucinations, you would lose the majority of the unusual usefulness of the tool, its ability to synthesise and recombine ideas in statistically plausible (but otherwise random) ways. It’s almost like imagination. People imagine goofy shit all the time too.

At any rate, using agentic scripting you can get it to follow a kind of plan, and it can get pretty close to an actual “train of thought”facsimile for some kinds of tasks.

There are some really solid use cases, actually, but I’d say mostly they aren’t the ones trying to get LLMs to replace higher level tasks. They are actually really good at doing rote menial things. The best LLMs apps are going to be the boring ones.

Re:Scramble: Open-Source Alternative to Grammarly by seadan83 on Wednesday September 18, 2024 @09:17AM (#41579357)
I think the argument is that stitching things together at a high level is not really coding. A bit of a no true scotsmen perspective. The example is that anything more abstract than assembly is not even true coding, let alone creating a wrapper layer around an LLM
Re:Scramble: Open-Source Alternative to Grammarly by Tepix on Wednesday September 18, 2024 @07:24AM (#41578343)
Well, as we see with AI applications like "Leo AI" and "Continue", using a locally run LLM can be fantastic replacements for proprietary offerings.
Re:Scramble: Open-Source Alternative to Grammarly by dartos on Wednesday September 18, 2024 @09:04AM (#41579232)
FWIW I’ve found local models to be essentially useless for coding tasks.
Re:Scramble: Open-Source Alternative to Grammarly by Tepix on Wednesday September 18, 2024 @11:06AM (#41580651)
Really? Maybe your models are too small?
Re:Scramble: Open-Source Alternative to Grammarly by spmurrayzzz on Wednesday September 18, 2024 @12:22PM (#41581914)
The premier open weight models don't even comparatively perform well on the public benchmarks compared to frontier models. And that's assuming at least some degree of benchmark contamination for the open weight models.

While I don't think they're completely useless (though its close), calling them fantastic replacements feels like an egregious overstatement of their value.

EDIT: Also wanted to note that I think this becomes as much an expectations-setting exercise as it is evaluation on raw programming performance. Some people are incredibly impressed by the ability to assist in building simple web apps, others not so much. Experience will vary across that continuum.

Re:Scramble: Open-Source Alternative to Grammarly by dartos on Wednesday September 18, 2024 @11:56PM (#41588340)
Yeah, in my comparing deepseek coder 2 lite (the best coding model I can find that’ll run on my 4090) to Claud sonnet under aider…

Deep seek lite was essentially useless. Too slow and too low quality edits.

I’ve been programming for about 17 years, so the things I want aider to do are a little more specific than building simple web apps. Larger models are just better at it.

I can run the full deepseek coder model on some cloud and probably get very acceptable results, but then it’s no longer local.

Re:Scramble: Open-Source Alternative to Grammarly by websap on Wednesday September 18, 2024 @12:57PM (#41582396)
Woah woah! Those are fighting words. /s
Re:Scramble: Open-Source Alternative to Grammarly by dartos on Wednesday September 18, 2024 @09:05AM (#41579245)
One would hope, that since the problem these models are trying to solve is language modeling, they would eventually converge around similar capabilities
Re:Scramble: Open-Source Alternative to Grammarly by guappa on Wednesday September 18, 2024 @05:28AM (#41577635)
This stuff is starting to enter debian as well -_-'
Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Wednesday September 18, 2024 @08:56AM (#41579144)
Plan is to add local LLM support so goal is fully OSS, agree initial wording could have been better.
Re:Scramble: Open-Source Alternative to Grammarly by conradklnspl on Wednesday September 18, 2024 @01:54AM (#41576235)
How does this compare to https://languagetool.org, which is also open source?

I'm not sure what kind of AI Languagetool uses but it works really well!

Re:Scramble: Open-Source Alternative to Grammarly by patrakov on Wednesday September 18, 2024 @04:21AM (#41577194)
LanguageTool is not open source; it is open core. There are proprietary "premium rules," and you won't get them in a self-hosted version.
Re:Scramble: Open-Source Alternative to Grammarly by conradklnspl on Wednesday September 18, 2024 @04:37AM (#41577303)
They use the LGPL license for a lot of their work.

https://github.com/languagetool-org/languagetool/blob/master...

Re:Scramble: Open-Source Alternative to Grammarly by dns_snek on Wednesday September 18, 2024 @06:44AM (#41578065)
Self hosted & open core seems distinctly better than an open wrapper around a black box core that's hosted by a 3rd party.
Re:Scramble: Open-Source Alternative to Grammarly by slg on Wednesday September 18, 2024 @01:56AM (#41576251)
I have been using LanguageTool[1] for years as "an open source alternative to [old school] Grammarly". It doesn't do that fancy "make this text more professional" AI stuff like this or Grammarly can now do, but they offer a self-hosted version so you don't need to send everything you write to OpenAI. If all you want is a better spelling/grammar checker, I highly recommend it.

[1] - https://github.com/languagetool-org/languagetool

Re:Scramble: Open-Source Alternative to Grammarly by shahzaibmushtaq on Wednesday September 18, 2024 @04:12AM (#41577127)
How come I have never heard of languagetool before or maybe I have never looked beyond Grammerly. Thank You!
Re:Scramble: Open-Source Alternative to Grammarly by weinzierl on Wednesday September 18, 2024 @02:16AM (#41576375)
It's great. I had a subscription for Grammarly for a couple of years and used both tools in parallel, but found myself mostly using languagetool increasingly. It is strictly better, I'd say even for English but certainly if you need other languages or deal with multilingual documents. So I canceled Grammarly and didn't miss it since.

You also can self-host and we do that at my workplace, because we deal with sensitive documents.

Re:Scramble: Open-Source Alternative to Grammarly by isaacfrond on Wednesday September 18, 2024 @02:57AM (#41576632)
And you can write your own custom rules. It's great as a reward for spotting an error in your writing you get to write a tiny little bit of code to spot it automatically next time. I've collected hundreds.
Re:Scramble: Open-Source Alternative to Grammarly by divan on Wednesday September 18, 2024 @04:02AM (#41577047)
Is there a way to add and use niche custom terminology?
Re:Scramble: Open-Source Alternative to Grammarly by herrherrmann on Wednesday September 18, 2024 @05:37AM (#41577682)
You can add your own words to your account, if that’s what you mean!
Re:Scramble: Open-Source Alternative to Grammarly by isaacfrond on Wednesday September 18, 2024 @07:38AM (#41578452)
I've turned off the spell checker. Spell checking is done just fine in Word so I don't need it there.
Re:Scramble: Open-Source Alternative to Grammarly by Semaphor on Wednesday September 18, 2024 @05:03AM (#41577482)
This explains why I was confused by this. I moved to LT many, many years ago, and didn’t know about those new Grammarly features. So I really wasn’t clear how rewriting a specific text had anything to do with Grammarly.
Re:Scramble: Open-Source Alternative to Grammarly by dewey on Wednesday September 18, 2024 @05:06AM (#41577508)
Same, it integrates in all input fields too and has all the browser extensions you need. Non-GitHub landing page: https://languagetool.org
Re:Scramble: Open-Source Alternative to Grammarly by ktosobcy on Wednesday September 18, 2024 @05:21AM (#41577588)
This! And what's more - it doesn't funnel all what I type to OpenAI so I'd say it's more FOSS than this extension…
Re:Scramble: Open-Source Alternative to Grammarly by dspillett on Wednesday September 18, 2024 @06:18AM (#41577927)
And if you are in a regulatory environment (or elsewhere where data exfiltration paranoia is part of your daily work life), you can install your own instance of the service (sans premium features) and not send your text anywhere outside infrastructure you control.
Re:Scramble: Open-Source Alternative to Grammarly by herrherrmann on Wednesday September 18, 2024 @05:39AM (#41577689)
Absolutely plus one on this. LanguageTool is great and I’m also very happy on the free tier. With the app installed on macOS it also checks mails in the Apple Mail app, for example.
Re:Scramble: Open-Source Alternative to Grammarly by milansuk on Wednesday September 18, 2024 @05:50AM (#41577749)
> It doesn't do that fancy "make this text more professional"

I looked into the Scramble code[0] and it seems there are few pre-defined prompts(const DEFAULT_PROMPTS).

[0] https://github.com/zlwaterfield/scramble/blob/main/backgroun...

Re:Scramble: Open-Source Alternative to Grammarly by dspillett on Wednesday September 18, 2024 @06:16AM (#41577911)
You can also run your own local instance for the in-browser checking, which is handy for me as I need to be careful about sending text off to another company in another country (due to both client security requirements and personal paranoia!).

You don't get the AI based extras like paraphrasing, and the other bits listed in as premium only (https://languagetool.org/premium_new), but if you install the n-gram DB for your language (https://languagetool.org/download/ngram-data/) I found it at least as good as, for some examples better than, Grammarly's free offering last time I did a comparison.

Re:Scramble: Open-Source Alternative to Grammarly by dontdieych on Wednesday September 18, 2024 @08:26AM (#41578865)
I've downloaded 'ngrams-en-20150817'. Please drop link that can teach me how to apply ngrams file.

Thanks.

Re:Scramble: Open-Source Alternative to Grammarly by dspillett on Wednesday September 18, 2024 @11:25AM (#41580935)
I dropped the wrong link in the original post. The instructions for use are at https://dev.languagetool.org/finding-errors-using-n-gram-dat...
Re:Scramble: Open-Source Alternative to Grammarly by dontdieych on Thursday September 19, 2024 @12:47AM (#41588595)
Thank you! Got it.
Re:Scramble: Open-Source Alternative to Grammarly by dspillett on Wednesday September 18, 2024 @11:24AM (#41580920)
Replying to self as I'm too late to edit: I left the wrong link for ngram info, the download location instead of the instructions for use which are at https://dev.languagetool.org/finding-errors-using-n-gram-dat...
Re:Scramble: Open-Source Alternative to Grammarly by lou1306 on Wednesday September 18, 2024 @07:44AM (#41578494)
For VSCode users who want to try out LanguageTool, I cannot recommend the LTeX extension [1] highly enough. Setting up a self-hosted configuration is really easy and it integrates very neatly with the editor. It was originally built for LaTeX but also supports Markdown now.

[1]: https://github.com/valentjn/vscode-ltex

Re:Scramble: Open-Source Alternative to Grammarly by heinrichf on Wednesday September 18, 2024 @08:58AM (#41579168)
There is also an alternative more lightweight self-hosted server in Rust, compatible with the official clients: https://github.com/cpg314/ltapiserv-rs
Re:Scramble: Open-Source Alternative to Grammarly by remoquete on Wednesday September 18, 2024 @02:23AM (#41576415)
In the same space, I recommend checking out the Vale linter. Fairly powerful and open source, too. And doesn't rely on a backend.

https://vale.sh

Re:Scramble: Open-Source Alternative to Grammarly by loughnane on Wednesday September 18, 2024 @08:15AM (#41578775)
I love vale. I’ve been using it for years. I branched rules from someone trying to emulate the economist style guide and kept tweaking.

I like this approach so much better than leaning on AI because it’s more my “voice”.

https://github.com/loughnane/style

Re:Scramble: Open-Source Alternative to Grammarly by 037 on Wednesday September 18, 2024 @02:31AM (#41576463)
An alternative from the developer of Coolify. It’s no longer for sale, but the page mentions he’ll open-source it:

https://safetyper.com/

Re:Scramble: Open-Source Alternative to Grammarly by reify on Wednesday September 18, 2024 @02:31AM (#41576464)
I also use LanguageTool

easy to install in LibreOffice

Re:Scramble: Open-Source Alternative to Grammarly by isaacfrond on Wednesday September 18, 2024 @02:58AM (#41576641)
Nowadays I just load the whole thing in to chatgpt and it checks the whole thing better than I ever could. You got to be clear what you want do in the prompt. Don't change my writing! only correct errors.
Re:Scramble: Open-Source Alternative to Grammarly by nucleartux on Wednesday September 18, 2024 @02:59AM (#41576648)
I made the same thing, but it works without ChatGPT key: https://github.com/nucleartux/ai-grammar/
Re:Scramble: Open-Source Alternative to Grammarly by creesch on Wednesday September 18, 2024 @06:08AM (#41577864)
That looks pretty neat, how well does the gemini nano model work for this? Is it just picking up spelling errors or also looking things like punctuation?
Re:Scramble: Open-Source Alternative to Grammarly by nucleartux on Wednesday September 18, 2024 @06:25AM (#41577961)
It actually works pretty well. It fixes all grammar mistakes and punctuation and changes words if they don’t fit. The only downside is that, because it’s a very small model, it sometimes produces completely nonsensical or incomplete responses. I haven’t figured out how to fix this yet.

You can have a look at the screenshots in the repository or on the store page.

Re:Scramble: Open-Source Alternative to Grammarly by Tepix on Wednesday September 18, 2024 @07:29AM (#41578377)
Nice. Can you please add support for contacting your own private OpenAI compatible server (like ollama)?
Re:Scramble: Open-Source Alternative to Grammarly by nucleartux on Wednesday September 18, 2024 @07:34AM (#41578423)
Yes, it's on my roadmap!
Re:Scramble: Open-Source Alternative to Grammarly by bartread on Wednesday September 18, 2024 @03:01AM (#41576658)
> It's designed to be a more customizable and privacy-respecting alternative to Grammarly.

Kind of a shame it says it’s specifically for Chrome then. Where’s the love for Firefox?

Re:Scramble: Open-Source Alternative to Grammarly by daef on Wednesday September 18, 2024 @04:55AM (#41577429)
upping this - I won't install chrome :)
Re:Scramble: Open-Source Alternative to Grammarly by shahzaibmushtaq on Wednesday September 18, 2024 @03:57AM (#41577015)
Grammarly was here before the AI boom, so Grammarly isn't just dependent on AI, but also heavily on HI.
Re:Scramble: Open-Source Alternative to Grammarly by nik736 on Wednesday September 18, 2024 @04:03AM (#41577060)
How is it more privacy respecting when it's sending stuff to OpenAI servers?
Re:Scramble: Open-Source Alternative to Grammarly by lccerina on Wednesday September 18, 2024 @04:15AM (#41577150)
It uses OpenAI, so it's not open source. Keep this shit away from me.
Re:Scramble: Open-Source Alternative to Grammarly by Festro on Wednesday September 18, 2024 @04:37AM (#41577298)
So it doesn't provide realtime feedback on your writing within a dialog box like Grammarly does? It's just a (non-open source) OpenAI set of pre-written prompts?

Come on.

Pitch this honestly. It'll save me clicks if I'm using an LLM to checker grammar already, but if I use Grammarly it's not an alternative at all. Not by a long way.

Re:Scramble: Open-Source Alternative to Grammarly by ichik on Wednesday September 18, 2024 @04:42AM (#41577343)
For me the huge part of Grammarly's magic is that it's not just in the browser, but in any text input on desktop with their desktop app (with some exceptions). Having it only in only in one application just doesn't cut it, especially since it's not my browser of choice. Are there any plans regarding desktop integration. Linux is woefully underserved in this space with all major offerings (Grammarly, Languagetool) having only macOS/Windows versions.
Re:Scramble: Open-Source Alternative to Grammarly by bukacdan on Wednesday September 18, 2024 @07:38AM (#41578455)
I have developed a system-wide writing assistant like you're describing. By design, it has no exceptions to where it works.

Currently, it's only for Mac, but I'm working on an Electron version too (though it's quite challenging).

Check out https://steerapp.ai/

Re:Scramble: Open-Source Alternative to Grammarly by ichik on Wednesday September 18, 2024 @12:05PM (#41581642)
Is the Electron version supposed to be available on Linux? I see only mentions of Windows on the website.
Re:Scramble: Open-Source Alternative to Grammarly by HL33tibCe7 on Wednesday September 18, 2024 @05:27AM (#41577632)
This is exactly as open source as a Chrome extension wrapping Grammarly’s API would be, i.e. not at all.
Re:Scramble: Open-Source Alternative to Grammarly by gaiagraphia on Wednesday September 18, 2024 @06:34AM (#41577994)
>Important: This extension requires an OpenAI API key to function. You need to provide your own API key in the extension settings. Please visit OpenAI to obtain an API key.

Obviously not important enough to put in the title, or a submission statement here, though. Curious.

Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Wednesday September 18, 2024 @07:08AM (#41578218)
Honestly just an oversight. I want to remove that dependancy anyways with an open source model.
Re:Scramble: Open-Source Alternative to Grammarly by janandonly on Wednesday September 18, 2024 @07:03AM (#41578181)
I am currently paying for LaguageTool but I will definitely give this open source software a try !
Re:Scramble: Open-Source Alternative to Grammarly by miguelaeh on Wednesday September 18, 2024 @07:13AM (#41578242)
I am a Grammarly user and I just installed Scramble to try it out. However, it does not seem to work. When I click on any of the options, nothing happens. I use Ubuntu 22.04.

Also, to provide some feedback, it would be awesome to make it automatically appear on the text areas and highlight errors like Grammarly does, it creates a much better UX.

Re:Scramble: Open-Source Alternative to Grammarly by zlwaterfield on Wednesday September 18, 2024 @07:18AM (#41578279)
Agree - I want to improve the UX, this was just a quick attempt at it. Thanks for the feedback!
Re:Scramble: Open-Source Alternative to Grammarly by miguelaeh on Wednesday September 18, 2024 @07:22AM (#41578334)
You're welcome! Let me know if you plan to integrate local models as mentioned in other comments, I am working on something to make it transparent.
Re:Scramble: Open-Source Alternative to Grammarly by lvl155 on Wednesday September 18, 2024 @08:39AM (#41578976)
I am building something similar to Grammarly as a personal project but quickly realized how hard it is to get data in 2024. Contemplating whether I should just resort to pirated data which is just sad.
Re:Scramble: Open-Source Alternative to Grammarly by closetkantian on Wednesday September 18, 2024 @09:01AM (#41579196)
To be fair, OpenAI used pirated data
Re:Scramble: Open-Source Alternative to Grammarly by highcountess on Wednesday September 18, 2024 @09:12AM (#41579301)
I’m just going to remind everyone that all these LLMs were also trained on not just pirated, but all out stolen data in organized and resourced assaults on proprietary information/data, not even to mention roughshod ignoring any and all licenses.
Re:Scramble: Open-Source Alternative to Grammarly by Technetium on Wednesday September 18, 2024 @09:11AM (#41579289)
They proclaim "privacy-respecting" but all your keystrokes go to OpenAI. Horrific and genuinely upsetting.

Edit: The author replied to another comment that there is an intent to add local AI. If that is the plan, then fix the wording until it can actually be considered privacy-respecting: https://news.ycombinator.com/item?id=41579144

Re:Scramble: Open-Source Alternative to Grammarly by charlie0 on Wednesday September 18, 2024 @10:14AM (#41579989)
Lol, this was my second thought immediately after my first, which was one of excitement. Hope the author does add a option for local. Wonder how that would work as a Chrome extension. Doesn't seem like a good idea for extensions to be accessing local resources though.
Re:Scramble: Open-Source Alternative to Grammarly by mdaniel on Wednesday September 18, 2024 @12:02PM (#41581582)
> Doesn't seem like a good idea for extensions to be accessing local resources though.

To the best of my knowledge all localhost connections are exempt from CORS and that's in fact how the 1Password extension communicates with the desktop app. I'd bet Bitwarden and KeePassXC behave similarly

Re:Scramble: Open-Source Alternative to Grammarly by fph on Wednesday September 18, 2024 @06:08PM (#41586091)
You can self-host Languagetool and use it as a Chrome/Firefox extension. The extension talks to a Languagetool server via HTTP, and takes its address as a configurable option. So you just run the local server, and pass localhost:8080 as the server address.
Re:Scramble: Open-Source Alternative to Grammarly by sharemywin on Wednesday September 18, 2024 @09:46AM (#41579684)
settings for opting out of training etc. for OpenAI

https://help.openai.com/en/articles/7730893-data-controls-fa...

Re:Scramble: Open-Source Alternative to Grammarly by lawlessone on Wednesday September 18, 2024 @09:59AM (#41579828)
Be surprised if thats honored
Re:Scramble: Open-Source Alternative to Grammarly by segmondy on Wednesday September 18, 2024 @09:37AM (#41579557)
much ado about nothing, the code is there, edit it and use a local AI.
Re:Scramble: Open-Source Alternative to Grammarly by contagiousflow on Wednesday September 18, 2024 @09:42AM (#41579628)
But the code as give is said to respect privacy.
Re:Scramble: Open-Source Alternative to Grammarly by Eisenstein on Wednesday September 18, 2024 @01:18PM (#41582719)
Download koboldcpp and llama3.1 gguf weights, use it with the llama3 completions adapter.

Edit the 'background.js' file in the extension and replace the openAI endpoint with

'http://your.local.ip.addr:5001/v1/chat/completions'

Set anything you want as an API key. Now you have a truly local version.

* https://github.com/LostRuins/koboldcpp/releases

* https://huggingface.co/bartowski/Meta-Llama-3.1-8B-Instruct-...

* https://github.com/LostRuins/koboldcpp/blob/concedo/kcpp_ada...

Re:Scramble: Open-Source Alternative to Grammarly by ziddoap on Wednesday September 18, 2024 @10:12AM (#41579969)
Privacy.md needs to be updated.

>If you have any questions about this privacy policy, please contact us at [your contact information].

Re:Scramble: Open-Source Alternative to Grammarly by chilipepperhott on Wednesday September 18, 2024 @10:41AM (#41580290)
While Scramble doesn't seem to respect your privacy, a project I've been working on does.

Meet Harper https://github.com/elijah-potter/harper

Re:Scramble: Open-Source Alternative to Grammarly by singhrac on Wednesday September 18, 2024 @03:48PM (#41584614)
I think Harper is very cool, and you should sell it better. It's a local-only low latency & static (no Python) LanguageTool alternative. It doesn't use a large language model.
Re:Scramble: Open-Source Alternative to Grammarly by aDyslecticCrow on Wednesday September 18, 2024 @10:43AM (#41580323)
Grammarly is a lifesaver for my day-to-day writing. All it does is correct spelling and punctuation or give rephrase suggestions. But Grammarly does it so unreasonably well that nothing else compares.

Grammarly's core functionality is not even LLM-based; it's older than that. Recently, they've crammed in some LLM features that I don't care a snoot about compared to its core functionality.

This tool, like any other "Grammarly alternative," is just another GPT wrapper to rewrite my text in an overly verbose and soulless way. I was hoping for a halfway-decent spelling corrector.

Re:Scramble: Open-Source Alternative to Grammarly by funshed on Wednesday September 18, 2024 @12:02PM (#41581598)
Absolutely! Being dyslexic, Grammarly is much more than the AI tool that was recently added, which is great, too.
Re:Scramble: Open-Source Alternative to Grammarly by the_arun on Wednesday September 18, 2024 @11:02AM (#41580607)
Do we need OpenAI for this? Can’t we have an LLM sitting locally work?
Re:Scramble: Open-Source Alternative to Grammarly by grayxu on Wednesday September 18, 2024 @11:09AM (#41580692)
One strong point of Grammarly comes from its friendly display of diffs (which is somewhat similar to what Cursor does). This project simply uses some predefined prompts to generate text and then replaces it. There are countless plugins that can achieve this, such as the OpenAI translator.

If this tool really wants to compete with Grammarly.

Re:Scramble: Open-Source Alternative to Grammarly by mproud on Wednesday September 18, 2024 @07:27PM (#41586739)
F*ck Grammarly.
Re:Scramble: Open-Source Alternative to Grammarly by kirso on Thursday September 19, 2024 @03:13PM (#41595288)
Is there something like that for VSCode?
Re:Scramble: Open-Source Alternative to Grammarly by ully on Tuesday October 01, 2024 @05:33AM (#41706312)
I installed the extensio on vivaldi and added an openAI api key, which registered as "saved". But when I click on the extension it still says "API key not set. Please set it in the options."

Can anyone help