Segfault or hang on closing in OS::print_error when resources are leaked (tries to access logger singleton after freeing it)

Godot version: 3.0.2 Steam
OS/device including version: Solus Linux 3.999
Issue description: Every time I close Godot I cannot relaunch it through Steam without first opening Gnome System Monitor and killing the process "godot.x11.opt.tools.64". The process uses 25% CPU (probably max usage of a single thread) and 1GB+ of memory.
Steps to reproduce: Launch the Steam version of Godot. Close it. Process remains in Gnome System Monitor and prevents launching the Steam version until manually killed.
Minimal reproduction project: No project required. Happens with a fresh, new project.

I ran Godot from the console and on close saw these lines:
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1989.
ERROR: clear: Resources Still in use at Exit!
At: core/resource.cpp:418.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!
At: core/dvector.cpp:70.

Running it directly, not from steam, does the same? and closing the Project manager only (without opening a project)?

Closing the project manager without opening a project does not cause this error. The non-Steam version has the same issue as the Steam version.

Can't reproduce it on Mageia 6 x86_64 with the current master branch.
Do you have Godot configured to run adb and connect to your phone for one-click deploy? Maybe it doesn't manage to kill the adb child process.

No, I haven't done anything with phones in Godot yet.

I can confirm this. Running latest master compile under Linux, if I quit the editor the CPU usage goes to 100% for that CPU core.
A strace of the process shows the following:

rt_sigreturn({mask=[]})                 = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x58} ---
rt_sigreturn({mask=[]})                 = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x58} ---
rt_sigreturn({mask=[]})                 = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x58} ---
rt_sigreturn({mask=[]})                 = 0
(Repeated forever)

This is the symptom of an infinite loop.

A gdb of the process provides the following information when I quit:

WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1986.
[Thread 0x7fa6cdd72700 (LWP 13086) exited]
ERROR: clear: Resources Still in use at Exit!
At: core/resource.cpp:417.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!
At: core/dvector.cpp:70.
Thread 1 "godot.x11.tools" received signal SIGSEGV, Segmentation fault.
0x0000000002e519ed in OS::print_error (this=0x0, p_function=0x3b2d84b <SelfList::List::~List()::FUNCTION> "~List", p_file=0x3b2d1bd "core/self_list.h",
p_line=111, p_code=0x3b2d458 "Condition ' _first != __null ' is true.", p_rationale=0x3bdd82d "", p_type=Logger::ERR_ERROR) at core/os/os.cpp:87
87              _logger->log_error(p_function, p_file, p_line, p_code, p_rationale, p_type);

And keeps on segfaulting there over and over.

Its interesting. I've opened a few demo projects and they are ok. Its just this one project that its doing it on so it must be something unique to how I've configured it. Its interesting that its having an issue in the DynamicFonts list.
I'll try a full backtrack now.

Opened the editor. Chose my project from the list, which creates a new thread. I then attach to it.
$ sudo gdb -p 17967
[sudo] password for bundabrg:
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 17967
[New LWP 17968]
[New LWP 17969]
[New LWP 17970]
[New LWP 17971]
[New LWP 17972]
[New LWP 17976]
[New LWP 17979]
[New LWP 17982]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6178f96c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
84      ../sysdeps/unix/syscall-template.S: No such file or directory.

For some reason it hits a breakpoint here. I assume because of the debug build. I hit continue here.
(gdb) c
Continuing.
[New Thread 0x7f6165efa700 (LWP 18055)]
[Thread 0x7f6165efa700 (LWP 18055) exited]
[Thread 0x7f616f45d700 (LWP 17976) exited]
[Thread 0x7f6165f7c700 (LWP 17979) exited]
[Thread 0x7f6165f3b700 (LWP 17982) exited]

I then clicked close on the editor
ERROR: ~List: Condition ' _first != __null ' is true.
   At: core/self_list.h:111.
ERROR: ~List: Condition ' _first != __null ' is true.
   At: core/self_list.h:111.
[Thread 0x7f6170ab4700 (LWP 17971) exited]
[Thread 0x7f6170a73700 (LWP 17972) exited]
[Thread 0x7f6170af5700 (LWP 17970) exited]
[Thread 0x7f616fdff700 (LWP 17969) exited]
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1986.
[Thread 0x7f617ada4700 (LWP 17968) exited]
ERROR: clear: Resources Still in use at Exit!
   At: core/resource.cpp:417.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!
   At: core/dvector.cpp:70.

Thread 1 "godot.x11.tools" received signal SIGSEGV, Segmentation fault.
0x0000000002e519ed in OS::print_error (this=0x0, p_function=0x3b2d84b <SelfList<DynamicFont>::List::~List()::__FUNCTION__> "~List", p_file=0x3b2d1bd "core/self_list.h",
    p_line=111, p_code=0x3b2d458 "Condition ' _first != __null ' is true.", p_rationale=0x3bdd82d "", p_type=Logger::ERR_ERROR) at core/os/os.cpp:87
87              _logger->log_error(p_function, p_file, p_line, p_code, p_rationale, p_type);

Then issued a backtrack
(gdb) bt
#0  0x0000000002e519ed in OS::print_error (this=0x0, p_function=0x3b2d84b <SelfList<DynamicFont>::List::~List()::__FUNCTION__> "~List",
    p_file=0x3b2d1bd "core/self_list.h", p_line=111, p_code=0x3b2d458 "Condition ' _first != __null ' is true.", p_rationale=0x3bdd82d "", p_type=Logger::ERR_ERROR)
    at core/os/os.cpp:87
#1  0x0000000002e33b74 in _err_print_error (p_function=0x3b2d84b <SelfList<DynamicFont>::List::~List()::__FUNCTION__> "~List", p_file=0x3b2d1bd "core/self_list.h",
    p_line=111, p_error=0x3b2d458 "Condition ' _first != __null ' is true.", p_type=ERR_HANDLER_ERROR) at core/error_macros.cpp:84
#2  0x000000000281c716 in SelfList<DynamicFont>::List::~List (this=0x458ff30 <DynamicFont::dynamic_fonts>, __in_chrg=<optimised out>) at core/self_list.h:111
#3  0x00007f6178150ff8 in __run_exit_handlers (status=0, listp=0x7f61784db5f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#4  0x00007f6178151045 in __GI_exit (status=<optimised out>) at exit.c:104
#5  0x00007f6178137837 in __libc_start_main (main=0xfab886 <main(int, char**)>, argc=4, argv=0x7ffc92c3b608, init=<optimised out>, fini=<optimised out>,
    rtld_fini=<optimised out>, stack_end=0x7ffc92c3b5f8) at ../csu/libc-start.c:325
#6  0x0000000000fab7b9 in _start ()
(gdb)

Same in #17024

I've removed all Custom fonts from scenes(one by one) and project works normaly. Only one scenes with custom font in label or richtext has caused the error.

I am almost certain that this bug was fixed, @endragor or someone else I feel did?

Still happening to me with v3.0.6 from Steam.

@UltimaN3rd can you try with the alpha or a daily (or master)?
if is fixed on dev branch it may be possible to cherry pick the fix for stable

@eon-s  Still happening
If remove all Custom Dynamic Fonts, not happen.

Minimal project
var c = preload("res://Control.tscn")
Aparentely this line in .gd file causes bug
New Game Project.zip

Confirmed and it also happens on macOS and Windows.

