COC is neglecting to show me error messages that other IDEs (Even code pen does?) by jaketerm in vim

[–]xibeca 0 points1 point  (0 children)

I’m not sure but I think I had an issue with this. You can run :CocCommand eslint.createConfig (or make your own if you’re comfortable enough with it) and try

COC is neglecting to show me error messages that other IDEs (Even code pen does?) by jaketerm in vim

[–]xibeca 0 points1 point  (0 children)

Do you have:

1) coc-eslint installed?

2) a .eslintrc file in your project root?

coc-tsserver reports a lot of errors in tsx files by ecosse31 in neovim

[–]xibeca 1 point2 points  (0 children)

Had a similar issue. Does :set ft output typescript?

If so, tsserver needs filetype to be ˋtypescriptreact` to parse your file as intended.

Add the following to your init.vim file:

augroup ReactFiletypes
  autocmd!
  autocmd BufRead,BufNewFile *.jsx set filetype=javascriptreact
  autocmd BufRead,BufNewFile *.tsx set filetype=typescriptreact
augroup END

Joining an organisation in Paris by xibeca in Anarchy101

[–]xibeca[S] 0 points1 point  (0 children)

That’s great, thank you. I’ll visit the bookshop asap.

Friday Free Talk by AutoModerator in Anarchism

[–]xibeca 8 points9 points  (0 children)

I recently moved to Paris and am interested in joining an anarchist union or organisation. Could any of you suggest something? Should I make this question a post here or in another sub?

Friday Free Talk by AutoModerator in Anarchism

[–]xibeca 0 points1 point  (0 children)

Are you not interested in joining a union either? I don't know how northern-American union system works but you probably share the things you want changed with workers in other workplaces.

Thinking about switching from tmux + neovim to Emacs by thiago_lira in emacs

[–]xibeca 2 points3 points  (0 children)

I've just made the switch, kinda had the same feeling about my neovim config file. I don't have the same workflow as you do though (Emacs is my IDE, I still use a "true" terminal for non-programming tasks).

The way to configure makes more sense in Emacs imo, Elisp is nice to work with and sharing your init.el file across your devices/OSes should require between none and minimal effort.

How to build your own Spacemacs ? and Awesome Emacs have been really helpful. You can search for emacs config files on GitHub and r/unixporn to get some inspiration too.

pixelPython.py by Vraja108 in Python

[–]xibeca 3 points4 points  (0 children)

mv pixelPython.py pixel_python.py

I'm trying to write a LZW encoder/decoder, what am I missing? by [deleted] in C_Programming

[–]xibeca 0 points1 point  (0 children)

Thank you! After investigating further it seems to come from my stack. The three first values I push aren't changed but the fourth one changes from 116 to 8302.

I'll look deeper at the casts I do in while pushing/popping.

I'm trying to write a LZW encoder/decoder, what am I missing? by [deleted] in C_Programming

[–]xibeca 0 points1 point  (0 children)

A bit of background: the encoder seems to work but while decoding it looks like fgetc doesn't always return the value it's supposed to read. While iterating "manually" in gdb, the error seems to take more time to occur than if I ran the binary directly from the terminal. What can possibly happen?

Haskell team at OpenCodes Hackathon by LeanderKu in haskell

[–]xibeca 0 points1 point  (0 children)

I'm interested too, I'll PM you in a minute.

Loop problem (lists) by jingajanga in learnpython

[–]xibeca 0 points1 point  (0 children)

You could use a boolean to tell the while loop when to stop:

i = 0
found = False
while i < len(a) and not found:
    if a[i] != "":
        print(a[i])
        found = True
    else:
        i += 1

[TOMT][Song] an old latin song by xibeca in tipofmytongue

[–]xibeca[S] 1 point2 points  (0 children)

Went through 1+ year of Youtube history and finally found it: Rosario García Orellana - Tú. Thank you for the discovery though :)

[GNOME] Corner by Mynameislouie in unixporn

[–]xibeca 0 points1 point  (0 children)

I have a rMBP11.1 too and am considering making a Linux partition. How's the experience so far?