Upgrade curl to 8.5.0

NSS was removed in https://github.com/curl/curl/commit/7c8bae0d9c9b2dfeeb008b9a316117d7b9675175
We can see if reverting that commit in the upstream curl would allow NSS to be linked in again for Firefox, but unfortunately this may not be a long-term sustainable approach.

That's a pretty big commit, I wonder if we would be able to revert it.

Firefox starts to support ECH in recent versions, enabling that with NSS make things even worse.

So it sounds like we're out of luck with the Firefox build and need to emulate using BoringSSL starting curl 8.5?

I'm afraid so, I still need to update the extensions and it should be done. I will first implement firefox120, other older versions should be similar. But if there are some ciphers that are too old to be added back, it won't be supported then.

fyi I manually put libcurl.dll built via this release into curl_cffi.
It crashed on import on Python3.11


Improper Interpreter

I have a project run under WSL where Python 3.6 is installed as a venv.  In VS Code, the venv is selected appears correctly specified in settings.json as:
"python.pythonPath": "./venv/bin/",
I first noticed the issue as specified in this issue which references the script:

The script above will execute perfectly fine from the VS Code terminal (using the venv specified in the settings file) but when run using CodeRunner and the Python Extension, the above output is displayed in the code pane.
I inserted a version check and commented out the print line.  The version of Python used in the coderunner workflow was the system version of 2.7 as shown below (the venv selection can be seen in the statusbar).  Is this a bug or is there some other setting that I am missing?

My system is as follows:
Windows 10
Version 1803 OS Build 17134.950
WSL
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
VS Code
Version: 1.37.1 (system setup)
Commit: f06011ac164ae4dc8e753a3fe7f9549844d15e35
Date: 2019-08-15T16:17:55.855Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17134
Extensions WSL-Installed
Name: Code Runner
Version: 0.9.14
Name: Git History
Version: 0.4.6
Name: GitLens — Git supercharged
Version: 9.9.3
Name: Heroku
Version: 1.2.6
Name: Python
Version: 2019.8.30787
Name: VS Color Picker
Version: 1.0.0

This problem appears to be unrelated to the language server. LS does not run your code and generally does not even know that is is running in VS Code. LS is a static code analyzer that responds to messages conforming to common language server protocol. It is used in VS Code, Emacs, Vim, Sublime the same way.  Neither LS selects Python interpreter - path to the interpreter is provided by the host/client app.
You may want to open an issue in Python Extension https://github.com/Microsoft/vscode-python since it appears about Python interpreter selection.


Try rack cas

This branch removes devise and devise_cas_authenticatable in favor of the rack-cas gem. The devise_cas_authenticatable gem relies on the ruby-cas client gem, which is no longer maintained and produces deprecation warnings in Rails 6.
Aside from the initial setup for rack-cas, the branch introduces 4 new methods into the Application Controller:

authenticate_user! - directs visitors to either the login or the unregistered page
set_current_user - updates the login stats for a user and sets a @current_user, if available
get_current_user - gets the user from a CAS session
current_user - helper method for use in views

In order to maintain the user statistics that Devise's trackable module provided, the update_login_stats method has been introduced on the User model. This method gets called in the set_current_user method. A sessions controller was also introduced to handle closing these out before sending the user to the CAS logout path.
The authenticated root we used with Devise has been replicated using a condition in StaticPagesController#home
The test suite has been updated to reflect these changes and should be passing.
To handle visitors that may be authenticated at the central level by CAS but are not registered in the app, an unregistered path has been introduced. The replicates devise_cas_authenticatable's unregistered method but provides a custom layout.

In manual testing, a registered user should see no difference in their experience with the app. An unregistered user should now get the custom unregistered page.
Definitely appreciate the additional eyes on this!! :)

I think this is good to go. I manually resolved conflicts in the gem lock file.


support for i2c in esp32c6

Hi,
Is your feature request related to a problem? Please describe.
Almost all features for the ESP32c6 are available including SPI, but as of the current branch i2c support is missing.

I eventually found the issue that already describes the current progress. Sorry for the noise.


⚠ Pihole-KA has degraded performance

In 2787b7d, Pihole-KA ($URL_PIHOLE_MERZ_NIMBUS) experienced degraded performance:

HTTP code: 200
Response time: 10319 ms

Resolved: Pihole-KA performance has improved in c75d4bb.


Rinkeby testnet address

Is there an official deployed contract to the Rinkeby testnet that can be used?

Got the information over email. Only Ropstein is available.


Remove the jsr-356 Transport.

Despite being functional, we don't use the transport and
we don't plan to in a near future.

Merging myself since it isn't anything contentious.


Enhancement requests:

As we all are striving for simpler, standardized, faster solutions, these examples should bring more to the table.  I would expect:

that if i used the scripts - i could quickly end up with a working config.  so much as to be added its a large learning curve,  you can spin up market place quick and easy.
Either PROMPT for variables - or call out the following in a tfvars file...
** Quantity of hosts/instances.   Due to CFE, it should quick and easily build 1 OR 2 units, if someone wants to think about the logic behind mass scaleing and function that is much more intensive.
** availably zones, building 2 units in the same AZ doesnt make sense.
** Quantity of nics, with necessary logic to call out subcompoents.

I am sure there are others, as i dont have a completed functional product as of yet.
I would also like to see a more standard / functional use to "examples"

how to use the examples:      use this "output.tf" instead of the one in the main branch  OR   "add this to the output.tf" in addition to what is already in there.   if something needs removed ( put this in - and take that out - it should be called out.)
unless the file is a complete replacement, it is not helpful to add a smaller subset or different usage without documentation of why:  in example  "prefix" is listed with a default setting in examples/variables.tf.   In the main branch it exists but has no default and hence it prompts unless called out in a tfvars file or YAML file.  Service account and Image are exactly the same in both files, however if you attemper to utilize the whole file - it is missing a TON of variables?
** brings up another issue, why is there no example of either and or documentation to support basic function.   technical support asks for YAML files if you open a case, and i was not even using them.    An example or few examples for for.each would have saved a lot of time and frustration.   Even how to call a yaml file from a TF file, this really simplified hostnames and availability zones.

As a non-programer, i am still trying to wrap my head around the deltas:
Why in the main branch to we execute the build via "resource gcloud_computer_instance...." and it appears in the examples, the recommendation is to use module  to do the same function, but is missing a BUNCH of config to make it work.

I am unsure of what is not clear.   can you please explain which portion does make sense?
if you clone the repository - and attempt a build - it doesnt work
furthermore - the use of examples is not easily understood, you can take a example file and use it, and the portion of the example in there is not the complete stanza so some of the original config will be needed - there is no documentation about use.

Created INFRAANO-642 for internal tracking.

This was included in v1.1.6, closing this now, thanks!


 Editable builds rely on a Python module loader to fetch code and data files from the build or source directory. This cannot make data files available via paths constructed from the location of python modules, except in some fortunate cases. In particular, the header files installed by Numpy cannot be made available in the expected location. This is a limitation of editable installs as implemented in meson-python. It can be argued that installing header files as part of Python packages is not covered by the Python wheel specification, thus it is undefined behavior.

Here's a test that you can add to test_editable.py:
def test_editable_configure_data(venv, editable_configure_data):
    venv.pip("install", os.fspath(editable_configure_data))
    path = (
        pathlib.Path(__file__).parent
        / "packages"
        / "configure_data"
        / "configure_data.py"
    )
    code = path.read_text()

This is not supposed to be working. In general accessing data files constructing a path via __file__ is not something to rely on. Doing so outside the boundaries of a package is really asking for trouble.

OK, fair enough. I'll flag it as something that should be mentioned in the numpy docs. I think there are a lot of people relying on editable builds of numpy for development work in other packages, so this will likely impact more people in the future.


Programming language

Everyone please help me add programming languages that i haven't mentioned.

C++

C

Python

Java

Javascripts

PHP

C#

Lua

Ruby

Rust

R

html

css


Compile on Visual Studio

It's been a while since I tried to compile on any version of MSVC.  Ideally, it should compile without any warnings.

When I get some spare time I can try to create a project in VS2015 and fix any errors. Would it be useful to also have the vs project/solution in the repo?

At some point there was a VS project folder, but it was .gitignored for being too large (I believe it was really only the db cache files that were too big).  Probably by v0.9 it would be good to have VS back in, at the very least no compile errors.

As asked here, here's the approach I would take to setup the projects on Visual Studio.  I would have multiple projects, all in one solution.  I would place the files in a msvc/ folder in the root of the repo, and have separate nested folders for each version (e.g. msvc/msvc2016/, msvc/msvc2015/, msvc/msvc2012/, etc.).
I would split the multiple projects in the solution something like this:

AllegroFlare - the actual library.  This would compile all of the source files in source/ (while including include/), would build a single lib file, and would place that file it in the lib/ folder.  For now, the library filename should include the version string and the platform, something like allegro_flare-0.8.8wip-msvc2015.lib.

Example Programs - One VS project per example program.  The example files are all the ex_* and dev_* files in the examples/folder.  I would not bother to build anything in any subdirectory of examples/, like examples/boost/, examples/curl/, examples/opencv/, examples/text_to_speech, or examples/wip.  This folder is in quite a state of flux and most of the examples are broken or incomplete at this point, but, they all should compile.

Tests - These are the unit tests and require boost test to compile.  These are all the test_*.cpp files in the test/ folder.  Like the examples programs, it might be preferable to have each test file as as a separate project, but I'm not sure, I haven't done test-driven development in MSVC and am not sure what the convention is for this.  :)

The AllegroFlare library is really the most important part.  The other projects can be attempted only if you're feeling brave.  For these, I would probably have a single property sheet that could be used to link the appropriate AllegroFlare libraries and include the header files so you wouldn't have to do all of them manually in each project.

Just prior to posting the above comment, I moved some files around in the examples/ folder to make it a lot easier.  So be sure to get a fresh pull.

😊


Sync the l10n code with phx-dev and update the translated content

Sync the l10n branch code with current phx-dev and fixed some translated problems.

@jkjhcl looks like your are merging code based on phx-dev branch. But actually I thought you need to merge your changes into l10n first, then sync phx-dev branch with l10n


Enhancements to Acode Plugin installer

Is it possible to add support for plugin dependencies?

Clearly explain it in detail

Like an array of plugins in plugin.json to be Installed along with the plugin. Maybe something like
{
  "dependencies": [
    "bajrangcoder.acodex", "sebastianjnuwu.acode.eruda"
  ]
}

I am willing to assist in implementing this

Like an array of plugins in plugin.json to be Installed along with the plugin. Maybe something like
{
  "dependencies": [
    "bajrangcoder.acodex", "sebastianjnuwu.acode.eruda"
  ]
}

Ok

I am willing to assist in implementing this

Contributions are welcomed ☺, feel free to open pr

I am willing to assist in implementing this

Contributions are welcomed ☺, feel free to open pr

I had already talked about this, the system is similar to that of vscode, the .acode folder has the settings and dependencies and acode recognizes itself when the project folder is open if not with the default

Currently when updating Plugins the installer does not delete the previous installation of the plugin rather it installs the update over the current installation. There is a problem of redundant files.
Suppose this is the current installation
.
├── assets
│   ├── 0.svg
│   ├── 1.svg
│   └── 2.svg
├── icon.png
├── main.js
├── plugin.json
└── readme.md

and this is the update
.
├── assets
│   ├── 3.svg
│   ├── 4.svg
│   └── 5.svg
├── icon.png
├── main.js
├── plugin.json
└── readme.md

after updating this will be the current installation
.
├── assets
│   ├── 0.svg
│   ├── 1.svg
│   ├── 2.svg
│   ├── 3.svg
│   ├── 4.svg
│   └── 5.svg
├── icon.png
├── main.js
├── plugin.json
└── readme.md

Nice, I haven't noticed this.

I suggest using a combination of id and version as the plugin folder name

I think it will be good to remove the previous folder and then add the new update one , as the the id and version combination will make different instances of same plugin.
If you have any better idea then please share

Nice, I haven't noticed this.

I suggest using a combination of id and version as the plugin folder name

I think it will be good to remove the previous folder and then add the new update one , as the the id and version combination will make different instances of same plugin.
If you have any better idea then please share

Removing the previous folder and then installing the update will introduce some latency when updating a plugin, while this might go unnoticed for plugins with few files for plugins with close to a thousand files it will be noticed. We can keep a mapping of plugin IDs to their folders.

Actually that latency will be visible in other approaches top.
I found a new way: "Checksum-Based Update (Detect Changes Before Overwriting)" this will only call few fs calls based on update (which will be efficient)

What about obsolete files? How do we detect them?

We can detect it: By comparing the files present in the current plugin installation with the files in the update package. If any file exists in the current installation but does not exist in the update package, it is considered obsolete and can be safely deleted.

Yes this is better, because some plugins assume the plugin folder to be it's id

I will begin working to implement this

Currently Acode ignores the following fields in the plugin manifest file and uses static values instead

main.js in place of main
icon.png in place of icon
readme.md in place of readme
Setting the value of any of the fields to a value other than the static values results in an error.

Currently Acode ignores the following fields in the plugin manifest file and uses static values instead

main.js in place of main
icon.png in place of icon
readme.md in place of readme
Setting the value of any of the fields to a value other than the static values results in an error.

Yes, I planned to fix it but I forgot

I can help in implementing the fixes

I can help in implementing the fixes

I can help in implementing the fixes

Open a pr


feat(observer): add support for wxapp native component

use shared StoreManager to manage store
support wxapp component

Coverage decreased (-15.06%) to 81.429% when pulling 2e47d737de09ca49c5d4b4a85f6b5836dc9c81fa on component into 01ca773ff0e05367740610fc003708473bacdcf3 on master.


Cannot set properties of undefined error when attempting to use Custom Header

I was trying to see what custom headers looked like in action, and ran into this issue. My component block triggering the problem looks like the following:

I believe I am not doing anything explicitly incorrectly based off of the docs
I traced the issue to the following lines:
https://github.com/delaneyj/datastar/blob/5c0865d4a6a54a7162ef77d229092888b9d2fe66/packages/library/src/lib/plugins/backend.ts#L53-L55
the destructured headers variable is the main culprit. After trying a quick fix of adding _value to see what would happen next, I got an Error evaluating Datastar expression error message that seems to indicate my custom header is being evaluated as a variable

Using a template literal seemed to alleviate the evaluation error:
<div
	data-header-X-My-Header="`this is a test`"
>

I also was able to see the custom header in my network request with the following changes:
Changed the onLoad of the HeadersPlugin on L50 of src/lib/plugins/backend.ts to use an Object instead of a map, also pulling the headers off s._dsPlugins.fetch with the value attribute
onLoad: (ctx) => {
    ctx.upsertIfMissingFromStore('_dsPlugins.fetch', { headers: {} })
    const s = ctx.store()
    const { headers } = s._dsPlugins.fetch.value
    const key = ctx.key[0].toUpperCase() + ctx.key.slice(1)
    headers[key] = ctx.reactivity.computed(() => ctx.expressionFn(ctx))
    return () => {
      delete headers[key]
    }
  },

Changed the logic around adding headers to the fetcher on L283:
  if (req.headers && Object.keys(store?._dsPlugins?.fetch?.value.headers).length > 0) {
    for (const key in store?._dsPlugins.fetch.value.headers) {
      const value = store._dsPlugins.fetch.value.headers[key].value
      req.headers[key] = value
    }
  }

<div data-header-X-My-Header="`this is a test`">

This is correct, remember data-* plugins are evaluated JS via sandbox constructors.  The previous is like saying x = this is a test in JS.  I'll get into the weeds and get a general fix for including the headers properly.  It's a rarely use feature and has been ignored for a bit.
Thanks for the report and will get back to you!

I think I am in agreement. Most use cases I can think of can be solved via cookies or browser storage.
One scenario I am struggling with is authentication (exchanging security headers on an auth server, for example), but my guess is that that should be handled by a workflow outside of datastar completely and the session state should be updated on whatever backend server and then pushed forward via SSE

That's exactly right, if you are in Go I suggest goth.  That should do a normal Oauth2 (or whatever) flow and leave you with a cookie with just the ID of the user which then you'd fill with info in some backend lookup (like NATS's KV)

Removed and bump version to 0.17.0


An unhandled exception has occurred

Describe the bug
When I run the tye run command I am getting the following error
$ tye run
Loading Application Details...
An unhandled exception has occurred, how unseemly:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at Microsoft.Tye.ProjectReader.EnumerateProjectsCore(FileInfo solutionFile)+MoveNext()
   at Microsoft.Tye.ConfigModel.ConfigFactory.FromSolution(FileInfo file) in /_/src/Microsoft.Tye.Core/ConfigModel/ConfigFactory.cs:line 66
   at Microsoft.Tye.ConfigModel.ConfigFactory.FromFile(FileInfo file) in /_/src/Microsoft.Tye.Core/ConfigModel/ConfigFactory.cs:line 33
   at Microsoft.Tye.ApplicationFactory.CreateAsync(OutputContext output, FileInfo source, ApplicationFactoryFilter filter) in /_/src/Microsoft.Tye.Core/ApplicationFactory.cs:line 27
   at Microsoft.Tye.Program.<>c.<<CreateRunCommand>b__10_0>d.MoveNext() in /_/src/tye/Program.RunCommand.cs:line 95
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.CommandHandler.GetResultCodeAsync(Object value, InvocationContext context)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext()

To Reproduce
Please find below the image with tye and dotnet version

Further technical details

tye --version = 0.4.0-alpha.20371.1+d7623120d66b85bfeda8ab69eb5ff792df6b7243
dotnet --version = 6.0.100-preview.7.21379.14
tye run -v debug also return same output
The platform (Windows)

@nibro7778 what type of application are you trying to run?
i.e. Console Application, ASP.Net Core web application, Blazor application, etc.?

I am trying to run ASP.Net Core web application and resolved this issue by upgrading the version. Now i am running on following version
tye version
$ tye --version
0.9.0-alpha.21380.1+836b0baa8a0ed5d8ca3bebc27c7d4f6d0a7bdfd9

I am happy the issue is resolved for you, I am closing this issue for now, but please feel free to open another issue if you encounter any problems!
Happy coding! :)


NfcV Tag Data Read Help

This is the response i am getting on the transceive. FYI: I am using a different plugin but seeking for some clarification on data read.
I want to decode the Blood glucose values and there time stamp from above readings. Please advice.

nfc.addTagDiscoveredListener((nfcEvent) => {
                nfc.connect('android.nfc.tech.NfcV')
                    .then(data => {
                        for (let i = 0; i < 45; i += 3) {
                            hexString = (i).toString(16);
                            let writeData = new Uint8Array(4);
                            writeData[0] = 0x02;
                            writeData[1] = 0x23;
                            writeData[2] = hexString;
                            writeData[3] = 0x02;

                            nfc.transceive(writeData.buffer)
                                .then(response => {
                                    data = new Uint8Array(response);
                                    $scope.result[i * 8] = data.split(1, 25);

                                    $scope.$apply();
                                })
                                .catch(error => {
                                    alert('Error transceive: ' + JSON.stringify(error));
                                });
                        }
                    })
                    .catch((error) => {
                        console.log('Connection failed', error)
                    });
            });

This is the piece of code. In this code i am trying to get 360 bytes of data.


Mac install issue

Hi,
may be a bit of dumb Q and I missed something essential somewhere.
Could you advise with the error during installation on a Mac?
I have updated my g++ 10 be 10.4.0 and my clang is 13.0.0
I have edited the ./cpp/MakeFile to use  g++-10 compiler,
then running 'make' gives me the following error:
g++-10 -fPIC -std=c++11 -O2 -march=native -mtune=native -c FARFF.cpp -o FARFF.o
In file included from FARFF.h:38,
                 from FARFF.cpp:9:
Draw3D.cpp:9:10: fatal error: SDL2/SDL.h: No such file or directory
    9 | #include <SDL2/SDL.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [FARFF.o] Error 1

Thank you!
V

Thank you for this suggestion. It seems I have SLD2 already, but that did not solve it:
 ❯❯❯ brew install SDL2                                                                                ✘ 2
Warning: sdl2 2.26.2 is already installed and up-to-date.
To reinstall 2.26.2, run:
  brew reinstall sdl2

 ❯❯❯ make
g++-10 -fPIC -std=c++11 -O2 -march=native -mtune=native -c FARFF.cpp -o FARFF.o
In file included from FARFF.h:38,
                 from FARFF.cpp:9:
Draw3D.cpp:9:10: fatal error: SDL2/SDL.h: No such file or directory
    9 | #include <SDL2/SDL.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [FARFF.o] Error 1

But it indeed was not included correctly, so I put it into theMakefile, as:
CPPFLAGS= -fPIC -std=c++11 -O2 -march=native -mtune=native -I/usr/local/Cellar/sdl2/2.26.2/include/
which got me further, but still stuck with FARFF_:
g++-10 -shared FARFF.o -o FARFF_lib.so
Undefined symbols for architecture x86_64:
  "_glBegin", referenced from:
      __ZN6Draw3D13planarPolygonEiPKiPK5Vec3TIdE.part.0 in FARFF.o
      __ZN6Draw3D4textEPKcifi in FARFF.o
      __ZN6Draw3D4textEPKcif5Vec2TIiE in FARFF.o
      __ZN6Draw3D5pointERK5Vec3TIfE in FARFF.o
      __ZN6Draw3D10pointCrossERK5Vec3TIfEf in FARFF.o
      __ZN6Draw3D10pointCrossERK5Vec3TIfEd in FARFF.o
      __ZN6Draw3D3vecERK5Vec3TIfE in FARFF.o
      ...
...
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [FARFF.o] Error 1

I thought there was a problem with the linking and also included -lstdc++ flag, but that doesn't seem to solve this:(
I am not sure what to try, so any suggestion would be great!
TA!

@punkpony, can you please pull the latest changes and try again? It could be we accidentally fixed the issue you reported.
As a side remark: I tried to compile the code on my mac (with an Intel processor) and on my mac at work (Apple M1) - both worked fine 👍

Since no further problems were reported, I mark this issue as resolved. Feel free to reopen it in case the issue persists.


[Bug] nsys will cause an error when TP=4 although I launched with --trace-fork-before-exec=true --cuda-graph-trace=node

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[ ] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[ ] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[ ] 5. Please use English, otherwise it will be closed.

Describe the bug
I used the latest Docker version 0.4.0 (lmsysorg/sglang:v0.4.0-cu118) to launch Qwen2-72B model, my launch command is:
" CUDA_VISIBLE_DEVICES=0,1,2,3 /opt/nvidia/nsight-systems/2023.4.1/bin/nsys profile --trace-fork-before-exec=true --cuda-graph-trace=node  python3 -m sglang.launch_server --model-path /xxx/qwen2-72b/ --tp 4 --port 30000 --host <IP_ADDRESS> --dtype bfloat16 --disable-radix-cache --disable-overlap --max-prefill-tokens 32768 --chunked-prefill-size 65536 "
However, I get this error:

Reproduction
Docker: lmsysorg/sglang:v0.4.0-cu118
launch command:
CUDA_VISIBLE_DEVICES=0,1,2,3 /opt/nvidia/nsight-systems/2023.4.1/bin/nsys profile --trace-fork-before-exec=true --cuda-graph-trace=node  python3 -m sglang.launch_server --model-path /xxx/qwen2-72b/ --tp 4 --port 30000 --host <IP_ADDRESS> --dtype bfloat16 --disable-radix-cache --disable-overlap --max-prefill-tokens 32768 --chunked-prefill-size 65536
Environment
Docker: lmsysorg/sglang:v0.4.0-cu118

It's ok by upgrade nsys to 2024.7.1.


Can buildSnapshotTree() not calculate SHA?

Why buildSnapshotTree() is async?
The only thing that is async there is gitHashFile().
Which I wonder - why is it needed?
ISnapshotTree does not have notion of sha, it has only notion of ID. I assume we need unique IDs across possibly many calls to buildSnapshotTree(), but can we achieve that with something simpler? Like a (global) counter somewhere? Or maybe even a snapshot path (that way we can pass in "root path" of that tree, and then this function can keep adding to it, or just calculate some checksum of paths - still keeps it async, but substantially reduced calculation size.
Either way, it would be great to take a look if we can remove CPU payload here, especially given that it applies to all data stores in snapshot, even if we never realize data store (as it's called for each data store in ContainerRuntime constructor).

Ah, found this item that I could not find last time.
@anthony-murphy , I believe you addressed it, feel free to resolve!

fixed with #4536


ctext causes an error on TeXLive

memoir and fancyhdr both try to set footruleskip which causes an error on compilation, as seen in this thread:
https://tex.stackexchange.com/questions/37868/fancyhdr-and-memoir
This is fixed by adding the line
\let\footruleskip\undefined
(right before fancyhdr is loaded) to ctext.cls.

Fixed with cd2911340637bdc82ddeb181de5ec9f86fb816eb
Also added hooks for all sorts of improvements to atask


feat(core): add AppHandle::set_activation_policy

Hey 👋, how should I migrate it in tauri v1 of fork? I tried it and it didn't work! Hope this helps me, thanks!


When session is expired when memcache-session-manager is used?

I am new user of this tool. If session timeout is set in application level, the memcache will store session in the same time period? Or it will store session as long as 30 days?
Thanks.

How memcache-session-manager expire session for non-sticky  and sticky sessions?

First: please use the mailing list for questions.
msm stores them in memcached with the session timeout. Each session access updates the session timeout in memcached. There are a few optimizations to this, but that's basically how it works.
When the application invalidates a session, msm removed it from memcached.
HTH.


Can't Install Using linuxbrew

Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/Cellar/cumulusci/3.13.0/libexec/bin/cci", line 6, in
from pkg_resources import load_entry_point
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/pkg_resources/init.py", line 3254, in
@_call_aside
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/pkg_resources/init.py", line 3238, in _call_aside
f(*args, **kwargs)
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/pkg_resources/init.py", line 3267, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/pkg_resources/init.py", line 584, in _build_master
ws.require(requires)
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/pkg_resources/init.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/pkg_resources/init.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jeepney>=0.4.2' distribution was not found and is required by keyring

@ranbirdasgit sorry, it looks like our homebrew formula is not working with linuxbrew because keyring has additional dependencies on linux which are not included in the formula.
As a workaround, first uninstall the broken homebrew package:
$ brew uninstall cumulusci
And then try installing like this instead:
$ brew install pipx
$ pipx ensurepath
$ pipx install cumulusci

On Linux we currently recommend installing using pipx: https://cumulusci.readthedocs.io/en/stable/get_started.html#on-linux


uint32 in my .proto is converting to a String?

int32 is fine

A protobuf uint32 field should generate a corresponding u32 Rust field.  Are you seeing something different?

Closing this as unactionable.  Feel free to re-open with more details.


No ALEXA integration!?!

This does not work with Amazon Alexa, please fix this!

There is. You just need NoAlexa.

Can I help?


http_client.rb: fix the example in the comment, according to:

examples/google.rb
Thanks!

Thanks!


REVIEW corona virus vaccine tracker

Project Link:
https://github.com/Anaslbkh/vaccination-tracker
You can also join the Discord community here
Feel free to check out other cool repositories of the EddieHub Community here

some thoughts from my side:

add a release
add a description
add some tags
remove the packages
remove the wiki
take a look here https://github.com/Anaslbkh/vaccination-tracker/community
add the deployed link to the description
use issues and prs

Thank you for sharing, we will review on a live stream soon 👍

add a release

If you still don't plan on adding a release, remove the release section from showing up in the repo.

Hey, just a few thoughts:

Add labels/tags for the tech stack rather than just words
Add a description before the setup
Add the deployed version to the website/remove it from the readme if depreciated

Looks good, reviewed on live stream, here are some thoughts...

Add project description to repo and README
Hide packages and releases if not used
GitHub Action to run linter and build commands from package.json
Screenshot in the README would be great
Use issues even if only 1 maintainer/contributor


feat: make metrics svc optional

Make the metrics service optional

Should we also remove the kube-rbac-proxy container in the Deployment if metrics aren't enabled?
Ha yeah good catch 👍🏻

I also added an if statement around arg - --metrics-bind-address=<IP_ADDRESS>:8080 to avoid to listen on useless ports.


enhance symbols

ref: https://github.com/JunoLab/Atom.jl/pull/192

AFAICT we're only updating the symbol list on buffer save and reload, right? That's different from the outline, which is updated when the onDidStopChanging event is fired. It would be nice to be consistent here, but I'm not sure which way we should go.

Yeah, we should make it consistent.
I observed buffer save/reload, since then we don't need to path the buffer text via an atom-julia-client channel.
But now I think observing onDidStopChanging is better here, since I experienced cases when I want to have symbol jumps when I still don't want to save it.

I observed buffer save/reload, since then we don't need to path the buffer text via an atom-julia-client channel.

Yeah, I saw that. Let's keep the best of both worlds and read the file in Julia if the editor has no pending changes and send the buffer contents if it does.

Let's keep the best of both worlds and read the file in Julia if the editor has no pending changes and send the buffer contents if it does.

I could take this direction, but I thought just sending buffer text always is going to be a lot simpler here, since sending a single buffer text per goto call won't cost so much. Do you think it would be worth to making two branches here ?

Not sure, to be honest. Lemme try to find a server to try this together with a remote Julia session. For local development sending the buffer content should be strictly better (but not by much).

Lemme try to find a server to try this together with a remote Julia session
Thanks this should help us greatly.

So I'm coming up with 3 approaches to handle unsaved buffer changes:

passing a buffer text only if the active text editor has been modifed: the unsaved changes in non active buffers can get ignored
passing an active buffer text always: the unsaved changes in non active buffers can get ignored, simplest choice
tracking active (Julia) buffers, and passing all the modified ones (even though some of them may not be reached in the symbols search), and Julia will use the passed text if the symbol search lands to the file: can handle all the unsaved buffer changes

So 1 is the lowest latency option, and 3 is the heaviest, and 2 is the medium.
I'm not sure which way we should start with, but maybe starting to implement 3 and simplify the logic into 1 or 2 if we find performance pitfalls is reasonable.
Thoughts ?

We'd only ever need to pass the last modified buffer if we cache everything else in Julia, right? IMHO that'd be the best way to handle this.

We'd only ever need to pass the last modified buffer if we cache everything else in Julia, right? IMHO that'd be the best way to handle this.

No, I meant cases when we have multiple files open (so multiple panes open) that have unsaved changes. My point is whether we should handle all the unsaved buffers in the workspace, or just focus on the (very) active buffer.

This is because I don't want to call goto every time we made changes, but just add the TextEditor instance to this.refreshFiles (and they will get refreshed within the next (explicit) goto calls).

Um, but maybe calling goto everytime we've made changes to the buffer might be robust here.
Now I'm thinking the workflow below:

julia-client: goto-symbol and symbol clicks within docpane/workspace will call goto, which will do module-based symbol search

use caches if they exist
for file searching, Revise approach first and fallback to static file parsing

the new message regeneratesymbols will be called on onDidStopedChanging, and it updates symbols that can be searched from the passed buffer texts

Yep, that's precisely what I had in mind.
We'll obviously need a three-step cache (Module -> File -> Symbol), but that shouldn't be hard to implement.

yeah, I'm almost there.
I wondered calling regenerateSymbols every time we modify a file can be annoying and occupy computation resources, but AFAICT, the performance of current implementation I have in my machine is not so bad.

If necessary we can debounce it more, but considering that it's usually local to the current editor we're looking at ~20ms at most on my machine (and the outline also already does the same thing, no?)-

and the outline also already does the same thing, no?

Yes, exactly, honestly I didn't thought of this fact at all, haha.
So this approach should definitely work well as far as we keep toplevelitems from being slow.
Thanks so much for your directions, as always :)

Would be good to not duplicate work here and generate the outline and symbols for a file in one go.

Addressed :)