I'm pretty sure that #21060 is the same issue, though I don't know yet if only DynamicFont triggers it or if there's a deeper issue with destructors running after the OS destructor.
IRC log of a discussion with @reduz:
15:28 <Akien> reduz: I'm trying to debug #18429, but I don't understand when ~OS() is being triggered
15:28 <IssueBot> #18429: Segfault or hang on closing in OS::print_error when resources are leaked (tries to access logger singleton after freeing it) | https://git.io/fAFqw
<Akien> (the problem is that `unregister_core_types()` in Main::cleanup calles `StringName::cleanup()` which uses `print_line`, thus OS's logger, apparently after free
<Akien> I guess the destructor is called when `singleton = NULL;` is called?
15:32 <Akien> Well no, it seems to be the other way around
15:38 <Akien> I guess I can ask gdb :D
15:41 <Akien> That's weird, the destructor is called when `OS_X11 os;` goes out of scope in `godot_x11.cpp:main`, but that should be after `Main::cleanup()` has happened.
15:42 <reduz> yes, os destrucor is the last piece of engine code run
15:50 <Akien> Then I don't get how `OS::print_error` can crash with `_logger` being null, since it's freed in ~OS.
<Akien> reduz: Hm yeah ~OS seems to happen before some prints :/ https://paste.fedoraproject.org/paste/-r7siCdaB7PVKgdVon~82Q
15:55 <reduz> i can imagine this may be due to global objects not being destructed
15:55 <reduz> i would check backtrace for this
15:56 <reduz> may show where those objects that are not being uninitialized in globals happen
15:58 <Akien> Well currently I'm checking that with a closed source project (https://koder.itch.io/dv-rings-of-saturn-demo ) where it's obviously a user error where resources are preloaded and not properly freed
15:58 <Akien> But it should not crash anyway
15:59 <reduz> no that should not be a problem
16:00 <reduz> I mean, its bad, the debugger will tell you about it, but its not fatal because those are heap allocations and are not going to be destructed when the engine exists
16:00 <Akien> Backtraces https://paste.fedoraproject.org/paste/AjzXV3aq7xb7EJRfo-ji-A
16:00 <reduz> the only chance for code to run after OS destructor is a global variable not uninitialized
16:00 <reduz> not heap
16:00 <reduz> i mean a C++ global
16:00 <Akien> Ah ok
16:01 <reduz> heap is just discarded, no destructor is called
16:01 <Akien> I'll see if I can reproduce with a simpler project
16:01 <Akien> Might still be this DynamicFont bug
16:02 <reduz> https://www.irccloud.com/pastebin/1cnv75PU/
16:02 <reduz> there clearly are missing stack frames in there
16:02 <reduz> but i am not experienced enough to tell you how to find them
16:02 <reduz> i am afraid you will have to ask tmm[m]
16:03 <reduz> i mean, something must be calling _err_print_error
16:03 <reduz> and its not a lib stdc function
16:04 <reduz> so it sounds like an inlined destructor
16:05 <reduz> oh it is the poolvector destructor
16:05 <reduz> so yeah, there is a poolvector created as a global and not freed beforehand
16:05 <reduz> this seems like engine error to me
16:06 <reduz> as a global or static variable, either of them
16:08 <reduz> in fact, i think poolvector just cant be declared as static variable, even if you clear it, this is probably an overseeing from me
16:09 <Akien> I managed to make a minimal reproducer that triggers it
16:12 <Akien> reduz: https://framadrop.org/r/pXzGZ6pruN#SiPLOA0LKc7ZaaQt3FawOseTYu74vFF7Ti9TkANCbSk=
16:13 <Akien> What causes the segfault in this project is to preload (and leak) a scene using a RTL with a dynamic font
16:14 <Akien> It crashes in release mode. In debug mode, it seems to stall endlessly
16:14 <Akien> (but crashes in gdb)
16:14 <Akien> Thread 1 "godot-git" received signal SIGSEGV, Segmentation fault.
16:14 <Akien> 0x000000000421cf11 in OS::print_error (this=0x0, p_function=0x509ecab <SelfList<DynamicFont>::List::~List()::__FUNCTION__> "~List", p_file=0x509e48d "./core/self_list.h", p_line=111,
16:14 <Akien>     p_code=0x509e8d0 "Condition ' _first != __null ' is true.", p_rationale=0x5151110 "", p_type=Logger::ERR_ERROR) at core/os/os.cpp:88
16:14 <Akien> 88              _logger->log_error(p_function, p_file, p_line, p_code, p_rationale, p_type);

A minimal sample project to reproduce the bug, or at least one part of it (related to DynamicFont): CleanupSegfault-DynamicFont.zip
See also #21060 for more details (it was closed as duplicate of this issue). As mentioned there it also affects Godot 3.0.6.
Some more input from IRC suggesting to debug this with valgrind:
[16:13:24] <Akien> What causes the segfault in this project is to preload (and leak) a scene using a RTL with a dynamic font
[16:14:23] <Akien> It crashes in release mode. In debug mode, it seems to stall endlessly
[16:14:57] <Akien> (but crashes in gdb)
[16:42:58] <spongie> Akien: that is because gdb initializes everything to zero
[16:43:32] <spongie> this = 0x0 which is a certain segfault, but when running outside of gdb this would lead to undefined behavior
[16:43:46] <spongie> (if it turns out that this is indeed uninitialized)
[16:44:14] <spongie> or, what i mean to say is, if you have different behavior in gdb thats usually one cause
[16:44:38] <spongie> Akien: valgrind is great for spotting memory errors like that
[16:45:01] <spongie> it will tell you if uninitialized memory was accessed with --leak-check=full
[16:49:38] <spongie> valgrind is such an excellent tool

This is a fun one.
Reduz was right, the initial error is caused by a static variable destructor (in this case a non-empty SelfList::List). These get called after main, so the OS instance has already been destroyed and it's singleton pointer set to null.
In the case of SelfList::List the destructor looks like this: ~List() { ERR_FAIL_COND(_first != NULL); } which results in a OS::get_singleton()->print_error call, dispatching on null, giving us a regular old SIGSEGV segfault.
Next up, we arrive in a crash handler (which we should have really unset by this point) which has set this little trap for us:
static void handle_crash(int sig) {
    if (OS::get_singleton() == NULL)
        return;
...

giving us the infinite loop.

Working back up the chain, things to do:

Crash handlers probably need to do something simple and fatal if the OS singleton is already gone.
Crash handlers should probably disable themselves in their destructor.
Decide what we want to do regarding error output in destructors and it's interaction with static lifetime objects.

I can PR the first two this evening if I get time, which would turn this issue into a "normal" segfault.
Part three requires some more thought/discussion.

#22415 deals with the crash handlers disabling themselves on destruction.
As far as I can tell only the X11 and OSX crash handlers needed changing. The Windows crash handler seems to already deal well with a missing OS object and the other platforms don't seem to have anything similar going on. (However I could easily be wrong and I don't have access to test those.)

@ibrahn I don't understand too much about the problem, but gave it some tests on Windows using the sample project above.
I couldn't really discern anything aside from a few randomish error messages in the master I had built from this morning.  I cherry-picked your PR and rebuilt the editor, and even less in the way of errors.  Running some template builds for it, so tomorrow I can take a look at an export and see if anything happens there.
In c37442ef0037ccbb63d3cce4caa918512193a06c had this in the editor.

Made a debug export of the project and had this error when closing the window.

@avencherus thanks for testing this :)
#22415 should not have changed any of the behaviour on windows.
As long as it's outputting an error and possibly crashing on close, rather than hanging forever we're in the same place.

Options/Ideas for Static Object Destructor Output Problem

Ban static objects with non-trivial destructors (specifically any that ultimately call into globals like OS) and either change their destructors or heap allocate them and manage the lifetime.

Simple rule. Feels like the most "correct" solution. Possibly a lot of work to replace existing uses.

Add a hacky if (this == nullptr) { /* do something sensible and return */ } to OS methods that become a problem.

Not at all pretty and might be undefined behavior.

Make the OS singleton an "immortal" object, never running is destructor.

Super lazy and pretty much guaranteed to somehow break something somewhere sometime.

Just make sure all the static SelfList::Lists are empty before the end of main and worry about this stuff another time.

Looking for opinions on these and any other ideas.

I can confirm that this tree https://github.com/mjtorn/godot/commits/branch.3.0.6-stable.fontshadow.videofix.spine.crashfix2 looks like it works. Basically I just cherry-picked the two commits from @ibrahn and it doesn't appear to crash anymore.
Further testing is warranted when I find the time, but this feels better than commenting out the error check in the destructor ;)

If this fix was applied before the release of 3.1-alpha2 then I can confirm that my testing still shows this bug is still present. But it is even more hidden. To make it fault I had to load enough scenes. Then it will not allow
get_tree.quit()

to exit without causing a
ERROR: cleanup: Condition ' allocs_used > 0 ' is true.
   At: core/dvector.cpp:70.
Segmentation fault (core dumped)

All of the scenes loaded and queue_free() also tried free() are using dynamic fonts. I can even load additional scenes beyond the limit if they have no dynamic fonts.

If this fix was applied before the release of 3.1-alpha2 then I can confirm that my testing still shows this bug is still present. It appears to be an issue with preload(). Changing preload() to load fixed the issue as a workaround.

Closing as superseded by #23827 which summarizes what is still wrong in the current master branch.
@FeralBytes The fix was applied a few hours after alpha2's commit, so that's normal.


How to reload caddy after fetching git repo?

There might be many reasons to reload caddy after updating git repo.
In my case I use markdown and templates with markdown directive. Example:
localhost {
  root /var/www/html

  git {
    repo myrepo.git
    path /var/caddy-repo
    then rsync -a --delete --force --update /var/caddy-repos/content/ /var/www/html
  }

  ext .md

  markdown / {
    template templates/default.html
    template nice templates/nice.html
  }

}

When I update content/templates/nice.html, without reloading caddy it won't update the template file.
But if I add then sudo systemctl reload caddy to Caddyfile, it gets trapped to reload and git fetch loop.
Is it possible to internally somehow reload configuration? Or is it an issue of markdown directive?

Oh I think the templates are in-memory and this is more of an issue with markdown than with Git.

Is it possible to have way to reload configuration without using systemctl or any external command?

Not right now but it can be added as a feature to Git

What's the current state regarding this issue? I think even if this specific case is a markdown plugin issue (keeping the templates in-memory), it would be great to have the option to reload Caddy after a git pull.


feat(dialog): use native HTML dialog element

What I did

Change internal structure of rh-dialog to use the native HTML <dialog> element.
Overhaul much of the CSS.
Change how we handle #overlay to use the CSS native ::backdrop psuedo-element.
Left notes about deprecating #overlay
Added the accessible-label property for when users want to manually label their modals + added docs.
Modal now has logic to decide when to use accessible-label, aria-labelledby + IDREF, and the aria-label of the trigger element.
Improved layout of modal contents when scrollbars are present
Increased the touch target of the close modal button.
Trap focus inside the modal for improved accessibility (WIP).

Testing Instructions

Visit the DP demo.
Add all kinds of content to the modal header, body, and footer, see if you can break it.
See if focus trapping works with various different interactive elements (or none at all).

To Do's

[x] Fix Shift + Tab focus trapping
[ ] Fix focus trap with Tab in video modal with YouTube embed
[ ] Update/improve changeset
[ ] Test across different browsers and AT
[x] Look into why trigger/rh-button displays two buttons (one without a label) in the DP but not locally

Notes to Reviewers
Some docs on the Guidelines page are incorrect as they have the modal body scrolling independently from the header and footer. That needs updated.
WIP right now. Come back later for a more accurate description. 😇
Closes #1242 and #1238.

Current status
With a lot of help from @zeroedin, he and I were able to get Shift + Tab mostly working for <rh-dialog>. Check out the DP.
Setbacks
Just when we thought we had it cracked, we added an <rh-tabs> component to the body of the <rh-dialog> and found that it did not trap focus as intended if an <rh-*> element is the last focusable item in the dialog.
Possible solutions
We suspect that we'd have to add each focusable <rh-*> element to the focusable selectors list and possibly add delegatesFocus to each of those elements. We'd then have to maintain this focusable selectors list.
OR we could explore implementing a function like this that recursively traverses the Shadow DOM looking for focusable elements. Good to know we're not the first people to run into complexities with web components and focus traps.
OR we could add one of the off the shelf solutions as a dependency.
If anyone has strong feelings about any of these solutions, weigh in!
Video dialog + YouTube
Note that, on a video dialog with a YouTube embed, Shift + Tab works, but Tab does not trap focus. DP Video dialog demo
NB: Right now on uxdot for a dialog + YouTube embed, focus trapping works with Tab but not Shift +  Tab. 🔁 uxdot production video demo
APG Guidelines vs. browser implementations
It's also worth noting that when a <dialog> is open, it does not allow other elements on the page to be focused. APG guidelines explicitly define the required keyboard behavior; however, the native <dialog> element does not follow this guidance. Accessibility practitioners are split as to which behavior is preferrable.

Will look into moving <rh-surface> inside the dialog. 👍

If we're using <dialog>, why do we still need kitty's focus trap javascript? Should we just call showModal by default?

We are calling showModal() on line 370. APG keyboard interaction guidelines clearly state:

Tab:
Moves focus to the next tabbable element inside the dialog.
If focus is on the last tabbable element inside the dialog, moves focus to the first tabbable element inside the dialog.

Shift + Tab:
Moves focus to the previous tabbable element inside the dialog.
If focus is on the first tabbable element inside the dialog, moves focus to the last tabbable element inside the dialog.

Escape: Closes the dialog.

Again, browser's have implemented <dialog> to allow Tab access to things like other tabs and the URL bar instead of truly focus trapping the dialog.

Closing this PR due to merge conflicts. Continue this discussion in #2078.


[checker] Initial Sanity Checker (for C compilers)

The RISCV psABI document currently specifies a lot of platform-specific details, but we have no automated way of checking whether a given compiler matches these details.
This Pull Request is the initial version of a simple test suite for checking a C compiler matches the specification. At the moment, it supports:

Checking type sizes
Checking type alignments
Checking atomic type sizes and alignments (for power-of-two-sized types only)
Checking abi-specific preprocessor defines (such as __riscv and __riscv_float_abi_soft).

Current Results:

GCC Currently passes all checks.
Clang does not pass any ilp32e tests. My test machine also seems to have path-handling issues with the ilp32f and lp64f tests.

