Create a better please command

Previously, the please command was just a replacement of sudo. Without any new improvement. In fact, it was worst (sudo == 4 letters, please == 6 letters).
This change will add the ability to repeat the previous command with sudo if it was needed and you somehow forgot.

See https://github.com/robbyrussell/oh-my-zsh/issues/7527


Fixed gcm based tests failures for external contributors.

Intention is to skip not fail those. There was bug with IF makefile statement.

Main is broken, fixing in another PR.


prepend arguments of type struct with "struct"'

the decl_string of for instance "struct sysinfo" should be sysinfo and not just "sysinfo".
For instance matching the sysinfo syscall and printing its first parameter decl_string returns
" ::sysinfo *"
When printing the result of the matcher.find, it gives
resultats= [<pygccxml.declarations.free_calldef.free_function_t object at 0x7f83a8262eb8>]
resultat: extern int sysinfo(sysinfo * __info) [free function]

I would expect
resultat: extern int sysinfo(struct sysinfo * __info) [free function]

I had a look at the sys/sysinfo.h file.
We are talking about the following code, right ?
struct sysinfo {
 ...
};

extern int sysinfo (struct sysinfo *__info);

When writing:
struct sysinfo {
...
};

, this means the sysinfo identifier is defined within the struct name space., see: http://stackoverflow.com/questions/1675351/typedef-struct-vs-struct-definitions/1675446#1675446
Now, the question is, do I need the struct keyword in the parameter definition ? It seems that this keyword is "optional", at least as long as there is no ambiguity: http://stackoverflow.com/a/8423005. The struct keyword  is coming from C, and could be skipped. In sys/sysinfo.h, there is no ambiguity so the struct keyword could be removed, but I guess the file is C and C++ compatible so they are keeping it around.
Compiling the code with or without struct keyword in the parameters works for me with Clang and GCC 6 on OS X. So as this is optional, I am not sure I want to add the further logic for this.
You could argue that using clang -Xclang -ast-dump -fsyntax-only would output something like this:
|-CXXRecordDecl 0x104023600 <test_struct_type.hpp:15:1, col:17> col:8 referenced struct sysinfo definition
| `-CXXRecordDecl 0x104023710 <col:1, col:8> col:8 implicit struct sysinfo
`-FunctionDecl 0x1040238a0 <line:19:1, col:36> col:12 sysinfo 'int (struct sysinfo *)' extern
  `-ParmVarDecl 0x1040237d8 <col:21, col:30> col:30 __info 'struct sysinfo *'

Looking at the xml file produced by CastXML, this information about the struct keyword is not provided. If we want to add that information, we need first to patch CastXML to output that information. Then we need to read it into pygccxml and display it.
It really depends on what you want to do later with that information, and if it is important to you.
The declaration tree seems consistent to me. If sysinfo_decl is your free_function_t declaration called sysinfo, you will have:
print(declarations.remove_pointer(sysinfo_decl.arguments[0].decl_type).declaration.name)
> sysinfo
print(type(declarations.remove_pointer(sysinfo_decl.arguments[0].decl_type).declaration))
> <class 'pygccxml.declarations.class_declaration.class_t'>

If you really need that struct there, another solution would be to always add it to the output. The clang AST dump example I gave is always displaying it, even if struct is omitted.

Yes we are talking about that code :)
I am writing a C program so the "struct" keyword is mandatory (Even in C++, I would most likely prefer to add the "struct" for the same reason the linux kernel bans typedef: readability). with gcc 5, my program won't compile without the "struct" keyword.
If I call declarations.remove_pointer on the "sysinfo *" parameter, I obtain an object of a type "class 'pygccxml.declarations.cpptypes.declarated_t'>" , can I assume "declarated_t" imply struct  ? in which case it would be an easy fix ?

@iMichka Does CastXML not have struct in the output even in C mode (--castxml-cc-gnu-c)? As @teto notes, you need it there for a C program, while it's redundant for a C++ program. If it's absent in C mode, then I'd say that's a CastXML bug.
I guess this raises another question, does pygccxml support C compatible output? I've only ever used it for C++.

@teto I was not completely aware that you were parsing C code. I think you mentioned it somewhere else but I forgot about it.
As @praetorian20 points out, I am not sure pygccxml completely works with C code. All the tests have been running with C++ mode since I overtook the project. Also, I myself never used it for anything else than C++. Of course, in principle most things will just be working as C++ and C are very similar. But small discrepancies like this one do exist.
Also, the CastXML command line is explicitly set to C++ here (with -x c++ for clang):
https://github.com/gccxml/pygccxml/blob/develop/pygccxml/parser/source_reader.py#L162-L163
@praetorian20 I gave it a try with --castxml-cc-gnu-c. It does not change the output of the xml file. No "struct" keyword is appearing (Tested with gcc or clang, and also by removing -x c++).
@teto declarated_t is a class that wraps a type and a declaration. You can call .declaration on it to access the actual declaration. If you want to check if it is a struct, you can use the following check:
decl.class_type == class_declaration.CLASS_TYPES.STRUCT. I may add an is_structmethod later, which seems to be missing in pygccxml.
In conclusion:

pygccxml does not support C code for the moment, or at least it is untested.
supporting C it out of scope of the project, but I would be willing to review pull requests
CastXML may have bug because it should know about the struct keyword. Not sure how the xml output should look in that case though. @bradking may have more insights on that point.

If we want to support C correctly:

The test suite should a least be run with a C compiler on Travis (I can take care of that part)
I just rapidly ran the examples in C mode, they are failing as there are some syntax errors. One would first need to clean them up.
Special-casing code for C may add complexity. It may also alter performance, so we need to be careful.
If only the struct thingy is wished, I can add a flag that you can set as option, to always add it, be it in C++ or C. This may be the faster way to achieve @teto's goal. But if more things are to come for C support, this will not help on a long term.

I haven't met any problem apart from that and the variadic support ("va_list") arguments which I was able to hack around with
s = str(arg.decl_type)
if s.startswith("?unknown?"):
                    # handles variables list
                    log.debug("UNKNOWN => variadic")
                    s = "va_list " + decl.arguments[-1].name

I suppose it's not 100% reliable but in my case it works pretty well.
Having a flag to enforce or not the "struct" keyword sounds like a good idea to comply with user preference, it must be overidden to true in C mode.
For now, I've added special cases for "sysinfo" and a few other functions so there is no hurry even if I would prefer to be the code generation fully automatic via pygccxml.

I dug a little bit though the c++ documentation. This thing is called an "elaborated type specifier" if I get it right (http://en.cppreference.com/w/cpp/language/elaborated_type_specifier).
If I want to implement that correctly, I would need to add it for class, struct, union and enum. I never wrote pure C code, so would those 4 also make sense there ? If I add a flag to enable them, I will probably need to do it for all of them. Or should there be 4 separate flags, for each of the elaborated type specifiers ?

I would vote for a single flag, but I'm not sure adding a flag is the right fix to begin with. What about the case where someone defines a struct like this (quite common in C)
typedef struct foo {} foo;

In that case, foo works even in C and struct foo isn't needed. IMHO, this is something that should be fixed in CastXML. If the struct is required for code to be syntactically valid, it should be present in the XML output.

Yes, let's see first if we can get that information in CastXML first.
I also do not really like the flag thing. It means maintaining different tests for different flags, which is expensive. And also you would only have an on/off switch for all elaborated type specifiers, but you may want to track only those which were really written in your c++ initial source.
There seems a way to get that information here: http://clang.llvm.org/doxygen/classclang_1_1ElaboratedType.html
I need to wrap my head around on how to add that to CastXML, without breaking backward compatibility.

Just to let you know that I am still working on a solution, and I am making good progress. I will submit a patch to CastXML next week, and the pygccxml is almost ready too.

Fantastic, I will resume my work on it when it's ready then. Thanks for the heads-up !

I just opened the patch for CastXML here: https://github.com/CastXML/CastXML/pull/77
Once the patch is merged to CastXML, I will add support for this feature in pygccxml. I am almost done with writing the tests, so this could go fast now.

Hi
So finally the patch I made would have worked but did not take into account all the cases. The situation is a little bit more complicated than thought. You can read about it in the CastXML bug.
I will start working on implementing a new XML file format for CastXML, which will allow to implement the elaborated types feature. We need to do this because the changes would break the old GCCXML format. So we are working on this; but it will take even more time than thought.
BTW, I released 1.8.1 which contains the fix for the function pointers.

I subscribed to the other post so I see the progress.
I've resumed working on my related work but I have some workarounds for the current problem so that's ok.
As a side question, is it possible to copy a structure declaration with pygccxml. For instance the libc defines structures that are not exported and I would like to be able to copy those declarations.
once again thanks for your work, the required changes seem to be quite sthg :)

FYI: Patch has been merged in CastXML; the elaborated types information can now be generated.
I already implemented code to generate the files with the new format, using pygccxml.
The next step will be to fully support this in pygccxml. I will start with this during the week.
There is also a bunch of CI that need to be tweaked to have the tests running with the old and the new format. It's not really blocking this but I do want to have the tests running the newest version. For ref.: #74.

cool stuff ! let me know when there is a branch you want me to test. Thanks for your dedication :+1:

@teto I pushed the last changes, you can test this now on the develop branch. You will need a recent castxml, and set castxml_epic_version=1 as flag in the configuration for pygccxml.
There is now a new elaborated_t type, which works similarly to the others qualifiers types like const_t etc...
I will need a few weeks to finish the 1.9.0 release, I have some details to take care of, but it would be great if you could give this a try.

Thanks for the update. I just installed castxml-dev, will try to test teh changes this week. Any example I could/should look at for elaborated_t use ?

I couldn't find a "castxml_epic_version" string in castxml code I believe it's "--castxml-output=1" instead ?

My bad I see that was a pygccxml flag.
I wonder if that check is necessary as castxml will throw an error anyway
        if self.__config.castxml_epic_version is not None:
            if self.__config.castxml_epic_version != 1:
                raise RuntimeError(
                    "The CastXML epic version can only be 1, "
                    "but it was " + str(self.__config.castxml_epic_version))

Any example I could/should look at for elaborated_t use ?

Nothing fancy here, it works as he other compound_t objects. I just added a small example to document this new behaviour: http://pygccxml.readthedocs.io/en/develop/examples/elaborated/example.html

I couldn't find a "castxml_epic_version" string in castxml code I believe it's "--castxml-output=1" instead ?

As you found out, castxml_epic_version is a pygccxml flag.

I wonder if that check is necessary as castxml will throw an error anyway

That check is only there to make sure that if somebody provides that flag, it is set to 1. Nothing more. If castxml is an older version and the flag is provided, then castxml will throw an error an tell the user that this is not working. I should maybe add a try/catch more around the castxml call, and throw my own exception telling the user that he can't do this with older castxml versions, but this is probably overkill.

I'm closing this issue, as the 1.9.0 release is out since some time now. You can still comment here or open a new issue if you have any problems with this new feature. Feedback is welcome. Thanks for your patience.


Security Analyzer : evaluate module header/footer

Moved from: https://github.com/DNNCommunity/DNN.SecurityAnalyzer/issues/20
Originally submitted by @moorecreative
We have many DNN instances, especially older 4x and 5x versions that have upgraded over time, where the Module Header/Footer has been used to wrap a module within a DIV or to place extra BR breaks after a module.
example:
TabId: 280, Module Id: 716
Header:
Footer: < br />
These are harmless, intended uses of the module header/footer block of content but they show up as records in the Security Analyzer for review. And rightly so!
I wonder if there could be a slight enhancement to the way the module returns values here and either:
only returns if it finds certain potentially hack-used code such as: iframe, script, js, css, etc.
or, if it is best to have it return everything like it does now, to have it highlight in yellow any of the records which have those type of code elements within the content. That way, they're quick to see/find within the full list.
The other enhancement I would recommend is that the "TabID: 280, Module Id; 716" Be turned into a link that you can use to load that page of the site. Not only for efficient review/clicking, but mainly because it does not display which portal that module comes from, so in a multi portal DNN instance of 25+ portals, you're left guessing which that might be. Even though you'd likely make repairs directly in the database, it would be helpful to click and see the portal.

From a security standpoint, I do NOT recommend that we try to "analyze" the good/bad of an item, as ANYTHING could be a defacement, even stuff that looks not harmful.
However, I would agree that linking to the page would be a great feature add.

Closing this one in favour of #3073


[BUG] Export sheet: Abilities are called [object Object]

As the title reads, the ability scores of the print sheet are called [object Object]:

Used game system: DnD: 5th Edition (current version)
Foundry version: V11 (current snapshot)

I see some breaking change in the dnd 2.4 Patch Notes. I will investigate.
Just to be sure, are you using the latest version of the module (Release 2.3.2) ?

Yes I am! I just installed this module when looking for ways to give my players at the table their character sheets as a printed version.
I have now taken the time to write a module (or rather fix and enhance) that lets you display your sheet via smartphone, so this issue is, at least for me, not pressing.

Done in version 2.4.0


Plans for a NuGet package?

Are there any plans to create a NuGet package for JsRender? I think this would be a great feature to be able to add and manage JsRender versions for those using the Microsoft development platform.

Yes, it is planned for V1 - see https://github.com/BorisMoore/jsrender/issues/211. So I'll close this issue as a dup.


CMake reorg phase1

Description
Part of the CMake modernization effort.
Two parts to this phase:

Checks for includes, function prototypes, etc

Moved out of root CMakeLists.txt to a new file: SystemChecks.cmake.
Removed a few checks that were no longer being used.

Third party library handing

Moved install functions and inclusions of Find modules out of root CMakeLists.txt into SetUpThirdParty.cmake.
Functions were updated to utilize cmake_path instead of get_filename_component.
Modified Find modules to remove inclusion of SetUpThirdParty.cmake or ThirdPartyInstall.cmake
Removed ThirdPartyInstall.cmake.

Type of change

* [ ] Bug fix
* [ ] New feature
* [ ] Documentation update

[X] Other~~
CMake modernization.

How Has This Been Tested?
I compiled successfully on pascal and Windows.
Checklist:

[X] I have followed the style guidelines of this project.~~
[X] I have performed a self-review of my own code.~~
[X] I have commented my code where applicable.~~
- [ ] I have updated the release notes.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have confirmed new and existing unit tests pass locally with my changes.
- [ ] I have added new baselines for any new tests to the repo.
- [ ] I have NOT made any changes to protocol or public interfaces in an RC branch.
[X] I have assigned reviewers (see VisIt's PR procedures for more information).~~

Late to the replying but these were for verification that the everything was set correctly.


made some code qualtiy

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Hi @banushanv
Can you explain the reasoning behind these changes.


File name length should support 255 characters

Is this a BUG REPORT or FEATURE REQUEST?:
This bug is for file share name length, it supports only 128 characters for now. But actually most modern Linux and UNIX limit filename to 255 characters (255 bytes). However, some older version of UNIX system limits filenames to 14 characters only.

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
IT automation is throwing 400 error for file share name of length 232 itself, below is the test case
	It("TC_FS_IT_06: Create file share name length more than 255 characters ", func() {
			var jsonStr2 = map[string]interface{}{"name": "abqwqwqwggg012345678910gggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg", "description": "This is just for testxxx", "size": 2, "profileId": "df40af1a-17b5-48e5-899f-fa098b0bd5da"}
			url := "http://<IP_ADDRESS>:50040/v1beta/e93b4c0934da416eb9c8d120c5d04d96/file/shares"
			methodName := "POST"
			resp, err := utils.ConnectToHTTP(methodName, url, jsonStr2)
			Expect(resp.StatusCode).Should(Equal(400))
			Expect(err).NotTo(HaveOccurred())
		})

Below is the output
{"code":400,"message":"create fileshare failed: fileshare name length should not more than 128 characters. current length is : 232"}•Resp is ... :&{400 Bad Request 400 HTTP/1.1 1 1 map[Content-Type:[application/json; charset=utf-8] Date:[Thu, 05 Sep 2019 05:15:55 GMT] Content-Length:[114]] 0xc00021c640 114 [] false false map[] 0xc0001db500 <nil>}response Status: 400 Bad Request

What you expected to happen:
It should create file share name length upto 255 characters length
How to reproduce it (as minimally and precisely as possible):
Run test case number "TC_FS_IT_06" in test/integration/fileshare_test.go
below is the test case
It("TC_FS_IT_06: Create file share name length more than 255 characters ", func() {
var jsonStr2 = map[string]interface{}{"name": "abqwqwqwggg012345678910gggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg", "description": "This is just for testxxx", "size": 2, "profileId": "df40af1a-17b5-48e5-899f-fa098b0bd5da"}
url := "http://<IP_ADDRESS>:50040/v1beta/e93b4c0934da416eb9c8d120c5d04d96/file/shares"
methodName := "POST"
resp, err := utils.ConnectToHTTP(methodName, url, jsonStr2)
Expect(resp.StatusCode).Should(Equal(400))
Expect(err).NotTo(HaveOccurred())
})
Anything else we need to know?:
Environment:

Hotpot(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Fixed in #1077 so closing this issue


C# Editor Plugin crashes Godot 4.3 when GraphNode is added to GraphEdit

Tested versions

Reproducible in v4.3.beta1 (a4f2ea91a), Godot v4.3-stable (77dcf97d8), and v4.3.1-rc
Tested in Godot v4.2.2-stable (15073afe3), and this is not an issue

System information
Windows 11 - v4.3.stable.mono.official.77dcf97d8 - Vulkan 1.3.278 - Forward+ - NVIDIA GeForce RTX 4060 Ti
Issue description
Through the process of using the Dialogue Trees plugin, I noticed that an exception is thrown whenever trying to edit a DialogueTree node. The exception thrown is a AccessViolationException, which shortly crashes Godot 4.3 with no further information other than the stack trace.
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Godot.NativeInterop.NativeFuncs.godotsharp_method_bind_ptrcall(IntPtr, IntPtr, Void**, Void*)
   at Godot.NativeCalls.godot_icall_3_767(IntPtr, IntPtr, IntPtr, Godot.NativeInterop.godot_bool, Int32)
   at Godot.Node.AddChild(Godot.Node, Boolean, InternalMode)
   at Ardot.DialogueTrees.DialogueGraph.<LoadTree>g__AddDialogueNode|26_0(Godot.Node, Int32, <>c__DisplayClass26_0 ByRef)
   at Ardot.DialogueTrees.DialogueGraph.LoadTree(Ardot.DialogueTrees.DialogueTreeData, Boolean, Godot.Collections.Array`1<Godot.Node>)
   at Ardot.DialogueTrees.DialogueTreeDock.LoadTree(Ardot.DialogueTrees.DialogueTree)
   at Ardot.DialogueTrees.DialogueTreesPlugin._Edit(Godot.GodotObject)
   at Godot.EditorPlugin.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name ByRef, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant ByRef)
   at Ardot.DialogueTrees.DialogueTreesPlugin.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name ByRef, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant ByRef)
   at Godot.Bridge.CSharpInstanceBridge.Call(IntPtr, Godot.NativeInterop.godot_string_name*, Godot.NativeInterop.godot_variant**, Int32, Godot.NativeInterop.godot_variant_call_error*, Godot.NativeInterop.godot_variant*)

It seems to occur when trying to add or remove a GraphNode from the DialogueGraph class (which extends GraphEdit). I tried passing brand new GraphNode, I tried deferring the calls, and I tried removing the optional parameters, as well as playing with the values of the different AddChild parameters. All of these seem to have no effect on the exception occurring and a crash following after.
It's also important to note that this does not occur on DialogueTree nodes which are recently added to the scene, only ones loaded from the file system. This is only impacting the DialogueGraph added to the dock; the DialogueTree node functions properly when running in-game.
I tried running memory dumps and attaching the godot process to a debugger, and there is no breakpoint hit or any sort of trace in the memory dump outside of the AccessViolationException being thrown only in the managed assembly. It just silently closes Godot with exit code 139 (SIGSEGV signal - Memory Access Violation).
Steps to reproduce
With the Minimal Reproduction Project:

Open up TestScene.tscn in the Godot Editor
If the crash hasn't happened yet, select the DialogueTree node in the scene.

Without the Minimal Reproduction Project:

Install Dialogue Trees - C# from the Asset Library
Create new scene with DialogueTree node
In the DialogueTree editor in the bottom dock, add an output node and hook it up to the start node (you'll need to expand the window)
Save the scene and close it
Re-open the scene and try selecting the DialogueTree node

Minimal reproduction project (MRP)
DialogueTest.zip

Looks like it may be a regression from https://github.com/godotengine/godot/pull/88014 cc @Geometror
It seems connections_layer is null when this Callable is called:
https://github.com/godotengine/godot/blob/fd7239cfab228c50777cd54a8bf6eb279a02ef81/scene/gui/graph_edit.cpp#L626

Well, I'm surprised it took so long until we see the non-internal connection layer causing problems ;)
It looks like you remove all children including the connection layer at some point (haven't checked the addon code). To fix this crash you need to check whether each node you remove is a GraphElement. The connections layer has to be kept non-internal for now because internal nodes at arbitrary indices (not just front or back) are currently not possible and it has to be drawn between frames and graph nodes.
I'm going to open a PR which adds an warning when you accidently remove the connection layer as well as checks everywhere a crash could occur (not ideal, but at least it's safe).

It looks like you remove all children including the connection layer at some point (haven't checked the addon code). To fix this crash you need to check whether each node you remove is a GraphElement. The connections layer has to be kept non-internal for now because internal nodes at arbitrary indices (not just front or back) are currently not possible and it has to be drawn between frames and graph nodes.

Yep! It seems to be caused by DialogueGraph.ClearTree(), which just calls GetChildren() and frees all children. Adding a filter for any node named _connection_layer seems to prevent it from being removed.
This seems like an issue that can be easily ran into; Is it possible for _connection_layer to be made internal to prevent it from being treated as a non-internal node?

Unfortunately not, as I said:

The connections layer has to be kept non-internal for now because internal nodes at arbitrary indices (not just front or back) are currently not possible and it has to be drawn between frames and graph nodes.

The best we can do is warn the user about it and prevent the crash, hence https://github.com/godotengine/godot/pull/96309


Bigtable: refactoring read_rows infrastructure

This work is on behalf of understanding the issues behind issue #5876 where InvalidChunk is thrown due to row keys being processed out of order.
About this PR

introducing PartialRowsData._process_chunk to break up logic in __iter__, and allow for additional testability.  __iter__ is responsible to get chunks, call _process_chunk, and manage last_scanned_row_key.
removed _copy_from_current
_state is now explicitly set
fixed a bug in PartialRowsData.counter which was counting chunks instead of rows.  This counter is used in reconstructing requests for "smart retries" that update the request on transient exceptions

@tseaver, CircleCI doesn't like this setup, but we need it in order to run system tests.

@sduskis I rebased against the current master, which should allow the tests to run.

@tseaver, CircleCI still doesn't like this PR :(

@tseaver, Circle is now happy.  How can we kick off system tests?

@tseaver, would it help if I made smaller PRs instead of this large one?

@sduskis The system tests did run in https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/8122 (because the branch is local to this repository).


SW staffing table registration

When a SW registers to staff a party they are forced to add a second SW. Remove the mandatory second SW.

Resolved with other work.


Operation not permitted when running on macos

When running dartssh2 on MacOS, I get SocketException with
message: 'Connection failed'
osError.message: 'Operation not permitted'
osError.errorCode: 1
Any suggestions?

If you want to run executable in a MacOS flutter context, you need to disable sandbox mode.
go to macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements and change the below lines to
<dict>
	<key>com.apple.security.app-sandbox</key>
	<false/>
</dict>


Choose which solution to display after solving a problem several times.

The title is pretty explicit. When we solve a problem several times, the last solution is shown when someone clicks on "View Solution". I would like to be able to choose instead.
This is a rather minor feature request but I just thought about it after commenting someone to look at my solution to see a better way to do something, but my "solution" actually showed theirs, because I had tinkered with it.

If solutions without "submit final" were not stored, then there would not be such problem.


About toggle button

Hello I'm sorry if you are not allowed to ask this kind of question here
but I'm in doubt
Is there a possibility to do this with jfoenix?
Which component to use?
I searched a lot and found nothing :(

Hello, you can use JFXToggleNode with an icon as its graphic.


Initial content

Pull requests

https://github.com/Senzing/senzing-data-encryption-specification/pull/2

Pull requests

https://github.com/Senzing/senzing-data-encryption-specification/pull/2


polars-learn

Always funny how these projects start, one goes from like 100 users that understand the tremendous opportunity of fast in-memory computing --- and then 2-3 years later 10 million people heavily rely on your solutions.
There is a lot of potential in your project, it lacks a name, clarity (too much text on readme), marketing, and objectives. I think polars extensions and libraries built ontop of polars is the future of data science for the next 10 years.
Similar to rust-ml/linfa, I think you should aim for something much more grand. Why not search active open-source sponsorship, corporate or otherwise.
There is currently no polars sklearn. How could this be?. It is currently the most obvious missing link in data science. It is for a DS geek a wheeled suitcase moment - "We put wheels on bags after we put a man on the moon".
We need clustering, we need dimensionality reduction, feature selection, pairwise interactions, we need a polars machine learning and data-science project worth throwing yourself behind. Everybody is so busy creating LLMs to generate chicken casserol recipes, nobody is doing any actual work.
What are the hundreds and thousands of data scientists doing in their free time? Thanks for picking up the slack, you will be tomorrow's heros.

Hopefully you have seen this solution https://github.com/azmyrajab/polars_ols
You should get your company onboard OS packages are becoming the best marketing for great talent acquisition

Yep I am fully aware of polars_ols. The main thing is that I do not want to introduce dependency on third party blas or Lapack distributions.. It's a nightmare configuring all that. I am betting on Faer-rs, which is an alternative to those old C/Fortran linear algebra libraries. I take dependency very seriously. You can read up on how SciPy almost couldn't compile for Python 3.12 because of old Fortran dependency.  So far for linear regression and SVD, speed is on par and even better in some cases and the author seems to be very knowledgeable.

@firmai  By the way, I am an NYU alumni :)

functime developers don't seem that interested in the pacakge, they still haven't updated for polars 1, don't you think it is better to asborb it into your package https://github.com/functime-org/functime/issues/250

functime developers don't seem that interested in the pacakge, they still haven't updated for polars 1, don't you think it is better to asborb it into your package https://github.com/functime-org/functime/issues/250

Yes and no. I have been adding tsfresh style features slowly. Currently they are scattered around in num.py and stats.py and I haven't consolidated the features. Functime did a huge project of rewriting most Tsfresh features and I was part of the project, and I did a lot of performance testing and wrote more optimal queries for a lot of the features... So yes, I can take care of the feature extraction easily. I have more than half of what tsfresh and functime offers.  Sigh...
Although I like functional programming, I find it hard to track states in Functimes's transforms and I am increasingly feeling that classes are fine as long as they are shallow and serve one focus..
Time series transforms can be very different from traditional tabular ML transforms and
I do not do time series a lot in my work and I am mostly learning along the way so it will take some time for me. I can go and ask the maintainers about the future of functime..

Yep I am fully aware of polars_ols. The main thing is that I do not want to introduce dependency on third party blas or Lapack distributions.. It's a nightmare configuring all that. I am betting on Faer-rs, which is an alternative to those old C/Fortran linear algebra libraries. I take dependency very seriously. You can read up on how SciPy almost couldn't compile for Python 3.12 because of old Fortran dependency. So far for linear regression and SVD, speed is on par and even better in some cases and the author seems to be very knowledgeable.

how is your OLS coming along?

Ridge, Lasso, Rolling and Recursive are added in v0.5.1 (a bugged version of Ridge was introduced in v0.5.0). I have made some changes and improvements to all of these since the release. You can find them in the docs here:
https://polars-ds-extension.readthedocs.io/en/latest/num.html#polars_ds.num.query_rolling_lstsq
More null_policies will be good. But that can be tricky...
We also developed some benchmarks vs. sklearn. These are not strictly apples-to-apples, because the default "solver" may not be the same. For Lasso, I am also "not minding the dual gap" at this moment because I do not understand it well enough. (Also practically, I think it is enough to stop coordinate descent when the updates are small). Anyways, using the default, we have some good numbers:

Turns out standalone linear regression is EASY. A regular LR class (linear regression) and an Online LR class has been implemented.
I also added weighted lstsq as an option in query_lstsq, and linear regression with rcond.
A new ver will be released this coming weekend and I would like to take a break from linear regression.. Next is likely k-means, standalone kdtree and the ball-tree algorithm.


ValueError when loading fixture.

What I'm trying to achieve
I am trying to load a fixture from db.json on heroku but it throws a ValueError when it tries to convert from string to float.
Steps to reproduce the problem
I run the following command: heroku run python manage.py loaddata db.json
I get the following output:
Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 1746, in to_python
    return float(value)
ValueError: could not convert string to float: '1.0 kg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/serializers/python.py", line 135, in Deserializer
    data[field.name] = field.to_python(field_value)
  File "/app/.heroku/python/lib/python3.6/site-packages/django_measurement/models.py", line 94, in to_python
    value = super(MeasurementField, self).to_python(value)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 1751, in to_python
    params={'value': value},
django.core.exceptions.ValidationError: ["'1.0 kg' value must be a float."]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 316, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 353, in execute
    output = self.handle(*args, **options)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/commands/loaddata.py", line 72, in handle
    self.loaddata(fixture_labels)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/commands/loaddata.py", line 113, in loaddata
    self.load_label(fixture_label)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/commands/loaddata.py", line 168, in load_label
    for obj in objects:
  File "/app/saleor/core/utils/json_serializer.py", line 42, in Deserializer
    yield from PythonDeserializer(objects, **options)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/serializers/python.py", line 137, in Deserializer
    raise base.DeserializationError.WithData(e, d['model'], d.get('pk'), field_value)
django.core.serializers.base.DeserializationError: Problem installing fixture '/app/db.json': ["'1.0 kg' value must be a float."]: (product.producttype:pk=1) field_value was '1.0 kg'

It seems to me that there is an issue with the shipping weight value when specifying the details of a Product Type.

The kg is somehow getting concatenated to the specified value and thus the string cannot be converted to a float. Any idea why?
Screenshots

System information
Operating system: MacOS
Browser: Chrome

@raybesiga Did you manage to resolve this issue?

@maarcingebala I did not. I had to populate from scratch sadly.


feat: Record vars in BYOB workflows

Summary
The vars context is converted to JSON and passed to setup-generic by the TRW in the same way that the inputs context is added. Vars are then recorded in the SLSA token. Individual vars can be masked from the provenance as well via the slsa-masked-vars field in the same way as inputs.
verify-token reads the vars from the SLSA token and includes them in the final provenance.
Note that changes to the TRW are necessary to record the vars context.
TODO:

[x] Support recording vars in BYOB
[x] Record vars in Node.js builder
[x] Record vars in maven builder
[x] Record vars in gradle builder
[x] Record vars in bazel builder
[ ] Document changes for TRWs

Updates #1555
Testing Process

[ ] Add how to test.

Checklist

[x] Review the contributing guidelines
[x] Add a reference to related issues in the PR description.
[ ] Update documentation if applicable
[x] Add unit tests if applicable.
[x] Add changes to the CHANGELOG if applicable.

[x] Record vars in Node.js builder
[x]  Record vars in maven builder
[x]  Record vars in gradle builder
[x]  Record vars in bazel builder

Though, I think BYOB itself should support setting the vars we perhaps shouldn't set them for these builders since they don't need to be used in the TRW.

I'm kind of thinking we don't really care about this with BYOB for now since for builders the caller can just require users to pass vars as TRW inputs.
We will need this to support generators but we don't currently support generators anyway so it isn't urgent.


Request to add a license to your project

Hi, I am familiar with your project and I noticed that it does not have a LICENSE file in the root directory. I would like to suggest that you add a license to your project so it can be freely used, modified, repurposed, or shared by the open source community. You can find information on various licenses here. To choose the right license for your project, check out choosealicense.com. If you have already chosen a license, to apply this license in a way that the community can recognize, you can add a file in the root directory of your default branch named LICENSE containing your license.

@Linesmerrill Thanks for the suggestion. I have added a license to this repo.

Awesome! Thanks


Add LD_PRELOAD for Coupled Model

Recent testing with mom5 by @yvikhlya and @sanAkel (see https://github.com/GEOS-ESM/GEOSgcm/issues/352 and https://github.com/GEOS-ESM/GEOSgcm/issues/430) in GEOSgcm has shown a need to bring back the old LD_PRELOAD mechanism that was removed in #204. So this PR brings back LD_PRELOAD but only in the case of MOM5
Obviously not ideal, but until this oddity can be examined by @tclune and @weiyuan-jiang (and maybe @atrayano), ~we bring back LD_PRELOAD ONLY when running MOM5 as runs of MOM6 don't seem to care!~
As @yvikhlya pointed out below, MOM6 might only work due to luck. So we preload both.

@mathomp4 I thinks both MOM5 and MOM6 need explicit LD_PRELOAD. MOM6 does not care now because it luckily goes first in load list (check ldd GEOSgcm.x), but if somebody will change something in cmake for example which will cause libmom6.so to go behind libmom5.so, we will scratch our heads again, why MOM6 does not work

@mathomp4 I thinks both MOM5 and MOM6 need explicit LD_PRELOAD. MOM6 does not care now because it luckily goes first in load list (check ldd GEOSgcm.x), but if somebody will change something in cmake for example which will cause libmom6.so to go behind libmom5.so, we will scratch our heads again, why MOM6 does not work

Hmm. Well, I can add that if you like. Give me a second...

@yvikhlya Okay, this should now preload both.

Note: I probably need to generalize this for macOS since it is libmom6.dylib on that. I'll need to figure the best way to do this.

I've pushed my generalized updates. Honestly, I think LD_PRELOAD might be ignored on macOS, not sure as it seemed to work with both .so and .dylib and the first obviously doesn't exist. But, well, I figure we should at least make it look right on macOS. 😄


Create vueuse-electron.ts

Provide @vueuse/electron preset.

We need to also include it in the index.ts

Closing due to inactivity. Please open a new issue referencing to this one if you can follow up with more information.


Can't find variable: AudioContext on Safari

When try to open page on safari mobile, the page keep white and at console says: Can't find variable: AudioContext

Possible solution: stackoverflow.com/questions/29373563/audiocontext-on-safari

#26 Solve blank screen, but method getFloatTimeDomainData, doesn't exist too

I found this: analyser-getfloattimedomaindata-does-not-exist-in-safari
He define the method using getByteTimeDomainData

Missing getFloatTimeDomainData was fixed with #28


Normalization - cloud native

There is a couple of standards we apply on other images that we lack here.

[ ] output redirectiong to stdout/stderr (not yet working)
[ ] running user to be kool

:+1: for using kool user... also moving to alpine


project setup

gitignore MacOS files, add vscode workspace config, update install instructions, update package-lock to use v3

not entirely sure why this caused a conflict, I branched from main after pulling your latest changes


instead of just an annotation...

maybe have a prompt (and actually accept the response?)

Look at this http://textangular.com/


DUNS number

Description of change
This adds the duns_number field to company model as a 9 digit number with leading zeros.
The field is a charfield instead of an integerfield because the leading zeros are required when integrating with D&B.
This adds the read-only field duns_number to the response body of all company endpoints.
It's currently not possible to search for a duns_number because it's not needed and the frontend does not expose this field yet.
For similar reasons, the company export functionality does not include the duns_number field.
Checklist

[x] Has a new newsfragment been created? Check changelog/README.rst for instructions
[x] Have any relevant search models been updated?
[x] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[x] Has the admin site been updated (for new models, fields etc.)?
[ ] Has the README been updated (if needed)?

Don't we need a news fragment for the database as well?


⚠ BCR Bot has degraded performance

In 65c82ee, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1712 ms

Resolved: BCR Bot performance has improved in 3f74a9d.


PostgreSQL

Include in guides/databases

I'll work on this and include SQLAlchemy in the same folder as well? Both are used together mostly, in Postgres based database structure.

I want to take this issue. Please assign :-)

Assigned to @Shristy2404

what is the issue, it nt clear from description
P.S. I m a beginner

Is it unassigned ? If nt den pls assign it to me....


Redis messages are not processed without multitenancy

Hi,
I have an app that uses Redis as a backend for messages. The message handler did not get called when an ad-hoc event was published by the app. I debugged it down to this function in initialize.js:
const registerEventProcessors = () => {
  _registerUnsubscribe();
  config.redisEnabled && config.attachRedisUnsubscribeHandler();

  if (!config.registerAsEventProcessor) {
    return;
  }

  const errorHandler = (err) => cds.log(COMPONENT).error("error during init runner", err);

  if (!config.isMultiTenancy) {
    runner.singleTenant().catch(errorHandler);
    return;
  }

  if (config.redisEnabled) {
    initEventQueueRedisSubscribe();
    config.attachConfigChangeHandler();
    runner.multiTenancyRedis().catch(errorHandler);
  } else {
    runner.multiTenancyDb().catch(errorHandler);
  }
};

I don't know the internal plumbing well but why cannot be Redis used for message processing in single tenant mode? I don't want to have multitenancy enabled but still want to use Redis a backend for the messages. Thanks

good catch - will fix this in the next release

new version is released: https://github.com/cap-js-community/event-queue/releases/tag/v1.7.3
please check if this works for your use case

Hi, I tested this with the version 1.7.3. It works now. Thanks


Create modicons

This plugin adds fake crowns to your local client and is intended to be harmless fun, based upon the Fake Iron Icons plugin.

Thank you for the submission, but we are not interested in hosting this plugin.


CB-15182 Update E2E tests to configure the instance group network for…

… the not multi-az compatible clusters
We need to guarantee that the global network and instance group network are missing. The misconfiguration comes from the default mechanism of CB. The CB set the global network to the preferred subnet id but we send a different subnet id in the instance group network. It caused a dis attachment issue. So we must set any other subnet in the instance group network and it must work.

have you executed repair and upgrade test locally to validate this change?

Yes I have, but the job was green as well previously. Why?

have you executed repair and upgrade test locally to validate this change?

Yes I have, but the job was green as well previously. Why?

Do you mean the aws-test CI job? As I see, you are using the withPreferredSubnetsForInstanceNetworkIfMultiAzEnabledOrJustFirst method only for repair and upgrade sdx e2e test, but the CI job only executes a simple distrox e2e test, which probably not covers this change.

have you executed repair and upgrade test locally to validate this change?

Yes I have, but the job was green as well previously. Why?

Do you mean the aws-test CI job? As I see, you are using the withPreferredSubnetsForInstanceNetworkIfMultiAzEnabledOrJustFirst method only for repair and upgrade sdx e2e test, but the CI job only executes a simple distrox e2e test, which probably not covers this change.

I have checked, and we execute this test suit: aws-e2e-tests.yaml.

I see this from job


OpenAI Component Outputs Empty String for Text Without Error Logs or Exceptions

Bug Description
We have encountered an issue where the OpenAIModelComponent sometimes outputs an empty string ("") as the response text. This occurs without raising any exceptions or printing any error logs, making it difficult to diagnose the root cause. The issue is particularly problematic when using streaming, as the empty output silently breaks the stream without any visible indication of failure.
It's only occurring in our docker deployment, not when the flow is run directly on the laptop, so it's not clear how to diagnose the root cause without more logging details.
When I enable LangSmith tracing, the trace is unable to complete for the streaming implementation. I get:
ERROR    -     service.py:186
service - Error ending trace OpenAI (OpenAIModel-fwMSu): 'FieldInfo'  object has no attribute 'create_run'

Reproduction
Run the OpenAI component in a docker deployment (with docker networking) with streaming.
My docker compose looks like this:
version: "0.4.12"

networks:
  langflow-network:
    driver: bridge

services:
  langflow:
    build:
      context: .
      dockerfile: Dockerfile.langflow
    ports:
      - "7860:7860"
    depends_on:
      - postgres
    environment:
      - LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow
      - LANGFLOW_LANGCHAIN_CACHE=InMemoryCache
      - LANGFLOW_WORKERS=1
      - LANGFLOW_BACKEND_ONLY=true
      - LANGFLOW_STORE_ENVIRONMENT_VARIABLES=true
      - LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT=ASTRA_DB_TOKEN,ASTRA_DB_DATABASE_ID,OPENAI_KEY,OPENAI_API_KEY,OPEN_API_KEY,ASTRA_ENDPOINT,MYSQL_USER,MYSQL_PASSWORD,MYSQL_DB,MYSQL_HOST,LANGCHAIN_TRACING_V2,LANGCHAIN_SESSION,LANGCHAIN_API_KEY
    volumes:
      - langflow-data:/app/langflow
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 10s
    networks:
      - langflow-network

  postgres:
    image: postgres:16
    environment:
      POSTGRES_USER: langflow
      POSTGRES_PASSWORD: langflow
      POSTGRES_DB: langflow
    ports:
      - "5432:5432"
    volumes:
      - langflow-postgres:/var/lib/postgresql/data
    networks:
      - langflow-network

  nextjs-app:
    environment:
    - HOST=<IP_ADDRESS>
    - PORT=3000
    - DEBUG=next:*
    build:
      context: .
      dockerfile: Dockerfile.app
    ports:
      - "3000:3000"
    depends_on:
      - langflow
    networks:
      - langflow-network

volumes:
  langflow-postgres:
  langflow-data:

The langflow docker file:
FROM langflowai/langflow:1.0.18

WORKDIR /app

COPY flows /app/flows

COPY .env.docker /app/.env

RUN pip install -U cassio mysql-connector-python oracledb sentence-transformers

ENV LANGFLOW_LOAD_FLOWS_PATH=/app/flows

EXPOSE 7860

CMD ["langflow", "run", "--env-file", "/app/.env", "--backend-only", "--host", "<IP_ADDRESS>", "--port", "7860"]

The app dockerfile:
# Use an official Node.js runtime as a base image
FROM node:18-alpine

# Set the working directory
WORKDIR /app

# Copy package.json and package-lock.json files
COPY package*.json ./

# Install dependencies
RUN npm ci

# Copy the rest of the application
COPY . .

# Build the Next.js app
RUN npm run build

# Expose the app on port 3000
EXPOSE 3000

# Start the app
CMD ["npm", "run", "dev"]

Expected behavior
Streaming should function properly, or at least if there's an issue, I should get some kind of error output to help with troubleshooting.
Who can help?
No response
Operating System
Mac M1 (Apple Silicon)
Langflow Version
1.0.18
Python Version
3.10
Screenshot
No response
Flow File
No response

Something odd is happening here because I swapped out the OpenAI component with the OLlama component, and I got the same behavior.
Seems like it's not specific to OpenAI but is specific to the streaming functionality.
Logs are below:
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base  base.py:1494
wikichat-langflow-1    |                              - Vertex Prompt-l7YlL, result:
wikichat-langflow-1    |                              <langflow.graph.utils.UnbuiltResult
wikichat-langflow-1    |                              object at 0xffff3776c0b0>, object:
wikichat-langflow-1    |                              {'prompt': Message(text_key='text',
wikichat-langflow-1    |                              data={'template': "You're helping a
wikichat-langflow-1    |                              customer support agent with a
wikichat-langflow-1    |                              customer. . . . ', sender=None,
wikichat-langflow-1    |                              sender_name=None, files=[],
wikichat-langflow-1    |                              session_id='', timestamp='2024-10-02
wikichat-langflow-1    |                              16:39:51',
wikichat-langflow-1    |                              flow_id='453e2dc9-1cf0-4303-9080-3bdb8
wikichat-langflow-1    |                              3445fc7')}
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base  base.py:1428
wikichat-langflow-1    |                              - Running layer 11 with 1 tasks,
wikichat-langflow-1    |                              ['OllamaModel-hwZ5G']
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base - base.py:460
wikichat-langflow-1    |                              Building Ollama
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    -      loading.py:30
wikichat-langflow-1    |                              loading - Instantiating OllamaModel
wikichat-langflow-1    |                              of type component
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - utils utils.py:157
wikichat-langflow-1    |                              - Logged transaction:
wikichat-langflow-1    |                              5a6f545b-3e02-4d2f-95e5-fe407e728ca1
wikichat-langflow-1    |                     ERROR    2024-10-02 16:39:51 - ERROR    -     service.py:186
wikichat-langflow-1    |                              service - Error ending trace Ollama
wikichat-langflow-1    |                              (OllamaModel-hwZ5G): 'FieldInfo'
wikichat-langflow-1    |                              object has no attribute 'create_run'
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base  base.py:1494
wikichat-langflow-1    |                              - Vertex OllamaModel-hwZ5G, result:
wikichat-langflow-1    |                              <langflow.graph.utils.UnbuiltResult
wikichat-langflow-1    |                              object at 0xffff672e4890>, object:
wikichat-langflow-1    |                              {'text_output': <generator object
wikichat-langflow-1    |                              RunnableBindingBase.stream at
wikichat-langflow-1    |                              0xffff62fbd6c0>}
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base  base.py:1428
wikichat-langflow-1    |                              - Running layer 12 with 1 tasks,
wikichat-langflow-1    |                              ['ChatOutput-S4jn4']
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base - base.py:460
wikichat-langflow-1    |                              Building Chat Output
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    -      loading.py:30
wikichat-langflow-1    |                              loading - Instantiating ChatOutput of
wikichat-langflow-1    |                              type component
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - utils utils.py:157
wikichat-langflow-1    |                              - Logged transaction:
wikichat-langflow-1    |                              db86fd1a-71a1-4f63-a3c3-2245eb0e4a0c
wikichat-langflow-1    |                     ERROR    2024-10-02 16:39:51 - ERROR    -     service.py:186
wikichat-langflow-1    |                              service - Error ending trace Chat
wikichat-langflow-1    |                              Output (ChatOutput-S4jn4):
wikichat-langflow-1    |                              'FieldInfo' object has no attribute
wikichat-langflow-1    |                              'create_run'
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base  base.py:1494
wikichat-langflow-1    |                              - Vertex ChatOutput-S4jn4, result:
wikichat-langflow-1    |                              {'message': Message(text_key='text',
wikichat-langflow-1    |                              data={'text': '', 'sender': 'Machine',
wikichat-langflow-1    |                              'sender_name': 'AI', 'session_id':
wikichat-langflow-1    |                              '00000000-0000-0000-0000-0000009oTwGU'
wikichat-langflow-1    |                              , 'files': [], 'timestamp':
wikichat-langflow-1    |                              '2024-10-02 16:39:51', 'flow_id':
wikichat-langflow-1    |                              '453e2dc9-1cf0-4303-9080-3bdb83445fc7'
wikichat-langflow-1    |                              }, default_value='', text='',
wikichat-langflow-1    |                              sender='Machine', sender_name='AI',
wikichat-langflow-1    |                              files=[],
wikichat-langflow-1    |                              session_id='00000000-0000-0000-0000-00
wikichat-langflow-1    |                              00009oTwGU', timestamp='2024-10-02
wikichat-langflow-1    |                              16:39:51',
wikichat-langflow-1    |                              flow_id='453e2dc9-1cf0-4303-9080-3bdb8
wikichat-langflow-1    |                              3445fc7'), 'text': ''}, object:
wikichat-langflow-1    |                              {'message': Message(text_key='text',
wikichat-langflow-1    |                              data={'text': '', 'sender': 'Machine',
wikichat-langflow-1    |                              'sender_name': 'AI', 'session_id':
wikichat-langflow-1    |                              '00000000-0000-0000-0000-0000009oTwGU'
wikichat-langflow-1    |                              , 'files': [], 'timestamp':
wikichat-langflow-1    |                              '2024-10-02 16:39:51', 'flow_id':
wikichat-langflow-1    |                              '453e2dc9-1cf0-4303-9080-3bdb83445fc7'
wikichat-langflow-1    |                              }, default_value='', text='',
wikichat-langflow-1    |                              sender='Machine', sender_name='AI',
wikichat-langflow-1    |                              files=[],
wikichat-langflow-1    |                              session_id='00000000-0000-0000-0000-00
wikichat-langflow-1    |                              00009oTwGU', timestamp='2024-10-02
wikichat-langflow-1    |                              16:39:51',
wikichat-langflow-1    |                              flow_id='453e2dc9-1cf0-4303-9080-3bdb8
wikichat-langflow-1    |                              3445fc7'), 'text': ''}
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base  base.py:1439
wikichat-langflow-1    |                              - Graph processing complete
wikichat-langflow-1    |                     DEBUG    2024-10-02 16:39:51 - DEBUG    - base - base.py:780
wikichat-langflow-1    |                              Run outputs: inputs={'input_value':
wikichat-langflow-1    |                              '{"user_id":"8991147774","user_question
wikichat-langflow-1    |                              ":"What\'s my miles?"}'}
wikichat-langflow-1    |                              outputs=[ResultData(results={'message':
wikichat-langflow-1    |                              Message(text_key='text', data={'text':
wikichat-langflow-1    |                              '', 'sender': 'Machine', 'sender_name':
wikichat-langflow-1    |                              'AI', 'session_id':
wikichat-langflow-1    |                              '00000000-0000-0000-0000-0000009oTwGU',
wikichat-langflow-1    |                              'files': [], 'timestamp': '2024-10-02
wikichat-langflow-1    |                              16:39:51', 'flow_id':
wikichat-langflow-1    |                              '453e2dc9-1cf0-4303-9080-3bdb83445fc7'}
wikichat-langflow-1    |                              , default_value='', text='',
wikichat-langflow-1    |                              sender='Machine', sender_name='AI',
wikichat-langflow-1    |                              files=[],
wikichat-langflow-1    |                              session_id='00000000-0000-0000-0000-000
wikichat-langflow-1    |                              0009oTwGU', timestamp='2024-10-02
wikichat-langflow-1    |                              16:39:51',
wikichat-langflow-1    |                              flow_id='453e2dc9-1cf0-4303-9080-3bdb83
wikichat-langflow-1    |                              445fc7'), 'text': ''},
wikichat-langflow-1    |                              artifacts={'message': '', 'sender':
wikichat-langflow-1    |                              'Machine', 'sender_name': 'AI',
wikichat-langflow-1    |                              'stream_url':
wikichat-langflow-1    |                              '/api/v1/build/453e2dc9-1cf0-4303-9080-
wikichat-langflow-1    |                              3bdb83445fc7/ChatOutput-S4jn4/stream',
wikichat-langflow-1    |                              'files': [], 'type': 'stream'},
wikichat-langflow-1    |                              outputs={'message': {'message': '',
wikichat-langflow-1    |                              'type': 'text'}}, logs={'message': []},
wikichat-langflow-1    |                              messages=[], timedelta=None,
wikichat-langflow-1    |                              duration=None,
wikichat-langflow-1    |                              component_display_name='Chat Output',
wikichat-langflow-1    |                              component_id='ChatOutput-S4jn4',
wikichat-langflow-1    |                              used_frozen_result=False)]
wikichat-langflow-1    |                     ERROR    2024-10-02 16:39:51 - ERROR    -     service.py:195
wikichat-langflow-1    |                              service - Error ending all traces:
wikichat-langflow-1    |                              'FieldInfo' object has no attribute
wikichat-langflow-1    |                              'create_run'
wikichat-langflow-1    |                     INFO     2024-10-02 16:39:51 - INFO     -   __init__.py:1762
wikichat-langflow-1    |                              __init__ - <IP_ADDRESS>:49516 -
wikichat-langflow-1    |                              "POST
wikichat-langflow-1    |                              /api/v1/run/newflow?stream=true
wikichat-langflow-1    |                              HTTP/1.1" 200

It turned out that there was a routing issue in my docker deployment for streaming (between front-end and server-side since the front-end client couldn't access the langflow streaming endpoint directly).
That being said, it's a little strange that the LangFlow logs indicated that the output was an empty string.
That logging could be improved.

the stream url has been deprecated


deprecated attribute

Description
This PR is part of https://github.com/FuelLabs/sway/pull/4794. It is the minimum implementation for deprecation. Pretty much only what was needed for deprecating U256.
It also minimally implements #[allow(deprecated)].
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

Reminder to ping https://github.com/FuelLabs/sway/pull/4779 when this is merged.

Since the UsingDepricated warning is brand new providing Diagnostic for it from the beginning will save us effort down the road. @xunilrj If you are find with that I can add it.

Since the UsingDepricated warning is brand new providing Diagnostic for it from the beginning will save us effort down the road. @xunilrj If you are find with that I can add it.

I can do it. Do we have a guide I can follow?
I will merge this PR and create a new one, just to finish this.


⚠ Feedaty widget has degraded performance

In 5d3a0c2, Feedaty widget (https://widget.feedaty.com/public/js/feedaty.js?merchant=10213975&style_ver=2021&data-sku=36263) experienced degraded performance:

HTTP code: 200
Response time: 6964 ms

Resolved: Feedaty widget performance has improved in 6438694 after 11 minutes.


fnctl: Add python support

https://github.com/iron-io/dockerworker

The dockerworker example is already there.
#328 fixes the fn init.

It looks like iron.io supports only python2... would you be interested in support for python3? I could help with that.

@jotes that would be great. I can meet you on the slack channels and we do it together :)


Disabling Action Center inside Essential Tweaks does not disable Windows Security Center/Defender notifications

This can be resolved by adding the following code directly from microsoft to the registry
You can use the following registry key and DWORD value to Hide all notifications. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications] "DisableNotifications"=dword:00000001 You can use the following registry key and DWORD value to Hide not-critical notifications. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications] "DisableEnhancedNotifications"=dword:00000001

Tried to resolve this by adding the said keys and also keys to Windows Defender key not only Windows Defender Security Center but issue is still not resloved as some notifications are still made by Security Center

Removed the code that caused this error


Prevent duplicate issues

We want to ensure that a single user can not flood the Sentry server with the same issue (or many issues) over and over.
like scrollEvent error
options.maxDeduplicationItems option is not work for me

@jin-dub only works for the very same exception (instance reference), since we don't want to subreport exceptions, we can't do it automatically, but you can do it yourself using the beforeSend callback, See https://docs.sentry.io/platforms/flutter/configuration/filtering/


Stuck on version 1.22.1-1

Description of problem:
The add-on reports to be up-to-date on version 1.22.1-1. Thinking of it, it might be related to migrating to new hardware (restoring a backup).
How can I safely get to a current version.
Zigbee2mqtt add-on version (if edge, please report commit hash):
Current version: 1.22.1-1
Your entire configuration from the frontend (with sensitive fields redacted):
Running platform (details from Suypervisor > System)
// Example
Core: core-2022.4.1
Supervisor: supervisor-2022.04.0
Operating System: HassOS 8.0 (dev)

Your logs from Home Assistant Supervisor
N/A

Apparently, with the backup the old repository (from 1.18.1) was restored somehow. I've removed the old repository and added the current one, immediately it said an update is available. I've been able to successfully update to 1.25.0-1 now.


Dev15 interactive window is now different

References 15.0 editor etc. Need to update Dev15 references.

https://github.com/Microsoft/RTVS/commit/46d62bdeb62b24880f169dbe5cd0175881a7138f

https://github.com/Microsoft/RTVS-pr/commit/d255c14895988f36dc1312bd3d6f29cfd5a40fa1


feat: Added Log Verbosity

Added support for the following methods -

set_verbose - This will more log sensitive data to your log like env variable and secrets
set_debug - Another way to change log level to DEBUG

Maybe it's worth checking if we can use a custom logging handler to do this logic? Maybe in the emit function of the handler?


MWPW-138887 | Removing pricing and alternate name from schemas block

Removing pricing and alternate name from schemas block
Resolves: MWPW-138887
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/?martech=off
After: https://MWPW-138887--express--adobecom.hlx.page/express/?martech=off

Codecov Report

Merging #445 (a9484d6) into stage (de0b3f6) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            stage     #445   +/-   ##
=======================================
  Coverage   29.85%   29.86%
=======================================
  Files         124      124
  Lines       23738    23732    -6
=======================================
  Hits         7088     7088
+ Misses      16650    16644    -6

Files
Coverage Δ

express/blocks/schemas/schemas.js
9.09% <ø> (+0.75%)
:arrow_up:

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


a new folk for back4app as service provider.

https://github.com/tim-hub/fuse-example-using-back4app-parse
hope this help.

Hey nice, thanks for the tip :)


AttributeError: 'NoneType' object has no attribute 'retain'

Crash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/var/containers/Bundle/Application/43A44BB1-4EB1-4AC2-8EF5-BE1D098B0030/Electron-Cash.app/Library/Application Support/com.c3-soft.ElectronCash/app_packages/rubicon/objc/runtime.py", line 1065, in _objc_method
    result = f(py_self, *args)
  File "/private/var/containers/Bundle/Application/43A44BB1-4EB1-4AC2-8EF5-BE1D098B0030/Electron-Cash.app/Library/Application Support/com.c3-soft.ElectronCash/app/ElectronCash/electroncash_gui/ios_native/txdetail.py", line 688, in onCpyBut_
    utils.boilerplate.vc_highlight_button_then_do(self, but, lambda:gui.ElectrumGui.gui.copy_to_clipboard(entry.tx_hash))
  File "/private/var/containers/Bundle/Application/43A44BB1-4EB1-4AC2-8EF5-BE1D098B0030/Electron-Cash.app/Library/Application Support/com.c3-soft.ElectronCash/app/ElectronCash/electroncash_gui/ios_native/utils.py", line 1651, in vc_highlight_button_then_do
    but.retain()

AttributeError: 'NoneType' object has no attribute 'retain'

Reporter
This issue was reported by 4 user(s):

Electrum Version
Operating System
Wallet Type
Locale

3.3 (iOS Build: 301)
Darwin-17.7.0-iPhone10,6-64bit iOS 11.4.1 iPhone (35F676B2-A236-4E48-8FEB-198E738BDF59)
imported_addr
en_UK

3.3 (iOS Build: 301)
Darwin-17.7.0-iPhone9,3-64bit iOS 11.4.1 iPhone (910580E6-8642-4280-B083-FFF579BB51A4)
imported_addr
en_UK

3.3 (iOS Build: 301)
Darwin-17.7.0-iPhone10,6-64bit iOS 11.4.1 iPhone (35F676B2-A236-4E48-8FEB-198E738BDF59)
imported_addr
en_UK

3.3 (iOS Build: 301)
Darwin-17.7.0-iPhone10,6-64bit iOS 11.4.1 iPhone (35F676B2-A236-4E48-8FEB-198E738BDF59)
imported_addr
en_UK

Additional Information

Traceback (most recent call last):
File "_ctypes/callbacks.c", line 234, in 'calling callback function'
File "/var/containers/Bundle/Application/43A44BB1-4EB1-4AC2-8EF5-BE1D098B0030/Electron-Cash.app/Library/Application Support/com.c3-soft.ElectronCash/app_packages/rubicon/objc/runtime.py", line 1065, in objc_method
result = f(py_self, *args)
File "/private/var/containers/Bundle/Application/43A44BB1-4EB1-4AC2-8EF5-BE1D098B0030/Electron-Cash.app/Library/Application Support/com.c3-soft.ElectronCash/app/ElectronCash/electroncash_gui/ios_native/txdetail.py", line 688, in onCpyBut
utils.boilerplate.vc_highlight_button_then_do(self, but, lambda:gui.ElectrumGui.gui.copy_to_clipboard(entry.tx_hash))
File "/private/var/containers/Bundle/Application/43A44BB1-4EB1-4AC2-8EF5-BE1D098B0030/Electron-Cash.app/Library/Application Support/com.c3-soft.ElectronCash/app/ElectronCash/electroncash_gui/ios_native/utils.py", line 1651, in vc_highlight_button_then_do
but.retain()
AttributeError: 'NoneType' object has no attribute 'retain'
Additional information
•	Electron Cash version: 3.3 (iOS Build: 301)
•	Python version: 3.5.5+ (default, Feb 21 2018, 15:57:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)]
•	Operating system: Darwin-17.7.0-iPhone10,6-64bit iOS 11.4.1 iPhone (35F676B2-A236-4E48-8FEB-198E738BDF59)
•	Wallet type: imported_addr
•	Locale: en_UK

Can you release my money please

Can you release my money please

:cry:

LOL I hope he's just trolling.. ha ha


Report Plugin - Respect line returns in asset description

Description
Currently when entering asset description wjth line returns, they are not being rendered.
Solution already exist and was already used with Tools description and Report description.
Useful example: circuit (BBP internal)

To be discussed with @loris-olivier

For the discussion's sake I would estimate this at about 1 / 2.


SSC: Buffs Not Saving Or Loading

Buffs do not save or load. They also are not removed when a player joins with a buff client side.

TBC in a later build or plugin.


Add Renode script overlays support

This PR:

adds Renode script overlay support allowing to tune simulation parameters for selected samples/tests
adds an overlay fine tuning selected kernel tests targeting the HiFive Unleashed platform - those tests require higher fidelity of the virtual time flow which is achievable on multi-core platforms in Renode by reducing the quantum

Hey @fkokosinski,
just to say, I pulled in these two commits to test with the patches of our SMP PR. I made some changes to our .resc file for mpfs_icicle (basically copied the hifive_unleashed, more or less) and added an overlay to the sched_api test. it built and ran successfully in renode. I will attach the log output.
Cheers!
sched_api_mpfs_icicle_renode.log


updated

Bugs have been fixed and some things have been updated.

Assalam Alaykoum, Jazzaka Lahu khairan.
I think you merged into the wrong branch, this branch is a branch I made a few months ago so that all the date can be saved.
Could you redo this but in the main branch ? Because I can't check all of this, and I'm not going to merge something I can't verify.
Baraka Lahu feek !

Sorry. I recently noticed. That's why I close this issue as completed


New sampling API implementation.

Towards resolution of issue #283.

Replace probe/sample infrastructure with new API as outlined in the sampling_api.rst documentation.
Separate cell probe information from cell description object.
Add --list option to tsplot, to summarize available time series for plotting together with their metadata.
Add --sample-dt option to validation tests.
Change validation time series comparison behaviour: linf distance metric now estimated by comparing reference data points against linearly interpreted simulation samples, rather than the other way around.
Add utility class any_ptr which allows lightweight and type-checked access to a type-erased pointer.
Replace singleton_recipe with two simple recipe base classes used for unit and validation tests, in tests/simple_recipes.hpp.
Simplify RSS cell implementation.
Add statistical functions for testing of probabilistic methods in tests/unit/stats.hpp (and .cpp):

simple summary stats class;
Kolmogorov–Smirnov one-sided statistic and CDF;
approximate Poisson CDF.

Simplify and refactor miniapp sample_trace code.
Add new utility class handle_set for managing a collection of integer handles. (Near-simplest implementation.)
Relax const-ness constraints on transform_iterator.

PR updated, addressing comments above.

Looks good to me!


NDLC - Perform low resolution scope timing

Implemented async scope timing

could you please explain me in short why we need this? thx!

If you create a scope to mark that you have started a web-request, then you can use this to extract the timings for this scoped web-request (when logging messages that belongs to the web-request).
I guess one could also implement this by calling NDLC.Push with a complex object, but I guess we then need to provide a PeekLast and PeekFirst to retrieve this object in a custom layout-renderer.


Make CSG shape dirty after changing Snap

Fixes https://github.com/godotengine/godot/issues/93240

So that's why I thought changing Snap didn't have any effect…
Thanks for fixing this after so long :slightly_smiling_face:

Thanks!


[ENH] add Singularity build and usage

Updated README.md files to include instructions for building Singularity images of FastSurfer from a Docker base on a container development machine and running FastSurfer in Singularity containers. This supports containerized deployment on systems in which a direct installation is not feasible and Docker is not preferable or not allowed, such as high performance computing clusters.

Thanks for the singularity info. We waited with merging, as we plan to make official docker images available on dockerhub which would require us to change the readme text. We also considered to either

test and support the creation of singularity sif files from dockerfiles (as stated above)
or put supported singularity sif files directly

I will still merge this for now and will re-visit then.

This should be merged into dev, it currently has conflicts (just use the Dockerfile_reconsurf from dev). Then we can merge it. Thanks.

Happy to help! Let me know when you have the official docker images hosted and I can adjust the readme text as needed

Thanks. We will update this after pulling it in to describe how to do this using our official dockerhub images for released versions. We keep the alternative approach that you describe here for developers who want to create their own images based on dev or their own changes.


Stop S3 post URL data being echoed in Jenkins logs

This PR does a couple of things to try and address the ticket Jenkins credentials shown in plain text in job scripts and logs. It is presented as an alternative to #427, although I'm not sure it is exactly what @katstevens had in mind when she suggested using a python script...
At its core, this PR adds a feature to the generate-paas-manifest script that allows variables to be added to a template from the environment. In docker run style, if you want a template to use an environment variable, it has to be specified in the command line arguments as -v ENV_VAR.
This feature is then used to get the s3 post body from the environment when the manifest is initially generated, rather than adding it to the apps envvars later.
I also did some general cleaning up of the manifest itself, moving some command line flags from cf push into the manifest file, as this seemed less noisy to me.

I've added some user-friendly error-handling to the generate-paas-manifest script, to try and catch the most common mistakes.
Example output
If the user specifies a variable as a command line flag without a value, but that variable isn't set in the environment
 (venv) gds5506:digitalmarketplace-aws laurencedebruxelles$ ./scripts/generate-paas-manifest.py -v DUMP_FILE_NAME preview db-backup
Error: Command line variable "--var 'DUMP_FILE_NAME'" was not set by the flag and was not found in environment variables. Please check your environment is correctly configured.

If the template requires a variable but it isn't found in any of the locations given on the command line:
 (venv) gds5506:digitalmarketplace-aws laurencedebruxelles$ ./scripts/generate-paas-manifest.py preview db-backup
Error: The template 'paas/db-backup.j2' thinks that the variable 'DUMP_FILE_NAME' is undefined. Please check you have included all of the var files and command line vars that you need.


Fix Snow Leopard installation in Sierra Cache Cleaner.app Cask

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit —download {{cask_file}} is error-free.

[x] brew cask style —fix {{cask_file}} reports no offenses.

[ ] The commit message includes the cask’s name and version.
Version is unchanged.
Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.

[ ] brew cask install {{cask_file}} worked successfully.

[ ] brew cask uninstall {{cask_file}} worked successfully.

[ ] Checked there are no open pull requests for the same cask.

[ ] Checked that the cask was not already refused in closed issues.

This Cask downloads a disk image with both a legacy version and a main version of the application. Should the Cask delete the unused app from Caskroom, or just keep it there taking up 70MB?

Sierra Cache Cleaner has additional components (ClamAV module, Single User Mode script, etc.) that are only downloaded and installed once you open the program and tell it to do so. Should this be mentioned as a caveat?

Caveats are not used for those kinds of messages. You could potentially add in the deletion in a postflight, but personally I don't think it's a huge deal.

If it's not installed during installation, but when using the program, it should be a zap.


Seeing lots of "error" messages from bitcoinj in the logs

The logging level for the o.b.core.Context - Performing thread fixup message is set to ERROR and is multi-line. This will show up in log analysis as a serious problem.
Is there a way to remove this error message?

change the time/conditions when the listener is attached?
reduce the logging level to WARN in bitcoinj Alice?
fix the code causing the message?

I have modifed the Context in bitcoinj-alice to log as info.
Setting a Context is voluntary in bitcoinj-0.13 so there shouldn't be any need to set it explicitly (possibly changing code behaviour undesirably) so I left this unchanged.
Whilst at it I have updated bitcoinj-alice to merge in the latest canonical bitcoinj changes.
Pushed changes to develop and staging repo
Awaiting review and closing.

Verified absence of messages.
Closing.


Rework KeyBind (KeyManager)

Huge update on this commit https://github.com/Sygmei/ObEngine/commit/059a2942f8cf1ada280d15b50c67730dbe821854


Invalid data found when processing input

I couple days ago I updated ffmpeg for reasons unrelated to ytarchive, as I was several months out of date, and since then ytarchive no longer works and consistently fails when muxing. Output looks something like this
2023/12/03 07:00:42 Download Finished
2023/12/03 07:00:42 Muxing final file...
Error opening input files: Invalid data found when processing input
2023/12/03 07:00:42 ERROR: Execute returned code<PHONE_NUMBER>. Something must have gone wrong with ffmpeg.
2023/12/03 07:00:42 ERROR: The .ts files will not be deleted in case the final file is broken.
2023/12/03 07:00:42 ERROR: Finally, the ffmpeg command was either written to a file or output above.

Always with that<PHONE_NUMBER> error. When I try to input the command manually I get this (I renamed the files to make sure weird characters weren't the issue, same error happened with the original names)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001da6e2de680] error reading header
[in#0 @ 000001da6e29ac40] Error opening input: Invalid data found when processing input
Error opening input file 140.ts.
Error opening input files: Invalid data found when processing input

So far I've tried to archive 4 streams since updating and the same issue has occurred on every one. I have been using ytarchive on this same machine regularly for a year and a half at least, and have upgraded ffmpeg multiple times during that period, and only recently has this problem started. I'm trying to pinpoint if it's a problem with ffmpeg that I would need to perhaps downgrade to fix, an unrelated Youtube update that broke ytarchive coincidentally on that same day, or something wrong with my install specifically. But as I mentioned, I use ffmpeg with other programs and only have had problems with ytarchive so far.

This should already be fixed in the latest ytarchive dev branch, see https://github.com/Kethsar/ytarchive/pull/164

Oh that would do it, I didn't even think to check for a new release. Thanks.


HLSL missing functions

Declaring uniform samplerCube shadowMapCube; throws at compile-time:
error X3000: unrecognized identifier 'samplerCube'

Using textureLod() throws at compile-time:
error X3004: undeclared identifier 'tex2DLod'

textureLod is fixed in KhronosGroup/SPIRV-Cross#161

Cube maps now have also been fixed in the same pull-request.

Fixed in the latest krafix binary.


missing parentage 'copper ion transport across blood-cerebrospinal fluid barrier'

Right now 'copper ion transport across blood-cerebrospinal fluid barrier' does not have a 'transport across blood-cerebrospinal fluid barrier'.

Figure 1. Ancestor Chart for 'copper ion transport across blood-cerebrospinal fluid barrier'. Accessed from QuickGO on 25th March 2020.
Proposal
In oder to align this terms with the blood-brain barrier ontology, the following revisions are proposed:

[ ] Add a new term 'transport across blood-cerebrospinal fluid barrier'. Definition: The directed movement of substances (e.g. macromolecules, small molecules, ions) through the blood-cerebrospinal fluid barrier. PMID: 21349151. Synonyms: blood-CSF barrier; BCSFB.
[ ] Make 'transport across blood-cerebrospinal fluid barrier' an is_a parent of 'copper ion transport across blood-cerebrospinal fluid barrier', and and is_a child of 'vascular transport'.

Related to: https://github.com/geneontology/go-ontology/issues/19155
cc @RLovering

Odd, it seems like this should be inferred. Did you look at the logical defs?

No, I haven't yet. But the blood-CSF barrier is certainly a (great/grand)child of vasculature in uberon (unlike the BBB - https://github.com/obophenotype/uberon/issues/1579):

[ ] revise synonyms


A new release is needed to pick up dependabot fixes for CVE-2023-32681

I noticed I had a defect in my software  CVE-2023-32681  that is fixed in  requests 2.31.0, and that was updated here by depdendabot but no release after that. so this exists in blackduck 1.1.0  when one install with pip

I'll pick this up this evening.

Status?

Would be good to add the scorecard badge in this project https://securityscorecards.dev/ as then this root case will be more visible

https://pypi.org/project/blackduck/1.1.3/


Installation of Cardinal 2.2 fails

Hello,
i am currently trying to install Cardinal 2.2 by first installing Bioconductor 3.9 (which should contain Cardinal 2.2) and then Cardinal with
BiocManager::install("Cardinal")
However, this throws the following error:
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘processingData<-’ in package ‘Cardinal’
Creating a new generic function for ‘centroided<-’ in package ‘Cardinal’
Creating a new generic function for ‘filter’ in package ‘Cardinal’
Creating a new generic function for ‘summarize’ in package ‘Cardinal’
Creating a new generic function for ‘arrange’ in package ‘Cardinal’
Creating a new generic function for ‘group_by’ in package ‘Cardinal’
Creating a new generic function for ‘slice’ in package ‘Cardinal’
Error : in method for ‘group_by’ with signature ‘.data="DataFrame"’:  arguments (‘.add’, ‘.drop’) after ‘...’ in the generic must appear in the method, in the same place at the end of the argument list
Error: unable to load R code in package ‘Cardinal’
Execution halted
ERROR: lazy loading failed for package ‘Cardinal’

I have no idea how to solve this issue. Is there a way to solve it or maybe another possibility to install Cardinal 2.2?
Kind regards

Cardinal 2.2 is five years old at this point and no longer supported.
It looks like the issue is related to either dplyr or changes to S3 generics in R.
I would start by making sure you are using the versions of R and dplyr that coincided with Bioconductor 3.9 and Cardinal 2.2. I think these should be 3.6 and 0.8 respectively.
I would suggest using a Docker image of Bioconductor 3.9 but it looks like 3.9 predates the currently supported Docker images.


OnItemClick Content

Hello Davideas, thanks for this excellent library.
When I click on an item all I get is the item id and title
I/DATA: [SimpleItem[id=john_doe, title=SAMPLE]]
This is the code I am using:
           Intent intent = new Intent(mContext, Activity2.class);             Bundle bundle = new Bundle();             bundle.putSerializable("DATA", (Serializable) mAdapter.getItem(position));             intent.putExtras(bundle);             mContext.startActivity(intent);
I need all the content of mItems at that position please help.
Some code samples will help

Thanks Davideas,
Appreciate your hard work :)
On Jul 21, 2018 9:26 AM, "Davide Steduto"<EMAIL_ADDRESS>wrote:

Closed #639 https://github.com/davideas/FlexibleAdapter/issues/639.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/davideas/FlexibleAdapter/issues/639#event-1746023802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkDXt5ht7isLNdv_uXrrPClFiqS4UqOHks5uIvPXgaJpZM4VZjXF
.


when installing it doesnt give me the answer.

when installing it doesnt give me the answers to the questions it only changes the theme any fix to this?

Hi @elpanafaus,
Which install method did you use?

Bookmarklet
Javascript install snippet
Browser extension

Also the extension highlights the correct Bookwork code during the bookwork check.

Full Features
It currently does not answer Sparxmaths Questions
Thanks, Najm


Update bindgen, use libc for symbols available in it and filter the symbols in the generated bindings

There are three commits in here

Updates bindgen, this means that size_t -> usize, so change some types
Update some bindings to use libc types rather than auto generated types (since we already have libc)
Update build.rs to filter which symbols are available in the bindings

Thanks for the speedy review, it says I need write access to merge so I guess I will have to leave it up to you.

Merged + released to crates.io with a patch level bump


Shell not recognised

Hi,
https://github.com/MirBSD/kwalletcli lists as:
Groff 55.0% C 18.4% C++ 16.6% Makefile 10.0%

However, the lines-as-counted-by-wc distribute as follows:

167 make
86 text (UTF-8)
380 C
329 C++
665 shell
1094 nroff
2123 SVG

(plus three *.png files I don’t count, as they’re binary)

What's mksh?

John Gardner dixit:

What's mksh?

The successor of pdksh, and an independent Korn shell implementation
(with the blessing of David Korn).
Disclaimer: I am the current developer of mksh.
bye,
//mirabilos
FWIW, I'm quite impressed with mksh interactively. I thought it was much
much more bare bones.  I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh

Well, the reason the shell-script isn't being recognised as one is because it uses an unfamiliar interpreter directive. Linguist pairs the names of known executables (like bash, ksh, dash, et al) to languages when matching based on hashbangs. Since mksh isn't in the list, it isn't doing any language recognition.
You can manually override that by adding a .gitattributes file with a linguist-language property set. More on that here. Alternatively, adding an Emacs or Vim modeline in the first couple lines of the file will help, too. :-)

John Gardner dixit:

Erh... do you have your language settings set to Latin? :|

About 100 repositories mention mksh.  I don't think it would be unreasonable to add it to the list of shell interpreters.

EDIT: That's just in the repository name. This search get 7000 hits.

@larsbrinkhoff Results of your search don't seem to contain the mksh shebang :/
This search yields only 47 files with mksh shebangs.

John Gardner dixit:

Well, the reason the shell-script isn't being recognised as one is
because it uses an unfamiliar interpreter directive. Linguist pairs
the names of known executables (like bash, ksh, dash, et al) to
languages when matching based on hashbangs. Since mksh isn't in the
list, it isn't doing any language recognition.

mksh was added to Debian’s static code checker in, I don’t know,
2008 or so, so…
Lars Brinkhoff dixit:

About 100 repositories mention mksh.  I don't think it would be
unreasonable to add it to the list of shell interpreters.

… yes please!
John Gardner dixit:

John Gardner dixit:

Erh... do you have your language settings set to Latin? :|

What is “language settings”? My Unix system doesn’t have that.
But yes, this is Latin.
Paul Chaignon dixit:

EDIT: That's just in the repository name. This search get 7000 hits.

@larsbrinkhoff Results of your search don't seem to contain the mksh shebang :/
[This search](https://github.com/search?p=1&q="usr%2Fbin%2Fenv+mksh"

“This search” is broken, the standard shebang is “#!/bin/mksh”,
only some (predominantly older) scripts use “#!/usr/bin/env mksh”.
Please make sure both are recognised for scripts.
Some distributions also have “mksh-static” and “lksh” as binaries
in the mksh package, although the former tends to only be used for
some local scripts using a “rescue shell”, and the latter is only
used by “legacy scripts”, i.e. those that require the shell to behave
as older korn or bourne shell variants did, for some things. Although
adding them would not be unreasonable.
If you want, I can do a recherche on which shells a contemporary GNU
system offers (trivial, as I’ve installed most of them, for testing
mksh against their behaviour) and submit a pull request adding them,
in both shebang forms, to your lists, so we have them all at once.
bye,
//mirabilos
„Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund,
mksh auf jedem System zu installieren.“
-- XTaran auf der OpenRheinRuhr, ganz begeistert
(EN: “[…]uhr.gz is a reason to install mksh on every system.”)

Results of your search don't seem to contain the mksh shebang

@pchaigno No, but that't not what I was trying to find.  I just wanted to vaguely gauge the popularity of this shell.

Lars Brinkhoff dixit:

I just wanted to vaguely gauge the popularity of this shell.

Roughly two billion installations, although not as /bin/mksh
but as /system/bin/sh on Android.
So, nothing to get worked up about ;-)
bye,
//mirabilos
 Beware of ritual lest you forget the meaning behind it.
 yeah but it means if you really care about something, don't
ritualise it, or you will lose it. don't fetishise it, don't
obsess. or you'll forget why you love it in the first place.

/bin/mksh is POSIX-compliant, and is usually symlinked to /bin/sh. Most mksh users use usual #!/bin/sh shebang In order to ensure compatibility with other POSIX-compliant shells, which is why results are skewed.
/bin/dash is in similar situation. Perhaps it makes sense to add less popular shells in a bulk?

PR to add a few more shells: https://github.com/github/linguist/pull/3708

Looks like Linguist now recognises a lot more shell including all those mentioned here, so I'm closing this issue. If there's anything missing or we need further extensions, please open a new issue or submit a PR for those.


fix: ensure implicit config options load automatically

Issue
Since version 6.3.14-dev.57 of @mikro-orm/core, modifications in the ConfigurationLoader related code have led to the paths is not iterable error if a config is not explicitly provided to MikroOrmModule.forRoot().
Changes

Adjusted to align with the new getConfiguration() signature.
Prefer configPathsFromArg() when auto-loading options(but this has become deprecated).
Added test code to ensure options auto-loading.

cc @boenrobot maybe we should make the signature backwards compatible so we don't break this integration

I would rather go with what I said above, we don't need to change the order of params in that method (only add the new params to the end), that's a small price to pay for proper back compatibility on internal API. Or even detect old vs new signature. You never know if some other integration modules that we don't maintain use things like this, better to stay safe. We can clean things up with v7.

This would also enable the lack of duplicating the deprecation notice... it could be a new major of this package that simply removes support for it.

What I want would mean no changes in this package. I definitely don't want to do a major bump to misalign the versions between it and the ORM itself.

I think perhaps this BC can be achieved by making ConfigLoader.getConfiguration() be overloaded, and based on whether the first arg is boolean, trigger the old behavior. The boolean signature can be marked deprecated in js docs to give 3rd party integrations a notice.

Yep, that's what I meant when I said we could detect the old vs new signatures.

I can make a PR for this first thing in the morning (around 12-13 hours from now...).

Sounds good, no rush, we can leave the release for tomorrow evening or later, not a huge deal. Thanks!

@lsh4711 please test it with latest dev version (6.3.14-dev.70), should be now working thanks to https://github.com/mikro-orm/mikro-orm/pull/6213

In 6.3.14-dev.70, the path issue was resolved, but it still didn't work, so I've been investigating the cause.
Here's the reproduction.
I belatedly found out that the issue does not reproduce in the test when using mocked dynamic import.

But this can be easily fixed (without a version bump in the deps) by changing that line to

As I said, I don't want to fix it here, as that means people can end up with typeerrors because of updating the ORM and not this adapter. This needs to be fixed in the ORM itself before we release v6.4

@lsh4711 I guess you closing this means its working correctly now? :]

Oh.. I thought the issue was resolved by now and closed this PR without checking, which was a mistake and the problem still hasn't been fixed.
As mentioned above, the same issue is still occurring both in the reproduction and on the actual server. (in 6.3.14-dev.73)
Based on my investigation, the solution I found is to use the call to ConfigurationLoader.commonJSCompat() to maintain compatibility with the behavior of the previous version.
In other words, since this code is missing, the config object that has been wrapped once more ({ default: config, ..else config in same config file }) is being dynamically imported, so the config isn't being interpreted correctly, which seems to be why the issue persists.

Ok, lets reopen till its actually fixed.

Great, it works perfectly now. :)
Thanks to both B4nan and boenrobot!