Added files for MVMs deployment.

I don't understand why this is something you'd want to disable.  If someone has the ability to run arbitrary PHP code on my server, I kind of assume I'm already in trouble.  The usage in api client seems perfectly reasonable and common.

The list originated from our security team when we built out V1 based on
best practices when it comes to PHP security. We possible I would prefer to
default to settings based on their knowledge and experience.
Perhaps they have a different viewpoint on MVMs as the chance of people
getting p0wned is x1000 compared with V1 - I don't know.
On Wed, Dec 16, 2015 at 9:55 AM, Justin Beckwith<EMAIL_ADDRESS>wrote:

I don't understand why this is something you'd want to disable. If someone
has the ability to run arbitrary PHP code on my server, I kind of assume
I'm already in trouble. The usage in api client seems perfectly reasonable
and common.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/getting-started-php/pull/11#issuecomment-164916743
.

I'm still curious about the reasoning of blacklisting though since PHP_OS is allowed. Do you remember the reason? Was it a possibility of buffer overflow or something, or is it just to hide the underlining OS?

I'm still curious about the reasoning of blacklisting though since PHP_OS is allowed. Do you remember the reason? Was it a possibility of buffer overflow or something, or is it just to hide the underlining OS?

I looked at the source code of php_uname which is written in C and basically a simple uname's wrapper. It will give you information including the hostname, which I think should be forbidden. Anyways, I agree anyone should use PHP_OS if possible, and I'm fine with the current blacklist.

So what we can do is add a build step to change the result of uname to something harmless and then unblock the function. We do something like this internally
Use a generic nodename in the uname value
local NODENAME=$(uname -n)
sed -i "s/$NODENAME/unknown/" $BUILD_DIR/main/php_config.h

Ok, I squashed the commits. I'll wait for LGTM from one of you guys.

LGTM


tests(parser): adding tests for parser package.

Before
ok  	github.com/deis/workflow-cli/parser	1.024s	coverage: 1.5% of statements
After
ok  	github.com/deis/workflow-cli/parser	1.111s	coverage: 70.4% of statements

Current coverage is 65.92% (diff: 100%)

Merging #243 into master will increase coverage by 39.11%

@@             master       #243   diff @@
==========================================
  Files            57         57
  Lines          3905       3903      -2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1047       2573   +1526
+ Misses         2716       1090   -1626
- Partials        142        240     +98

Powered by Codecov. Last update d6dadfe...6fab15f

Now: ok  	github.com/deis/workflow-cli/parser	1.181s	coverage: 80.4% of statements

Unit tests for parser was supposed to also test the help commands https://github.com/deis/workflow-e2e/pull/308#r75555869. Do you want to tackle it separately or in this PR.

@kmala Thanks for the issue reference. I'll see what I can do about getting help text covered tomorrow.

@kmala In an attempt to keep this diff from growing too large. I'm going to save the testing of the help/usage text for another PR.

@ultimateboy sure...do we have an issue for that so that it can be tracked.Anyway this PR looks good.


extras/shortcodes: Add Reuse Page Shortcode concept.

Add a Reuse Page shortcode that allows tech writers to reuse same pages in different places without need in copy-pasting them every time.
It also adds a concept of Page snippets and dynamic links resolution.

 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.


Actor / user mismatch seen within call.log

A condition arises whereby the User and actor are different. A call can be made (by a STD device) which works correctly but the log shows a different user made the call and not the device itself. See screenshot. It is correct when only one STD is registered and active but shows up when two STDs are present as can be seen in the top two lines. This does not seem to be affecting anything, the correct device is called - seems to be a web interface issue?

Is this solved, @Iranaphor ? And how?

If so close it please.


Compilation error

