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

Shouldn't it be "valiant" ?


Sure, but in those days spellcheckers were separate apps - the most popular at the time being CorrectStar from MicroPro.

They weren't integrated into programming-oriented editors, and it would have been unusual to run them against code.


I still haven't seen anyone using a spellchecker in code outside of IntelliJ



Eclipse has had an integrated spell-checker, which I believe is on by default for most file types, for like approximately forever. Now maybe everybody turns it off, but I gotta imagine there are some people who like it and keep it on.


I recently found https://github.com/tekumara/typos-lsp that uses https://github.com/crate-ci/typos Plenty of GH stars so likely a solid user base. Works great in NeoVim with the built-in apellchecker.


"apellchecker" is actually a great name for a spellchecker


Codespell works very well, in my experience. I run it from the command line and in CI.

https://github.com/codespell-project/codespell


Emacs has the ability to do spellcheck inline, both as a run through the buffer (old-school style) and as an as-you-type live feature. That said, I do most of my coding in JetBrains IDEs these days.


For Vim/Neovim users, there is one built in that is pretty good, and once you've added frequent custom words to the dictionary it is great. You can turn it on with `:set spell` or off with `:set nospell`. Add custom words by pressing `zg` on the target word:

I have this in my vimrc file so it's on by default for certain file types:

    " Turn on spellcheck for certain filetypes and word completion.                                                                                                                                                                               
    " words can be added to the dict by pressing 'zg' with cursor on word.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    autocmd Filetype markdown setlocal spell                                                                                                                                                                                                      
    autocmd Filetype gitcommit setlocal spell                                                                                                                                                                                                     
    set complete+=kspell                                                                                                                                                                                                                          
                                                                                                                                                                                                                                              
    " Don't highlight in red an underscore (_) in markdown                                                                                                                                                                                        
    " https://vi.stackexchange.com/q/18471/17441                                                                                                                                                                                                  
    autocmd Filetype markdown syn match markdownIgnore "\v\w_\w"
Custom additions to the dictionary will go to a simple text file (one word per line) in `~/.vim/spell/en.utf-8.add` (depending on your settings) where it is easy to edit or backup.


> custom additions

You can also add it directly when using it. Move the cursor to the word and (I forget the command...) can add it as a rare word, good word or bad word.


Some people use VSCode extensions


The best programmers I’ve known have all been deficient at spelling. I don’t know why it so uniformly appears among them.


Absolutely not true about the best programmers I know.



Humans in general, even writers, are deficient at spelling. This is the reason we need spellcheckers.


I am far more confident at spelling any Esperanto word that I have never faced before than I am with many common word in French which is my native language.

We can do better than blaming people for falling in pitfalls of a system full of odd traps.


Of course you are; Esperanto is a manufactured language designed to a certain standard; French, like our unfortunate English, is naturally evolved and has all the variants and inconsistencies that implies.


ClickUp already has this integrated natively. Such a lifesaver!


M1 MacBook Pro is sufficient for a Qwen model.


with how much ram though?


For Qwen-32B, 32Gb should be quite sufficient to run it at 4-bit quantization with full context.


Thanks, I need to figure out something to run on M4 Mac Mini standard 16G


You should be looking at 7-8b sized models, then. https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct is considered pretty strong for its size. That said, you shouldn't expect more than glorified autocompletion at that point.


I'm not familiar with the practical memory requirements on Macs but I suspect that with 16gb of integrated ram you won't have issues running 14B models even at q6_k, certainly would be fine at q4 and it's definitely going to be capable of writing code based on instruction as well as minor refactoring, generating docstrings etc.


The model itself will fit just fine, of course, but you'll also want a large context for coding. And then since it's integrated RAM, it's also used by everything else running on your system - like, say, your IDE, your compiler etc, which are all fairly memory hungry.

Also keep in mind that, even though it's "unified memory", the OS enforces a certain quota for the GPU. If I remember correctly, it's something like 2/3 of the overall RAM.


Would love to know more how you go about it.


It's a little hacky but I'll try to explain:

* The server runs in a docker container which has an ssh server installed and running in the background. The reason for SSH is simply because that's what edeliver/distillery uses.

* The CI(local github runner) runs in a docker container as well which handles building and deploying the updated releases when merged on master.

* We use edeliver to deploy the hot upgrades/releases from the CI container to the server container. This happens automatically unless stopped which we do for larger merges where a restart is needed.

* The whole deployment process is done in a bash script which uses the git hash for versioning, edeliver for deploying and in the end it runs the database migrations.

I'm not going to say it's perfect but it's allowed us to move pretty damn fast.


I always remind myself that even the celebrated works supposedly have glaring holes in them. If they can get popular and be cherished, then my work too doesn't have to be "water-tight" at all times.


Just think about the human batteries in the matrix movie. Anyone who heard that thought the machines were using human brains as biocomputers, but no, they actually insist on the battery explanation.


The original article on Bloomberg with the same title - https://www.bloomberg.com/news/articles/2019-06-28/boeing-s-...


>>> don’t think there is a BEAM compiler backend yet

I think there's something close - https://caramel.run/manual/


The project has been abandonned : https://github.com/leostera/caramel/discussions/102


Hey I star projects just as a way of bookmarking them..


>>> spent 8 hours flicking through Instagram and TikTok, binge watching TV, and ordering food for delivery.

That's surfing / grazing.


Or someone could read it as the Ericsson management not really understanding the capabilities of their own internal tools, and must've read something up on Java or .NET in an HBR article.


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

Search: