Debugger does not work

An update broke all debugging functionality for me; it was previously working fine.
Does this issue occur when all extensions are disabled?: YNo
No: You can't run a python debug session without the python extension. It occurs when all other extensions are disabled.
Otherwise please fill in the requested details below. "XXX" markers should not be present in the final bug report.
-->
Environment data

VSCode Version: 1.23.1
OS Version: Mac OS 10.13.4
Extension version (available under the Extensions sidebar): 2018.4.0
Python version (& distribution if applicable, e.g. Anaconda): brew, anaconda, tried them all
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): tried pipenv and global
Relevant/affected Python packages and their versions: N/A
Occurs with integrated or external console
Happens with bash and fish as configured shell

Actual behavior

Expected  behavior
Debugger attaches.
Steps to reproduce:

Make new project (mkdir test-py)
Open in vscode( code ./test-py)
Make new file hello.py
Make new line print('hello world')
Save
Hit F5

I'm unable to replicate this issue.
Please could you try the following:

Re-install the extension
Go into the launch.json file and add the setting "logToFile": true,
Start debugging
When you get the error:

Open Help->Toggle Developer Tool, and check if there are any errors in the console window (if yes, please provide them)
Open Extensions folder (go into command palette Open Extensions Folder)
Locate the Python extensions directory (ms-python.python-2018.4.0) and in there you'll find a file named debug.log, please upload the contents of that file.

If the above fails:

Try installing the development build of the extension from here and test
Finally try out the new experimental debugger. Just go into your launch.json file and change the setting "type":"python" to "type":"pythonExperimental" and test again

Hey @DonJayamanne, I'm having the same problem and there are no errors in the Developer Tool console window, but this is what was in debug.log:
21:34:08, 2018-6-1
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"python","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsEvaluateForHovers":false,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsFunctionBreakpoints":false,"supportsSetVariable":true,"exceptionBreakpointFilters":[{"label":"All Exceptions","filter":"all"},{"label":"Uncaught Exceptions","filter":"uncaught"}]}}
To client: {"seq":0,"type":"event","event":"initialized"}
From client: launch({"name":"Python: Current File","type":"python","request":"launch","program":"c:\Code-Repository\Cluster Monitor P\SendToApiforTextWidget.py","logToFile":true,"pythonPath":"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe","cwd":"c:\Code-Repository\Cluster Monitor P","envFile":"c:\Code-Repository\Cluster Monitor P\.env","stopOnEntry":false,"console":"integratedTerminal","internalConsoleOptions":"neverOpen","debugOptions":["RedirectOutput"],"__sessionId":"d93b5a46-8d15-47a4-b592-1f0c4a745b08"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"DEBUGGER","data":{"trigger":"launch","console":"integratedTerminal","debugOptions":"RedirectOutput","pyspark":false}}}
From client: setBreakpoints({"source":{"name":"SendToApiforTextWidget.py","path":"C:\Code-Repository\Cluster Monitor P\SendToApiforTextWidget.py"},"lines":[38],"breakpoints":[{"line":38}],"sourceModified":false})
To client: "runInTerminal"({"kind":"integrated","title":"Python Debug Console","cwd":"c:\Code-Repository\Cluster Monitor P","args":["C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe","C:\Users\ryan.stephen\.vscode\extensions\ms-python.python-2018.4.0\pythonFiles\PythonTools\visualstudio_py_launcher.py","c:\Code-Repository\Cluster Monitor P","56866","34806ad9-833a-4524-8cd6-18ca4aa74f14","RedirectOutput,RedirectOutput","c:\Code-Repository\Cluster Monitor P\SendToApiforTextWidget.py"],"env":{"PYTHONIOENCODING":"UTF-8","PYTHONUNBUFFERED":"1"}}), timeout: 5000

@rsryanstephen
Have you tried the development but and the experimental debugger?

Ok, I installed the Development build from the location you specified, followed the install instructions that they gave me, and temporarily disabled the current Microsoft Python vscode extension. Then I couldn't Debug with the following error:
'Configured debug type 'python' is not supported.'
Or:
'Configured debug type 'pythonExperimental' is not supported.'
So I re-enabled the current Ms Python vscode extension, and tried with the experimental debugger, and I got the error:
'Timeout waiting for debugger connection'

I've tried reinstalling vscode and the extension from scratch, to no avail. Also tried the development build and got the same results. See results below.
type: python

No errors in the developer tool console
terminal errors:

cd /Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin ; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" /usr/local/bin/python3 /Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/PythonTools/visualstudio_py_lau                             Mon Jun  4 13:41:25 2018ncher.py /Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin 62788 34806ad9-833a-4524-8cd6-18ca4aa74f14 RedirectOutput,RedirectOutput /Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin/test.py
Traceback (most recent call last):
  File "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/PythonTools/visualstudio_py_launcher.py", line 91, in <module>
    vspd.debug(filename, port_num, debug_id, debug_options, currentPid, run_as)
  File "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/PythonTools/visualstudio_py_debugger.py", line 2607, in debug
    attach_process(port_num, debug_id, debug_options, currentPid, report = True)
  File "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/PythonTools/visualstudio_py_debugger.py", line 2321, in attach_process
    raise Exception('failed to attach')
Exception: failed to attach

debug.log contents

