[FABN-1564] SubjectDN extensibility

In multiple places we have only common name as input for building X509
Subject.
We should allow directly full input of subject
Signed-off-by: david<EMAIL_ADDRESS>

Generally looks good to me. Just some minor tweaks

Thanks again. Agree all all feedback. WIP


Add support some run options

Signed-off-by: Xian Chaobo<EMAIL_ADDRESS>

ping @vieux @abronan

LGTM


Add more example options

Please add more examples, because there is now example on how we can test a component that has been wrapped in the DynamicModuleLoader ?

Can you give an example of what exactly you are trying to test?
Dynamic module loader just adds redux artifacts to the store. The underlying components and its tests need not know about redux-dynamic-modules.

So I have a component that looks like this:
const Example = () => (
  <DynamicModuleLoader modules={[module()]}>
    <ExampleComponent />
  </DynamicModuleLoader>
);

I want to be able to test this component without using the react-redux Provider component
describe('Example', () => {
  it('should render correctly', () => {
    render(
      <Provider store={store}>
        <Example />
      </Provider>
    );
  });
});

So basically what I mean is can I mock DynamicModuleLoader ?

The ExampleComponent should know nothing about DynamicModuleLoader.
What is the test case and asserts you expect in your test?
Are you trying to test that the component is wrapped with DynamicModuleLoader with given set of modules?

@navneet-g Yes


lowercase all and updates userSeeds

I got an errror while running npm run develop, couldn't figure out why. I converted this to draft so we don't merge it by mistake


Where is the code of adaptive face splitting?

I did not see the code that does the adaptive face splitting in GEOMetric.py.
Could you guide me to the position?

I could see that part of the code in the old_GEOMetrics folder. But should it be used in the new folder?

No, I leave it out in the interest of large speed ups from vectorization.

Could you make it public?

@KnightOfTheMoonlight the code is public already here.  Face splitting is not a post-processing step. It happens during learning. Quite a bit of work was put into making the adjacency matrix update somewhat efficient.

@EdwardSmith1884 as your updated code does not contain the face slit part, your updated results from this comment https://github.com/EdwardSmith1884/GEOMetrics/issues/1#issuecomment-593428137 are obtained from no face split part too?

Yes this is with no space splitting.

@EdwardSmith1884 Then this is against your ablation study part in your paper. Table 2. You have proven face split has improve the performance from 50.33 to 56.61.

No, this improvement is from:

using different regularization parameters
training with all classes simultaneously
the increased training time afforded by increased speed of the model.

The face splitting was removed so that I could vectorize the training process, and make it as fast as possible.


Add kafka partition key tag

Summary
Currently, plog can only send kafka message with null key. This PR adds a new plog tag pk so that user can specify the kafka partition key. This change is backward compatible. If no pk tag is specified, null key is used and messages are sent to partitions in round-robin.
How was it tested?
Started a kafka cluster locally and created a topic with 5 partitions. Wrote a program that keep sending messages with different pk tags (pk:key1, pk:key2, pk:key3). Verify that all the messages with the same pk tag are sent to the same kafka partition.
Reviewer
@brianwolfe

@jerchung  PTAL. Changed the key to String.


Release 1.11.3

After merging PR #23, I'd like to release 1.11.3. It only adds BSON support to OrderedDictionary.

go ahead :)

I created 1.11.3 via github, that was good. After I tried to move 1.11 to point to the same commit but I couldn't. Should I skip web ui and use "git tag --force" to move the existing tag?

yep ;)

done, thkns


[1.16.5] Mob removals feature doesn't work

Should be straightforward,
crash report: https://pastebin.com/chY5PSxf

Apologies, I'll get on this.

For some reason deleting the config file didn't work, but deleting the entire .minecraft folder worked, probably because one of my performance mods, anyway, it works now, it was a problem on my end, thanks anyway ^^, you are the first modder to actually fix a critical error in fabric 1.16.5


Web serber is no longer available

Hello,
all links about RSMP returns a 404 error:
For instance:
https://rsmp-nordic.org/rsmp_specifications/core/3.2/applicability/basic_structure.html#alarm-messages

Same for all links in https://github.com/rsmp-nordic/rsmp_specifications
Best regards,

Thank you for your help.


Flesh out instructions for working with development version

Added clarification on the steps to run on Linux to get setup with Conda to build and run the tests.

for windows I had to use these instructions https://www.mantidproject.org/Building_With_MinGW_On_Win64.html

@AnthonyLim23 I've added those instructions from the wiki. Let me know if there is anything else you think needs doing.


Event Queue

Description:

Short Description of the needed Epic in the below format
A way to track events (state changes and user comments) for all requests at the assigned, watcher and team level.

As an IAO analyst and ministry coordinator

I want a way to easily find what is happening with all the requests assigned to me or my team

so that I know what actions I need to take

What are the most critical features being built as part of this Epic

Expected Outcome – Justification why this Feature must be built, what is expected value and justification for priority.

User feedback is that they find it difficult to track where a request is as they need to go into each request individually and see the comments. As a result some our still relying on their team inboxes which are the most common tool they use to prioritize there work.
The event queue will build off the functionality of the request queue.
Sizing

T-shirt size:

[x] S
[ ] M
[ ] L
[ ] XL

(S=1-2 Sprints, M=2-3 Sprints, L=4-5 Sprints, XL=not sure, probably more than 5 Sprints).

Risks and Assumptions*

[ ] What are assumptions?
[ ] What are the risks?
[ ] Have we done an RFC on a technical approach?
[ ] Are the dependencies (technical, business, regulatory/policy) known?
[ ] Has work on this Epic been prioritized with key stakeholders?

Closing this epic, as it was released in 8.0


#4181 Let linked-schema change work for BETA tablet

We should cover the schema_version_convert in UT, which is error-prone.

Please add an ISSUE to describe the problem you fixed.

Please add an ISSUE to describe the problem you fixed.

Issue is in the commit title
#4181

LGTM


[stable/prometheus-operator] bump requirements

Signed-off-by: Arthur Outhenin-Chalandre<EMAIL_ADDRESS>
What this PR does / why we need it:
This is a simple version bump on chart dependencies. I am interested in particular with the grafana chart 5.3.1 which fixes a bug for ldap configuration.
Special notes for your reviewer:
I can only bump the grafana version, if multiple bumps in one PR is too much.
Checklist

[X] DCO signed
[X] Chart Version bumped
[X] Title of the PR starts with chart name (e.g. [stable/mychartname])

The CI is green now :) (I was using helm3 instead of helm2 to update dependencies).
/assign @bismarck

/ok-to-test

@MrFreezeex can you rebase?

@MrFreezeex can you rebase?

Done and I also updated the grafana chart to 5.5.1.

/hold
Let’s hold PRs to stable/prometheus-operator chart for a short time until https://github.com/prometheus-community/community/issues/28#issuecomment-672933972 is resolved. If you want to help with that effort, to test etc, that would be great!

🚧 This chart is now deprecated.
Further development has moved to prometheus-community/helm-charts. The chart has been renamed kube-prometheus-stack to more clearly reflect that it installs the kube-prometheus project stack, within which Prometheus Operator is only one component.
If applicable, please re-open this PR there. Thanks!


mov.rms~ outputs dBFS by default, should be [0:1]

Hey
I upgraded to PlugData 0.8.2, shipped with Else 1.0-rc10 and one of my patches has its gain reduction all messed up because of it.
It had several [mov.rms~ 64], and i can get the original behavior by changing them to [mov.rms~ -lin 64].
I think you altered mov.rms~ to output dBFS by default. Am i mistaken to think that it should output [0:1] by default, being an "rms" object ?

I think you altered mov.rms~ to output dBFS by default.

yup sorry, this was for consistency, and when the plugdata final version is out (1.0) I will compromise to not try and fix anything because of something like that.
but anyway, I don't understand your problem or the issue

My issue is that the default behavior changed, which broke my calculation. If it doesn't change anymore, i'm good ! Thx


Venv is not activated on already opened terminal on start up

Issue Type: Bug
Below is my settings.json:
{
    "terminal.integrated.shellArgs.windows": [
        "-NoLogo"
    ],
    "workbench.startupEditor": "none",
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "editor.formatOnType": true,
    "code-runner.runInTerminal": true,
    "code-runner.saveFileBeforeRun": true,
    "workbench.panel.defaultLocation": "right",
    "terminal.integrated.copyOnSelection": true,
    "python.languageServer": "Pylance",
    "python.pythonPath": "C:/Users/AmericaN/Desktop/Lab/MyEnv/Scripts/python.exe",
    "code-runner.executorMap": {
        "python": "$pythonPath -u $fullFileName"
    },
    "code-runner.ignoreSelection": true,
    "remote.SSH.remotePlatform": {
        "My": "linux"
    },
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
    "python.autoComplete.addBrackets": true,
    "python.terminal.activateEnvInCurrentTerminal": true,
    "files.exclude": {
        "**/.vscode": true,
        "**/MyEnv": true
    },
    "code-runner.showExecutionMessage": false,
    "python.analysis.completeFunctionParens": true,
    "workbench.editorAssociations": [
        {
            "viewType": "jupyter.notebook.ipynb",
            "filenamePattern": "*.ipynb"
        }
    ],
    "python.showStartPage": false
}

open any .py file and leave the intergrated termianl open.
close and reopen vscode.
you will find that the enviroment is not activated.

But if i closed the terminal and reopened it again, so the enviroment will be activated.
And here's the log from Python log:
User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonDiscoveryModulecf'
User belongs to experiment group 'pythonTensorboardExperimentcf'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled'
User belongs to experiment group 'CollectLSRequestTiming - control'
> conda --version
> pyenv root
> python3.7 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3.7 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3.6 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -2 c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\AmericaN\Desktop\Lab\MyEnv\Scripts\python.exe c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
Python interpreter path: .\MyEnv\Scripts\python.exe
Starting Pylance language server.
Error 2021-03-28 05:27:16: Detection of Python Interpreter for Command py and args -3.6 failed as file Python 3.6 not found!

 -3.9-64 does not exist
Error 2021-03-28 05:27:16: Detection of Python Interpreter for Command py and args -3.7 failed as file Python 3.7 not found!

 -3.9-64 does not exist
Error 2021-03-28 05:27:16: Detection of Python Interpreter for Command python3 and args  failed as file  does not exist
Error 2021-03-28 05:27:16: Detection of Python Interpreter for Command py and args -2 failed as file Python 2 not found!

 -3.9-64 does not exist
Error 2021-03-28 05:27:16: Failed to get interpreter information for 'C:\Users\AmericaN\AppData\Local\Microsoft\WindowsApps\python.exe' [Error: Command failed: "C:\\Users\AmericaN\AppData\Local\Microsoft\WindowsApps\python.exe" "c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py" "c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\interpreterInfo.py"
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

	at ChildProcess.exithandler (child_process.js:312:12)
	at ChildProcess.emit (events.js:315:20)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:443:11)
	at Socket.emit (events.js:315:20)
	at Pipe.<anonymous> (net.js:674:12)] {
  killed: false,
  code: 9009,
  signal: null,
  cmd: '"C:\\\\Users\\AmericaN\\AppData\\Local\\Microsoft\\WindowsApps\\python.exe" "c:\\Users\\AmericaN\\.vscode\\extensions\\ms-python.python-2021.3.680753044\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\AmericaN\\.vscode\\extensions\\ms-python.python-2021.3.680753044\\pythonFiles\\interpreterInfo.py"'
}
Error 2021-03-28 05:27:16: Failed to get interpreter information for 'C:\Users\AmericaN\AppData\Local\Microsoft\WindowsApps\python3.exe' [Error: Command failed: "C:\\Users\AmericaN\AppData\Local\Microsoft\WindowsApps\python3.exe" "c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py" "c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\interpreterInfo.py"
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

	at ChildProcess.exithandler (child_process.js:312:12)
	at ChildProcess.emit (events.js:315:20)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:443:11)
	at Socket.emit (events.js:315:20)
	at Pipe.<anonymous> (net.js:674:12)] {
  killed: false,
  code: 9009,
  signal: null,
  cmd: '"C:\\\\Users\\AmericaN\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe" "c:\\Users\\AmericaN\\.vscode\\extensions\\ms-python.python-2021.3.680753044\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\AmericaN\\.vscode\\extensions\\ms-python.python-2021.3.680753044\\pythonFiles\\interpreterInfo.py"'
}
> conda --version

Extension version: 2021.3.680753044
VS Code version: Code 1.54.3 (2b9aebd5354a3629c3aba0a5f5df49f43d6689f8, 2021-03-15T10:55:45.459Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.86GB (7.83GB free)

Process Argv
--crash-reporter-id b6c0830d-6a13-4115-8888-7dc0b49df85d

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt700cf:30270857
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30276681
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythonvsnew554cf:30280384
pythontbcf:30265426
vspre833:30267464
pythonptprofiler:30281270
vshan820cf:30276953

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority.
Thanks for your understanding and patience!

@AmericanY Unfortunately I'm unable to reproduce the issue in the latest version of the extension when using powershell. We can try a few things:

Please make sure that the extension is fully activated.
Can you try installing an older version of the extension, and see if your problem happens?

You can follow the prompts from "Extensions: Install Specific Version of Extension..." in the command palette:

Or you can open the extensions side bar, click on the settings for the Python extension and pick "Install Another Version...":

If it doesn't help, I'll have to ask you to please narrow down the settings and create the minimalistic example which reproduces this, i.e delete all the settings except "python.terminal.activateEnvInCurrentTerminal": true and see if this happens. Please send the logs as well.

@karrtikr I've deleted the full setting except "python.terminal.activateEnvInCurrentTerminal": true and tried to install different of previous versions but the issue is still exist.
The issue is only exist once i open the vscode for the first time but if i killed the terminal and reopened it again. then the environment will be activated.

here after i killed the terminal and opened a new one.

20210329T223200.zip

Thanks for the info. Although I'm not sure what might be going on, so these are few other things to try,

What happens if you use File->Open folder... to open the folder containing the file, and then add the following to your workspace settings, (.vscode/settings.json)

{
    "python.pythonPath": ".MyEnv\\Scripts\\python.exe",
    "python.terminal.activateEnvInCurrentTerminal": true
}

Try adding "python.experiments.optInto": ["All"] in user settings
Try adding "python.experiments.optOutFrom": ["All"]

If none of these help, we'll have to wait for other users before attempting to further investigate the issue.

@karrtikr Unfortunately, that's still not solve the issue. also i noticed that if i used .MyEnv\\Scripts\\python.exe with the dot notation so it's will not recognize the environment.
On the other side, using experiments it's helps out to clean the log from the error mentioned above as you previously mentioned here --> https://github.com/microsoft/vscode-python/issues/15674#issuecomment-800338760

Apologies, I actually meant for the path to be .\\MyEnv\\Scripts\\python.exe. I have edited my original comment as well.

@karrtikr Yep, i tired that now and the issue still exists.

I had the same issue. Because I have identical environments in my home and work machines and the problem appeared only in one of them, I decided to completely remove (including cached data) and reinstall vs code. That solved the problem.
My error log was:
> python c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2021-03-30 22:39:56: autoSelectInterpreter, Class name = f, completed in 426ms, has a falsy return value, Arg 1: <Uri:d:\projects\python\example>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined [TypeError: Invalid Version: 3.7
	at new $ (c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:77201)
	at Function.Y [as compare] (c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:80546)
	at c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:1:70759
	at Array.sort (<anonymous>)
	at Object.t.sortInterpreters (c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:1:70724)
	at y.getBestInterpreter (c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:730186)
	at h.onAutoSelectInterpreter (c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:61:701269)
	at h.autoSelectInterpreter (c:\Users\User1\.vscode\extensions\ms-python.python-2021.3.680753044\out\client\extension.js:9:280757)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)]

@neriusmika @karrtikr Just reinstalled vscode and the issue still exist!

@AmericanY, have you deleted c:\Users\<user>\.vscode\ and c:\Users\<user>\AppData\Roaming\Code\ directories before reinstalling?

@neriusmika Yep, i did that twice actually and the issue still exist.

@AmericanY This is not true. I am using version 1.55.0, as I showed above, and I still have the same problem. venv never activates in the open terminal (I have had it open for hours now).

@adamgranthendry can you paste the commit ? Be advised that the last commit is just released today !

I updated today a few hours ago. The commit is c1859, the latest:

@adamgranthendry could you please paste the log for Python

@AmericanY Yes I can. It appears it is looking for conda. I do not use conda.
User belongs to experiment group 'pythonaacf'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'pythonFindInterpretercf'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'CollectLSRequestTiming - control'
Starting Pylance language server.
Python interpreter path: .\.venv\Scripts\python.exe
> c:\Users\hendra11\Code\Tutorials\python\pytest-tutorial\.venv\Scripts\python.exe c:\Users\hendra11\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir c:\Users\hendra11\Code\Tutorials\python\pytest-tutorial -s --cache-clear
cwd: c:\Users\hendra11\Code\Tutorials\python\pytest-tutorial
> conda --version

Interesting, maybe adding a timeout to conda --version command could help. Is this always the log?
Do you have conda installed?

@karrtikr, I think it's always looking for conda. I don't have conda installed either, but this line is in my log too. It's probably a part of virtual environment checking.

Yes, it's fine if it's in the logs, as long as it does not get stuck on it, i.e it's not the last line of the log always.

@karrtikr I do not have conda installed, and yes, it always gets stuck at conda --version.
@neriusmika Agreed.

I too don’t have conda installed . by default it’s always looking for it. I would suggest to post your settings.json to check if there’s any setting conflict during startup @adamgranthendry

@AmericanY @karrtikr @neriusmika Here are my settings:
User settings.json:
{
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.formatOnSave": true,
"editor.rulers": [
90
],
"editor.suggestSelection": "first",
"explorer.compactFolders": false,
"explorer.confirmDragAndDrop": false,
"files.exclude": {
"**/.git": false
},
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"git-graph.referenceLabels.alignment": "Branches (aligned to the graph) & Tags (on the right)",
"gitflow.views.feature.showRemoteBranches": false,
"glassit.alpha": 255,
"java.help.firstView": "gettingStarted",
"java.home": "C:\Users\hendra11\AppData\Local\Programs\AdoptOpenJDK\jdk-<IP_ADDRESS>-hotspot",
"json.format.enable": true,
"mypy.configFile": "${workspaceFolder}\mypi.ini",
"mypy.executable": "${workspaceFolder}\.venv\Scripts\mypy.exe",
"mypy.targets": [
".",
"${workspaceFolder}"
],
"python.envFile": "${workspaceFolder}/.venv",
"python.experiments.optOutFrom": [
"All"
],
"python.formatting.provider": "black",
"python.languageServer": "Pylance",
"python.linting.mypyEnabled": true,
"python.linting.mypyPath": "${workspaceFolder}\.venv\Scripts\mypy.exe",
"python.linting.pylintEnabled": true,
"python.pythonPath": "${workspaceFolder}\.venv\Scripts\python.exe",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": true,
"restructuredtext.builtDocumentationPath": "${workspaceFolder}\docs\build\html",
"restructuredtext.confPath": "${workspaceFolder}\docs\source",
"restructuredtext.languageServer.disabled": true,
"restructuredtext.sphinxBuildPath": "${workspaceFolder}\.venv\Scripts\sphinx-build.exe",
"screencastMode.keyboardOverlayTimeout": 1500,
"screencastMode.mouseIndicatorSize": 20,
"screencastMode.onlyKeyboardShortcuts": true,
"screencastMode.verticalOffset": 0,
"terminal.integrated.fontFamily": "CaskaydiaCove NF",
"trailing-spaces.syntaxIgnore": [
"markdown"
],
"update.enableWindowsBackgroundUpdates": false,
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.colorTheme": "Predawn",
"workbench.editor.enablePreview": true,
"workbench.editorAssociations": [
{
"filenamePattern": "git-rebase-todo",
"viewType": "default"
},
{
"filenamePattern": "*.ipynb",
"viewType": "jupyter.notebook.ipynb"
}
],
"workbench.iconTheme": "material-icon-theme",
"workbench.settings.editor": "json",
"workbench.settings.openDefaultSettings": true,
"workbench.settings.useSplitJSON": true,
"workbench.startupEditor": "newUntitledFile"
}
Workspace settings.json:
{
"folders": [
{
"path": "C:\Users\hendra11\Code\Tutorials\python\pytest-tutorial"
}
],
"settings": {}
}
Folder settings.json:
{
"python.pythonPath": ".venv\Scripts\python.exe"
}

