PowerRun Calculated value fails to copy with message "Copy failed, Please try later"

PowerRun calculator suddenly started returning the error.
Version : V0.19.2
Steps to replicate :

Enter some string to Calculate: 10939+49883/8373
Click enter to copy the result shown

@shirkerohit do you have anything else that may inhibit an app copying to the clipboard?  Any group policy?

No, Nothing. facing this since I have updated to latest version.

Just wanted to add that I'm also running into this issue a lot on v0.20.  The strange thing is, in my case, the copy actually succeeds (I can paste the correct copied value into other applications) but I'm still getting the error "Copy failed, please try later" even though the copy succeeded. I'm also using it to copy the values of calculations.

We use a standard call to clipboard.  That app could be doing something odd.
@shirkerohit does this happen if PT is the only thing running?  do you notice something like @syneryder did with a certain app open it causes the quirk?

No I am not sure if I had any specific app open.
Since I have updated to v 0.20.1, I have not faced this issue and hence closing this. Thanks for your time!

PhraseExpress by Bartels Media also seems to be a conflict. Latest beta released just recently could potentially have fixed this.

I just installed v0.58 with the suggested bugfix (thank you very much for looking at this!), but unfortunately it hasn't fixed it for me.
The weird thing is, the error message in my case is incorrect - the copy actually succeeds. Is it possible this is an Exception that can be ignored? The error message doesn't state what the Exception is. If the error message was commented out (ie the MessageBox call on line 54 of ResultHelper.cs), I wouldn't have a problem at all. However, the bug still only occurs for me when HTMLPad 2022 by Blumentals is running, so I guess that app is the true problem.
I found this MS Forum post which describes an identical problem with nearly identical code to what is in ResultHelper.cs:
https://social.microsoft.com/Forums/en-US/d2a67962-ca82-43f2-8476-213ccbdbdd92/clipboardsettext-exception?forum=Offtopic
And this StackOverflow post about How To Handle A Blocked Clipboard also appears to be directly relevant:
https://stackoverflow.com/questions/930219/how-to-handle-a-blocked-clipboard-and-other-oddities
The other bug for me is that the error message dialog sometimes "locks up" PowerRun, because the message dialog doesn't appear front-most. An icon for the error dialog window appears on the taskbar, but clicking on it reveals PowerRun instead of the error dialog. In those cases, there's no way to get to the MessageBox error dialog to click the OK button to dismiss it. (In Win32 C this often happens when passing NULL as the parent HWND for the message dialog, but I'm not a C# developer, so I'm not sure if that's relevant here.)
To reproduce:

Launch conflicting app (ie HTMLPad 2022, don't need to do anything beyond launching, can run in background)
Type keyboard shortcut to launch PowerRun
Type in a mathematical expression, eg 10 + 20
Press enter to copy the result to the clipboard
"Copy failed, please try later" Error dialog message now appears

Still present in 0.62. Since this feature is based on Wox, and Wox had the same bug, I'm hoping someone from Microsoft can figure out the root cause and fix it.
https://github.com/Wox-launcher/Wox/issues/2469

Very annoying bug.
If trying to copy certain result from the new "History Results" addon, and if it fails, there's no such dialog popping up and it hangs the "PowerToys.PowerLauncher.exe".

Very annoying bug. If trying to copy certain result from the new "History Results" addon, and if it fails, there's no such dialog popping up and it hangs the "PowerToys.PowerLauncher.exe".

same issue when trying to convert units especially try this line:(tried it on more than one pc):
10 sec to ms
press enter to copy
receive the error: copy failed

Same issue here.

Facing the same issue with the latest update. Worked fine previously.

The good news is you can press Enter again and it closes the window, since the OK button is selected.  However, the window does take a second to appear, so it's not a perfect workaround. But yeah, it's still happening for me as of v0.85.1.


python3Packages.django-types: init at 0.17.0

Description of changes
Add new package django-types
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 240874 run on x86_64-linux 1

4 packages built:

python310Packages.django-types
python310Packages.django-types.dist
python311Packages.django-types
python311Packages.django-types.dist


RazorPages ViewEngine with customizable file extensions.

The RazorPages view engine (RazorViewEngine) only support cshtml.
Can the hard coded instances of "cshtml" be removed and replace with a property or something to be able to make a custom RazorViewEngine that supports to any file/page/view extension?
For example in files:

Microsoft.AspNetCore.Mvc.Razor.Internal.xxxMicrosoft.AspNetCore.Mvc.Razor.Internal.FileProviderRazorProject (RazorFileExtension)
Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionDescriptorChangeProvider (_searchPattern)
Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionInvokerProvider (ViewStartFileName)
Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection (EnsureValidPageName)
Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageSelectorModel (IndexFileName)
Microsoft.AspNetCore.Mvc.RazorPages.Internal.RazorPagesRazorViewEngineOptionsSetup (Configure uses RazorViewEngine.ViewExtension)
Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine (ViewExtension & ViewStartFileName)
Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewEngineOptionsSetup (Configure)

See also: https://github.com/aspnet/Razor/issues/2125
@tb-mtg can you provide info on why you want to change this?

I'm trying to implement a RazorViewEngine that supports VBHTML & RazorPages as there has been no support for this feature after it was not included in ASP.Net Core Web Applications.

Hi @tb-mtg. Unfortunately we have no any plans to support any other file extensions but cshtml. That said, we won't be able to provide a mechanism to configure/change the extension.


Update DM design proposal with changes

Remove reference to datamovertype/class. Keep design & implementation in sync
/assign

Design has been updated https://github.com/openshift/oadp-operator/pull/774
/close


Tandem repeats

Hello,
I have created a bed file for tandem repeats using Tandem Repeat Finder. I was wondering if there is a maximum size for the bed file used for PBSV discover?
Thanks

Hello,
I was able to run it with the bed file I had without any problems.
Thanks!


Add 'branch-from-tag' action

Signed-off-by: Wade Barnes<EMAIL_ADDRESS>

This new action was tested here; https://github.com/WadeBarnes/indy-node/runs/6429835418?check_suite_focus=true


feat: SassPlugin supports both, node-sass and sass (with fibers optional)

dart sass (https://github.com/sass/dart-sass) is now stable and has a javascript version published that can be installed via npm install sass. Dart sass it the official implementation of sass and new features will be there first. The api is the same, so you can drop in either of both.
It has an optional dependency fibers that increases performance.
node-sass is stil faster. But as your fuse-box caching makes transpiling a rare occurance anyway, it would be nice if the SassPlugin could use both, node-sass and sass, depending on what the user installed.
@nchanged

Brilliant! Could you change the destination to branch v4

rebased to v4 and added mention in sass docs

@sod could you rebase again please? So many commits there.

done


How to Control more than one LED Stripe over HyperSPI?

Hello,
at first thank you for this awsome project and the solutions you provided so far.
I got a little project, where i want to use more than one LED Stripe with HyperSPI.
Is it possible to control more than one Strip with a single ESP 8266?
Or do i have to use an ESP for every Strip each on the same SPI-Bus?
Would be great if you could give an idea...

Hi
That's indeed interesting question. Since Rpi has two SPI interfaces it will work for two separated esp8266. If we use SPI CS0/CS1 it should handle four devices. But for ESP8266, it seems it that its SPI implementation simply ignores SS for some reason. As you can read in the tutorial, the SS cable isn't even connected and it works, but I didn't dig further. So not sure if CS0/CS1 will work for HyperSPI using esp8266. For ESP32 SS using CS0/CS1 is mandatory and it should work.
Currently the project can handle only one segment. Theoretically it's possible to handle more than one, but it would require some rather simply project modification for specific setup. For example we need to handle 800LEDS, first 500LEDS and a second 300LEDS. We assume that they are put in order, one by one. Then in HyperSPI we need to create a second instance of neopixelbus library to handle second LED instance, and then after receiving via SPI 500th LED color we switch to put colors into the second neopixelbus instance. esp8266 has some limitation and probably esp32 would be a better choice for that task.

Ok thank you very much, for ESP8266 CS Pin shall be GPIO15 but i don´t know if it works, when you connect it.
Maybe i can try in future when the rest of the components work.
Your idea might work, i already thought of something like this, but i am actually not incorporated in the Software and not a very good Programmer (like you ;) to implement this. Another Problem for me would be, that i can control the two Stripes only as one in HyperHDR and not with two seperate instances.
ESP32 might really be the better option.
Thank you for your Support!

Thanks!
The problem with ESP8266 CS pin that it is probably ignored: the HyperSPI should not work without that wire not connected from Rpi. The device should only receive the transmission that is sent to that particular device so CS pin must be set high. Probably if you connect more than one ESP8266 to single SPI bus, they will be receiving each other transmission even if you connect these CS wires for each device. But I didn't test such scenario.
The solution with modified HyperSPI doesn't require any HyperHDR modification. It will work with single instance (800 LEDs in this case). The idea of multi-segment support follows me, but I do not know yet whether I will implement it under HyperHDR or as a new project.

I know what you meaning.
Yes that would be great!
But would it be possible to add more CS Pins from GPIOs of an RPI, connecting even more devices over SPI?
Like in this Post-> https://gist.github.com/mcbridejc/d060602e892f6879e7bc8b93aa3f85be
I actually got an Problem which i think ist more an Issue of HyperSPI, but has something to do with HyperSPI.
I´m using an Orange PI, which only has one SPI Interface (SPI1).
The issue is that i configured the settings in Hyperhdr like yours, but the SPI sends nothing to ESP, i measured that with a Logic Analyzer. It´s also possible to select SPI0, which the Board does not have.
Maybe you´ve got an idea what´s wrong.

Both MOSI and CLK are dead? Does HyperHDR show any error related to SPI driver in the logs?
HyperHDR does not filter SPI devices that are available or not in the list. The list is adapted to default RPI SPI interfaces. It's possible to extend that list: only one json file with a dictionary need to be changed so you can have /dev/spi0.4 or any other (https://github.com/awawa-dev/HyperHDR/blob/1c312054893987eab41f268c6408e6b46ebe947c/sources/leddevice/schemas/schema-awa_spi.json#L8 and their labels two line below).
Enabling SPI on Orange Pi using Armbian is not an easy task. I don't have an experience with SPI on Orange Pi board and rather bad experience with Orange Pi overall.

Also check if HyperHDR has rights to use that SPI device. But it should give an error in HyperHDR's logs.

Thanks for the info.
Is there an extra Log for hyperhdr available or where do i have to look at.
Could you also tell me to which directory the Software is normally installed?
I can't find the files 😅.

You can find current logs in hyperhdr web page. The archive is in journalctl. The app is located in /usr/share/hyperhdr

Thank you very much!
You were right -> HyperHDR had no root rights.

I added them and in the Log where no Errors anymore, but the Strip didn´t want to light up.
Guess what, i plugged the CS_PIN to ESP8266 and it worked :), don´t know why but that´s very cool.

To add more SPI Interfaces by extending the List, i have to compile HyperHDR from sources or is there an existing File in the directories, where i can change the settings?

Great!
To have additional non-standard interfaces available you need to add them to these two lines in the source code and compile the project. If you change it in the HyperHDR configuration database file alone, it will be reversed at the startup.

BTW if you fork HyperHDR you can modify that schema-awa_spi.json online, then github will compile it for you if you enable github action. Probably that's the easiest solution.

Could you please explain to me, how to modify that file online?
I´m not sure how to do that.

Did you forked HyperHDR and enabled Github Action in the project properties?

Yes i did adjust the File, but i get an Error during compiling the RPI-Image.
Don´t know what i´m doing wrong, cause i don´t have much experience using GitHub.
I don´t need the RPI-Image, is there a way to compile only the 64bit Linux Version?
Thank you very much for your Support and your quick responding so far!

This command if for tagged releases only and it generates SD card images from the official repo: it's useless in your case. You have already build your installers: https://github.com/Lasermax3000/HyperHDR/actions/runs/2964289682

Ahh cool, that it worked.
Huge Thanks for you support!

Updated HyperSPI: it's capable now of multi-segment but only for ESP32 and ESP32-S2. Esp8266 is an old design, it's SPI protocol is limited (we can only send ~30 bytes in packet, doesn't work well for large data to transfer for both segments) and as you can see on the attached fresh benchmarks on the main page it's already well behind ESP32. ESP32-S2 lolin mini is currently as cheap as Esp8266 boards so don't plan to support this feature for Esp8266.


Cannot map keys to <C-> in terminal mode

I have the following code:
local wk = require("which-key")

wk.register({
    jk = {"<C-\\><C-n>", ""}
}, {mode = "t"})

I expect this will map jk to exit terminal insert mode and enter terminal normal mode. However, this makes jk output <C-\> literally in the terminal input mode.

Same issue here.

local function termcodes(str)
   return vim.api.nvim_replace_termcodes(str, true, true, true)
end

      ["<jk"] = { termcodes "<C-\\><C-N>",  "escape terminal mode" },


Usage guidance

From https://github.com/open-contracting-extensions/ocds_bidOpening_extension/pull/2#issuecomment-1438766895
I'm unsure if we should remove or update the following sentence from README.md:

This means that systems which are not 'lot aware' can still understand the overall value of contracting taking place, key events, and relationships between buyers and suppliers. At the same time, 'lot aware' systems can make use of the cross-referenced information to present a lot-centric view on the information to users, or to analyze contracting lot by lot.

If we keep it, we should perhaps add further guidance to the usage section to explain how to populate at least tender.value (sum the values of each lot).

I think the "This means" paragraph still works. For example, the value of a lot is not the same concept as the value of a contracting process, and so there is no conflict with the usage guidance.
The cases where information could potentially go in one or the other is when the information is the same for all lots. For example, it's possible all bids for all lots are always opened at the same time in some jurisdiction. However, globally, we know that the bid opening information can differ per lot (hence the addition of that field). In that scenario, the guidance is to put it on the lot to have a single standardized location for that information, at the expense of duplication across lots. (The field on tender is thus essentially deprecated).
Other than value, there might be others where the semantics are different. If we want, we can perhaps list these and explain that their semantics are different and that the usage guidance therefore doesn't apply to them.

Sounds good. I created an issue as I don't think that's a blocker for this PR.


Crash when attempt to Close Other Scripts From Right Click Drop Down

Godot version
4.0 dev Alpha 12
System information
Linux, Ubuntu 22.04 LTS
Issue description
https://youtu.be/0ioEK-o6NcA
Crash occurs when I attempt to close other tabs.
Note intermittently happens with only a few(3) open.
Steps to reproduce

Open Godot 4 Alpha 12
Open plenty of Scripts
Right Click any Script in the Scripts list
Select Close Other Tabs

Minimal reproduction project
No response

It doesn't seem to happen on a Windows Machine
Godot version
4.0 dev Alpha 12
System information
Windows 10 Pro (10.0.19044 Build 19044)
https://user-images.githubusercontent.com/7061445/179358751-8c5ac0c1-b2ef-47fe-ba12-1910133687fc.mov

Easier to reproduce when closing unsaved scripts or removing the open script file from FileSystem dock. May be related to #62964.

I also get this error everytime I close a script with Ctrl+W:
RROR: Condition "!is_inside_tree()" is true.
   at: Control::grab_focus (scene\gui\control.cpp:2532)

Call stack:

Removing the current tab control of the TabContainer will first remove the corresponding tab from the internal TabBar, and if the removed tab is the current one, the tab_changed signal will be emitted. This causes the tab_changed signal to emitted before the tab control is actually removed.
After the tab_changed signal is emitted, the control obtained using get_current_tab may be the control being deleted. The tab in the TabBar has changed, but the tab control in the TabContainer has not changed yet.
https://github.com/godotengine/godot/blob/dfc76dc26dc9412b0467131997e6b8ffdbe4ff02/scene/gui/tab_container.cpp#L931
https://github.com/godotengine/godot/blob/dfc76dc26dc9412b0467131997e6b8ffdbe4ff02/scene/gui/tab_container.cpp#L552
https://github.com/godotengine/godot/blob/dfc76dc26dc9412b0467131997e6b8ffdbe4ff02/scene/gui/tab_bar.cpp#L959-L961
https://github.com/godotengine/godot/blob/dfc76dc26dc9412b0467131997e6b8ffdbe4ff02/scene/gui/tab_bar.cpp#L986-L988
https://github.com/godotengine/godot/blob/dfc76dc26dc9412b0467131997e6b8ffdbe4ff02/scene/gui/tab_container.cpp#L461-L464

That backtrack looks familiar, duplicate of #61689


Add each_with_index to vector

I think each_with_index is often useful when you want to read data from multiple vectors. This PR adds each_with_index to Rover::Vector. I did notice that the each implementation first converts the Numo vector to an array - but Numo already has a each and each_with_index, so I am just passing the block to the numo vector. Let me know if there's a reason for the to_a conversion and I'm happy to do the same.

Thanks @dansbits! Updated each to call the Numo array directly as well.


Using TEST-SEAM fires sy-subrc check - false positive

READ TABLE local_table INTO DATA(table_data).

IF sy-subrc <> 0.
  WRITE 'ERROR'.
ENDIF.

This case works fine, but when I add TEST-SEAM around the read table statement, check_subrc rule is firing.
TEST-SEAM tst_seam.
  READ TABLE local_table INTO DATA(table_data).
END-TEST-SEAM.

IF sy-subrc <> 0.
  WRITE 'ERROR'.
ENDIF.

I know that using TEST-SEAM is not recommended, but IMHO abaplint should not fire false positives.

@jan-jezek try again, 2.102.43 published


Fixed environment files and revised README to address errors

I made changes to the following three files:

environment/drmnet_release.def
Specified the Pynvrtc version to avoid errors related to yanked versions.
Upgraded the Mitsuba3 version from v3.2.0 to v3.3.0 (and Dr.Jit to v0.4.2) to fix a critical issue with the dr.jit compiler that occurred during the 82nd epoch of training.

environment/pip_freeze.txt
Added a link to taming-transformers to ensure it is installed correctly.

README
Tested the code with Python 3.8, which is compatible with PyTorch Lightning 1.9.
The demo script was inconsistent with the file name and argument parser, which has been updated to properly specify inputs for evaluation.
Fixed some incorrect file paths in training scripts.

Thanks Nobuo!


Add support for Django 4.2

Closes #706
Closes #707

Add support for Django 4.2
Add minimum bound on Django and DRF requirement matching the minimum version tested in CI
Fix documentation on supported Python/Django/DRF versions (#706)

@Andrew-Chen-Wang It looks like only DRF 3.13 is incompatible with Django 4.2.
The way the matrix is currently set up in GitHub Actions and tox-gh-actions runs "every Python version against every Django version against every DRF version". This makes it harder to exclude a single environment (e.g. exclude Django 4.2 on DRF 3.13).
It is possible to be more specific/explicit using tox-gh-actions for example:

https://github.com/jazzband/django-dbbackup/blob/master/tox.ini#L22

But I'm not sure what your preference here is.

An option would be to configure the test workflow to skip matrix configuration matching a certain criteria with the jobs.<job_id>.strategy.matrix.exclude keyword.
    matrix:
      python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
      django-version: ['3.2', '4.0', '4.1']
      drf-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
      exclude:
        - django-version: '4.2'
           drf-version: '3.13'

I haven't tested, but should provide the desired outcome.

Thanks @dpgraham4401! That was exactly what was needed. Implemented in d74835a.

@Andrew-Chen-Wang this PR is now ready for review. Thanks.


include user (and group by extension) permissions in object metadata

[ ] 4-2-stable
[ ] master
[ ] back-port to 4.2.7

Use this part of the schema at https://gist.github.com/ianmcorvidae/5907353bb506b853661e3c569dea2144
        "userPermissions": {
          "type": "nested",
          "properties": {
            "permission": {
              "type": "keyword"
            },
            "user": {
              "type": "keyword"
            }
          }
        }

Any idea when this might be released?

@tedgin It's actually semi-ready, and tests are passing.  Looks likely to be released in <IP_ADDRESS> and <IP_ADDRESS> , it appears.

The 4-2-stable PR is over here... if you're interested in poking at it before it's out...  https://github.com/irods/irods_capability_indexing/pull/95


Problem with c++ classes inside classes

The code:
cimport libcpp.string
cdef libcpp.string.string.interator i

Gives the error: "'libcpp.string.string' is not a cimported module".  While the code:
cimport libcpp.vector
cdef libcpp.vector.vector[int].iterator i

Compiles without error.
The above error also happens for other situations where a class inside a non-template class is used.
I am using cython version 0.29.7.

The above problem can be circumvented with:
from libcpp.string cimport string
cdef string.iterator i

But the circumvention doesn't work in the case of classes inside classes inside classes.
test.cxx:
class A {
    class B {
        class C {
        };
    };
};

from test cimport A
cdef A.B.C i

still fails.

Seeing the same issue, something about resolution failing on nodes deeper then one, which is why they work as long as they are only on one navigation.

I think this is duplicate of #3074

Hopefully fixed in https://github.com/cython/cython/commit/85945aae8ad42440fc3bf5f7c9be64a0a68b2952


Is this repo open for contributions?

I have a Raspberry Pi 4 and I'm willing to contribute to this repo. Is this repo open for contributions?

Yes. Of course.


[ Transpose ] Accelerate matrix transpose with SIMD

Accelerate matrix transpose with SIMD
Matrix Transpose function in latest NNTrainer (14.05.24) is implemented using for-loops.
Although current implementation is useful for general use in (b,c,h,w)-Tensor transpose, it would be a little bit naive implementation for the (h,w)-matrix transpose.
Nevertheless, we are relying on such implementation quite often:

when using BiQGEMM
layers ops
internally in some tensor ops
can be extended in hgemm_noTrans to all kinds of transposed GEMMs

Currently WIP to accelerate them with SIMD

:octocat: cibot: Thank you for posting issue #2582. The person in charge will reply soon.

Updates : 14.05.2024

Current for-loop implementation tends to get exponentially worse in times of latency as matrix dimension linearly increase. Implementing a kernel-based SIMD version of matrix transpose will therefore have more impact.
| dim | prev | digits |
| --- | --- | --- |
| 768 | 465 mcrs | 589,824 |
| 512x2048 | 1.31 ms  | 1,048,576 |
| 1920x1560 | 1.78 ms | 2,995,200 |
| 1560x2048 | 5.02 ms | 3,194,880 |

Found a way to transpose 16-bit matrix with NEON. Currently conducting some experiments.

Latency measurement : 16.05.2024

TC = 20, tested on Galaxy S23, with frequently used ones

dim
prev
neon

768x768
400 mcrs
121 mcrs

1440x1440
2 ms
0.44 ms

1920x1560
4.3 ~ 1.6 ms
1.8 ~ 0.8 ms

1560x2048
4.18 ms
0.618 ms

512x2048
1.31 ms
0.18 ms


chore(RepresentationTheory.GroupCohomology): make namespaces lower camel case

Absolutely no idea why I thought these namespaces needed to be upper camel case.

I am not sure that groupCohomology is better than GroupCohomology. For example, we have CategoryTheory, and not categoryTheory. Most namespaces in mathlib start with an uppercase letter:
joel@kalyani ~/lean/mathlib4 $ grep '^namespace [a-z]' **/*.lean|wc -l
130
joel@kalyani ~/lean/mathlib4 $ grep '^namespace [A-Z]' **/*.lean|wc -l
6761

(I am not sure what is the best justification for this, but it seems that lowercase initials in namespaces are used in order to develop the API around a definition which starts with a lowercase letter: for example, we have the definition of the object kernel f, and then we have kernel.lift.)

Thank you - yeah, I've changed namespaces to lower camel when there's a definition with that name.

Note: I have pushed an update to the lean toolchain because this PR was on a buggy version of the toolchain. WARNING: checking out old commits of this PR using v4.2.0-rc2 or v4.2.0-rc3 can cause lake clean to delete your mathlib folder! If you need to do so, make sure to delete lakefile.olean manually before running any lake commands.

Thanks!
bors merge


Recursive uploads

Hi,
Would be great if tool will be able to upload a folder and its subfolders recursively and automatically creating remote folders.
Like cp folder_name target_folder_name copies  a folder with all subfolders and files in them to a new destination.

Thank you for your suggestion. As soon as I find the time, I will look into that.

That feature would be very helpful for me, too.

Any new regarding this one?
I think recursive upload (preserving folder structure) is crucial.

I didn't have the time yet, but I think you can expect this feature to be implemented sometime in July.

Sorry for the delay, but finally I have found the time to start implementing this feature.
To avoid concurrency problems, the script will first traverse through the local filesystem and create the needed folder structure in OneDrive, collecting a list of pairs (destination folder ids and filenames) before starting the actual multi-threaded upload.
To minimize the number of requests for the initial folder traversal, the function resolve_folder_id must work relative to the current directory rather than evaluating the same path prefix over and over again. For now this process can take quite a while even for small structures, especially when used with the command line option -f in combination with a long path.

Great! Will test tomorrow.

Hi, Have finally tested it. (took several minutes to realize that functionality is still in separate branch). It works fine as expected. Thank you one more time!

Am also going to test it with several 100 GiB of data on thursday.


Fix issue with installation of gfortran 11

On my own repo I had issues running programs compiled with gfortran 11 in CI. It turned out they were being compiled with gfortran 11, but were picking up libgfortran-5.dll from /c/mingw64/bin, which is from gcc 12, at runtime, and would crash.
I've modified hw.90 to reproduce the problem as minimally as I can, although perhaps someone else can make it more minimal.
I've temporarily added an intentionally failing action to demonstrate the issue, obviously we would remove that ahead of merging.
I also added gcc 12 to the test matrix. It claims to be supported so it seems only logical to test it in addition to 11 and 13.

Link to the actions in my own repo with the intentionally failing test: https://github.com/nbelakovski/setup-fortran/actions/runs/7277645925

cc @zaikunzhang

After taking a look at how the windows github runner installs gcc 12 (it just downloads mingw64 and extracts it to /c/mingw64), maybe we should just mv the whole mingw64 folder instead of the current piecemeal approach?

Thanks @nbelakovski for the detailed reproduction and PR.

After taking a look at how the windows github runner installs gcc 12 (it just downloads mingw64 and extracts it to /c/mingw64), maybe we should just mv the whole mingw64 folder instead of the current piecemeal approach?

That seems better than the current approach. Want to edit setup_fortran.sh and try it out?

I also added gcc 12 to the test matrix. It claims to be supported so it seems only logical to test it in addition to 11 and 13.

Ideally we would test everything but the matrix gets very large, so currently we only test the latest of each toolchain in push/pr CI and do comprehensive testing monthly (discussion)

I've pushed a modification to mv the whole folder.

Ideally we would test everything but the matrix gets very large

I needed to add gcc 11 and 12 in order to demonstrate reproducibility of the issue and also demonstrate the fix. Up to you if you'd like to keep them or if you'd like me to remove them, just let me know. As someone trying to fix an issue with a version that's not tested it adds extra effort, and seeing the lack of testing for purportedly supported versions makes me think this is probably not a very robust project and maybe I shouldn't depend on it (I'm not saying that this is true, I'm just saying this is the impression I get when I see the lack of tests). Plus CI minutes are cheap, so why does it matter if the matrix is large?
Returning to the PR, if the changes look good, let me know and I'll remove the intentionally failing test (and also remove gcc 11/12 at your direction) and we can merge.

We could test all combinations on PR and the minimal set on push. Or comprehensive on push and minimal on PR — so one can easily CI test on a fork before opening a PR, but we avoid saturating the fortran-lang org
@awvwgk

We can run all  tests in CI like before, it will just take a little longer if the repo is saturated, but it is still better than skipping a check and risking breakage

@nbelakovski I pulled your branch and updated the test workflow, with your permission I can push and we can get this merged

@wpbonelli I'm not entirely sure what you mean, but yes you have my permission to push? Is the only holdup the removal of the demonstration test case?

Just figure better to ask before editing someone else's branch even if GitHub allows it. I rebased and tacked on a commit.

Just figure better to ask before editing someone else's branch even if GitHub allows it. I rebased and tacked on a commit.

Eh, go ahead and make the changes! I think there's a check mark when you submit the PR as to whether others are allowed to make changes to it.

Any updates? Other than actually running the test program I think this is good to go.

Sorry for the delay here- think it is in good shape now, if you don't mind having a final look?
The last commit makes a distinction between testing and reporting mode, on push or PR only known supported runner/toolchain/version combinations are checked, on schedule (now weekly) or manual trigger it tries them all and updates if needed

This PR was for fixing an issue with gcc11, but that doesn't seem to be the main focus of it anymore. I will remove my changes related to gcc11, put them in a separate branch and make a separate PR, and then rename this PR to something more appropriate and let the project maintainers review it, since I am not the appropriate person to review these changes.

@nbelakovski Thanks for separating the changesets, that makes things clearer. I made the test matrix changes here to reflect the discussion/decision above to do more frequent comprehensive testing, but it would have been better not to hijack your PR.


Local file not loading samples in Files dialog

Emergency bug fix <IP_ADDRESS>

Is this the same as #597?


I just configure as you mentioned but I can't get the ''meta'' in the response

Model Config
"mixins": {
"Paginator": true
}
model-config.json
"_meta": {
"sources": [
"loopback/common/models",
"loopback/server/models",
"../common/models",
"./models"
],
"mixins": [
"loopback/common/mixins",
"loopback/server/mixins",
"../node_modules/loopback-paginator",
"../common/mixins",
"./mixins"
]
}
package.json
"dependencies": {
"compression": "^1.0.3",
"cors": "^2.5.2",
"helmet": "^3.10.0",
"loopback": "^3.22.0",
"loopback-boot": "^2.6.5",
"loopback-component-explorer": "^6.2.0",
"loopback-component-storage": "^3.6.3",
"loopback-connector-mongodb": "^4.2.0",
"loopback-paginator": "^3.0.0",
"serve-favicon": "^2.0.1",
"strong-error-handler": "^3.0.0"
}

Did you add ?page=1 to the requested URL?

Thanks a lot, it works.


Test Issue created at Tue, 07 Feb 2023 16:28:51 GMT

Test issue body  Tue, 07 Feb 2023 16:28:51 GMT

Comment on issue at Tue, 07 Feb 2023 16:28:55 GMT


[dataflow] missing taint path when two dataflow edges reaches one node

Describe the bug
<?php
$cats = $_POST['xxxxxxxxxx'];
$k = $cats;
$v = $cats;
$k = process("a", "b", $k);
$output = $k . $v;
echo $output;

In this example, there should be two taint paths to the echo call, while joern outputs only one:
_______________________________________________________________________________
| nodeType   | tracked                      | lineNumber| method   | file      |
|==============================================================================|
| Call       | $cats = $_POST["xxxxxxxxxx"] | 4         | <global> | index.php |
| Identifier | $cats = $_POST["xxxxxxxxxx"] | 4         | <global> | index.php |
| Identifier | $k = $cats                   | 5         | <global> | index.php |
| Identifier | $k = $cats                   | 5         | <global> | index.php |
| Identifier | process("a","b",$k)          | 7         | <global> | index.php |
| Call       | process("a","b",$k)          | 7         | <global> | index.php |
| Identifier | $k = process("a","b",$k)     | 7         | <global> | index.php |
| Identifier | $k . $v                      | 8         | <global> | index.php |
| Call       | $k . $v                      | 8         | <global> | index.php |
| Identifier | $output = $k . $v            | 8         | <global> | index.php |
| Identifier | echo $output                 | 9         | <global> | index.php |
| Call       | echo $output                 | 9         | <global> | index.php |

To Reproduce

set $_POST['xxx'] as source node
set echo call as sink node
run reachablebyFlows

Expected behavior
Two taint paths, from $k to $output and $v to $output
Desktop (please complete the following information):

Windows
latest joern-dataflowengine
jdk17

It seems that the problem is caused by the deduplicateFinal method in Engine class. After I remoce this method, the result is complete.


Spatial Shader ALPHA makes mesh draw over NavigationMesh3D nav mesh and other visual nodes

Tested versions

Reproducible in 4.3.stable

System information
Windows 10 64 bit - Godot 4.3.stable - Vulkan (Forward+)
Issue description
While APLHA is changed in the 3D mesh's shader, the mesh(es) with the shader will draw over other nodes, eg. NavigationRegion3D's nav mesh.
Here's what it looks like with ALPHA disabled:

and with ALPHA enabled:

Steps to reproduce

add NavigationRegion3D to scene
Import a model from blender
add collision to mesh (for navigation region 3D)
Add a spatial shader with ALPHA set to 1.0 (as example) to the model

Minimal reproduction project (MRP)
example-project.zip

Related:

https://github.com/godotengine/godot/issues/9935


Feature: Enable anonymous Operations: Query , Mutation , Subscription

morpheus can parse anonymus query:
{
  field1
  .....
}

but can't parse all anonymous operations:
<mutation | query | subscription> {

}

on every use of operation keyword it requires operation name, but it should allow anonymous operations

done


⚠ SceneTime has degraded performance

In be38ccd, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 5964 ms

Resolved: SceneTime performance has improved in 4671065.


Allow expanding of json values

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Expand the keys and nested keys to consul kv store.
What version of git2consul-go are you using?
v0.1.1

$ git2consul -version
git2consul, version v0.1.2-dev (branch: master, revision: f7da486e18c7223f93a542f966b14673dff7f6f6)
build date: 20200531-16:41:29
go version: go1.12.5

Additional context
gonsul supports this, but I find the git2consul more friends with multiple repos handling. This feature will definitely be an added plus for git2consul

@deepakcv thanks for the suggestion. Any chance you can work on this and send in a pull request?

Is this potentially a duplicate of #45 ?


Copy bug

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: ejsmith:x: pwelter34

@pwelter34 can you please sign the cla


Llama Reward Model is incorrectly merged

As mentioned in #287, merge_peft_adapter saves the Llama RM as a LlamaForCausalLM see here
But the reward model is trained and should be a LlamaForSequenceClassification and running rl_training.py gives the obvious warnings
Some weights of the model checkpoint at ./llama-7b-se-rm were not used when initializing LlamaForSequenceClassification: ['lm_head.weight']
- This IS expected if you are initializing LlamaForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing LlamaForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of LlamaForSequenceClassification were not initialized from the model checkpoint at /home/toolkit/huggingface/llama-7b-rm and are newly initialized: ['score.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

We should instead check whether we are merging the rm and then save as a the correct model
Also the score.weight is not being loaded as mentioned in #297 , see more info below

A very not-clean way of doing this is
if "rm" in script_args.adapter_model_name:
    model = AutoModelForSequenceClassification.from_pretrained(
        script_args.base_model_name, num_labels=1, torch_dtype=torch.bfloat16
    )
else:
    model = AutoModelForCausalLM.from_pretrained(
        script_args.base_model_name, return_dict=True, torch_dtype=torch.bfloat16
    )

It also looks like the reward model's score.weight isn't being loaded from the adapter weights. I've checked and this can either be an issue with the adapter config from trl-lib/llama-7b-se-rm-peft as it doesn't mention the score as one of the modules_to_save even though it is. It could also be an issue with peft or how the adapter was saved. In any case, anyone who currently wants to use the RM should overwrite the score.weight before calling model.save_pretrained
if "rm" in script_args.adapter_model_name:
    peft_state_dict = torch.load(
        "/path/to/huggingface/hub/models--trl-lib--llama-7b-se-rm-peft/snapshots/{some_number}/adapter_model.bin"
    )
    score_weight = peft_state_dict["base_model.model.base_model.model.score.weight"]
    model.score = torch.nn.Linear(4096, 1)
    with torch.no_grad():
        model.score.weight.copy_(score_weight)

Even after these fixes, I've been unable to get the reward model loaded. I've tried merging the trl-lib/llama-7b-se-rm-peft adapter weights directly on llama 7b, as well as merging the trl-lib/llama-7b-se-peft weights first and then merging the rm weights. I'm never get above 56% accuracy on the rm validation set.

I agree with you, @mnoukhov. The problem is that merge_peft_adapter only saves the base_model (the llm part, not the score part wich is the head), even after the "fix". I'm encountering the same issue as you, by the way.
I'm planning to modify the pipeline definition. Instead of giving a string to the pipeline, I will reconstruct the entire reward model within the script and pass the model as an argument to the pipeline. I'll keep you updated on my progress.

The correct thing to do is actually to use peft's merge_and_unload but the weights on the hub don't seem to be working for me. For that reason I'm re-running the whole pipeline and will upload my adapter weights once its done

I agree with your assessment. The Pipeline doesn't seem to work well with PeftModelForSequenceClassification. However, I believe I've come up with a fix. I didn't use merge_peft_adapter for the reward, instead I modified the rl_training.py script. Here's how I reconstructed the reward model and changed the reward computation:
reward_tokenizer_name is the name of the reward tokenizer, in my case it's "EleutherAI/gpt-neo-125m".
reward_model_name is the location of the saved adapter of the reward model.
# Now we reconstruct the rewardmodel
reward_peft_config = PeftConfig.from_pretrained(script_args.reward_model_name)
reward_model = AutoModelForSequenceClassification.from_pretrained(script_args.reward_tokenizer_name, num_labels=1, return_dict=True) #, torch_dtype=torch.bfloat16)
reward_model = PeftModel.from_pretrained(reward_model, script_args.reward_model_name)
reward_model = reward_model.to(current_device)

reward_tokenizer = AutoTokenizer.from_pretrained(script_args.reward_tokenizer_name)
reward_tokenizer.pad_token = reward_tokenizer.eos_token
# Define the pad token in the model configuration
reward_model.config.pad_token_id = reward_tokenizer.pad_token_id

for epoch, batch in enumerate(ppo_trainer.dataloader):
    question_tensors = batch["input_ids"]

    response_tensors = ppo_trainer.generate(
        question_tensors,
        return_prompt=False,
        length_sampler=output_length_sampler,
        **generation_kwargs,
    )
    # tokenizer.batch_decode works on CPU. perhaps it is faster if
    # yhou use two models with same tokenizer and just works with tokens on the GPU

    batch["response"] = tokenizer.batch_decode(response_tensors, skip_special_tokens=True)

    # Prepare texts
    texts = [q + r for q, r in zip(batch["query"], batch["response"])]

    # Tokenize the texts in batch
    texts_tokenized = reward_tokenizer(texts, truncation=True, padding=True, return_tensors="pt")

    # Get the tensors
    input_ids = texts_tokenized["input_ids"].to(current_device)
    attention_mask = texts_tokenized["attention_mask"].to(current_device)
)
    # Forward pass through the reward_model
    pipe_outputs = reward_model(input_ids=input_ids, attention_mask=attention_mask)

    rewards = list((torch.sigmoid(pipe_outputs.logits) - script_args.reward_baseline).unbind(dim=0))

    # Run PPO step
    stats = ppo_trainer.step(question_tensors, response_tensors, rewards)
    ppo_trainer.log_stats(stats, batch, rewards)

    if script_args.save_freq and epoch and epoch % script_args.save_freq == 0:
        ppo_trainer.save_pretrained(script_args.output_dir + f"step_{epoch}")

Any feedback or suggestions would be helpful.

This makes sense but it doesn't solve the problem. If you have adapter weights that you've trained yourself you can correctly load them in with model = model.merge_and_unload() , replacing lines 54-62 of merge_peft_adapter.py (and also changing CausalLM for SequenceClassification)
The remaining issue is the weights on the hub don't seem to get the correct reward modelling accuracy

That sounds like a good idea！May I ask if you run it successfully? How is the effect? Is there any loss in the indicator? Thanks.

Here is another version for the training loop, wich is improved when the reward model and the model share the same tokenizer.
This is faster, the other one is more general
reward_mean = []
reward_std = []
for epoch, batch in enumerate(ppo_trainer.dataloader):
    question_tensors = batch["input_ids"]

    response_tensors = ppo_trainer.generate(
        question_tensors,
        return_prompt=False,
        length_sampler=output_length_sampler,
        **generation_kwargs,
    )
    # Prepare tensors directly, no decoding
    input_ids = [torch.cat([q, r], dim=-1) for q, r in zip(question_tensors, response_tensors)]

    # Pad the input sequences
    input_ids_padded = torch.nn.utils.rnn.pad_sequence(input_ids, batch_first=True)

    # Create attention_mask
    attention_mask = torch.ones_like(input_ids_padded)

    # Forward pass through the reward_model
    pipe_outputs = reward_model(input_ids=input_ids_padded, attention_mask=attention_mask)

    rewards = list((torch.sigmoid(pipe_outputs.logits) - script_args.reward_baseline).unbind(dim=0))

    # Run PPO step
    stats = ppo_trainer.step(question_tensors, response_tensors, rewards)
    ppo_trainer.log_stats(stats, batch, rewards)
    reward_mean.append(stats['ppo/mean_scores'])
    reward_std.append(stats['ppo/std_scores'])
    if script_args.save_freq and epoch and epoch % script_args.save_freq == 0:
        ppo_trainer.save_pretrained(script_args.output_dir + f"step_{epoch}")

Here is another version for the training loop, wich is improved when the reward model and the model share the same tokenizer. This is faster, the other one is more general
reward_mean = []
reward_std = []
for epoch, batch in enumerate(ppo_trainer.dataloader):
    question_tensors = batch["input_ids"]

    response_tensors = ppo_trainer.generate(
        question_tensors,
        return_prompt=False,
        length_sampler=output_length_sampler,
        **generation_kwargs,
    )
    # Prepare tensors directly, no decoding
    input_ids = [torch.cat([q, r], dim=-1) for q, r in zip(question_tensors, response_tensors)]

    # Pad the input sequences
    input_ids_padded = torch.nn.utils.rnn.pad_sequence(input_ids, batch_first=True)

    # Create attention_mask
    attention_mask = torch.ones_like(input_ids_padded)

    # Forward pass through the reward_model
    pipe_outputs = reward_model(input_ids=input_ids_padded, attention_mask=attention_mask)

    rewards = list((torch.sigmoid(pipe_outputs.logits) - script_args.reward_baseline).unbind(dim=0))

    # Run PPO step
    stats = ppo_trainer.step(question_tensors, response_tensors, rewards)
    ppo_trainer.log_stats(stats, batch, rewards)
    reward_mean.append(stats['ppo/mean_scores'])
    reward_std.append(stats['ppo/std_scores'])
    if script_args.save_freq and epoch and epoch % script_args.save_freq == 0:
        ppo_trainer.save_pretrained(script_args.output_dir + f"step_{epoch}")

Hi，did you encounter this problem when training this script?

No... I have never seen that error before. It seems to me that is an enviroment error related to cuda version... but no, no idea.


(R.G.B) Output

How can i use color output as (R,G,B) format?
I dont know what this is color type -65536 to search for a converter code
Thanks

https://stackoverflow.com/a/28111503


Duplicated DDPG agent scripts

Hi Lukasz,
Currently there are 2 DDPG training scripts, in osim-rl/osim/sandbox/train.ddpg.py and osim-rl/scripts/keras-rl/train.ddpg.py
Is this intended? The osim-rl/scripts/keras-rl/train.ddpg.py is newer but it doesn't contain option to chose standing environment. And human env also isn't imported.

Hi, sandbox is obsolete please use the file from scripts. I've just added other environments 7fdab2f54da33e3864d5db7fd8d2b85d2d6bafad


v0.5.3 wants to post an update to all existing ServiceInstances which fails on Audit Log

We updated from v0.3.6 -> v0.5.3
We don't have any special local configuration for the sap-btp-service-operator.
The updated controller wants to post an update api call to all  existing BTP ServiceInstances. This worked on all other services except Audit Log which fails with
status:
  conditions:
  - lastTransitionTime: "2023-10-20T10:49:39Z"
    message: 'ServiceInstance update failed: Status: 400; ErrorMessage: <nil>; Description:
      Updating service is currently not supported operation. Please create a new service
      with the desired updates and bind to it; ResponseError: <nil>'
    observedGeneration: 1
    reason: UpdateFailed
    status: "False"
    type: Succeeded
  - lastTransitionTime: "2022-08-25T07:41:29Z"
    message: ""
    observedGeneration: 1
    reason: Provisioned
    status: "True"
    type: Ready
  - lastTransitionTime: "2023-10-20T10:49:39Z"
    message: 'ServiceInstance update failed: Status: 400; ErrorMessage: <nil>; Description:
      Updating service is currently not supported operation. Please create a new service
      with the desired updates and bind to it; ResponseError: <nil>'
    observedGeneration: 1
    reason: UpdateFailed
    status: "True"
    type: Failed
  hashedSpec: e633c12d7a499d2d935eba9cbf5e9d48
  instanceID: 6cd0e6a4-f3ef-4f5b-9600-bee1c96bfb14
  observedGeneration: 1
  ready: "True"
  tags:
  - auditlog
  - audit log
  - cf

We did not incorporate any changes to these existing ServiceInstance resources prior to updating the sap-btp-service-operator.
However,  I can also see from BTP that almost every other service there owned by the btp operator has the Changed On day as today.
Any ideas what could be causing this? We're hesitant to pushing the update to non-development environments (we have many) until we've figured out a way to not get the Audit Log ServiceInstance in UpdateFailed state in each environment.

this is a bug, instance should not be udpated if not changed, will be fixed in the next release

Maybefix? https://github.com/SAP/sap-btp-service-operator/pull/359

yes this is the fix, will be released tomorrow

resolved
https://github.com/SAP/sap-btp-service-operator/releases/tag/v0.5.4


Add iceberg flux inputs and configuration files

This pull request updates the dev-preindustrial+concentrations configuration to use the new iceberg melt scheme.
It sets the executable to PR27-5, which includes code for wombatlite + cable 3 + iceberg flux.
The ice, ocean, and coupler namelist files include the necessary changes for using the iceberg scheme, and land ice melt water and heat fluxes have been added to the ocean diagnostics.

@blimlim There are a few failing QA tests at the moment - would you be able to fix them up before I approve? Happy to help if you need.

Awesome, thanks @CodeGat and @matt-csiro for your help with this!


Adding weighted constraints info in CQM

It is possible to add information about weighted constraints in the dimod.ConstrainedQuadraticModel class. Other than encoding the functional information, there are no functional changes in how objectives and feasibility are calculated.

Reminder for myself, we should also add num_weighted_constraints to the header.

Reminder for myself, we need to update SampleSet.from_samples_cqm() to handle soft constraints.

Reminder for myself (found by @alexzucca90 ), we should update the CQM equations to include soft constraints. Possibly as a second set of equations under the assumption that not all users will use that feature.

Reminder for myself (found by @dbusto), support SPIN variables with quadratic penalties.

Codecov Report

Merging #1233 (86fa96e) into main (472a92d) will increase coverage by 0.00%.
The diff coverage is 95.83%.

@@           Coverage Diff           @@
##             main    #1233   +/-   ##
=======================================
  Coverage   94.89%   94.89%
=======================================
  Files          83       83
  Lines        8208     8249   +41
=======================================
+ Hits         7789     7828   +39
- Misses        419      421    +2

Impacted Files
Coverage Δ

dimod/constrained.py
94.59% <93.33%> (-0.09%)
:arrow_down:

dimod/lp.py
96.47% <100.00%> (+0.05%)
:arrow_up:

dimod/sampleset.py
91.41% <100.00%> (+0.21%)
:arrow_up:

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


markdown preview zoom

VSCode Version: Code 1.10.1 (653f8733dd5a5c43d66d7168b4701f94d72b62e5, 2017-03-02T00:33:15.706Z)
OS Version: Windows_NT ia32 6.2.9200
Extensions:

Extension
Author
Version

Spell
seanmcbreen
0.8.6

Steps to Reproduce:

open markdown preview
"ctrl" + "+" zoom the editor
editor will narrow and blank show on the right（编辑框会缩小，右边会出现空白，并且编辑框越来越小，空白越来越大）.

Thanks. This is a duplicate of #5745 Hopefully we'll be able to get around to this with a new electron version


Message formatting doesn't work for some markup.

Convertto-JSON seems to be taking the special characters in the output of New-SlackRichNotification and converting them into Unicode, eg. "<" becomes "\u003c" or "\n" (which is the new line indicator) becomes "\\n".
When slack receives these Unicode characters, it converts them back to their symbols but not before they have lost all meaning to slack; they become just Text. This means that if you wanted to communicate with a specific team member by using <@UserName>, then it will become \u003c@UserName\u003e in the JSON payload which is treated like text and not like a message to a specific user. In the chat window however the special characters will have been converted back to their original symbols.

For examples of how to format rich text messages in markup for slack see this link: https://api.slack.com/docs/formatting

I have fixed this in my latest Master. waiting on another pull request before I can make a pull for this issue.


Can I extract video feature based on 1FPS video frames?

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps you followed while encountering the bug
Expected behavior
A clear and concise description of what you expected to happen.
For some reasons, I can't get raw video for feature extraction, only get 1FPS frames of the video. Could I extract the video feature based on these 1FPS frames?
Screenshots/Code Output
If applicable, add screenshots or code output to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Ubuntu 16.04]
Python Version
PyTorch version

Additional context
Add any other context about the problem here.

Hi, Thank you for the question. Do you mean sampling 1 frame every second for processing? Yes, just set the OUT_FPS config parameter to 1.


DM-46493: Remove SIAv2 application from phalanx

Summary
This PR deletes the old SIAv2 application from phalanx and removes all instances were it appears in the docs.
There will be a new SIA application (currently in development) which will replace this one, which is no longer supported.

SIAv2 was enabled on USDF. Was it working and/or used there? We should confirm before merging this in


Display helpful HTTP 400 error messages to admin user

Summary:

the default response handler for OpenAPI validation errors that result in HTTP 400 does not include a detailed description of the cause in the response body, so I created a custom error handler to do that
in order to use the value of the response body in the admin UI, Response.text() (a Promise-returning method, hence await) must be used, not Response.statusText

Description updated with more info, sorry for omitting at first.


List of Resources

Is there a list of showdown resources (extensions, examples, etc) where I can add my extension?
I recently wrote a plugin for showdown which takes asciimath or latex and converts it to pretty html thru katex. It's basically a wrapper for katex. I also wrote some examples for it.
Is there a place anywhere that I can let people who might be interested know this functionality exists? a list of showdown supported/approved resources?
The extension in question is katex-latex](https://obedm.503.github.io/katex-latex/).

In the wiki. https://github.com/showdownjs/showdown/wiki
I've added your extension

great. thanks


absolute link to image

Hi @hanjinliu ,
amazing plugin you made here! This PR will just fix the broken link to the demo video on the napari hub plugin page.
Best,
Robert

Thank you @haesleinhuepf (in both plugin)!
I didn't know I just had to write the absolute link...


Feature/page layout/jf

Layout and accordion are ready for team review!

Merging in Jennifers HTML,CSS, and JS code she made


Errors TS2307 and TS2322 (langchain, sap/cds and LLMType)

Unfortunately I'm facing the following issues.
I already updated langchain and sap-cloud-sdk libraries.

npm i -g sap-cloud-sdk
npm install @sap-cloud-sdk/openapi
pip install -U generative-ai-hub-sdk[langchain]

Do you face the same?
Just for your info: I already builded successfully without any issue a version of this repository of June/July. This is why I think something is changed around library. But honestly now I do not understand what's needed to update/change in order to complete the build.
.........

<EMAIL_ADDRESS>build:ts
tsc

......srv/rag-service.ts(2,25): error TS2307: Cannot find module '@sap/cds/apis/services' or its corresponding type declarations.
srv/rag-service.ts(8,8): error TS2307: Cannot find module 'langchain/prompts' or its corresponding type declarations.
srv/rag-service.ts(111,13): error TS2322: Type 'BTPAzureOpenAIChatLLM' is not assignable to type 'LLMType'.
Type 'BTPAzureOpenAIChatLLM' is missing the following properties from type 'BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>': callKeys, generatePrompt, predict, predictMessages, and 11 more.
srv/rag-service.ts(176,13): error TS2322: Type 'BTPAzureOpenAIChatLLM' is not assignable to type 'LLMType'.
Type 'BTPAzureOpenAIChatLLM' is missing the following properties from type 'BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>': callKeys, generatePrompt, predict, predictMessages, and 11 more.
srv/utils/langchain/BTPAzureOpenAIChatLLM.ts(1,51): error TS2307: Cannot find module 'langchain/chat_models/openai' or its corresponding type declarations.
srv/utils/langchain/BTPAzureOpenAIChatLLM.ts(2,42): error TS2307: Cannot find module 'langchain/dist/types/openai-types' or its corresponding type declarations.
srv/utils/langchain/BTPEmbedding.ts(1,46): error TS2307: Cannot find module 'langchain/embeddings/base' or its corresponding type declarations.
.[2024-10-17 12:58:58] ERROR the "before-all"" build failed: could not execute the "npm run build:cf --prefix api" command: exit status 2
make: *** [Makefile_20241017125755.mta:28: pre_build] Error 1
[2024-10-17 12:58:58] ERROR could not build the MTA project: could not execute the "make -f Makefile_20241017125755.mta p=cf mtar=citizen-genai-rag_0.0.1.mtar strict=true mode= t="./mta_archives"" command: exit status 2
This is the section in which there are issues within the repository code:

Thanks in advance for the collaboration.
Best regards,
Andrea

I just find an relevant info for the issue about SAP CDS sub.modules
Imports from @sap/cds/apis/... are no longer supported!
As a consequence of the above, always only import @sap/cds APIs, while imports from @sap/cds/apis/... were always wrong and don't work any longer with cds8:
import { Service } from '@sap/cds'
import { Service } from '@sap/cds/apis/services' // WRONG!
As already rolled out in December 23, imports references to undocumented .d.ts files, as in line 2 above, was never documented, hence always wrong. While we still supported them for a grace period since then, this grace period ends with cds8.
So this first error disappeared after adjustments indicated here: https://cap.cloud.sap/docs/releases/jun24


feat: update eslint to v9

BREAKING CHANGE: update eslint major version

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


fix: sharky release leak when context is canceled

Checklist

[ ] I have read the coding guide
[ ] My change requires a documentation update and I have done it
[ ] I have added tests to cover my changes.
[ ] I have filled out the description and linked the related issues

Description

Motivation and context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

This change is

@istae So I think this change is good. Can we also check if we have any more occurrences of this pattern?

@aloknerurkar I have not found any other sources of leak related to expired contexts.


use eval instead of subshell to execute command

fish -c is opening a subshell and thus executes fish's startup code, e.g. in config.fish. If initialization produces output, then whatever is printed interferes with the output of fzf.
I came across the problem during configuration of the MBP Touchbar, where the touchbar is updated by echo with a special escape sequence. That is then part of the fzf display.
Using eval solves the problem, because it just executes the command without starting a new subshell and thus doesn't execute initialization code.

Thanks for the detailed explanation. Initially I changed from eval to fish -c because if the number of files to display were large, then eval would cause the terminal to hang a little before displaying all the results, and fish -c resolved that. My tests with eval now seem to be fine.


Fix: rollback to slf4j 1.7 for better compatibility

Context
Fixes #111
Rollback to slf4j 1.7 for better compatibility.
Feature Scope

[x] Rollback to slf4j 1.7.36
[x] Prevent Dependabot updates to 2.x

Release Notes
Rollback to slf4j 1.7 for better compatibility.

Definition of Done

[x] Feature scope is implemented
[x] Feature scope is tested
[ ] Feature scope is documented
[x] Release notes are created

In dependent to the decision whether we merge or not, the title of the PR should not be fix: xxx, as there is nothing, that matches a fix.


[ci] [python-package] enforce 'pylint' checks (fixes #4308)

Fixes #4308.
Proposes enforcing the pylint set of checks, via ruff.
Fixes the following:
python-package/lightgbm/basic.py:1204:21: PLR1701 [*] Merge `isinstance` calls: `isinstance(preds, (list, scipy.sparse.spmatrix))`
python-package/lightgbm/basic.py:3095:20: PLR1701 [*] Merge `isinstance` calls
python-package/lightgbm/basic.py:3273:20: PLR1701 [*] Merge `isinstance` calls
python-package/lightgbm/plotting.py:396:22: PLW3301 Nested `max` calls can be flattened
python-package/lightgbm/plotting.py:397:22: PLW3301 Nested `min` calls can be flattened
python-package/lightgbm/plotting.py:807:16: PLR0402 [*] Use `from matplotlib import image` in lieu of alias
tests/distributed/_test_distributed.py:82:16: PLW1510 [*] `subprocess.run` without explicit `check` argument
tests/distributed/_test_distributed.py:148:18: PLW1510 [*] `subprocess.run` without explicit `check` argument

Notes for Reviewers
All the codes I added to the list of exclusions in pyproject.toml are those that I actually saw running pre-commit run --all-files with no customization, and which I think we should ignore.
For a complete list of ruff pylint rules, see https://docs.astral.sh/ruff/rules/#pylint-pl.

Thanks @jmoralez ! I'm hoping investing more in linting will make it easier for new contributors here.


Added support to list stored keys.

Added sdk method list to list stored keys.
Listing supports pagination using continuationTokens.

Description

Related Issue

Motivation and Context

How Has This Been Tested?
unit tests and manual test
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x ] I have signed the Adobe Open Source CLA.
[ x] My code follows the code style of this project.
[x ] My change requires a change to the documentation.
[x ] I have updated the documentation accordingly.
[x ] I have read the CONTRIBUTING document.
[x ] I have added tests to cover my changes.
[x ] All new and existing tests passed.

#60

Moving PR to draft as we may need more discussion around this.

Closing as on-hold

This would be incredibly useful, assuming you can implement it in a performant manner. What was the reason for closing this?

See https://github.com/adobe/aio-lib-state/pull/65#issuecomment-826866531


Convert Issue Template from .md (Markdown) to .yaml (Issue Forms)

Details

This PR is related to: Issue #19
Does it close the issue?:  yes, this issue fixes #19

Summary:

Converted the bug and feature request template from .md to Issue Forms, although there seems to be a issue with feature_request.yaml and it gives a syntax error, but I can't figure out what the issue is.
The bug_report.yaml is perfect though!
Note:

Hey there @KendallDoesCoding, thanks for getting the Issue Forms set up - don't worry about the feature request, I'll take a look at it in the morning 😃

Thanks!
On Fri, 14 Oct 2022, 12:58 am Akshaya Kulasekaran, @.***>
wrote:

Hey there @KendallDoesCoding https://github.com/KendallDoesCoding,
thanks for getting the Issue Forms set up - don't worry about the feature
request, I'll take a look at it in the morning 😃
—
Reply to this email directly, view it on GitHub
https://github.com/Codezilla-Club/website/pull/21#issuecomment-1278086575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTPJPOBVFHTTAIWIDCTWDBPELANCNFSM6AAAAAARDATJQE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Akshu-on-github - any update?


Add Example Usage

what

Add example invocation

why

We need this so we can soon enable automated continuous integration testing of module

addressed in https://github.com/cloudposse/terraform-aws-iam-s3-user/releases/tag/0.4.0


Use new default value for server.auth_method (#538)

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

Merged in 730407cff1702b3e4ede6e73c0c3457fcd4a9113


Getting error while upgrading google ads vdersion from v13 to v15.

What is your question?
While upgrading version from 13 to 15, I had to increase pom dependency as well. We have updated the version mentioned below.
<dependency>
            <groupId>com.google.api-ads</groupId>
            <artifactId>google-ads</artifactId>
            <version>29.0.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.google.auth</groupId>
                    <artifactId>google-auth-library-credentials</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.google.api</groupId>
            <artifactId>gax</artifactId>
            <version>2.42.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.api</groupId>
            <artifactId>gax-grpc</artifactId>
            <version>2.42.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>33.0.0-jre</version>
        </dependency>
        <dependency>
            <groupId>com.google.auth</groupId>
            <artifactId>google-auth-library-credentials</artifactId>
            <version>1.23.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.auth</groupId>
            <artifactId>google-auth-library-oauth2-http</artifactId>
            <version>1.23.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.23.2</version>
        </dependency>

For these pom dependencies we have a dependency tree mention below
[INFO] +- com.google.api-ads:google-ads:jar:29.0.0:compile
[INFO] |  +- com.google.protobuf:protobuf-java:jar:3.13.0:compile
[INFO] |  +- io.grpc:grpc-stub:jar:1.33.0:compile
[INFO] |  |  \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:runtime
[INFO] |  +- io.grpc:grpc-protobuf:jar:1.33.0:compile
[INFO] |  |  \- io.grpc:grpc-protobuf-lite:jar:1.33.0:compile
[INFO] |  +- com.google.auth:google-auth-library-credentials:jar:0.22.0:compile
[INFO] |  +- com.google.api-ads:google-ads-codegen:jar:29.0.0:compile
[INFO] |  |  +- com.google.api-ads:google-ads-stubs-lib:jar:29.0.0:compile
[INFO] |  |  +- com.google.api-ads:google-ads-stubs-v14:jar:29.0.0:compile
[INFO] |  |  +- com.google.api-ads:google-ads-stubs-v15:jar:29.0.0:compile
[INFO] |  |  \- com.squareup:javapoet:jar:1.11.1:compile
[INFO] |  +- com.google.protobuf:protobuf-java-util:jar:3.13.0:compile
[INFO] |  |  \- com.google.code.gson:gson:jar:2.8.6:compile
[INFO] |  +- com.google.auto.service:auto-service:jar:1.0.1:runtime
[INFO] |  |  +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime
[INFO] |  |  \- com.google.auto:auto-common:jar:1.2:runtime
[INFO] |  +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] |  \- com.google.auto.value:auto-value-annotations:jar:1.7.2:compile
[INFO] +- com.google.api:gax:jar:2.42.0:compile
[INFO] |  +- com.google.api:api-common:jar:1.10.0:compile
[INFO] |  +- com.google.api.grpc:proto-google-common-protos:jar:1.18.1:compile
[INFO] |  +- org.threeten:threetenbp:jar:1.6.8:compile
[INFO] |  \- io.opencensus:opencensus-api:jar:0.31.1:compile
[INFO] |     \- io.grpc:grpc-context:jar:1.33.0:compile
[INFO] +- com.google.api:gax-grpc:jar:2.42.0:compile
[INFO] |  +- io.grpc:grpc-api:jar:1.33.0:compile
[INFO] |  +- io.grpc:grpc-inprocess:jar:1.61.0:compile
[INFO] |  |  \- io.grpc:grpc-core:jar:1.33.0:compile
[INFO] |  |     +- com.google.android:annotations:jar:<IP_ADDRESS>:runtime
[INFO] |  |     \- io.perfmark:perfmark-api:jar:0.19.0:runtime
[INFO] |  +- io.grpc:grpc-alts:jar:1.33.0:compile
[INFO] |  |  +- io.grpc:grpc-grpclb:jar:1.33.0:compile
[INFO] |  |  \- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.1:compile
[INFO] |  +- io.grpc:grpc-auth:jar:1.33.0:compile
[INFO] |  +- io.grpc:grpc-netty-shaded:jar:1.33.0:compile
[INFO] |  \- io.grpc:grpc-googleapis:jar:1.61.0:runtime
[INFO] |     \- io.grpc:grpc-xds:jar:1.61.0:runtime
[INFO] |        +- io.opencensus:opencensus-proto:jar:0.2.0:runtime
[INFO] |        +- io.grpc:grpc-util:jar:1.61.0:runtime
[INFO] |        +- io.grpc:grpc-services:jar:1.33.0:runtime
[INFO] |        \- com.google.re2j:re2j:jar:1.7:runtime
[INFO] +- com.google.guava:guava:jar:33.0.0-jre:compile
[INFO] |  +- com.google.guava:failureaccess:jar:1.0.2:compile
[INFO] |  +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  +- org.checkerframework:checker-qual:jar:3.41.0:compile
[INFO] |  +- com.google.errorprone:error_prone_annotations:jar:2.23.0:compile
[INFO] |  \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
[INFO] +- com.google.auth:google-auth-library-oauth2-http:jar:1.23.0:compile
[INFO] |  +- com.google.http-client:google-http-client:jar:1.37.0:compile
[INFO] |  |  \- io.opencensus:opencensus-contrib-http-util:jar:0.24.0:compile
[INFO] |  \- com.google.http-client:google-http-client-gson:jar:1.37.0:compile

And we are getting the following error :

"Handler dispatch failed; nested exception is java.util.ServiceConfigurationError: io.grpc.LoadBalancerProvider: Provider io.grpc.xds.WeightedRoundRobinLoadBalancerProvider could not be instantiated"
Please help us to find the resolution for the same.
Thanks

Could you check the entire dependency:tree output (not just the section from google-ads) to see if you have other io.grpc dependencies, either directly or indirectly? That error suggests that your project has such dependencies, and they are overriding the io.grpc version pulled in via the dependency on google-ads.
Thanks

Sharing the complete dependency tree. Can't see any other io.grpc dependency  apart from google-ads
dependency tree.txt

I just realized that you have the following:
        <dependency>
            <groupId>com.google.api</groupId>
            <artifactId>gax</artifactId>
            <version>2.42.0</version>
        </dependency>

Version 29.0.0 of google-ads depends on gax version 2.32.0. I suspect that's where the conflict is occurring.
I'm actually in the process of releasing 30.0.0 of google-ads today, which will upgrade the gax dependency to 2.43.0. You might want to wait a few hours and just upgrade straight to google-ads 30.0.0 and gax 2.43.0.
Thanks,
Josh

Version 30.0.0 of com.google.api-ads:google-ads is now available.

Getting the same error with the version upgrade as well
dependency tree.txt
google_ads_error.txt
using these google dependencies
      <dependency>
            <groupId>com.google.api-ads</groupId>
            <artifactId>google-ads</artifactId>
            <version>30.0.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.google.auth</groupId>
                    <artifactId>google-auth-library-credentials</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.google.api</groupId>
            <artifactId>gax</artifactId>
            <version>2.43.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.api</groupId>
            <artifactId>gax-grpc</artifactId>
            <version>2.43.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>33.0.0-jre</version>
        </dependency>
        <dependency>
            <groupId>com.google.auth</groupId>
            <artifactId>google-auth-library-credentials</artifactId>
            <version>1.23.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.auth</groupId>
            <artifactId>google-auth-library-oauth2-http</artifactId>
            <version>1.23.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.23.2</version>
        </dependency>

I see that the dependency entries you have after google-ads are specifying versions that differ from what google-ads:30.0.0 uses:

Dependency
your version
google-ads:30.0.0 version

gax
2.43.0
2.43.0

guava
33.0.0
32.1.3

google-auth-library-*
1.23.0
1.23.0

protobuf-java
3.23.2
3.25.0

Could you update your pom to align the dependency sets and see if that changes the outcome of your test?
Also, looking at the end of your google_ads_error.txt file, I see the root cause is java.lang.VerifyError: Cannot inherit from final class while it's trying to instantiate io.grpc.xds.WeightedRoundRobinLoadBalancerProvider. Are there any other errors in your logs before the failure?
Thanks,
Josh

Getting same error after updating the versions.
Are there any other errors in your logs before the failure?
No other error before the failure.
Thanks
Bipul

One more query:
The error which I am getting on product environment which is running GKE. But when I run this on my local setup it is working properly. And this was working fine for the previous versions. Is there a chance that it might be failing because of different environment set up?

Are you seeing the same results in all environments, or does it work on one host but not the other?
One option you could try is to enable verbose class loading logging in your Java process. Many JVMs support the -verbose:class argument for this, and it would allow you to see which JAR file the JVM is using for each class. That will tell us if something in your process is loading classes from a different version of the JARs than expected.
Thanks,
Josh

It's been a few weeks since the last comment here, so I'm assuming this issue is resolved and will close it. However, feel free to reopen if you still have questions.
Thanks,
Josh


Best practice for blog/post images

What is the best practice for storing images for (a) posts (b) site-specific images like those for 404 or other pages? More of a learning question for me, but should images be bundled with posts in the content/english/blog directory? And if so, how do you refer to them (relative path wise)? Where should other pages images go?

you can store your image in content static and assets folders. it's your choice where you actually wanted to store it. Or if you are confused about this, you can discuss it on https://discourse.gohugo.io/


Does detox support native+ReactNative?

Description
I have an app which is developed by android native + ReactNative，There is a case which entrance page is a native page（MainActivity），landing page is a ReactNative page（RNActivity），I want to test RNActivity with detox，is it support?  If
ye, but i encountered an error “com.wix.detox.common.DetoxErrors$DetoxRuntimeException: Waited for the new RN-context for too long! (180 seconds)”
MainActivity：
`public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
findViewById(R.id.click_to_jump).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(MainActivity.this, RNActivity.class);
startActivity(intent);
}
});
}
}`
RNActivity：
public class RNActivity extends ReactActivity {
@Override
protected String getMainComponentName() {
return "example";
}
}
autoui.nativeexample.test.js：
`describe('Example2', function () {
beforeAll(async () => {
await device.launchApp();
});
it('should have welcome screen', async () => {
await expect(element(by.text('click_to_jump'))).toBeVisible();
await element(by.text('click_to_jump')).tap();
});
});`
DetoxTest：
@RunWith(AndroidJUnit4.class)
@LargeTest
public class DetoxTest {
@Rule
public ActivityTestRule mActivityRule = new ActivityTestRule<>(MainActivity.class, false, false);
@Test
public void runDetoxTests() {
DetoxConfig detoxConfig = new DetoxConfig();
detoxConfig.idlePolicyConfig.masterTimeoutSec = 90;
detoxConfig.idlePolicyConfig.idleResourceTimeoutSec = 60;
detoxConfig.rnContextLoadTimeoutSec = (180);
Detox.runTests(mActivityRule, detoxConfig);
}
}
what i want to test is when i launch app, then press 'click_to_jump' button and it should jump to RNActivity，but now i recevied a error ' Waited for the new RN-context for too long! (180 seconds)' and after app launched, MainActivity cannot jump to RNActivity,  can anyone help me?
Your environment
Detox version: 20.0.0
React Native version: 0.63.0
Node version: 16.14.2
Device model: Pixel
OS: android
Test-runner (select one): jest / other:jest

Sadly no, that's currently broken. There is a way to get that fixed, if you're interested in contributing to the project. Please let us know!


PDF Download Does't work anymore

Bug Report
Installation Method
Docker
Environment

Open WebUI Version:  v0.3.19

Ollama (if applicable): 0.3.9

Operating System: Ubuntu 20.04

Browser (if applicable): Chrome

Confirmation:

[ x ] I have read and followed all the instructions provided in the README.md.
[ x ] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ x ] I have included the Docker container logs.
"POST /api/v1/utils/pdf HTTP/1.1" 500 Internal Server Error
[ x ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
Go to your chat, then click download PDF.
Actual Behavior:
Does not start the download. And in the docker log there will be a 500 internal error
Docker Container Logs:
"POST /api/v1/utils/pdf HTTP/1.1" 500 Internal Server Error

I've tested each Download option of a chat on the latest dev commit and I can confirm that the PDF document (.pdf) option, when clicked, does not appear to download the chat as a PDF file. Confirming this bug needs fixed.

Here's a copy/paste of my Docker logs generated from pressing on the PDF document (.pdf) option to download a chat within Open WebUI (logs were cleared directly before pressing on the button): Docker_logs.txt


[AUTOPATCHER] Patches CVE-2022-0156 for vim

        Patches CVE-2022-0156 for vim.
        This patch and PR was automatically generated and needs human verification before merging.

Fixed as a result of #1920
CVE affects up to (excluding) 8.2.4040


Missing Class for Mailgun

Running Version v1.1.0
Class 'PufferPanel\Core\Mailgun' not found

https://github.com/PufferPanel/PufferPanel/issues/770


WAN interface IP address sometimes missing

Example device: https://demo.ispapp.co/#host/63507952c52e085a7a456f78

"lab-ROSv7-wAP-60G-sta" device is not support "gateway-status" in ":local gatewayStatus ([:tostr [/ip route get [:pick [find dst-address=<IP_ADDRESS>/0 active=yes] 0] gateway-status]]);".
In Mikrotik RouterOS line 172.


Total precipitation values often only 6-hourly

The total precipitation amounts (apcpsfc) in the data at https://noaa-nws-graphcastgfs-pds.s3.amazonaws.com/index.html usually only appear to be 6-hourly  e.g. https://noaa-nws-graphcastgfs-pds.s3.amazonaws.com/graphcastgfs.20240623/18/forecasts_13_levels/graphcastgfs.t18z.pgrb2.0p25.f240
This is as opposed to the convention used in most other models where total precip is accumulated over all the hours leading up to the relevant forecast hour.
Is this supposed to be the case?
There's only been a few times where I've noticed that the precip is accumulated over all the previous forecast hours.
EDIT: I just noticed this was also raised in a comment earlier this year at https://github.com/NOAA-EMC/graphcast/issues/32
and it was mentioned that another variable APCP was added to represent precip since model model initialization time.
However, I can only see one apcp variable in there and it still only displays 6-hourly precip most of the time.

@Ken-wx I downloaded the forecast cycle you provided and it contains both APCP fields (0-6 and 0-10days). please see below:
1:0:d=2024062318:PRMSL:mean sea level:240 hour fcst:
2:3244679:d=2024062318:VGRD:50 mb:240 hour fcst:
3:6489358:d=2024062318:VGRD:100 mb:240 hour fcst:
4:9734037:d=2024062318:VGRD:150 mb:240 hour fcst:
5:12978716:d=2024062318:VGRD:200 mb:240 hour fcst:
6:16223395:d=2024062318:VGRD:250 mb:240 hour fcst:
7:19468074:d=2024062318:VGRD:300 mb:240 hour fcst:
8:22712753:d=2024062318:VGRD:400 mb:240 hour fcst:
9:25957432:d=2024062318:VGRD:500 mb:240 hour fcst:
10:29202111:d=2024062318:VGRD:600 mb:240 hour fcst:
11:32446790:d=2024062318:VGRD:700 mb:240 hour fcst:
12:35691469:d=2024062318:VGRD:850 mb:240 hour fcst:
13:38936148:d=2024062318:VGRD:925 mb:240 hour fcst:
14:42180827:d=2024062318:VGRD:1000 mb:240 hour fcst:
15:45425506:d=2024062318:APCP:surface:234-240 hour acc fcst:
16:48670209:d=2024062318:UGRD:10 m above ground:240 hour fcst:
17:51914888:d=2024062318:SPFH:50 mb:240 hour fcst:
18:55159567:d=2024062318:SPFH:100 mb:240 hour fcst:
19:58404246:d=2024062318:SPFH:150 mb:240 hour fcst:
20:61648925:d=2024062318:SPFH:200 mb:240 hour fcst:
21:64893604:d=2024062318:SPFH:250 mb:240 hour fcst:
22:68138283:d=2024062318:SPFH:300 mb:240 hour fcst:
23:71382962:d=2024062318:SPFH:400 mb:240 hour fcst:
24:74627641:d=2024062318:SPFH:500 mb:240 hour fcst:
25:77872320:d=2024062318:SPFH:600 mb:240 hour fcst:
26:81116999:d=2024062318:SPFH:700 mb:240 hour fcst:
27:84361678:d=2024062318:SPFH:850 mb:240 hour fcst:
28:87606357:d=2024062318:SPFH:925 mb:240 hour fcst:
29:90851036:d=2024062318:SPFH:1000 mb:240 hour fcst:
30:94095715:d=2024062318:TMP:2 m above ground:240 hour fcst:
31:97340394:d=2024062318:TMP:50 mb:240 hour fcst:
32:100585073:d=2024062318:TMP:100 mb:240 hour fcst:
33:103829752:d=2024062318:TMP:150 mb:240 hour fcst:
34:107074431:d=2024062318:TMP:200 mb:240 hour fcst:
35:110319110:d=2024062318:TMP:250 mb:240 hour fcst:
36:113563789:d=2024062318:TMP:300 mb:240 hour fcst:
37:116808468:d=2024062318:TMP:400 mb:240 hour fcst:
38:120053147:d=2024062318:TMP:500 mb:240 hour fcst:
39:123297826:d=2024062318:TMP:600 mb:240 hour fcst:
40:126542505:d=2024062318:TMP:700 mb:240 hour fcst:
41:129787184:d=2024062318:TMP:850 mb:240 hour fcst:
42:133031863:d=2024062318:TMP:925 mb:240 hour fcst:
43:136276542:d=2024062318:TMP:1000 mb:240 hour fcst:
44:139521221:d=2024062318:HGT:50 mb:240 hour fcst:
45:142765900:d=2024062318:HGT:100 mb:240 hour fcst:
46:146010579:d=2024062318:HGT:150 mb:240 hour fcst:
47:149255258:d=2024062318:HGT:200 mb:240 hour fcst:
48:152499937:d=2024062318:HGT:250 mb:240 hour fcst:
49:155744616:d=2024062318:HGT:300 mb:240 hour fcst:
50:158989295:d=2024062318:HGT:400 mb:240 hour fcst:
51:162233974:d=2024062318:HGT:500 mb:240 hour fcst:
52:165478653:d=2024062318:HGT:600 mb:240 hour fcst:
53:168723332:d=2024062318:HGT:700 mb:240 hour fcst:
54:171968011:d=2024062318:HGT:850 mb:240 hour fcst:
55:175212690:d=2024062318:HGT:925 mb:240 hour fcst:
56:178457369:d=2024062318:HGT:1000 mb:240 hour fcst:
57:181702048:d=2024062318:VVEL:50 mb:240 hour fcst:
58:184946727:d=2024062318:VVEL:100 mb:240 hour fcst:
59:188191406:d=2024062318:VVEL:150 mb:240 hour fcst:
60:191436085:d=2024062318:VVEL:200 mb:240 hour fcst:
61:194680764:d=2024062318:VVEL:250 mb:240 hour fcst:
62:197925443:d=2024062318:VVEL:300 mb:240 hour fcst:
63:201170122:d=2024062318:VVEL:400 mb:240 hour fcst:
64:204414801:d=2024062318:VVEL:500 mb:240 hour fcst:
65:207659480:d=2024062318:VVEL:600 mb:240 hour fcst:
66:210904159:d=2024062318:VVEL:700 mb:240 hour fcst:
67:214148838:d=2024062318:VVEL:850 mb:240 hour fcst:
68:217393517:d=2024062318:VVEL:925 mb:240 hour fcst:
69:220638196:d=2024062318:VVEL:1000 mb:240 hour fcst:
70:223882875:d=2024062318:VGRD:10 m above ground:240 hour fcst:
71:227127554:d=2024062318:APCP:surface:0-10 day acc fcst:
72:230372257:d=2024062318:UGRD:50 mb:240 hour fcst:
73:233616936:d=2024062318:UGRD:100 mb:240 hour fcst:
74:236861615:d=2024062318:UGRD:150 mb:240 hour fcst:
75:240106294:d=2024062318:UGRD:200 mb:240 hour fcst:
76:243350973:d=2024062318:UGRD:250 mb:240 hour fcst:
77:246595652:d=2024062318:UGRD:300 mb:240 hour fcst:
78:249840331:d=2024062318:UGRD:400 mb:240 hour fcst:
79:253085010:d=2024062318:UGRD:500 mb:240 hour fcst:
80:256329689:d=2024062318:UGRD:600 mb:240 hour fcst:
81:259574368:d=2024062318:UGRD:700 mb:240 hour fcst:
82:262819047:d=2024062318:UGRD:850 mb:240 hour fcst:
83:266063726:d=2024062318:UGRD:925 mb:240 hour fcst:
84:269308405:d=2024062318:UGRD:1000 mb:240 hour fcst:

@Ken-wx,  to be consistent with operational GFS forecasts, graphcastGFS outputs two APCP variables in the output files. One is "bucket" total precip in a 6 hourly window. The other is "continuous" total precip accumulated from initial time. Please make sure you use forecast time "234-240 hour acc fcst" or "0-10 day acc fcst" to retrieve the correct field. Thanks

@Ken-wx, to be consistent with operational GFS forecasts, graphcastGFS outputs two APCP variables in the output files. One is "bucket" total precip in a 6 hourly window. The other is "continuous" total precip accumulated from initial time. Please make sure you use forecast time "234-240 hour acc fcst" or "0-10 day acc fcst" to retrieve the correct field. Thanks

Hmm that's strange - when I use the g2ctl and gribmap to make the .ctl files and index files from the GraphCast grib2 files I download, I get this:
C:\OpenGrADS-2.2>perl g2ctl.pl graphcast.grb2 > graphcast.ctl
** WARNING input Code Table 4.3 = 255 (undefined) for graphcast.grb2 **
** WARNING input Code Table 4.3 = 255 (undefined) for graphcast.grb2 **
** WARNING input Code Table 4.3 = 255 (undefined) for graphcast.grb2 **

C:\OpenGrADS-2.2>gribmap -i graphcast.ctl
gribmap: scanning GRIB2 file: graphcast.grb2
gribmap: Writing out the index file

Then when I then query the file's contents in GrADS, it only comes up with one apcpsfc variable as follows:
ga-> q file
File 1 : graphcast.grb2
  Descriptor: C:/OpenGrADS-2.2/graphcast.ctl
  Binary: C:/OpenGrADS-2.2/graphcast.grb2
  Type = Gridded
  Xsize = 1440  Ysize = 721  Zsize = 13  Tsize = 1  Esize = 1
  Number of Variables = 11
     apcpsfc  0  0,1,8,1  ** surface Total Precipitation [kg/m^2]
     hgtprs  13  0,3,5  ** (1000 925 850 700 600.. 250 200 150 100 50) Geopotential Height [gpm]
     prmslmsl  0  0,3,1  ** mean sea level Pressure Reduced to MSL [Pa]
     spfhprs  13  0,1,0  ** (1000 925 850 700 600.. 250 200 150 100 50) Specific Humidity [kg/kg]
     tmpprs  13  0,0,0  ** (1000 925 850 700 600.. 250 200 150 100 50) Temperature [K]
     tmp2m  0  0,0,0  ** 2 m above ground Temperature [K]
     ugrdprs  13  0,2,2  ** (1000 925 850 700 600.. 250 200 150 100 50) U-Component of Wind [m/s]
     ugrd10m  0  0,2,2  ** 10 m above ground U-Component of Wind [m/s]
     vgrdprs  13  0,2,3  ** (1000 925 850 700 600.. 250 200 150 100 50) V-Component of Wind [m/s]
     vgrd10m  0  0,2,3  ** 10 m above ground V-Component of Wind [m/s]
     vvelprs  13  0,2,8  ** (1000 925 850 700 600.. 250 200 150 100 50) Vertical Velocity (Pressure) [Pa/s]

What would be causing this? Something to do with g2ctl not recognising the difference between the two apcpsfc variables?

@Ken-wx Yes, I think this is a g2ctl issue, g2ctl code needs to be updated to get correct field. A workaround could be to get the continuous APCP from the grib2 file and then use g2ctl to make the plot.

@ken-wx, please see the updates in issue #46.

@Ken-wx, please see the updates in issue #46.

Thanks so much for that! I checked out that update and it worked! Thanks again.


Documentation Updates

Any timeline on when the documentation is going to be updated on for the actual cmdlet examples. For example: Set-CMApplication (https://docs.microsoft.com/en-us/powershell/module/configurationmanager/set-cmapplication?view=sccm-ps) has no mention or examples for the new parameters.

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

ID: c66ae763-8992-e2d0-97f0-22bfe4af182f
Version Independent ID: a2848286-bdb8-ffa1-65be-205f795fc559
Content: System Center Configuration Manager Cmdlet Library changes for Current Branch 1802
Content Source: docs-conceptual/1802_Release_Notes.md
GitHub Login: @aczechowski

Thanks @mikeh36 for the feedback. We unfortunately have a large backlog of work for the PowerShell content, but are looking at ways to improve it in the future.

This content is mostly auto generated from what's in the module, and what's currently published is as of version 1902. I have a pending update to bring it up to the latest version, and then a new process to keep it up to date going forward. I'm going to close this issue.
As for examples... We have limited resources to maintain the over 1100 cmdlet articles for this module (along with the 3200 articles in ConfigMgr core docs). We rely on community support from members like you to assist. If you have a sample example to share for this cmdlet, you can either share that via this feedback system, or submit an edit to the article to contribute your example. For more information, see How to use the Configuration Manager docs.


Fix issue 17037 - std.concurrency has random segfaults

https://issues.dlang.org/show_bug.cgi?id=17037
This didn't turned out as nice as I would have hoped because of std.concurrency's use of global state and Fiber/Thread subtleties.
At least it should fix the segfaults without deadlocking.

Updated according to feedback.

@wilzbach in the same vein as https://github.com/dlang/phobos/pull/5515#issuecomment-311841079 why hasn't the bot suggested a reviewer?

@MartinNowak ping please! this has been open for 7 months!
I'm pinging you since you're slated to be std.concurrency code owner.

@wilzbach in the same vein as #5515 (comment) why hasn't the bot suggested a reviewer?

Same answer as in https://github.com/dlang/phobos/pull/5515#issuecomment-311862553 (we turned the feature of due to too much noise), but https://github.com/dlang/phobos/pull/5573 looks very promising.

This has been all green for awhile now which I think should be a pretty good indicator that it at least shouldn't break anything, and if it does we can revert it. Unfortunately Martin is a pretty busy guy so it's hard to say when he'll get to this.

This has been all green for awhile now which I think should be a pretty good indicator that it at least shouldn't break anything, and if it does we can revert it.

It can't break any code because it only modifies the unittests. My changes are:

Add changeScheduler inside version(unittest) block: This function is a hack to make changing the scheduler in unittests more sane.
Modify problematic unit test: failures in other threads are reported to the main thread which executes the assertion:

this avoids depending on exceptions thrown in other threads to signal test failure.

this allows blocking the main thread until test completion to avoid interference

It can't break any code because it only modifies the unittests

What I was getting at is changes to tests can still break unittests, meaning that any unittest build would fail if one of the tests was broken.

How exactly does the race condition manifest?

Typically it was failing like this:
@property ref ThreadInfo thisInfo() nothrow
{
    if (scheduler is null) // scheduler is modified from non-null to null after this test
        return ThreadInfo.thisInfo;
    return scheduler.thisInfo; // Scheduler is null
}

From a first look, I'd say we should make the tests more sane instead.

The problem is that the code being tested references the global variable (__gshared Scheduler scheduler;)  and we want to test both ThreadScheduler and FiberScheduler implementations. The code assumes scheduler will be set once and left.

I've removed the changeScheduler hack, it wasn't necessary (it must have been left over from when I was debugging because it would make bad tests hang instead of pass & randomly segfault.)

I think it's still necessary to synchronize changing the scheduler, however I don't think the GC.collect part should be present (Thread.pause until other threads have exited.)
With the modified test code, I think the following could still happen:
Main Thread              |    Thread 1    |    Thread 2
                         |  static ~this  |
                         |    cleanup     |    Owner/Link Terminated
assert(receiveOnly...    |                |
scheduler = new ...      |                |
scheduler.start( ...     |                |
assert(receiveOnly...    |                |    static ~this
scheduler = null         |                |    thisInfo()      (data race on scheduler)


added GroupAggregation for clarify.evaluate

this should not be merged before api version 1.2 is out

We can release this in the Experimental package, then migrate it when 1.2 is out. Would you be up for a rewrite, or would you like me to do it?

we can do that! i can rewrite the pull request


Bug Fix: Fix selection when hitting "shift+arrowdown" into a table.

Pressing "Shift+ArrowDown" into a table selects only up to the first table-cell node and its children, even though the whole table appears selected.

Description

Previously, the new focus would be set on the table's parent if the current selection was partially within a table. Now, it will be on the first/last cell of the table.
Closes #6273
Before
screencast-playground.lexical.dev-2024.06.07-14_50_45.webm
After
screencast-localhost_3000-2024.06.07-15_27_25.webm

@serey-roth can you recheck the tests, something seems off, I've reran them a couple of times, but fail consistently.

sorry, removing the tag to prevent e2e test on every run, the tests should be triggered on next Approval again automatically.

@ivailop7 This PR has grown beyond just fixing the "shift+arrowdown" keyboard combination for tables. I've also updated it to handle the "shift+arrowup" combination and various scenarios for these combinations:

When the table is a node
When the table is the first node/last node
When the table is the only node

The changes include a fix for table deletion after using shift+arrow into the table. I've moved the selection logic into the key arrow command listener, which is more logical than the selection change command listener since the latter covers more than just key arrow events.
One thing I've noticed and would like your thoughts on: with my changes, when we shift+arrow down into a table, it also selects the following paragraph. This isn't new behavior—it also happens if you select the table with a mouse. If you think this shouldn't happen, the problem goes beyond the scope of the keyboard events.

@ivailop7 This PR has grown beyond just fixing the "shift+arrowdown" keyboard combination for tables. I've also updated it to handle the "shift+arrowup" combination and various scenarios for these combinations:

When the table is a node

When the table is the first node/last node

When the table is the only node

The changes include a fix for table deletion after using shift+arrow into the table. I've moved the selection logic into the key arrow command listener, which is more logical than the selection change command listener since the latter covers more than just key arrow events.
One thing I've noticed and would like your thoughts on: with my changes, when we shift+arrow down into a table, it also selects the following paragraph. This isn't new behavior—it also happens if you select the table with a mouse. If you think this shouldn't happen, the problem goes beyond the scope of the keyboard events.

This is fine. Will review and merge as is. If you want to fix the selection of the following paragraph, which I think we should, let's do it in a separate PR.

It seems it's failing your new tests, could you check?