Hi, thanks for this project!
I get a compilation error when trying to run the Example app:
ERROR: Expected '(' or '!' at line 16:14 in e:\Beef\beefProjects\Chipmunk2D-beef\src\Bounds.bf
public this
^
ERROR: Expected method declaration at line 17:3 in e:\Beef\beefProjects\Chipmunk2D-beef\src\Bounds.bf
{

Hey, it compiles fine here, which BeefIDE version are you using?
(I'm on nightly 10/27/2020)

Oh maybe this:
public this {} should't work at all.
I removed it, please try, thanks!

I should have thought about that.
I downloaded and installed the Nightly Version 0.42.8 (Nightly 11/01/2020)  and also the most recent Chipmunk2D-beef.
This fixed the compilation error.
First, when executing the git commands, I got the error:
E:\Beef\beefProjects\Chipmunk2D-beef>git submodule init
fatal: not a git repository (or any of the parent directories): .git
A git init fixed this.
When running the cmd file, I got:
E:\Beef\beefProjects\Chipmunk2D-beef>build_windows_vs2019.cmd
The system cannot find the path specified.
Check Visual Studio version
Using Visual Studio 2019 Community Path
Building BGFX in Visual Studio 2019
Microsoft Visual Studio 2019 Version 16.7.7.
Copyright (C) Microsoft Corp. All rights reserved.
The following files were specified on the command line:
    .build\projects\vs2019\chipmunk2d.sln

These files could not be found and will not be loaded.ErrorLevel:0
Build successful!
Press any key to continue . . .
--> I don't know if I am good at this point.
Then when running in the Beef-IDE, I get a link error:
Compiling...
Beef compilation time: 0.70s
WARNING: BF0168: The variable 'radius' is assigned but its value is never used at line 66:8 in e:\Beef\beefProjects\Chipmunk2D-beef\example\src\Program.bf
var radius = Vector2(size, size).Length;
^
505 modules built, 503 object files generated
Errors: 0. Warnings: 1.
Executing: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\Hostx64\x64/link.exe" -out:e:\Beef\beefProjects\Chipmunk2D-beef\build\Debug_Win64\Example\Example.exe E:\Beef\beefProjects\Chipmunk2D-beef/build/Debug_Win64/Chipmunk2D-beef/Chipmunk2D-beef__.lib E:\Beef\beefProjects\Chipmunk2D-beef/build/Debug_Win64/corlib/corlib__.lib E:\Beef\beefProjects\Chipmunk2D-beef/build/Debug_Win64/Example/Example__.lib netapi32.lib version.lib user32.lib E:\Beef\beefProjects\Chipmunk2D-beef/build/Debug_Win64/Example/vdata.obj -defaultlib:libcmtd e:\Beef\beefProjects\Chipmunk2D-beef.build\win64_vs2019\bin\chipmunk2dRelease.lib -nologo -incremental:no -pdb:e:\Beef\beefProjects\Chipmunk2D-beef\build\Debug_Win64\Example\Example.pdb -debug -opt:noref -libpath:"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17763.0\um\x64" -libpath:"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17763.0\ucrt\x64" -libpath:"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\lib\x64" -libpath:"C:\BeefLang\bin\lib\x64" -libpath:e:\Beef\beefProjects\Chipmunk2D-beef\build\Debug_Win64\Example Beef042RT64.lib Beef042Dbg64.lib  /ignore:4099
--> LINK : fatal error LNK1181: cannot open input file 'e:\Beef\beefProjects\Chipmunk2D-beef.build\win64_vs2019\bin\chipmunk2dRelease.lib'
Execution time: 0.10s
Execution Failed
ERROR: BUILD FAILED
Total build time: 0.85s
At this point I don't know how to continue. I found a .lib file here:
E:\Beef\beefProjects\Chipmunk2D-beef\build\Debug_Win64\Chipmunk2D-beef_.lib
Thanks Aleš!

I think you probably downloaded the repository instead of cloning it.
It needs to be cloned:
git clone https://github.com/jazzbre/Chipmunk2D-beef.git
or
git clone git@github.com:jazzbre/Chipmunk2D-beef.git
And then the submodules (additional git repositories) will get cloned by running:
git submodule init
git submodule update
Now build_windows_vs2019.cmd should be run which will create .build\win64_vs2019\bin\chipmunk2dRelease.lib and will be used by Beef to link.
Hope this helps!

Sorry to bother you so much; I got one step further:
git submodule init works and produces as output:
Submodule 'submodules/Chipmunk2D' (git@github.com:slembcke/Chipmunk2D.git) registered for path 'submodules/Chipmunk2D'
Submodule 'submodules/bx' (git://github.com/bkaradzic/bx.git) registered for path 'submodules/bx'
the 2nd step however gives me an error:
git submodule update
Cloning into 'E:/Beef/beefProjects/Chipmunk2D-beef/submodules/Chipmunk2D'...
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
What can I do here?

I'm sorry :D, I see now that I used .git repositories, I converted to https and pushed.
git pull
git submodule sync
then
git submodule init
git submodule update
and then of course build_windows_vs2019.cmd.
Thanks for testing!

Ok, the whole sequence of prerequisites went flawlessly!

Great, so it's working. Yes there's no rendering is this example at the moment.
It's just the same example (tank) as in the original Chipmunk2D library, but running console only instead of actually rendering it on the screen.

Great, nice to hear its working.


Standarized exit code

Hey, up until now the exit code was equal to the number of errors found. I don't think it is right as exit  codes aren't meant to be used that way. What I suggest is to make them similar to Rubocop: 0 for no offenses and 1 for 1 or more.

Coverage remained the same at 100.0% when pulling f3097faaa5d18388fe9e199cd621a729ea870270 on mensfeld:exit_code into b6ff587e02c5b3df2b00de16b6fbbcd6f0c3a23a on railsbp:master.


*.office.com is actually required.

In ID 78, the notes section says "Some Office 365 features require endpoints within these domains (including CDNs). Many specific FQDNs within these wildcards have been published recently as we work to either remove or better explain our guidance relating to these wildcards." I have found that .office.com is necessary for autodiscover in outlook client to work properly. The autodiscover.outlook.com name redirects to, for example, autod.ms-acdc.office.com. On ID 78 are the following URLs: .microsoft.com,.msocdn.com,.office.com,.office.net,.onmicrosoft.com.  Please explain why you consider this entry as not Required (Required=False).

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

ID: d7ebf92c-e478-0f65-0494-97042e974b46
Version Independent ID: 7e1b9b91-d60d-8665-9a39-2ca77a46b4ce
Content: Office 365 IP Address and URL Web service
Content Source: Enterprise/office-365-ip-web-service.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@MikeHynek - From our understanding, the issue has been answered by kelleyvice-msft. If you feel it hasn't been resolved please re-open this issue.
Thank you for engaging with the community here for the docs.

@officedocsbot assign @mypil

@MikeHynek - I've just been informed that there are endpoint updates scheduled to be published by the end of April that should resolve this issue. Apologies for the delay. I will close this ticket, but feel free to reopen it if you observe the same issues after 4/30. Thanks!

What do you mean by this?
"published by the end of April that should resolve this issue."
On ID 78 are the following URLs: .microsoft.com,.msocdn.com,.office.com,.office.net,.onmicrosoft.com. Please explain why you consider this entry as not Required (Required=False).
Mike Hynek
Senior Consultant | Business Productivity Cloud Solutions
Mobile:<PHONE_NUMBER> | Mike.Hynek<EMAIL_ADDRESS>[http://mysignature/Images/Logos/L_Microsoft.png]
From: Kelley Vice<EMAIL_ADDRESS>Sent: Wednesday, April 10, 2019 12:19 PM
To: MicrosoftDocs/OfficeDocs-Enterprise<EMAIL_ADDRESS>Cc: Mike Hynek<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-Enterprise] *.office.com is actually required. (#272)
@MikeHynekhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMikeHynek&data=02|01|mike.hynek%40microsoft.com|74f343b637d1464679a208d6bdd89f46|72f988bf86f141af91ab2d7cd011db47|1|0|636905135520319599&sdata=4sO9ggwspSw1rpwTsoSv5BgtfvfscMTHtNd1qgbhPQY%3D&reserved=0 - I've just been informed that there are endpoint updates scheduled to be published by the end of April that should resolve this issue. Apologies for the delay. I will close this ticket, but feel free to reopen it if you observe the same issues after 4/30. Thanks!

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-Enterprise%2Fissues%2F272%23issuecomment-481782157&data=02|01|mike.hynek%40microsoft.com|74f343b637d1464679a208d6bdd89f46|72f988bf86f141af91ab2d7cd011db47|1|0|636905135520329611&sdata=6Loklij7tpdu6QTBvrqOiEnVH4ITlAVRV3hVnd%2Bw3gY%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsNeHJD-Lfo1BiYy9HyZUXp3PBbERS9Qks5vfh0DgaJpZM4Zow-Y&data=02|01|mike.hynek%40microsoft.com|74f343b637d1464679a208d6bdd89f46|72f988bf86f141af91ab2d7cd011db47|1|0|636905135520329611&sdata=PSiT1WpwUWg0WQfSF6XFBSZEQAd0ZWkmVgeNyFdxJYE%3D&reserved=0.

@MikeHynek - I don't have visibility into the reason the required attribute is set to false on ID78, but the PM I work with told me this morning that there is a new set of autodiscover endpoints scheduled to be published to the web service on 4/29. There are multiple feature teams who publish their own endpoints, and it is sometimes difficult to establish information about the origin of endpoint values. However, the issue has been surfaced to the feature team who owns these endpoints, and my information is that the 4/29 update should resolve the autodiscover problem.
Sorry I don't have more detailed information for you, but I'll certainly let you know if I learn anything else that bears on this issue.
Thanks,
Kelley

@kelleyvice-msft
I'm also in trouble with the same problem. ID 78 has not been modified yet.  Please check it.
{
"id": 78,
"serviceArea": "Common",
"serviceAreaDisplayName": "Microsoft 365 Common and Office Online",
"urls": [
".microsoft.com",
".msocdn.com",
".office.com",
".office.net",
"*.onmicrosoft.com"
],
"tcpPorts": "80,443",
"expressRoute": false,
"category": "Default",
"required": false,
"notes": "Some Office 365 features require endpoints within these domains (including CDNs). Many specific FQDNs within these wildcards have been published recently as we work to either remove or better explain our guidance relating to these wildcards."
},

@hmuchaku - Thanks for reaching out. To clarify, you are having problems with Outlook autodiscover because .office.com is not set to "required": true in ID #78? I will bring this information back to the PMs and let them know there are still problems.

@hmuchaku - also, can you confirm whether you have updated your whitelisted endpoints with the changes from 4/29/2019 (https://endpoints.office.com/changes/worldwide/2019032800?ClientRequestId=7059fad7-1027-4f4e-8b74-a17bec1c8ff1)? Thank you!

@MikeHynek - Here is some additional information I received from the product group regarding URLs that redirect to CNAME records:
URLs are published for the purposes of bypassing proxy server authentication, SSL break and inspect, and filtering. Client applications pass the original Internet FQDN to the proxy server along with the request. The proxy server does not evaluate any DNS redirects (also known as CNAME records) and hence we do not publish these. Use of CNAME records in this way is a common industry convention and supports operational requirements in running a large cloud service. We have also provided an FAQ on CNAME redirects in the DNS here: https://docs.microsoft.com/en-us/office365/enterprise/managing-office-365-endpoints#some-office-365-urls-point-to-cname-records-instead-of-a-records-in-the-dns-what-do-i-have-to-do-with-the-cname-records.
Please let me know if you're still encountering problems related to this issue. I would be interested in determining whether there is additional guidance we can provide to help mitigate this kind of problem.
Thanks,
Kelley

@kelleyvice-msft
Thank you for your help.
In my case it is a little different from the problem with Mike.
I wanted to access "reports.office.com" via a proxy server.
The proxy server passes only the "required:true" url.
Because ID78 was mentioned in this issue, I thought that ID78 would be corrected from required:false to required:true.

@kelleyvice-msft - Do you have any updates on this?
Thank you.

@kelleyvice-msft - We would like to follow up. Do you have any updates on this?
cc: @LauraWi
Thank you.

@mypil - sorry, I just returned from vacation yesterday. There has been a fair bit of discussion around this - let me follow up and return to this issue with updated information if there is any. - Kelley

@kelleyvice-msft - Do you have any updates on how we can close this issue?
Thank you.

With respect to URLs in id 78, the notes section says "Some Office 365 features require endpoints within these domains (including CDNs)." In https://docs.microsoft.com/en-us/office365/enterprise/managing-office-365-endpoints, we also say, "If you're trying to use Office 365 and are finding third party services aren't accessible you'll want to ensure all FQDNs marked required or optional in this article are allowed through the proxy and firewall." For customers experiencing issues like @hmuchaku, the guidance at this time is to configure proxy devices to allow traffic to endpoints marked as optional.
I will close this issue and update our guidance to make this clearer.


client.loginWithToken() issue

Hello there
I'm developing a kind of Bot Framework, and i can see when i got an error in the login callback, the parameter "error" doesnt return anything, just handle the "error" event can i see the error.

There isn't really a good way to validate the token you pass. The library only knows when a token is bad when attempting to make a request or connecting to the gateway, which is where the error event comes from.

But i tried given a bad token, and still the error returns null.

loginWithToken doesn't check if the token is valid. The library will emit an error event when if the ws handshake fails. That way you can see if the token is invalid.
Also, you could just check this yourself. Make a request with that token and see if it returns invalid token.

loginWithToken has been removed in 9.0.2 in favour of a unified login method


Expose raw http server

Expose raw http server through restify.

@ericlu88 thanks mate!

note
https://github.com/mcavage/node-restify/blob/b24d88b6bfbf2eeb2265a9d2f09149e1ca21af15/lib/server.js#L205


[BUG] how to show json string when DB file is broken with Datetime ArgumentOutOfRangeException

I don't know why DB collection can't find collection items.  Maybe insert data Datetime type bug.
catch exception:
System.ArgumentOutOfRangeException:“The added or subtracted value results in an un-representable DateTime. Arg_ParamName_Name”
How can I fix this insert bug? And How to show all collection string json data and fix this data item ?
I can't open this collection as BsonDocument type.

@a44281071 Can you send me your datafile at<EMAIL_ADDRESS>?

sended. Thanks for help. @lbnascimento
And don't forget the db file has Password.

@a44281071 8 of the 18 entries in the MaterialDto collection have invalid dates in the CreateDate field – lower than DateTime.MinValue, which should never happen. We're trying to figure out how this happened. No other data seems to be lost. I can provide you a fixed datafile if you want (with placeholder CreateDate values for the affected documents, of course).
I have a few questions:

What OS, LiteDB version and .NET runtime version are you using?
Is it expected for you application to use values equal or close to DateTime.MinValue (01/01/0001) in the CreateTime field?
Could you provide some sample code on how you're using LiteDB? I would like to check how you're opening the datafile and how you're inserting and updating entries in your datafile.

windows10, net461, litedb last release version.
I used type mapping to bson document. In theory, there will be no invalid datetime data.
The biggest possibility is that file read/write locker didn't work. Or assembly changed?
The most obvious way is delete some dll in programe files.

I don't know why db save a time less than DateTime.MinValue.
And, Maybe we need fix read value bug at LiteDB.Engine.ReadElement()
                // catch specific values for MaxValue / MinValue #19
                if (ts ==<PHONE_NUMBER>00000) return DateTime.MaxValue;    // == change to >=
                if (ts == -62135596800000) return DateTime.MinValue;     // == change to <=

                var date = BsonValue.UnixEpoch.AddMilliseconds(ts);
                return _utcDate ? date : date.ToLocalTime();


Casting a DATE literal without time part to TIME datatype fails

Description
If different kind of inputs are given to time datatype like <DATE>T<TIME>, a date literal string to a TIME datatype when the time component in the string is not present and inputs are of types YYYYMMDD, YYMMDD and if month is mentioned in text format YYYY MON DD then the PG doesn't allows casting and throw errors.
This commit fixes the following issues

Considers format <DATE>T<TIME>[Z] as valid and return expected result.
Considers formats YYYY, YYYYMMDD and YYMMDD as valid and return expected result.
If month is mentioned in text format considered date formats YYYY MON DD, YYYY DD MON, MON DD YYYY, MON YYYY DD, DD MON YYYY, DD YYYY MON.
Accepts Empty String('') to time datatype.
Accepts only DATE literal without time part to time datatype. Accepted formats are DD-MON-YYYY, YYYY-MON-DD, MM{-/.}DD{-/.}YYYY, YYYY{-/.}MM{-/.}DD.
If timezone is specified then validates the timezone whether correctly mentioned or not i.e., timezone should be of format [+-]\\d{1,2}:\\d{1,2}.
If [AP]M specified then made sure that it is present after the time in the input.

Issues Resolved
BABEL-1541, BABEL-1528, BABEL-1539
Test Scenarios Covered

Use case based -

Added tests whether date of formats YYYY MON DD, YYYY DD MON, MON DD YYYY, MON YYYY DD, DD MON YYYY, DD YYYY MON are accepted.
Added tests whether <DATE>T<TIME>[Z] is valid and expected result is sent
Added tests whether "[AP]M" is being accepted after time specified in the input
Added tests for dates of format YYYY, YYYYMMDD and YYMMDD.
Added tests to accept timezone of format [+-]\\d{1,2}:\\d{1,2}

Boundary conditions -

Added tests for time range by having minutes, seconds>=60 and hours>=24
Added tests for dates by giving invalid month/date/year for each date format

Arbitrary inputs -

Along with the time given different inputs which include [ap]m offset
Added tests for [AP]M by giving inputs like "am", "pm"
Added test for time by not including min/sec/microseconds like 1::, ::1, :1:, 1.2, 1:2.2
Added test for date by not including year/month/day like 1990--, -12-, --12
Added tests  for format <DATE>T<TIME>[Z] by giving 't' and 'z'

Negative test cases -

Added tests with invalid month and date tests where date is of formats YYYY MON DD, YYYY DD MON, MON DD YYYY, MON YYYY DD, DD MON YYYY, DD YYYY MON.
Added tests  for format <DATE>T<TIME>[Z] by separating 'T' and 'Z' from
Added tests for inputs with "[AP]M" by adding in-front of time or the input doesn't contain time at all.
Added tests for dates of format YYYY, YYYYMMDD and YYMMDD by passing invalid date/month values
Added tests for timezone of format [+-]\\d{1,2}:\\d{1,2} by not following pattern like giving "+2", "-8" without having :\\d{1,2} part

Minor version upgrade tests - N/A

Major version upgrade tests - N/A

Performance tests - N/A

Tooling impact - N/A

Client tests - N/A

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 72.512%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
40289

Relevant Lines:
55562

💛  - Coveralls


Use default toolchain when initializing a project

I'd really prefer to avoid accidentally setting up a new project with Python 3.12 since some of the packages I like to use only work on 3.11 and earlier. So I set the default toolchain in as toolchain =<EMAIL_ADDRESS>in config.toml. However, when I rye init a new project, I find that it still gives me 3.12 unless I specify the version as a command-line argument.
This behavior seems consistent with what I see in the source code here, so I don't think this is a bug.
Would it make sense to use the toolchain value specified in the config file as the default version of Python when initializing a project, or am I misunderstanding something here?

The first priority is .python-version under workspace.
Second priority is requires-python in pyproject.toml .
And lastly, the default toolchain

So I actually think this is a good call-out. This could become confusing to users.

The first priority is .python-version under workspace.
Second priority is requires-python in pyproject.toml .
And lastly, the default toolchain

Maybe we can simplify Rye's toolchain management UX.
The goal here is to give users a way to tell Rye what Python version to select for the current project. Making this process too much of an inferred process might give users a confusing impression of Rye's toolchain management system. We can probably come up with good defaults for out-of-the-box inference, but I'm not sure it's the best idea to infer the Python version selection via the project's requires-python configuration. This is information used by consumers of the distributed project. It could probably work as a fallback, but this feels like we're crossing wires and users might feel similarly.
I'm not too hot on using .python-version as a first-class Python selection mechanism when your tool has a toolchain management system. We can think about ways to support it, but what we probably want here is some explicit configuration for the toolchain selection. In fact, it looks like Rye already has configuration for this https://rye-up.com/guide/config/#config-file. Could we focus on supporting that configuration to simplify how this process functions, and how it feels for users of Rye?
Rustup, IMO, does this really well for Rust developers. Similarly, we could provide ways to configure defaults for your system regardless of your current scope/project. I really like how Rustup uses a kind of TOML db for toolchain entries.

@cnpryer I see your point about simplifying the toolchain selection process. However, to clarify, the point I'm making here is a simpler one: there is a default.toolchain key in the config file, and it's currently not being looked at at all during project initialization, even as a fallback.
To me that suggests that either this is an oversight in the line of code that I linked in the description, or else I'm not understanding the intended use of default.toolchain in the config file. I'm not sure which is the case.

I might be missing the point, but the change I'm suggesting seems to me to be pretty much separate from the hard parts of the question of how to resolve Python versions. Namely, instead of using latest CPython as a last resort, do one more check just before that for the default toolchain in the config file.
It doesn't seem like that would mess anyone up because anyone relying on any specific version-selection behavior would have to be using code branches that are upstream of the last-resort case.


PolicyAuditMode can't be turned off at runtime if cilium-agent starts with it enabled

Bug report
If PolicyAuditMode is enabled when cilium-agent starts, then disable it with CLIs does work, such as

cilium config PolicyAuditMode=false
cilium endpoint config <ep_id> PolicyAuditMode=false

Root cause
In short,

If audit mode is enabled at startup, agent will write #define POLICY_AUDIT_MODE 1 to node_config.h
When disable it with CLI, the agent will not pass PolicyAuditMode changes to init.sh, and the later is responsible for manipulating the node_config.h
Endpoints will include node_config.h when generating BPF, so the macro POLICY_AUDIT_MODE is always defined for them.
Audit handling code in BPF is conditionally compiled with #ifdef POLICY_AUDIT_MODE

As a quick test, the following patch (based on 1.8.4) would make cilium config PolicyAuditMode=false work:
diff --git a/bpf/init.sh b/bpf/init.sh
index 7ecffc942..1b50f0dbb 100755
--- a/bpf/init.sh
+++ b/bpf/init.sh
@@ -37,6 +37,7 @@ MCPU=${19}
 NODE_PORT_IPV4_ADDRS=${20}
 NODE_PORT_IPV6_ADDRS=${21}
 NR_CPUS=${22}
+POLICY_AUDIT_MODE=${23}

 ID_HOST=1
 ID_WORLD=2
@@ -482,6 +483,11 @@ case "${MODE}" in
                        MAC_BY_IFINDEX_MACRO="${MAC_BY_IFINDEX_MACRO}${MAC_BY_IFINDEX_MACRO_END}"
                        echo -e "${MAC_BY_IFINDEX_MACRO}" >> $RUNDIR/globals/node_config.h
                fi
+
+        sed -i '/POLICY_AUDIT_MODE/d' $RUNDIR/globals/node_config.h
+        if [ "$POLICY_AUDIT_MODE" = "1" ]; then
+            echo "#define POLICY_AUDIT_MODE 1" >> $RUNDIR/globals/node_config.h
+        fi
 esac

 # Address management
diff --git a/pkg/datapath/loader/base.go b/pkg/datapath/loader/base.go
index de10de033..7d159ada6 100644
--- a/pkg/datapath/loader/base.go
+++ b/pkg/datapath/loader/base.go
@@ -67,6 +67,7 @@ const (
        initArgNodePortIPv4Addrs
        initArgNodePortIPv6Addrs
        initArgNrCPUs
+       initArgPolicyAuditMode
        initArgMax
 )

@@ -339,6 +340,7 @@ func (l *Loader) Reinitialize(ctx context.Context, o datapath.BaseProgramOwner,

        args[initBPFCPU] = GetBPFCPU()
        args[initArgNrCPUs] = fmt.Sprintf("%d", common.GetNumPossibleCPUs(log))
+       args[initArgPolicyAuditMode] = fmt.Sprintf("%v", option.Config.Opts.Opts[option.PolicyAuditMode])

But to make cilium endpoint config <ep> PolicyAuditMode=false work, further changes are needed.
This problem exists in all versions of Cilium, and I'd like to file a formal PR to fix it if the problem is confirmed.
Thanks!

I think we should move POLICY_AUDIT_MODE from node_config.h to the individual ep_config.h header files. The fact it can be configured per endpoint with cilium endpoint config implies it's a per-endpoint setting and shouldn't be in node_config.h IMO.

I think we should move POLICY_AUDIT_MODE from node_config.h to the individual ep_config.h header files.

It seems that POLICY_AUDIT_MODE is already in ep_config.h and lxc_config.h of each endpoint, e.g.
root@node:/var/run/cilium/state  # cilium endpoint config 154 PolicyAuditMode=false
root@node:/var/run/cilium/state  # grep POLICY_AUDIT_MODE 154/lxc_config.h
#undef POLICY_AUDIT_MODE

root@node:/var/run/cilium/state  # cilium endpoint config 154 PolicyAuditMode=true
root@node:/var/run/cilium/state  # grep POLICY_AUDIT_MODE 154/lxc_config.h
#define POLICY_AUDIT_MODE 1

but this declaration will be overridden when generating BPF if the macro is defined in node_config.h.

The fact it can be configured per endpoint with cilium endpoint config implies it's a per-endpoint setting and shouldn't be in node_config.h

Makes sense to me, I'll take a further look, thanks! @pchaigno

Hi @pchaigno, according to my test, directly remove the macro from node_config.h works (PR #15218). Not sure if there are cases that still rely on this flag in node_config.h? @pchaigno

If the macro is already in all ep_config.h files, I think #15218 will be enough.


AWS RDS cluster not able to update enableHttpEndpoint property

What happened?

In a pulumi project, add pulumi_aws.rds.Cluster
Set enable_http_endpoint property to True
Run pulumi up
Once RDS is created, run pulumi up again

Expected:
No change is anticiated
Actual:
pulumi preview says there is one update needed, which is to update enable_http_endpoint. If we check the resource status, enableHttpEndpoint is false but it should be true at this point
Example
cluster = rds.Cluster(
      resource_name=self._inputs["name"],
      cluster_identifier=self._inputs["name"],
     ......
      enable_http_endpoint=self._inputs["enable_http_endpoint"],
      ......
      opts=ResourceOptions(provider=self._provider),
  )

Output of pulumi about
CLI
Version      3.78.1
Go Version   go1.20.7
Go Compiler  gc

Plugins
NAME    VERSION
aws     6.4.1
python  unknown

Host
OS       darwin
Version  14.0
Arch     arm64

This project is written in python: executable='/Library/Frameworks/Python.framework/Versions/3.11/bin/python3' version='3.11.4
'

Backend
Name           pulumi.com
URL            https://app.pulumi.com/dennispanbot
User           [obscured]
Organizations  [obscured]

Dependencies:
NAME        VERSION
pip         23.2.1
pre-commit  3.4.0
pulumi-aws  6.4.1
ruff        0.0.292
wheel       0.41.2
yamllint    1.32.0

Pulumi locates its logs in /var/folders/d8/t7tynv650qjbvwvgzdf9k_vm0000gn/T/ by default

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

I believe RDS delays some parameter changes until the next maintenance window - this could be related.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html

That might be it. I tried changing apply_immediately to True but still not working

@dennispan To clarify - if you check your resource in AWS console, do you see the value as False?
Also, could you please provide a full code snippet that I could run to reproduce the issue? Thank you!

Yes the http endpoint are actually enabled. The code snippet is basically what I shared in the issue description. Most other properties are set based on stack configuration. Happy to share more details via email if needed

I think I can repro it with
const exampleCluster = new aws.rds.Cluster("exampleCluster", {
  clusterIdentifier: "example",
  engine: "aurora-postgresql",
  engineMode: "provisioned",
  engineVersion: "13.12",
  enableHttpEndpoint: true,
  databaseName: "test",
  masterUsername: "test",
  masterPassword: "must_be_eight_characters",
  serverlessv2ScalingConfiguration: {
      maxCapacity: 1,
      minCapacity: 0.5,
  },
});

then the state contains "enableHttpEndpoint": false in the outputs. I suspect it has to be an upstream bug but I haven't found an existing issue tracking it.

Yes the http endpoint are actually enabled

Ah, that's good to hear. What is the practical consequence of the issue for you then?

This does not repro for me anymore and must have been fixed.
CLI
Version      3.130.0
Go Version   go1.22.6
Go Compiler  gc

Plugins
KIND      NAME    VERSION
resource  aws     6.52.0
resource  awsx    2.15.0
resource  docker  4.5.5
resource  docker  3.6.1
language  nodejs  unknown

Host
OS       darwin
Version  14.6.1
Arch     arm64

This project is written in nodejs: executable='/Users/anton/bin/node' version='v18.18.2'

Current Stack: anton-pulumi-corp/pulumi-aws-2926/dev

TYPE                     URN
pulumi:pulumi:Stack      urn:pulumi:dev::pulumi-aws-2926::pulumi:pulumi:Stack::pulumi-aws-2926-dev
pulumi:providers:aws     urn:pulumi:dev::pulumi-aws-2926::pulumi:providers:aws::default_6_52_0
aws:rds/cluster:Cluster  urn:pulumi:dev::pulumi-aws-2926::aws:rds/cluster:Cluster::exampleCluster

Found no pending operations associated with dev

Backend
Name           pulumi.com
URL            https://app.pulumi.com/anton-pulumi-corp
User           anton-pulumi-corp
Organizations  anton-pulumi-corp, moolumi, demo, pulumi
Token type     personal

Dependencies:
NAME            VERSION
@pulumi/aws     6.52.0
@pulumi/awsx    2.15.0
@pulumi/pulumi  3.134.0
@types/node     18.19.50
typescript      5.6.2

Pulumi locates its logs in /var/folders/gd/3ncjb1lj5ljgk8xl5ssn_gvc0000gn/T/com.apple.shortcuts.mac-helper// by default


Unclear documentation of SSL_ERROR_WANT_READ and SL_ERROR_WANT_WRITE in SSL_get_error manual page

The manual page for SSL_get_error contains the following two sentences:

It is safe to call SSL_read() or SSL_read_ex() when more data is available even when the call that set this error was an SSL_write() or SSL_write_ex(). However if the call was an SSL_write() or SSL_write_ex(), it should be called again to continue sending the application data.

I've marked the parts above that I find unclearly/sloppily written in bold. Now I'm going to guess their meanings, and replace those words with others in an attempt to make the phrasing less ambiguous:

It is safe to call SSL_read() or SSL_read_ex() when more data is available even when the last call that returned SSL_ERROR_WANT_READ was an SSL_write() or SSL_write_ex(). In that case, SSL_write() or SSL_write_ex() still needs be called after any calls to SSL_read() or SSL_read_ex() are made, in order to continue sending the application data.

Is that interpretation correct? If so, why omit any mention of the reverse scenario? Are these two sentence still correct if I swap each occurrence of the words "read" and "write" with each other:

It is safe to call SSL_write() or SSL_write_ex() when a socket becomes available for writing even when the last call that returned SSL_ERROR_WANT_WRITE was an SSL_read() or SSL_read_ex(). In that case, SSL_read() or SSL_read_ex() still needs be called after any calls to SSL_write() or SSL_write_ex() are made, in order to continue receiving new application data.

If not, and the requirements are actually asymmetric between reading and writing, then such differences should be mentioned in exact terms.

I don't see a problem with calling either SSL_read() or
SSL_write() after an SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE
is returned. As long as you don't misuse the API, I think it
shouldn't be a problem.

https://github.com/openssl/openssl/issues/7327#issuecomment-425516452

The intend of the document is to say that if something like
select() says that there is data available you can always
call SSL_read(), regardless if the previous call was an
SSL_read(), SSL_write(), or that it returned SSL_ERROR_WANT_READ
or SSL_ERROR_WANT_WRITE.
But there are cases where calling SSL_read() when there is data
available on the socket will not result in OpenSSL actually
reading that data.
For instance if an SSL_read() returned an SSL_ERROR_WANT_WRITE,
it means it wants to send non-application data. If the other side
sends non-application data that requires us to send a reply,
we can't fully process that data yet because we're still in a
state where we're dealing with the previous packet that wasn't
send and we don't have enough buffer space to deal with a new
packet.
I expect that if SSL_ERROR_WANT_WRITE was returned and you call
SSL_read() that it will not read any data from the socket, but that
it's safe to call the function. But I'm not 100% sure about that.
So you might end up in a situation where something like select()
says that there is data available, but calling SSL_read() doesn't
actually read it, which then results in select() returning that
data is available and you end up in a busy wait.
I currently don't know what the best advice is.

Marking as inactive, to be closed at the end of 3.4 dev, barring further input


Forgot Password Enabled is checked on Axis2 Configuration

Now this is being checked in the axis2.xml by checking whether SMTP transport sender is configured in the axis2.xml. But now with an IS upgrade email needs to be configured in the output-event-adapter.xml. Hence, even though we set the email configurations in axis2.xml this feature breaks.
We need to introduce a new configuration to check if the forgot password feature is enabled to make it independent from IS.

Since APIM 3.0.0 it uses output-event-adapter config
https://apim.docs.wso2.com/en/latest/install-and-setup/setup/security/user-account-management/#!


flake8 process is causing very high CPU ussage

Environment data

VS Code version: 1.41.1
Extension version (available under the Extensions sidebar): 2020.1.58038
OS and version: macOS 10.14.4
Python version (& distribution if applicable, e.g. Anaconda): 3.5.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions:

flake8==3.7.9
flake8-bugbear==20.1.3
flake8-docstrings==1.5.0
flake8-isort==2.8.0
flake8-mypy==17.8.0
flake8-rst-docstrings==0.0.13
pyflakes==2.1.1

Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi

Expected behaviour
Linting will not cause CPU usage to spike
Actual behaviour
Process python -m flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s from VS code is using showing 100% CPU usage.
I see that this user was having the same issues, but created an issue in the wrong repo https://github.com/microsoft/vscode/issues/88351
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Currently opening any Python file causes this to occur. Closing the python files will not terminate the process. Only closing VS code will.
In settings  "python.linting.flake8Enabled": true,.
The following is the used .flake8 file
[flake8]
ignore = E203, E266, E501, W503
max-line-length = 80
max-complexity = 18
docstring-convention = numpy
select = B,C,E,F,W,B9,D,RST

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
[Info] Looking for git repository
[Info] Git repository found, initializing review manager and pr tree view.
[Info] Review> Validate state in progress
[Info] Review> Validating state...
[Info] No remote with name 'upstream' found. Please update your 'githubPullRequests.remotes' setting.
[Info] No remote with name 'upstream' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Found GitHub remote
[Info] Review> Queuing additional validate state
[Info] Review> no matching pull request metadata found for current branch plotting-stypes
[Info] Review> Validating state...
[Info] No remote with name 'upstream' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch plotting-stypes

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
[Extension Host] Info Python Extension: 2020-01-31 09:43:27: > ~/Documents/pyfrb_projects/pyfrb/pyfrb_env/bin/python -m flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/Documents/pyfrb_projects/pyfrb/pyfrb/__init__.py

@pscosta5, thanks for letting us know about this.  We'll get back to you as soon as we can.

Thanks for the update @ericsnowcurrently !

The behavior you want sound reasonable. :smile:  We consider it a feature request and will look at how well the change fits in to our plans.  Thanks!

Thanks for the suggestion! We talked about it with the team and we have unfortunately decided we will not be moving forward with this idea. We think there isn't an enough widespread need for this to warrant the maintenance cost for the feature.


Please Tell How i can Print ऑ (Half Moon) Words

कॉफी  <expected< kofI
स्टॉप <expected< staimp
ऑस्कर <expected< Oskar
Above Marathi/Hindi Words are Expected but Below is Output
ओस्कर् << kofI
स्तैम्प् << staimp
कोफ़ी << Oskar
Please tell any available Solution
I saw below links, But I Can't Find Solution for (अर्धचंद्राकार) , { I found Solution for (Half Moon Dot)(ChandraBindu)}
https://github.com/sanskrit-coders/indic_transliteration/blob/7ee621bff40486056d05c0ec25474b8a66ee65a7/indic_transliteration/sanscript/schemes/brahmic/northern.py#L10
&
https://github.com/sanskrit-coders/indic_transliteration/blob/7ee621bff40486056d05c0ec25474b8a66ee65a7/indic_transliteration/sanscript/schemes/roman.py#L87

Upgrade to latest version and use 'oascar'

Thank You For the Changes.
I am Sorry, but it is Not Working.
I Upgrade the Package also Tried on Different Env. then also not working.
the Updates by you are shown in the file as
'vowels': str.split("""अ आ इ ई उ ऊ ऋ ॠ ऌ ॡ ए ऐ ओ औ ऎ ऒ ऍ ऑ"""),
'marks': str.split("""ा ि ी ु ू ृ ॄ ॢ ॣ े ै ो ौ ॆ ॊ ॅ ॉ"""),
but while transliteration i debug that and i saw, in "non_marks_viraama" variable  there is no "ऍ  & ऑ" , and i think that
because of this it is not translating.
eg.
oa >> ओअ
Please See the Problem

ITRANS has not changed. Use Optitrans.

i think this will help

Ok


plugins/environments.js: Fix creation of new environments

Currently if environments do not exist in the target repository, they cannot be created
if all properties are not populated.
This PR performs a lint of the environments plugin file (first commit) before adding new
test cases to cover the creation of environments that do not exist.
The command eslint --fix ./lib/plugins/environments.js
was used to lint the plugin and some variable names were
updated to camel case manually.

@klutchell Would you mind saying why you decided to close? Thanks

@klutchell Would you mind saying why you decided to close? Thanks

I might reopen, but I noticed that running this build in production was able to create new environments but did not add any environment variables. I quickly closed the PR until I can verify that it's not doing more harm than good.
I suspect setting of environment variables is also broken in some way, I just want to check that I didn't introduce the issue.

I suspect this is resolved by https://github.com/github/safe-settings/pull/612, marking as draft for now

This is ready for review & merge now, I've confirmed locally that it is able to create new environments and add variables.

How does this change look to you @decyjphr ?

Superseded by https://github.com/github/safe-settings/pull/649


Create new slide

Add API to be able to add a new slide, e.g. ISlide ISlideCollection.AddNewSlide().
Useful links:

https://docs.microsoft.com/en-us/office/open-xml/how-to-insert-a-new-slide-into-a-presentation

Hello @adamshakhabov, can I contribute to this project?

Hello @YaseenYo. Yes, of cause! Do you wanna check this issue?

Please help me get started with this...

@adamshakhabov Can I set up this project using VsCode?

Yes, you should. The library doesn't have some specific settings or dependencies for non-Visual Studio IDE or non-Windows OS.
Check this general tutorial Debug a .NET console application using Visual Studio Code

I have completed setting up my environment. @adamshakhabov it would be really helpful if you could elaborate on this issue.

@adamshakhabov I have to write the functionality for the AddNewSlide() function to create a new slide... am I guessing it write?

Right.

@YaseenYo, I started adding CONTRIBUTING.MD. Please take a look at this document. It can help you make starting.

@YaseenYo, I think there is no progress?🙂

hello @adamshakhabov , Its been long time I visited this project

I see Insert and Add methods have been implemented already

Correct. But these methods manipulate existing slide. They do not construct slide from scratch.

The new ISlideCollection.AddEmptySlide() method has been added. It will be available in the next 0.40.0 version.


Crash while using a CraftTweaker script

Script:
mods.createElectricStonks.fePerRotation(0.4f);
(all other lines were made comments)
Crashlog:
https://pastebin.com/s3DPxamn
The game opens, loads and is able to create a world, but placing a motor crashes the game. Loading the script with a motor in place also crashes. After that, the game crashes when trying to load the same world.
I believe it worked with 0.5f. Crashed with 0.25, 0.24 and 0.125f. I tried the last one multiple times.

This is quite weird, for some reason it seems like it considers 0.4 as 0, I will look into it now

I have tracked down the problem, I will try fixing it as soon as possible.

Fixed on both branches, will upload new version to CF and Modrinth now.


Add docs

Summary
Add docs introduction, cli docs, docs template and docs for /auth/discord/redirect
Checklist

[ ] If endpoints were changed then they have been documented and tested.

[x] I have updated the docmentation to reflect the changes.
[ ] I have updated the tests to support the changes.

[ ] This PR fixes an issue.
[x] This PR adds something new (e.g. new endpoint or parameter).
[ ] This PR is a breaking change (e.g. endpoint or parameters removed/renamed)
[x] This PR is not a code change (e.g. documentation, README, ...)

This PR is ready to be merged. I also fixed the bugs in /auth/discord/callback.

This PR is ready to be merged. I also fixed the bugs in /auth/discord/callback.


Recheck sql_proxy connection for development

Need to recheck whether I'm inadvertently touching the production db, when using the sql-proxy connect. The proxy should connect to a different db in the sql instance. However, some testing I recently did seemed to have appeared in the production db when I deployed it, which is a bit baffling.

successfully migrated changes to proxy dev db, before then migrating to production db. Wasn't able to repeat this bug so closing.


Feature request: Support SOS1 constraints

Thanks for continuing the work on minip, I really think it is useful in some cases.
I was wondering if you might consider adding support for SOS1 or cardinality constraints? And adding that to good_lp? That would make this library even more useful!
I would do it myself if I knew more about how to implement LP stuff, but unfortunately this is not my area of expertise. So I'm throwing this one out there 😅

Hello! Sorry for the late reply, I hadn't seen the issue.
I'm not too much of an LP expert either, I made the fork mostly to add some things and fixed others, while leaving the community the possibility to contribute.
Just to make sure I understand the issue, what API would you like to see from the library if SOS1 constraints were added?
What do you expect the solver to do with this new method?
Looking around the web it seems like this constraint is used to enforce that at most one of the variables in the set has value 1, and all the others must be 0 (all binary variables)
I could see this improving branch and bound by branching on the individual variables and fixing the other variables to be 0, as to not recalculate each branch which would lead to invalid constraint. If you have a constraint with many variables, and the constraint is SOS1, then this would reduce the branches by a lot


skip epochs at the beginning

OK. Why timestamp, and why in the config? The config is supposed to provide some parameters not to store some state. I'd rather keep epochs to skip in the config and start skipping them after registration. As I operate on epochs, it's less calculation if I check how many epoch passed from the registration.

Calculation is negligible. I thought we can put it in config instead of having to store it somewhere else. But i think you are right, we should have a file or a db that saves our state (including timestamp of the registeration,)

So you want to store it in some protected storage, in case of the crash/restart of the application?

Not needed for now, maybe later we will use a state file


jetstream ChanSubscribe with OrderedConsumer doesn't work as expected

Using a normal js.Subscribe and adding the *nats.Msg to the channel in msghandler works as expected, but using ChanSubscribe and providing the channel seems to fail at flowcontrol or similar with lots of
nats: slow consumer, messages dropped on connection [4] for subscription on ""

go.mod relevant version
github.com/nats-io/nats-server/v2 v2.6.7-0.20211203194937-893b41543488
github.com/nats-io/nats.go v1.13.1-0.20211122170419-d7c1d78a50fc
Attached a dirty _test.go that provokes the issue (atleast on my machine). Had to hide it as markdown but I'm sure you can recreate the defect_test.go source
defect_test.md
/T

wrong repo


Fix CodeCov report update

/usr/share/miniconda/envs/ael-test/lib/python3.8/site-packages/coverage/control.py:793: CoverageWarning: No data was collected. (no-data-collected)

The issue here was a missing __init__.py in the test folder: https://stackoverflow.com/a/60579142


Hc 159 user rules

@DustinKLo: to handle the failing circleci PR builder test, can you update .circleci/config.yml so that you can detect if the branch that's being built is develop-es7 and if it is, it does a git clone and install of the dependency repo/branch (e.g. hysds_commons) before running the test? The circleci config supports templating: https://circleci.com/docs/2.0/configuration-reference/#branches. The mod would be something to this effect:
version: 2.1
jobs:
  test:
    docker:
      - image: hysds/pge-base:latest
    steps:
      - checkout
      - run:
          name: Test
          command: |
            source $HOME/.bash_profile
            if [ "{{ .Branch }}" == "develop-es7" ]; then
              git clone --single-branch -b develop-es7 https://github.com/hysds/hysds_commons.git
              cd hysds_commons
              pip install -e .
              cd ..
            fi
            cp configs/celery/celeryconfig.py.tmpl celeryconfig.py
            pytest test

workflows:
  version: 2
  test:
    jobs:
      - test
  weekly:
    triggers:
      - schedule:
          cron: "0 7 * * 0"
          filters:
            branches:
              only:
                - develop
    jobs:
      - test:
          filters:
            branches:
              only: develop

Something like that. You may have to cd to the ~/verdi/ops directory to clone hysds_commons and do some other manuevering but you get the gist.

@pymonger had to make a small edit to your .circleci script but it finally works 👍


Optimize performance of phase field tutorial

wrap the algorithm in a main function to avoid performance penalty due to the global scope
use composition operator to define the linear form (which is assembled at each steps)

@ghislainb do you want to add some changes or do we merge? I remember that you wanted to put the animation at the top etc.

@ghislainb do you want to add some changes or do we merge? I remember that you wanted to put the animation at the top etc.

I think we can merge "as is" (the main purpose of the PR is reached)


fixes path causing asset precompile to fail

fixes #87
Tested this on my local server and it fixed the asset precompile problem

👍
I've been running into this and came up with the same fix. It would be great to get this merged and released. We currently depend on the config.tinymce.install option to provide a copy that does not preserve file modes, which pull request #77 allowed -- but it introduced this bad path.

Great! Thanks!
Pushed v4.0.17.beta.3 both to the repo and as a gem now.
Hope it fixes your issues.

@PerfectlyNormal Thanks! I just tested this out and it's working nicely, with a custom "installer" class (which just calls FileUtils.cp without :preserve).


enabled 'visdom. Server'

When enabled 'visdom. Server', it is stopped by 'Downloading scripts. It took take a while'

You can try using the download.sh script to see what is having trouble downloading.


Backlog: Carrier form custom validation constraints

Overview:
It’s possible to expand further upon our validation constraints implementation and provide even more UI indication, custom validators and custom messaging. This could completely eliminate the need for any custom React state error messaging with the Message component. Why? Because the logic performed to set those messages can be used instead to apply custom validation constraints and messaging via onChange events for necessary inputs.
Carrier form code:
We currently use required fields (some conditional), the number input type for ports and a regex pattern constraint for inbound SMPP gateways IP fields since FQDN is strictly disallowed in this case.
For deeper gateways field validation we set custom React state error messages—this is the logic/handling we can migrate to custom constraints!
https://github.com/jambonz/jambonz-webapp/blob/refresh/src/containers/internal/views/carriers/form.tsx
Reading:

https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Constraint_validation
https://developer.mozilla.org/en-US/docs/Web/API/Constraint_validation
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/invalid_event

Notes:
One cool thing is you can style invalid inputs simply with the :invalid pseudo class.

This is really interesting. How would you like getting started on this?

This is really interesting. How would you like getting started on this?

I would suggest waiting for later. This is labeled as an enhancement. We should prioritize the recent calls and alerts views so we can put a bow on this package 📦🙂

@kitajchuk @davehorton
Found during testing that there is a need to add validation to:

Webhook field should validate for a valid webhook
Username validation - right now you can have a username with spaces
Maybe other namings to not have any bad characters that might mess with JS/TS

Additional comment from @davehorton , if someone enters a ws(s) URL in the call hook for an application, the type dropdown should perhaps be hidden (since POST/GET are no longer relevant) and the call status webhook should  be able to be left empty
Or is this should be a separate issue and not part of this enhancement?


Add issue templates

Description
Add issue templates so there's a bit more consistency and structure in the repo.

Rebased and squashed, waiting for approval.


chore: upgrade Styler

styler 1.0.0 dropped support for Elixir 1.14 and there are code changes present because of additional style updates provided.
This should be merged after #93.

Closing in favour of #95.