RSI trends and signals are ignored ¿bug?

System information

Have I written custom code (as opposed to using zenbot vanilla): Yes, in the RSI strategy
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
Zenbot version (commit ref, or version): 4.1
Zenbot branch: Master
NodeJS version: 8.3
Python version (when using a python script):
Exact command to reproduce (include everything): ./zenbot.sh trade kraken.XLTC-ZEUR --strategy=rsi  --sell_stop_pct=10 --profit_stop_enable_pct=10 --buy_pct=100 --sell_pct=100   --oversold_rsi=30 --overbought_rsi=75 --rsi_recover=15 --rsi_drop=15  --debug
Did I make any changes to conf-sample.js?:

Describe the problem
Signals like s.trade and s.signal are incorrect in trade mode (in sim all it's ok). Testing code and force to write in the output the signals from rsi values i get that s.trend are "undefined" and s.signal are "null", and rsi values are over 75. In concordance with code bellow, s.trend should be "overbought".
What I'm doing wrong?
Source code / Error logs
Code added to RSI strategy in onPeriod: function (s, cb), under f (typeof s.period.rsi === 'number') {:
      if (s.trend !== 'overbought' && s.trend !== 'short' && s.period.rsi >= s.options.overbought_rsi) {         s.rsi_high = s.period.rsi         s.trend = 'overbought'       }
Output from terminal in one moment like I said:
2018-07-16 13:40:00  70.4300 XLTC-ZEUR   +0.71%      408   75.34 ++++  undefined null  undefined null 75          2018-07-16 14:00:00  70.6000 XLTC-ZEUR   +0.24%      280   76.14 ++++  undefined null  undefined null 76
Example of result in SIM mode with --overbought_rsi=65 (sim mode starts ever with s.trend = 'long', I don't know why):
2018-07-15 21:59:57  66.9700 XLTC-ZEUR   +0.16%       21   63.89 ++    long null  long null 63   +3.47%<PHONE_NUMBER>7 XLTC   2018-07-15 22:19:09  67.1000 XLTC-ZEUR   +0.19%      123   65.80 +++   overbought null  overbought null 65   +3.67%<PHONE_NUMBER>8-07-15 22:37:35  67.2600 XLTC-ZEUR   +0.23%      243   68.00 +++   overbought null  overbought null 68   +3.92%<PHONE_NUMBER>8-07-15 22:59:45  67.8100 XLTC-ZEUR   +0.81%      462   74.04 +++   overbought null  overbought null 74   +4.77%<PHONE_NUMBER>8-07-15 23:19:20  67.7000 XLTC-ZEUR   -0.17%      154   71.21 +++   overbought null  overbought null 71   +4.60%<PHONE_NUMBER>8-07-15 23:38:33  68.0300 XLTC-ZEUR   +0.48%      100   74.31 +++   overbought null  overbought null 74   +5.11%<PHONE_NUMBER>8-07-15 23:49:11  67.9500 XLTC-ZEUR   -0.12%      237   72.32 +++   overbought null  overbought null 72   +4.99%<PHONE_NUMBER>8-07-16 00:14:53  67.5000 XLTC-ZEUR   -0.67%       94   62.44 ++    short sell  short sell 62     sell<PHONE_NUMBER>7 XLTC    154.82 ZEUR
How I can change the initial s.trend in trade mode with RSI signals?
I think that the first values are preroll data, before trading starts and isn't affected by conditionals in function, but after this data, the rsi overbought signal are ignored until a buy signal is reibed from market.
I tryed with this code, but have no results:
      if (s.trend === undefined && s.period.rsi >= s.options.overbought_rsi) {         s.rsi_high = s.period.rsi         s.trend = 'overbought'       }

Loks like this code solves the problem (onPeriod: function (s, cb)):
if (s.trend === undefined && s.period.rsi >= s.options.overbought_rsi) { s.rsi_high = s.period.rsi s.trend = 'overbought' }


Calibration patch for newer AHT20's

Updating calibration function so that it isn't required to pass for newer AHT20's. This same change was made for the Arduino library

Tested with the library example (although with an older AHT20) and ran as expected. Also added print(sensor.calibrate()) before the loop and it was returning True as expected.

@ladyada would you be able to test this with a "new" AHT with the funky behavior?
otherwise, LGTM, simple catch all exception pass


DeviceTimeZon should be DeviceTimeZone

DeviceTimeZon should be DeviceTimeZone

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 34e19f18-b108-2702-eac9-86ed2f1b0e82
Version Independent ID: b2d206e7-61cf-781b-1d8a-6ff4e6116233
Content: Common Event Format (CEF) key and CommonSecurityLog field mapping
Content Source: articles/sentinel/cef-name-mapping.md
Service: azure-sentinel
Sub-service: azure-sentinel
GitHub Login: @batamig
Microsoft Alias: bagol

Thanks for reporting this issue @daspiker and thank you for handling, @HarshitaSingh-MSFT  and @ShannonLeavitt !


Is there a way to exclude using target as a feature in training?

So currently I am training a model with
[date, id, feature1, feature2, feature3, target] in the training set and
[date, id, feature1, feature2, feature3] in the testing set.
args.features = 'MS'
args.enc_in = 5 # encoder input size
args.dec_in = 5  # decoder input size
args.c_out = 1  # output size

I want to predict the target, however I don't have the target in the testing set and I cannot use it to forecast the next target.
Is there a way I can exclude a certain class in the csv for training?
And I should use the below code after I modify the dataloader, right?
args.features = 'MS'
args.enc_in = 4 # encoder input size
args.dec_in = 4  # decoder input size
args.c_out = 1  # output size

I found the following code
class Dataset_Custom(Dataset):
    def __init__(self, root_path, flag='train', size=None,
                 features='S', data_path='ETTh1.csv',
                 target='OT', scale=True, inverse=False, timeenc=0, freq='h', cols=None):

and in args.cols, I can include the column that I want. Thanks a lot.

Please refer to the --cols option in our parameters.


More realistic collation

A common request/question in Discord, on the survey, and on Twitch chat has been about whether we do collation of cards correctly. There are good resources out there for how paper collation worked in recent sets, for example here: https://www.youtube.com/watch?v=kct0tF0qgdk I've never heard an opinion or analysis either way about whether Arena uses the paper collation rules, but imo we should mimic Arena whatever that is.
I pulled up a pack from an Ikoria draft log https://www.17lands.com/draft/67f5818d36ee481bacb3d7eccfde3fbb/3/1 and compared the commons to the print run of Ikoria https://docs.google.com/spreadsheets/d/1cnnB4iPSXsBZNGIa7K5XnQsFAHQtTUVqa_wQ1mfLjq8/edit#gid=0 (English/US in both cases, though I'm not sure if that matters). I think that pack has several things that show Arena does not use the collation rules of paper:

Glimmerbell without any of its 3 neighbors in Run A (or the last card, if the runs loop, since it appears at the beginning)
Phase Dolphin without any of its 4 neighbors in Run A
Rumbling Rockslide without any of its 4 neighbors in C1

If someone has more information on Arena collation, that would be really useful, but for now, based on the logs I've seen and this comparison to the print collation, I think it's best to assume that cards are selected randomly with the same color balance restriction that we default to. Similarly, if anyone has logs of an Arena pack without color balance, that would be important to know. But I'm going to close this issue since I think our collation is as realistic a representation of Arena as we know, and I'm just filing for tracking.

Lots of information on paper collation for future reference: https://www.lethe.xyz/mtg/collation/

This site is awesome! Can confirm my earlier comment (at least on Glimmerbell) still applies. It seems like Arena doesn't use the collation rules from US/English boosters even when playing in English in the US - seems more likely it's picking cards randomly within rarity like we do.


[ffigen][infra] Use Apple silicon on CI

Closes: https://github.com/dart-lang/native/issues/831

@liamappelbe The new GitHub action bots using apple silicon repro the issue as well, so you can use it to verify your fix.


Watt Quick Start - Next.js Version Compatibility Issue

Hi, I'm trying to study Watt but it looks like there’s a compatibility issue when following the Watt Quick Start guide. The documentation suggests installing the latest Next.js version, but this results in an error at runtime. Specifically, the error states:
FastifyError [Error]: next version 15.0.3 is not supported. Please use version ^14.0.0.
Even after downgrading to 14.0.0, the server does not start as expected. The issue seems to stem from a change between 14.0.0 and 14.2.0 (thanks to @ShogunPanda for the investigation).
Steps to Reproduce

Clone the demo repository: https://github.com/alfonsograziano/platformatic-demo
Install the dependencies and attempt to start the server (npm run dev).
Observe the runtime error that prevents Next.js v14.0.0 to start.

Fixed in #3575.


Issue activating Python extension for Intellicode (looks like a venv interpreter detection issue)

Environment data

VS Code version: Version: 1.54.3 (user setup)
Extension version (available under the Extensions sidebar): v2021.3.680753044
OS and version: Windows_NT x64 10.0.19042
Python version (& distribution if applicable, e.g. Anaconda): 3.8.7 CPython
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: irrelevant
Relevant/affected Python-related VS Code extensions and their versions: Python: v2021.3.680753044 with Intellicode: v1.2.12, also the pairing Python: 2021.3.658691958 with Intellicode: v1.2.11 exhibits the same issue
Value of the python.languageServer setting: "Pylance"

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Intellicode loads properly
Actual behaviour
Error message as a notification : Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details.
Syntax coloration is partly broken (namely imports are not colored in green), autocompletion fails. The system python seems to work ok, but as soon as trying to change the interpreter there is an issue with the python interpreter not being recognized properly in the venv it seems.
Manually entering the path to the interpreter seems to work.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Set interpreter to venv for workspace (manually if it is not auto detected)
Close workspace
Open workspace
Issue is triggered

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJediLSPcf'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonDiscoveryModule'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
Error 2021-03-30 10:23:05: Fetching environments via the new API failed [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at Array.map (<anonymous>)
	at q.getInterpretersViaAPI (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39997)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async q.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39311)
	at async C.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:740434)]
Error 2021-03-30 10:23:05: Fetching environments via the new API failed [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at Array.map (<anonymous>)
	at q.getInterpretersViaAPI (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39997)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async q.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39311)
	at async C.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:740434)]
Error 2021-03-30 10:23:05: Fetching environments via the new API failed [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at Array.map (<anonymous>)
	at q.getInterpretersViaAPI (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39997)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async q.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39311)
	at async C.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:740434)]
Error 2021-03-30 10:23:05: Fetching environments via the new API failed [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at Array.map (<anonymous>)
	at q.getInterpretersViaAPI (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39997)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async q.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39311)
	at async g.onAutoSelectInterpreter (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:702846)
	at async g.autoSelectInterpreter (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:280746)]
Error 2021-03-30 10:23:05: Fetching environments via the new API failed [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at Array.map (<anonymous>)
	at q.getInterpretersViaAPI (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39997)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async q.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:39311)
	at async C.getInterpreters (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:740434)
	at async p.onAutoSelectInterpreter (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:705770)
	at async p.autoSelectInterpreter (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:280746)]
Error 2021-03-30 10:23:05: Python Extension: interpreterManager.refresh [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at q.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:38849)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async C.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:741545)
	at async f.updateDisplay (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:729765)
	at async f.refresh (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:729292)]
Error 2021-03-30 10:23:05: Failed to activate a workspace, Class name = y, completed in 374ms, has a falsy return value, Arg 1: <Uri:c:\Users\redacted\Documents\redacted\code\compiler\zonnx\exporter\export.py>, Return Value: undefined [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at q.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:38849)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async C.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:741545)
	at async _.activate (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:52:29881)
	at async Promise.all (index 4)
	at async y.activateWorkspace (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:52:25098)]
Error 2021-03-30 10:23:05: Failure during activation. [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at q.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:38849)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async C.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:741545)
	at async _.activate (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:52:29881)
	at async Promise.all (index 4)
	at async y.activateWorkspace (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:52:25098)]
Error 2021-03-30 10:23:05: sendStartupTelemetry() failed. [Error: invalid version -final
	at Object.u [as parseBasicVersion] (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:198256)
	at V (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:37379)
	at q.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:80:38849)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async C.getInterpreterDetails (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:741545)
	at async _.activate (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:52:29881)
	at async Promise.all (index 4)
	at async y.activateWorkspace (c:\Users\redacted\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:52:25098)]
Python interpreter path: c:\Users\redacted\Documents\redacted\code\compiler\venv\Scripts\python.exe

Intellicode output:
Language server is set to Pylance.
Acquiring model
Acquiring model 'intellisense-members-lstm-pylance' for python
Querying IntelliCode service for available models.
vs-intellicode-python was passed a model: {}.
Cached model is up to date.
Activating Python extension
Error while activating Python: {}

VS Code just updated to 1.55.0 still user setup, issue is still occuring
Cheers

Experiencing the same issue.

Manually entering the path to the interpreter seems to work.

This worked for me too. After executing the Python: Select Interpreter command from the command palette and specifying the right python interpreter, the syntax highlighting and the autocompletion recovered to normal.

A new issue was posted and looks pretty similar : https://github.com/microsoft/vscode-python/issues/15888

Indeed it's possible #15888, which I posted, is a duplicate.
I also had issues with Intellicode not working but that recovered and I couldn't figure out why, possibly the Python: Select Intepreter was what fixed Intellicode behavior.
I'm still getting the error message, though.

Yeah, no worries 🙂 also getting the error message sporadically. I'm just trying to get the extension's maintainers attention as this is pretty annoying and does not seem to get much traction.
Cheers

As suggested here : https://github.com/microsoft/vscode-python/issues/15909#issuecomment-817114330
I backed up C:\Users$USERNAME\AppData\Roaming\Code and deleted it, I copied back the User folder to C:\Users$USERNAME\AppData\Roaming\Code to get my configuration back, I don't seem to be getting the error now not much of a solution if you ask me because of the loss of some cached data

Ok it started to fail again...

Any news on this ? It's really a pain

This is probably stale as the issue did not seem to re-occur. Closing


add _logs directory so tests won't fail on directory not existing

Pulled down the project to play around with and running the test failed because the logs directory did not exist. Updated the .gitignore file and added a .gitkeep to check in the folder but not the log files.

Hey @jonhester! Thanks for the PR!
I was thinking here. Do you think that the _logs directory should be pre-created in the repo?
After your PR I was thinking about creating them during the test or the install. What do you think about it?
Thanks,man! :+1:

Yeah you could actually do it in the test, but what may be easier is just changing the test script to something like this: mkdir -p _logs && node test.js. The -p flag is needed to prevent throwing an error if the _logs folder already exists.

Nice, @jonhester! :smile: I'll merge your PR and we can elaborate a better test script other time in the next versions :+1:


Use MyPy in pipeline

Is your feature request related to a problem? Please describe.
Type hinting is extensively used but there is no method of automatically checking for errors in the type hinting except by inspection using something like pylance on vscode.
Describe the solution you'd like
The utility mypy evidently will do the necessary checks on type hints in the code.
Additional context
This is a good project for someone outside of Jitsuin perhaps

This is blocked by python 3.6 - an initial trial showed these errors: (note the 'incompatible with 3.6)
rchivist/dictmerge.py:7: error: Skipping analyzing "flatten_dict": module is installed, but missing library stubs or py.typed marker
archivist/timestamp.py:8: error: Skipping analyzing "iso8601": module is installed, but missing library stubs or py.typed marker
archivist/timestamp.py:9: error: Skipping analyzing "rfc3339": module is installed, but missing library stubs or py.typed marker
archivist/sbommetadata.py:8: error: Library stubs not installed for "dataclasses" (or incompatible with Python 3.6)
archivist/compliance_policy_requests.py:7: error: Library stubs not installed for "dataclasses" (or incompatible with Python 3.6)
archivist/compliance_policy_requests.py:7: note: Hint: "python3 -m pip install types-dataclasses"
archivist/withdrawer.py:8: error: Skipping analyzing "backoff": module is installed, but missing library stubs or py.typed marker
archivist/uploader.py:6: error: Skipping analyzing "backoff": module is installed, but missing library stubs or py.typed marker
archivist/subjects.py:187: error: Incompatible types in assignment (expression has type "List[str]", target has type "str")
archivist/subjects.py:190: error: Incompatible types in assignment (expression has type "List[str]", target has type "str")
archivist/sboms.py:32: error: Library stubs not installed for "requests.models" (or incompatible with Python 3.6)
archivist/publisher.py:8: error: Skipping analyzing "backoff": module is installed, but missing library stubs or py.typed marker
archivist/confirmer.py:11: error: Skipping analyzing "backoff": module is installed, but missing library stubs or py.typed marker
archivist/attachments.py:30: error: Library stubs not installed for "requests.models" (or incompatible with Python 3.6)
archivist/assets.py:62: error: Variable "archivist.type_aliases.NoneOnError" is not valid as a type
archivist/assets.py:62: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
archivist/assets.py:89: error: Variable "archivist.type_aliases.NoneOnError" is not valid as a type
archivist/assets.py:89: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
archivist/applications.py:180: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", target has type "str")
archivist/archivist.py:42: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
archivist/archivist.py:42: note: Hint: "python3 -m pip install types-requests"
archivist/archivist.py:42: note: (or run "mypy --install-types" to install all missing stub packages)
archivist/archivist.py:42: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
archivist/archivist.py:43: error: Library stubs not installed for "requests.models" (or incompatible with Python 3.6)
archivist/archivist.py:44: error: Skipping analyzing "requests_toolbelt.multipart.encoder": module is installed, but missing library stubs or py.typed marker
archivist/archivist.py:130: error: Incompatible types in assignment (expression has type "None", variable has type "str")
archivist/archivist.py:131: error: Incompatible types in assignment (expression has type "None", variable has type "str")
archivist/archivist.py:136: error: Need type annotation for "_response_ring_buffer"
archivist/archivist.py:341: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "Optional[Dict[Any, Any]]")

Suppressing stubs and untyped imports shows the following puzzles:
archivist/subjects.py:187: error: Incompatible types in assignment (expression has type "List[str]", target has type "str")
This is a simple dict assignment
       query["wallet_pub_key"] = wallet_pub_keys

there is no type hint for this so what gives?

Blocked by https://github.com/jitsuin-inc/archivist-python/issues/88

completed in #175


backbone dependency version

Hello
New releases of backbone are available since Feb. 13, 2014.
Backbone 1.1.1 and 1.1.2 are now available whereas bookshelf is still linked with version 1.1.0
Why bookshelf is so closely linked with this version ?
Is it only because of lack of tests ?
Best regards