Can't auto detect venv. Though it works if you set the path manually.
OS: Win10 21H1 x64
Python: 3.9.2 from MS Store
I don't have conda installed.

@imba-tjd Are you saying you are experiencing the same issue as well?

I think my issue is more close to the source issue.
It's because venv isn't detected so that "Venv is not activated on already opened terminal on start up"

Sadly to inform you that the issue still exists. seems it's all about .vscode file within the current open folder.

@AmericanY What specifically is happening with the .vscode file that is causing the issue? What is the culprit?

@adamgranthendry seems that .vscode is getting created within the current workspace folder once the env activated where it's hold pythonPath. sometimes deleting it and re-run vscode, it's getting the env to activated without any issue (sometimes not.)

@adamgranthendry even https://github.com/microsoft/vscode-python/issues/15798?_pjax=%23js-repo-pjax-container#issuecomment-810725403 mentioned that

it's been a while! is there a solution for that issue?

@AmericanY Unfortunately we're unable to reproduce this at all. By your comments, it seems like it's flaky, can you try the following,
"python.experiments.optInto": ["pythonDiscoveryModuleWithoutWatcher"]

and see if it helps. Please provide the logs again if it doesn't

I'm having the same issue on every machine I use, all running v1.56.2

@JackLilhammers Can you please fill the issue template which has the logs, and try https://github.com/microsoft/vscode-python/issues/15798#issuecomment-847462574 and see if helps?
Set python.logging.level  to info  in user settings and then reload. Then check the logs as follows,
Logs

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

XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

XXXX

Unfortunately setting this option did not help
"python.experiments.optInto": ["pythonDiscoveryModuleWithoutWatcher"]
However this is my report
Environment data

VS Code version: 1.56.2 (system setup)
Extension version (available under the Extensions sidebar): v2021.5.842923320
OS and version: Windows_NT x64 10.0.19042
Python version (& distribution if applicable, e.g. Anaconda): 3.9.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Value of the python.languageServer setting: "Pylance"

Expected behaviour
The virtual environment be activated on opening even if VSCode was closed with the terminal open
Actual behaviour
The virtual environment isn't activated and the terminal must be killed and launched again
Steps to reproduce:

Open the terminal
Close VSCode
Open VSCode

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 'pythonaacf'
User belongs to experiment group 'pythonJoinMailingListVar3'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'pythonFindInterpreter'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
Python interpreter path: .\.venv\Scripts\python.exe
Starting Pylance language server.
> conda --version

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

electron/js2c/renderer_init.js:61 The vm module of Node.js is deprecated in the renderer process and will be removed.
t._load @ electron/js2c/renderer_init.js:61
console.ts:137 [Extension Host] (node:16600) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.(Use `Code --trace-deprecation ...` to show where the warning was created)
S @ console.ts:137
abstractExtensionService.ts:802 [ms-vscode.powershell]: Command `workbench.action.positionPanelLeft` appears multiple times in the `commands` section.
abstractExtensionService.ts:802 [ms-vscode.powershell]: Command `workbench.action.positionPanelBottom` appears multiple times in the `commands` section.

Thanks for the info. However, did you set python.logging.level as instructed earlier? Looking at the logs it seems it has not been set yet.

Yes, I did. At least I think I did, maybe I made a mistake. Does is make a difference if I set it in the workspace settings?
However I'll make a new log tomorrow from my work pc to see if there are any differences

Yes, actually the setting is only available in User scope. You can use Open User settings command from the command palette and set it there. Appreciate the effort!

@karrtikr I've updated my comment with the logs from my work pc, which has the same Windows, Code, Python, and extensions versions of my laptop. Now with log level "info"

Hi There,
The issue still exist till now.
Python Log:
User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'pythonSurveyNotificationcf'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
Python interpreter path: .\MyEnv\Scripts\python.exe
Starting Pylance language server.
Error 2021-06-07 17:40:22: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'c:\Users\AmericaN\Desktop\Lab\.vscode\settings.json' (Error: Unable to resolve non-existing file 'c:\Users\AmericaN\Desktop\Lab\.vscode\settings.json')
	at _handleError (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:87:156171)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async y.readText (c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.5.842923320\out\client\extension.js:9:344717)
	at async p.doesFileNeedToBeFixed (c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.5.842923320\out\client\extension.js:59:581560)
	at async c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.5.842923320\out\client\extension.js:59:580687
	at async Promise.all (index 1)
	at async p.getFilesToBeFixed (c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.5.842923320\out\client\extension.js:59:580633)
	at async p.updateTestSettings (c:\Users\AmericaN\.vscode\extensions\ms-python.python-2021.5.842923320\out\client\extension.js:59:580260)] {
  code: 'FileNotFound'
}
> conda --version

My Current Settings:
{
    "code-runner.executorMap": {
        "python": "$pythonPath -u $fullFileName"
    },
    "code-runner.ignoreSelection": true,
    "code-runner.runInTerminal": true,
    "code-runner.saveFileBeforeRun": true,
    "editor.formatOnPaste": true,
    "editor.formatOnSave": true,
    "editor.formatOnType": true,
    "files.exclude": {
        "**/.vscode": true,
        "**/MyEnv": true
    },
    "python.analysis.completeFunctionParens": true,
    "python.autoComplete.addBrackets": true,
    "python.languageServer": "Pylance",
    "python.pythonPath": "~\\Desktop\\Lab\\MyEnv\\Scripts\\python.exe",
    "python.showStartPage": false,
    "python.terminal.activateEnvInCurrentTerminal": true,
    "python.venvPath": "~\\Desktop\\Lab",
    "terminal.integrated.copyOnSelection": true,
    "terminal.integrated.defaultProfile.windows": "PowerShell",
    "terminal.integrated.profiles.windows": {
        "PowerShell": {
            "source": "PowerShell",
            "args": [
                "-NoLogo"
            ]
        }
    },
    "terminal.integrated.tabs.enabled": false,
    "workbench.editorAssociations": [
        {
            "filenamePattern": "*.ipynb",
            "viewType": "jupyter.notebook.ipynb"
        }
    ],
    "workbench.panel.defaultLocation": "right",
    "workbench.startupEditor": "none"
}

Screenshot when i just opened vscode:

Screenshot after close and open new terminal:

As you see on the new opened terminal: the environment got activated and PowerShell args NoLogo got respected!
@karrtikr

Screenshot when i just opened vscode:

I cannot see in the screenshot if the extension has been activated yet. Can you also show if the status bar shows the interpreter selected?

@karrtikr

@karrtikr for somehow after the latest update for Python and VSCode. the issue got solved :)

@AmericanY I've just updated and the issue is still present. Maybe for someone has been fixed, but if that's the case it doesn't seem a general solution...

I am experiencing this issue as well.

Can folks here add "python.experiments.optOutFrom": ["pythonDiscoveryModuleWithoutWatcher", "pythonDiscoveryModule"] to their User settings and see if it helps?
Make sure "python.experiments.optInto" doesn't contain either of these entries.

Thank you! It seems to be working again for me without any modifications on my part. I will give that a shot if this happens again.

@karrtikr I've just upgraded to v1.57.1 and tried the options you mentioned, but nothing changed

@JackLilhammers Thanks for trying it out, and providing the logs in https://github.com/microsoft/vscode-python/issues/15798#issuecomment-849197717. Looks like we do not log enough related to terminal activation, so it's hard to tell what might be going wrong.
I'll try to bundle an extension soon where we do proper logging and share it to you. After that I'll again require the info I asked here https://github.com/microsoft/vscode-python/issues/15798#issuecomment-849197717 when you opt into experiment, sounds good?
Meanwhile, can you try installing an older version of the extension (older than 2021.3.680753044), and see if your problem happens?
You can follow the prompts from "Extensions: Install Specific Version of Extension..." in the command palette:

Or you can open the extensions side bar, click on the settings for the Python extension and pick "Install Another Version...":

Thank you, I'll run your logging extension on all my machines when is ready.
In the meantime I don't know if I'll be able to run a previous version in the next days, but within a week or so I'll post the logs.
However I don't think there will be any differences.
I can't remember if it ever worked for me, but I'm quite sure I've been having this issue for more than a year, so 2021.3 is not old enough, maybe I'll try some version from 2019

I see, you do have python.activateEnvInCurrentTerminal set in user settings, correct?

F*ck me. I did't know that. 🤦♂
I should have read the documentation more thoroughly or better searched the available options.
I read only Using Python environments in VS Code, but that option is explained in the Python settings reference
I'll submit a PR to the documentation page trying to make it more explicit.
I'm so sorry I wasted your time.

I'll submit a PR to the documentation page trying to make it more explicit.

Thank you... well glad you got it working! Closing this.

Not a big deal, but I'm more confused than I was before now. I don't seem to be experiencing any issues at least at the moment even though I (intentionally) do not have python.terminal.activateEnvInCurrentTerminal set, because terminal.activateEnvironment defaults to true. I think the only purpose of the former setting is when you don't want to relaunch your terminal or VSCode after setting up your virtual environment.

terminal.activateEnvironment is used to determine whether to activate environment on a newly opened terminal, whereas python.terminal.activateEnvInCurrentTerminal determines whether to activate an already opened terminal when you open VSCode. If you don't have the latter set, any already opened terminal will not be automatically activated when extension loads. Hope that clarifies it.

No, I already understood that, but it seems like @JackLilhammers may have been experiencing some bug where the terminal only activates when python.terminal.activateEnvInCurrentTerminal is set even though this shouldn't be a necessary step unless he never restarted VSCode? In any case, I should let him speak for himself.

From now on I'll be extremely cautious before saying anything :'D, however what do you mean by never restarting VSCode?
Does open/close count as restarting?

Yes, although on Mac OS X, one would have to actually quit the program since Mac OS X leaves programs open by default. Anyways, just food for thought if you notice something funny in the future.


Newer version of bitCount()

This updates ctrie.bitCount() from "version 1" to "version 3" of Jörg Arndt's 32-bit bitcount function (according to http://www.jjj.de/bitwizardry/files/bitcount.h)
I'm quite inexpert at these things, but benchmarking definitely suggests an improvement here (certainly it generates a lot less assembly). Hand-writing the assembly would probably be even better, but I suspect that might be beyond the realm of practical benefits, given that my general benchmarks suggest <4% of overall CPU time is spent here.

+1
@alexandercampbell-wf @dustinhiatt-wf @stevenosborne-wf

+1

+1

+1


WIP: add statuscake monitor

Trello card
Context
Changes proposed in this pull request
Guidance to review

 SSL statuscake monitor for adviser-getintoteaching.education.gov.uk


Support experiments in Active plugins

Task/Issue URL: https://app.asana.com/0/488551667048375/1207977093713099/f
Description
Add support for experiments in active plugins.
Add support to force active plugins enabled for internal builds.
Steps to test this PR
Feature 1

[ ]
[ ]

#4860  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @aitorvs and the rest of your teammates on  Graphite


Support React-Hot-Loader v3

Looks like React on Rails should allow this:
https://github.com/gaearon/react-hot-loader/tree/master/docs#migration-to-30
When we call ReactDOM.render, we could automatically create the AppContainer if a preference for hot relading is set.
import React from 'react'
import ReactDOM from 'react-dom'
import { AppContainer } from 'react-hot-loader'
import App from './containers/App'

ReactDOM.render(
  <AppContainer>
    <App/>
  </AppContainer>,
  document.getElementById('root')
);

// Hot Module Replacement API
if (module.hot) {
  module.hot.accept('./containers/App', () => {
    const NextApp = require('./containers/App').default;
    ReactDOM.render(
      <AppContainer>
        <NextApp/>
      </AppContainer>,
      document.getElementById('root')
    );
  });
}

Anybody want to try this and submit a PR?

@Judahmeek does the new hot loader require any changes to React on Rails?

No, it does not. React on Rails already supports hot reloading with RHL 3 ([Example](https://github.com/retroalgic/react-on-rails-hot-minimal perfectly demonstrates)).

@Judahmeek This looks more like a doc than a code issue.

We need to update https://github.com/shakacode/react_on_rails/blob/master/docs/additional-reading/hot-reloading-rails-development.md with what was done on https://github.com/shakacode/react_on_rails/pull/865
Any volunteers?

I go for it :-), i want easy hot module replacement on my project.

@EEtancelin I've changed the tag on this one to mark it as owned by you. Please get back to me soon to let me know of the progress and any questions.

Supporting hot loader changes is out of scope for React on Rails currently.


Doesn't handle console errors from the MSW package

Hey,
First of all, thank you so much for this wonderful tool, it helps keeping our tests clean from all sorts of unintended console messages.
We're using jest-fail-on-console along with Mock Service Worker "MSW". We configured msw to report error when it encounters an unhandled request during tests. It is working correctly and we can see the console error. However, this console.error is not picked up by jest-fail-on-console. We also discovered that setting it to warn will fix the issue and the test will fail as expected.
I looked into how MSW is implementing both cases, and found out that in case of error, MSW is throwing an actual error after the console.
I'm not sure if this affects how jest-fail-on-console works. It might be an issue with MSW itself, or something else, I don't really know. Do you have an idea?
Thanks in advance.

This is surprising because we use pretty much the same config. See how we initialize them both:


Added Cylindrical Shape for Persistent Volume

Signed-off-by: Ashish Ranjan<EMAIL_ADDRESS>
What this PR does / why we need it:

This adds cylindrical shape for persistent volume .

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:


Autocomplete component warning

Does sound like something is wrong.  If it's a false-positive, any way to suppress it?  It appears on every file page.

This appears when you type "@" in the comments field


Ctrl+enter doesn't execute notebook cell

Version: 1.45.0-insider (user setup)
Commit: 9328b32008089c515f39a13db9c71e57c7d36823
Date: 2020-04-22T08:44:55.510Z
Electron: 7.2.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

On windows, it's ctrl+alt+enter. That label is sort of a temporary dummy while we decide what to put there, it's not worth fixing.

Eh I changed my mind


Integrade code lifecycle: Change priority of test exams and practice exercises

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I strictly followed the server coding and design guidelines.

Changes affecting Programming Exercises

[x] High priority: I tested all changes and their related features with all corresponding user types on a test server configured with the integrated lifecycle setup (LocalVC and LocalCI).

Motivation and Context

Changed priority depending on the programming exercise.

Real exam: priority 1
Test exam: priority 2
Graded course exercise (i.e. before due date): priority 2
Practice exercise (i.e. after due date): priority 3

Steps for Testing

You can thoroughly test this locally, follow the steps below, otherwise you can just make sure that everything works on TS3: Use Test Course Mohamed Bilel Besrour. Exams and exercises will be prepared.
Easy testing:

Go to TS3, use one of the student test users (artemis_test_user_1-5)
Go to course Test Course Mohamed Bilel Besrour
Make a submission for a test exam, real exam, exercise with past due data, exercise with future due date. The exams and exercises should already be there
Check that the submission worked and you get a result for your submission

Thorough testing (locally):
Prerequisites:

1 Admin
1 Programming Exercise with due date already passed
1 Programming Exercise with due data in the future
1 TestExam with programming exercise
1 Real Exam with programming exercise

Start artemis with these profiles: dev,localci,localvc,artemis,scheduling,core,ldap-only,local (we removed buildagent so that buildjobs stay in the queue and are not processed)
Make a submission foreach of the programming exercises stated in the prerequisites
Navigate to Build Overview
Under Queued Build Jobs, Make sure that each submission has the correct priority (as stated in the description) and that the queue is by default sorted according to the priority (lowest priority is highest in the queue)

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test 1
[ ] Test 2

Test Coverage

Screenshots

Summary by CodeRabbit

New Features

Refined priority calculation for exercises. Exam exercises now receive the highest priority, while exercises with past due dates are given the lowest priority.

@JohannesStoehr Thanks for the review! Adjusted the code so that individual due dates are taken into account. (used the latter date).
And I was already looking into how we could make the prioritization a bit better, thnx for metrics suggestions 👍


using regex_rewrite triggers false alarm for conflict with non-existent rewrite directive, gives incorrect notice in diagnostics

Describe the bug
using regex_rewrite in a Mapping definition causes Ambassador to incorrectly complain about specifying both regex_rewrite and rewrite even without a conflicting rewrite directive
To reproduce
consider a Mapping as follows:
apiVersion: getambassador.io/v2
kind: Mapping
metadata:
  name: foo
spec:
  prefix: /foo/
  regex_rewrite:
    pattern: /foo/(.*)
    substitution: /\1
  service: foo-service.default:80

checking the admin diagnostics page after reveals a notice like:

NOTICE: -global-: Cannot specify both rewrite and regex_rewrite: using regex_rewrite and ignoring rewrite

Expected behavior
it should correctly recognize there is no conflicting rewrite and not display said warning
Versions

Ambassador version 1.7.2 confirmed (although judging by code it appears to be a problem even now)
GKE

This has been released as part of Ambassador 1.9.0, which is now available.


C:\Users\铁皮.transparent-background does not exist.

Windows10
python 3.10
这段代码看起来好像是不支持中文路径，特别是我不是故意使用中文路径，而是user正好是中文
This code seems to not support Chinese paths, especially since I didn't use Chinese paths intentionally, but the user happened to be Chinese.
Traceback (most recent call last):
File "E:\AIWorkspace\ComfyUI-aki-v1.3\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "E:\AIWorkspace\ComfyUI-aki-v1.3\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "E:\AIWorkspace\ComfyUI-aki-v1.3\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\AIWorkspace\ComfyUI-aki-v1.3\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "E:\AIWorkspace\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Inspyrenet-Rembg\Inspyrenet_Rembg.py", line 69, in remove_background
remover = Remover(jit=True)
File "E:\AIWorkspace\ComfyUI-aki-v1.3\python\lib\site-packages\transparent_background\Remover.py", line 120, in init
torch.jit.save(self.model, os.path.join(ckpt_dir, ckpt_name))
File "E:\AIWorkspace\ComfyUI-aki-v1.3\python\lib\site-packages\torch\jit_serialization.py", line 83, in save
m.save(f, _extra_files=_extra_files)
File "E:\AIWorkspace\ComfyUI-aki-v1.3\python\lib\site-packages\torch\jit_script.py", line 753, in save
return self._c.save(str(f), **kwargs)
RuntimeError: Parent directory C:\Users\铁皮.transparent-background does not exist.

I have the same issue, but my name has this character in it: "é"

I also encountered this problem, did you solve it?


Can't Send Pictures More Than 2mb

So I enabled the ability to go all the way to 8mb that the bot would be able to forward for pictures, which used to work. Then enter some issues with my router and port forwarding, yadda yadda, and a month or so later, I'm finally able to turn that on again. But this is what I get when I send anything to the bot bigger than 2 mb. Any help?

The image appears to be explicit to Discord.  Try sending a different picture.

Well, but I tried a few different pictures. It seemed specifically related to size. Especially because that was just a picture of my desktop, which I’ve sent to it before. I’ll try it again, though.

The message you're getting is specifically from Discord's side. Try turning off the explicit content filter in your server's settings (under "Moderation"), and see if that helps.

Explicit content filter is already set to "Don't scan any messages." Was by default. It seems more like the bot has "Safe Direct Messaging" turned on all of a sudden, but I don't know how to turn that off.

So this is how it should look for my port forwarding, right? This is how it was when it briefly worked before, but now nothing.


Use dynamic user id in vm manager pulse audio

User id is hardcoded to 1000, this is not correct and causes issue when user id is different.
Tracked-On: OAM-111764

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/171/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/171/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/345/PR/7f4d556

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/172/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/172/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/345/PR/7c4db64

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/126/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/126/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/345/MR/7c4db64


Get Code Coverage Working

Moved to master issues repo: https://github.com/rangle/rangle-starter/issues/12


Scene component

This pull request adds a scene component to Home Assistant.
A scene is a set of states that describe how you want certain entities to be.
For example, light Ceiling should be a certain color and 200 brightness. Light TV Back light should be on:
scene:
  - name: Romantic
    entities:
      light.tv_back_light: on
      light.ceiling:
        state: on
        color: [0.33, 0.66]
        brightness: 200

A scene is active if all states of the scene match the real states.
If a scene is manually activated it will store the previous state of the
entities. These will be restored when the state is deactivated manually.
If one of the entities that are being tracked change state on its own, the
old state will not be restored when it is being deactivated.
To reproduce states, a new method has been added: homeassistant.helpers.state.reproduce_state(hass, state). This method is currently limited to entities that can be turned on/off.
This PR is adding another filter to the states partial in the frontend. So I decided to generalize the code that filters states.

Coverage decreased (-1.7%) to 64.53% when pulling 19a43cea263d89c8ab32ccfd16bade00929346af on scene-component into 36feb7f50ae3019b603e5478dd07d7796e7a9832 on dev.


Support dotted keys

Changed struct Key to SimpleKey. Key is now a vector SimpleKeys.
Changed key and key path parsing.
Added for_dotted in struct Table to keep track of tables created for dotted keys.
Work in progress. Especially insertion logic.
Needs more tests.

Looks in the right direction. Let me know when this is ready.

At first, upon parsing a dotted key, I tried to create a table for each simple key in the dotted key. But that made it difficult to to convert the AST back to string. That is, to print the dotted keys in the current table (at the current level in the AST), we'd have to descend into child tables (of the dotted key) until we hit the leaf node to get the full path of the dotted key. That's considerably messier than what we have now where we just walk the AST once and all information required to print the current table is in the current AST node of the table.
So I made the key of Table.items: KeyValuePairs into a vector
pub(crate) type KeyValuePairs = LinkedHashMap<Vec<InternalString>, TableKeyValue>;

And dotted keys would not have a table for each non leaf simple key part, but it would be in the items table, like simple keys.
Unfortunately, this means to_json in the tests no longer just work. Given
a.b.c = 1

we end up
"a.b.c": {
...
}

To fix this we'd have to create objects for the dotted keys in to_json and I'd probably have to replace the iterators and adapters there with loops because it's messy and I can't think of any other way to do it.
Thoughts?

@ironyman I don't think having a HashMap<Vec<Key>, _> is gonna fly. We want to be able to access the keys one by one, e.g. in the following toml
[dependencies.toml]
version = "0.5"

[dependencies.serde]
version = "1.0"

doc["dependencies"] should return a table and not simply fail. The same applies for dotted keys:
dependencies.toml = { version = "0.5" }
dependencies.serde = { version = "1.0" }

I think we don't store table headers (like [dependencies.toml]) in tables themselves, but still able to print it properly (see https://github.com/ordian/toml_edit/blob/b679b5e610b9a19f48fa0268f9174062e9c43962/src/display.rs#L80-L137).

Closing this because I made a new branch


Docker Piper - Piper_Length Enviroment Variable doesn't affect the Voices Length Scale

I'm not sure if this is the correct repo for the Wyoming protocol integration in Home Assistant but i'm trying to use the Linux Server docker image for Piper as i need to run Piper on my main server. But when i change the PIPER_LENGTH= 1.0 variable in the docker compose to say 1.5 it doesn't change the length. If i change the length_scale variable in the voices json file from 1.0 to 1.5 it eventually resets back to 1.0. I'm using LinuxServers docker image for Piper and using the Wyoming integration into Home Assistant so maybe the intergation is defaulting to a preset variable. But i cant alter the variables in the integration.

This is something you'll have to ask LinuxServers about. I don't maintain that Docker image, so I can't help unfortunately. If you know where their source Dockerfile is, I could see if they're passing in the parameter correction.

I spoke to them and i seems like it just took a while for it to change but it eventually did. I will close this issue


When will the Detectron2 based code be released?

Hello @hf1995, thanks for your interest in our work.
We are now busy adding QueryInst to mmdetection library (https://github.com/open-mmlab/mmdetection/pull/6050, https://github.com/open-mmlab/mmdetection/issues/6000). The model will be augmented, please stay tuned.
We will extend QueryInst to other tasks such as panoptic segmentation based on mmdet lib, and we have no plan to release the D2 code recently.


Improve torque bar

I've been playing around with this two versions (nothing serious yet, just mockups)

Doc: https://github.com/CartoDB/cartodb-management/wiki/Embeds-revamp

Like the 2nd one a log.. Can you try with the barchart with gaps?

Also vertical alignement needs some fixes though...

Also looks like the components on the map were moved up...

Wow this is top, looking forward to implementing it :)

@saleiva @fdansv thanks guys! and oops, fail... yes, I had to increase the white background 20px and move the elements. I'll finish it tomorrow :+1:
Do you think that would be interesting to mark those bars that have passed already?
Yup, maybe with a darker grey.

test also with some edge cases like when there is only few steps (3, 4) or too many (2048 is the max). Also take into account the graph needs time to load the data.
Another questions: does the graph show the global activity or the activity of the area currently watching?

For the time being, global activity

@javisantana Okay!
It shows the global activity

After trying different versions with color variaton, I think that we could variate color depending on the basemap. If it's dark, white bar chart. If not, black.
(I had to move and increase size of some elements)

full frame:

Gaps:

We can't fit 2048 bars there :( any idea?

global activity could kill the performance since it needs to fetch the 0,0,0 tile so I'd think about how to avoid that in some cases

Why not display local activity? It'd be cool to have that graph change with viewport changes.

Re 2048 bars what's the maximum number of bars that you can display? From some value onwards we'll have to aggregate them.

We are not doing anything contextual yet so better to show global activity until we swicth all components

@fdansv It depends on the map size, but on those designs: 101 desktop. 60 mobile.

I aligned some things:

I've tried a variation as well (with less visual noise)

I prefer the bars, but still don't like the weight unbalance on the vertical alignement...

Updated version by: @saleiva

I would paint the passed ones blue

cc @andrewxhill

whhhhhaaaaat? deployed?

no no, part of the new embed :)