1:41:30 PM, 6/4/2018
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"python","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsEvaluateForHovers":false,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsFunctionBreakpoints":false,"supportsSetVariable":true,"exceptionBreakpointFilters":[{"label":"All Exceptions","filter":"all"},{"label":"Uncaught Exceptions","filter":"uncaught"}]}}
To client: {"seq":0,"type":"event","event":"initialized"}
From client: launch({"name":"Python: Current File","type":"python","request":"launch","program":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin/test.py","logToFile":true,"pythonPath":"/usr/local/bin/python3","cwd":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin","envFile":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin/.env","stopOnEntry":false,"console":"integratedTerminal","internalConsoleOptions":"neverOpen","debugOptions":["RedirectOutput"],"__sessionId":"ff36a663-e1e8-4549-b52c-bcc8fe7648d8"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"DEBUGGER","data":{"trigger":"launch","console":"integratedTerminal","debugOptions":"RedirectOutput","pyspark":false}}}
From client: setExceptionBreakpoints({"filters":[]})
To client: "runInTerminal"({"kind":"integrated","title":"Python Debug Console","cwd":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin","args":["/usr/local/bin/python3","/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/PythonTools/visualstudio_py_launcher.py","/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin","62788","34806ad9-833a-4524-8cd6-18ca4aa74f14","RedirectOutput,RedirectOutput","/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin/test.py"],"env":{"PYTHONIOENCODING":"UTF-8","PYTHONUNBUFFERED":"1"}}), timeout: 5000

type: pythonExperimental

No errors in the console window
terminal errors:

warning: Debugger speedups using cython not found. Run '"/usr/local/opt/python/bin/python3.6" "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/experimental/ptvsd/ptvsd/pydevd/setup_cython.py" build_ext --inplace' to build.
pydev debugger: starting

Could not connect to localhost: 62775
Traceback (most recent call last):
  File "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/experimental/ptvsd/ptvsd/pydevd/pydevd.py", line 1620, in main
    debugger.connect(host, port)
  File "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/experimental/ptvsd/ptvsd/pydevd/pydevd.py", line 324, in connect
    s = start_client(host, port)
  File "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/experimental/ptvsd/ptvsd/pydevd_hooks.py", line 56, in <lambda>
    _start_client = (lambda h, p: start_client(daemon, h, p))
  File "/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/experimental/ptvsd/ptvsd/pydevd_hooks.py", line 34, in start_client    client.connect((host, port))
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

experimental_debug.log contents

1:47:05 PM, 6/4/2018
Started @ Mon Jun 04 2018 13:47:05 GMT-0700 (PDT)
From Client:
Content-Length: 325

{"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"pythonExperimental","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"},"type":"request","seq":1}
To Client:
Content-Length: 621

{"seq":1,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsExceptionInfoRequest":true,"supportsConfigurationDoneRequest":true,"supportsConditionalBreakpoints":true,"supportsSetVariable":true,"supportsExceptionOptions":true,"supportsEvaluateForHovers":true,"supportsModulesRequest":true,"supportsValueFormattingOptions":true,"supportsHitConditionalBreakpoints":true,"supportsSetExpression":true,"supportsLogPoints":true,"exceptionBreakpointFilters":[{"filter":"raised","label":"Raised Exceptions","default":false},{"filter":"uncaught","label":"Uncaught Exceptions","default":true}]}}
From Client:
Content-Length: 648

{"command":"launch","arguments":{"name":"Python: Current File","type":"pythonExperimental","request":"launch","program":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin/test.py","logToFile":true,"pythonPath":"/usr/local/bin/python3","cwd":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin","envFile":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin/.env","stopOnEntry":false,"console":"integratedTerminal","internalConsoleOptions":"neverOpen","debugOptions":["RedirectOutput"],"__sessionId":"fd9b6f96-4324-4372-919c-2603b30c46f0"},"type":"request","seq":2}
To Client:
Content-Length: 554

{"command":"runInTerminal","arguments":{"kind":"integrated","title":"Python Debug Console","cwd":"/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin","args":["/usr/local/bin/python3","-m","ptvsd","--host","localhost","--port","62879","/Users/noahcowan-maccallum/Code/go/src/github.com/goforward/sample-repos/nonin/test.py"],"env":{"PYTHONIOENCODING":"UTF-8","PYTHONUNBUFFERED":"1","PYTHONPATH":"/Users/noahcowan-maccallum/.vscode/extensions/ms-python.python-2018.4.0/pythonFiles/experimental/ptvsd"}},"type":"request","seq":2}
From Client:
Content-Length: 94

{"type":"response","seq":3,"command":"runInTerminal","request_seq":2,"success":true,"body":{}}

Looks like something is preventing a connection to a socket server created for debugging.
Please could you try running the following command in the VS Code terminal python -m http.server -b localhost 62775
Please check whether you're able to connect to this server.

Thanks for your ongoing help.

With python2 (standard python) command the command ran with no return value.
With python3 I get the same socket.gaierror: [Errno 8] nodename nor servname provided, or not known
With pipenv shell -> python -m http.server -b localhost 62775 I again get socket.gaierror: [Errno 8] nodename nor servname provided, or not known

Pipenv python is my 'selected interpreter' for this project

Well, it looks like you have something else wrong with your Mac or python installations. Right now, the issues you are having are not related to the python extension.
My suggestion is you reach out to the community in stack overflow to try and resolve this issue (of not being able to run a simple server)
Closing as this is not related to the extension, but an issue with the environment.

 After finding this thread it turns out that I did incorrectly edit my /etc/hosts file and localhost wasn't working properly. I've fixed it and the server is now launching and the debugger works properly. Thanks so much for your help with all this.

Debugger is not working for me either; I've been trying to get it to work for over two weeks.  I can't set an expression break point as in; print("yes") and expect it to write to the console, it doesn't work ?

@SheepDomination please open a new issue.


How to run multi envoy process on one linux server

Title: One line description
How to run multi envoy process on one linux server
Description:
I am not using docker container.
I have the need to want to start two envoy processes on one linux server.
Steps:

create two folder on a centos server
/root/envoy1 and /root/envoy2
scp envoy binary (built on centos7) to the server under /root/envoy1 and /root/envoy2
Prepare config.yaml files with diff ports
Start envoy from folder 1. it works well
/root/envoy1/envoy -c /root/envoy1/config.yaml --service-cluster myapp1 --service-node myapp1
Start envoy from folder 2. Nothing happens. And there is no screen output and log for further information
/root/envoy2/envoy -c /root/envoy2/config.yaml --service-cluster myapp2 --service-node myapp2

Any suggestion?

@huxiaobabaer from envoy --help. Works well and I run multiple Envoy's on a single host.
   --base-id <uint32_t>
     base ID so that multiple envoys can run on the same host if needed

@moderation What is the default value of base id if not specified? TKS

I don't believe there is a default. I start with 0 and count up from there.From 0 to<PHONE_NUMBER> works.

Thank you very much for your help!!! @moderation


Support Commands.noModuleOptions() to exclude standalone options

A scenario that I have is an app with preset bundled configurations that are chosen with command line flags like --qa, --prod. And I don't want to expose --config to avoid confusing the users with extra choices. Commands module builder already has a noModuleCommands() method. Maybe we also need Commands.Builder.noModuleOptions()?
In this case we will need to distinguish between standalone options and options that are coming from commands.
(Also perhaps we can fold Commands into BQModuleExtender? Though this would be a topic of a separate discussion).

Also see #111. Commands may need to support all those config bindings...


feat: Add "How to Sell" section to consign2

https://artsyproduct.atlassian.net/browse/GRO-37
Adds the "How to Sell" section for the new consign2 page. The structure is almost identical to https://github.com/artsy/force/pull/6525.
Screenshots

LGTM 👍


Event request codeunit 5064 "Email Logging Dispatcher"

We want to set default contact on the interaction for incoming email if the sender is not registered as contact. To be able to do that we need to handle the checks in the IsMessageToLog procedure.
Since we do not have access to the dotnet variable could you add event which gives us the option to drop one or more of the checks? We also need events to handle the contact and salesperson.
...
 local procedure IsMessageToLog(QueueMessage: DotNet IEmailMessage; var SegLine: Record "Segment Line"; var Attachment: Record Attachment) Result: Boolean
    var
        Sender: DotNet IEmailAddress;
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeIsMessageToLog(SegLine, Result, IsHandled);
        if IsHandled then
            exit(Result);
      OnBeforeRunMessageChecks(RunIsSensitiveCheck, RunIsEmptyCheck)

      if RunIsSensitiveCheck and QueueMessage.IsSensitive then begin
                  Session.LogMessage('0000BWA', MessageNotForLoggingTxt, Verbosity::Normal, DataClassification::SystemMetadata, TelemetryScope::ExtensionPublisher, 'Category', EmailLoggingTelemetryCategoryTxt);
          exit(false);
      end;

      Sender := QueueMessage.SenderAddress;
      if RunIsEmptyCheck and (Sender.IsEmpty or (QueueMessage.RecipientsCount = 0)) then begin
          Session.LogMessage('0000BWB', MessageNotForLoggingTxt, Verbosity::Normal, DataClassification::SystemMetadata, TelemetryScope::ExtensionPublisher, 'Category', EmailLoggingTelemetryCategoryTxt);
          exit(false);
      end;
...

    [IntegrationEvent(false, false)]
    local procedure OnBeforeRunMessageChecks(var RunIsSensitiveCheck: Boolean; var RunIsEmptyCheck: Boolean)
    begin
    end;

 procedure IsSalesperson(Email: Text; var SalespersonCode: Code[20]): Boolean
    var
        Salesperson: Record "Salesperson/Purchaser";
    begin
       IsHandled := false;
       OnBeforeIsSalesperson(Email, SalespersonCode, Result, IsHandled)
       if IsHandled then
         exit(Result);
        if Email = '' then begin
...

    [IntegrationEvent(false, false)]
    local procedure OnBeforeIsSalesperson(var Email: Text; var SalespersonCode: Code[20]; var Result: Boolean; var IsHandled: Boolean)
    begin
    end;

procedure IsContact(EMail: Text; var SegLine: Record "Segment Line"): Boolean
var
    Cont: Record Contact;
    ContAltAddress: Record "Contact Alt. Address";
begin
   IsHandled := false;
   OnBeforeIsContact(Email, SegLine, Result, IsHandled)
   if IsHandled then
     exit(Result);
    if Email = '' then begin

...

[IntegrationEvent(false, false)]
local procedure OnBeforeIsContact(var Email: Text; var SegLine: Record "Segment Line"; var Result: Boolean; var IsHandled: Boolean)
begin
end

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[Feature] Add to the documentation GITHUB_TOKEN requeried permission

Summary
If you fork this project and follow the instructions are they are mentioned, there is no mention about the requeried permission for the GITHUB_TOKEN (default only allow read access)
Changes
Add a note to the documentation to double check the GITHUB_TOKEN permission.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for the suggestion and accompanying PR @HectorQuiroz! I've request a review from the content team on the PR, note that it may take some time for them to review it.

That's spot on. I believe that Step 4 would be the most appropriate for mentioning the need to change workflow permissions.
For those, who came here for a solution: Go to repository Settings > Actions > General > Workflow permissions and check Read and write permissions.

Additional context
Add any other context or screenshots about the feature request here.

i

kjre


Swift Package Manager support?

I think MoltenVK would benefit from Swift Package Manager support, to make it easier to add to Xcode projects.
Does that seem like a good idea? I'm happy to help.

I'm currently wrapping the XCFramework. It's just not as pleasant of a workflow as source. Updating the XCFramework is harder, I have to put it somewhere, and it won't be versioned automatically. It's also harder to debug. Quoting the link above:
"Carefully consider whether you want to distribute your code in binary form because doing so comes with drawbacks. For example, a Swift package that contains a binary is less portable because it can only support platforms that its included binaries support."
There are probably other advantages to source (I'm no SPM expert). I think the only reasons for doing a XCFramework would be to protect IP (as apple mentions), or if the dependencies are too hard to deal with (though they could be packaged as binaries, which isn't ideal but at least would make the workflow easier).

Ah. My use case is probably a bit different than most. I've got an app which allows you to edit/run shadertoy-style GLSL shaders, so I need runtime conversion of shaders.
It actually might be better for me to use glslang and spire-cross directly rather than using MoltenVK, but I thought I'd offer my help anyway :)

I've created a package for SPIRV-Cross: https://github.com/KhronosGroup/SPIRV-Cross/pull/1769
Looks like adopting SPM would greatly simplify MoltenVKPackaging.xcodeproj. I think a lot of the scripts would go away, and fetchDependencies would go away (or be greatly simplified). The platform specific targets would go away as well (MoltenVK-iOS/macOS/tvOS) while still being able to build an XCFramework.

Hey! @wtholliday can you explain me how to integrate this dependency to existing SPM project? I got a lot of problems here with glm.hpp and so on. Maybe I should use some hacks to add it to my project?

Hi @SpectralDragon, sorry I ended up using SPIRV-Cross and glslang directly so I didn't use MoltenVK. Really I just needed to translate GLSL to metal for my app. So I never finished making a Swift Package for MoltenVK.

Hi @SpectralDragon, sorry I ended up using SPIRV-Cross and glslang directly so I didn't use MoltenVK. Really I just needed to translate GLSL to metal for my app. So I never finished making a Swift Package for MoltenVK.

Ok, thanks) I’ll digging deeper, mb I can fix it)


Kiosk: Selecting a game not always consistent

This is hard to repro; it's hard to tell what the trigger is because it doesn't happen based on a consistent condition -- at least that I've seen so far. Basically, at times, when you are traversing the game list and select a game, the game that loads is not the game that you were focused on.
I have a feeling that it's a difference in control problem. For example, if I go in between keyboard and game pad controls, the kiosk doesn't handle it very well.

Commonly happens on the first time selecting a game

This repro randomly again multiple times today. Doesn't seem to be fixed. I have the latest bits


Batch compressed images

This is a great project, but it can only compress one picture at the same time, which doesn't seem to meet people's demand for batch compression. I hope you will add this function, thank you!

This is a great project, but it can only compress one picture at the same time, which doesn't seem to meet people's demand for batch compression. I hope you will add this function, thank you!

I agree it would be really useful if we could do batch compression, maybe even one image after the other

+1 please support batch bulk compress

This is a big one, batch support would make this the de-facto for web compression

That would be great yes. My typical use case is to compress 10+ images with a similar compression setting.
This could be achieved by adding multiple files from a browse button and an option to choose which compression setting to use. To give you an idea of what the 'paid competitor' product provides, using Squoosh would definitely be a winner.


Zookeeper discovery has an exception

Bug Report
What did you do?
Added a serverset_sd_configs job in prometheus.yml and reloaded the prometheus.
What did you expect to see?
I would expect to see the prometheus could read the services which were registerd to zookeeper cluster.
What did you see instead? Under which circumstances?
When I reloaded the prometheus.yml, the  prometheus stopped working and I found some error logs.

System information:
Linux 2.6.32-573.22.1.el6.x86_64 x86_64

Prometheus version:
prometheus, version 2.3.2 (branch: HEAD, revision: 71af5e29e815795e9dd14742ee7725682fa14b7b)
build user:       root@5258e0bd9cc1
build date:       20180712-14:02:52
go version:       go1.10.3

Zookeeper version:
3.4.12

Prometheus configuration file:

global:
  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
  external_labels:
      monitor: 'fishtrip-monitor'

rule_files:
  - "prometheus.rules.yml"

alerting:
  alertmanagers:
  - scheme: http
    static_configs:
    - targets:
      - "10.x.x.x:19093"
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'
    static_configs:
      - targets: ['localhost:19090']
  -job_name: 'node_exporter'
  ...
  ...
  - job_name: 'zookeeper_discovery'
    serverset_sd_configs:
    - servers:
      - 'a3:2181'
      - 'a5:2181'
      - 'a6:2181'
      paths:
      - '/services'

Logs:

panic: runtime error: invalid memory address or nil pointer dereference
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1511546]

goroutine 58 [running]:
github.com/prometheus/prometheus/discovery/zookeeper.(*Discovery).Run.func1(0x0)
	/go/src/github.com/prometheus/prometheus/discovery/zookeeper/zookeeper.go:165 +0x26
panic(0x19972e0, 0x2ae2be0)
	/usr/local/go/src/runtime/panic.go:502 +0x229
github.com/prometheus/prometheus/discovery/zookeeper.(*Discovery).Run(0x0, 0x1deec40, 0xc4208de2c0, 0xc420b38120)
	/go/src/github.com/prometheus/prometheus/discovery/zookeeper/zookeeper.go:178 +0x8d
created by github.com/prometheus/prometheus/discovery.(*Manager).startProvider
	/go/src/github.com/prometheus/prometheus/discovery/manager.go:133 +0x116

I thought I found my problem.

Reopening as there's indeed a problem with the Zookeeper SD when it can't connect to the servers.

@simonpasquier
Thanks for your reply! There was another problem.My prometheus connected ZK servers successfully , but it couldn't get any services' address and port.
Here is my prometheus log about ZK connection success
evel=info ts=2018-09-28T10:18:44.05267337Z caller=main.go:222 msg="Starting Prometheus" version="(version=2.3.2, branch=HEAD, revision=71af5e29e815795e9dd14742ee7725682fa14b7b)"
level=info ts=2018-09-28T10:18:44.052764946Z caller=main.go:223 build_context="(go=go1.10.3, user=root@5258e0bd9cc1, date=20180712-14:02:52)"
level=info ts=2018-09-28T10:18:44.052793254Z caller=main.go:224 host_details="(Linux 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 op1 (none))"
level=info ts=2018-09-28T10:18:44.052817947Z caller=main.go:225 fd_limits="(soft=65535, hard=65535)"
level=info ts=2018-09-28T10:18:44.053894088Z caller=web.go:415 component=web msg="Start listening for connections" address=<IP_ADDRESS>:9090
level=info ts=2018-09-28T10:18:44.053873265Z caller=main.go:533 msg="Starting TSDB ..."
level=info ts=2018-09-28T10:18:45.402911724Z caller=main.go:543 msg="TSDB started"
level=info ts=2018-09-28T10:18:45.403104292Z caller=main.go:603 msg="Loading configuration file" filename=prometheus.yml
level=info ts=2018-09-28T10:18:45.405783471Z caller=main.go:629 msg="Completed loading of configuration file" filename=prometheus.yml
level=info ts=2018-09-28T10:18:45.4058165Z caller=main.go:502 msg="Server is ready to receive web requests."
level=info ts=2018-09-28T10:18:45.40758143Z caller=treecache.go:60 component="discovery manager scrape" discovery=zookeeper msg="Connected to <IP_ADDRESS>:2181"
level=info ts=2018-09-28T10:18:45.415419815Z caller=treecache.go:60 component="discovery manager scrape" discovery=zookeeper msg="Authenticated: id=73893403303280656, timeout=10000"
level=info ts=2018-09-28T10:18:45.415490736Z caller=treecache.go:60 component="discovery manager scrape" discovery=zookeeper msg="Re-submitting `0` credentials after reconnect"

and here is the service in ZK
[zk: localhost:2181(CONNECTED) 12] get /services/zeus/c34e20d3-f278-430c-8f04-db40b145331c
{"name":"zeus","id":"c34e20d3-f278-430c-8f04-db40b145331c","address":"10.x.x.x","port":xxxx,"sslPort":null,"payload":{"@class":"org.springframework.cloud.zookeeper.discovery.ZookeeperInstance","id":"zeus:xxxx","name":"zeus","metadata":{"instance_status":"UP"}},"registrationTimeUTC":1538103418690,"serviceType":"DYNAMIC","uriSpec":{"parts":[{"value":"scheme","variable":true},{"value":"://","variable":false},{"value":"address","variable":true},{"value":":","variable":false},{"value":"port","variable":true}]}}
cZxid = 0x10000006d
ctime = Fri Sep 28 10:56:58 CST 2018
mZxid = 0x10000006d
mtime = Fri Sep 28 10:56:58 CST 2018
pZxid = 0x10000006d
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x10685a8a7230007
dataLength = 515
numChildren = 0

and here is my prom ui

I have no idea that why the host is empty and the port is 0.
Could anyone give me a hand?Thanks very much!

Unfortunately I'm not a ZooKeeper SD expert. Which system does provision the serversets in your ZooKeeper cluster?

Thanks for your reply!
I think I know where my problem is.I use the spring-cloud to implement services discovery, and the prometheus doesn't support it.It only support the finagle .

Closed by #4669


OCSP fetch breaks down with libressl 2.9.1

Hi Lukas,
Apparently, during ocsp fetch LibreSSL 2.9.1 behaves like OpenSSL 0x or 1.0x, at least with the -header "HOST" ...  parameter, so version checking is not THAT straightforward :)
I only have access to LibreSSL 2.9.1. I guess LibreSSL 3+ is okay but I couldn't try it. The fix below works for LibreSSL 2.9.1. Moreover, this is the only place in dehydrated where openssl's version is checked.
Regards,
javobalazs
Patch:
--- dehydrated.orig	2020-11-09 18:39:35.133546872 +0100
+++ dehydrated.new	2020-11-09 17:59:59.443399991 +0100
@@ -1664,7 +1664,7 @@
       if [[ "${update_ocsp}" = "yes" ]]; then
         echo " + Updating OCSP stapling file"
         ocsp_timestamp="$(date +%s)"
-        if grep -qE "^(0|(1\.0))\." <<< "$(${OPENSSL} version | awk '{print $2}')"; then
+        if grep -qE "^(openssl (0|(1\.0))\.)|(libressl (1|2)\.)" <<< "$(${OPENSSL} version | awk '{print tolower($0)}')"; then
           ocsp_log="$("${OPENSSL}" ocsp -no_nonce -issuer "${chain}" -verify_other "${chain}" -cert "${cert}" -respout "${certdir}/ocsp-${ocsp_timestamp}.der" -url "${ocsp_url}" -header "HOST" "$(echo "${ocsp_url}" | _sed -e 's/^http(s?):\/\///' -e 's/\/.*$//g')" 2>&1)" || _exiterr "Error while fetching OCSP information: ${ocsp_log}"
         else
           ocsp_log="$("${OPENSSL}" ocsp -no_nonce -issuer "${chain}" -verify_other "${chain}" -cert "${cert}" -respout "${certdir}/ocsp-${ocsp_timestamp}.der" -url "${ocsp_url}" 2>&1)" || _exiterr "Error while fetching OCSP information: ${ocsp_log}"

LibreSSL 3+ need the following code:
-        if grep -qE "^(0|(1\.0))\." <<< "$(${OPENSSL} version | awk '{print $2}')"; then
+        if grep -qE "^(openssl (0|(1\.0))\.)|(libressl (1|2|3)\.)" <<< "$(${OPENSSL} version | awk '{print tolower($0)}')"; then

I've tested this with libressl 3.2 and the patch works. Thanks.


Move all logging to logMessages()

Need to do a few things:

Add verbose and log.filename parameters to model functions
Accept verbose and log.filename as a pass-through into logMessages()
In logMessages(), if verbose == TRUE, log to the passed-through logfile (or stdout if the logfile is NULL/NA); otherwise don't emit any messages
Debug celdaGridSearch() logging to make in-line with above functionality

Fixed in #316


assert error message is not usable

When I run geosx I happen to have assert errors in LVArray that are not easy to understand as strings are not correctly built:
ArraySlice.hpp:294: std::enable_if<<expression>, T &>::type LvArray::ArraySlice<T, NDIM_TPARAM, USD_TPARAM, INDEX_TYPE>::operator[](INDEX_TYPE) const [with int U = 1; T = const int; int NDIM_TPARAM = 1; int USD_TPARAM = -1; INDEX_TYPE = int]: block: [31,0,0], thread: [4,0,0] Assertion `false && "EXP = " "index < 0 || index >= m_dims[ 0 ]" "MSG = " "\"Array Bounds Check Failed: index=\" << index << \" m_dims[0]=\" << m_dims[0]"` failed.

You're getting an out of bounds error on the GPU . In this case it's coming from an ArraySlice< int const, 1 >
FYI this is about as nice an error as you can possibly get out of a GPU...

Indeed i understood that. It's hard top follow as cuda gdb does not stop on it. I understand this is due ti thé fact we are on device section. Message could have been prettier if using printf as in the NDEBUG section. And even prettier if MSG was a FORMAT string that could be added to the printf argument and some variables (here index/dim) passed as argument to printf. But it is a large change as i understand from thé code.

My bad, I thought you were confused about the meaning of the message.
When NDBUG is defined LVARRAY_ERROR uses the standard assert macro, why cuda gdb doesn't stop on this is beyond me. Personally I've found that good old fashioned print debugging is often a decent way to do things for the GPU.
We could add printf but assert already prints out information so we would double the output for little gain other than that you get a nice error and location header. But you still have STRINGIZE( EXP ) and STRINGIZE( MSG ) which is producing that un-formatted output.
As you mentioned short of rewriting all our errors to use printf there's not much we can do about this. That said if someone were to add a printf set of error macros and switch the checks in host-device functions to use that I'd happily approve it.

I tried some patch but it became complicated when trying to use my macro in void checkIndices(...), need to convert printDimsAndIndices to method constructing a char[givensize]... which is not really C++ like... It is not that simple.

Basically something like this, maybe I could have 2 macros, one with printf compatible msg and the original one... :
#if defined(__CUDA_ARCH__)
#  define CUDA_INFORMATION_FMT "***** Block: [%u, %u, %u]\n***** Thread: [%u, %u, %u]\n"
#  define CUDA_INFORMATION_PARAMS blockIdx.x, blockIdx.y, blockIdx.z, threadIdx.x, threadIdx.y, threadIdx.z
#  define CALL_ERROR_HANDLER do { asm ( "trap;" ); } while ( false )
#else
#  define CUDA_INFORMATION_FMT
#  define CUDA_INFORMATION_PARAMS
#  define CALL_ERROR_HANDLER do { LvArray::system::callErrorHandler(); } while ( false )
#endif

#define NUMARGS(...)  (sizeof((int[]){__VA_ARGS__})/sizeof(int))
/**
 * @brief Abort execution if @p EXP is true.
 * @param EXP The expression to check.
 * @param MSG_FMT The format of the message to associate with the error, can be anything understood by printf().
 * @note This macro can be used in both host and device code.
 * @note Tries to provide as much information about the location of the error
 *       as possible. On host this should result in the file and line of the error
 *       and a stack trace along with the provided message. On device none of this is
 *       guaranteed. In fact it is only guaranteed to abort the current kernel.
 */
#define LVARRAY_ERROR_IF( EXP, MSG_FMT, ... )                           \
  do                                                                    \
  {                                                                     \
    if( EXP )                                                           \
    {                                                                   \
      constexpr char const * formatString = "***** ERROR\n"             \
        "***** LOCATION: " LOCATION "\n"                                \
        CUDA_INFORMATION_FMT                                            \
        "***** Controlling expression (should be false): "              \
        STRINGIZE( EXP ) "\n"                                           \
        "***** MSG: " MSG_FMT "\n\n";                                   \
      if (NUMARGS(__VA_ARGS__) == 0)                                    \
      {                                                                 \
        printf( formatString, CUDA_INFORMATION_PARAMS);                 \
      }                                                                 \
      else                                                              \
      {                                                                 \
        printf( formatString, CUDA_INFORMATION_PARAMS, __VA_ARGS__);    \
      }                                                                 \
      CALL_ERROR_HANDLER();                                             \
    }                                                                   \
  } while( false )

Well...we don't really do any error checking inside a kernel except for range checking...do we?


Neumorphism login page added

1-Add your project folder into folder ' pages '
2-Project folder structure
i-index.html
ii-js folder
iii-CSS folder
iv-image
v-ss of your work
3-Add your user data into the Data/pages.json folder
        "id": 1,
        "name": "Your clone Page Name",
        "description" : "This is the login page of this this ...",
        "img": "",
        "githuburl": "",
        "liveurl": "",
        "userData": {
            "nameofcreator": "",
            "githuburl": "",
            "linkedinurl": "",
            "portfolio": "",
            "email": "",
            "twitter": "",
            "mail": ""
        }
    }

1-Add your projectfolder into folder pages
2-Projectfolder structure
i-index.html
ii-js folder
iii-css folder
iv-image
v-ss of your work
3-Add your userdata into Data/pages.json folder
        "id": 1,
        "name": "Your clone Page Name",
        "description" : "This is the login page of this this ...",
        "img": "",
        "githuburl": "",
        "liveurl": "",
        "userData": {
            "nameofcreator": "",
            "githuburl": "",
            "linkedinurl": "",
            "portfolio": "",
            "email": "",
            "twitter": "",
            "mail": ""
        }
    }

4- Create a pr
5-Star the repo


unable to setup the project structure or download

I am unable to setup this project with after installed using conda 2 and python 2.7
after running the below, its just returning back to the prompt, please suggest
$ cookiecutter https://github.com/drivendata/cookiecutter-data-science
zainmdm@DESKTOP-D0AN22H MINGW64 /d/zain_python/gitcode (master)
$ echo $?
1

@zainmdm I don't reproduce this bug with Python 2.7.
 $ python -c "import sys; print sys.version"
2.7.15 |Anaconda, Inc.| (default, Nov 13 2018, 17:07:45)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
 $ cookiecutter https://github.com/drivendata/cookiecutter-data-science
You've downloaded /Users/bull/.cookiecutters/cookiecutter-data-science before. Is it okay to delete and re-download it? [yes]:

Do other cookiecutter templates work for you: https://github.com/audreyr/cookiecutter#python

Excellent its working now. thanks a lot for the great help


cannot make a valid archive in Xcode 8

I'm having an issue where KSCrash is getting added to my archive as a product no matter what settings I use in Xcode, thereby invalidating my archive. I've tried with cocoapods and manual installation.
ENV:
Xcode 8.1
OS X 10.11.6
bug snag: v5.6.2

Thanks for the report, @h3r2on. Can you share the error message or a screenshot of what you are seeing?

There isn't really an error its the fact that when I archive my app for upload to ITC, it archives as a generic product not as an application. If I open up the archive I see a products folder with an includes folder and inside is just KSCrash and it's swift files. If I remove Bugsnag and KSCrash from my project I get a valid Application archive that I can upload to ITC. Does that make sense?
I've tried all the skip install options for both the main app and Bugsnag/KSCrash and that hasn't fixed it either. I'm not sure what else to try too include it and get a valid application archive.

Gotcha. How are you installing Bugsnag?

i've tried via cocapods and manually both return the same result.

Can you share your Podfile @h3r2on? I’d like to reproduce in a sample project.

my issue can be resovled by fixing issue #128


Fix cron expression validation

Currently The Verifying capability of CronExpression is not sufficient. During this pull request, I further check validity of a cron expression by obtaining the next available time of cron.
Unite Test is added.
Verified through local environment as well.

I think we can push this pull request. @HappyRay


Custom rule with messages from dictionary

With the following code:
        const passwordRule = {
          validate(value, args) {
            return self.validatePassword(value)
          }
        }

I get the error that a message object must be set or a method for getting the message. However, I do have the messages for the validated field set in a dictionary. Is there a way to make the rule use the messages from the dictionary?

The object form needs to have both getMessage and validate methods. If you already merged the message in the dictionary you could only pass the validate function to the extend method.
Validator.extend('pass',  (value, args) => {
   return self.validatePassword(value);
});


Custom Token checker function not working

I try to separate the logic of checking JWT tokens from one function so that it can be reused. But when I try to run the code, it does not work. I manage an access token in my database and check if it exists or not. The last generated token will be valid only for the access token. This access token must be checked at every protected endpoint. Here is my code:

@router.get('/user')
async def items(Authorize: AuthJWT = Depends(), db: AsyncIOMotorClient = Depends(get_database)):
    try:
        await jwt_token_checker(Authorize, db)
        return {"asd"}

    except Exception as ex:
        return error

Helper Function:
async def jwt_token_checker( Authorize: AuthJWT , conn: AsyncIOMotorClient):
    try:
        Authorize.jwt_required()
        jti = Authorize.get_raw_jwt()['jti']
        current_user = Authorize.get_jwt_subject()
        access_token_check = await check_access_token(conn, Authorize, jti, current_user)

        errorMessage = ""
        if access_token_check == AuthEnum.FORBIDDEN_UNAUTHORIZED_ACCESS:
            errorMessage = Locale(
                language, strings.FORBIDDEN_UNAUTHORIZED_ACCESS).string
            return errorMessage
    except Exception as ex:
        return error

Is this right way to separate the token checker function? If not then can you please suggest me some solution.

You return error, not return ex. check your code again when I testing in my machine is working
@app.get('/user')
def user(Authorize: AuthJWT = Depends()):
    try:
        current_user = jwt_token_checker(Authorize)
    except Exception as ex:
        return ex # return ex not error

    return {"user": current_user}

def jwt_token_checker(Authorize: AuthJWT):
    try:
        Authorize.jwt_required()
        return Authorize.get_jwt_subject()
    except Exception as ex:
        return ex # return ex not error

Here is actual code: It is not working:
@router.get('/user')
async def items(Authorize: AuthJWT = Depends(), db: AsyncIOMotorClient = Depends(get_database)):
    try:
        """ If there was an exception, the function must throw an error, but now it always returns a success true """"
        await jwt_token_checker(Authorize, db)

        return {"success": true}
            #

    except Exception as ex:
        return JSONResponse(
        status_code=200,
        content={
            "data": None,
            "code": 400,
            "message": "Some thing Went Wrong,
            "status": False
        }
    )

Helper Function:
async def jwt_token_checker(language: str, Authorize: AuthJWT , conn: AsyncIOMotorClient):
    try:

        Authorize.jwt_required()

        jti = Authorize.get_raw_jwt()['jti']
        current_user = Authorize.get_jwt_subject()
        access_token_check = await check_access_token(conn, Authorize, jti, current_user)

        errorMessage = ""
        if access_token_check == AuthEnum.FORBIDDEN_UNAUTHORIZED_ACCESS:
            errorMessage = Locale(
                language, strings.FORBIDDEN_UNAUTHORIZED_ACCESS).string
                return JSONResponse(
                  status_code=200,
                   content={
                   "data": None,
                   "code": 400,
                  "message": errorMessage
                  "status": False
                }
            )

    except AuthJWTException as e:
        return JSONResponse(
                  status_code=401,
                   content={
                   "data": None,
                   "code": 401,
                  "message": "UnAuthorize User"
                  "status": False
                }
            )

you must raise an exception not return a response
@app.get('/user')
async def user(Authorize: AuthJWT = Depends()):
    try:
        await jwt_token_checker(Authorize)

        return {"success": True}
    except Exception:
        return JSONResponse(
            status_code=200,
            content={
                "data": None,
                "code": 400,
                "message": "Some thing Went Wrong",
                "status": False
            }
        )

async def jwt_token_checker(Authorize: AuthJWT):
    try:
        Authorize.jwt_required()
    except AuthJWTException:
        raise # raise exception


Does not appear to work with React Router v5.

I tried several configurations. No errors, but basically functions as if there was no scroll restoration at all.
I had some luck reverting to v4, but still wasn't totally working. I can come back and fill in more details as time allows.

I haven't had a chance yet to try it with RRv5. I'll try to get to it in a few weeks, as I plan to start a new React project then.

Ok, thank you.

I've been able to reproduce this in a RRv5 project. The WindowScroller is not updated because of the RRv5 change to use the new context API for passing location: https://reacttraining.com/blog/react-router-v5/. I think I'll need to make a new major version for RRv5. It will also be an opportunity to move to hooks and Typescript.


Upgrade istio envoy

Description
This PR does not fix an open issue, because there isn't one.
Notes for Reviewers
istio/proxyv2 is currently at 1.12.0-rc.1, proposing to upgrade to 1.13.8.
This PR will need to be merged after the upgrade on upstream before merging the PR for the filters.
Signed commits

[ x ] Yes, I signed my commits.

Yay! @acald-creator 😁


Use logger instead echo

Better to logger instead echo.
For example you can use use this one or monolog, or something else.
If you do not mind, I can create pull request with using https://github.com/mougrim/php-logger.

@mougrim maybe close this?

I think it's still actual


GA Date - Managed VNET

Dear,
can you share the planned GA date for this feature? Seems like the preview is already running for more than 1 year, and managed vnet capabilities are enabled in GA for other services.

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

ID: 0b7d5707-9f14-db2b-00fb-5edd7bbcd06f
Version Independent ID: 2a0f8297-bdf7-3056-121e-963140ec0703
Content: Managed virtual network & managed private endpoints - Azure Data Factory
Content Source: articles/data-factory/managed-virtual-network-private-endpoint.md
Service: data-factory
Sub-service: integration-runtime
GitHub Login: @lrtoyou1223
Microsoft Alias: lle

@cstainie Thanks for your feedback! We will investigate and update as appropriate.

@cstainie Unfortunately, we do not have any specific dates yet to be shared publicly. Please follow  Azure Updates for the same.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Sender doSend implementaton question

Hello,
I am reviewing great Aeron code and I'm wondering why this Sender doSent method splits iteration of NetworkPublications on two for loops? Can it be one iteration of all NetworkPublication[] publications?

It can be written a number of ways, actually. And has been if you look at the commit log for the file. However, this seems to optimize well and is simple.

Thanks for quick response. I see now, it is for optimization.

The loops are written this way to help them benefit from bound check elimination on the arrays.


Show cursor in AltScreen

I'd like to be able to see the system cursor in my app.
Is it possible? Thanks.

I see in bubbles package for textinput cursor is “emulated”. It will be cool to have api to show cursor and move it position via commands.

This is a good idea. Transferring to Bubbles so we can track it.


Sitemap.aspx does not produce alternate links in multilingual website

fixes https://github.com/dnnsoftware/Dnn.Platform/issues/2819
See demo: DEMO
To validate generated sitemap, there is a bunch of validators available. Validation requires sitemap.xml to be available on public. To pass xml from local environment to public, I generated sitemap locally and mock xml response using mocky.io. Passing public URL to the validator does the trick. No issues detected.
Please be noted, adding xhtml:link tags makes xml broken to be displayed in browser, however, document parses correctly in a sitemap validators and looks as per official google documentation, see Sitemap chapter.

After reviewing this, there's some history to consider:

This functionality was commented out in 40394e1b92bf2a5397b45ab28f5a7294286c93b7 (which, I believe, corresponds to the 7.4.2 release)
There's a discussion in Jira: DNN-4122

A common case for multi-lingual sites is to have them running off different domain names so they are relevant to their locale. This in turn means they are separate sites to crawlers, thus they should not appear with mixed domains in a sitemap as this is incorrect. When locales in DNN are mapped to different portal aliases, as they are effectively separate sites at that point.

The final decision seems to be an agreement on a different sitemap per domain/language

In the issue mentioned, #2819, @Tychodewaard asks for a <link rel="alternate" hreflang="…" href="…" /> tag, not a sitemap change

That said, this seems like the simpler solution, but we'll need to have some discussion, since we're reversing a previous decision.
cc: @sleupold @daguiler @EPTamminga @mitchelsellers

This seems to be correctly implemented as per the standard but the obvious question is why this was commented out before.
This code was commented out 4 years ago, here: https://github.com/dnnsoftware/Dnn.Platform/pull/471/
Maybe someone remembers why?

This was attempted previously: https://dnntracker.atlassian.net/browse/DNN-9223

Thanks to all for sharing the history of initial problem. Checking all the tickets reported previously I found community tried to resolve sitemap XML creation problem for the multilingual site.
Having multiple languages, i.e. en-US and en-AU, system was writing both to a single sitemap. That was causing XML structure problem due to multiple root elements and etc...
Finally, decision was to split sitemap per locale.
If fact, with this change we do not break implemented behavior. We still generates one sitemap = one locale. I added both en-US and en-AU to the system, see how sitemaps are created.
http://dnnhost.com/sitemap.aspx - will result to sitemap.en-us.xml (default locale)
http://dnnhost.com/en-US/sitemap.aspx - will result to sitemap.en-us.xml
http://dnnhost.com/en-AU/sitemap.aspx - will result to sitemap.en-au.xml

Having this changes we just adding extra elements with an alternative links to help google properly crawl sites (see highlighted areas). This should not produce any regressions.

Make sense @mikebigun.
Any concerns @dnnsoftware/tag with re-enabling this?

Dear community, please let me know if there are any concerns.

Just commenting this so stalebot does not close it.


refactor: store bytes in vars instead of memory block index

Fixes an incompatibility identified here: https://github.com/extism/go-pdk/pull/34
Storing the handle makes a lot of sense here, but the PDKs expect for the handles that are passed into var_set and returned from var_get to be transient.

It seems like it may already be a bug like you mentioned, I am using node to run test plugins that contain some code like this:
  plugin.setVar("test_var", "something");

  const c = plugin.getVar("test_var") catch unreachable orelse "";
  if (!std.mem.eql(u8, c, "something")) {
      unreachable;
  }

and it's hitting that unreachable block because setVar is calling free on the value before it returns. I also noticed that the rust-pdk leaks these values, which is why we may not have run into this with plugins written in Rust.

I believe the js-pdk also leaks these values - it might be worth formalizing that behavior as "ownership of pointers passed to extism host functions are moved to the host"?

I believe the js-pdk also leaks these values - it might be worth formalizing that behavior as "ownership of pointers passed to extism host functions are moved to the host"?

Yeah I think that makes a lot of sense, I will investigate how Rust/Go handle pointers passed to the host and come up with some fixes.

I think this is fixed in #80?

Yep, closing this!


Enable using SHARED lock for append ingestion jobs

Currently, all append ingestion jobs to a datasource use EXCLUSIVE locks on time intervals or segments by default. #12041 added a config to allow specifying a flag in the ingestion job context which tries to take SHARED locks whenever possible. This allows for concurrent append jobs to co-exist.
This change enables that config by default so that all appends can run concurrently.
This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

The changes look good, @rohangarg .
I had a couple of questions.

How would this affect compaction jobs? I suppose compaction would want an exclusive lock and would thus wait (or fail?) for an interval on which an append job has a shared lock.
Do we already have ITs/UTs that test using a shared lock for append jobs?

Closing this since there are multiple test failures after enabling the context flag (not necessarily related to bugs, but to different configurations in tests which would need tweaking).
Since MSQ already uses SHARED locks for INSERTS and EXCLUSIVE locks for REPLACE, we should be leveraging that capability instead of spending time on this.
It can be re-opened if we think otherwise in the future.


IP address ranges incorrect?

I have a Azure DB for PostgreSQL instance which has some configuration steps performed on it via ADO pipelines.
The PostgreSQL instance firewall is configured to permit connections from the IP addresses listed above.
As of just now, my pipeline has reported an error:
* postgresql_role.tfe-role: pq: no pg_hba.conf entry for host "<IP_ADDRESS>", user "OBSFICATED", database "postgres", SSL on
The 13.75.n.n network isn't listed anywhere on this page as a network that is used by ADO.
Can someone on the ADO team please advise what is going on here?

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

ID: dc5a4cfa-aa84-9f0f-55f4-71ec4861c070
Version Independent ID: d621620a-c924-03b1-8b43-f99c33e58bb8
Content: Add IP addresses and URLs to allow list - Azure DevOps
Content Source: docs/organizations/security/allow-list-ip-url.md
Product: devops
Technology: devops-security
GitHub Login: @chcomley
Microsoft Alias: ChComley

@ausfestivus Thank you for the feedback, assigning this to the author for review.
This looks similar to the Postgres connectivity settings for Austrailia East, see here.
@kummanish

@ausfestivus, I've reached out to our team and will be in touch. Sorry you're experiencing difficulties.


Netflix Movies and TV Shows

🛠 Fixes Issue  #297
👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

please add hacktoberfest label

@nikhil25803

please add hacktoberfest label

Hey @nik132-eng, how did you get this mail. Can you please tell me a bit about it.

please add hacktoberfest label

Hey @nik132-eng, how did you get this mail. Can you please tell me a bit about it.

I mailed clueless community so they revert back

sorry this is for clueless community website. I requested to assign issue

Okay @nik132-eng
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
Follow Clueless on GitHub
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.

https://www.clueless.tech/profile/admin/77881638


Constrain pio::fifo::write value to valid types

Use funty to limit the types of values that can be passed as a generic parameter to pio::fifo::write.
Previously it would allow many types that would almost certainly have been unsafe, plus it didn't catch when you accidentally passed in a ref or pointer.
Fixes #316

Converting to draft again for now

Closing this in favour of #318


IE 10 Click event Doesn't work correctly

Am building a Card game all work perfect on other browsers even IE9  but  on IE10  i have a problem with those events
Card.onDoubleClick = function(ev){
// do something
}
Card.onPress = function(e){
// do somthing
}
when i double click on card for the first time it work  but when i click on other cards it doesn't work and log show me that  i clicked on the first card
when i move away the cursor from the canvas and i come back it work again but for one time

I'm having the same issue - double click will register but a single click will not, in IE10 and 11. I have touch enabled, and enabling then disabling gives me an error. Any other fixes?

@strohrdanz What is the error you get?

"Unable to get property 'f' of undefined or null reference" in the createjs minified file

Any chance you can toss in a combined minified file instead? Obviously this error is pretty unhelpful as-is :)

I believe that's what I'm using... createjs-2014.12.12.min.js.  I tried switching it out for the latest version but then things stopped working...

I've also got click events registering on different pages, so i'm not sure what's going on. It's not working only on one page, and the double click and mouseover events are registering, just not a single click, which is what I need.

I think Lanny means the unminified combined file. The latest is here:
https://code.createjs.com/createjs-2015.05.21.combined.js

@gskinner @lannymcnie  ah, makes sense. I still get the same error with the unminified version, referencing this function:
Touch._IE_disable = function(stage) {
var f = stage.__touch.f;
	if (window.navigator["pointerEnabled"] === undefined) {
		window.removeEventListener("MSPointerMove", f, false);
		window.removeEventListener("MSPointerUp", f, false);
		window.removeEventListener("MSPointerCancel", f, false);
		if (stage.canvas) {
			stage.canvas.removeEventListener("MSPointerDown", f, false);
		}
	} else {
		window.removeEventListener("pointermove", f, false);
		window.removeEventListener("pointerup", f, false);
		window.removeEventListener("pointercancel", f, false);
		if (stage.canvas) {
			stage.canvas.removeEventListener("pointerdown", f, false);
		}
	}
};

The error is likely caused by calling if Touch.disable() when it is disabled already (since the stage.__touch variable is nulled when you disable). It is probably worth adding a check for this in the Touch class to avoid this error.
I will look into the click/double-click error.

I ended up adding this line in the p.enableDOMevents function as a workaround:
ls["click"] = {t:this.canvas, f:function(e) { _this._handleDoubleClick(e)} };

I did some quick testing in IE11/Edge, and click/doubleClick works as expected when the Touch class is enabled.
Your solution dispatches a doubleclick when a click happens, so it doesn't really make sense.
The reason we don't use a browser click event on the Canvas in the Stage class is that it will register for the entire canvas, so it can not differentiate if the EaselJS target that was "pressed" is also the target that was "released".
I will do some testing in IE10, but so far have been unable to reproduce this issue.

Hey guys, by calling
createjs.Touch.disable(stage);
I get in IE11 still the above error (version 0.8.1):

"Unable to get property 'f' of undefined or null reference" at a._IE_disable

But I definitely didn't called this before on the stage, so I just wrote for now:
stage.__touch && createjs.Touch.disable(stage);

It's still happening in 1.0.0.


new error :((

help

 help

Retry

it happened again

it happened again

Keep trying

do you know how to fix it

do you know how to fix it

Fixing

its always happend to me if you fixed it, let me know

its always happend to me if you fixed it, let me know

I have fixed the bug. Just replace your executable file with a new one from the new release.

ok

it happened again


[BUILD] boost_system and boost_chrono missing

Problem
Occasionally, users report that the build fails due to the missing:
boost_system
boost_chrono

This happened

a few months ago on CentOS (#3111),
nowadays again on ubuntu (#4916).
just now on my laptop (VirtualBox ubuntu 18.04 on Win10 Pro)

Workaround
The suggested workaround here https://github.com/EOSIO/eos/issues/3406#issuecomment-392050991 is to delete the opt/boost and the build folder, and to update the clone of the repo.
For me, this simple step did it:
#within eos dir
rm -rf ../opt/boost*
./eosio_build.sh

This indicates that there is

a sporadic failure, possibly due to download timeouts or similar.
something that happens on the first build attempt (e.g. a path is set or similar), which lets the 2nd build attempt work fine.

Solution Path

Research the problem (ideally on a slower laptop)

is the 1st attempt always failing?

Verify the downloads
Fix the build-scripts, so this problem does not occur again

A quick-fix could be possibly to repeat the fetch-phase

Which boost version are you using? 1.67 is recommended.

@taokayan , this is more about the automatically installed version 1.67 (2 users, including me). Although the problem happened at least once in an older eosio version, which installed 1.66.


how to make it rectangular?

or specify a customer corner radius?

you'd have to get into the code unfortunately, but it wouldn't be hard at all.  It's literally just a UIView that comes down.  It has some interesting animations / sizing stuff but the view itself is static and rectangular


Error while adding any new class & compile

Hi,
I am very new to SparkleXrm. We have a requirement to create a editable grid for Quote Products in CRM 2016. It should work with online as well as on-premise.
I went through the first video, and able to understand, and set-up. All worked fine.
http://www.sparklexrm.com/s/Tutorials/SetUpNewProject.html
Now, I am trying to go through 2nd video (http://www.sparklexrm.com/s/Tutorials/FormDataBinding.html). And, trying to add class to Model to ClientUI Project, and it gave me below error:
The assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\System.dll' is not a valid script assembly.	ClientUI
I was first trying to add normal class, it gave me this error. Then, as per this blog (https://github.com/nikhilk/scriptsharp/issues/64), I added Script# class, but still same error.
Any idea why I am getting this error?
I am using Visual Studio 2012 with Developer Toolkit for 2013.
Also, it looks like the managed solution which is given for QuoteLineEditor is not working for CRM 2016. Am I looking at right place? I took the latest version 7.2.10.

I was using the SparkleXrmTemplateCRM2015 template. When I used this one - SparkleXrmTemplateCRM2015WithUnitTests. It's not giving this error anymore.


How to mock the data inside an iframe?

Hi, first of all i'd like to thank you for the great job with the module, it is both intuitive and helpful. It was working perfectly till the moment i needed to mock the data i receive within an iframe. When i make a call outside of the iframe everything works like a charm, however the same call made from the iframe tries to fetch the data from the server. What can be the reason for this behaviour? Is there a way to workaround it?

The page inside the iframe is accessing a different page of course, so when the mock plugin is setup through protractor, its only done on the main page (outside of the iframe).
The page within the iframe, I assume, is loading its own copy of Angular, correct? If so, then this page would be loading Angular without the plugin and your mocks would not work.
This is not a very common scenario and currently there is no support for this issue. I would recommend testing the page within the iframe independently from the main frame if possible. This option should work just fine.


HOV-48 | Drawer Component

Drawer component
Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Version used:
Browser name and version:
Operating System and version (desktop or mobile):
Link to your project:

@hafsahayath  to add the description

Table props

Attributes
Values
Optional?

children
ReactNode
No

open
boolean
No

onClose
() => void
No

position
bottom | left |  right |  top
Yes

withOverlay
boolean
Yes

closeOnClickOutside
boolean
Yes

@Raalzz @pruthvi2103

ticket code: HOV-48


Loosen async-timeout requirement

Pinning a specific version of async-timeout (==4.0.3) makes it difficult for downstream libraries to update when a new version is released. Loosen it to allow other compatible versions as well.

Thanks for the PR!
Could it be useful to loosen more requirements?


Creating a VM should be atomic

Destruction, or failure to create, should also destroy (from first to last):

storage account
network interface
virtual network
IP address
network security group

Figure out how to handle already-existing resources


Change to extracted data algorithm for identifier prefix to fix vulnerability

The current extracted data algorithms for self addressing and self signing identifier prefixes does a depth first serialization of all values of elements (fields) in the inception event except for the identifier prefix element. This is does in the Prefixer Class. This makes the identifier prefix a function of those values. Previously the nature of the values was such that they were unique relative to the elements in the inception event. The original extraction algorithms was designed early in the development process and lot has changed. It only extracted values because at the time element values were either cryptographic material which is unique or other fields which were unique.
However, the fractionally weighted signing threshold has values which are not unique. As a list of lists of fraction strings the grouping of the lists is arbitrary for a given set of weights but any groups would have the same serialization. This may expose the inception event to a transaction malleability attack where two different weighted thresholds semantically have the same element serialization thus resulting in that same identifier prefix but for two different semantically inception events.
There were three proposed solutions discussed.

add a check with custom serialization for the sith (signing threshold ) element that insets demarcation characters between clauses and weights to ensure serialization uniqueness.   This would not break any test vectors but those recently written for fraction serialization. This however may leave exposure for later similar non-uniqueness malleability vulnerabilities in the future for as yet to be defined elements.

Change the extract data serialization to add delimiters between each element value and each nesting of element values. this would ensure syntactic serialization uniqueness for semantically unique extracted values.  This will break existing test vectors but is a general solution.

Use the existing serialization created in the derivation code in Nextor as the new extracted serialization.  In order to compute the correct size for the version string a dummy value of the correct size is inserted into the Dict for the inception event and then serialized using the specified serialization (json, cbor, or mgpk). This serialization is then thrown away. But such a serialization is functionally sound and syntactically unique for semantic uniqueness and equivalent to 2 if not more so. Since it is computed anyway might as well use it instead of the the existing extract data algorithm. This will also break existing test vectors. As a result the extracted data serialization type is same as the serialization already chosen for the event and is not fixed.   The main difference between this 3) and 2) above is that this serialization includes the identifier prefix element but with a dummy prefix. Whereas 2 excludes this element entirely. This means for interoperability all implementations must use the same dummy character in the dummy prefix.
The '#' hash mark character was chosen.
It should be a character that is not a valid base64 character thereby making the prefix invalid and avoiding a potential bug where the dummy serialization gets used as the real event serialization.

After discussion with the group it was decided that 3 was the preferred option. The rust developers where not in the meeting so feedback from them is desired before final commit. this pull request implements 3 so one can see the implications of the change.

Added comments from Slack Discussion. Should put into one of the spec docs as normative text.
The point is not to protect against different identifiers in different inception events where the inceptions events only differ in the identifier. They are by mere inclusion of different identifiers entirely different inception events.  The point is to prevent the an identifier, that is self addressing or self signin,  from being derivable from two different inception events  that have the same identifier but differ in some other way . The case we want to prevent is the case where, the identifiers are identical but the inception events are not. This is an insidious form of duplicity the breaks the guarantee for self addressing identifiers that there may be only one verifiable inception event for that identifier. In other words we want the,  collision space of inception events for that identifier to be empty.  Clearly non-self-addressing identifiers do not have this guarantee. Any number of inception events may have the same identifier and still be verifiable. The only protection from such duplicity is first come or first seen inception event wins. The collision space for non-self-addressing identifiers is not empty and KERI does not provide any such guarantee for non-self-addressing indentifiers (self-signing is part of the self-addressing class). Clearly including the derivation code in the dummy does not prevent a non self-addressing identifier from having the same inception event that only differs in the prefix. But only differring in the prefix is all we need. They inception events are differnt and the prefeixes are different so they are not duplicitous in any way.              So given the above , what we want to do with the the dummy is avoid inadvertent use of the dummy event or confusion about the dummy event with the dummy identifier. The dummy must not be a valid identifier or confusable with a valid identifier.  it is merely a placeholder to get the length right for the version string. I suggest that doing anything to the dummy to give it the appearance of being a valid identifier such as including a derivation code confuses the purpose of the dummy and could result in bugs or errors when not recognized as the dummy. Indeed using '#' as the character is intentional to prevent ever confusing the dummy with a real prefix.

Added comments from Slack Discussion. Should put into one of the spec docs as normative text.
The point is not to protect against different identifiers in different inception events where the inceptions events only differ in the identifier. They are by mere inclusion of different identifiers entirely different inception events.  The point is to prevent the an identifier, that is self addressing or self signin,  from being derivable from two different inception events  that have the same identifier but differ in some other way . The case we want to prevent is the case where, the identifiers are identical but the inception events are not. This is an insidious form of duplicity the breaks the guarantee for self addressing identifiers that there may be only one verifiable inception event for that identifier. In other words we want the,  collision space of inception events for that identifier to be empty.  Clearly non-self-addressing identifiers do not have this guarantee. Any number of inception events may have the same identifier and still be verifiable. The only protection from such duplicity is first come or first seen inception event wins. The collision space for non-self-addressing identifiers is not empty and KERI does not provide any such guarantee for non-self-addressing indentifiers (self-signing is part of the self-addressing class). Clearly including the derivation code in the dummy does not prevent a non self-addressing identifier from having the same inception event that only differs in the prefix. But only differring in the prefix is all we need. They inception events are differnt and the prefeixes are different so they are not duplicitous in any way.              So given the above , what we want to do with the the dummy is avoid inadvertent use of the dummy event or confusion about the dummy event with the dummy identifier. The dummy must not be a valid identifier or confusable with a valid identifier.  it is merely a placeholder to get the length right for the version string. I suggest that doing anything to the dummy to give it the appearance of being a valid identifier such as including a derivation code confuses the purpose of the dummy and could result in bugs or errors when not recognized as the dummy. Indeed using '#' as the character is intentional to prevent ever confusing the dummy with a real prefix.

A guarantee of an empty collision space of inception events for a self-addressing keri identifier is a strong guarantee. This is stronger than the initial conception of self certifying self-addressing identifiers which was that the collision space of supporting infrastructure be empty. Supporting infrastructure would mean keys, witnesses, configuration traits. The idea being that if any of the supporting infrastructure changes then the identifier should change.  By strengthening this guarantee to the totality of the inception event except for the identifier prefix element then we get the infrastructure guarantee as a subset.  However this stronger guarantee now means that if we want to have unique self-addressing identifiers that share the same infrastructure we would have to add a nonce element to their inception events. This is not the usual case because in general one should use unique keys for unique identifiers as a security measure. But in some cases that may not be necessary.  The spec allows one to add elements not reserved by the spec,  so adding a nonce of any kind is not precluded.

A guarantee of an empty collision space of inception events for a self-addressing keri identifier is a strong guarantee. This is stronger than the initial conception of self certifying self-addressing identifiers which was that the collision space of supporting infrastructure be empty. Supporting infrastructure would mean keys, witnesses, configuration traits. The idea being that if any of the supporting infrastructure changes then the identifier should change.  By strengthening this guarantee to the totality of the inception event except for the identifier prefix element then we get the infrastructure guarantee as a subset.  However this stronger guarantee now means that if we want to have unique self-addressing identifiers that share the same infrastructure we would have to add a nonce element to their inception events. This is not the usual case because in general one should use unique keys for unique identifiers as a security measure. But in some cases that may not be necessary.  The spec allows one to add elements not reserved by the spec,  so adding a nonce of any kind is not precluded.


Allow passing Type and Uplink in registration requests

Currently, both Type and Uplink in v2.Registration are statically set to "unknown". This change allows (requires) that valid-looking values for those fields be passed in registration commands.
We will need to be sure that RNP has updated their configurations before we release this, and also that our own test instances. Alternatively, I could update these changes to make these fields optional. I chose to make them required because it puts autojoined machines at parity with every other machine on the platform, where those fields are always present.

This change is

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

37 of 37 (100.0%)  changed or added relevant lines in 2 files are covered.
10 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.8%) to 98.144%

Files with Coverage Reduction
New Missed Lines
%

handler/handler.go
10
97.8%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.8%

Covered Lines:
1216

Relevant Lines:
1239

💛  - Coveralls


chore: cleanup npm packages

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 14.84%. Comparing base (73e2efa) to head (ab32942).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
- Coverage   15.51%   14.84%   -0.67%
==========================================
  Files        1502     1485      -17
  Lines      134029   130727    -3302
  Branches   134029   130727    -3302
==========================================
- Hits        20795    19409    -1386
+ Misses     112037   110212    -1825
+ Partials     1197     1106      -91

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


Design for updating  shared State across channels

Using netty 5.
I have an application where my channel handlers need to update some shared state. Since netty is not thread safe across event loops, May I know how to do this one.
option 1: Is Synchronized  advisable within eventloop? Any impact on performance. My application typically handles < 1000 concurrent connections
option 2:  From my understanding of Event loop, If I use single worker thread, no need to sync as at any point of time only one channel is going to be handled.  So, If I use single worker thread, is the performance less than multiple threads.( From my understanding, I/O reading is actually epoll by a single thread)

@balsukrishna this is for issues and not for questions. Please use stack overflow.
That said you can use synchronized, how much it impact your performance is something you need to find out via profiler.


DeploymentsList: Replace "least healthy" with "most active" deployments

Replace the Least Healthy Deployments section at the top of the deployments list page with most active deployments, sort by RPS
Fix a bug where the titles of these tiles weren't being displayed because of an old usage of ConduitLink

Why would the user care about the most active deployments instead of the least healthy ones? I understand that "least healthy" sounds bad but at the same time I think that's a very useful feature if it works. Are we removing it because it doesn't work or just because it sounds bad?

It works fine.  We could also do one row of "most active" and one row of "least healthy". @wmorgan thoughts?

My 0.02$: In the absence of a well thought out story for what this is for, I don't think either "most active" or "least healthy" is particularly useful.  I'd be inclined to remove the summary graph row altogether.

This is not my favorite forum for justifying product decisions, but here we go. A very common NUX is when all services are at 100% SR. In that case, this section is poorly named and uninformative. We could have these graphs only appear when there are services < 100% SR, but opens up a whole set of design questions around what to do when SR numbers change, what about >3 low-SR services, etc.
For now, it is better to have something consistent and at least interesting. With sortable tables, it is very easy to find low-SR services anyways.

My 0.02$: In the absence of a well thought out story for what this is for, I don't think either "most active" or "least healthy" is particularly useful. I'd be inclined to remove the summary graph row altogether.

I agree with this. It doesn't seem like we have a great justification for these features, esp. based on what William said. Better just scrap them both and focus on more core functionality.

Let's continue with this ticket for now, please (it is a small amount of work), and address this sort of feedback in a future design review.


Documentation/Spec]Update sign and verify command spec to add --debug and --verbose flags

What is the areas you experience the issue in?
Notation CLI
What is not working as expected?
NA
What did you expect to happen?
NA
How can we reproduce it?
NA
Describe your environment

What is the version of your Notation CLI or Notation Library?

@priteshbandi could you check whether this issue can be closed


Iris jitomo

Minimum Viable Product
Your finished project must include all of the following requirements:
Home Page
Review the provided design file for the home page. Notice the navigation and header images are missing.

[x] Build the HTML and CSS to create the missing navigation and header.
[x] Link the About navigation item to the about.html page

You will also notice there are 10 boxes on the home page that need background colors. Use this list below to correctly style each box:

[x] box1: teal
[x] box2: gold
[x] box3: cadetblue
[x] box4: coral
[x] box5: crimson
[x] box6: forestgreen
[x] box7: darkorchid
[x] box8: hotpink
[x] box9: indigo
[x] box10: dodgerblue

About Page
Review the provided design file for the about page. You have been provided the HTML wrapper, footer, and page content for the about page. Create the rest of the missing HTML and CSS to match the design file.

[x] Copy and paste your home page navigation and header into the about page
[x] Update the header image with the about page image
[x] Link the Home navigation item back to the index.html page.
[x] Build the rest of the about page layout to match the design

In your solution, it is essential that you follow best practices and produce clean and professional results. Schedule time to review, refine, and assess your work and perform basic professional polishing including spell-checking and grammar-checking on your work. It is better to submit a challenge that meets MVP than one that attempts too much and does not.
Stretch Problems
After finishing your required elements, you can push your work further. These goals may or may not be things you have learned in this module but they build on the material you just studied. Time allowing, stretch your limits and see if you can deliver on the following optional goals:

[ ] Build a page of your choosing from the navigation items. Come up with content and images that fit the theme.
[ ] Introduce CSS animations to your site.
[ ] Build a contact page and create a form with several inputs of your choosing
[ ] Add responsive breakpoints to your code by using media queries

What Looks Great

Great job reaching MVP!
Code is well organized and easy to read
Great job getting your site to closely match the design file!


Sync with OS commit 6e3099ac18718043334c9e8277b772aa1c46cedd

@dunhor feel free to merge.

@dunhor feel free to merge.

At the moment I need to wait for a change that hasn't quite reached our branch. It seems the unique_process_heap_ansistring change caused a number of duplicate definition errors with code in osdep. The vpack has an update which removes the duplicate definition, however that update also requires other unrelated changes I need to wait for as well.

At the moment I need to wait for a change that hasn't quite reached our branch

And it looks like it only just yesterday reached ge_current_nicurrent, which is hopefully a good sign, but will probably have to wait for the new year


YJDH-582 | Management command for copying past youth summer vouchers to handlers

This PR adds a management command for sending all past youth summer vouchers to the handler email.
Example output:
Sent 12e5d5ee-c584-4ae1-88ff-4ab28df743fa
Sent 3ce08e4b-4a39-4633-8fc8-52c52f1a2491
Sent a43e094b-de2c-46c8-af0d-2b512b05cfbe
Processed 3 vouchers

Codecov Report

Merging #1187 (9611ece) into develop (9d0a9e2) will increase coverage by 30.83%.
The diff coverage is 31.81%.

@@             Coverage Diff              @@
##           develop    #1187       +/-   ##
============================================
+ Coverage    63.63%   94.47%   +30.83%
============================================
  Files          998      134      -864
  Lines        27372     6134    -21238
  Branches      2842        0     -2842
============================================
- Hits         17418     5795    -11623
+ Misses        9517      339     -9178
+ Partials       437        0      -437

Impacted Files
Coverage Δ

...s/management/commands/send_vouchers_to_handlers.py
31.81% <31.81%> (ø)

...nd/shared/shared/service_bus/service_bus_client.py
27.65% <0.00%> (-57.45%)
:arrow_down:

backend/shared/shared/yrtti/yrtti_client.py
39.39% <0.00%> (-51.52%)
:arrow_down:

backend/shared/shared/common/lang_test_utils.py
80.00% <0.00%> (-20.00%)
:arrow_down:

backend/shared/shared/audit_log/admin.py
87.50% <0.00%> (-12.50%)
:arrow_down:

backend/shared/shared/audit_log/viewsets.py
88.60% <0.00%> (-7.60%)
:arrow_down:

...t/applicant/src/components/pdfViewer/PdfViewer.tsx

...rowser-tests/thankyou-page/thank-you.components.ts

frontend/shared/src/constants/portal-id.ts

frontend/shared/src/hooks/useGoToFrontPage.tsx

... and 861 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d0a9e2...9611ece. Read the comment docs.


update expand antlr command

Description
Due to the need to expose the latest P1 commands list of ppl antlr grammar - this PR includes the last missing geoip command.
It is added to the antlr files without any other tests or functionality for the single purpose of reflecting a complete set of grammar vocabulary parsing syntax.
Related Issues
#910
Check List

[ ] Updated documentation (docs/ppl-lang/README.md)
[ ] Implemented unit tests
[ ] Implemented tests for combination with other commands
[ ] New added source code should include a copyright header
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This change seems has no relavant with expand. Am I missing something?

+1, I think the title mismatch with the change and it cannot resolve: https://github.com/opensearch-project/opensearch-spark/issues/910.


Use https when refering to symfony.com

Reopening, failed tests seem unrelated. ping @javiereguiluz

Thanks Robin.


A*

First of all, thank you for your contribution, but I would like to ask, how should I remove the green part? Thank you

In the RUN_Astar.m script, change the following line:
https://github.com/MortezaHagh/PathPlanning-MATLAB/blob/efa8779d38ddb46dcd67ff0b232c17e24620ab3e/AStar/RUN_Astar.m#L60C1-L60C38
to:
plotSolution(Sol.coords, [])

In the RUN_Astar.m script, change the following line:
https://github.com/MortezaHagh/PathPlanning-MATLAB/blob/efa8779d38ddb46dcd67ff0b232c17e24620ab3e/AStar/RUN_Astar.m#L60C1-L60C38
plotSolution(Sol.coords, Msol.coords)
to:
plotSolution(Sol.coords, [])

Thanks for your help, I successfully eliminated it.
After testing, I had a second problem because I increased neighbors to 32 in createModelAstar.m and it worked smoothly. But there seems to be something wrong with his path. He will go directly through obstacles. I would like to ask you what else should I change? Because my programming and English are not very good, so please help me. ,Thanks.

Also, I would like to ask, does the "cost" that appears in the Command Window mean the length of the moving path?
Thank you


amazing work ! but when to release the code and pretrain model!

amazing work ! but when to release the code and pretrain model， I believe this work will have a great impact @lmthang

can you answer this question @gunjanbaid

Bump

Dall-e took sometime to release a demo available on line and we had to wait in line. I guess Google should make sure that Parti comply with their policy before opening it to the world. This tool is wonderful and I have many ideas of what we can use it for to help supporting many artistic fields. For example, I have already used Dall-E to generate some assets of an application I've built for a project and the creative process is really nice. You can see the idea forming and being enhanced through the prompt updates. Dall-E still struggles with generating text. I hope Parti can do better. People can also generate art and even get creative to build real objects out of an Idea they give the AI. For example, I used Dall-E to create an original bread in the shape of a cat eating crockets. The generated image can eazily be converted to real creation by a baker. And these are just few Ideas out of the loads of stuff you can do with this technology. Ofcourse the most obvious thing is to generate memes and NFTs.
But in the wrong hands, it can be miss used and the implications may be severe. So, better wait that all risks are mitigated before releasing it. Dall-e for example is blocked from generating celebrity photos and sexual content etc..
I think some adversarial attacks tests should be performed to ensure the safety of the tool. Also, they can create a shielding neural network that analyzes the promt to make use it dosn't violate their policy. They may also clean up the database used to train the networks to ensure it never sees bad stuff etc.
This takes time. I'll be pleased to test Parti when released. Good luck.

@ParisNeo and Dalle-E doesn't even comply with GDPR, or display the price of new credits (which should be free since it's a closed beta for testing their new features, instead of an enormous expense) without the tax included which is required in the EU. i would imagine `Gooogle wouldn't release a front-end that was missing these sorts of things.

Any updates of this model code and weight release?


Content filter to prevent mail text from being stripped

When using mail2most i encounter problems where mail content is stripped when it contains certain combinations of characters which are interpreted as markdown (colon, hyphen, pipe etc.).
I propose a new setting for a profile that enables me to specify certain characters which will be filtered out before posting the text in a mattermost channel.
An alternative would be to start/end escaping using the prefix/suffix settings. But it seems mattermost is lacking support for such an escape block. Using "```" blocks doesn't fix the problem for me.

hello @nicolasguenther thank you for opening an issue here. I'll take a look into this.
Is this only a problem with markdown interpreted characters?
Maybe a StripMarkdown analog to StripHTML would be easier instead of a filter list.

Thanks @c-seeger. StripMarkdown looks convenient. I'm not sure it would solve my problem though. The problem occurs especially when the mail content contains colon characters which are used as control characters to enter emojis. I'll prepare and post an example later.

Example mail body 1:
test.
test: 123456

Result: Non printable characters are shown in the mattermost channe M�-
Example mail body 2:
test
test: 123456

Result: Second line is stripped and not displayed in mattermost channel. Note: There is a space character at the end of the first line.

@nicolasguenther i actually can't reproduce the issue both mail bodys work correctly on the latest build.

Hi,
I also see some text stripped from email, for example this email (in Plain Text Mode in Gmail):
The oncall rotation for ladder 'http://test' has been updated at 2021/09/28
13:30:00-0700:
Oncall until: 2021/10/05 13:30:00-0700

Oncall list (level -> contacts):
Level 1: quidam
Level 2: quidam_bis

May the queries flow and the pagers remain silent.

renders like this in Mattermost:
The oncall rotation for ladder 'http://test' has been updated at 2021/09/28
13:30:00-0700:

Oncall list (level -> contacts):

May the queries flow and the pagers remain silent.

In the mail2most config, we use StripHTML = false and ConvertToMarkdown = false.
It seems like the lines after a :\n go missing?
Any idea how to fix it?
Thanks

Thanks @Philmod for bringing this up. Interesting behavior, I'll take a look on this and check if I can reproduce this.

Hi @c-seeger, any update on this bug?

Hey @c-seeger, any update on this issue?

hello @Philmod sorry not atm will take a look as soon as i find some time

The root cause is:
	// Remove reply headers.
	re := regexp.MustCompile(`(.+): ((.|\r\n\s)+)\r\n`)
	b = re.ReplaceAll(b, []byte(""))

Such behavior is definitely needs to be configurable


Changing double  not adding closing  tag

Test url: http://www.appleinsider.com/articles/12/01/14/reacting_to_apple_at_ces_2012_intels_ultrabooks_to_samsungs_galaxy_note.html
Expected:
Double
 tag should be changed to
{content}

Observed:
Double
 tag is changed to
, but no closing tag is inserted

Version:
1.3.0

That was a known problem. ReadabilitySAX uses a regexp for this task, so we have to decide which is worse: Having an unmatched closing p tag, or relying on the parsers magic to close a p tag when another one appears inside of it.
I changed that behavior today (in 1.3.1), but I'm not sure what's better. The htmlparser2 module doesn't include the magic for the second choice, which made the decision obvious.

Ok - it looks that it was fixed in d1371aefd9cdd8238bdea554734400f89a06db3e (dunno why but Github is showing me commits in reversed order...)
I've added small tweak to remove
 also before closing
 tag - it's pull #10


[FLINK-13181][Table]Add Builder to build CsvTableSink instances

What is the purpose of the change
Add a constructor for CsvTableSink, because this will make constructors to be more and more.
Brief change log
val csvSink = CsvTableSink.builder()
.path(path)
.field("c",Types.STRING())
.field("b",Types.SQL_TIMESTAMP())
.build()
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): ( no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? ( no)

Has anyone looked at this?

Hi @hehuiyuan,
Could you rebase the change to the current master?
Moreover I don't think we need a whole IT case for testing that a builder sets all properties correctly. Could you change the test to a unit test?

I'm closing this as "Abandoned", since there is no more activity and the code base has moved on quite a bit. Please re-open this if you feel otherwise and work should continue.


Remove / disable the tunnel layer from sshnp

@gkc would like your thoughts on this.
Needed for #954

Not necessarily needed for #954 since #1004 will be added


Add Sound

Testing sounds
sound name: select sound
creator:u_2fbuaev0zn
source: https://pixabay.com/pt/users/u_2fbuaev0zn-30247713/
Just using when the ball hit a paddle
We should use a background sound?

The audio is probably something that will require more in-depth thinking. We can come back to it later after handling other low-hanging fruits.


Add empty message capability

Add the ability to publish a message with an empty payload when header frame is received.
Purpose

Give the message broker ability to send messages with empty payload.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This repository is no longer maintained.
Issue reports and pull requests will not be attended.