The C sources are written using standard C11 features.
Licensing:
Creative Commons licences are not intended for use on code. I have chosen to licence this work under Apache 2.0.
Future steps for the C part of this sanity checker:

Checking architecture-specific preprocessor defines (such as __riscv_mul).
Checking compilers accept both abi and numeric register names.

Out of scope of the C part of this sanity checker:

Checking Calling Convention
Checking ELF Object Files
Checking DWARF Information.

I'm (obviously) a fan of this work, though appreciate people might question whether this repo is the right place for it. It seems a reasonable home from my perspective though.
Given the scope of this tool doesn't include the whole ABI and it necessarily relies on some things which aren't directly required by the ABI (e.g. checking preprocessor defines), I wonder whether renaming it the "sanity checker" might be clearer as to its scope and purpose?

Re-raising this issue: Is there any interest in this sanity checker becoming part of this repository? A clear yes/no would be helpful so I can plan the next steps for this code.

My opinion is that this looks like a very useful tool that belongs in its own repository.

@aswaterman thanks for the feedback. I have split this into its own repository here: https://github.com/lowRISC/riscv-elf-psabi-sanity-checker


Code complete for $"...

Please add code complete for when typing $" to to get $""  i.e. for interpolated strings in C# .  e.g. when using .net maui
$" to get $""

I know trivial or what, but every little helps :()
uhmm something translated that into gibberish.
So in words type dollar sign double quotation and get dollar sign double quote double quote and put cursor between quotes.

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!

oops sorry, I thought I was in visual studio 2022 - doh


erros:  "assertion failure with message: no active bid for name" when create account

i create account local, but i got error
"assertion failure with message: no active bid for name"
the cmd is :
"./cleos.sh create account jinmao3 jinmao41 EOS5jhCJTagZHKEpPaSzMGHynFH3cpG5qQaxetyXXWykTM9av**** EOS5jhCJTagZHKEpPaSzMGHynFH3cpG5qQaxetyXXWykTM9av**** "
would you like to tell me what's wrong?
thanks

maybe the creator is not correct?

Since you get this error message, you certainly have system contract installed.
System contract doesn't allows to create only one short (<12 characters) account name per 24 hours (one that got the highest bid).
If you want to just create an account (without doing bidding) - the name should be exactly 12 characters long.


Invalid LwM2M object definition received for LwM2M Server object

When trying to convert LwM2M Server object, the following error message appears:
Error: Invalid LwM2M object definition received: [{"instancePath":"/1:1.2@1.2/0/6","schemaPath":"#/properties/1%3A1.2%401.2/items/properties/6/type","keyword":"type","params":{"type":"integer"},"message":"must be integer"}]

The converted object (output) looks like this:
<EMAIL_ADDRESS>[
    {
      '0': 101,
      '1': 43200,
      '2': 0,
      '3': 0,
      '5': 86400,
      '6': NaN,
      '7': 'U',
      '22': '',
      '23': NaN
    }
  ]

This is the input data (shadow) for the failing props:
"LwM2M Server": {
  "0": {
    "Mute Send": "false", // 23
    "Notification Storing When Disabled or Offline": "false", // 6
  }
}

This is the XML representation of LwM2M Server in the LwM2M registry
<Item ID="23"><Name>Mute Send</Name>
  <Operations>RW</Operations>
  <MultipleInstances>Single</MultipleInstances>
  <Mandatory>Optional</Mandatory>
  <Type>Boolean</Type>
  <RangeEnumeration></RangeEnumeration>
  <Units></Units>
  <Description><![CDATA[If true or the Resource is not present, the LwM2M Client Send command capability is de-activated.
  If false, the LwM2M Client Send Command capability is activated.]]></Description>
</Item>

<Item ID="6">
  <Name>Notification Storing When Disabled or Offline</Name>
  <Operations>RW</Operations>
  <MultipleInstances>Single</MultipleInstances>
  <Mandatory>Mandatory</Mandatory>
  <Type>Boolean</Type>
  <RangeEnumeration></RangeEnumeration>
  <Units></Units>
  <Description><![CDATA[If true, the LwM2M Client stores "Notify" operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored "Notify" operations to the Server.
  If false, the LwM2M Client discards all the "Notify" operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline.
  The default value is true.
  The maximum number of storing Notifications per Server is up to the implementation.]]></Description>
</Item>

This is the json schema generated by LwM2M types lib

<EMAIL_ADDRESS>{
      "type": "array",
      "minItems": 1,
      "title": "LwM2M Server",
      "description": "This LwM2M Objects provides the data related to a LwM2M Server. A Bootstrap-Server has no such an Object Instance associated to it. LWM2MVersion: 1.2 ObjectVersion: 1.2 MultipleInstances: true Mandatory: true",
      "items": {
        "type": "object",
        "$id": "https://github.com/OpenMobileAlliance/lwm2m-registry/raw/prod/1.xml",
        "title": "LwM2M Server",
        "description": "This LwM2M Objects provides the data related to a LwM2M Server. A Bootstrap-Server has no such an Object Instance associated to it. LWM2MVersion: 1.2 ObjectVersion: 1.2 MultipleInstances: true Mandatory: true",
        "additionalProperties": false,
        "properties": {

          "6": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1,
            "title": "Notification Storing When Disabled or Offline",
            "description": "If true, the LwM2M Client stores \"Notify\" operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored \"Notify\" operations to the Server.\r\nIf false, the LwM2M Client discards all the \"Notify\" operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline.\r\nThe default value is true.\r\nThe maximum number of storing Notifications per Server is up to the implementation."
          },

          "23": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1,
            "title": "Mute Send",
            "description": "If true or the Resource is not present, the LwM2M Client Send command capability is de-activated. \r\nIf false, the LwM2M Client Send Command capability is activated."
          },

        },
        "required": ["0", "1", "6", "7"]
      }
    }

Both values are defined as integer.
Why those are defined as integer in Json Schema if XML definition says those are boolean?

In the LwM2M types definition, both values are defined as boolean
type NotificationStoringWhenDisabledorOffline_6 = boolean

type MuteSend_23 = boolean

In lwM2MDefinitionToJSONSchema method from LwM2M types, booleans are transformed to integers

case LwM2MType.Boolean:
  // In LwM2M Boolean is an 8 bit unsigned integer with the value 0 for False and the value 1 for True.
  prop = S.integer().minimum(0).maximum(1)
  break

This is why the Json Schema expect an integer but the xml definition says boolean.
So, there is string that is defined as boolean but expect to be integer

[ ] Update lwM2MDefinitionToJSONSchema to add link reference of LwM2M Boolean definition


generate docker image and push for development

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

+1

@cckellogg - kubernetes changes for the other yamls will be changed in the later PR.


uart: add a null pointer check before dereferencing plat->adv_func

Please pull. It's one small bugfix to avoid segfaults in uart_init on basic platforms.
Signed-off-by: Tapani Utriainen<EMAIL_ADDRESS>

I'll merge this one later today if there are no objections, @arfoll, @Propanu, @whbruce

yup, looks good to me.

Thanks @arfoll.
Thank you for your contribution, @TechNexion, this is committed with e7b0a3e809910e8d15ca400f7d27f620a2095025


Allow command line arguments using -m friendly_traceback

closes #50
Where sould I document it?