optimize decimal: reduce validation when construct the decimal array or cast to the decimal array

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When we use the ballista/datafusion to execute some query( the table has may decimal data type), and perf the cpu.
The validation of decimal cost a lot of cpu about 5% from below picture.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

In the arrow-rs, there are many places to generate the decimal array.
If the precision/range of the target decimal is larger than the source decimal/data value, we don't need to validation the generated decimal array.
For example, Reading the decimal(n,0) from parquet int64 column and the n is greater equal to 18, we don't need to verify the result of the decimal array, because the value from int64 will not be overflow the target precision.
From above the method, we use less cpu for decimal data type.

Also potentially related to this, the way decimal data is currently read from parquet is hopelessly inefficient #2318. I keep meaning to fix it, but I haven't got to it yet. Perhaps I can find some time this weekend... :thinking:

Also potentially related to this, the way decimal data is currently read from parquet is hopelessly inefficient #2318. I keep meaning to fix it, but I haven't got to it yet. Perhaps I can find some time this weekend... 🤔

Your optimization will improve the performance of reading decimal data.
This issue may reduce unnecessary validation for generated decimal array.

Decimal also can be deserialized from INT32 or INT64 type of parquet

This PR https://github.com/apache/arrow-rs/pull/2383 may have improved performance as well

[ ] add no validation in the decimal array, optimize performance of the cast and other operation
[ ] optimize the performance of reading data from parquet file


Resolve diskspace issues with ubuntu images used in the azure pipelines

We have an issue that keeps on cycling where CI runs out of diskspace at various points
Mostly this is due to the currently provisioned ubuntu image taking up huge amounts of space with dotnet and lots of other arbitrary build environments we would never use, and if we did we would use specific versions anyway
As the branches work a little differently in presubmit/postsubmit/releases this can break things unexpectedly - its an ongoing issue that just keeps coming back
The main hack we have used to resolve is uninstalling and in some cases just rm -rf large parts of the filesystem - but that takes quite a long time so is really undesirable if its not necessary
If it was possible to customize the base image and just use something with a very minimal set of requirements for our CI this problem would just go away and save everyone a lot of time and stress

cc @lizan @mattklein123

apart from all the useless bloat in the image, the stuff it has installed is installed badly
for example, it has a version of skopeo that is not in any repo anywhere - including microsoft's custom debs repo - they have just compiled it and installed it randomly and you have no way of knowing where it came from or how it got there

looking at this further it seems like the problem we have is that we are using the ms hosted agent for some jobs - so in that case we definitely cannot customize - and fwiw ms only guarantees 10G of disk space
im still not entirely clear if we can customize our self-hosted agents - it seems like we install all of the ms bloat, but maybe that is required in some way.
i think it should be possible to mark our self-hosted agents as having certain capabilities to force them to be used in some circumstances - so if we can customize that, it seems like we could do something there
either way - for now - i have raised a Pr to switch the x64/release job to use the x64-large ami/pool as this just resolves. Similar can be done for the other jobs that have disk pressure.

this is being addressed


Upload test results for each machine in machine group with Run Functional Tests

In TFS 2015.3, I'd like to have a unique test result uploaded to TFS for each machine that is run in a machine group when executing the Run Functional Tests task. For example, when I run the task with machines A, B, and C, it will only show test results in the Test tab for C. It looks like the "Distribute tests by number of machines" checkbox in VSTS doesn't necessarily mean that each test result for each machine will be uploaded. The alternative would be needing to run the Run Functional Tests task X number of times for X number of machines, which would be redundant. Is this already possible for the task?

@sawpresto currently this is not possible. The idea behind Distributed Testing is to distribute the tests across machines for parallelism and efficiency.

So it's intentional that using the Run Functional Tests task with a machine group, it will only publish test results for the last machine?

@sawpresto
That is incorrect. Results are uploaded from all machines that are running tests and you can see the machine on which the test ran in the Test details. Why do you think only results from the last machine are being uploaded? Are you seeing less number of results than the tests being run?

That's what I would assume as well, that each machine would show up with test results, but when I ran it with TFS 2015.3, when running the task with two machines listed in the task, only one would upload test results (the last one).

Is it possible that all the tests are running on that 1 machine? Are you seeing a discrepancy in the number of tests that ran? What TFS version are you using and are the tests in 1 dll? Thanks!

It looked like when I ran the task, it logged the tests running in multiple machines. Yes, the same number of tests ran for each machine. Using TFS 2015.3, tests in one dll. I'll try this again and let you know if I get the same issue.

@sawpresto
Are you still seeing the issue? Thanks!

I'm not able to find the machines again that I tested this on, so go ahead and close this and I'll comment again if I find anything. Thanks!

Thanks! Closing issue as per comment above.


Extend electron configuration to allow logging into a file

Introduces an opt for writing logs to a file. If flag is set, logs will be written to the data dir. The file name will be concatenated from the service name + itchysats.log
Examples
cargo run --bin taker -- --data-dir /itchysats/ --log-to-file testnet

You can find the logs here.
/itchysats/testnet/taker.log
cargo run --bin maker -- --data-dir /itchysats/ --log-to-file mainnet

You can find the logs here.

/itchysats/mainnet/maker.log

resolves #2982

bors r+


Where to get the request content length from

When initialized like the readme, the content size is not reported to Firebase.
I've figured out how to set the response content length
    final performanceInterceptor = DioFirebasePerformanceInterceptor(
        responseContentLengthMethod: (Response response) {
      return int.parse(response.headers['content-length'][0]);
    });

There is also a parameter requestContentLengthMethod, however how do I get the content longth of the request. I'm not seing anything in the RequestOptions object. Do we need to somehow calculate this on our own?

When initialized like the readme, the content size is not reported to Firebase.
I've figured out how to set the response content length
    final performanceInterceptor = DioFirebasePerformanceInterceptor(
        responseContentLengthMethod: (Response response) {
      return int.parse(response.headers['content-length'][0]);
    });

There is also a parameter requestContentLengthMethod, however how do I get the content longth of the request. I'm not seing anything in the RequestOptions object. Do we need to somehow calculate this on our own?

Any news on this question ?

@TheBestMoshe @fvisticot  this is the current implementation:
https://github.com/eyeem/dio_firebase_performance/blob/master/lib/src/dio_firebase_performance.dart#L67
I presume this is the best you can do with existing Dio API - you can provide your own implementation as an argument to interceptor.
If you have an idea for better implementation I'll gladly welcome a PR :D


Support User-Defined Middleware Functions in piral-fetch

New Feature Proposal
For more information, see the CONTRIBUTING guide.
Description
The idea of this proposal is to allow users of piral-fetch to define arbitrary fetch middleware functions. These middleware functions would allow users to globally enhance the default behavior of piral-fetch's fetch function during the app shell setup. Middlewares are modeled similarly to other frameworks/libraries, e.g., express. For example, a custom middleware function that logs requests/responses could look like this:
// During setup:
createFetchApi({
  // New `middlewares` option which allows specifying an array of n middleware functions.
  // Middleware functions receive the same arguments as `fetch`, plus a function `next` that should
  // be invoked to call the next queued middleware and/or piral-fetch's default `fetch`.
  middlewares: [
    async (path, options, next) => {
      // Example: Log request/response information.
      console.log(`Making HTTP request to ${path}...`);
      const response = await next(path, options);
      console.log(`HTTP request finished with status code ${response.code}.`);
      return response;
    }
  ]
})

When specifiying multiple functions, they would be processed in the defined order:
createFetchApi({
  middlewares: [
    firstMiddleware,  // Processed 1st
    secondMiddleware, // Processed 2nd
    thirdMiddleware,  // Processed 3rd
  ]
})

Background
Middlewares allow additional per-project customization of the fetch function's behavior without introducing breaking changes to piral-fetch. Due to how general they are, they can be used to implement a wide variety of features, e.g., logging, caching, retrying, etc.
My personal reason for making this proposal is the need for the fetch function to throw errors for non-successful response status codes for a simplified integration with the swr library. This behavior could easily be implemented globally via a middleware function like the following:
async function throwOnErrors(path, options, next) {
  const response = await next(path, options);

  if (response.code >= 400) {
    const errorMessage = `Request failed with status code ${response.code} ${response.text}.`;
    console.warn(errorMessage, response);
    throw new Error(errorMessage, { cause: response });
  }

  return response;
}

Discussion
No additional points currently - the proposal above is how I could imagine this feature to work. Please feel free to discuss any details or suggest possible improvements/problems with this!

Sounds great - you want to take it?


promote the use of \ or br, but not trailing whitespace

Most sane editors (and almost all code formatters) strip away accidentally pasted trailing whitespace.
All online services that support Markdown blocks (Github, StackOverflow, Discord, etc) support CommonMark. The ones with flaky support (Facebook, Slack, etc) don't support trailing spaces anyway.
Unless the person is using notepad, trailing whitespace is more likely to cause problems. Better to learn what works once and everywhere than what is most likely to cause problems in most places.

Hey, thanks for taking the time to open this pull request!
I'm leaning towards closing this for a couple reasons:

My understanding is that the majority of Markdown parsers do not support \. See, for example: https://johnmacfarlane.net/babelmark2/?text=line+one\
line+two

CommonMark supports using two spaces at the end of a sentence for a hard line break. See https://spec.commonmark.org/0.29/#hard-line-breaks and https://spec.commonmark.org/dingus/?text=foo
baz
. Websites and editors that strip out trailing whitespace for line breaks have not correctly implemented the CommonMark spec.

Not all Markdown applications support HTML, so
 isn't a panacea.

There's "the majority of Markdown editors" (by number) and then there's "the markdown editors that people use":

[*] Github
[*] Stackoverflow
[*] VSCode
[*] StackEdit
[*] pandoc
[*] markup (ruby)
[*] marked (js)
[*] goldmark (go)
[*] comrak (rust)

And though perhaps not as popular as the legacy libraries as of yet...

[*] commonmark (python)
[*] commonmark (php)

I would imagine that the reason the majority of those old markdown parsers don't support it is because they're old and abandoned (or "complete" for the time period in which they were useful). They've since been replaced.
The reason that this is important to me is that I've actually recommended Markdown Guide to some people, but to those same people I'm recommending that they use modern code editors and code formatters.
Granted, some plugins will auto-detect Markdown and then NOT drop trailing newlines...
In general, \ is used to escape special characters, such as newlines, across various scripting and coding environments.
Using   as a special meaning is something that parody languages do.
I get that it's your site (a WONDERFUL site), so you do what you gonna do and all - and as you said, this is controversial, but I think using double spaces is the worst of the 3 possibilities.
I'd say it's better to direct people to file a bug or switch to a Markdown parser that's actively maintained and let them know that legacy parsers often support the   option than to actively promote it when it'll inevitably be the cause of... so much forehead scratching.

With all due respect, I believe your concerns are with the Markdown syntax generally. It's possible that using another markup language like reStructuredText or Asciidoc might address your concern here.
The goal of this website is to document the Markdown syntax, not to try and change it. Above all, I try to present the most compatible ways of using Markdown. In this case, whether we like it or not, trailing whitespace and
 are the most compatible methods of creating a line break.

I love Markdown. I use it for everything. I've been interested in investigating other formats, but I think standardized Markdown (as opposed to ad-hoc Markdown), and GFM are great.
I'd be in favor of
. That makes sense and is portable.
I just think trailing whitespace is the worst of all possible options because so many tools (including iTerm2) remove trailing whitespace when pasted, or prettified (therefore not very compatible with tooling) and I don't know of any widely used Markdown parsers that don't support \ and/or
.


How to add space between the text data and the DropCap child.

I'm using drop_cap_text everything is OK but when text is not multiline it shows text in right but I want to show it on the left.

کشادا چرا جواب نمیدین

کشادا چرا جواب نمیدین

Why you are not answering Koshada?

Why you are not answering Koshada?

@MstrZeroOne example code? thanks

for adding space you can use dropCapPadding
example: dropCapPadding: EdgeInsets.only(bottom: 24, right: 24)


Seed

It wont locate the seed and it keeps failing the dungeon search. I have 207/32 bits

it's just that on many servers dungeon cracker has already been found

/seed data clear, rejoin, also make sure you dont have too much stuff enabled.  I only enable dungeons and biomes.  If that doesnt work after 3 different dungeons, the seed cant be cracked cuz some anti seed cracking generation thingy.

well this guy's dead

Tru


Fix encoding issue

Fixes #19386
The root cause is that ━ is not supported by CP125* encoding. We can replace it with = which aligns with Keras2 behavior.
Additionally, print_msg has been modified to encode and decode to the target encoding, providing a more robust approach.

Codecov Report
Attention: Patch coverage is 45.45455% with 6 lines in your changes missing coverage. Please review.

Project coverage is 59.85%. Comparing base (f9ea1a0) to head (6e5155f).

Files with missing lines
Patch %
Lines

keras/src/utils/io_utils.py
45.45%
6 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (f9ea1a0) and HEAD (6e5155f). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (f9ea1a0)
HEAD (6e5155f)

keras
4
1

keras-torch
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20443       +/-   ##
===========================================
- Coverage   82.01%   59.85%   -22.16%
===========================================
  Files         514      514
  Lines       47183    47192        +9
  Branches     7409     7408        -1
===========================================
- Hits        38697    28249    -10448
- Misses       6696    17202    +10506
+ Partials     1790     1741       -49

Flag
Coverage Δ

keras
59.85% <45.45%> (-22.02%)
:arrow_down:

keras-jax
?

keras-numpy
59.85% <45.45%> (-0.01%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


No option for table binding to overwrite or replace row

Repro steps
I'm trying to add multiple rows with some of the rows already existing.
Bindings:
{
   "name": "outputTable",
   "type": "table",
   "connection": "storage",
   "tableName": "items",
   "direction": "out"
}

index.js
context.bindings.outputTable = [1,2,3].map(itemId => {
   return {
      PartitionKey: 'numbers',
      RowKey: itemId,
      someColumn: 1
   };
});

The function will work the first time but will throw the second time with the error: The specified entity already exists
without any way to catch it or prevent it.
No rows will be inserted if there is one row that exists.
Expected behavior
A way to overwrite, merge or ignore the rows that exists.

The issue is that currently by design the underlying Table bindings in the core SDK only support "add new" semantics, not update. This feature request is tracked by an existing issue in that repo here: https://github.com/Azure/azure-webjobs-sdk/issues/919.
For now until the bindings are extended, you'll have to pull in and use the Azure SDK to perform your updates.


09 Oct 2024 - AI Readiness Meeting Agenda

Date
09 Oct 2024
Zoom details
The AI readiness group is currently members-only, with meeting details shared via a private email list. To join the group, please contact<EMAIL_ADDRESS>Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda and minutes
The AI readiness group current follows Chatham House Rules, and as a result meetings will not publish formal minutes.

Vishwanath Gorti / Deutsche Bank

Bruno Domingues / Intel

Karl Moll / FINOS

Srikanth Tanniru / Red Hat


Building OL 3 since beta 5 on Windows

Having asked about building OL 3 Beta 5 (and newer), Tim suggested I should post here with some details auot my build set up. The original thread is: https://groups.google.com/forum/#!topic/ol3-dev/_xlHpp8Gm9o

Windows version -
Win 7 SP1
Node version (run node --version)
v0.10.28
OL3 version (run git rev-parse HEAD from a git clone)
81523091f0a6222f07ba5c7139da79f8f64784cf

node tasks\generate-exports.js build\exports.js
Yields the same error as just trying to build it, i.e.
C:\OL3buildstuff\ol3sourcecode>node tasks\generate-exports.js build\exports.js
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:998:11)
at Process.ChildProcess._handle.onexit (child_process.js:789:34)

Prior to failing to build beta 5 I've been following the hints at this blog http://www.spatially-oriented.com/blog/2013/12/13/building-openlayers-3-on-windows/#comment-1397158447 which made it possible for me to build OL 3 on Windows.
Grateful for any help!

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Hi !
I just used the patch from probins/ol3@29a420c, and probins/ol3@90a8263 and it's work for rev b6adeea4f4cb31fbd0976ad1d91e70c1c66f39c7

Any chance of getting in the patches as a pull request?

In the end for me, it was easier setting up a Linux VM to build on. Just my .02 for others that run into this.

Ridiculous ... thank god we don't need to take care of 8.3 filename format as well! What is this issue about? Coding in the 1970s? What professional developer decided to have all filenames passed on command line? This is definitely about bad software design ...
The quick workaround on using flagfile didn't work for me as compiler.jar is obviously complaining about some unknown configuration option "--" listing all valid options (not including flag file) ... so two issues keeping that workaround from working here: 1) flag file isn't support 2) compiler.jar seems to have minor issue in parsing command line switches
My instant quick fix: not using OpenLayers.

Which PR is that exactly, that we didn't 'obey'? Does it still apply cleanly and is it confirmed that it wirks on all platforms?
We are mostly developing on non-windows machines, and therefore ai find it only natural, that we didn't scratch what didn't itch us.
I think no one would be against a solution tht works everywhere.

https://github.com/openlayers/ol3/pull/2593

Thanks, @probins. I'll try to evaluate that and https://github.com/openlayers/closure-util/pull/63.

I tried all examples for creating custom OpenLayers builds on Windows 8.1 and none of them worked.
Error message is nearly the same in all cases:
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENAMETOOLONG
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
In my opinion there should be a good solution for this problem after more than a year this issue is existing. Not?

this should now work with the latest master with the new version of closureutil

I have it now!
For me it didn't work with the latest version. I tried "npm install openlayers --save". This installed a version "1.5.0" of closure-util.
Changing the config like explained in "https://github.com/openlayers/closure-util" and executing "closure-util update" changed nothing.
So I downloaded the latest zip file of closure-util from "https://github.com/openlayers/closure-util" and copied the files into directory "node_modules/openlayers/node_modules/closure-util" of my application. After that the build command succeeded.

On Fri, Aug 28, 2015 at 11:52 AM, guidoheckmann
<EMAIL_ADDRESS>wrote:

I have it now!
For me it didn't work with the latest version. I tried "npm install openlayers --save". This installed a version "1.5.0" of closure-util.
Changing the config like explained in "https://github.com/openlayers/closure-util" and executing "closure-util update" changed nothing.
So I downloaded the latest zip file of closure-util from "https://github.com/openlayers/closure-util" and copied the files into directory "node_modules/openlayers/node_modules/closure-util" of my application. After that the build command succeeded.

Try with the latest closure-util version: 1.6.1.
https://www.npmjs.com/package/closure-util
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : +33 (0)4 58 48 20 34
Mail<EMAIL_ADDRESS>http://www.camptocamp.com

can this one be closed?

Outdated, closing.


Implemented filtering courses by tags

Fixes #294

@deepakkumarnd Please review. Don't merge this PR. After review, assign the PR to @sadrisya for UI changes.


FID scores

Hi, what software/code and parameters did you use to calculate the fid scores in your paper?

Hi, we used the official implementation from here. We calculated the statistics of the validation set on 256x256 px resolution and used those statistics to calculate all results with generated images of 256x256 px resolution.

Okay thanks!


DBZ-1079 Add a sortable ID to each message

This commit adds a new optional ID that can be used to order the
messages.
It introduces a new configuration option, ADD_ORDERED_ID that appends
a new field ulid which is a unique, lexigraphically sortable id.
This is tested in postgres, but should work in mysql as well.

Hey @addisonj, sorry for the silence on that one, was heads-down into other stuff. Still need to fully process your answer, too. That said you mention moving to Kafka proper at some point, would be using an SMT (single message transform) for adding the id a way out in that case for you?

I am not so familiar with Kafka Connect, but the biggest problem would be that if the transform happens after records are written to a topic, you would loose some ordering already (as it could be split across multiple partitions), if you can do an SMT before the data is written to a topic, that would work.

but the biggest problem would be that if the transform happens after records are written to a topic

You can apply SMTs to source connectors (such as Debezium) or sink connectors. In case of the former, they process the message before it's written to a topic (which allows an SMT to re-route to a different topic than originally intended or even drop a message). So the ordering there would be the exact same order of events as retrieved from the DB log.

