Gleb Mazovetskiy

Results 344 comments of Gleb Mazovetskiy

@hmzlam The code you've linked won't work correctly for Markdown if `$$` is inside a code block (~~~). It also won't work correctly for HTML if `$$` is inside `pre`,...

> This is because some databases don't let you order results by a specific order of a column (in this case, ID). To receive a specific ordering from the database...

You can build just the Makefile if you pass `NXDK_ONLY=1`. Useful to build NXDK only, e.g. when the project itself uses CMake instead of make

Yeah I agree, will fix this on DevilutionX side (same for sys/types.h) I initially was under the wrong impression that NXDK aims to be somewhat POSIX compatible

Hacky workaround: ```ruby # Put this in Gemfile: require 'appraisal/bundler_dsl' ::Appraisal::BundlerDSL.class_eval do def eval_gemfile(path, contents = nil) (@eval_gemfile ||= [])

I've pushed the following changes: 1. `TSL_ENABLE_EXCEPTIONS` -> `TSL_NO_EXCEPTIONS`. 2. Detection of the default even without CMake. 3. Changed the `throw_` function to a macro. I think these are better...

You should probably run it yourself so that the measurements are comparable (from the same machine)!

@arkadiyt For now, you can post-process the HTML with e.g. Nokogiri: ```ruby html = Nokogiri::HTML.fragment(html).tap do |doc| doc.css('a').each do |node| node['href'] ||= '#' # Add attributes to external links only:...

`NAME_MISMATCHED` requires CMake 3.17+ For compatibility with older versions, it'd be better to do something like this instead: ```cmake if(SDL2MAIN_LIBRARY) if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17.0") FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2main REQUIRED_VARS SDL2MAIN_LIBRARY SDL2_INCLUDE_DIR VERSION_VAR SDL2_VERSION_STRING NAME_MISMATCHED)...

In v0.16+, the number of read and unread posts is stored in `UserTopicReadState`.