I will write up the documentation, including documenting my suggestion about using usercustomize.py.
It will be included in https://aroberge.github.io/friendly-traceback-docs/docs/html/usage.html
I created a separate project (https://github.com/aroberge/friendly-traceback-docs) for the documentation.

Interestingly, this PR fixes another issue:
When calling python -m friendly_traceback --formatter some_formatter test.py the test.py script was receiving the same argv as friendly_traceback, it will now properly receive an empty argv (with just its name).

Unless I am very much mistaken, this only works for running scripts that do not used "named arguments", i.e. something like the --formatter argument. If this is what is desired, then the usercustomize.py`site.py approach is the only one that I can see which can work.  I will write this in the documentation, and add a link here to the corresponding commit so that you can see what changes I wrote to document this new option.

Direct link to the only relevant change to documentation: https://github.com/aroberge/friendly-traceback-docs/commit/a0b6f141011d0ae30360dca1cd89eda9a3114fa5#diff-7d3008165b82862fcdec94df0ff555fe
New version: https://aroberge.github.io/friendly-traceback-docs/docs/html/usage.html

You should mention that -- could (or should if arguments are not known), to avoid argparse parsing them.
Typically python -m friendly_traceback foo.py --verbose won't work, while python -m friendly_traceback foo.py -- --verbose will. Maybe python -m friendly_traceback -- foo.py --verbose is more readable and should work too (untested).

Thanks, I didn't know of such a possibility. I will try it out later and, if it works, update the documentation and add relevant examples.


udp: create common UDP socket config message

This is a fast follow from https://github.com/envoyproxy/envoy/pull/15388.
I realized that I made a mistake in not using a common configuration
message. There will be more configuration options such as GRO, etc. that
will be configured similarly in multiple places. I'm correcting this
mistake now since the other change just landed within the last couple of
days.
Risk Level: Low
Testing: Existing tests
Docs Changes: Fixed
Release Notes: Fixed
Platform Specific Features: N/A

cc @ggreenway @alyssawilk


Remove jsonrecords Twig helper

Content serialization should be done with Serializable or JsonSerializable interface. JSONed Content should look the same in Twig as well as in API response.
So:
{{ jsonrecords(records) }}

Should be replaced with:
{{ records|json_encode }}

Will get removed with #151


feat(CategoryTheory/GradedObject): the associator for the composition of bifunctors

When bifunctors F₁₂, G, F and G₂₃ are equipped with a natural isomorphism G(F₁₂(X₁, X₂), X₃) ≅ F(X₁, G₂₃(X₂, X₃)) in three variables, then under reasonable assumptions and conditions on indices, there is an associator isomorphism for the action of these bifunctors on graded objects mapBifunctorMapObj G ρ₁₂.q (mapBifunctorMapObj F₁₂ ρ₁₂.p X₁ X₂) X₃ ≅mapBifunctorMapObj F ρ₂₃.q X₁ (mapBifunctorMapObj G₂₃ ρ₂₃.p X₂ X₃).
This shall be used in order to construct the associator isomorphism for the monoidal category structure on graded objects.

[x] depends on: #10667

Thanks for the review!
bors merge


Demo Colab Notebook for Inference

Hi, can you provide a demo colab notebook to get started? It would be great to try out the model using jupyter notebook

Hi, thanks for the suggestion. The Gradio app is our inference demo, it will be straightforward to make a notebook out of it.


Form fields repeated for several things

Not sure why but generated form fields on views are repeated in some cases.

Found issue was due to way fields are being initially mapped. Creating mapping class and re-factoring core code to solve issue and allow more flexibility.

This issue has now been solved with latest bug fixes


polybar displays over other windows

I followed instalation of anybar and it works, but dwm displays polybar over other windows (until they float) and doesn't add any kind of margin on top of display

Do you have override-redirect = false set in your polybar config?

@mihirlad55 im having this issue aswell, i have override-redircet set to false in my polybar config

@DavePlayer i already had it set to 1 but still not fixed


Starting VS Code got slower

VSCode Version: 0.10.11
OS Version: w7

is it just me?
I found VSC very slow after previous update

@cherchyk what specifically feels slower?

For me, startup is slow. Even if I have an instance of Code open, opening another instance takes a good 5 seconds. I'm on a MacBook Air

@mohsen1 is F1 > Reload Window also slow? because if yes, we could do some profiling.

Yes, it's slow when reloading as well. From CLI, opening the shell takes another 2~3 seconds on top of this
Screen capture
https://gfycat.com/NeighboringGloomyDassie

@mohsen1 can you open dev tools (Help > Toggle Developer Tools), click on the Profiles tab, click on the "Start" button, run the "Reload Window Action" and then press stop and then "Save" on the left hand side and attach the file (as zip is fine) here?

CPU-20160316T123357.cpuprofile.zip

@mohsen1 any extensions installed? does it reproduce with starting from the command line with "--disable-extensions"?

moving cursor up and down is slow for me.

I have a couple of extensions

Can't try without extensions since my code alias does not accept an argument...

It should...

It's the same speed. I used this command:
open -n -b "com.microsoft.VSCode" --args --disable-extensions

I use fish. I am too lazy to fix the alias to pass flags to actual executable...

Can you guys please double check that the speed is indeed faster with the previous release: https://github.com/Microsoft/vscode/wiki/Previous-Releases
Also attach the profile for the previous release?

@cherchyk @mohsen1 got a better idea, can you do this for Code 0.10.8 and latest:

reboot your machine to have a fresh start
go into the folder where code.exe lives
run code.exe -p
in the window type Ctrl+Shift+P and pick Developer: Startup Performance
attach a screen shot of the numbers showing (see below for example)

@cherchyk @mohsen1 ping

@bpasero I'll do it today. I want to do it on my slower machine (MacBook Air) since on my Mac Pro it's pretty fast

looks like it my machine

@cherchyk sorry, what does your comment mean?
@mohsen1 thanks!

@bpasero should I pass -p to Electron executable on my Mac?

I can't pass -p to the executable in OS X. Tried:
open -a 'Visual Studio Code' --args '-p' .

or
/Applications/Visual Studio Code.app/Contents/MacOS/Electron -p

with no luck.

@mohsen1 you still need to invoke the action "Developer: Startup Performance" from the command palette.

OS X 10.11.3 running VSCode Insiders 0.10.12.
code-insiders -p
Then executed >Developer: Startup Performance.

OS X 10.11.3 running VSCode 0.10.11.
code -p
Then executed >Developer: Startup Performance.

OS X 10.11.3 running VSCode 0.10.10.
code -p --disable-extensions
Then executed >Developer: Startup Performance.

Wasn't able to install 0.10.9 to PATH so I stopped at 0.10.10.

@csholmq thanks much, the numbers though do not show any slowdown. the interesting number is "Total" which is the time it takes until all things are loaded. Can you see that after ~3 seconds the UI has loaded?

@bpasero From what I can determine, it seems to correlate.

Closing, as the numbers do not show any slowdown.

VsCode version 1.7 VmWare VM 4.0GB ram, W7 32Bits OS
https://dl.dropboxusercontent.com/u/108342291/Captura.PNG

I got same issue. Can you please check. Below is the screenshot of startup performance measurement.
I did as instructed above. I restarted my system then captured the logs

@jaichaturvedi88 is that a single CPU machine?


[forge][k8s] custom genesis modules

Create the option for --move-modules-dir /experimental/move/modules so we can run genesis on experimental Move modules. This option is available both for tests as well as operator resize tool.
Test plan
Run forge resize option on a test cluster: observe the below logs in the genesis job, and the job completing without failure:
+ diem-genesis-tool set-move-modules --shared-backend backend=disk;path=/tmp/genesis.json;namespace=common --dir /experimental/move/modules
Success!

:broken_heart: Test Failed - ci-test

/land


useDrag: end not called when item is dropped

First, I'd like to thank the maintainers for this package, it was really easy to get started with it and do what I wanted!
Describe the bug
From the documentation for the useDrag hook:

For every begin call, a corresponding end call is guaranteed.

https://react-dnd.github.io/react-dnd/docs/api/use-drag
I have an example where this isn't the case, and end never gets called.
Reproduction
Live Reproduction
Steps to reproduce the behavior:

Drag the blue square onto the red square
Look at the console output:

begin
drop

Expected behavior
I would expect the console output to be either
begin
drop
end

or
begin
end
drop

Additional note: if you replace line 84 of the sandbox code by  : [<Square key={0} />, <Square key={1} />]} and repeat the experiment, the console output will be the first expected behavior:
begin
drop
end

Desktop (please complete the following information):

OS: macOS Catalina 10.15.4
Browser: reproduced the behavior on Chrome 81, Firefox 75 and Safari 13.1

@puigfp I believe the issue here is that you are removing the reference to the underlying DOM node and component before the event can fire. That would also explain why replacing line 84 solves this, as it will keep the original DOM node and component around since they share a key. You can also test this by not updating the state - removing line 79 solves this as well.
I am however not sure if this is intended behaviour. If it is, it needs documentation.

@NikxDa Thanks you for your answer!
After playing a little bit more with the sandbox, there is something that puzzles me: deleting the component when it's dropped doesn't always prevent end from being called.
For instance, in this sandbox (the only difference are the additional squares), dragging the left blue square onto the red square has the expected behavior: end gets called.
I'm not sure what makes those 2 situations different?

@puigfp Hm, interesting! It might also be React disposing of the remnants of the useDrag hook once there is no component rendered that is using this specific hook anymore, so as long as the hook stays in "scope", you still receive events. I am not sure however as I do not have an in-depth understanding of how the hook API works at the moment.

@NikxDa Oh, if that's what's happening, I guess there's a simple workaround: having 0px * 0px component somewhere in the page that uses the useDrag hook.
Looks like it works™ 😄

@puigfp Will look into the underlying mechanics now as I'm keen to get details on this. I really hope there's a better solution though

hello Do you have fixed this question??


Confusing DEP003 error

Describe the bug
I'm using urllib3 in my code and importing it and deptry complains about it, but I'm not sure why.
To Reproduce
Run in this project: https://github.com/msys2/msys2-autobuild
$ deptry .
msys2_autobuild/config.py:3:1: DEP003 'urllib3' imported but it is a transitive dependency

Expected behavior
No error, since urllib3 is a direct dependency.
If it was a transitive dependency I wouldn't import it, so I'm a bit confused about the error in general.

I found one unused dep in another project, so thanks for that!

urllib3 does not seem to be a direct dependency, rather it is available because your  project depends on requests, which in turn depends on urllib3. Thus it is a transitive dependency, and you should consider adding urllib3 to your list of dependencies explicitly.
Of course if you feel that this is not needed you can ignore this DEP003 error, see here.
Hope this clarifies! Will close this issue for now as I assume this solves your question. If not, let me know

Ah, damn, it was missing from my dependencies! I somehow didn't get that from the message.
thanks!


Fixed #25441 -- Added support for negative filesize to filesizeformat template filter.

See #5327

Even if it's unrelated to the patch, it's unfortunate that we use a native type name like bytes as a variable name. Maybe bytes_? (could be a separate commit/PR, though).

This messes with the line length though, and I don't want to break lines, as in this case it might break the readability flow.

Merged in ce7dd1273e5ee3d927dbfda0b38aff2517fe004b and dc4c8df7aac81b5d68e40c1327fb362790cde70d, thanks.


Exception when calling ngOnDestroy

When I navigate away from the component app throws exception complaining dispose() function is undefined:
EXCEPTION: TypeError: this.addToastSubscriber.dispose is not a function. (In 'this.addToastSubscriber.dispose()', 'this.addToastSubscriber.dispose' is undefined)
here is the code location:
https://github.com/Stabzs/Angular2-Toaster/blob/master/src/toaster-container.component.ts#L219
btw thanks for putting up this awesome project!

Great catch!  I was using the pre RXJs 5 syntax.  Future tests will catch those issues :).
Glad to hear you're enjoying it so far!


Update the website's Python example

Update of the Python example on http://websocketd.com/ to the example from 9a9dc3a

Thanks


Documentation error: Wrong shortcut for indent/dedent in Google Sheet

I was perusing the shortcuts in the Google Sheet accessible from Todoist via ? and noticed a mistake.
In the "Manipulate" section, the shortut for "dedent task at cursor" is shift+l | shift+left whilst "indent task at cursor" is shift+h | shift+right.     The shift+l and shift+h should be swapped.
Thanks

Ah, good catch, thanks!  I've updated the sheet


fix: add x/wasm feature to simapp

Description
Add x/wasm/ feature to simapp of lbm-sdk default app.
And DockerFile also fixed to build cosmwasm library for x/wasm module.
Motivation and context
default simapp of lbm-sdk doesn't have wasm feature
How has this been tested?
Screenshots (if appropriate):
Checklist:

[x] I followed the contributing guidelines and code of conduct.
[ ] I have added a relevant changelog to CHANGELOG.md
[x] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[x] I have updated API documentation client/docs/swagger-ui/swagger.yaml (no changes)

This PR keep continue in #591 .


Update all dependencies

Update Golang to 1.18
Update all dependencies
Fix missing library

If it works, ship it!

Yes, I have deployed this state for one month and not spot any problems in our devel cluster.

Can I pull the image to test it?

We using different kind of automation for building Docker images, so, if you expect URL to repository, I have to disappoint you. But Dockerfile was updated too, you can build image yourself.
I not updating @alxrem automation here! For example this file will be good changed too.

Thank you!! 😄

Thank you for your review, you are welcome ;).

Hi  @alxrem .
It seems, that you are busy last time. It is very unpleasant let this good and usable project decaying over time.
I would like to maintain it here.
When you be able again, please, let me know and sync all changes interesting for you from our repository to your.
Best regards.

Hi @alxrem .
Im sorry you dont want to maintain this project anymore, but I understand reason.

If you'll agree, I'll write in README about stopping of maintenance of this repository and provide a link to your project.

OK, I agree. It will be my honor maintain this exporter as good as I can. Of course, if you meantime change your decision, your contribution will be very welcome in our repository :).


Add metadata field for search index in azure-search-integrated-vectorization-sample.ipynb

I have some data in a storage container that I want to create a search index for. This data has a metadata field called "sourceUrl" that I want to add to the search index, such that when a file is returned, then we can fetch this information as well.
I have added a couple of lines to the notebook to accomplish this:
SearchField(name="sourceUrl", type=SearchFieldDataType.String)

in the fields-list
InputFieldMappingEntry(name="sourceUrl", source="/document/metadata_storage_sourceUrl"),

in the SearchIndexerIndexProjectionSelector()
FieldMapping(source_field_name="metadata_storage_sourceUrl", target_field_name="sourceUrl")

in the field-mappings list for the SearchIndexer.
But I am unable to populate the field sourceUrl in the indexer - it's just null.
Note: I've tried without "storage" also: metadata_sourceUrl.
I get this warning in the Indexer:
Details: Missing or empty value '/document/metadata_storage_sourceUrl'.

And I have verified that all of the files has the metadata sourceUrl:

For anybody experiencing the same issue: the way to reference metadata is just the name of the metadata-field, in the blobs. So instead of "metadata_sourceUrl" or "metadata_storage_sourceUrl" just use "sourceUrl".


How to retrieve socket(ws) from another nodes/pods

HI, is there anyway we can retrieve socket object across nodes/pods
need socket object(ws) to communicate with client but not able to get it
we are facing  issue after scaling our nodejs to multiple pod

You need to maintain the mapping between userId to socket Id
Whenever you want to communicate to any user, with socket Id found from the user mapping
(You can use Redis to maintain this mapping)
const io = require('socket.io')(3000);
const redisAdapter = require('socket.io-redis');
io.adapter(redisAdapter({ host: 'localhost', port: 6379 }));

let socketId = '' // userId => socketId mapping

let client = io.sockets.connected[socketId] // if socket is connected to the same process
if (!client) { // if socket is probably connected in other node
    client = io.to(socketId)
}
client.emit('msg', 'You can use client object to emit independently of its in the same node or another node')

so i use socket.io-request to pull data from socket client through http
so in an express API i need to find a specific socket object and communicate with it
here is the code

var ioreq = require('socket.io-request');
let client = io.sockets.connected[socketId] // if socket is connected to the same process
if (!client) { // if socket is probably connected in other node
client = io.to(socketId)
}
ioreq(client ).request(req.body.method, {body: req.body}).then(function(res) {
logger.info(res, 'success result ');
result.json(res);
});

when i pass client instance to I get Callbacks are not supported when broadcasting error from socket.io-request lib i was thinking that socket object what i pass is wrong ?? any idea ?? am i doing some mistake here ?
thanks a lot for your help

looks client returned by client = io.to(socketId) is not valid

@Manjukb please see my answer there: https://github.com/socketio/socket.io-redis/issues/283#issuecomment-684478660

For future readers: please check https://socket.io/docs/v4/server-instance/#Utility-methods


fancy-splash-image background not transparent with svg image

What did you expect to happen?
I expected the dashboard image to be transparent when setting the fancy-splash-image to an svg with the following code.
(setq fancy-splash-image "~/.config/doom/Emacs-logo.svg")

What actually happened?
The actual image is displayed correctly but with a white background instead of a transparent one.
I also checked the Messages buffer but nothing of note is found in there.

Is this know behavior? If so I would be willing to update the documentation making user aware of this.
If not, could it have something to do that I am running NixOS?
The svg I am using can be found over here
System information:

SYSTEM  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /run/current-system/sw/bin/bash
        uname      Linux 5.8.13 #1-NixOS SMP Thu Oct 1 15:36:35 UTC 2020 x86_64
        path       (~/.config/emacs/bin/ /run/wrappers/bin ~/.nix-profile/bin /etc/profiles/per-user/$USER/bin /nix/var/nix/profiles/default/bin /run/current-system/sw/bin /nix/store/a8rrv9jfmj7fc8jyf9sn2qmv0zhyr28s-emacs-gcc-20201010.0/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/)
EMACS   dir        ~/.config/emacs/
        version    28.0.50
        build      Oct 11, 2020
        buildopts  --prefix=/nix/store/a8rrv9jfmj7fc8jyf9sn2qmv0zhyr28s-emacs-gcc-20201010.0 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft --with-cairo --with-nativecomp CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200
        features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES NATIVE_COMP THREADS LIBSYSTEMD JSON PDUMPER
        traits     (server-running envvar-file)
DOOM    dir        ~/.config/doom/
        version    2.0.9
        build      HEAD -> develop 3e2c98a0a 2020-10-10 23:19:06 -0400
        elc-files  0
        modules    (:completion (company +childframe) ivy :ui doom doom-dashboard doom-quit hl-todo indent-guides modeline ophints (popup +defaults) treemacs unicode vc-gutter vi-tilde-fringe workspaces :editor file-templates fold (format +onsave) multiple-cursors snippets :emacs dired electric undo vc :term vterm :checkers syntax spell grammar :tools (debugger +lsp) direnv editorconfig (eval +overlay) lookup (lsp +peek) magit make pass pdf rgb :lang (cc +lsp) clojure common-lisp data emacs-lisp erlang gdscript (haskell +dante) hy json (java +lsp) javascript julia latex lua nix (org +roam +pretty) php (python +lsp +pyright) qt scala scheme sh yaml :config (default +bindings +smartparens))
        packages   ((org-ref) (platformio-mode) (gradle-mode) (org-scrum) (tree-sitter :recipe (:host github :repo ubolonton/emacs-tree-sitter :files (lisp/*.el))) (tree-sitter-langs :recipe (:host github :repo ubolonton/emacs-tree-sitter :files (langs/*.el langs/queries))))
        unpin      (n/a)
        elpa       (n/a)

Ok, the plot thickens. When evaluating the piece of code in buffer with C-x C-e, (yes I use the default emacs bindings, forgive me for I have sinned) And than opening the buffer with +doom-dashboard/open it does display the image with a transparent background instead of the white one.
However, in the Messages buffer there seems to be nothing of interest.

I suspect this may be an upstream issue (with Emacs 28). I cannot reproduce this on Emacs 27.1.

@bryanhonof Also experiencing this on Emacs 28, however you don't need to evaluate code with C-x C-e, switching to another buffer and back to the splash-screen is enough to make the background transparent.

Honestly not quite sure what ended up fixing this. But, I haven't noticed this behavior for quite some time now. So I think it's time to close this issue :).


Web App Deployment hangs on zip extract

Required Information
Type: Bug
Task: AzureRmWebAppDeployment 4.179.0
Environment

Server - Azure Pipelines

codat/Codat - Release-174 - releaseId=23987 environmentId=84280

Agent - Hosted

windows-2019

Issue Description
During web deployment of a zipped artifact, the zip extraction causes the task to hang, due to asking
Would you like to replace the existing file:
	Path:     D:\a\_temp\temp_web_package_6079183468286993\Web.config
	Size:     718 bytes (1 KiB)
	Modified: 2020-12-17 11:19:38
with the file from archive:
	Path:     web.config
	Size:     493 bytes (1 KiB)
	Modified: 2020-12-17 11:20:33

This blocks the entire task from finishing.
This task was working yesterday with no problems, and the release pipeline has not changed.
These settings are used for the deployment:

We also have JSON variable substitution enabled for appsettings.json files
Task logs
tasklog_7.log

This turned out to be an error with two web.config files in the artifact.
The build pipeline is an ubuntu agent, and was packaging two files, web.config and Web.config with different casing.
When running the release on a windows agent, the unzip process did not allow both files even with the different casing.
Regardless of the root cause of the issue, is there anything that can be done to always overwrite the 7zip extraction, or to fail the task if it asks for it?

Can you run build pipeline also on windows agent?

Closing this issue due inactivity. Feel free to reopen if issue still persists


signalk-request and AP framework

Hi @mxtommy ,
I have a few good changes to merge:

added Volume to units for tanks and such
improved signalk-request class and added filtering enabling features. If you had multiple put type Widget and subscribed to put Observer, all subscribers were getting all Subject. I added WidgetUUDI and RequestId enabling filter at widget, and/or on individual Puts. See commandReceived() in AP for a usage patern.
updated Switch and State Widgets accordingly
draft AP widget

I think we should merge so these fundamentals get merge sooner rather then later.
Cheers!

Looks good! I added a new commit after the merge, mainly to put the delay in resize back into the steelGauges. Otherwise it re-initilizes the gauge as you resize, which is very laggy (it's not the most efficient gauge :D) Just be sure to pull the commit to your branch! :)

Great. I'll pull and merge master again.


[BUG] Exploiting or reverse engineering software dedected.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
When I use robloxtrap roblox waits 1 min and gives this error

Preliminary instructions. Is this only happening with Bloxstrap? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

Yes

Preliminary instructions. Is this only happening with Bloxstrap? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

Yes

What flags do you have configured in Bloxstrap's FastFlag editor? Show a screenshot of it please.

Okay, I'm not seeing anything wrong here. In the integrations section of the menu, try disabling all of the options there, then launch Roblox. See if you still encounter the same issue.

I am still having same issue

Open Bloxstrap's installation folder at %localappdata%\Bloxstrap, open the version folder, then try running RobloxPlayerBeta directly to see if the issue still occurs there.

Nope, still same

Maybe vulkan is the problem?

Maybe vulkan is the problem? But I have vulkan support and I can open roblox

disable vulkan

Still same

Maybe vulkan is the problem? But I have vulkan support and I can open roblox

You don't have Vulkan enabled though.
Okay, so this is still happening even when you aren't actually using Bloxstrap to launch Roblox. Can I just confirm what settings you have configured? Open the installation folder at %localappdata%\Bloxstrap, and upload the following files here:

Settings.json
State.json
ClientAppSettings.json from Modifications\ClientSettings

Okay, what about the other two?

my bad

Wait, why do you have the Vulkan flag enabled? It wasn't there earlier when you showed a screenshot of the flag editor. Did you recently add it?

Nope

Nope

It wasn't there when you shows a screenshot of the flag editor though. Remove the flag and then try launching Roblox.

Oh, now I can play, but why I cant play with vulkan? it gives more fps and I have bad pc

but why I cant play with vulkan

Roblox doesn't maintain support for Vulkan on Windows, so it's very unstable for most, and results in issues like this.


selectd languga

how can show only two langugage lik en or ch

You only have to give your translation tool this string:
'defaultstring': {
    'en_GB': 'defaultstring in englisch',
    'ch_CZ': 'default string in CZ'
}

and the translation tool will automatically only display GB and CZ in dropdown.
So just add the translation to your string if you want to access it in your dropdown.


BigQuery: Add support for struct query parameters

QueryParameterValue does not currently support STRUCT parameters.
https://github.com/GoogleCloudPlatform/google-cloud-java/blob/0f6a47e19cc51a8baa9e13d9f1bb8d23c105e00a/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java#L58
See the API docs: https://cloud.google.com/bigquery/querying-data#using_structs_in_parameterized_queries for how these work in the API and an example query.

This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog. This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.


Fixed operators.coreos.com picking up wrong kinds

What is this PR About?
These policies were incorrectly picking up Subscription. This PR fixes it, to limit to only kinds which have been deprecated.
Also closes: https://github.com/redhat-cop/rego-policies/issues/105
Check list

[x] Have you run a test case in _test/conftest-unittests.sh
[x] Have you re-generated POLICIES.md

cc: @redhat-cop/rego-policies

/lgtm

/approve


Unable to relaunch single-server cluster

Hi guys,
let me report an other issue faced with when tried to relaunch a single server cluster, after arangod crashed.
After made sure that no old processes stucked and restarted arangod, got the following on the UI:
Request URL:http://<IP_ADDRESS>:8529/_db/_system/_admin/aardvark/cluster/relaunch?_=1431672768081
Request Method:GET
Status Code: 409 Conflict
Response: "Unable to relaunch cluster"```

In the log (debug-level):
```2015-05-15T06:53:10Z [7276] DEBUG [C:\cygwin64\home\jenkins\ArangoDB-2.5.3\lib\Rest\EndpointIp.cpp:284] connecting to ip endpoint 'tcp://<IP_ADDRESS>:8530'
2015-05-15T06:53:11Z [7276] ERROR bootstrapping DB servers failed: Could not connect to 'tcp://<IP_ADDRESS>:8530' 'connect() failed with #10061 - No connection could be made because the target machine actively refused it.```

Please find all details (logs/config/steps) here http://nlacsoft.net/public/arango/restart_cluster_fails.zip

@neunhoef can you checj if this can by reproduced with 2.6?

I cannot reproduce this with 2.6.dev on my Linux machine. In my case the cluster starts OK, when I click "Relaunch". I do get the same errors and warnings as found in the log file, since these are triggered by the UI that first tries to see whether a cluster is still running. The processes are gone, so the health check fails and that produces the warnings.
Strangely enough I cannot see the efforts to relaunch the cluster in the log files.
Did you reload the browser page (after the restart of the initial dispatcher server)?
Did you get the option to Relaunch (one of three buttons)?
Did you hit "Relaunch"?

Thanks for the investigation! I'm not 100% sure that i reloaded the page in the browser but i am that i hit the "Relaunch" button - i think the transaction captured in my Chrome's console proves it that i pasted above. The server responded it with a 409.

this should work with 2.6.0 final; can we close this?

Yes, we can close this.

Reply to this email directly or view it on GitHub:
https://github.com/arangodb/arangodb/issues/1334#issuecomment-114781191


remove spelling mistake

the spelling mistake currently brings users to a 404 page, if he wants to access the code of the terrain demo.

This issue still exists here: https://brm.io/matter-js/demo/#terrain


Can't modify participants in edit

Version where bug was found:
e.g "5.0.2"
Describe the bug
In AA2 experiment in our CL staging region, when attempting to update the experiment to exclude members, the exclusions don't save. This also happens with the factorial AA experiment.
To Reproduce
Steps to reproduce the behavior:

go to staging (or use this experiment in local on 5.0.2).

{"createdAt":"2022-10-27T19:11:03.552Z","updatedAt":"2023-09-07T17:15:39.087Z","versionNumber":10,"id":"88ceb386-a54f-4708-b1b5-cea0606ea059","name":"AA2","description":"Conducting AA2 experiment post Factorial redesign","context":["assign-prog"],"state":"enrolling","startOn":null,"consistencyRule":"individual","assignmentUnit":"individual","postExperimentRule":"continue","enrollmentCompleteCondition":null,"endOn":null,"revertTo":null,"tags":["aa"],"group":null,"conditionOrder":null,"logging":false,"filterMode":"includeAll","backendVersion":"5.0.2","type":"Simple","partitions":[{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"77edee94-7a3f-4d56-bd78-f1ad2f936703","twoCharacterId":"C6","site":"SelectSection","target":"simplify_exponents_2_power","description":"","order":1,"excludeIfReached":false}],"conditions":[{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"7e63ca83-3b36-4ab9-957a-582b11779c24","twoCharacterId":"LD","name":"","description":null,"conditionCode":"Variant","assignmentWeight":50,"order":1,"conditionPayloads":[{"createdAt":"2023-09-07T17:11:01.972Z","updatedAt":"2023-09-07T17:11:01.972Z","versionNumber":1,"id":"a21873e6-ba20-48c1-abd2-3705a10a175e","payloadValue":"variant","payloadType":"string"},{"createdAt":"2023-09-07T17:09:25.512Z","updatedAt":"2023-09-07T17:09:25.512Z","versionNumber":1,"id":"b652debc-f6c5-4ec1-847e-cf664686541d","payloadValue":"variant","payloadType":"string"}],"levelCombinationElements":[]},{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"58a69798-c077-49a7-a194-2028a4da0a7c","twoCharacterId":"IG","name":"","description":null,"conditionCode":"Control","assignmentWeight":50,"order":2,"conditionPayloads":[{"createdAt":"2023-09-07T17:11:01.972Z","updatedAt":"2023-09-07T17:11:01.972Z","versionNumber":1,"id":"1fc7339f-3d91-4874-8445-80c528b315c6","payloadValue":"control","payloadType":"string"},{"createdAt":"2023-09-07T17:09:25.512Z","updatedAt":"2023-09-07T17:09:25.512Z","versionNumber":1,"id":"44b9b900-1557-4302-aa63-3259dd9cfa67","payloadValue":"control","payloadType":"string"}],"levelCombinationElements":[]}],"stateTimeLogs":[{"createdAt":"2023-09-07T17:15:39.091Z","updatedAt":"2023-09-07T17:15:39.091Z","versionNumber":1,"id":"fc2ca864-5fd9-4e81-8f9c-571cd80a78e1","fromState":"inactive","toState":"enrolling","timeLog":"2023-09-07T17:15:39.083Z"}],"queries":[{"createdAt":"2023-09-07T17:06:19.495Z","updatedAt":"2023-09-07T17:06:19.495Z","versionNumber":1,"id":"10fe673a-d612-4307-a205-1f0dc5d86c7b","name":"Percent Graduated","query":{"operationType":"percentage"},"repeatedMeasure":"MOST RECENT","metric":{"createdAt":"2023-06-27T15:50:07.374Z","updatedAt":"2023-06-27T15:50:07.374Z","versionNumber":1,"key":"masteryWorkspace@__@absolute_value_plot_equality@__@workspaceCompletionStatus","type":"categorical","allowedData":["GRADUATED","PROMOTED"]}},{"createdAt":"2023-09-07T17:06:19.495Z","updatedAt":"2023-09-07T17:06:19.495Z","versionNumber":1,"id":"e59d80e2-a4bc-4349-8882-2521094a232b","name":"Mean Workspace Time Seconds","query":{"operationType":"avg"},"repeatedMeasure":"MOST RECENT","metric":{"createdAt":"2023-06-27T15:50:07.374Z","updatedAt":"2023-06-27T15:50:07.374Z","versionNumber":1,"key":"masteryWorkspace@__@absolute_value_plot_equality@__@timeSeconds","type":"continuous","allowedData":null}},{"createdAt":"2023-09-07T17:06:19.495Z","updatedAt":"2023-09-07T17:06:19.495Z","versionNumber":1,"id":"b2f9a88a-862c-4cc2-8971-e19ce9126619","name":"Median Total Problems Completed","query":{"operationType":"median"},"repeatedMeasure":"MOST RECENT","metric":{"createdAt":"2023-06-27T15:50:07.374Z","updatedAt":"2023-06-27T15:50:07.374Z","versionNumber":1,"key":"totalProblemsCompleted","type":"continuous","allowedData":null}}],"experimentSegmentInclusion":{"createdAt":"2023-09-07T17:06:19.495Z","updatedAt":"2023-09-07T17:06:19.495Z","versionNumber":1,"segment":{"createdAt":"2023-09-07T17:06:19.575Z","updatedAt":"2023-09-07T17:06:19.575Z","versionNumber":1,"id":"78babbfb-171a-4be8-85c9-c666a7829755","name":"88ceb386-a54f-4708-b1b5-cea0606ea059 Inclusion Segment","description":"88ceb386-a54f-4708-b1b5-cea0606ea059 Inclusion Segment","context":"assign-prog","type":"private","individualForSegment":[],"groupForSegment":[{"createdAt":"2023-09-07T17:12:41.973Z","updatedAt":"2023-09-07T17:12:41.973Z","versionNumber":1,"groupId":"All","type":"All"}],"subSegments":[]}},"experimentSegmentExclusion":{"createdAt":"2023-09-07T17:06:19.495Z","updatedAt":"2023-09-07T17:06:19.495Z","versionNumber":1,"segment":{"createdAt":"2023-09-07T17:06:19.652Z","updatedAt":"2023-09-07T17:06:19.652Z","versionNumber":1,"id":"c279439f-1675-4983-9f75-43c167450ad6","name":"88ceb386-a54f-4708-b1b5-cea0606ea059 Exclusion Segment","description":"88ceb386-a54f-4708-b1b5-cea0606ea059 Exclusion Segment","context":"assign-prog","type":"private","individualForSegment":[],"groupForSegment":[],"subSegments":[]}},"factors":[],"conditionPayloads":[{"createdAt":"2023-09-07T17:11:01.972Z","updatedAt":"2023-09-07T17:11:01.972Z","versionNumber":1,"id":"a21873e6-ba20-48c1-abd2-3705a10a175e","parentCondition":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"7e63ca83-3b36-4ab9-957a-582b11779c24","twoCharacterId":"LD","name":"","description":null,"conditionCode":"Variant","assignmentWeight":50,"order":1},"decisionPoint":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"77edee94-7a3f-4d56-bd78-f1ad2f936703","twoCharacterId":"C6","site":"SelectSection","target":"simplify_exponents_2_power","description":"","order":1,"excludeIfReached":false},"payload":{"type":"string","value":"variant"}},{"createdAt":"2023-09-07T17:11:01.972Z","updatedAt":"2023-09-07T17:11:01.972Z","versionNumber":1,"id":"1fc7339f-3d91-4874-8445-80c528b315c6","parentCondition":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"58a69798-c077-49a7-a194-2028a4da0a7c","twoCharacterId":"IG","name":"","description":null,"conditionCode":"Control","assignmentWeight":50,"order":2},"decisionPoint":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"77edee94-7a3f-4d56-bd78-f1ad2f936703","twoCharacterId":"C6","site":"SelectSection","target":"simplify_exponents_2_power","description":"","order":1,"excludeIfReached":false},"payload":{"type":"string","value":"control"}},{"createdAt":"2023-09-07T17:09:25.512Z","updatedAt":"2023-09-07T17:09:25.512Z","versionNumber":1,"id":"b652debc-f6c5-4ec1-847e-cf664686541d","parentCondition":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"7e63ca83-3b36-4ab9-957a-582b11779c24","twoCharacterId":"LD","name":"","description":null,"conditionCode":"Variant","assignmentWeight":50,"order":1},"decisionPoint":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"77edee94-7a3f-4d56-bd78-f1ad2f936703","twoCharacterId":"C6","site":"SelectSection","target":"simplify_exponents_2_power","description":"","order":1,"excludeIfReached":false},"payload":{"type":"string","value":"variant"}},{"createdAt":"2023-09-07T17:09:25.512Z","updatedAt":"2023-09-07T17:09:25.512Z","versionNumber":1,"id":"44b9b900-1557-4302-aa63-3259dd9cfa67","parentCondition":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"58a69798-c077-49a7-a194-2028a4da0a7c","twoCharacterId":"IG","name":"","description":null,"conditionCode":"Control","assignmentWeight":50,"order":2},"decisionPoint":{"createdAt":"2022-10-21T13:27:40.847Z","updatedAt":"2022-10-21T13:27:40.847Z","versionNumber":1,"id":"77edee94-7a3f-4d56-bd78-f1ad2f936703","twoCharacterId":"C6","site":"SelectSection","target":"simplify_exponents_2_power","description":"","order":1,"excludeIfReached":false},"payload":{"type":"string","value":"control"}}]}

