divinity76

Results 202 comments of divinity76

@gunzino i have just successfully compiled and started OTClient on Xubuntu 18.04, notable changes i had to do in addition to the instructions posted at https://github.com/edubart/otclient/wiki/Compiling-on-Linux : run `sudo apt...

a good initial value is `phpcs --parallel=$(nproc)`

@mabar cool! i think the windows equivalent is ``` powershell "Get-WmiObject Win32_Processor | Select-Object -ExpandProperty NumberOfCores .trim" ``` maybe ``` phpcs --parallel=$(shell nproc || sysctl -n hw.logicalcpu || powershell "Get-WmiObject...

well the php behavior is to check if it's running on Windows, if yes use cmd escape-rules, otherwise use POSIX escape rules.. not sure if we should follow suite or...

btw ```js h1 = b64[encodedData.charAt(i)] h2 = b64.indexOf(encodedData.charAt(++i)) h2 = b64[encodedData.charAt(++i)] h3 = b64.indexOf(encodedData.charAt(++i)) h3 = b64[encodedData.charAt(++i)] h4 = b64.indexOf(encodedData.charAt(++i)) h4 = b64[encodedData.charAt(++i)] ``` should be even faster (`i++` creates...

@bramus removing trailing `/` makes sense, but i'm not convinced that removing trailing `%2F` is a good idea.. `%2F` is explicitly an escaped `/` that is supposed to be part...

@ghost interesting workaround, but i can't get it to work, ``` hans@DESKTOP-2LHJILI:~/tibia/pybot/fuk$ wget 'https://files.pythonhosted.org/packages/41/02/3d5014e3b70c950492ceb65785ef724d073785f02fd51401430fd5fef681/pywin32-224-cp36-cp36m-win32.whl#sha256=32b37abafbfeddb0fe718008d6aada5a71efa2874f068bee1f9e703983dcc49a' --2022-05-07 13:18:52-- https://files.pythonhosted.org/packages/41/02/3d5014e3b70c950492ceb65785ef724d073785f02fd51401430fd5fef681/pywin32-224-cp36-cp36m-win32.whl Resolving files.pythonhosted.org (files.pythonhosted.org)... 151.101.1.63, 151.101.65.63, 151.101.129.63, ... Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.1.63|:443... connected. HTTP...

fwiw this kind of bug most often happens because people try to "sanitize" strings before inserting them in a database. rule-of-thumbs: DO: sql-encode strings before inserting them in a database...

wouldn't it be better to support Callable $function instead of 'function_name' ? https://3v4l.org/Qa146

same problem, fully updated ubuntu 16.04