Anonymous
Ricardo
y tiene algun plugin guapo para c?
Arriba hay un documento de Vim para C y también pasaron una url para instalarle omnicppcomplete
Anonymous
que guapo, si me mola hasta quito gedit
Ricardo
Vim es el editor que siempre uso. Incluso en algunos IDEs existe la posibilidad de integrarlo
Ricardo
En QtCreator está FakeVim; en Eclipse, eclim; y en IntelliJ IDEA, ideavim
Sarih
u have python group?
▼ Hatsune mUkko
Yo uso Notepad++ por Windows y gedit, emacs por Ubuntu. I use Notepad++ for Windows and gedit, emacs for Ubuntu.
Anonymous
Yo en todos uso Vim xD
Yo no uso windows. Directamente me he descargado mingw y compilo todo lo de Windows desde Linux xd
▼ Hatsune mUkko
Yo no uso windows. Directamente me he descargado mingw y compilo todo lo de Windows desde Linux xd
I use Windows for gaming and sometimes Im too lazy to restart my laptop
Anonymous
What games do you play?
▼ Hatsune mUkko
¯\_(ツ)_/¯
▼ Hatsune mUkko
What games do you play?
Strategy such as eu4, ck2, wc3, sc2 and then some roguelikes and other random indies
Anonymous
I use Windows for gaming and sometimes Im too lazy to restart my laptop
I hate windows and don't play games because I consider losed time. I prefer programming and learn programming languages and computing
▼ Hatsune mUkko
Strategy such as eu4, ck2, wc3, sc2 and then some roguelikes and other random indies
Europa Universalis IV Crusader Kings II Warcraft III Starcraft II
▼ Hatsune mUkko
▼ Hatsune mUkko
Anonymous
Umm chess
yeah jeje good game
▼ Hatsune mUkko
Oh I understand jeje is like hehe
Anonymous
And , @TheZeus121 you know some stategy game for Linux?
Anonymous
▼ Hatsune mUkko
▼ Hatsune mUkko
And , @TheZeus121 you know some stategy game for Linux?
And also EU4 and CK2 are available on Ubuntu through Steam, but I don't know how good they are on Ubuntu
▼ Hatsune mUkko
Kinda not ready.
It is kinda playable
Evgenii
It is kinda playable
I like AoE2 which it's based on much more
▼ Hatsune mUkko
I like AoE2 which it's based on much more
Is age of empires on Linux, I thought it was developed in affiliation with Microsoft?
Evgenii
I have windows in dual boot so I'm playing on windows generally
Evgenii
So I don't know but probably no
▼ Hatsune mUkko
I have windows in dual boot so I'm playing on windows generally
Yes but mester asked for linux games I think
Evgenii
▼ Hatsune mUkko
Well you can always use wine)
It might even work for older win games
▼ Hatsune mUkko
Oh very interesting
▼ Hatsune mUkko
It might even work for older win games
With this I meant that many new games don't run good on wine
▼ Hatsune mUkko
Hello Takasur
Evgenii
To keep it on topic. I've got strange bug recently. The program I'm writing for some reason started to segfault on start on release build. It segfaults on /include/c++/bits/locale_facets.h:877 which is return this->do_widen(__c); in char_type widen(char __c) const function. The strangest thing is that adding -g flag to compiler fixes the issue. It occures both on minGW 5.3.0 and 6.1.0 I thought to report to bug tracker, but havent reduced the bug yet.
Evgenii
someone know what that possibly can be?
Evgenii
Adds debug symbols
▼ Hatsune mUkko
▼ Hatsune mUkko
I never understand these errors where in debug it's aok but in release it doesn't work at all
Evgenii
Often it's is undefined behavior
▼ Hatsune mUkko
Often it's is undefined behavior
Oh uninitialized variables
Evgenii
Oh uninitialized variables
Not only. There is a lot of undefined behavior in standard. Or just things that happen to work until heavy optimized
Ricardo
Share the code @EvgeniyZh
Evgenii
Share the code @EvgeniyZh
I should reduce it first. I just posted in hope someone had something similar. As for now, it's 100kb project, and I don't want to share it yet
Evgenii
Oh you mean those shortcut-hacks I use?
I had a function that accessed random memory addresses instead of iterating over vector and it somehow worked in debug. I was like 😳
Ricardo
I had a function that accessed random memory addresses instead of iterating over vector and it somehow worked in debug. I was like 😳
Did you initialize the index variable? Debug mode does automatically. Release mode doesn't.
Ricardo
Or maybe you are out of the range of the vector. Debug mode puts more memory in the stack
Evgenii
▼ Hatsune mUkko
I don't remember exact details it was couple of years ago.
😂😂how do you even remember what that code does?
Evgenii
😂😂how do you even remember what that code does?
It was some homework or something. I just was shocked that accessing random address didn't segfaulted
Ricardo
Is it a raw vector or an instance of vector class?
Ricardo
If it's the second one you should use the .at() function instead the [] operator.
Ricardo
The at() function validates the index and could throw an std:: out_of_range exception
Evgenii
What I have now is just segfault on start
Evgenii
Crashes before I initialize anything
▼ Hatsune mUkko
If it's the second one you should use the .at() function instead the [] operator.
If you are feeling hacky you can use *(type *)(vector.begin + index)
Ricardo
Have you run the program using the debugger? With a breakpoint just before the point when it crashes?
senape
STALLMAN ACKBAAAR
senape
Hellou. c:
▼ Hatsune mUkko
▼ Hatsune mUkko
Hellou. c:
Hi None
▼ Hatsune mUkko
Hi Mohd
Hafiz Hilman
Hi.
Hafiz Hilman
A still novice. Looking forward with this group :)
Anonymous
A still novice. Looking forward with this group :)
Like most of us :) just learning !
▼ Hatsune mUkko
Goodbye