Going to close this, while there is a minor loss in doing it outside of debezium core (in that you can't easily do integer IDs easily) this seems like it adds a lot of complexity. Eventually, it seems like this might be a nice feature in debezium, but it isn't worth the complexity right now.


Custom Font from asset folder to text in tabs

We can set custom layout to SmartTabLayout in which we can set textview with different properties but when we want to apply font file to that textview then their is no option which just call function and new font is applied to textview in tabs

Hi, @yasiriqbal776
There are no plans to implement the feature.
Please use the custom layout.
I recommend Calligraphy.


Add disable comments automatically without interactive mode

Consider a project with 100+ lint errors, if  run npx eslint-interactive src --quiet, the user should select all the rules and enter many times to answer all the questions. It takes a long time!
Can we fill the answers in the cli params? like below?
npx eslint-interactive --quiet --method disable-perf-line --comment 'not modify legacy code'

The command above will add // @eslint-disable-next-line r1,r2,... -- not modify legacy code  to  all error files in one shot!

For the complex worflow, eslint-interactive provides Programmable API. This allows you add disable comments automatically without interactive mode.

https://github.com/mizdra/eslint-interactive/blob/main/docs/programmable-api.md

Does this satisfy your use case?

I think this use case is covered by the Programmable API. Therefore, I will close this issue. Thanks for sending in your feature request!


[Bug]: Upload Single Current Active Note/Upload Unpublished Note uploads then deletes, merges with no changes.

Issue validation

[X] I checked the issue to prevent duplicate
[X] I checked my configurations files and the documentation

Command used
Upload single current active note
Plugin version
7.2.11
Describe the bug
I think this is a repeat or regression of the bug that was supposed to be fixed in #355
Basically note will be uploaded, then deleted, and the various commits are meged in without a realized change.

How to reproduce ?

Open command pallette with single note open
Upload Single Current Active Note

Minimal Reproducible Example
---
date: 2024-06-12T20:30
modified: 2024-07-15T13:00
tags:
  - product
  - nodejs
  - opensource
title: rehype-jsoncanvas
public: true
hidden: false
---
# rehype-jsoncanvas

**This project is currently in active development/prove of concept stage and has a number of limitations. But feel free to fork, PR, or add issues if you have requests and I will respond quickly.**

[View on Github](https://github.com/lovettbarron/rehype-jsoncanvas)
[View on NPM](https://www.npmjs.com/package/rehype-jsoncanvas)

Configuration
{
  "github": {
    "branch": "main",
    "automaticallyMergePR": true,
    "dryRun": {
      "enable": false,
      "folderName": "github-publisher"
    },
    "tokenPath": "%configDir%/plugins/%pluginID%/env",
    "api": {
      "tiersForApi": "Github Free/Pro/Team (default)",
      "hostname": ""
    },
    "workflow": {
      "commitMessage": "[PUBLISHER] Merge",
      "name": ""
    },
    "verifiedRepo": true
  },
  "upload": {
    "behavior": "obsidian",
    "defaultName": "_content",
    "rootFolder": "",
    "yamlFolderKey": "",
    "frontmatterTitle": {
      "enable": false,
      "key": "title"
    },
    "replaceTitle": [],
    "replacePath": [],
    "autoclean": {
      "includeAttachments": true,
      "enable": true,
      "excluded": []
    },
    "folderNote": {
      "enable": false,
      "rename": "index.md",
      "addTitle": {
        "enable": false,
        "key": "title"
      }
    },
    "metadataExtractorPath": ""
  },
  "conversion": {
    "hardbreak": false,
    "dataview": true,
    "censorText": [],
    "tags": {
      "inline": true,
      "exclude": [],
      "fields": []
    },
    "links": {
      "internal": true,
      "unshared": true,
      "wiki": true,
      "slugify": "lower"
    }
  },
  "embed": {
    "attachments": true,
    "overrideAttachments": [],
    "keySendFile": [
      "image"
    ],
    "notes": false,
    "folder": "public/assets",
    "convertEmbedToLinks": "keep",
    "charConvert": "->",
    "unHandledObsidianExt": [
      "canvas",
      "canvas.md"
    ],
    "sendSimpleLinks": true,
    "useObsidianFolder": false
  },
  "plugin": {
    "shareKey": "public",
    "excludedFolder": [
      "_util",
      "_assets",
      "_draft"
    ],
    "copyLink": {
      "enable": false,
      "links": "",
      "removePart": [],
      "transform": {
        "toUri": true,
        "slugify": "lower",
        "applyRegex": []
      }
    },
    "setFrontmatterKey": "Set"
  },
  "tabsId": "plugin-settings"
}

Relevant log output
[Enveloppe](GithubBranch.newBranchOnRepo):
 Branch successfully created (status: 201) on lovettbarron/2024.garden
plugin:obsidian-mkdocs-publisher:175 DEV LOGS [07:26:47.906] GithubBranch.publish:
 Publishing file: note/rehype-jsoncanvas-test.md
plugin:obsidian-mkdocs-publisher:175 DEV LOGS [07:26:47.910] GithubBranch.publish:
 Publishing rehype-jsoncanvas-test.md to [lovettbarron/2024.garden/main]
plugin:obsidian-mkdocs-publisher:175 [Enveloppe](GithubBranch.uploadOnMultipleRepo):
 Upload rehype-jsoncanvas-test.md:_content/note/rehype-jsoncanvas-test.md on lovettbarron/2024.garden:books-7-16-2024
plugin:obsidian-mkdocs-publisher:22     GET https://api.github.com/repos/lovettbarron/2024.garden/contents/_content%2Fnote%2Frehype-jsoncanvas-test.md?ref=books-7-16-2024 404
fetchWrapper @ plugin:obsidian-mkdocs-publisher:22
request2 @ plugin:obsidian-mkdocs-publisher:22
hook @ plugin:obsidian-mkdocs-publisher:24
eval @ plugin:obsidian-mkdocs-publisher:6
Promise.then (async)
register @ plugin:obsidian-mkdocs-publisher:6
Object.assign.endpoint @ plugin:obsidian-mkdocs-publisher:22
upload @ plugin:obsidian-mkdocs-publisher:39
uploadText @ plugin:obsidian-mkdocs-publisher:39
uploadOnMultipleRepo @ plugin:obsidian-mkdocs-publisher:39
await in uploadOnMultipleRepo (async)
publish @ plugin:obsidian-mkdocs-publisher:39
await in publish (async)
shareOneNote @ plugin:obsidian-mkdocs-publisher:27
await in shareOneNote (async)
checkCallback @ plugin:obsidian-mkdocs-publisher:27
RK @ app.js:1
t.onChooseItem @ app.js:1
t.onChooseSuggestion @ app.js:1
t.selectSuggestion @ app.js:1
e.useSelectedItem @ app.js:1
(anonymous) @ app.js:1
e.handleKey @ app.js:1
e.onKeyEvent @ app.js:1
plugin:obsidian-mkdocs-publisher:175 DEV LOGS [07:26:48.251] GithubBranch.upload:
 The 404 error is normal ! It means that the file does not exist yet. Don't worry ❤.
plugin:obsidian-mkdocs-publisher:175 [Enveloppe](deleteFromGithubOneRepo):
 trying to delete file : _content/note/rehype-jsoncanvas-test.md from lovettbarron/2024.garden

OS
MacOS
Anything else?
The file also didn't seem to upload while using Refresh Published and Upload New Notes.
Obsidian information
SYSTEM INFO:
	Obsidian version: v1.6.5
	Installer version: v1.4.14
	Operating system: Darwin Kernel Version 23.5.0: Wed May  1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 23.5.0
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: Things v2.1.20
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 32
	Plugins enabled: 23
		1: QuickAdd v1.10.0
		2: Templater v2.3.3
		3: Longform v2.0.7
		4: Readwise Official v2.0.1
		5: Dataview v0.5.67
		6: Recent Files v1.4.1
		7: Better Word Count v0.10.1
		8: Enveloppe v7.2.11
		9: Edit MDX v1.0.1
		10: Bulk Rename v0.5.2
		11: Periodic Notes v0.0.17
		12: Calendar v1.5.10
		13: Yaml Manager v1.3.3
		14: Paste image rename v1.6.1
		15: Highlight Public Notes v1.6.0
		16: Regex Find/Replace v1.2.0
		17: Multi Properties v1.1.1
		18: Clear Unused Images v1.1.0
		19: Update time on edit v2.4.0
		20: Find orphaned files and broken links v1.10.0
		21: Linter v1.25.0
		22: Kanban v2.0.51
		23: Local Images Plus v0.15.9

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Very quick update. While trying to figure this out, I saw that one of the files (a week note) did upload, but the jsoncanvas one didn't.

I thought that perhaps that was the cause, so modified unHandledObsidianExt to only have "canvas" and tried again. However the same result occurs.
Note, this is using the command Upload Unpublished Notes

Can't repro :/
Tried on a fresh vault, with two different note, with settings provided.

Oh god, I found it
You set your file into _content/** and publish into _content/**
It should create somethings like _content/_content
But as I use regex to create path, it struggle and delete the two:

Oaky. It's more complicated.
You set canvas.md as attachment.
And the file is named "rehypejsoncanvas.md`
So it send it into attachment…


Setup self-attestation feature

When I execute the Enable-ByDesignExceptionFeature, using the settings specified, I get the following error:
Enable-ByDesignExceptionFeature : The term 'Enable-ByDesignExceptionFeature' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1

Enable-ByDesignExceptionFeature `

  + CategoryInfo          : ObjectNotFound: (Enable-ByDesignExceptionFeature:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Hi @TitleistProV1,
Can you confirm the successful running of the prerequisite commands (Step 1 to 3) from here.
And please make sure you're loading the functions properly (i.e. Step 3.d.).

I recreated a shell and started from scratch. I have gotten father than previously. However, the "Connect-AzureAD" cmdlet has been deprecated and you have to connect to Azure AD via the "Connect-MgGraph" cmdlet. When I do that and rune the "Enable-ByDesignExceptionFeature" command, I now get an error, "Failed to validate AzTS host resource group."

Hi @TitleistProV1, Could you please confirm if you are using user account context in PowerShell session? If you could provide detailed error log along with executed commands, it would help us to investigate further. We can also setup a call and investigate in case needed. Please feel free to reach out to us on<EMAIL_ADDRESS>

Hi @TitleistProV1, could you please confirm if you are still facing the above issue, or it has been resolved.


Implement recaptcha to avoid rogue account creation

We had some fake accounts being created on the Tuuli service so implemented a recaptcha. We think we should add this into the main codebase as configurable on/off so we could easily prevent a similar issue on any other deployments. Having removed the email verification means we are open to bots

👍 related to: #2281
@mirkh would you be willing to share the changes you made to your installation?

Thanks @briri Didn't realise there was a related ticket.
@raycarrick-ed  put this in place for Tuuli and we thought we should add to common codebase in case so pinging him here

ah perfect. I think it will be useful for everyone.

👍 related to: #2281
@mirkh would you be willing to share the changes you made to your installation?

I'm sorry @briri I seem to have missed this. But we didn't go for that solution. Instead we removed the registering of accounts and made it mandatory to log in using institutional credentials.

no worries @mirkh. Thanks for letting us know :)

Should be relatively straightforward to put a Recaptcha on the account creation window @sjDCC

Thanks. We can pull in @raycarrick-ed fix for Tuuli

this is implemented on Tuuli test and should be fairly easy to pull into the main codebase

@mirkh would you be willing to share how you went about setting your implementation up so that the only login option is via institutional credentials?

@briri is this something we are still considering to work on? we have received question about implementing re-captcha and I am just trying to follow up and see how far we got with this one. Thank you!

This has been implemented so will close the ticket. The recaptcha will appear if:

It is enabled here: https://github.com/DMPRoadmap/roadmap/blob/576ea69fb783170ae2da37f69c35593b8866419f/config/initializers/_dmproadmap.rb#L203
The recaptcha API keys are stored in the the credentials file: https://github.com/DMPRoadmap/roadmap/blob/576ea69fb783170ae2da37f69c35593b8866419f/config/initializers/recaptcha.rb#L8

Thank you!!! :)

We have it set up and even have keys already (they'll need checking to see if they are still correct after the upgrade) but it is currently switched off. It requires switching on and testing. It's on the todo list but not anywhere near the top at the moment. But hopefully it's not a big deal when we get to it.