Search found 1144 matches

by lgromanowski
30 May 2017, 09:39
Forum: Infrastructure
Topic: 27-28 May: Forum update
Replies: 49
Views: 28390

Re: 27-28 May: Forum update

I've noticed this too - it's a first thing on the "after-update fixes" list :)
by lgromanowski
29 May 2017, 17:35
Forum: Infrastructure
Topic: 27-28 May: Forum update
Replies: 49
Views: 28390

Re: 27-28 May: Forum update

OK, thanks for the suggestions - I'll update theme in the next few days.
by lgromanowski
27 May 2017, 17:12
Forum: Infrastructure
Topic: 27-28 May: Forum update
Replies: 49
Views: 28390

Re: 27-28 May: Forum update

Ok, update has been completed. I've managed to convert OpenMW forum theme to the recent phpbb version and it seems to work quite nice (It is set as default theme as in old forum version). Please send me an info if you encounter any errors or something which is not working as it should.
by lgromanowski
18 May 2017, 07:17
Forum: Infrastructure
Topic: 27-28 May: Forum update
Replies: 49
Views: 28390

27-28 May: Forum update

Hi, I'd like to make a forum update at 27-28 May (weekend). Update will take at least one day and access to forums will be blocked for this period of time (I've tested it three times and it won't go faster unfortunately), so if anyone have good reason to not to do this at given date, please speak lo...
by lgromanowski
12 May 2017, 14:33
Forum: Off Topic
Topic: C vs C++
Replies: 72
Views: 29170

Re: C vs C++

Capostrophic wrote:
bidik wrote:Lgro?
Short for Lucasz Gromanowski.
Yeah, exactly, it's just a short :-)
by lgromanowski
12 May 2017, 10:35
Forum: Off Topic
Topic: C vs C++
Replies: 72
Views: 29170

Re: C vs C++

I thought it would be smaller, but it's not:

Code: Select all

int main() {
  return []()->int{ return 0; }();
}
$ g++ -Os ./main.cpp
$ strip -s ./a.out
$ ls -al ./a.out
-rwxr-xr-x 1 lgromanowski users 6064 05-12 11:34 ./a.out
by lgromanowski
12 May 2017, 06:03
Forum: Off Topic
Topic: C vs C++
Replies: 72
Views: 29170

Re: C vs C++

I can get it down to 6128 Bytes with g++, would love to know how others get it down further. :) #include <iostream> int main() { std::cout << "Hello World!" << std::endl; return 0; } On Windows you can reduce executable size by not using "default" stuff included in binary: http:...
by lgromanowski
08 May 2017, 20:54
Forum: Infrastructure
Topic: Forum code highlighting? (C++, Morrowind, OpenMW)
Replies: 8
Views: 5883

Re: Forum C++ code highlighting?

It might be a good idea to make the language an optional argument to the code tag, as we're likely to get snippets of languages other than C++ here, such as Morrowind scripts. Highlight.js uses autodetection for language highlighting (unfortunately MW script is not on the supported languages list),...
by lgromanowski
08 May 2017, 20:15
Forum: Infrastructure
Topic: Forum code highlighting? (C++, Morrowind, OpenMW)
Replies: 8
Views: 5883

Re: Forum C++ code highlighting?

Hi, I've just added highlight.js but it's not perfect, example: #ifndef GAME_MWCLASS_MOBILE_H #define GAME_MWCLASS_MOBILE_H #include "../mwworld/class.hpp" namespace ESM { struct GameSetting; } namespace MWClass { /// \brief Class holding functionality common to Creature and NPC class Acto...
by lgromanowski
08 May 2017, 05:50
Forum: Infrastructure
Topic: Forum code highlighting? (C++, Morrowind, OpenMW)
Replies: 8
Views: 5883

Re: Forum C++ code highlighting?

Hi,
yes, I'll try to install syntax highlighter this evening