Edit the participants to add or remove something.
The notification says success, but the network tab shows a 502 server error and it's not updated in UI

Note also that I am able to create a new experiment and edit the participants, so there's something about this project, perhaps it is an older import type or something?

May not be able to replicate, continuing to test this in UI

Closing as unable to replicate


Fix repository url

www.jitpack.io cannot be found

Seems like the error resides on the side of jitpack


Add support for reauth in oauth2

When the library refreshes an access token, if it fails because a rapt
token is required or invalid, we try to refresh the rapt token and then
retry the access token refresh.
To refresh the rapt token, we interact with the rapt service to get one.
This implies getting an access token for just REAUTH_SCOPE (which
shouldn't require a rapt token) then passing that to the reauth service
and answering challenges. Challenges could either be PASSWORD or
SECURITY_KEY. Different accounts can have different policies. Some
accounts might need only password, some can require both.
Once all challenges are answered, we get back a rapt token, which we use
to get an access token with all scopes, and we return the request as if
the original access token refresh completed successfully.
Access tokens can have a lifespan shorter than a rapt token, and getting
a rapt token requires going through the whole reauth flow, where the
user enters their password/gnubby. An example is 1h expiry time for
access token, and 24h for rapt token.
Communication with the gnubby is done via the pyu2f libary (all python)
https://github.com/google/pyu2f/
The idea is clients (like gcloud) could come with that library included,
but if it's not, we can fail elegantly and just tell users we couldn't
refresh access token.
We can also include the library in oauth2 if it's appropriate.

In general we will not be making any more releases of this library unless there is a critical bug. In short- we aren't adding new features to this library.
google-auth will be the permanent replacement for this library once it reaches 1.0. Since this feature is focused on user auth (3lo), I'd recommend contributing it to oauthlib so that we can leverage google-auth's integration with oauthlib.

@svalentin I'm leaving this open, but we still need a lot of work on this as we agreed when we discussed deprecation. Let me know if you need any help.

Thank you for creating this pull request, however, this project is deprecated
and we will only be accepting PRs to address critical security issues. If you
still think this PR should be merged, please comment and let us know!


Add custom CSS classes to allow custom styling

This makes it easier to add custom CSS on specific elements.

I was wondering if we should move the __fourohtwo to a constant and use that in all the places so we whenever we need to modify the rootclass name then we don't need to change it in each and every file.

good idea. how could that be done?
On Mon, Dec 21, 2020 at 20:53, Anup<EMAIL_ADDRESS>wrote:

I was wondering if we should move the __fourohtwo to a constant and use that in all the places so we whenever we need to modify the rootclass name then we don't need to change it in each and every file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update save experiment to save metadata not only at beginning of expt but at the end as well.

E.g. when using the timing feature, it should save the results back to runinfo

"running" status could be updated after the experiment is complete or stopped: runinfo.running = "running", "stopped" or "complete"? or bool

Manually compare runinfo from an expt object to a loaded expt ItemAttribute to see if anything else is missing.


Adding redirect on invalid JWT using the redirect_uri_invalid_jwk option

If the JWT token is invalid Krakend returns 401.
There are use-cases when a redirect might be necessary to point the client to an alternative service or login board

Thanks for the contribution!
I love the idea but I'm afraid this implementation will not cover the "several identity providers" scenario.

Closing due inactivity


Extension stops working completely

After only a few minutes of usage on Mac OS X the extension completely stopped working. no letter keys will work, though arrows still move the cursor. I would provide logs but I dont know where to find them

I'm sorry to trouble you.
I found a bug that press w at the line which has no characters ,and fix it now.
Please update this plugin and try to use it.

Alright that appears to have fixed it


dbus-broker: 29 -> 31, use external c-util dependencies

Description of changes
Update to v31 (https://github.com/bus1/dbus-broker/blob/main/NEWS.md).
Different approach to https://github.com/NixOS/nixpkgs/pull/172845, we now unvendor all c-util dependencies.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Ah I think the issue is that contrary to what is stated in the c-stdaux source, the cflags variable is not exported and does not end up in the generated .pc-file.

This is ready for review @SuperSandro2000 @peterhoeg

Bumped version to 31, which was just released. Also added myself as maintainer of dbus-broker.

note: the pkg-config issue was resolved upstream

rebased

@SuperSandro2000 could you take a look?

closing this since https://github.com/NixOS/nixpkgs/pull/185562 landed


tabs

In using the nativebase tabs, i seem to be a getting a wierd error similar to this one: https://github.com/skv-headless/react-native-scrollable-tab-view/issues/4
Any help on this?

I fixed this problem by giving each tab content a set width.
Something like this
<Tabs>     <View tabLabel="Demo Tab" style={{width: Dimensions.get('window').width}} />     <View tabLabel="Demo Tab 2" style={{width: Dimensions.get('window').width}} /> </Tabs>

Not related to NativeBase let's wait for the solution from
https://github.com/skv-headless/react-native-scrollable-tab-view/issues/4


Release 0.3.13

A new version needs to be released onto crates.io that includes #228. Until this happens, latest nightly is broken with Xargo.

This has now been released. Thanks @japaric!


Mexico holidays are not correct anymore.

Hi! Mexico holidays are not correct anymore. Can you add them please?
They seem to be these ones: https://publicholidays.mx/es/2019-dates/
Thanks!
Originally posted by @juanesfonsecan in https://github.com/dr-prodigy/python-holidays/issues/217#issuecomment-520610719

@juanesfonsecan
Thank you for your interest in the project.
Would you please be more specific (ie: provide specific date issues)?
Thanks in advance

Hi,
I try to solve it.
I will also try to have a mexican friend to have a look at it - but I can't promise that he is good at python 😄 .

Fixed with #281 PR. Well done, thank you very much!

That the Federal Labor Law and the Federal Law of Workers in the Service of the State, through the Official Calendar published in the Official Gazette of the Federation on October 6, 1993 and modified on January 27, 2006, coincide in determining The following days will be observed as compulsory rest days:

January 1;
the first Monday of February in commemoration of February 5;
the third Monday of March in commemoration of March 21;
May 1;
16 of September;
the third Monday of November in commemoration of November 20;
December 1 of every six years, on the occasion of the transmission of the Federal Executive Power,
December 25th.

source: http://dof.gob.mx/nota_detalle.php?codigo=5639091&fecha=22/12/2021


console.log dropped

Per post:
https://forum.babylonjs.com/t/sprite-blendmodes-not-working-correctly/8534/12?u=pryme8

Already fixed in the other PR


Not showing text when passed in as props variable

Really cool tool I'm just having trouble getting it working with variables that were declared outside the component.
I've got this:
<EditTextarea className="text-secondary pb-3" defaultValue={this.props.data_in.class_description} rows={4} />
The text is not showing in the text area either when not editing or editing but if I was to replace the variable with another string declared in this class it would work fine.
I have tried setting it to a variable in the class and then using that but can't seem to get it working, is this something that should be possible?
To elaborate:
If I was to make changes and save them then the text would show, but if I refreshed it would disappear.
I tried to copy the string into another variable in the class, changed the text of the string and copied the variable into a state but with no success.

Have you try using the value prop and onChange prop instead of defaultValue?
You can find the full documentation on: https://bymi15.github.io/react-edit-text/
For example:
const [textarea, setTextarea] = React.useState(
  'Initial value for text area'
);

const handleSave = ({name, value}) => {
  alert(name + ' component saved as: ' + value);
}

<EditTextarea
  name='textarea'
  value={textarea}
  onChange={setTextarea}
  onSave={handleSave}
/>

I have just tried that, code below, I seem to be getting the same problem. It does not show the text when it is passed in from the props data.
I added a console log to make sure the string was stored in the variable. Does it work on your system?
`const App = (props) => {
const [textarea, setTextarea] = React.useState(
props.data_in.class_description

);
const handleSave = ({name, value}) => {
console.log(props.data_in.class_description)

  // alert(name + ' saved as: ' + value);

}
return (

  <CardHeader className="border-bottom">

About

  </CardHeader>

  <CardBody className="d-flex flex-column">

  {/* <EditText className="text-secondary pb-3" defaultValue={this.props.data_in.class_description} rows={4} /> */}

  <EditTextarea
    name='textarea'
    value={textarea}
    onChange={setTextarea}
    onSave={handleSave}
  />

  </CardBody>

</Card>

)
}`

Yes I have tested the code and it works on my system.
Are you sure you are passing the correct props to your App component?
I.e. <App data_in = {some_obj}/> where you define for example: const some_obj = { class_description: "some_text" }

Thanks for the help, I found the issue to be due to the late update of the variable passed into the component. As if I had replaced the variable with a static variable it would work.
I fixed it using a componentWillReceiveProps function within the component to update the variable when a new one is passed in, I have attached my working code in case someone else runs into this problem.
class About extends React.Component {
  constructor(props) {
    super(props);

    this.canvasRef = React.createRef();

    this.state = {
      class_description: this.props.data_in.class_description
    }
  }

  componentWillReceiveProps(nextprops) {
    this.setState({ class_description: nextprops.data_in.class_description });
  }

  render() {

    const handleSave = ({name, value}) => {
      this.setState({ class_description: value });
    }

    const { data_in } = this.props;
    return (
      ...

          <EditTextarea
            className="text-secondary pb-2"
            name='textarea'
            value={this.state.class_description}
            onChange={(value) => this.setState({ class_description: value})}
            onSave={handleSave}
          />


[CCR-01C] Redundant Representation of Literal Constant

CCR-01C: Redundant Representation of Literal Constant

Type
Severity
Location

Code Style

CrossChainRebaseTokenUpgradeable.sol:L32

Description:
The CrossChainRebaseTokenStorage variable is declared as a bytes32 literal instead of utilizing its commented-out representation.
Example:
// keccak256(abi.encode(uint256(keccak256("tangible.storage.CrossChainRebaseToken")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant CrossChainRebaseTokenStorageLocation =
    0xdc2fee72b887a559c0d0f7379919bb4c097013a85e230aa333d867a22945b500;

Recommendation:
We advise the commented-out representation to replace the value literal, ensuring that the value can be easily maintained while ensuring that no external verification of equivalence must be performed.
To note, it is possible to perform literal-based calculations in constant declarations and keccak256 evaluations of string values are correctly evaluated during compile-time.

Thank you for your detailed recommendation in audit item CCR-01C concerning the representation of CrossChainRebaseTokenStorageLocation. I understand the intent behind your suggestion to use a computed expression instead of a literal constant to define the storage location. However, after careful consideration, I have decided to retain the current implementation with the literal constant for several reasons:

Immediate Visibility and Verification: Having the actual computed hash value visible as a literal constant, as opposed to a dynamic computation, offers developers immediate visibility. This aids in verifying at a glance that there are no likely storage collisions, which is critical for the integrity and safety of the contract.

Risk Assessment of Collisions: The literal representation of the hash allows developers and auditors to visually assess the distribution of storage locations. With only the hash input available, it is not possible to discern the resulting storage location without additional computation, which could obscure potential risks of storage overlaps.

Consistency with Established Practices: This implementation style is aligned with the patterns used by OpenZeppelin, a leading library in the space of smart contract development. Following these patterns can be considered a best practice given their widespread adoption and proven security record.

Ease of Troubleshooting: Should a storage collision or related issue occur, having the hash in clear text simplifies the troubleshooting process. It allows for quicker identification of issues without the need for reverse calculation of hashes from their inputs.

Given these points, and in the interest of maintaining a less error-prone approach, the decision is to keep the literal constant representation. I believe that this approach, while perhaps unconventional from a pure code style perspective, offers practical benefits for security, auditing, and maintainability.
I acknowledge the recommendation and appreciate the focus on maintainability and readability, and while the proposed change is certainly technically sound, I believe there are substantial, practical reasons for the chosen approach.
If there are any additional concerns or if a further discussion is required, I am open to dialogue to ensure the best possible outcome for the project's safety and integrity.


Fix issue #53: use VONAGE_APPLICATION_ID environment variable rather …

…than MESSAGES_APPLICATION_ID
I believe this is what is being asked by the hacktoberfest change request.

Hello! Thanks for this, but it looks like this was already handled in #57 , which came in first. I'll be closing this, but not marking as invalid as it was just due to timing.
If there are any other snippets you would like to enhance, feel free!


Context menu remain at the same place

If I right click again at different position, context menu will remain and stay at the same place where the first right click happen.

I've got a retractable top navbar/toolbar from Aceternity ui, inside the toolbar I've a search input bar. However when I try to give param the toolbar loses context and retracts. How can I use Context Menu to fix that?

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Remove data-[state=closed]:animate-out in Content, it worked for me
const ContextMenuContent = React.forwardRef<
  React.ElementRef<typeof ContextMenuPrimitive.Content>,
  React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>
>(({ className, ...props }, ref) => (
  <ContextMenuPrimitive.Portal>
    <ContextMenuPrimitive.Content
      ref={ref}
      className={cn(
        "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
        className
      )}
      {...props}
    />
  </ContextMenuPrimitive.Portal>
))

But in my case, I use a chart library called amcharts5. If I remove this from classname, I'm not able to get a data from a datapoint since this is getting updated on that position inside amcharts.
What to do?


inspectVars(%globals) no overloaded definition

https://github.com/Areloch/Torque3D/blob/BaseGameTemplate/Templates/BaseGame/game/core/postFx.cs#L40
There is no overloaded definition of inspectVars, in neither script nor code.

Seems to be defined here:
https://github.com/GarageGames/Torque3D/blob/c83efa59e0a11fc15c68afaf106807643191ac6f/Templates/Empty/game/core/art/gui/consoleVarDlg.gui#L104


[doc] azd login using device code - devcontainer

Feedback from @aaronpowell when trying eShopOnWeb
Cloned the PR locally under WSL2, opened in VS Code Insiders and launched with the provided devcontainer
Ran azd login to connect to Azure

Had to provide the --use-device-code flag as it couldn't launch a browser from the devcontainer
Might be worth having that documented as sometimes it'll launch a browser (I find it inconsistent across projects I've put azd into)

@aaronpowell , do you have any logs from any time the browser didn't open?
Did azd give an errror?  or nothing happened?

I'll get the exact error message when I next encounter it, but it's generally related to using a Container image that doesn't have xdg-utils installed.

We have documented this as part of doc updates #1475


Remove libopenmpt port

Given the issues raised by the official maintainers, remove this
port until a satisfactory port is submitted.
Fixes #18480

Why not fix the port to work correctly?

Why not fix the port to work correctly?

It seems like the upstream author's wishes ( in #18480 ) disagree with being packaged in vcpkg at all? Many of the things they don't like are design rules for ports (e.g. being accessible from cmake in a consistent form on all platforms).
I'm weakly in favor of outright removal in compliance to the upstream maintainer's wishes

Done.

Why not fix the port to work correctly?

It seems like the upstream author's wishes ( in #18480 ) disagree with being packaged in vcpkg at all?

No, I object to the completely unmaintained state that the libopenmpt has been in from the beginning. If vcpkg is unable to properly update its ports and/or does not even fix valid concerns that I have risen 3 years ago, a port is of no use to anyone,

Many of the things they don't like are design rules for ports (e.g. being accessible from cmake in a consistent form on all platforms).

I did not disagree with supporting cmake, and I even considered taking upstream contribution (https://github.com/microsoft/vcpkg/pull/2669#discussion_r164781796), but that never happened.
If vcpkg did not require signing an utterly unacceptable and legally questionable CLA, I would happily contribute a cmake build system for libopenmpt in vcpkg myself, however in the current licensing state this will certainly not happen.

While I am not a user of this port, it was accepted into vcpkg. That means that clearly, at some point, someone was and still may be using it. As a user in general, I would be very disappointed if an entire port I depended on were deleted in response to a bug report. Even if that bug report is from the maintainer. Within this mindset, I think it is inappropriate to "throw the baby out with the bathwater" and simply delete the port. Further, deleting something when a bug report comes in requesting an improvement seems like an unprofessional, knee-jerk response, IMO. It would be better for the port to be fixed to use the native buildsystem(s) - plenty of other ports have to deal with upstream build systems of dire quality (eg python, openssl), and this will just be another one.

Closing in favor of resolving https://github.com/microsoft/vcpkg/issues/18480 via another way.
Nice to see you again @alexkaratarakis :)


Upload field type has gone from request

Hey there,
I have this in my CrudController
$this->crud->addField([ 	'label' => 'Course featured image', 	'name' => 'featured_image', 	'type' => 'upload', 	'upload' => true, 	'disk' => 's3' ]);
And If I dump $request->all() in CrudRequest, my upload field is gone.
If I change the type to image, it is there.
So the request rules doesn't work for that field, cuz it is not in the request. :(
What may be the problem?
Thank you in advance

I'm so sorry,
I read this on the documentation

The field sends the file, through a Request, to the Controller. The Controller then tries to create/update the Model. That's when the mutator on your model will run. That also means we can do any file validation (file, image, mimetypes, mimes) in the Request, before the file is stored on the disk.

That was actually my problem.
Thank you anyway.

No problem, glad you found your solution. Cheers!


issue when running bash xxxx.sh

@spnadig how did you download the installer?

make sure you pass the -L flag if using curl (otherwise you get an intermediate HTML page)

inovet@furb4:~/tmp$ curl -L -O https://github.com/proppy/conda-eda/releases/download/v0.0-1406-ga734ede/mixed-signal.gf180mcuc-0-Linux-x86_64.sh
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  772M  100  772M    0     0  14.0M      0  0:00:54  0:00:54 --:--:-- 21.7M
inovet@furb4:~/tmp$ bash mixed-signal.gf180mcuc-0-Linux-x86_64.sh -p silicon-env -b
PREFIX=/usr/local/google/home/inovet/tmp/silicon-env
Unpacking payload ...
Installing base environment...
Downloading and Extracting Packages
PathNotFoundError: /tmp/conda-bld/linux-64/open_pdks.gf180mcuc-1.0.368_0_gb8c6129-20230201_032239.tar.bz2
PathNotFoundError: /tmp/conda-bld/linux-64/ngspice-32.2_1267_g8ee3e3fb4-20230201_032239.tar.bz2

Should be:
mixed-signal.gf180mcuc-0-Linux-x86_64.sh -p silicon-env -b

Are you sure the download was complete?

yes

Do you get the same issue with earlier release?
https://github.com/proppy/conda-eda/releases

I had used https://github.com/proppy/conda-eda/releases/download/v0.0-1399-g9288596/mixed-signal.gf180mcuc-0-Linux-x86_64.sh and it had worked . But now others are doing the installs from your latest and are having this issue

Can you comment with the sha1sum or md5sum of the archive?

Managed to reproduce the issue with:
~ 🍙 curl -L -o /tmp/test-silicon-env.sh https://github.com/proppy/conda-eda/releases/download/v0.0-1406-ga734ede/mixed-signal.gf180mcuc-0-Linux-x86_64.sh
bash /tmp/test-silicon-env.sh -p /tmp/test-silicon-env -b
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  772M  100  772M    0     0  36.3M      0  0:00:21  0:00:21 --:--:-- 40.2M
~ 🍙 PREFIX=/tmp/test-silicon-envp
Unpacking payload ...
Extracting : blas-1.0-mkl.conda:  86%|████████▌ | 86/100 [00:19<00:00, 15.11it/s]

Installing base environment...

Downloading and Extracting Packages
open_pdks.gf180mcuc- |                                                    |   0%

PathNotFoundError: /tmp/conda-bld/linux-64/ngspice-32.2_1267_g8ee3e3fb4-20230201_032239.tar.bz2
PathNotFoundError: /tmp/conda-bld/linux-64/open_pdks.gf180mcuc-1.0.368_0_gb8c6129-20230201_032239.tar.bz2

should be fixed with a7c9e06

New installer with the fixes are ready:
https://github.com/proppy/conda-eda/releases/tag/v0.0-1409-ga7c9e06

actuall I think this is a regression in constructor (the installer generator) in https://github.com/conda/constructor/pull/605 and https://github.com/conda/constructor/pull/503.
attempting to revert to an older version in b5131ac671c0f3a7e5519010bb422e7eee63f357

Should be fixed with the new installer:
https://github.com/proppy/conda-eda/releases/tag/v0.0-1424-g1e0ce17
curl -L -o /tmp/silicon-installer.sh https://github.com/proppy/conda-eda/releases/download/v0.0-1424-g1e0ce17/mixed-signal.gf180mcuc-0-Linux-x86_64.sh
bash /tmp/silicon-installer.sh -p silicon-env -b

This was not actually a conda regression but us incorrectly making the open_pdks.gf180mcuc package as public: https://github.com/proppy/conda-eda/commit/0425fa72485b2b2e59d35313926d334c7a78420b