The Backbone dep is going away anyway

Hello
Where is this dependency going away ?!
I would like to use backbone as dependency of another library but the release required by bookshelf conflicts with the expected one.
Is it planned to upgrade bookshelf dependencies ?
Will bookshelf dependencies maintained in the future ?
Thank you very much

The current plan is to create a proper base model layer and not use Backbone. The only reason to use Backbone was the hope of code reuse between the browser and server.
Not sure what you're talking about with version conflicts. NPM isn't flat, you shouldn't have issues.

Thank you for your reply...
Currently, my team would like to use bookshelf with nodejs-webkit in order to create an HTML5 desktop application.
We were interested by the relationship between backbone and bookshelf because it allowed us to link bookshelf results directly to backbone views.
We will turn to another solution.
Thank you very much for the clarification.


Updater States Wrong Release

It seems the Updater Window is incorrect with the versioning. Or I'm reading it wrong..

I've noticed it does this for the pre-release versions. I think it's because it only checks if your version is the same as the release and if it isn't, it tells you to download the release version, regardless of what your version is.

yes it's just a pre-release thing. It tells you to update to stable. We are not handling version checks very well but it does work correctly for normal releases.

belived it stopped doing it with pre-releases.
closing


strange benchmarks

Hello,
I decided to explore your library for a new video on my YouTube channel. I took the example directly from your documentation (README). Where you use the next selectors: selectTotal, selectTax, selectSubtotal.
I decided to make benchmarks for different uses of the crateSelector based on the README example. And the results surprised me more than I expected. And even studying the sources of the library did not help me find answers to some questions. So I'm going to share the result and I hope you will help me to understand where is the problem.
There is the repo with the whole code
I wrote the following code for benchmarking:
const reselect = require("reselect");

const state = require("../state");
const getTotal = require("./getTotal");

const start = new Date();

for (let i = 0; i < 999_999_999; i++) {
  getTotal(state);
}

const stop = new Date();

console.log(`Time Taken to execute = ${(stop - start) / 1000} seconds`);

I use the same state for all tests
module.exports = {
  shop: {
    taxPercent: 8,
    items: [
      { name: "apple", value: 1.2 },
      { name: "orange", value: 0.95 },
    ],
  },
};

At first I decided to measure the version on 100% like in the documentation (It is version 3 in my repo):

The result is 8 seconds in average
After it I've decided to remove all createSelector and measure again (It is version0 in my repo):

The result is 5 seconds in average
It helps us to understand that the memoization cost more than calculation. And if we add more items to the shop the memo will be still 8 seconds but 5 seconds will increase to 10, 15, 20 seconds. It's pretty clear for me
But then I've decided to add more versions. What will be the result if we will keep some selector with createSelector (selectSubtotal, selectTax)  and some without it (selectTotal). It's version 2 in my repo:

And the results shocked me. It's 18 seconds. I understand why the result is higher then 8 seconds. We do some calculations plus pay for memoization. But why do we pay so much?
Even if we decide to sum 5 seconds (don't use createSelector at all) and 8 seconds (use createSelector for all selectors). We have 13 seconds but not 18 seconds.
Does somebody have any idea why the result so high?

I figured out what the problem is!
In the last example, we call the memoized selector 2 times each iteration. Therefore, you need to take 2 times for 8 seconds and add the calculation of the unmemoized selector so the result is 18 seconds


Pass arbitrary additional arguments into message handlers

Right now, if we want to pass per-cached-handler state into message handlers, we need to do something like this:
function getSubCommand(state) {
  return createCommand({name: 'sub'}, message => {
    // do something with message and state
  });
}

const myBot = createBot({
  createMessageHandler() {
    const state = {foo: 1};
    const messageHandler = createCommand({}, [
      getSubCommand(state),
    ]);
    messageHandler.hasState = true;
    return messageHandler;
  },
});

It would be nice if we could do something like this instead:
const subCommand = createCommand({name: 'sub'}, (message, state) => {
  // do something with message and state
});

const myBot = createBot({
  createMessageHandler() {
    const state = {foo: 1};
    const messageHandler = createCommand({
      adjustArgs(message) {
        return [message, state];
      },
    }, [
      subCommand,
    ]);
    messageHandler.hasState = true;
    return messageHandler;
  },
});

I strongly disagree. The language itself provides this functionality (closures), I don't see the value in adding complexity to the API for this.

I'm thinking more about authoring commands. It might be nice to be able to author a command in such a way as to allow it to not know anything about where it's getting its state from. Oh, another argument I can use? Sweet.

okay, good point, you're right!

I'm thinking about creating an args-specific message handler where the code might look like this:
const subCommand = createCommand({name: 'sub'}, (message, state) => {
  // do something with message and state
});

const myBot = createBot({
  createMessageHandler() {
    const state = {foo: 1};
    const messageHandler = createArgsAdjuster({
      adjustArgs(message) {
        return [message, state];
      },
    }, createCommand({}, [
      subCommand,
    ]));
    messageHandler.hasState = true;
    return messageHandler;
  },
});


[Issue #26] Make pre_render compatible with all children of ActiveRecord::Relation

Checklist:

[x] I have updated the necessary documentation
[x] I have signed off all my commits as required by DCO
[x] My build is green

Have to study this more to make sure, but at a glance it seems like the perfect idea. Nice!


Recursive copy of fonts

I created subfolder in fonts to separate my fonts, but when doing grunt dist, it only copy an empty folder.
We should use fonts/** to allow recursive copy of all fonts.

Fine by me.
@XhmikosR SGTY?

To be honest, I don't like this change. I find it redundant because of the use case. The Gruntfile.js isn't supposed to handle other use cases than ours.

CC: @hnrch02

Seems fine by me—doesn't affect us at all, right?

Guys, this whole thing is wrong. Our use case is specific and this patch is a user's use case only.
I don't see why we need to change our scripts for this.

The Gruntfile.js isn't supposed to handle other use cases than ours.

Yeah, the Gruntfile is first and foremost for us to develop and maintain Bootstrap, but we'd be ignorant to think folks outside our team don't want to (or already do) use it as well.

I don't see why we need to change our scripts for this.

Because if there is literally no downside for us to help someone else out with a one character change, why wouldn't we not make the change?

It's not about helping someone here, really. It's about having random changes we don't need because someone else might need them. Someone else might use gulp. Should we adapt their changes too to make them happy?
That being said, obviously I'm the only one who cares about this, so go ahead and merge it.

Not thinking about only my usecase, I think that fonts folder contains font files, no matter how they are organized, subfolder or not.
If there is a subfolder in font/, this subfolder is supposed to contains other fonts file, so they should also be copied.

Yes, but there isn't. By that approach, we should do it for all other folders, because the user might have a subfolder.
That is my whole point.

Lol, okay, then let's do it for this one and all the rest.


Should this work with Ruby 2.x? Its not for me

I'm running on Max OS X 10.9.3 and rvm.
I have a simple test script:
#!/usr/bin/env ruby
require 'openssl_pkcs8'

key = OpenSSL::PKey::RSA.new(1024)

result = key.to_pem_pkcs8

puts result

If I use ruby-1.9.3-p484 the test script works fine.
If I use rvm to switch to any of the following
ruby-2.0.0-p247 [ x86_64 ]
ruby-2.1.0 [ x86_64 ]
ruby-2.1.2 [ x86_64 ]

it doesn't work and I get something like:
./tst_pkim.rb:6: [BUG] Segmentation fault at 0x00000000000000

...

-- Control frame information -----------------------------------------------
c:0003 p:---- s:0009 e:000008 CFUNC  :to_pem_pkcs8
c:0002 p:0033 s:0006 E:001478 EVAL   ./tst_pkim.rb:6 [FINISH]
c:0001 p:0000 s:0002 E:000438 TOP    [FINISH]

./tst_pkim.rb:6:in `<main>'
./tst_pkim.rb:6:in `to_pem_pkcs8'

-- C level backtrace information -------------------------------------------
0   ruby                                0x00000001002851a6 rb_vm_bugreport + 134
1   ruby                                0x000000010013bc53 report_bug + 307
2   ruby                                0x000000010013bb14 rb_bug + 180
3   ruby                                0x0000000100208599 sigsegv + 153
4   libsystem_platform.dylib            0x00007fff8f4a65aa _sigtramp + 26
5   libcrypto.0.9.8.dylib               0x00007fff8ecba5b5 BN_num_bits + 21
6   ???                                 0x00000000ffffffff 0x0 +<PHONE_NUMBER>

Is it something in my environment? Or something else?

Well, perhaps you can use https://github.com/cielavenir/openssl_pkcs8_pure, which also has DSA/EC and jruby support (only RSA though)


Missing prompt for ADC username / password

There is no prompt for entering my credentials if i enter any xcode-install command. Just the description text:
❯❯ xcode-install list                                                                                [10:05:05 AM]
Please provide your Apple developer account credentials via the
XCODE_INSTALL_USER and XCODE_INSTALL_PASSWORD environment variables.

This was likely fixed by a newer version of spaceship, at least I'm receiving the prompt with the current version.


Duplicate definition in spi_common.h (IDFGH-1933)

The definition of spicommon_bus_using_iomux(spi_host_device_t host); is duplicated in spi_common.h This is causing micropython tools that process this file to fail.
diff --git a/components/driver/include/driver/spi_common.h b/components/driver/include/driver/spi_common.h
index b44159546..15e91cd45 100644
--- a/components/driver/include/driver/spi_common.h
+++ b/components/driver/include/driver/spi_common.h
@@ -319,7 +319,7 @@ bool spicommon_bus_using_iomux(spi_host_device_t host);
*

@return false if any pins are through the GPIO matrix, otherwise true.
*/
-bool spicommon_bus_using_iomux(spi_host_device_t host);
+//bool spicommon_bus_using_iomux(spi_host_device_t host);

/**

@brief Get the IRQ source for a specific SPI host

Hi @jonsmirl ,
We plan to make this function invisible from public domain, do you use it?

We do not use, the duplicate declaration broke a tool used to compile micropython for ESP. The tool has been fixed to all duplicate definitions now.  The tool scans the header files and converts it into Python callable objects.


Defining version number in only one place

Instead of in setup and init.
Should be a clean way to do it.

Resolved by @sihrc


compose: correct mq img tag

WIP until Python 3.11 is on Prod and working

Replace rabbitmq docker image tag with one that offers arm as well as linux as a plattform

do we need this?

do we need this?

Either this or we put platform: linux/amd64 into the compose, otherwise I wont work on the M1/M2/M3... Macs


An Issue about carrier phase

Hello，thanks for you commit about #8 . The error disappears.
I tested the tool and I am puzzled about the carrier phase in the rinex file.  The carrier phase seems like a little “odd”.  I mean, another app called Geo++ Rinex Logger and Ublox receiver also create Rinex files. In their files, the carrier phase times wavelength is approximately equal to pseudorange like Fig 1.  But  in your files, it seems that the carrie phase is uncorrelated with peeudorange (Fig 2).
I konw the change of carrier phase between 2 epochs can be more meaningful than the absolute value at an epoch.  But I cant directly do PPK with rinex data  created by your tools in RTKLIB. Have you tested with RTKLIB? could you please give me some advice？ Thank you.

Fig 1

Fig 2

Hi thanks for opening the issue.
The code of this repository is a bit old an we have not found the time to update it lately. You can  try the last version of our Rinex conversion tool at https://jason.rokubun.cat for free. You just sign up and login, go to the converter section and drag and drop your GNSS file to convert it. You can even perform PPK/PPP with the GNSS processor which is currently based in RTKLIB although it will be moved to our own processing engine soon.
Regarding the phase values, JASON writes the ADR provided by the GnssRawMeasurement directly to the rinex file and rtklib accepts it and can perform PPK. This repo is not currently fixing the full bias nanos with the first TOW_DECODED so the problem with Rtklib may be here.
In addition, we have developed and sdk for jason, so if you want to run it from python or android code, you can easily integrate it.

python: https://github.com/rokubun/jason-sdk-python
android: https://github.com/rokubun/jason-sdk-android

Thanks again!

Hi thanks for opening the issue.
The code of this repository is a bit old an we have not found the time to update it lately. You can try the last version of our Rinex conversion tool at https://jason.rokubun.cat for free. You just sign up and login, go to the converter section and drag and drop your GNSS file to convert it. You can even perform PPK/PPP with the GNSS processor which is currently based in RTKLIB although it will be moved to our own processing engine soon.
Regarding the phase values, JASON writes the ADR provided by the GnssRawMeasurement directly to the rinex file and rtklib accepts it and can perform PPK. This repo is not currently fixing the full bias nanos with the first TOW_DECODED so the problem with Rtklib may be here.
In addition, we have developed and sdk for jason, so if you want to run it from python or android code, you can easily integrate it.

python: https://github.com/rokubun/jason-sdk-python
android: https://github.com/rokubun/jason-sdk-android

Thanks again!

Hi  Dear Alex
Thanks for your kindly help
Could you please tell me what does "fixing the full bias nanos" mean ?

Hi,
We wrote a blog post three years ago with an initial analysis of GnssRawMeasurements in Android and there is an explanation of the motive to fix the fullbiasnanos there.
https://www.rokubun.cat/gnss-carrier-phase-nexus-9/
In code terms, it means that the conversion from gnsslogger to rinex should wait for the first GnssRawMeasurement with
STATE_TOW_DECODED active and then set the fullBiasNanos to this value and use it to compute the pseudorange for the  following measurements. In addition, if the screen has gone off, the fullbiasnanos should be set again, although this is something we have to study furthe.
This approach and more improvements are implemented in the free online converter in JASON
You can find more info also in the GSA white paper regarding Android Raw Measurements and pseudorange computation.
Hope it helps.
Alex


Improve randomness for default voice

It happens now that a default voice recording is played several times in a row. This could be improved, e.g.:

play a recording different than the last time
play a random recording without repeating them until you run out of the recordings, then shuffle the list

I'm going to release my add-on called "Random Audio Stream Player" that could solve this cleanly.

The easiest version is to avoid the last played sound if possible. That can be implemented quickly and will significantly improve the user experience.
A more advanced version would be to play all sounds in a random order before playing the sounds that were already played. That can be tricky, because a single voice recording can be played at many different situations in the game. For example, one action can use a list of [a, b, c] voice recordings, while another action will use a single recording [b]. Playing b separately should influence the order in which [a, b,c] will be played.
It would be reasonable to keep the global state of already played recordings. The random order can be implemented by either using a penalty for recently played sounds or by adding sounds randomly to a list while avoiding repeating sound next to each other. Also, a whole list of all registered sounds can be shuffled and used for global random order, but that might be a bit problematic when the number of recordings increases.
Examples of randomized sound playing order, with keeping the list of recent sounds:
random [a,b,c] => play c (random), keep [c]
random [b] => play b (the only available), keep [c, b]
random [a,b,c] => play a (b and c played recently), keep [c, b, a]
random [a,b,c] => play b (anything from this list other than a, which was played last time), keep [c,b,a,b]

Oh ok I see where the issue comes from, you can select the same sound for different things, then it's possible that the same sound is played one after the other but for a different reason...

There is currently a small issue: when a new project is imported, Godot shows a warning that the addon script could not be found. This is probably related to Godot itself, not to this plugin, and hopefully this can be easily fixed. It does not prevent the addon from working, and there is no warning the next time the editor is open, but any errors/warning might be discouraging for GOAT users and should be fixed ;)


Steam Version Error

Error message
Paste the error message in the area below:
Traceback (most recent call last):
  File "maidfiddler\ui\maids_list.py", line 120, in maid_selected
  File "maidfiddler\util\pipes.py", line 123, in <lambda>
  File "maidfiddler\util\pipes.py", line 59, in __call__
  File "maidfiddler\util\pipes.py", line 65, in try_invoke
  File "maidfiddler\util\pipes.py", line 117, in _try_invoke_internal
maidfiddler.util.pipes.RemoteError: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at COM3D2.MaidFiddler.Core.Service.Service.ReadMaidData (.Maid maid) [0x00000] in <filename unknown>:0
  at COM3D2.MaidFiddler.Core.Service.Service.SelectActiveMaid (System.String guid) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

To Reproduce
Updated Steam ver from COM3D2's website to most recent ver and attempted to run Maid Fiddler. Clicking anything gets the error message above.
Version information:

Game version [1.042]
Maid Fiddler version [<IP_ADDRESS>]

Additional context

I been having the same problem

Gave this a test on Maid Fiddler <IP_ADDRESS> and COM 1.04.2 and it works fine:

As such, make sure that

You have latest version of Maid Fiddler installed (latest is <IP_ADDRESS>, not <IP_ADDRESS>)
You indeed have the latest game version (you can check so via the game)
You have either latest Sybaris or BepInEx and you have them properly installed
You actually installed Maid Fiddler in the correct folder (i.e. you actually installed it where your English version of the game is located)

Closing this issue as I cannot replicate it. If you still have problems, please create a new issue.


Talk to the mentors

I want to talk to the mentors of idea #3 prototype new CHAOSS Metrics.
Kindly provide their email or some other things where I can chat regarding the implementation of the project.

@sgoggins I want to talk to you about the implementation regarding prototype new chaoss metrics that what all of you are planning?

Hi Gourav,
The priority metrics are those in the https://github.com/chaoss/metrics/blob/master/2_Growth-Maturity-Decline.md#community-growth https://github.com/chaoss/metrics/blob/master/2_Growth-Maturity-Decline.md#community-growth
section of growth, maturity and decline. Any of the Growth, Maturity & Decline; Risk and Value sections are also good choices.  Diversity and Inclusion Metrics may have some candidates, but many of those will require more than only repository data.
Sean

On Mar 24, 2018, at 07:42, Gourav Sardana<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@sgoggins https://github.com/sgoggins I want to talk to you about the implementation regarding prototype new chaoss metrics that what all of you are planning?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/chaoss/governance/issues/23#issuecomment-375886073, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXLx110J8e3r6Om3Dux4kuRaoLZHxttks5thj8pgaJpZM4S5fQd.


TomEE 8 Microprofile Support

This for now includes specs up to MP 1.2. I'll keep working on this to add specs to push for MP 1.3.

@radcortez Thanks Roberto.
What is the status for this?
Is it ready to get reviewed?

I believe so. This has all the integration for MP 1.2.
A couple of tests fail due to https://github.com/apache/tomee/pull/142. We need to decide how to move forward with that.


P.S.A. CLA signing is failing

If you have already signed the CLA you may see PRs failing on this step. The team is aware and is working to mitigate this issue.

It is still failing. See https://github.com/microsoft/winget-pkgs/pull/59671

@vedantmgoyal2009 I believe that was their first PR, and they did need to sign the CLA.


pharos-cloud-controller

Still bit "unstable", takes few minutes to everything get ready properly. I'm still bit unsure what causes the crash loops in the start, everything gets up-and-running in few minutes after cluster initialization
Uses still my privately build image, need to change that to the common registry once proven stable.

Let's wait for #1186 to land and then I'll refactor this on top of that as "managed cloud provider".

@jnummelin #1186 is now merged.

Refactored on top of #1186


Modify ansible configuration

Describe the bug

Where was this configured and I would like to modify it.

OrbStack does not use Ansible by default. That documentation section tells you how to use Ansible with OrbStack if you want to.

Now I have created two machines, alma named alma9 and ubuntu named ubuntu1804. How can I use the ssh command to connect these two machines as root


[joy-ui][Autocomplete] Fix spread key error in test

Fixes a React warning caused by key being spread. This only happens starting with React 18.3

@DiegoAndai this should be the last spread key warning in our tests. I double checked. Demos is another story (as we saw in the Autocomplete demos) because this is a runtime error that is triggered only when the piece of JSX runs. In the case of Autocomplete, most warnings were triggered when opening it.


Wrong type declarations are imported when using with dagre

Describe the bug
When I have both G6 and dagre in my project typescript declarations reference dagre-compound instead of @types/dagre and that causes an error:
Argument of type '{ width: number; height: number; }' is not assignable to parameter of type 'GraphOptions'.

I suspect that G6 overrides module declaration for dagre.
Note, that I'm not using G6's built-in algorithms and use custom node positioning.
Your Example Website or App
https://codesandbox.io/s/imports-conflict-g6-dagre-pxmy7s?file=/src/App.tsx
Steps to Reproduce the Bug or Issue
Hover over g.setGraph({ width, height }); to see type error
Expected behavior
I expect types to be imported from @types/dagre and not from dagre-compound package.
Screenshots or Videos
No response
Platform

OS: MacOS
Browser: Chrome
Version: 103

Additional context
No response

dagre-compound does override module declaration of dagre to support hierarchically nested DAG layout,  I'll check it and solve this problem :)

@simplejason Thank you for your assistance! Looking forward to those changes

@simplejason Thank you for your assistance! Looking forward to those changes

I will try to use types of dagre instead of declared by dagre-compound, the previous types definition of dagre was missing some necessary properties so I override the declaration. But now it seems to have updated @types/dagre, so I will try to remove the declaration in dagre-compound to check if it still can work :)

@simplejason Awesome! Let me know if I can help with testing it

Hey, @simplejason! Any updates on this issue?
Unfortunately, dagre-compound doesn't seem to be an open source lib, otherwise I could have provided a PR myself

Hey, @simplejason! Any updates on this issue? Unfortunately, dagre-compound doesn't seem to be an open source lib, otherwise I could have provided a PR myself

Sorry for this :( I plan to finish it in this week (of course I will try my best to resolve it ASAP)

Hey, @simplejason! Any updates on this issue? Unfortunately, dagre-compound doesn't seem to be an open source lib, otherwise I could have provided a PR myself

Hi @sklinov you can install<EMAIL_ADDRESS>to check if it can work as except, I will release v0.12.0 after all things work well :)

Hi @sklinov Please check dagre-compound under version 0.0.12 can work well in your project(or just re-install G6), I will close this issue after if there are no other problems :)

@simplejason Thanks a lot! I'll try to do this within a day and get back to you with my feedback

@simplejason Looks good to me in the sandbox with latest versions of G6 and dagre-compound 👍

@simplejason Looks good to me in the sandbox with latest versions of G6 and dagre-compound 👍

Cool, so I will close this issue :)


The Raised Sword requiring subscription

After the 4 initial levels it gets stuck as "The Raised Sword" level keeps asking for subscription.
Tried different languages and creating different accounts, even though it keeps asking for subscription.

Hey @jway945, see this forum thread – we are offering a cheaper subscription in Brazil to help with the currency issues, but it doesn't have as much free content.


Wiki in English.

Hi, is there anyway you can prepare the wiki in english as it's hard to understand!

Hi, is there anyway you can prepare the wiki in english as it's hard to understand!

Hi Devspm, if you want get wiki for english , you can post email to me . I'm happy help to you!
My email is<EMAIL_ADDRESS>


Getting Locale error message when sshing to Linux hosts

Trying to connect to Red Hat Enterprise Linux 7.x hosts I am getting the following:
You are attempting to use a locale that is not installed.

The WSL I am using is Ubuntu 18.04.
Is there a way to set Locale in the settings (didnt see one)

This hasn't got much to do with Extraterm itself. What is happening is that ssh is passing a whole bunch of environment variables on to the remote (red hat) host. By default a lot of variables related to locale are passed through. (Many which start with LC_*). One of those is the locale and it looks like that variable is set in WSL but is not supported on your Red Hat host.
I don't know right off the top of head which variable it is, but you'll have to figure that out and then either change it to something valid before using ssh, or maybe there is some option or flag for ssh to let you override it.

Thanks for the pointer! I will take what you have given me and look a bit deeper. I will close this out since it is not related to Extraterm but to the env vars.


Fix #2185 make wrong command return non-zero value

Description
Uncomment os.Exit(1)
Motivation and Context
Fixes #2185
How Has This Been Tested?
make checks successfully
Checklist:

[x] I have added a Signed-off-by.
[x] I have either added documentation to cover my changes or this change requires no new documentation.
[x] I have either added unit tests to cover my changes or this change requires no new tests.
[x] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

Signed-off-by:Kai Chen<EMAIL_ADDRESS>

Just a nit: maybe adding some motivation (why this fixes that, OK I know it is trivial) would be good for documentational purposes.

LGTM, thanks


Possibility to Stop Auto Activation of the Extension in case of Implicit Activation Events

Since 1.74.0, VS Code is always implicitly populating activation events in case of certain extension contributions, e.g, in case of languages contribution. However, this is not always desirable as the extension may want to check some other conditions as well before deciding to activate. Currently there does not seem any way to disable this compulsory auto activation.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Small fixes and polish

Add URL for the sub-pages to "reset" apps
Update text in get_involved and minor copy edits elsewhere
Timeline -> Timelines
Update Google Font included and actually use it for the header
Move static content templates to a subfolder
Fix typo in README

thanks for the catch!


Inline CFSTR rendering occasionally breaks on Enterprise whenever architecture plugins load before workflow_objc

Inline CFSTR rendering occasionally breaks on Enterprise whenever architecture plugins load before workflow_objc

Resolved in 3bbf294


see description

no collision menu and input (animation)?

What do you mean?

is there an option in imgui that lets you, for example, walk and do something on the menu, and when I open it is animation?

is there an option in imgui that lets you, for example, walk and do something on the menu, and when I open it is animation?

You mean 3D menu? Because I really dont know but I think your english is crapp.

What do you mean?

I think he meant Description of Cheat Functions.
Let's say When you take you take mouse pointer over Bhop in Misc, It'll show what will happen if you activate Bhop.

Just like onetap.su
this would be great for new people trying the cheat out

https://youtu.be/EvTV0U2grXU?t=726

He basically wants to move when the menu is still open.

it called "tooltips"

@effex1337 nice decryption of the question XD

it called "tooltips"
no its not XD

input (animation) - The fade in and out imgui, sorry my eng isn't good.


Fix client/server span classification

The Span object has custom logic to set Span#isRpc and Span#isClient based
on the tags passed into Span#setTag.
Creating a Span using SpanBuilder bypasses this logic causing Span#isRPC to be
false. This causes ThriftSpanConverter to use lc annotations instead of sr/ss
This commit sanitizes input from SpanBuilder so that setting tags on the
SpanBuilder results in the same behavior as setting a tag on the Span.

Coverage remained the same at 78.704% when pulling bbfa3eb722c9bfd87763ed84b314dc46c39a6f16 on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.

Coverage remained the same at 78.704% when pulling abbc9c21e558833e51f7d3f6d6e0ffd78a042876 on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.

Coverage remained the same at 78.704% when pulling a7b9cd36759f9dfcffdb41abe8f4002fcc346648 on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.

Accidentally staged more hunks than I meant to, undoing.

Coverage remained the same at 78.704% when pulling 66bf80d7ccef4e5d62fa58f144da869521cb0b2a on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.

Coverage remained the same at 78.704% when pulling 66bf80d7ccef4e5d62fa58f144da869521cb0b2a on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.

Coverage remained the same at 78.704% when pulling 66bf80d7ccef4e5d62fa58f144da869521cb0b2a on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.

Coverage remained the same at 78.704% when pulling 66bf80d7ccef4e5d62fa58f144da869521cb0b2a on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.

Coverage remained the same at 78.704% when pulling 66bf80d7ccef4e5d62fa58f144da869521cb0b2a on fix_lc_traces into 2bcca420bfec4734a088a92becb692a169d4f438 on master.


Not importing Textures?

I exported a basic cube from Blender with a texture on it to USD, on reimport to Blender the cube loads back in just fine with its material and texture assigned. In Unity, when importing the same file (the textures are in a subfolder next to the USD file when exported by Blender), it imports without textures.
Here is the example file attached, is there anything else I should be doing to get textures loading in? The documentation doesn't describe how to import textures from subfolders exported, I assumed it would work the same way Blender does?
USDTest2.zip

If you set the the Materials option on the UsdAsset behavior to Import Preview Surfaces it should load the texture properly. The default value loads the vertex colors

I'm oddly having issues with importing the model back into Blender with the textures applied now despite it working fine earlier. I'll put that down to a Blender version issue though and will try the experimental Nvidia Omniverse branch for that. For now I will close this issue, USD feels very experimental in support still so I hope to return to this in a few months.


mobile: v2 implementation

Here's an initial implementation of mobile-v2, which will replace https://github.com/lightninglabs/lightning-terminal/pull/526. This is distinguished from the initial mobile branch proof of concept by:

Usage of the litd proxy to route requests to subservers
New terminal entrypoint instead of duplicated logic in bindings.go

There needs to be a refactor and some review around this code, so I am opening it as a draft PR.
Note: java protoc code generation was not compiling for loop.proto, seems like the deprecated field id may be causing protoc to create conflicting implementations of getIdBytes() between the new and old id types. Removing the deprecated id fields in SwapResponse and SwapStatus fixes the issue.

CC @kaloudis

Coming soon: glue code for loop/pool/tapd for proper dialing

@kaloudis: review reminder

@roasbeef: review reminder
@guggero: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@guggero: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@guggero: review reminder
@kaloudis: review reminder

@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

Is there the ability to build the package with select subservices, and not others (eg. build w/ Taproot Assets and Loop, but not Pool)? If so, it's not documented in the README

No, not yet. For that we'd need to put a bunch of configuration code behind build flags.

@kaloudis have you been able to integrate this PR as is?

@roasbeef: review reminder
@kaloudis: review reminder

Was having some issues building but with Kevin's help was able to build for Android and iOS. Need to set Docker file sharing implementation to gRPC FUSE if using macOS
related: https://stackoverflow.com/questions/77256594/getting-sed-couldnt-open-temporary-file-permission-denied-error-in-docker-sc

Next up for the Zeus POC is to find a way to add LNC and Speedloader calls to the exposed methods. Tried to simply replace the LND dependency in the go.mod with replace github.com/lightningnetwork/lnd => github.com/ZeusLN/lnd v0.17.4-beta-zeus.1 but that didn't do the trick

Was able to build lightning-terminal mobile with Speedloader and LNC added to it. Working on a POC with Tapas in ZEUS next.

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

Hi @djkazic, I'm running this PR in integrated mode on IOS.
When I make requests to tapd, I always get Error: rpc error: code = Unknown desc = invalid macaroon: verification failed: signature mismatch after caveat verification
But requests to Lnd works fine.
this is what my conf file looks like
# Application Options
lnd-mode=integrated
network=testnet
uipassword=password
faraday-mode=remote
loop-mode=remote
pool-mode=remote

# Lnd
lnd.debuglevel=info
lnd.maxbackoff=2s
lnd.nolisten=1
lnd.norest=1

# Lnd - bitcoin
lnd.bitcoin.active=1
lnd.bitcoin.testnet=1
lnd.bitcoin.node=neutrino

# Lnd - Neutrino
lnd.neutrino.addpeer=btcd-testnet.lightning.computer
lnd.neutrino.feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json

# Lnd - Autopilot
lnd.autopilot.active=1
lnd.autopilot.private=1
lnd.autopilot.minconfs=1
lnd.autopilot.conftarget=16
lnd.autopilot.allocation=0.5
lnd.autopilot.heuristic=externalscore:0.95
lnd.autopilot.heuristic=preferential:0.05

# Lnd - Routing
lnd.routing.assumechanvalid=1

What could be wrong ?

I've seen that before when using the wrong macaroon.

I can drop the changes needed to fix this in a commit, one sec.

@johnanisere I pushed a fix.

Thanks @djkazic. Works fine now

Hi @djkazic , I can't find the taproot assets api for subscribing to receive events for incoming asset transfers (https://lightning.engineering/api-docs/api/taproot-assets/taproot-assets/subscribe-receive-events) in the IOS framework generated.
I can see the one for subscribing to send events though. Is this intentional?

This is likely a proto file issue. Looking into this now.

Force pushed the latest proto files. Should be working now.

Thanks @djkazic , now I get these errors when I run make ios
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:190:27: undefined: assetwalletrpc.CommitVirtualPsbtsRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:202:30: undefined: assetwalletrpc.CommitVirtualPsbtsRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:203:18: client.CommitVirtualPsbts undefined (type assetwalletrpc.AssetWalletClient has no field or method CommitVirtualPsbts)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:219:27: undefined: assetwalletrpc.PublishAndLogRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:231:30: undefined: assetwalletrpc.PublishAndLogRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:232:18: client.PublishAndLogTransfer undefined (type assetwalletrpc.AssetWalletClient has no field or method PublishAndLogTransfer)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:304:27: undefined: assetwalletrpc.QueryInternalKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:316:30: undefined: assetwalletrpc.QueryInternalKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:317:18: client.QueryInternalKey undefined (type assetwalletrpc.AssetWalletClient has no field or method QueryInternalKey)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:331:27: undefined: assetwalletrpc.QueryScriptKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:331:27: too many errors
# github.com/lightninglabs/lightning-terminal/mobile
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:190:27: undefined: assetwalletrpc.CommitVirtualPsbtsRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:202:30: undefined: assetwalletrpc.CommitVirtualPsbtsRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:203:18: client.CommitVirtualPsbts undefined (type assetwalletrpc.AssetWalletClient has no field or method CommitVirtualPsbts)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:219:27: undefined: assetwalletrpc.PublishAndLogRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:231:30: undefined: assetwalletrpc.PublishAndLogRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:232:18: client.PublishAndLogTransfer undefined (type assetwalletrpc.AssetWalletClient has no field or method PublishAndLogTransfer)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:304:27: undefined: assetwalletrpc.QueryInternalKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:316:30: undefined: assetwalletrpc.QueryInternalKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:317:18: client.QueryInternalKey undefined (type assetwalletrpc.AssetWalletClient has no field or method QueryInternalKey)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:331:27: undefined: assetwalletrpc.QueryScriptKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:331:27: too many errors
# github.com/lightninglabs/lightning-terminal/mobile
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:190:27: undefined: assetwalletrpc.CommitVirtualPsbtsRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:202:30: undefined: assetwalletrpc.CommitVirtualPsbtsRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:203:18: client.CommitVirtualPsbts undefined (type assetwalletrpc.AssetWalletClient has no field or method CommitVirtualPsbts)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:219:27: undefined: assetwalletrpc.PublishAndLogRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:231:30: undefined: assetwalletrpc.PublishAndLogRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:232:18: client.PublishAndLogTransfer undefined (type assetwalletrpc.AssetWalletClient has no field or method PublishAndLogTransfer)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:304:27: undefined: assetwalletrpc.QueryInternalKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:316:30: undefined: assetwalletrpc.QueryInternalKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:317:18: client.QueryInternalKey undefined (type assetwalletrpc.AssetWalletClient has no field or method QueryInternalKey)
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:331:27: undefined: assetwalletrpc.QueryScriptKeyRequest
/Users/johnanisere/go/src/github.com/lightninglabs/lightning-terminal/mobile/assetwallet_api_generated.go:331:27: too many errors
/Users/johnanisere/go/bin/gomobile: ios/arm64: go build -tags mobile,-s,-w,-buildid=,-X,github.com/lightningnetwork/lnd/build.Commit=lightning-terminal-v0.12.2-alpha-23-g447a9fb066c5dfd8380417e96f3c0843d7e45d7e,-X,github.com/lightningnetwork/lnd/build.CommitHash=447a9fb066c5dfd8380417e96f3c0843d7e45d7e,-X,github.com/lightningnetwork/lnd/build.GoVersion=,-X,github.com/lightningnetwork/lnd/build.RawTags=litd,autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc,neutrinorpc,peersrpc,-X,github.com/lightninglabs/lightning-terminal.appFilesPrefix=,-X,github.com/lightninglabs/lightning-terminal.Commit=v0.12.2-alpha-23-g447a9fb066c5dfd8380417e96f3c0843d7e45d7e,-X,github.com/lightninglabs/loop.Commit=v0.26.6-beta,-X,github.com/lightninglabs/pool.Commit=v0.6.4-beta.0.20231003174306-80d8854a0c4b,-X,github.com/lightninglabs/taproot-assets.Commit=v0.3.2 -v -buildmode=c-archive -o /var/folders/t5/styjmbqd34q6f9pt1gnk_np00000gn/T/gomobile-work-622384700/Litdmobile-ios-arm64.a ./gobind failed: exit status 1

make: *** [ios] Error 1```

OK so the fundamental issue is that bumping the proto file like that without bumping the dependency is a chicken or egg problem.
@johnanisere we are blocked until taproot-assets cuts a new release. That functionality you described is newer than the latest release (0.3.3).

I'll push a revert of the proto files for now.

Alright, Got it @djkazic

Hi @djkazic, I noticed that all requests to Lnd fail until it's fully synced to the chain.
Request to  GetInfo also fails, which makes it difficult to calculate sync progress.

I believe that is due to lnd still starting up. Rpc active does not mean it is done. Server active status is needed for rpc requests to be routed.

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

Hi @djkazic ,
There seem to be something wrong with tor setup of Litdmobile.
when ever i run Litdmobile with the tor config below, I get this error :
could not load config: ValidateConfig: listening must be enabled when enabling inbound connections over Tor.
Here is what my config file looks like
# Application Options
lnd-mode=integrated
network=testnet
uipassword=password
faraday-mode=remote
loop-mode=remote
pool-mode=remote

# Lnd
lnd.debuglevel=info
lnd.maxbackoff=2s
lnd.nolisten=1
lnd.norest=1

# Lnd - bitcoin
lnd.bitcoin.active=1
lnd.bitcoin.testnet=1
lnd.bitcoin.node=neutrino

# Lnd - Neutrino
lnd.neutrino.addpeer=btcd-testnet.lightning.computer
lnd.neutrino.feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json

# Lnd - Autopilot
lnd.autopilot.active=1
lnd.autopilot.private=1
lnd.autopilot.minconfs=1
lnd.autopilot.conftarget=16
lnd.autopilot.allocation=1
lnd.autopilot.heuristic=externalscore:0.95
lnd.autopilot.heuristic=preferential:0.05

# Lnd - Routing
lnd.routing.assumechanvalid=1

# Lnd - Tor
lnd.tor.socks=<IP_ADDRESS>:9050
lnd.tor.control=<IP_ADDRESS>:9051
lnd.tor.active=1
lnd.tor.v3=1
lnd.tor.password=somepassword
lnd.listen=localhost

lnd.nolisten=1 is the problem:
https://github.com/lightningnetwork/lnd/blob/4417229bc800752691217c27a7ce615e98c94135/config.go#L1100

lnd.nolisten=1 is the problem:
https://github.com/lightningnetwork/lnd/blob/4417229bc800752691217c27a7ce615e98c94135/config.go#L1100

oh, thanks @djkazic

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

@roasbeef: review reminder
@kaloudis: review reminder
@viktortigerstrom: review reminder

Closing due to inactivity

Closing due to inactivity

Closing due to inactivity

Closing due to inactivity

Closing due to inactivity

Closing due to inactivity

Closing due to inactivity

Closing due to inactivity

Closing due to inactivity

!lightninglabs-deploy mute


Finalize and develop popup display for the extension

Visualise how the popup for the extension will look.

Popup presented and ready as of the latest commit today.


WIP: Add extensions to php build in dockerfile

For now, doesn't compile on my machine, but I'll investigate further 👍

Idea: we could adapt the Dockerfile of the official PHP image (ZTS version), so we could use the semi-official script they provide to add extra extensions. WDYT?

I think it would be great to have the official PHP Image as a base image so we can use the extension installer of it, to adding third party extension easier (redis, imagick, vips, grpc, ..).

The problem is that the official PHP images don't contain @dunglas's changes (yet), so unless we modify the source code manually as a hack from inside the dockerfile, it won't be possible yet. And the official PHP dockerfile is downloading a tar file from php.net, not using the git repo, and to my knowledge it's not possible to "hack into" an existing dockerfile.
I'm not sure we can't do anything with the official image unless @dunglas's customized php-src can be merged.
Or we should copy/paste the contents from the docker-php-* scripts there, but I'm not sure how tied to the Dockerfile they are 😕

We could copy/paste/adapt the official Dockerfile to use my temporary fork of PHP. The main benefit would be that we'll keep compatibility with all existing docs and script regarding PHP and Docker.
Using the vanilla images will not be possible soon because we also need a Go build chain (but we should build the Go app in a dedicated stage to not ship the go tool chain in the final image).

Is it possible that without these extensions we cannot use mysql doctrine via frankenphp sf?

Because i add a container mysql for use a database mysql but it doesn't work .
`In ExceptionConverter.php line 117:
An exception occurred in the driver: could not find driver
In Exception.php line 28:
could not find driver
In Driver.php line 27:
could not find driver  `

@MakFly for now, since PHP is built from source in FrankenPHP, it also needs to build the different PHP extensions, such as pdo-mysql in your case. Since building the extensions needs more work, it is an ongoing process :)

https://github.com/mlocati/docker-php-extension-installer/blob/78e9e45c4c3c83867ff2145e274841237a85de05/install-php-extensions#L15 -- looks like you only need to create compatible binaries/scripts for using this script, if you wanted to go that way.

FWIW, I started on a multi-stage build for this, but I can't get the docker image to build locally:
frankenphp.c: At top level:
#24 27.48 frankenphp.c:16:10: fatal error: C-Thread-Pool/thpool.h: No such file or directory
#24 27.48    16 | #include "C-Thread-Pool/thpool.h"
#24 27.48       |          ^~~~~~~~~~~~~~~~~~~~~~~~
#24 27.48 compilation terminated.

@withinboredom to git submodules need to be installed not sure what the correct comment is for this but: git submodule update --init --recursive worked for me.

@Pierstoval

And the official PHP dockerfile is downloading a tar file from php.net, not using the git repo, and to my knowledge it's not possible to "hack into" an existing dockerfile.

If its only about the tar we can also get a tar from github.
Maybe then something like this is enough but did not test it:
FROM php:8.2.0RC4-zts-bullseye AS php-base

ENV PHP_URL="https://github.com/dunglas/php-src/archive/refs/heads/frankenphp-8.2.tar.gz"
ENV PHP_ASC_URL=""
ENV PHP_SHA256=""

FROM golang:bullseye AS builder

# ...

Fixed by #33. Thanks for the PR!!


is there a simple way to use "regex", like bootstrap-validator "pattern"

bootstrap-validator (
http://1000hz.github.io/bootstrap-validator/) support "pattern", code like this:
<input type="text" pattern="^[\-A-z0-9]{1,}$" placeholder="don't use _ in domain and uri, use -, like foo-bar" name="name" maxlength="15" class="form-control"  required>

does react-bootstrap-validation have a simple way to using "regex"?

done.
<ValidatedInput type="text" label="Name" name="name"
  validate={ v => /^[a-zA-Z0-9]+([\-\.]{0,1}[a-zA-Z0-9]+)*$/.test(v)}
  errorHelp="don't use _ in domain and uri, use -, like foo-bar"
/>

How to use pattern and required validations using validate?


More information is needed in introductory part

There should be more detail in the introduction part, as a beginner, I want to know what is c#, what is Dotnet, and why I should learn Dotnet with C#?
🎓Student Ambassador

@Hamna7577 Please list any topic suggestions you have - thank you

@Hamna7577 we have added to our VNext backlog to add more explanations - esp. short vides that break up long sections of text.
Thanks


Running gopls under vscode with the experimental workspace mode enabled.
What did you expect to see?
Gopls starting with no errors
What did you see instead?
Error loading workspace: err: exit status 1: stderr: go: updates to go.sum needed, disabled by -mod=readonly : packages.Load error
The generated gopls.mod file looks reasonable:

module gopls-workspace

go 1.12

require (
	changestream v1.9999999.0-goplsworkspace
	example.com/db_utils v1.9999999.0-goplsworkspace
	example.com/metrics_reporter v1.9999999.0-goplsworkspace
	file-diff v1.9999999.0-goplsworkspace
	file-proxy v1.9999999.0-goplsworkspace
	github.com/example/example/sre v1.9999999.0-goplsworkspace
	github.com/example/infra-tools/dbops v1.9999999.0-goplsworkspace
	github.com/example/infra-tools/explainer v1.9999999.0-goplsworkspace
	github.com/example/livequery v1.9999999.0-goplsworkspace
	harmonizer v1.9999999.0-goplsworkspace
	realtime v1.9999999.0-goplsworkspace
	vt-backfill-checker v1.9999999.0-goplsworkspace
	web-logger v1.9999999.0-goplsworkspace
	webhooks v1.9999999.0-goplsworkspace
)

replace changestream => /Users/me/example/example/changestream

replace file-diff => /Users/me/example/example/file-diff

replace file-proxy => /Users/me/example/example/file-proxy

replace example.com/db_utils => /Users/me/example/example/go/common/db_utils

replace harmonizer => /Users/me/example/example/harmonizer

replace github.com/example/infra-tools/dbops => /Users/me/example/example/infra-tools/dbops

replace github.com/example/infra-tools/explainer => /Users/me/example/example/infra-tools/explainer

replace example.com/metrics_reporter => /Users/me/example/example/infra-tools/metrics_reporter

replace github.com/example/livequery => /Users/me/example/example/livequery

replace realtime => /Users/me/example/example/realtime

replace github.com/example/example/sre => /Users/me/example/example/sre

replace vt-backfill-checker => /Users/me/example/example/vt-backfill-checker

replace web-logger => /Users/me/example/example/web-logger

replace webhooks => /Users/me/example/example/webhooks

I've run go mod tidy in each individual module directory, so they are all clean.  I've attached the gpls server trace from vscode.
gopls_trace.txt
This is essentially the issue reported here: https://github.com/golang/go/issues/44097 except I can't fix it by tiding the independent modules.

Thanks for your report, and for taking the extra time to investigate the generated gopls.mod and produce a trace.
Looking through the logs, this pops out:
/Users/me/example/example/gopls.mod:51: unknown directive: ~/example/example
Did you use '~' in any of your go.mod files?

No, I don't have that in any of my mod files.  I think what happened here is that I gave you a trace that included the time when I manually generated the gopls.mod file and maybe was editing it.  I've generated a new trace from when I just started to when I get the errors, which should help focus.  Sorry about that.
gopls_trace_2.txt

I tried deleting all the go.sum files and rebuilding all the projects to regenerate them, but that didn't help either.

This probably doesn't help, but I discovered the allowModfileModifications setting in vscode preferences and set it.  Now I don't get the error, but my trace included a bunch of notifications like:
[Trace - 00:05:05.874 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/08/03 00:05:05 discovered missing identifiers: map[memRecordCycle:true pageBits:true]\n\tpackage="runtime"\n"}
Also gopls seems to work fine after this.  Sadly it didn't modify any go.mod/go.sum files as I had hoped, so there are no diffs to show, unless those modifications are hidden from me somehow.
I attached the new trace, though it might not be interesting.
trace3.txt
Let me know if there is anything else I can try.

This probably doesn't help, but I discovered the allowModfileModifications setting in vscode preferences and set it. Now I don't get the error, but my trace included a bunch of notifications like:This probably doesn't help, but I discovered the allowModfileModifications setting in vscode preferences and set it.

This will allow modifying the temporary go.mod and go.sum files used by the experimental workspace module, so we could conceivably try capturing these and diff.
If you're willing, you can do this as follows:

Start a gopls session in experimental workspace mode.
Look for a folder like /tmp/gopls-<pid>.N/workspace.N, where pid is the process ID of your current gopls instance.
Copy the go.mod and go.sum files from that directory.
Do the same with allowModfileModifications=true, and diff.

If you could do this, it would go a long way toward helping us understand the bug.

Params: {"type":3,"message":"2021/08/03 00:05:05 discovered missing identifiers: map[memRecordCycle:true pageBits:true]\n\tpackage="runtime"\n"}

Sorry, this is spammy logging that we should remove. It's not related.

Look for a folder like /tmp/gopls-.N/workspace.N

More specifically: look in the effective temp directory on darwin -- I think it should be specified by $TMPDIR if it's not /tmp.

Thanks so much again for your help.  Sadly I did this several times and in every case the files in the gopls-pid.1 directory were the same with and without the option.  In addition there were directories like gopls-workspace-modDDDDDDDDD, these also contained go.mod and go.sum files, and these too were exactly the same in all cases.

Hi, would it be possible for you to share your repro? It's surprising that the go.mod or go.sum files are the same.


Saved explores and Explore UDF Updates

Update explore udf to fix new parameters that we swapped. Mark function as STABLE so it can be used as a query instead of a mutation.
Add saved explores schema and manual tests
Fixed uppercase for role in saved queries manual tests
Updated sqlq

Addressing following points:

Change explore_ui to a STABLE udf which will require the UI to consume as a query and not a mutation. This should allow postgres to create better plans for the queries too.
Committer when and/or author when filters.
Query results are returning 1001 and not 1000 results (In Explore Modal as well as Query Editor page).
Modals are not giving a warning if there are more than 1000 results like we have in the queries experience.

Addressing following points:

Don’t show any charts just some sort of empty state like we do in /repos when we don’t have any repos.
Make Explore a top level Nav element and make it the primary one.
Number of repos indexed by explore piece of UI/query.
Manage links directly to the “special” explore sync, which we’ll need a way of fetching the UUID for.
Optimizing a little the performance using useMemo() hook in some parts of the application.


import qiskit doesn't work

Informations

Qiskit Terra version: 0.7.0
Python version: 3.7.0
Operating system: OSX

What is the current behavior?
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-5-d44eb5a7400f> in <module>
----> 1 import qiskit
      2
      3 q = QuantumRegister(1)
      4 c = ClassicalRegister(1)
      5 circ = QuantumCircuit(q, c)

/usr/local/lib/python3.7/site-packages/qiskit/__init__.py in <module>
     24 from qiskit.circuit import QuantumRegister
     25 from qiskit.circuit import QuantumCircuit
---> 26 from .tools.compiler import (compile, execute)
     27
     28 # Please note these are global instances, not modules.

/usr/local/lib/python3.7/site-packages/qiskit/tools/__init__.py in <module>
     16 """
     17
---> 18 from .compiler import (compile, execute)
     19 from .monitor import job_monitor

/usr/local/lib/python3.7/site-packages/qiskit/tools/compiler.py in <module>
     10 import logging
     11
---> 12 from qiskit import transpiler
     13 from qiskit.transpiler._passmanager import PassManager
     14 from qiskit.converters import circuits_to_qobj

/usr/local/lib/python3.7/site-packages/qiskit/transpiler/__init__.py in <module>
     13 from ._fencedobjs import FencedDAGCircuit, FencedPropertySet
     14 from ._basepasses import AnalysisPass, TransformationPass
---> 15 from ._transpiler import transpile, transpile_dag
     16 from ._parallel import parallel_map
     17

/usr/local/lib/python3.7/site-packages/qiskit/transpiler/_transpiler.py in <module>
     22 from qiskit.converters import dag_to_circuit
     23 from ._parallel import parallel_map
---> 24 from .passes.mapping.unroller import Unroller
     25
     26

/usr/local/lib/python3.7/site-packages/qiskit/transpiler/passes/__init__.py in <module>
     10 from .cx_cancellation import CXCancellation
     11 from .fixed_point import FixedPoint
---> 12 from .mapping.check_map import CheckMap
     13 from .mapping.basic_mapper import BasicMapper
     14 from .mapping.direction_mapper import DirectionMapper

ModuleNotFoundError: No module named 'qiskit.transpiler.passes.mapping'

Steps to reproduce the problem
import qiskit, or from qiskit import *, etc.
What is the expected behavior?
Qiskit should get imported.
Suggested solutions
Problem possibly related to #1455 ?

This should be fixed by #1480.

Yeah, this will be fixed by #1480 . Also fwiw I wanted to add this to our ci so we could catch failures like this some time ago with:  https://github.com/Qiskit/qiskit-terra/pull/1201

Although now that I think about it some more I'm not sure that #1201 will catch this because it's using editable mode which just sets a link for the package.

This should be fixed now that #1480 has merged.


format stores as a table

@necrobious hopefully you don't mind me adding a link to your DynamoDB crate here.


Better explain the differences between ExecuteInTransaction and BeginTransaction

The differences between ExecuteInTransaction (Async) and Begin-/Commit-/RollbackTransaction are not obvious and should be better explained.
See also https://learn.microsoft.com/en-us/dotnet/api/system.data.entity.database.begintransaction?view=entity-framework-6.2.0

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1b3f7aa2-df0d-abe1-0c04-13e0fc07286c
Version Independent ID: b62d9d58-7729-1ec0-70d8-f2491aa2d66b
Content: ExecutionStrategyExtensions.ExecuteInTransactionAsync Method (Microsoft.EntityFrameworkCore)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore/ExecutionStrategyExtensions.xml
Product: ef-core-api
GitHub Login: @dotnet-bot
Microsoft Alias: avickers

@wertzui You are commenting on the EF Core docs, but the link references EF6. Which are you using?

Sorry, that was the wrong link.
I'm using EF Core.
This should be the correct link to the EF Core documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.infrastructure.databasefacade.begintransaction?view=efcore-6.0

@wertzui Have you tried looking at the documentation on transactions and connection resiliency?

Thanks for the links.
I think, https://learn.microsoft.com/en-us/ef/core/miscellaneous/connection-resiliency#option-3---add-state-verification explains it quite good.
However I was unable to find it myself so just some interlinking between the pages would help guide other people to the right documentation.


Adding new users to private streams

There seems to be different behavior when I add users to a private stream in different ways.
When I add a completely new user and invite them to the private stream in that initial setup they can see all historical messages.
However, if I invite an existing user to the stream they can only see messages after they were invited.
Is this something I can tweak?

Hmm. The former sounds like a bug; the privacy rule for private streams should be that you can only see messages sent after you joined, regardless of mechanism.

Hmm, yeah, I think the bug is that process_new_human_user in zerver/lib/actions.py adds 100 historical messages to the user's history so they don't start with a totally empty view ... but doesn't filter for private streams.  @ajparsons I think the fix is to change this code in process_new_human_user:
recipients = Recipient.objects.filter(type=Recipient.STREAM,
                                          type_id__in=[stream.id for stream in streams])

to
recipients = Recipient.objects.filter(type=Recipient.STREAM,
                                          type_id__in=[stream.id for stream in streams if not stream.invite_only])

I'll create a PR for this fix and attach it to this issue; it'd be great if you could test this in your installation and confirm whether or not it fixes it.


screen complains about missing terminfo entry for xterm-ghostty

My use casse is pretty simple:

Log into a remote server
Launch screen

The result is that screen does not start because it can't find a terminfo entry for xterm-ghostty.
➜  ~ ssh<EMAIL_ADDRESS>Linux samantha 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jul  4 09:26:30 2024 from <IP_ADDRESS>
xxx@yyy:~# screen
Cannot find terminfo entry for 'xterm-ghostty'.

For those who are looking for the corresponding document, see here: https://ghostty.org/docs/help/terminfo
Seems like the docs have moved to the homepage