DLSS 3.5

So, Nvidia has just announced DLSS Ray Reconstruction. It seems like this feature cannot be retrofitted in the same way as we are doing with DLSS 2 (hot-swapping dll versions). However, I see a potential use case for DLSSTweaks with this new DLSS version.
Nvidia informed reviewers that ray reconstruction won't work at native/DLAA(?), as it is part of the upscaling process of DLSS. This got me thinking that we could potentially circumvent this by forcing DLSS 3.5 to render at 99% resolution (for example).
Though I fail to understand why this ray denoising pass shouldn't work at 100% scale, since DLAA is literally just DLSS. Hopefully, it is just a miscommunication, and Nvidia meant something slightly different. My guess is that they meant Ray Reconstruction isn't a separate feature like Frame Generation or Reflex (which makes sense), but a part of DLSS Upscaling that cannot be turned on/off when implemented in the pipeline (which also makes sense). As such, it would work like DLAA (DLSS at 100% scale). Correct me if my thinking is wrong.
Either way, I hope DLSSTweaks can still be used in the future with DLSS 3.5.

Yeah hopefully they just mean that SuperRes is required for RR to function, and by native they just mean SR-disabled, can't think of why DLAA/1.0x scale shouldn't work with it, doesn't require anything more than the other DLSS modes use anyway.
Like you mentioned I'd guess it's probably tied to the super-res in some way, maybe works as part of it, or just requires tapping into the same kind of buffers it uses.
In worst case I guess we could probably use 0.99x scale like you said, that does help with some other games that have DLAA issues at least.
Just hoping they publish a proper SDK for RR this time, and not some closed-source Streamline plugin like FG was released as, if it does work as a denoiser it might be possible to write replacement denoiser plugins for older games to make use of it (eg. a NRD.dll wrapper for games that use NV's old denoiser, and I think UE4/UE5 support loading denoisers as plugin DLLs if they export the right functions, but might be thinking of a different engine)

DLSS & DLSS-FG were updated to v3.5
nvngx_dlss.dll v3.5 (CL 33190482): https://github.com/NVIDIA/DLSS/raw/83e10e77c8ea0bd7ac8c4884c1aa4facad5910c2/lib/Windows_x86_64/rel/nvngx_dlss.dll
nvngx_dlssg.dll (watermarked): https://media.githubusercontent.com/media/NVIDIAGameWorks/Streamline/fef96c6aed1089f3dfcbfbd714afcaf5100979ee/bin/x64/nvngx_dlssg.dll
The NV dev site also had some slightly more updated versions, there's a nvngx_dlss.dll v3.5 with slightly higher CL 33199489 (https://pixeldrain.com/u/2sbdhpwE), and also included a non-watermarked dlssg DLL (https://pixeldrain.com/u/XkbtyC4B)
NV dev site also released a UE5 plugin which contains SDK header files for DLSSD, which seems to be Ray Reconstruction, but without any DLL for it it's not usable atm.

so is this compatible with 3.5?

@itsdinkd should mostly work fine, there might be some issues with it selecting wrong DLSS preset than what you picked though, but if you change all the entries in the DLSSPresets to the same one then hopefully that'll let it get forced, will need to take another look at it soon.

Ray Reconstruction was released with CP2077 & Chaos Vantage, looks like both of them use the same nvngx_dlssd.dll v3.5, some reason CP2077 is using DLSS 3.1.1 & DLSS-FG 3.1.13 with it though instead of updating them all to 3.5, odd.
Chaos Vantage uses same 3.5 ver for both DLSSD & normal DLSS, so guess it doesn't depend on exact version of DLSS or anything like that - DLSS & DLSSG files match the ones we already have too, so just the DLSSD is new.
Here's nvngx_dlssd.dll for anyone interested (check nvidia signature in file properties): https://pixeldrain.com/u/EoVFQRwa
I still need to redownload CP fully to test with it, Chaos Vantage has a free trial which should be able to make use of it too, there's also the NvRTX UE5 fork which includes code to use DLSSD, now that we have the DLL I guess that should be able to work.

I'm testing it right now. CP2077 doesn't allow you to use DLAA and RR at the same time. However, you can use it with any quality preset for DLSS. The workaround of forcing 99% scale should work (needs more testing). Nvidia stated RR is trained for DLSS Quality specifically. I can confirm it has way more issues at lower presets than with Quality (and higher scales if it works). It's possible the bugs it has are due to the way CDPR implemented it in CP2077, and other implementation might not have them.

Could you check if the global NvProfile settings work with it? It looks like dlssd DLL is still checking them but not sure if they're actually getting used.
(configtool from https://github.com/emoose/DLSSTweaks/issues/85#issuecomment-1724544141 should let you change them, just run the EXE without any dlsstweaks.ini in the same folder)
AFAIK the reg file from https://github.com/emoose/DLSSTweaks/blob/master/external/ngx_driver_onscreenindicator_all.reg should let it display some kind of overlay too, not sure if the resolutions are shown there though.

This is what the overlay shows.
https://imgur.com/H6f48gl.jpg

An interesting thing is that the RR model can stay on even if you turn off path tracing.

Could you check if the global NvProfile settings work with it? It looks like dlssd DLL is still checking them but not sure if they're actually getting used.

Ah it turned out CP2077 includes DLSS 3.1.1 which is from before they added the NvProfile stuff, so the profile settings have no effect, easy fix -> switch out for DLSS 3.5:

A little strange that DLSSD is dependant on the resolution given to DLSS-SR though, since it looked like DLSSD was meant to handle DLSS-SR itself (all the models like crimson_slug etc seem included inside DLSSD)...
Seems both nvngx_dlss & nvngx_dlssd modules are loaded into the process at the same time, too bad since I was hoping the current DLSSTweaks code for nvngx_dlss could have been reused, but guess I might have to duplicate it to handle dlssd too.

Added a hook to let the DLSSD hud be overridden, so OverrideDlssHud INI setting should apply to DLSSD now too, heard some people mention using that setting had caused weird glitches with RR before but never saw that on my side, maybe was something to do with DLSS hud being active while DLSSD was inactive or something like that, hopefully this might help with it.
With that I /think/ RR should be mostly fully supported now, only thing remaining is hooks for the built-in SR stuff inside DLSSD, not too sure if that SR code is ever actually used though, most signs point to it going through nvngx_dlss instead.
Will post up a release for 0.200.8 shortly after a little more testing.

CP2077 2.01 update seems to have updated the dlssd DLL too (for Ray Reconstruction), version number is the same but CL revision was increased.
Heard some mention they're getting better IQ from it but who knows, might be interesting to try comparing results from old vs new.
I've updated my reply above (https://github.com/emoose/DLSSTweaks/issues/90#issuecomment-1689118267) with a table of the current DLSSD versions, will try and keep that updated as more DLLs show up.

DLSS/DLSSG 3.5.10 was released earlier, posted about them at https://www.reddit.com/r/nvidia/comments/17afa5t/dlss_super_resolution_sdk_3510_released_nvngx/k5cijlr/, the github dlssg is watermarked but I linked a non-watermarked ver there too.
Sadly no DLSSD 3.5.10, even though UE plugin contains the SDK/code to use it I guess NV are still keeping it close for now, hopefully some game update might include it soon.

Alan Wake 2 includes a newer DLSSD, CL33367307 (2023-10-05), size is a bit bigger than the CP2077 versions too, but version number was unchanged, updated table above.

CP2077 2.02 has the same CL as 2.01.

This new dlssd dll gives a huge performance boost to both cyberpunk and alan wake 2.  In cyberpunk, I went from 16 fps to 28 fps in once scene I checked.  I haven't studied picture quality yet though.

Seems latest AW2 patch included 3.5.10 DLSSD, so now we can complete the 3.5.10 set: https://www.reddit.com/r/nvidia/comments/17xzlc2/dlssg_ray_reconstruction_35100_33457773_alan_wake/k9twb0t/
I don't have AW2 downloaded anymore to check the other DLLs, any chance someone could check file properties of nvngx_dlss.dll & dlssg.dll to see if CL number listed is any higher than the latest 3.5 / <IP_ADDRESS> DLLs that we know about? (CL33396148 for <IP_ADDRESS>, or CL33358127 for <IP_ADDRESS>)

I have downloaded the First Descendant open test server, it has a 3.7.0 DLSSD file, with cl revision of 33860605, would you like me to upload the file?

I have downloaded the First Descendant open test server, it has a 3.7.0 DLSSD file, with cl revision of 33860605, would you like me to upload the file?

update: after putting it in portal rtx, and using dlsstweaks option to remove watermark, the watermark in question still remains

Oh interesting, if you can upload it I'll try taking a look, if that has watermark I guess it could be a dev version of it? Don't think we've seen one of those for DLSSD yet.

Oh interesting, if you can upload it I'll try taking a look, if that has watermark I guess it could be a dev version of it? Don't think we've seen one of those for DLSSD yet.

https://we.tl/t-pgMtZm22zB here you go, uploaded it to WeTransfer, since i dont know how to upload DLL files to github lol

Yep looks like it's dev ver, thanks for letting us know.
The 33860605 CL and build date match up to DLSS <IP_ADDRESS> as well, maybe the other DLSSD 3.7 with earlier CL is actually some kind of pre-release (think that DLSSD was the first DLL we had that was v3.7)
Guess there should also be a non-dev ver for 33860605 as well, maybe the first descendant devs will push an update with it eventually.
Until then you can probably just replace it with the earlier 3.7 DLL, there's only about ~10 days difference in build date with them, probably not much different.
or if game doesn't have anticheat you could try using cheat engine to search for %s SDK - DO NOT DISTRIBUTE and change it to empty string, that's pretty much what DLSSTweaks does to remove it.

Yep looks like it's dev ver, thanks for letting us know - do you know if the DLSS hud shows anything different with it? will have to grab a dlssd game to check soon.
The 33860605 CL and build date match up to DLSS <IP_ADDRESS> as well, maybe the other DLSSD 3.7 with earlier CL is actually some kind of pre-release (think that DLSSD was the first DLL we had that was v3.7)
Guess there should also be a non-dev ver for 33860605 too, maybe the first descendant devs will push an update with it eventually.
Until then you can probably just replace it with the earlier 3.7 DLL, there's only about ~10 days difference in build date with them, probably not much different.
or if game doesn't have anticheat you could try using cheat engine to search for %s SDK - DO NOT DISTRIBUTE and change it to empty string, that's pretty much what DLSSTweaks does to remove it.

sorry for the late reply, but the HUD does not show anything interesting

i have found a dlssd 3.7 cl33860605 non dev version (does not have the watermark), i shall upload it right here https://pixeldrain.com/u/xTZctWKd
D5 render is the source btw

dlssd v<IP_ADDRESS> cl34201261 source: the first descendant file preload https://pixeldrain.com/u/Kq8CoNLU


Failing to report version of command line tools?

pyct does not appear to be reporting correctly on command-line tools.
E.g. below I show pyct report pyct param python system not returning anything useful for python.
[200911 181348]/tmp$ which python3
/usr/bin/python3
[200911 181349]/tmp$ python3 --version
Python 3.8.2
[200911 181352]/tmp$ python3 -m venv test123
[200911 181406]/tmp$ . test123/bin/activate
(test123) [200911 181423]/tmp$ python -m pip freeze
(test123) [200911 181434]/tmp$ python -m pip install pyct[cmd]
Collecting pyct[cmd]
  Using cached pyct-0.4.7-py2.py3-none-any.whl (15 kB)
Collecting param>=1.7.0
  Using cached param-1.9.3-py2.py3-none-any.whl (70 kB)
Collecting requests; extra == "cmd"
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Processing /home/sefkw/.cache/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c/PyYAML-5.3.1-cp38-cp38-linux_x86_64.whl
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Installing collected packages: param, idna, urllib3, certifi, chardet, requests, pyyaml, pyct
Successfully installed certifi-2020.6.20 chardet-3.0.4 idna-2.10 param-1.9.3 pyct-0.4.7 pyyaml-5.3.1 requests-2.24.0 urllib3-1.25.10
(test123) [200911 181442]/tmp$ python -m pip freeze
certifi==2020.6.20
chardet==3.0.4
idna==2.10
param==1.9.3
pyct==0.4.7
PyYAML==5.3.1
requests==2.24.0
urllib3==1.25.10
(test123) [200911 181453]/tmp$ which python
/tmp/test123/bin/python
(test123) [200911 181513]/tmp$ python --version
Python 3.8.2
(test123) [200911 181515]/tmp$ command -v python
/tmp/test123/bin/python
(test123) [200911 181519]/tmp$ pyct report pyct param python system
pyct=0.4.7                     # /tmp/test123/lib/python3.8/site-packages/pyct
param=1.9.3                    # /tmp/test123/lib/python3.8/site-packages/param
python=unknown                 # not installed in this environment
system=Linux-5.4.0-7642-generic-x86_64-with-glibc2.29 # OS: Linux-5.4.0-7642-generic-x86_64-with-glibc2.29

Does it work for other people?

@jbednar I'm a bit confused :) In #80 the conclusion seems to be:

use command -v
don't use shell

But according to the article I linked there, command is something I would expect to come from the shell. And on my linux machine:
$ type command
command is a shell builtin

On the other hand, I would expect which to work ok without shell:
$ type which
which is /usr/bin/which

I say "work", but I just mean "not fail to run" (as command without shell does for me).
Maybe it's all different on mac (if that;s where this work was being done)?
As for getting the right answer (i.e. actually work - to find the same thing that someone would get when they enter a command themselves), in #80 I seem to be arguing that we should be using shell=True. But apparently that did not work for finding stuff.

It's not clear to me from

what exactly you both tried there.
However, if I assume you tried subprocess.check_output(['command','-v', package], shell=True) and/or subprocess.check_output(['which','-a', package], shell=True), i.e. you used a list like that, then it might explain a problem.
https://docs.python.org/3/library/subprocess.html#popen-constructor

On POSIX with shell=True, the shell defaults to /bin/sh. If args is a string, the string specifies the command to execute through the shell. This means that the string must be formatted exactly as it would be when typed at the shell prompt. This includes, for example, quoting or backslash escaping filenames with spaces in them. If args is a sequence, the first item specifies the command string, and any additional items will be treated as additional arguments to the shell itself.

subprocess.check_output(["command","-v","python"],shell=True)
b''

subprocess.check_output("command -v python",shell=True)
b'/home/sefkw/mc3/envs/tmp/bin/python\n'

I think the first form is the same as
subprocess.check_output(["/bin/sh", "-c", "command", "-v", "python"])
b''

i.e. it's wrong, and explains why shell=True did not seem to be working.
shell also works for conda, for me:
subprocess.check_output("command -v conda",shell=True)
b'/home/sefkw/mc3/condabin/conda\n'

So, I still argue for using shell=True. And command seems like a good choice.
What do you think? And could you verify on mac (and whatever weird shell you use ;) )?

I hadn't been able to test it because pyct wouldn't install, but it looks like that's due to setting channel_priority: strict in my .condarc, which was to get some other behavior earlier in a different case.  Changing channel_priority to false lets me install pyct, at which point it does seem to work on a Mac:
$ pyct report pyct param python conda system
pyct=0.4.7                     # /Users/jbednar/miniconda3/envs/holoviz-tutorial/lib/python3.7/site-packages/pyct
param=1.9.3                    # /Users/jbednar/miniconda3/envs/holoviz-tutorial/lib/python3.7/site-packages/param
python=3.7.7                   # /Users/jbednar/miniconda3/envs/holoviz-tutorial/bin/python
conda=4.8.4                    # /Users/jbednar/bin/conda
system=Darwin-19.6.0           # OS: Darwin-19.6.0-x86_64-i386-64bit

What I think you are proposing also seems to work:
$ python
Python 3.7.7 (default, Mar 23 2020, 17:31:31)
>>> import subprocess
>>> subprocess.check_output("command -v conda",shell=True)
b'/Users/jbednar/bin/conda\n'
>>> subprocess.check_output("command -v python",shell=True)
b'/Users/jbednar/miniconda3/envs/holoviz-tutorial/bin/python\n'

So I'm guessing that if you make the changes you proposed, it will work on both Mac and your Linux system. Seems like an improvement, then!
Note that system doesn't look like it's working well for you:
system=Linux-5.4.0-7642-generic-x86_64-with-glibc2.10 # OS: Linux-5.4.0-7642-generic-x86_64-with-debian-bullseye-sid

It would be nice if that looked more like:
system=Linux-5.4.0               # OS: Linux-5.4.0-7642-generic-x86_64-with-glibc2.10-with-debian-bullseye-sid

I.e., it was supposed to have short name at first and then more detail. Not sure why the code achieves that on Mac but not this version of Linux, particularly in that the "longer" one has less information than the "shorter" one in some ways.

Thanks for checking on mac.

I hadn't been able to test it because pyct wouldn't install

Could that be related to this pin? https://github.com/holoviz/datashader/blob/master/setup.py#L25 (https://github.com/holoviz/datashader/pull/960)

it does seem to work on a Mac

I guess on mac command must also be available outside the shell, then?

system doesn't look like it's working well for you

I wondered about that, but wasn't sure what it was supposed to look like :)

Setting terse to true causes the function to return only the absolute minimum information needed to identify the platform.

Seems tricky :)
>>> platform.platform()
'Linux-5.4.0-7642-generic-x86_64-with-debian-bullseye-sid'
>>> platform.platform(terse=True)
'Linux-5.4.0-7642-generic-x86_64-with-glibc2.10'
>>> platform.system()
'Linux'
>>> platform.uname()
uname_result(system='Linux', node='mikan', release='5.4.0-7642-generic', version='#46~1598628707~20.04~040157c-Ubuntu SMP Fri Aug 28 18:02:16 UTC ', machine='x86_64', processor='x86_64')
>>> platform.libc_ver()
('glibc', '2.10')```


Feature/simple regression

This PR reintroduces the simple regression functions back in the abiotic_simple_model as in #216.
Based on previous comments, I simplified the code where possible and added sanity checks and tests for exceptions.
The time looping is still to be discussed in the group but we agreed to leave it as it is for now.
I temporarily hard-coded two variables in the setup_simple_regression that I expect to be initialized by the plant model: layer_heights and leaf_area_index.
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

Codecov Report

Merging #221 (db1f9c9) into develop (1f6cd0b) will increase coverage by 0.30%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #221      +/-   ##
===========================================
+ Coverage    95.12%   95.42%   +0.30%
===========================================
  Files           35       36       +1
  Lines         1476     1551      +75
===========================================
+ Hits          1404     1480      +76
+ Misses          72       71       -1

Impacted Files
Coverage Δ

...rtual_rainforest/models/abiotic_simple/__init__.py
100.00% <ø> (ø)

...rest/models/abiotic_simple/abiotic_simple_model.py
100.00% <100.00%> (+1.58%)
:arrow_up:

...nforest/models/abiotic_simple/simple_regression.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thank you for your comments.
After a number of iterations, I now dropped the setup_regression function completely and instead initialize soil_moisture and vapour_pressure_deficit_ref in the abiotic_simple_model. They are assigned directly to data. The DataArrays filled with np.nan don't need to be created here. They are assigned directly to data.
I keep the run_simple_regression for now outside of the abiotic_simple_model but added a comment that one layer of nesting could be removed. This means that I also keep the separation of calculations and updating the data object.
Updating the data object is moved to core.data and allows to add and replace, I added a comment that this might need to be more selective in the future.


add the libxss dependency to Arch packages

This mirrors what we've done in RPM. (We don't have this dependency in
Debian, but that might just be because it's more commonly installed by
default, and we just haven't run into anyone without it yet.)
This missing dependency was reported in RyanFlaherty's comment on the
keybase-bin AUR package.
r? @cjb

Here's the RPM equivalent: https://github.com/keybase/client/blob/master/packaging/linux/rpm/package_binaries.sh#L34


Remove unneeded whitespace from json

Description
While the JSON spec allows whitespace before or after any structural character, some json linters complain about it. So we remove the 'offending' whitespace.
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] The documentation is up to date with these changes.

What program did you use to find these? I think we'd do well to add it as a pre-commit hook.

Brought up as a style issue during https://github.com/rapidsai/rapids-cmake/pull/530 and I manually found this with grep.
@bdice Is looking at adding the pre-commit hook currently

@KyleFromNVIDIA I added a hook called pretty-format-json. It seems to do the job we want.

/merge


[11.x] Add new match method inside Conditionable trait

This pull request aims to add a new match method inside the Conditionable trait.
This new feature was heavily inspired by the match php expression.
Recently in a project I was working on at work I needed to implement an api to serve analytics data for an e-commerce like application.
While trying to organize the code as best as i could i ended up with an action class with smaller private helper methods to customize the main query and return the correct data.
Initially I was using the available when method to call the correct private method for that specific case.

Then I thought that it would be nice if there was the possibility to use the php match expression to be more concise.

As you can see this is much more readable and concise.
So initially I wrote a basic implementation as an Eloquent Builder macro with the intent to later open a pull request to the framework to see if this idea was considered valuable to add.
Conditionable trait seemed the best place to put this kind of function.
I wrote a test but I'm very new to testing so I hope that it's adeguate and covers all necessary cases.

As an alternative, one could use the Builder@tap() method with a native match statement:
Order::query()->tap(match ($this->range) {
    'day' => fn ($query) => $this->fetchByDay($query),
    'week' => fn ($query) => $this->fetchByWeek($query),
    'month' => fn ($query) => $this->fetchByMonth($query),
    'year' => fn ($query) => $this->fetchByYear($query),
    // when there are more cases that don't need to be covered
    default => fn ($query) => null,
});

match doesn't feel very descriptive. what if you could pass an array to the second parameter of the when() method, and the existing method would handle this?
Order::query()
    ->when($this->range, [
        'day' => fn(Builder $query) => $query,
        'week' => fn(Builder $query) => $query,
        //etc
    ])
    ->get();

yeah i guess you could also use tap method in combination with native match statement, honestly I don't know very much about tap so when building this it didn't even come to mind

Don't worry, I think that would be a nice addition, specially as the criteria array could be built dynamically, and it doesn't require to handle the default arm.
With native match, an unmatched arm would raise an exception.
I am found of @browner12 suggestion to integrate it with the when method, but I'd wait for the maintainer's feedback on that.

don't know about that because the when method expects a callable as second parameter so i think it would be kind of a big change to integrate that and accept an array.
public function when($value = null, ?callable $callback = null, ?callable $default = null) {}

but as you said, ultimately the decision on what to do is up to the maintainers


Issue 26: Added detection of bracket and pipe blocks.

Closes #26
If no editor text is selected, r.runSelection will check around the line on which the cursor lies and send to the R console the chunk of code necessary to make a complete code line (by matching brackets and following pipes and other operators).
Some examples of code chunks it will send to the console:

Multi-lined bracketed expressions:

a = list(x = 1,
         y = 2,
         z = 3)

a[1
    ]

Lines joined by pipes and other operators:

library(magrittr) # For %>%
library(ggplot2)

1 + 1 %>%
    print()

ggplot(aes(speed, dist), data = cars) +
    geom_point()

Combinations thereof:

library(magrittr) # For %>%

list(x = 1,
        y = 2,
        z = 3) %>%
    print()

If the algorithm encounters unmatched brackets, it just sends the current line.
Behaviour differs from that of RStudio in some cases. Roughly, vscode-R will send the smallest valid block of code, whereas RStudio sends the largest () or [] expression within the smallest {}. Here is an example:
(                     # 1. RStudio and vscode-R send lines 1-9
    {                 # 2. RStudio and vscode-R send lines 2-8
        (             # 3. RStudio and vscode-R send lines 3-7
            (         # 4. RStudio sends lines 3-7; vscode-R sends lines 4-6
                1     # 5. RStudio sends lines 3-7; vscode-R sends line 5
            )         # 6. RStudio sends lines 3-7; vscode-R sends lines 4-6
        )             # 7. RStudio and vscode-R send lines 3-7
    }                 # 8. RStudio sends lines 1-9; vscode-R sends lines 2-8
)                     # 9. RStudio and vscode-R send lines 1-9

The algorithm would ideally ignore brackets in strings, but I haven't implemented that feature. If it proves to be a problem in practice then it could be dealt with in a separate issue/PR.

@andycraig , Thank you awesome Pull Request!
I think this change can be merged.
@Ladvien , how do you think this?

@ikuyadeu, it looks great! Much better than what I had.  Sadly, I’ve not had a chance to run it.  But if it works, I say merge it.
Thanks @andycraig

@Ladvien Thank you for your review!
I'll merge and check this. And, if it does not have some problems, I'll publish as the new version!

@andycraig OK, now little fixed for maintainability, and published as the v0.6.1!
Thank you for your good fix!

@Ikuyadeu Thank you for your readability/maintainability fixes, I like them and I learnt a couple of things from them.
@Ikuyadeu @Ladvien Thank you both very much!  I love this extension and I'm happy to be able to make a contribution.


Clarify selection of child elements

I know this has been discussed several times here in the issues, but i still have problems getting the point in selecting arbitrary child-elements from elements generated by page-object.
Example HTML:
I have a page and on that page there is a div element containing a dynamically build unordered list.

     'tree')

    def get_leaf(path)
        # how can i get childnodes based on the defined 'treeview' element and xpath?
        treeview_element.element(:xpath => "//li[@path='#{path}']")
        treeview_element.li(:xpath => "//li[@path='#{path}']")
        treeview_element.li_element(:xpath => "//li[@path='#{path}']")
    end
end

All three methods listed in the get_leaf method dont work. Either I get a deprecation warning from the page-object or a wrong number of arguments error.
What I basically want is, define an element in the class and use this element later as entry point for further locating its child elements. Im pretty sure that this must be possible. Could you provide some examples for achieving this?
Thanks in advance!

fabrice31 is right.  You need to call the *_element method.  This is by design.


connectivity_plus always showing ConnectivityResult.wifi on web, even when WiFI is switched off

System info
Issue occurs on: Web
Plugin name: connectivity_plus
Plugin version: 1.0.6
Steps to Reproduce
Running on Chrome browser, when connectivity state changes (I toggle Wifi), onConnectivityChanged() get called every time, but the enum value of ConnectivityResult always returns ConnectivityResult.wifi.
I tested the same in android, it works fine (shows ConnectivityResult.none while WiFI is turned off)

I agree with you. It doesn't matter if you are connected to wifi or not, it always returns ConnectivityResult.wifi

Same issue here.

What does the live output print?
https://googlechrome.github.io/samples/network-information/

I'm not sure why NetworkInformation.effectiveType is preferred over NetworkInformation.type, and why 4g is considered as... WiFi :eyes:
https://github.com/fluttercommunity/plus_plugins/blob/main/packages/connectivity_plus/connectivity_plus_web/lib/src/utils/connectivity_result.dart


chore: prune type imports for react-providers

Types

[x] 💄 Code Style Changes

Background or solution
Changelog

Codecov Report

Merging #693 (33156ad) into main (134a19c) will decrease coverage by 0.00%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main     #693      +/-   ##
==========================================
- Coverage   58.63%   58.63%   -0.01%
==========================================
  Files        1209     1209
  Lines       74737    74752      +15
  Branches    15505    15508       +3
==========================================
+ Hits        43824    43830       +6
- Misses      28176    28183       +7
- Partials     2737     2739       +2

Impacted Files
Coverage Δ

...es/file-tree-next/src/browser/file-tree.service.ts
61.90% <ø> (ø)

...xt/src/browser/services/file-tree-model.service.ts
53.83% <14.28%> (-0.60%)
:arrow_down:

packages/core-browser/src/common/common.command.ts
100.00% <100.00%> (ø)

...ages/file-service/src/node/file-service-watcher.ts
71.75% <0.00%> (+0.56%)
:arrow_up:

packages/core-common/src/node/port.ts
46.96% <0.00%> (+3.03%)
:arrow_up:

Continue to review full report at Codecov.

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


Issue 12912

https://github.com/zulip/zulip/issues/12912
Testing Plan:
I mocked a few messages with different kinds of links, and tested whether they did or did not have the has_link attribute as appropriate, both before and after edits.
GIFs or Screenshots:

Not 100% sure how I ended up with three old commits from master in my PR. I'd love some guidance on correcting this issue!

@dustinheestand I think that comes from using git pull, rather than git pull --rebase, which you basically never want to do in any project.  Our git clone instructions avoid this by adding a Git setting to change the default, but probably you're best served learning a bit more about how Git and GitHub work from our GitHub guide -- that should cover what you need to know.


[INVALID] uv-mask flipped wrt uv-sampling points

When computing the uv-mask with the function grid_uv_samples the resulting mask appears to be rotated (flipped) with respect to the uv sampling points scattered with the function plot_baselines.
The uv samples

The uv mask

I think this might be related to the fact that plt.imshow() sets the (0,0) coordinate at the top left instead of bottom left thus, inverting the direction of the y-axis.

Indeed, and it is fixed by putting origin='lower' in the imshow calls at lines 178 & 183... see the world's smallest PR


Feature Request: Peering session auto discovery

Hi there,
Are there any plans to implement some sort of auto discovery for existing peering sessions?
I wouldn't want to manually create 100, 200 or more sessions.
Cheers

The feature has been implemented in master (commit b6e6d34).
It has not been tested though, since I don't have anything to do the testing for now. It needs a router with a supported platform and IX to be imported from PeeringDB.
If anyone is interesting in testing this and reporting if it is working properly that would be quite nice.

Quick feedback, I'll add more if I have time:
https://github.com/respawner/peering-manager/commit/b6e6d34d5303f24224105f1c50c886537c398887#diff-89106cc0a88a1a94ffbe8ddabfc897fcR418
In get_bgp_sessions,
I had to add .items() to for ip, details in bgp_neighbors[vrf]['peers']:
(for ip, details in bgp_neighbors[vrf]['peers'].items():)
Otherwise it would fail silently.
2nd issue happen when it pulls from the router a peering session whose peer AS# is not in PeeringDB

Services internal to the IXP (Equinix route collector uses AS65517)
Peers that don't have a PeeringDB page

The error is the following:
Request URL: | http://localhost:8000/ix/equinix-chicago/import_from_router
IntegrityError
NOT NULL constraint failed: peering_peeringsession.autonomous_system_id
/home/xionox/.local/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py in execute, line 328

AutonomousSystem.create_from_peeringdb(...) returns Null
Which is used in:
values = {
     'autonomous_system': autonomous_system,
     'internet_exchange': self,
    'ip_address': str(bgp_session['ip_address']),
}
peering_session = PeeringSession(**values)
peering_session.save()

If I make sure the AS exists:
if autonomous_system:
    values = {
        'autonomous_system': autonomous_system,
        'internet_exchange': self,
        'ip_address': str(bgp_session['ip_address']),
    }
    peering_session = PeeringSession(**values)
    peering_session.save()
    number_of_peering_sessions += 1

At this point the AS present in PeeringDB and matching peering sessions get created but still show the error:
Exception Type: | TypeError
-- | --
success() missing 1 required positional argument: 'message'
/home/xionox/Documents/Projects/github/XioNoX/peering-manager/peering/views.py in process, line 247

Which I solved with:
messages.success(message) -> messages.success(request,message)
Next error then is:

Exception Type: | ValueError
-- | --
Cannot assign "<class 'peering.models.AutonomousSystem'>": "UserAction.content_type" must be a "ContentType" instance.
/home/xionox/.local/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py in __set__, line 216

Seems to be related to UserAction.objects.log_import


feat(ansible): Handle templated ssh_user

ansible-mitogen does not handle templated values in ssh_user .
Original context from !956 :

[..] this does fix the ssh_common_args, but I am running also into the issue that a templated ssh_user is not correctly handled.

Originally posted by @setpill in https://github.com/mitogen-hq/mitogen/issues/956#issuecomment-2225208105

Usecase: in our environment we have ansible roles that have tasks that need to be executed by different users. For legacy and security reasons we cannot assume these users to have fixed names, so we need to provide them in variable form.
Let's say for example that a role executes some tasks as build_user and some tasks as deploy_user. We would then have a task (block) in the form of:
- name: Build something
  vars:
    ansible_user: "{{ build_user }}"
    ansible_password: "{{ build_pass }}"
    ansible_sudo_pass: "{{ build_pass }}"
  block:
    - [..]

Ansible-mitogen is not currently a drop-in replacement for this scenario, as it will not template these variables and pass the literal string {{ build_user }} as the SSH user, which fails.

Ansible-mitogen is not currently a drop-in replacement for this scenario, as it will not template these variables and pass the literal string {{ build_user }} as the SSH user, which fails.

I'm investigating  2 Mitogen bugs that are probably affecting your playbook

Many of the ansible_* (connection) variables don't get templated (varies issues already filed)
For the few that are templated, anything in a play's vars: block is ignored.

Thanks for your great work! Mitogen really is a much faster engine for ansible, would be awesome to get it closer to that "drop-in replacement" ideal :)


NFT optimizer

NFT optimizer interface

Looks that tests are passing because we're using master version from z-quantum-core instead of dev.
CC: @alexjuda

I found that NFT would not find the minima of the cost functions used in the OptimizerTests base class, and I think the reason is that the NFT optimizer is assuming that the cost function has a particular functional form. So I added a new test class that checks against a function with this form.


Sending alerts to file

Is there an option to redirect alerts to a file using "command"?

Not directly, but you could do
alert: command
command: ["tee", "-a", "/path/to/file.txt"]
pipe_match_json: true

You could also use part of the match in the file path, such as
command: ["tee", "-a", "/alerts/%{username}.log"]

where username must be a field in the documents which match the alert.

thanks mate.
tried running in debug mode and redirecting output to a file with ' 2>&1 &', but yours does the job faster.

output comes out messy, so if you need to have it the way it's being sent to email try this:
cat  /path/to/file.txt | grep -v "INFO" | tr "," "\n" | sed 's/"@log_name":/\n\n"@log_name":/' | sed 's/"//g' > /path/to/new_file.txt


2nd headline "Parse Bearer token." should probably read "Validate Bearer token."

Sorry for the accidential premature submit.

Mr. M.K., sorry for the much delayed reply.
Thank you for pointing this out.
I have fixed it.


🎨 Updates pull alias to a more recent version of pulling submodules

On more recent version of git is better to use git submodule update --recursive --remote.

Why is this “better”?

https://stackoverflow.com/a/1032653


Build(deps-dev): Bump eslint from 8.31.0 to 8.32.0 (#4575)

Pull request opened by the merge tool on behalf of #4575

Merged in dac16a5de6b6304d4fcc21bbecb2baa39debadc2


LatencyInfo vector size 108 is too big

I see this sometimes with spyder --new-instance, after a while of using (unsure if happens on spyder, but don't recall ever seeing it). No idea what it is or what it does (or how to reproduce) - doesn't cause any trouble in my Spyder usage. Figured I'd report just in case.

Hi @OverLordGoldDragon thanks for the feedback! I'm unsure why this could be happening but in the main time @spyder-ide/core-developers do you guys have any idea why this could be happening?
@OverLordGoldDragon if you manage to find more info regarding this let us know :)

It looks like an error reported by one of the Qt web widgets we use (for instance in the Help pane). At least, that's what it looks like according to this
https://stackoverflow.com/questions/39104763/error-while-executing-python3-x-selenium-webdriver-script-renderwidgethostimpl


Couldn't run the Repo for Update

Hello, its a great Package and i wanted to improve it. But i wasn't able to run in for some reasons. There is some trouble using the webpack for this. Could you help me understand the issue?
ERROR in ./src/index.js Module parse failed: /Users/alimuqaddas/patient-portal/node_modules/picker-react-ali/src/index.js Unexpected token (21:8) You may need an appropriate loader to handle this file type. |     if(moment().isSame(this.props.day, 'day') ){ |       return( |
 |           {this.props.todayText || '- TODAY -'} |

Hello, @mrfambo are you trying to run dev environment. Can you write steps to reproduce the error?

@hurkanyakay I am updating about both my questions in one reply.
I had a parent component, which is holding ReactWeeklyDayPicker and another Time Picker component. Like this

Please Pick your feasible day
                 <ReactWeeklyDayPicker                      daysCount={7}                     startDay={this.state.dateStart}                     multipleDaySelect={false}                     selectDay={(date) => {                         console.log(date)                         this.setState({                             date                         })                     }}                     unavailables={{                         weekly: [0,6] //unavailable dates list for each week (0:Sunday, 1:Monday ...                     }}                     unselectable={true}                     mobilView={this.state.mobileView}                 />

Please Pick your feasible Time

                 <TimePicker                      onChange={(time, timeString)=>{                         this.setState({                             time: timeString                         })                     }}                      // use12Hours                      defaultOpenValue={moment('09:00', 'HH:mm')}                      format={'HH:mm'}                      size={'large'}                     minuteStep={15}                     disabledHours={() => [1, 2, 3,4,5,6,7,8,18,19,20,21,22,23,0]}                 />

Now if i select a day on ReactWeeklyDayPicker, it works fine. Now i go down to select the time. As i select the time, this.setState is being called and parent component re-renders. When it re-renders, the ReactWeeklyDayPicker is also re-rendering without keeping the previous state intact that i had selected that day.
While playing with it, i figured out the problem was in componentWillReceiveProps() method of ReactWeeklyDayPicker.
I wanted to modify it and give you a PR, but when i was trying to get the repository running on localhost so i can troubleshoot and make changes i was coming across the error as mentioned in Issue other issue.
So i took the whole component and made my own component in code, and used it to modify.
let flag = false     if( typeof(nextProps.selectedDays) !== 'undefined' ) {         if(nextProps.selectedDays !== this.state.selectedDays) {             convertedSelectedDays= selectedDays.map((day)=>{                 if(moment.isMoment(day)){                   return day;                 }else{                   return moment(day);                 }               });               flag = true         }     }
if(flag) {         this.setState({             selectedDays: convertedSelectedDays,             startDay: convertedStartDay,             daysCount: nextProps.daysCount || 7,             multipleDaySelect: nextProps!=undefined ? nextProps.multipleDaySelect : true,             format: nextProps.format!=undefined ? nextProps.format : null,             unavailables: nextProps.unavailables != undefined ? nextProps.unavailables : false,             mobilView: nextProps.mobilView != undefined ? nextProps.mobilView : false,             hiddens: nextProps.hiddens != undefined ? nextProps.hiddens : false,             beforeToday: nextProps.beforeToday != undefined ? nextProps.beforeToday : false,         })     }     else {         this.setState({             startDay: convertedStartDay,             daysCount: nextProps.daysCount || 7,             multipleDaySelect: nextProps!=undefined ? nextProps.multipleDaySelect : true,             format: nextProps.format!=undefined ? nextProps.format : null,             unavailables: nextProps.unavailables != undefined ? nextProps.unavailables : false,             mobilView: nextProps.mobilView != undefined ? nextProps.mobilView : false,             hiddens: nextProps.hiddens != undefined ? nextProps.hiddens : false,             beforeToday: nextProps.beforeToday != undefined ? nextProps.beforeToday : false,           })     }

Complete Fix is as below:
componentWillReceiveProps(nextProps){
    const selectedDays = []
    let convertedSelectedDays
    let flag = false
    if( typeof(nextProps.selectedDays) !== 'undefined' ) {
        if(nextProps.selectedDays !== this.state.selectedDays) {
            convertedSelectedDays= selectedDays.map((day)=>{
                if(moment.isMoment(day)){
                  return day;
                }else{
                  return moment(day);
                }
              });
              flag = true
        }
    }

    let convertedStartDay;
    if(nextProps.startDay){
      if(moment.isMoment(nextProps.startDay)){
        convertedStartDay = nextProps.startDay;
      }else{
        convertedStartDay = moment(nextProps.startDay);
      }
    }else{
      convertedStartDay = this.state.startDay;
    }
    if(flag) {
        this.setState({
            selectedDays: convertedSelectedDays,
            startDay: convertedStartDay,
            daysCount: nextProps.daysCount || 7,
            multipleDaySelect: nextProps!=undefined ? nextProps.multipleDaySelect : true,
            format: nextProps.format!=undefined ? nextProps.format : null,
            unavailables: nextProps.unavailables != undefined ? nextProps.unavailables : false,
            mobilView: nextProps.mobilView != undefined ? nextProps.mobilView : false,
            hiddens: nextProps.hiddens != undefined ? nextProps.hiddens : false,
            beforeToday: nextProps.beforeToday != undefined ? nextProps.beforeToday : false,
        })
    }
    else {
        this.setState({
            startDay: convertedStartDay,
            daysCount: nextProps.daysCount || 7,
            multipleDaySelect: nextProps!=undefined ? nextProps.multipleDaySelect : true,
            format: nextProps.format!=undefined ? nextProps.format : null,
            unavailables: nextProps.unavailables != undefined ? nextProps.unavailables : false,
            mobilView: nextProps.mobilView != undefined ? nextProps.mobilView : false,
            hiddens: nextProps.hiddens != undefined ? nextProps.hiddens : false,
            beforeToday: nextProps.beforeToday != undefined ? nextProps.beforeToday : false,
          })
    }

  }

Okey thank you I will check this prooblems asap, any PR is welcomed

BTW, I am planing a new version without this errors and Rollup supported, well documented and styled-component supported


add section in GHE docs about configuring multiple GHE integrations

There are some caveats to be aware of when configuring multiple GHE integrations on a single Buildkite organization, so we should make that known to people trying to do this.

FYI, I pushed a commit to fix the linting error in the heading.


CLI needs to be updated to conform with ga4gh/server PR #643

The CLI will need to be updated to conform to the new standards outlined in: https://github.com/ga4gh/server/pull/643

See PR #12.


Store timeseries sources in shared cache, but don't use it

Right now, for timeseries data, we store cache locally, but not in shared cache. If the timeseries we are consuming is not in github, we run the risk of it being changed or removed, and our timeseries will be missing their data completely.
Right now, we pass false for date to avoid storing it or fetching it from cache. We should find another way to indicate "hey, store this in cache, but don't use it."
Via @hyperknot

Closing.  In Li, we do store timeseries in the same folders as regular cache.


Migrate interface loop detection configuration to MongoDB

As highlighted in the original EP025:

Specification
It is desirable to support ignored loops configuration that can be changed dynamically via API. Since this feature is relatively small and wouldn't require much extra entries or states, then using topology switches' and interfaces' metadata storage would simplify the implementation and maintenance since currently adding support to a new storage with storehouse requires a significant effort development-wise. In the future, this can be migrated to another storage (collection) when an alternative is available. The following metadata would be used

Back then, MongoDB infrastructure hadn't been in place yet to we made this trade-off to ship this feature, but now the configuration part (ignored_loops) that is used can be migrated to MongoDB eventually with a new API endpoint. This would imply also adapting this e2e test case too https://github.com/amlight/kytos-end-to-end-tests/blob/master/tests/test_e2e_32_of_lldp.py#L78.
I'll tag this a future_release

Before prioritizing this in the future, it's worth reassessing the approach how NApps are using the settings and maybe provide a generic solutions providing a default settings storage too simplifying this and future similar implemenations that other NApps will need.


Duplicate in workspace

INFO
CommentAnchors v1.9.6  (also beta 1.10.0)
VSCODE v1.63.2
OS: Windows 10
Description
In the "Workspace Anchors" section I often see duplicates.
It's not a big problem, but creates a bit of confusion.

Very strange.

I have observed the same in Epic anchors. Suddenly, without a pattern I have noticed, duplicate entries for the same anchor are under Epics.

I am having this problem as well.  On version 1.10.1 and VS code version 1.73.1.
I don't know if this is the cause, but I noticed that there is a slight difference in the path of the double entries.  One starts with lowercase drive letter /c:/ and the other starts with an uppercase drive letter /C:/.

I noticed I was only seeing duplicates when a file with anchors was open in the open editors window.  Moving my open editors to a different docking position in the window seems to have fixed the issue.
I had it docked in the left sidebar.  With it docked in the bottom, there are no duplicates.  Very strange.

just discovered this extension and LOVE it so much.  wish I knew about it sooner.
I have this issue as well.  Hopefully these repro notes will help @danilort fix:
# settings.json:
  "commentAnchors.tags.anchors": {
    "ANCHOR": {
      "scope": "workspace"
    }
  }

the issue is then triggered by:

having the workspace anchors panel open
adding a // LINK somewhere in the code, and putting two spaces between // and LINK

Seems to only happen with a file with link to Anchor. If the same file has a link to a line number it doesn't duplicate the entries.
The duplicate entries will also start showing up if you just focus another tab and switch back to the tab that has the link to the anchor.
The actual link to anchor will only jump to the top of the file not the anchor line. Not sure if its related.

The issue seems to be that by calling the getAnchors in linkProvider.ts with a newly created fileUri its triggering an add to the cache since the keys are Uri objects @JordanDi123


225 Now nodes tom tom isochrone map

This will fix #225

[x] check the the parameter dependency

Also please improve the testflow to include corner cases e.g. no API key present

What do you mean by that?

@UrbanGISer can you please provide another icon. Unfortunately we are not allowed to use the original TomTom icon as described here: https://www.tomtom.com/legal/en_gb/guidelines-trademarks-copyrights/


Add ep7

👷 Deploy Preview for resonant-mousse-b60fda processing.

Name
Link

🔨 Latest commit
76fc1957970e63d2ef1b0c293efd8cfdfe84948c

🔍 Latest deploy log
https://app.netlify.com/sites/resonant-mousse-b60fda/deploys/657dae098779840008b95a6e


tasks.onDidStartTaskProcess gives the wrong processId if there is a "dependsOn" task

Issue Type: Bug

Add this code to a simple "Hello World" VS Code extension in the activate method (and add "*" as an activationEvent to make sure it activates):vscode.tasks.onDidStartTaskProcess(e => {
    vscode.window.showInformationMessage(`Task Name: "${e.execution.task.name}" Process ID: "${e.processId}"`);
});

Start debugging the extension
In the "Extension Development Host", add this tasks.json to your workspace{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "taskToDependOn",
            "type": "shell",
            "command": "sleep 3",
            "problemMatcher": []
        },
        {
            "label": "Run this task",
            "type": "shell",
            "command": "sleep 3",
            "problemMatcher": [],
            "dependsOn": "taskToDependOn"
        }
    ]
}

Do "Run Task" from the command palette and select "Run this task" as the task

Expected Result:
I will see two info messages, with different pid's.

Actual Result:
I see two info messages, with the same pid - I'm guessing it's the pid from "taskToDependOn":

Important Notes:

This consistently happens the first time I run the task for that session of VS Code. If I run the task again, sometimes it has the same problem and sometimes it works
This issue does not repro for me on v1.53 of VS Code. It must've been introduced in v1.54
This also repro-ed for me on Windows - I used Start-Sleep -Seconds 3 to get the task to work in PowerShell

VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:42:18.719Z)
OS version: Darwin x64 20.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.06GB free)

Process Argv
--crash-reporter-id e2c60431-fb89-41a2-b9ed-11e53cee83ac

Screen Reader
no

VM
0%

To help with your investigation, this was first reported to us on February 8th "with the most recent update to the Insiders version" (although we didn't realize at the time what was going on). Something changed between v1.53 and that date to cause this regression

@fiveisprime @chrisdias @alexr00 @Tyriar @meganrogge what are the chances this will make it out in a recovery build for VS Code? Matt implied he was trying to get this included with v1.54.2, but that obviously didn't happen. This was a regression in the v1.54 release that completely broke C# debugging for the Azure Functions extension, the same week we announced .NET 5 support in conjunction with the platform.
We shipped a workaround last week that seems to fix the issue on our end, but let's just say I'm not super confident in it. Basically, we check if the processId we got from onDidStartTaskProcess is running and use vscode.window.activeTerminal.processId if it isn't. In v1.53, the processId is running and we're good, but in v1.54 we usually fall back to activeTerminal.processId and I feel like that's not guaranteed to be the right id. Y'all are welcome to comment on if that workaround is good enough for now, but I'd still feel much better if VS Code just fixed the root cause regression ASAP.

@ejizba sorry about this regression, must have slipped through with the major refactors that happened to bring in persistent terminal processes. I'll investigate tomorrow morning.
The workaround seems like it should work, the only concern is that window.activeTerminal is the active terminal which may not be the one of the task? If you can use any signals to verify that it would be more solid, verifying the name of the terminal should be an easy way to do this I think.

This is fixed for me on the latest insiders, thanks!
Just to confirm - this missed the recovery releases and will be going out with 1.55?

@ejizba good to hear 🙂 yes it'll be going in 1.55, it sounds like the workaround is solid enough in the meantime. Again sorry about the hassle. When you remove the workaround for 1.55 you'll also want to bump the vscode engine version in package.json so people who haven't updated VS Code won't hit issues.

Verified that this issue is fixed, but now I get some extra console errors:
  ERR Could not find pty with id "5": Error: Could not find pty with id "5"
    at PtyService._throwIfNoPty (d:\repos\Microsoft\vscode\out\vs\platform\terminal\node\ptyService.js:180:23)
    at PtyService.shutdown (d:\repos\Microsoft\vscode\out\vs\platform\terminal\node\ptyService.js:101:25)
    at Object.call (d:\repos\Microsoft\vscode\out\vs\base\parts\ipc\common\ipc.js:813:39)
    at Server.onPromise (d:\repos\Microsoft\vscode\out\vs\base\parts\ipc\common\ipc.js:253:35)
    at Server.onRawMessage (d:\repos\Microsoft\vscode\out\vs\base\parts\ipc\common\ipc.js:226:33)
    at d:\repos\Microsoft\vscode\out\vs\base\parts\ipc\common\ipc.js:171:73
    at Emitter.fire (d:\repos\Microsoft\vscode\out\vs\base\common\event.js:479:38)
    at process.fn (d:\repos\Microsoft\vscode\out\vs\base\common\event.js:257:44)
    at process.emit (events.js:315:20)
    at emit (internal/child_process.js:876:12)
    at processTicksAndRejections (internal/process/task_queues.js:85:21)


Overhaul of box model to use more of the Clima infrastructure + data assimilaiton example

This PR now overhauls BoxModel to use the Clima infrastructure (and breaks the box model API in the process).
This is a simple data assimilation example. Although it's a fictitious case hopefully it shows how it could be used.
https://github.com/OceanBioME/OceanBioME.jl/assets/26657828/0f7949a3-3e62-4fd4-8a9b-1372c77c0f67
CC: https://github.com/orgs/OceanBioME/discussions/163

I'm not sure its worth making this a regular example but it doesn't take too long to run

Its also interesting to not how insensitive this model is/how made up the parameters can be as the "learned" values are quite different from the "truth" ones, but for this case replicate the data well. I guess for a real-life case this indicates you do need more varied data/scenarios.

Hmm this is strange, the docs build normally when I run them manually on kelp

@glwagner I've made quite a few changes so that BoxModel is now an AbstractModel and reuses all of the stuff in Oceananigans for simulations etc. as far as possible.
I guess it might be more appropriate for the box model to not be part of this package as its not really specific to the BGC stuff at all but we can move in the future e.g. when the simulation stuff gets moved out of Oceananigans.

I'm just testing the updates to the data assimilation example now but think it may be a bit expensive to be worth running for the docs.

Not sure why the docs are failing with the model implementation page being too large, when I build locally its only 31KB so something must be failing

Ah JLD2 is throwing a warning over and over: https://oceanbiome.github.io/OceanBioME.jl/previews/PR164/model_implementation/

Now thats fixed but there is a new completely random error which is strange.

OK, I think the main package tests was using Oceananigans v0.90.3 and the docs were using v0.90.6. That's why the "weird" error in the docs. Now I updated the Oceananigans version for the main package and we get the same "weird" error there!
At least there is consistency. Not sure yet what causes that...

Seems something related to interpolation...

I think I found the culprit; see 45177f0

@jagoosw see if any other syntax was changed, e.g. ,_interpolate, that needs updating.
Alternatively we can add an upper bound on Oceananigans up to 0.90.5 and deal with syntax changes later. But if you decide this add the bound both in the Project.toml + docs/Project.toml.

Oh yeah thank you! I'll update the interpolation syntax

I've sorted the interpolations issue now @navidcy

Also I think the warning is from the output writer trying to serialise the $\kappa$ function which it can't (https://github.com/CliMA/Oceananigans.jl/issues/2245)

good for fixing tests!
docs now fail at https://buildkite.com/oceanbiome/oceanbiome/builds/106#018d5c26-6676-4287-bdd7-0c89cf33c619/26-2397

Yay, it finally built and only took 15ish min longer to run. The example is here https://oceanbiome.github.io/OceanBioME.jl/previews/PR164/generated/data_assimilation/
Do we think this is worthwhile including?

Sure. Why not. We can always improve it later.

Great, I'll merge


develop it for android O!

SDK, gradle, etc versioning.

I will bump up the sdk versions and all and make a PR very soon.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/doomers/BluetoothConnectivity/issues/3#issuecomment-335079547,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALDLWBl0ak-_immGPWjO75y-8s25XGpbks5sqcYrgaJpZM4Px1Mz
.

#4


M3-613 Delete image

Purpose
As a user, I would like to be able to delete an image.

Coverage decreased (-0.03%) to 25.909% when pulling c420f47f544fb0dbc85ab1aaa4ae2f3e26682fcd on Jskobos:M3-613-delete-image into 499bbd5dd845708a61d53f840ba420d191bda559 on linode:develop.


Switched to PHP7 goodness

Note to self: also merge https://github.com/JeroenDeDauw/FileFetcher/pull/5/files before release


Improving Design in Calligra activity

The current Calligra Activity homepage is totally dominated by the user base color as seen below:

Suggestion: Using Box background on each letter to make the UI better looking.
Proposed change:

Additional Tasks:
Add Hover effect on each letter.

The use of buddy color is what's expected for Sugarizer activities.
It allow users to customize activities without coding. It's the case in most activities.
This behavior is by design.

The use of buddy color is what's expected for Sugarizer activities. It allow users to customize activities without coding. It's the case in most activities. This behavior is by design.

oh. Its just that I thought that it was too overwelming to see at first but if it is done to serve a purpose I will leave it as it is.
It does look nice even without it.
Thank you for informing me beforehand.
I will try to contribute in every other way possible.


Python 3.10 support

Currently, Python 3.10 is not supported. Is it on the roadmap?
For what I know, contracts library may be an issue because it hasn't been updated in years and now some warnings turn into errors.

Yep, it's definitely on the roadmap. I hope we will find time to look at this during Q4 2021.
We're open to PRs if you (or anyone reading this) would like to contribute to this tracker.


Can't compile freerdp 1.1.0 for RHEL6.5

When I issue this command in the terminal
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON
I get a message saying the following and cannot continue with the compilation of RPM
-- Configuring incomplete, errors occurred!
--------------------------------------------------Terminal--------------------------------------------------
[maletti@oc2372360552 FreeRDP]$ cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- FreeRDP GIT
-- Git Revision df79781
-- Finding recommended feature X11 for X11 (X11 client and server)
--     Disable feature X11 using "-DWITH_X11=OFF"
-- Skipping recommended feature Wayland for Wayland (Wayland client)
-- Skipping optional feature DirectFB for DirectFB (DirectFB client)
--     Enable feature DirectFB using "-DWITH_DIRECTFB=ON"
-- Finding required feature ZLIB for compression (data compression)
-- Finding required feature OpenSSL for cryptography (encryption, certificate validation, hashing functions)
-- Skipping optional feature OpenSLES for multimedia (OpenSLES audio / video)
--     Enable feature OpenSLES using "-DWITH_OPENSLES=ON"
-- Finding recommended feature ALSA for sound (audio input, audio output and multimedia redirection)
--     Disable feature ALSA using "-DWITH_ALSA=OFF"
-- Skipping optional feature Pulse for sound (audio input, audio output and multimedia redirection)
--     Enable feature Pulse using "-DWITH_PULSE=ON"
-- Skipping optional feature Cups for printing (printer device redirection)
--     Enable feature Cups using "-DWITH_CUPS=ON"
-- Skipping optional feature PCSC for smart card (smart card device redirection)
--     Enable feature PCSC using "-DWITH_PCSC=ON"
-- Skipping recommended feature FFmpeg for multimedia (multimedia redirection, audio and video playback)
-- Skipping optional feature GStreamer_0_10 for multimedia (multimedia redirection, audio and video playback, gstreamer 0.10 version)
--     Enable feature GStreamer_0_10 using "-DWITH_GSTREAMER_0_10=ON"
-- Skipping recommended feature GStreamer_1_0 for multimedia (multimedia redirection, audio and video playback)
-- Skipping optional feature JPEG for codec (use JPEG library)
--     Enable feature JPEG using "-DWITH_JPEG=ON"
-- Skipping optional feature OpenH264 for codec (use OpenH264 library)
--     Enable feature OpenH264 using "-DWITH_OPENH264=ON"
-- Skipping optional feature GSM for codec (GSM audio codec library)
--     Enable feature GSM using "-DWITH_GSM=ON"
-- Skipping optional feature IPP for performance (Intel Integrated Performance Primitives library)
--     Enable feature IPP using "-DWITH_IPP=ON"
-- FreeRDP GIT
-- Finding recommended feature XKBFile for X11 keyboard (X11 keyboard file extension)
--     Disable feature XKBFile using "-DWITH_XKBFILE=OFF"
-- Adding dynamic channel client server "audin": Audio Input Redirection Virtual Channel Extension
-- Adding dynamic channel client "disp": Display Update Virtual Channel Extension
-- Adding static channel client "rail": Remote Programs Virtual Channel Extension
-- Adding static channel client server "rdpsnd": Audio Output Virtual Channel Extension
-- Adding device channel client "drive": Drive Redirection Virtual Channel Extension
-- Adding static channel client server "remdesk": Remote Assistance Virtual Channel Extension
-- Adding static channel client server "cliprdr": Clipboard Virtual Channel Extension
-- Adding device channel client "parallel": Parallel Port Virtual Channel Extension
-- Adding dynamic channel client "tsmf": Video Redirection Virtual Channel Extension
-- Adding dynamic channel client "rdpei": Input Virtual Channel Extension
-- Adding static channel client server "drdynvc": Dynamic Virtual Channel Extension
-- Adding device channel client "smartcard": Smart Card Virtual Channel Extension
-- Adding device channel client "serial": Serial Port Virtual Channel Extension
-- Adding static channel client server "rdpdr": Device Redirection Virtual Channel Extension
-- Adding dynamic channel client "rdpgfx": Graphics Pipeline Extension
-- Adding static channel client server "encomsp": Multiparty Virtual Channel Extension
-- Adding dynamic channel client server "echo": Echo Virtual Channel Extension
-- FreeRDP GIT
-- Could NOT find DocBook XSL stylesheets (missing:  DOCBOOKXSL_DIR)
CMake Warning at client/X11/CMakeLists.txt:113 (message):
WITH_MANPAGES was set, but xsltproc was not found.  man-pages will not be
installed
-- Finding required feature XShm for X11 shared memory (X11 shared memory extension)
-- Finding recommended feature Xinerama for multi-monitor (X11 multi-monitor extension)
--     Disable feature Xinerama using "-DWITH_XINERAMA=OFF"
-- Finding recommended feature Xext for X11 extension (X11 core extensions)
--     Disable feature Xext using "-DWITH_XEXT=OFF"
-- Finding recommended feature Xcursor for cursor (X11 cursor extension)
--     Disable feature Xcursor using "-DWITH_XCURSOR=OFF"
-- Finding recommended feature Xv for video (X11 video extension)
--     Disable feature Xv using "-DWITH_XV=OFF"
-- Skipping recommended feature Xi for input (X11 input extension)
-- Finding recommended feature Xrender for rendering (X11 render extension)
--     Disable feature Xrender using "-DWITH_XRENDER=OFF"
-- Finding recommended feature Xfixes for X11 xfixes extension (Useful additions to the X11 core protocol)
--     Disable feature Xfixes using "-DWITH_XFIXES=OFF"
-- Configuring incomplete, errors occurred!
[maletti@oc2372360552 FreeRDP]$
I'm a rookie on Linux OS and I would really appreciate any help on this.
Thanks

@martinmaletti the problem you are hit is
 CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

Do you have a c++ compiler installed e.g. (g++).

Thanks for your answer bmiklautz, but I already found how to solve my issue.
Here is what I did.

Download the source code from here:
http://pkgs.fedoraproject.org/repo/pkgs/freerdp/freerdp-1.1.0-beta1.tar.gz/90bcc00031ad7c3000640eb000f38c6a/

Uncompress, open terminal and change the directory location to "freerdp-1.1.0-beta1.tar.gz".

Issue the following command: git clone git://github.com/FreeRDP/FreeRDP.git
If you are asked to download some file say YES.

Issue the following command:
sudo yum install gcc cmake openssl-devel libX11-devel libXext-devel libXinerama-devel libXcursor-devel
libXdamage-devel libXv-devel libxkbfile-devel alsa-lib-devel cups-devel ffmpeg-devel glib2-devel

Issue the following command:
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON

Issue the following command:
sudo make install

After launching FreeRDP for first time, ~/.freerdp will be created to store known hosts: ---------This step is only informative, you have to do nothing.
Example:
awake@envy:~/.freerdp$ ls
cacert  known_hosts

Issue the following command to delete the known_hosts store file.
rm ~/.freerdp/known_hosts

Finally, test connection to any Linux/Unix/Windows cliente/server.


Removed duplicate key in reshapedmsbuild.fs

Removed duplicate key that was crashing array.ToDictionary.

Hi @ncave, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Ooo thank you for this, the fix looks great.
Kevin


Increased loading time (white window)

System Details

OS: Windows 11 Pro
Thorium Version 124.0.6367.218

Problem
Thorium takes about 5 seconds to open every single time. While loading, it appears as a blank white window, with no controls or anything (however, controls do work, meaning i could click where the X usually is and it would close the window)
Screenshots

Additional Notes
I have been using Thorium on my personal computer for about 3 months now, and it's been of great service and lightning fast.
I have also been using it on my gf's PC, where it also worked perfectly fine, but when I had to move out, I have wiped her computer clean of all my belongings.
However, I moved back in recently, installed Thorium, and noticed that the time it takes to open the browser is about 3-5 seconds. I have tried AVX2, AVX, SSE3 builds of the 124.0.6367.218, same issue everywhere. Tried downgrading one/two builds down (installed the version that have been previously in use on said computer), still the same thing. I have tried using it both with and without user data, and its still the same thing. What gives?
The computer also has vanilla Chrome as well as YandexBrowser (russian chromium-based browser) on it, and those run just fine.
I also apologize in advance if I have chosen an incorrect Issue type.

Solution???
I got this problem after disabling win def.

I am also experiencing this.


Zqs 1134/backend api rework

Description
Include description of feature this PR introduces or a bug that it fixes. Include the following information:

Context: why is it needed? In case of bug, what was the cause for the bug?
Concise description of the implemented solution.
If any dependencies are added, list them and justify why they are needed.

Please verify that you have completed the following steps

[x] I have self-reviewed my code.
[x] I have included test cases validating introduced feature/fix.
[ ] I have updated documentation.

Codecov Report
Base: 96.93% // Head: 96.47% // Decreases project coverage by -0.45% :warning:

Coverage data is based on head (d6157e2) compared to base (bec3379).
Patch coverage: 95.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
- Coverage   96.93%   96.47%   -0.46%
==========================================
  Files           7        8       +1
  Lines         588      426     -162
==========================================
- Hits          570      411     -159
+ Misses         18       15       -3

Impacted Files
Coverage Δ

...questra/integrations/qiskit/runner/_ibmq_runner.py
81.48% <81.48%> (ø)

src/orquestra/integrations/qiskit/noise/basic.py
92.53% <100.00%> (-0.11%)
:arrow_down:

...estra/integrations/qiskit/runner/_qiskit_runner.py
100.00% <100.00%> (ø)

...qiskit/simulator/_qiskit_wavefunction_simulator.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Words Without Number or WWN Updates and fixes for character sheet

Updated Json, fixed some typos, added some options for weapons, updated preview.

Submission Checklist
Required

[ x] The pull request title clearly contains the name of the sheet I am editing.
[x ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[ x] The pull request makes changes to files in only one sub-folder.
[x ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


More routes

Hi!
I installed the application on my server, thank you for that by the way !
I would now like to increase the number of routes to more than 4 systems but I can not find where to change this setting.
Anyone know it how?
Thank a lot !

This is now configurable. See #386
(will come with the next release)


Create systematic.txt

@ayerenmartinez I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host systematic.academy not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Review links: basic functionality

This PR adds new functionality to the GraphQL server: project "review links". Detailed description of the feature can be found in the "Review links user story" Google Doc.

One more method of authentication was added to the auth module. It allows not logged in users (reviewers) to access private projects and their datasets using "review links"
ContextUser now is always defined and has id == undefined for unauthenticated users
Project and DatasetProject were extended to store information about project review status. A new database migration was added
New mutations, fields and an enum were added to project.graphql
Number of safety checks were added to prevent deletion or modification of projects and their datasets that have been shared using "review links"
Basic tests to cover new functionality
In a number of modules the code has been refactored and cleaned up

This PR should resolve #445

@LachlanStuart thanks for the feedback! I'll address the issues in this PR as they are quite simple


repo.yaml is missing in cloudpak4data*.tgz archives (version 3.0.1-1)

According to the IBM Cloud Pak for Data 3.0.1 documentation, all cloudpak4data*.tgz files should contain a file named repo.yaml:
A bin folder is created in the current directory with the cpd command binaries and a repo.yaml.

However, in contrast to the initial release (3.0.1), the cloudpak4data*.tgz archives of the latest release (3.0.1-1) do not contain this YAML file anymore.

I have seen the same with another client.

Same here. @guptadiv

@jensmueller-com @dianadujing Added the repo.yamls to the tar archives


Unable to launch the sim in Docker from run.sh

I get the following rosout ERRORs:
[ERROR] [1632774422.100197005, 26.992000000] : (ros.Astrobee) graph_localizer_intializer.cc:47: SetBiases: Failed to create imu bias output file.
[ERROR] [1632774449.542471427, 54.392000000] : (ros.nodelet) Failed to load nodelet [/astrobee_astrobee_bridge] of type [dds_ros_bridge/AstrobeeAstrobeeBridge] even after refreshing the cache: Could not find library corresponding to plugin dds_ros_bridge/AstrobeeAstrobeeBridge. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[ERROR] [1632774449.542554093, 54.392000000] : (ros.nodelet) The error before refreshing the cache was: Could not find library corresponding to plugin dds_ros_bridge/AstrobeeAstrobeeBridge. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[FATAL] [1632774449.542753551, 54.392000000] : (ros.Astrobee./sys_monitor) Unable to load nodelet astrobee_astrobee_bridge in mlp_multibridge manager.
[ERROR] [1632774449.542811885, 54.392000000] : (ros.Astrobee) Fault with id 51 occurred. Fault error message: Never received heartbeat from and unable to load astrobee_astrobee_bridge [ERROR] [1632774449.594596321, 54.440000000] : (ros.nodelet) Failed to load nodelet [/dds_ros_bridge] of type [dds_ros_bridge/DdsRosBridge] even after refreshing the cache: Could not find library corresponding to plugin dds_ros_bridge/DdsRosBridge. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[ERROR] [1632774449.594674863, 54.440000000] : (ros.nodelet) The error before refreshing the cache was: Could not find library corresponding to plugin dds_ros_bridge/DdsRosBridge. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[FATAL] [1632774449.594824446, 54.440000000] : (ros.Astrobee./sys_monitor) Unable to load nodelet dds_ros_bridge in mlp_communications manager.
[ERROR] [1632774449.594897154, 54.440000000] : (ros.Astrobee) Fault with id 33 occurred. Fault error message: Never received heartbeat from and unable to load dds_ros_bridge

Sorry for the delay, it seems that the major problem is:
graph_localizer_intializer.cc:47: SetBiases: Failed to create imu bias output file
This file is created at runtime when the simulation starts, some people have problems because of file permissions in docker. A solution is to add this file before running the simulation. We're trying to get some more permanent solution for this problem soon, but for now you can append to the end of the dockerfile (scripts/docker/astrobee.Dockerfile):
RUN echo "-9.82371e-13,-1.13071e-12,-1.39643e-12 \n-1.80458e-08,-2.20222e-11,-9.01996e-13" > /src/astrobee/astrobee/resources/imu_bias.config

TODO: @rsoussan Can you check if we can add this file to the repo, or should we add the command to the dockerfile?

@marinagmoreira that extra line does create the imu_bias.config file as root, but when starting the container as astrobee the same errors pop up. I fixed this by also appending  && chmod a+rw /src/astrobee/astrobee/resources/imu_bias.config  after your command to create the file.

Marina will add imu_bias config to repo or change docker permissions.

This should be fixed now with the latest merged PR. I tested this with my personal native ubuntu 20 computer.


The URL parameter with Chinese characters comes to the upstream proxy like this "????"

Broken url parameter comes to upstream proxy when use UpStreamHttpProxy and Chinese characters in url params, for example any url with this params:
&systemCode=附件系统
or
&systemCode=%E9%99%84%E4%BB%B6%E7%B3%BB%E7%BB%9F
On the upstream proxy got &systemCode=????

BeforeRequest by default, hasn't code.
Without UpStreamHttpProxy works well done.
Titanium version 3.1.1450

Do you change the url (or the query string ) in TWP?
I tried to repducuce the issue, but can't ... however I did not change anything in TWP
chrome => TWP => Fiddler => server works:

So please specify what did you do in your application.

Do you change the url (or the query string ) in TWP?
I changed code url = Request.RequestUri.ToString() to url = Request.RequestUriString;
Otherwise, this is what happens:
In original code Titanium v3.2 in file HttpWebClient.cs used this method (condition when useUpstreamProxy = true)
url = Request.RequestUri.ToString();
So this method returned not urlencoded value http://localhost/test.php?systemCode=附件系统
Next step in method
headerBuilder.WriteRequestLine(Request.Method, url, Request.HttpVersion);

As a result, due to the fact that Request.RequestUri.ToString() returns an unencoded value, when encoding, the result is encoding.GetBytes(str) = "????"


Add hover values

https://github.com/AugurProject/augur/issues/1307
https://github.com/AugurProject/augur/issues/1308

This pull request fixes 1 alert when merging 85b82e3bac6d8f98db6b92eeb4bf9235a4e68f37 into a038c20e6d98540127e570e054f004a2bb33e101 - view on LGTM.com
fixed alerts:

1 for Unused variable, import, function or class

Comment posted by LGTM.com

only need the hover on values less than 0.0000

Also keep the cursor pointer, not the text cursor.

This pull request fixes 1 alert when merging f1540205e6233ea1fdf03267f5edd8075cb033a5 into 82c499b0536db10e75f9bbb0d6f2b94d0b490826 - view on LGTM.com
fixed alerts:

1 for Unused variable, import, function or class

Comment posted by LGTM.com


Framer studio, NPM module example

Following along the NPM example http://framerjs.com/docs/#modules-npm-example, I am getting undefined is not a function while trying _.map [1,2,3], (num) -> num * 3
This is working though, prints » [object Object], so I assume the module is loaded properly?
_ = require "underscore"

print _

Realized that underscore is already included in Framer which was throwing me off. Let's try React?
npm install react
modues/react.coffee
exports.react = require('react')
framer file
React = require("react") console.log React
Gives me this interesting recursion...

Both good points. I'll make this better.
I think what's happening in the second is that the module imports itself :-) maybe I should note that and recommend to put all your npm modules in an npm.coffee.

ah, now I see. This is working well then:
npmModules.coffee
exports.React = require('react')

Framer
npm = require('npmModules')

HelloWorld = npm.React.createClass
	render: ->
		style =
			color: "#333"
			backgroundColor: "#F00"

		npm.React.DOM.div {style: style}, "Hello World"

element = npm.React.createElement(HelloWorld)
npm.React.render(element, document.body)

Now, if I could figure out jsx transforms...

:-) actually I'm going to leave this open as a todo for tomorrow.


Added CosmosDiagnostics to query.

Packages impacted by this PR
@azure/cosmos
Issues associated with this PR
Describe the problem that is addressed by this PR
This PR adds Diagnostics to query apis.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
No, the PR is a bit large, I will raise a separate PR containing tests for diagnostics feature.
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-cosmos


[BUG] Invalid type  ndarray for complex, non-contiguous np.array input to mx.array

Describe the bug
Cannot initialize mx.array from a complex, non-contiguous np.array, and the error message is confusing.
To Reproduce
import numpy as np
import mlx.core as mx

contiguous_array = np.random.rand(10, 10).astype(np.complex64)

# Make the array non-contiguous by transposing it
non_contiguous_array = contiguous_array.T

# Ensure the array is non-contiguous
assert not non_contiguous_array.flags["C_CONTIGUOUS"]

# Attempt to move the non-contiguous array to the GPU
gpu_array = mx.array(non_contiguous_array)
# Perform a simple operation just to check
result = mx.sum(gpu_array)

Expected behavior
Expected to run without errors.
Actual error:
Traceback (most recent call last):
  File ".../mlx_complex.py", line 14, in <module>
    gpu_array = mx.array(non_contiguous_array)
ValueError: Invalid type  ndarray received in array initialization.

Note: workarounds are:

forcing the array to be contiguous with np.ascontiguousarray, which works, but took me a while to figure out that this is a requirement
use real-valued array (okay in this toy example, but I am interested in using this for complex data)

Desktop (please complete the following information):

OS Version: Sonoma 14.6.1 (23G93)
Version: 0.16.3

❯ pip list | grep mlx
mlx                                               0.16.3
❯ pip list | grep numpy
numpy                                             1.26.4

Additional context
Add any other context about the problem here.

This looks like a Nanobind issue. FIled here https://github.com/wjakob/nanobind/issues/709, let's see if it is something they can fix.

This is fixed in nanobind on the main branch. Since there is a work-around using ascontiguousarray I will wait until the next Nanobind release, then we can bump MLXs nanobind dependency and close this. The Nanobind release cycle is about 3 months so it could be a couple months before this is closed.
If it's more urgent we could always discuss versioning our own Nanobind on PyPi.. but I don't think it's merited just for this.

Sounds good, thanks!

Thanks!


data.world Quick Start

This PR adds a quick start for data.world, titled 'Create Eureka Moments with data.world and Snowflake'

Closing to rebase the branch


fix: propagation of state across deep child contexts

This PR addresses several key issues and improvements in the propagation and isolation of state across contexts, ensuring correct behavior with shared and isolated data. Additionally, it refines the handling of native classes, improves event firing consistency, and strengthens the test cases.
TL;DR;

Fix propagation of state across deep child contexts
Disallow proxying Maps, Sets, and other native classes
Add more robust isolation mechanism for isolated state and shared state
Ensure only one event is fired per context per change (there was a bug that would cause all context dispatches to flow up to the parent context, leading to a single change causing  multiple events to fire on the parent context)
Improve tests, add new test cases, etc...
Ensure shared state can be properly modified and deleted (it better matches expectations, but can cause issues so I'd love your opinions on this, unintentionally fixes #50)

High-Level Changes:

Fix state propagation across deep child contexts: Ensures proper propagation and isolation of state across multiple levels of contexts.
Disallow proxying of Map and Set objects: Avoids potential issues by directly handling native collections without unnecessary proxy interference.
Refine isolation mechanism for state: Improves the system for isolating properties within child contexts, preventing unintended changes to parent or sibling contexts.
Ensure only one event is fired per context change: Fixes a bug that caused multiple event dispatches for a single change, particularly when state bubbled up to parent contexts.
Enhance and add tests: Expands test coverage to include various edge cases and improves the accuracy of existing tests.

Behavioral Changes:

Bidirectional data flow: Shared properties are now accurately propagated between parent and child contexts, but isolated properties are restricted to the context in which they were defined.
Improved event dispatch: Only one event is now fired per context per change, ensuring consistency and reducing unintended side effects.
More predictable state management: Isolated and shared data now behave as expected across deep context hierarchies, preventing cross-context pollution.

Why These Changes Are Necessary:
Without these changes, context propagation across deep hierarchies could fail, leading to inconsistent data between parent and child contexts. For example, modifying shared data in a child context could fail to propagate back to the parent, causing bugs in applications that rely on context sharing. Additionally, the old implementation could trigger multiple events per change, leading to performance issues and unintended behaviors.
Examples of failing use cases before this fix:

Scenario 1: Child context inherits shared data but fails to update it in the parent context.
const parent = new Context({ sharedData: "initial" });
const child = parent.with({});
child.target.sharedData = "updated";
// Before: parent.target.sharedData remains "initial"
// After: parent.target.sharedData is now "updated"

Or
const parent = new Context({ sharedData: "initial" });
const child = parent.with({});
delete child.target.sharedData;
// Before: parent.target.sharedData remains "initial"
// After: parent.target.sharedData is still "initial"

Scenario 2: Multiple event dispatches for a single change.
const context = new Context({ data: "initial" });
context.addEventListener("change", (event) => console.log(event.detail));
context.target.data = "updated";
// Before: Multiple "change" events could fire
// After: Only one "change" event fires

Logic and Details of Changes:

State Propagation and Isolation: The state propagation mechanism has been improved to distinguish between isolated and shared properties. Properties added or modified in child contexts are isolated by default, preventing changes from propagating to parent contexts unless explicitly shared.

Example:const parent = new Context({ sharedProp: "value" });
const child = parent.with({ isolatedProp: "child-only" });

Event Dispatch Fix: The event system now ensures only a single event is fired per change, preventing duplicate notifications when state changes bubble up through the context hierarchy.

Example:context.target.prop = "new value"; // Only one "change" event is dispatched

Proxy Handling for Map, Set, etc.: Direct handling of native collections such as Map and Set has been introduced to avoid proxy-related issues. This ensures that operations on these objects behave as expected without unintended side effects.

Example:const context = new Context({ mySet: new Set() });
context.target.mySet.add("value"); // No proxy interference

Test Improvements: The test suite has been expanded to cover edge cases related to deep context hierarchies, shared and isolated state, event dispatching, and native class handling. New tests verify the correct propagation of state and ensure that events are dispatched only once per change.

Let me know if you need further details or adjustments!

cc @lowlighter

Thanks a lot for your contribution !


Skype Desktop API is dead. No more work this adaptor.

Skype Desktop API is dead, and developer page is gone.
https://developer.skype.com/
So, hubot can't work anymore on Skype.
but, if your bot joined room until july 20th(this date is  inference), bot can work.

Just as FYI: I try to maintain project that solves this via Skype's web interface:
https://github.com/sdimkov/hubot-skype-web

:+1:


Become More Slower when enable the tweak

so i found these mod for sake playing this game in my low end laptop
my spec :
AMD A8-7410 (4 cpu)
AMD radeon R5
RAM 8gb
Windows 10
but instead it just become slower(in menu i got 10 or lower fps and outdoor i almost got freeze ).
when i set it to false,it become normal.
I look the Log but it seems pretty normal
[Message: Preloader] BepInEx 6.0.0-be.688 - EiyudenChronicle [Message: Preloader] Built from commit 49015217f3becf052d33fa4658ac19229f5daa3a [Info   :   BepInEx] System platform: Windows 10 64-bit [Info   :   BepInEx] Process bitness: 64-bit (x64) [Info   :   BepInEx] Running under Unity 2021.3.32f1 [Info   :   BepInEx] Runtime version: 6.0.7 [Info   :   BepInEx] Runtime information: .NET 6.0.7 [Info   : Preloader] 0 patcher plugins loaded [Info   : Preloader] 0 assemblies discovered [Message:AssemblyPatcher] Executing 0 patch(es) [Message:   BepInEx] Chainloader initialized [Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute! [Info   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain [Info   :   BepInEx] 1 plugin to load [Info   :   BepInEx] Loading [HundredHeroesFix 0.9.0] [Info   :HundredHeroesFix] Plugin HundredHeroesFix is loaded! [Info   :HundredHeroesFix] Disabled mouse cursor visibility. [Message:   BepInEx] Chainloader startup complete [Info   :HundredHeroesFix] Scaled fade. [Info   :HundredHeroesFix] Applied custom resolution of 1366x768 : Fullscreen = True [Info   :HundredHeroesFix] Applied custom resolution of 1366x768 : Fullscreen = True [Info   :HundredHeroesFix] Skipping intro logos. [Info   :HundredHeroesFix] Skipping intro logos. [Info   :HundredHeroesFix] Skipped opening movie. [Info   :HundredHeroesFix] Fixed broken screen SaveLoadCanvas(Clone). [Info   :HundredHeroesFix] Adjusted the size of ReSaveLoadCanvas->filter [Info   :HundredHeroesFix] Adjusted the size of dialog->Filter [Info   :HundredHeroesFix] Changed intestity of Post-processing Volume's vignette to 0,3998048 [Info   :HundredHeroesFix] Changed intestity of Sky and Fog Volume's vignette to 0,3998048 [Info   :HundredHeroesFix] Changed background colour of Main Camera. [Info   :HundredHeroesFix] Changed background colour of Main Camera. [Info   :HundredHeroesFix] Fixed broken screen Canvas. [Info   :HundredHeroesFix] Adjusted the size of background blur [Info   :HundredHeroesFix] Adjusted the size of SystemCanvas(Clone)->filter [Info   :HundredHeroesFix] Adjusted the size of dialogSorting_systemMenu Variant->Filter [Info   :HundredHeroesFix] Adjusted the size of OptionCanvas Variant->filter [Info   :HundredHeroesFix] Adjusted the size of OptionCanvas->filter [Info   :HundredHeroesFix] Skipping intro logos. [Info   :HundredHeroesFix] Skipping intro logos. [Info   :HundredHeroesFix] Adjusted the size of OptionCanvas->filter [Info   :HundredHeroesFix] Applied custom resolution of 1366x768 : Fullscreen = True [Info   :HundredHeroesFix] Applied custom resolution of 1366x768 : Fullscreen = True [Info   :HundredHeroesFix] Applied custom resolution of 1366x768 : Fullscreen = True [Info   :HundredHeroesFix] Applied custom resolution of 1366x768 : Fullscreen = True
using latest version one.

This mod increases the graphics settings, so if you were already having performance issues or even on the edge of having them, it is expected that it will just require more graphical power. It is possible to lower them in the config file though, so if you only wanted something specific like custom resolution, you should be able to do that and get the original performance you had.

i try lower all setting of it but it didn't work,try to set res to 800p,still slow (maybe it just only affect a display such ui not rendering one)

Renderscale is what is doing it. And it is because they are rendering big areas. that's why they had the scale lower. Problem is, even when you overclock, it's the exact same fps. So adding anisotropic filtering with negative lod bias clamp will help with the shimmering at lower renderscales so one would have a clean picture without high resolution

Your specs are actually below the minimum specs to even run the game. Your CPU in particular (the A8-7410) scores 52pts in Cinebench R15 and the min spec calls for an i5-4670K which nets 550pts. Once you run BepInEx on top of this game, it's no wonder that your performance drops. There will be added CPU overhead in just running BepInEx and your CPU is already at its limit just trying to run the game.
I'm afraid there's not a lot you can do here. Unity in particular tends to be single-threaded which is an area where your CPU performs even worse.

ah forget it,i just found out the problem,in render scale use dot "." instead of comma "," never though the comment in setting lend to stoopid input.since wrong input will change value to 4 (which mean 4x render resolution).
i got "playable" fps because of this solve.


Unable to farm drops for Pokemon TCG Live

14:46:36: Fatal error encountered:
14:46:36:
14:46:36: Traceback (most recent call last):
14:46:36:   File "main.py", line 158, in main
14:46:36:   File "twitch.py", line 764, in run
14:46:36:   File "twitch.py", line 913, in _run
14:46:36:   File "twitch.py", line 1691, in get_live_streams
14:46:36:   File "twitch.py", line 1548, in gql_request
14:46:36: exceptions.MinerException: GQL error: [{'message': 'service error', 'path': ['game']}]
14:46:36:
14:46:36: Exiting...
14:46:36:
14:46:36: Application Terminated.
14:46:36: Close the window to exit the application.

I think this may be because the game is called 'Pokémon TCG Live'
The letter 'é' might be causing the issue.
Works without that game added to my list.

This is a duplicate of an already closed issue: #347. I think you aren't using the latest version of the miner. Please provide the version of the miner you're using, you can find it in the title bar of the application window. It should be either v15 or v16, with some additional letters and numbers too it. A picture/screenshot will do as well.

Closing because of no response. I'm assuming just using the latest version has solved the problem.