error[E0282]: type annotations needed for Box<_>

Hello, I've tried to compile Fulgor on my computer, but it's failing with the following error
error[E0282]: type annotations needed for `Box<_>`

Do you have any advice on how to fix this?
Version
05d61277f1531d4dc6d6de26c37536979f579896

Computer
OSX, M1, Sonoma
Full output
immortalite:fulgor karel$ mkdir build
immortalite:fulgor karel$ cd build
immortalite:build karel$ cmake ..
-- The C compiler identification is AppleClang <IP_ADDRESS>00026
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_BUILD_TYPE: Release
-- Compiling for processor: arm64
-- Compiling with flags:  -stdlib=libc++ -std=c++17 -O3 -ggdb -Wall -Wextra -Wno-missing-braces -Wno-unknown-attributes -Wno-unused-function
-- linking with rt should not be necessary on OSX; not adding rt
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/~2024-11-07_1048-56/fulgor/build
immortalite:build karel$ make -j
[ 14%] Building CXX object CMakeFiles/sshash_static.dir/external/sshash/include/gz/zip_stream.cpp.o
[ 28%] Building CXX object CMakeFiles/sshash_static.dir/external/sshash/include/dictionary.cpp.o
[ 42%] Building CXX object CMakeFiles/sshash_static.dir/external/sshash/include/info.cpp.o
[ 57%] Building CXX object CMakeFiles/sshash_static.dir/external/sshash/include/builder/build.cpp.o
warning: unexpected `cfg` condition value: `serde`
   --> libs-crates/parallel-processor-rs/src/memory_data_size.rs:103:12
    |
103 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
    |            ^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `memory-guards`, `no-stats`, `process-stats`, `procfs`, and `track-usage`
    = help: consider adding `serde` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
    = note: `#[warn(unexpected_cfgs)]` on by default

warning: struct `RwLockIterator` is never constructed
  --> libs-crates/parallel-processor-rs/src/memory_fs/file/internal.rs:43:8
   |
43 | struct RwLockIterator<'a, A, B, I: Iterator<Item = B>> {
   |        ^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: `parallel-processor` (lib) generated 2 warnings
warning: impl trait in impl method signature does not match trait method signature
   --> crates/minimizer_bucketing/src/lib.rs:357:37
    |
357 |     ) -> impl Future<Output = ()> + Sync + Send + 'a {
    |                                     ^^^^ this bound is stronger than that defined on the trait
    |
    = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate
    = note: we are soliciting feedback, see issue #121718 <https://github.com/rust-lang/rust/issues/121718> for more information
    = note: `#[warn(refining_impl_trait_internal)]` on by default
help: replace the return type so that it matches the trait
    |
357 |     ) -> impl Future<Output = ()> + Send + 'a {
    |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

warning: `ggcat_minimizer_bucketing` (lib) generated 1 warning
   Compiling statrs v0.16.0
   Compiling time v0.3.30
   Compiling clap v4.4.8
   Compiling memory-stats v1.1.0
   Compiling once_cell v1.18.0
   Compiling permutation v0.4.1
   Compiling atomic-counter v1.0.1
   Compiling ggcat_assembler_kmerge v0.1.0 (/private/tmp/~2024-11-07_1048-56/fulgor/external/ggcat/crates/assembler_kmers_merge)
   Compiling cxx v1.0.110
   Compiling fs_extra v1.3.0
   Compiling cxx-build v1.0.110
   Compiling link-cplusplus v1.0.9
   Compiling ggcat_querier v0.1.1 (/private/tmp/~2024-11-07_1048-56/fulgor/external/ggcat/crates/querier)
   Compiling ggcat_dumper v0.1.1 (/private/tmp/~2024-11-07_1048-56/fulgor/external/ggcat/crates/dumper)
   Compiling fdlimit v0.3.0
   Compiling cxxbridge-macro v1.0.110
   Compiling uuid v1.5.0
error[E0282]: type annotations needed for `Box<_>`
  --> /Users/karel/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`

For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
warning: unexpected `cfg` condition value: `mem-analysis`
  --> crates/assembler_kmers_merge/src/lib.rs:28:7
   |
28 | #[cfg(feature = "mem-analysis")]
   |       ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `support_kmer_counters`
   = help: consider adding `mem-analysis` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: `ggcat_assembler_kmerge` (lib) generated 1 warning
[ 71%] Linking CXX static library libsshash_static.acat_querier, cxx(build)
[ 71%] Built target sshash_static
make[3]: *** [lib/libggcat_cpp_bindings.a] Error 101
make[2]: *** [CMakeFiles/ggcat_cpp_api] Error 2
make[1]: *** [CMakeFiles/ggcat_cpp_api.dir/all] Error 2
make: *** [all] Error 2

Rust problems from GGCAT, not actually Fulgor... actually I cannot replicate this error.
Mmmh, @rob-p, any suggestions?

Updating to the ggcat submodule to v1.1.0 seems to fix the problem

ohh great!


Why msn.comm validates?

I have the following code:
import validators

url = 'msn.comm'

if (validators.domain(url)) or (validators.url(url)):
    print("VALIDATION PASSED")
else:
    print("Please insert a domain name in this format: example.com")

And the msn.comm validates. Why is that?

The validator merely checks that the subject is a valid domain syntactically - it does not have a list of valid TLDs nor does it attempt to resolve the domain.  Syntactically 'msn.comm' is valid (as is 'fdsfds.fsaf.asfdsa.fdsa.fsdfsa.fsadfsa', for example).

This is weird. So what is the propose of validation here?

It is validating the format just as many validators do (the email validator doesn't send an email to make sure the account exists).  I would agree that it would be nice to have it check against a list of TLDs.  Perhaps the maintainer could pull from here regularly:
https://data.iana.org/TLD/tlds-alpha-by-domain.txt


Update README.md to provide more info about JDKs

Helping people save time instead of trying to figure out what that unreadable message of SBT means when you have JDK 21 enabled :)

Thanks @edmondop !


Support for Centos

Please consider supporting Centos 7/8.
Provide instruction to build from source against Centos or binary (rpm) for this distribution.
Thanks.

I know it's not CentOS 7 or 8, but I got Procmon for Linux to build on Fedora 33.
Unfortunately it crashes pretty quickly.
`[root@Fedora33 Procmon-for-Linux]# ls -l build/procmon
-rwxr-xr-x. 1 root root 103M Nov 14 03:44 build/procmon*
[root@Fedora33 Procmon-for-Linux]# file build/procmon
build/procmon: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=a4690ec875189a14d4dfe7b12ac3d32c18a9861f, for GNU/Linux 3.2.0, with debug_info, not stripped, too many notes (256)
[root@Fedora33 Procmon-for-Linux]# gdb build/procmon
GNU gdb (GDB) Fedora 10.1-2.fc33
Copyright (C) 2020 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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://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"...
Reading symbols from build/procmon...
(gdb) run
Starting program: /root/src/Procmon-for-Linux/build/procmon
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.32-1.fc33.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
: CommandLine Error: Option 'no-x86-call-frame-opt' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Program received signal SIGABRT, Aborted.
0x00007ffff4db1bc5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff4db1bc5 in raise () from /lib64/libc.so.6
#1  0x00007ffff4d9a8a4 in abort () from /lib64/libc.so.6
#2  0x00000000022c01ca in llvm::report_fatal_error(llvm::Twine const&, bool) ()
#3  0x00000000022c02fa in llvm::report_fatal_error(char const*, bool) ()
#4  0x00000000022abf84 in (anonymous namespace)::CommandLineParser::addOption(llvm::cl::Option*, llvm::cl::SubCommand*) ()
#5  0x00000000022ac183 in llvm::cl::Option::addArgument() ()
#6  0x00000000006e2f55 in _GLOBAL__sub_I_X86CallFrameOptimization.cpp ()
#7  0x00000000023cf91d in __libc_csu_init ()
#8  0x00007ffff4d9c12e in __libc_start_main () from /lib64/libc.so.6
#9  0x000000000074cf8e in _start ()
(gdb) `

Update:
I made this small change and now it runs, but it doesn't seem to do anything.  The banner comes up but if I run it with "-p" to attach it to a running persistent process, I get no output.
--
[root@Fedora33 build]# diff -rC 1 CMakeCache.txt.dist CMakeCache.txt
*** CMakeCache.txt.dist	2020-12-27 01:29:20.515116300 -0800
--- CMakeCache.txt	2020-12-27 01:45:45.961636962 -0800
***************
*** 384,386 ****
  //Enable linking LLVM as a shared library
! ENABLE_LLVM_SHARED:BOOL=OFF

--- 384,386 ----
  //Enable linking LLVM as a shared library
! ENABLE_LLVM_SHARED:BOOL=ON

@RiotNrrrd - thx for advice with llvm!
I'm also tried build & run procmon on fedora 33. Can't build bcc from sources (clang issues). I have installed bcc using yum sudo dnf install bcc bcc-devel.
Logging procmon to file doesn't work (0 events, empty sqlite database), but without file option some events logged:

Export logs to file (F6) doesn't work.
Also some warnings in terminal:
./procmon -p 743932
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from ./include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:76:
include/linux/compiler-clang.h:43:9: warning: '__HAVE_BUILTIN_BSWAP32__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP32__
        ^
<command line>:4:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP32__ 1
        ^
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from ./include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:76:
include/linux/compiler-clang.h:44:9: warning: '__HAVE_BUILTIN_BSWAP64__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP64__
        ^
<command line>:5:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP64__ 1
        ^
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from ./include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:76:
include/linux/compiler-clang.h:45:9: warning: '__HAVE_BUILTIN_BSWAP16__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP16__
        ^
<command line>:3:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP16__ 1
        ^
3 warnings generated.

Just now another capture to file worked successfully (another program).

We are reworking procmon a bit to be able to more easily support new distros. We are well on our way to getting it enabled. Stay tuned.

Duplicate of #70


Feature/stp/actions/reducers

Description
**Invited Collaborator(s) to Review
Jaden, Kazden, John
What work was done?
Added the actions and reducers for the service type programs.
Why was this work done?
This was created in order to have a relationship between the service types and the programs. Each program has a specific set of service types, and we need those relationships for the form to be functional and.
What feature / user story is it for?
https://trello.com/b/U8UUCBeb/family-promise-service-tracker
Type of change

New feature (non-breaking change which adds functionality)
Actions and reducers were created.

Change Status

Completed, ready to review and merge

Loom Recording:
https://www.loom.com/share/c052ad9a939040f8a2371326f9d09f3b
Checklist

My code follows the style guidelines of this project
I have performed a self-review of my own code
My code has been reviewed by at least one peer
I have commented my code, particularly in hard-to-understand areas
I have made corresponding changes to the documentation
My changes generate no new warnings
There are no merge conflicts

Nice naming conventions! Nice job pushing out that much code


Added python ML set up scripts

Added some commonly used tools for machine learning in python to complete the dev_ml_python.ps1 file.
New files:

scripts/GetMLIDEAndTooling.ps1 : Installs VSCode and Git for editing
scripts/PythonMLTools.ps1 : Installs the specific version of python and supporting tools needed to use tensorflow

Edited Files:

dev_ml_python.ps1 : Added calls to the new powershell scripts

 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.:x: mscraigloewen sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


docs: fix simple typo, covnert -> convert

There is a small typo in speech_recognition/init.py.
Should read convert rather than covnert.
Semi-automated pull request generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Thanks a lot!


Add new section/subsection "Retrieval Error Estimates/Uncertainties"

Description
Several users have pointed out that we are missing an important section/subsection of the ATBD related to "Retrieval Error Estimates and Uncertainties. It is anticipated that most users will need this section but not all. Therefore, we need to determine how to treat this section (i.e., optional or have some informative placeholder text - see outcome #802).
Initial thinking is that this section should follow the "Mathematical Theory/Assumptions" section and would be
(1) Retrieval Error Estimates
(2) Retrieval Error Uncertainties
However, it doesn't necessarily fit there nor does it fit within the Algorithm Performance Assessment section. Placement needs discussion.
Acceptance Criteria

[ ] Options are scoped out
[ ] The decided solution is implemented and this section is added to both general and journal PDFs

cc @wrynearson

@frozenhelium could you share how complex it would be to add a new section to ATBDs (edit, view and both PDFs)

@bwbaker1 could you help us scope this out further? Or should we put this in the FY24 backlog?

@wrynearson I think it would be best if we could get this completed FY23, if possible. Let's add a new section within the "Algorithm Description" step between "Mathematical Theory" and "Algorithm Input Variables." Let's call this section "Retrieval Assessment" and it will have the subsection "Retrieval Uncertainty Estimates." It should include the rich text editor.
Between these two.

So the TOC and section headers would look like this:
3. Algorithm Description
3.1 Scientific Theory
3.1.1 Assumptions
3.2 Mathematical Theory
3.2.1 Assumptions
3.3 Retrieval Assessment
3.3.1 Retrieval Uncertainty Estimates
3.4 Algorithm Input Variables
3.5 Algorithm Output Variables
The text prompt should be this.
3.3.1 Retrieval Uncertainty Estimates
"Describe the uncertainty and/or errors applicable for the observational retrievals. This can include uncertainty in the scientific or mathematical methods used."
Side note. We will need to update the text prompt for Algorithm Usage -> Performance Assessment -> Uncertainties to the following:
"Describe the uncertainties applicable to the validation methods."
Let me know if this isn't clear. I may have some edits to the text prompt after I think about it more.

@bwbaker1 I don't think we'll be able to complete this by mid next week, with all of the remaining tickets scheduled for this sprint. If we do finish the other tickets in time, we'll look at this.

@bwbaker1 this is ready for your review. I updated the prompts

@wrynearson Looks good.


⚠ Bofrost.fr has degraded performance

In 7cb7627, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1583 ms

Resolved: Bofrost.fr performance has improved in ce8fead after 8 minutes.


Wizard Form Transitions

Hi,
Is there a way to create transitions between steps? Currently, I have a custom "submitStep" function to manipulate the visible step. The issue is that it won't work when you trigger the hook "nextStep" with the navigation item, unless with pass some parameters and create some messy js code.
I was wondering if there's an "onChange" hook that is aware of the current and next steps.
Thanks!

Hi @va-studio,
For now, it did not support animation between steps. But if you have an idea of an API in FormizStep to deal with this, feel free to share it there. So I can update the code :)

Any chance to do something with the as props on the FormizStep component? (I'm not used to do animation in React, sorry :( )

Hi @ivan-dalmet I'll have a look at it and let you know.
As for an idea for the API, I'd be glad to contribute but my knowledge is not enough to do it.
The workaround I found was to add a class as active to the current step and then fade in the content. Unfortunately is not possible to delay the display: none of the previous step, but it looks perfect for its purpose.
I'll let you know if I managed to deal with the as props. Meanwhile, feel free to consider this issue closed.
Thanks again for your support! We're about to use Formiz on another project, congrats, you did a really good job here!


Add random_shear processing layer

I have implemented the transform_images method in the RandomShear image processing layer. If this pull request is accepted, I can proceed with implementing the transform_bounding_boxes method as well.
here is my gist

Codecov Report
Attention: Patch coverage is 27.77778% with 65 lines in your changes missing coverage. Please review.

Project coverage is 29.89%. Comparing base (6ce93a4) to head (4eef04c).

Files with missing lines
Patch %
Lines

.../preprocessing/image_preprocessing/random_shear.py
25.28%
65 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (6ce93a4) and HEAD (4eef04c). Click for more details.
HEAD has 8 uploads less than BASE

Flag
BASE (6ce93a4)
HEAD (4eef04c)

keras
5
1

keras-numpy
1
0

keras-torch
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20702       +/-   ##
===========================================
- Coverage   81.95%   29.89%   -52.07%
===========================================
  Files         547      548        +1
  Lines       51036    51126       +90
  Branches     7893     7905       +12
===========================================
- Hits        41826    15283    -26543
- Misses       7285    35284    +27999
+ Partials     1925      559     -1366

Flag
Coverage Δ

keras
29.89% <27.77%> (-51.89%)
:arrow_down:

keras-jax
?

keras-numpy
?

keras-openvino
29.89% <27.77%> (-0.01%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update readme with instructions on how to run the application locally

In order for us to go open source, we need to make a bunch of definitions before launch v1.0.

Contribution workflow
Developement workflow

Technical approach
Server details
Client details

... (suggestions?)

One goal is to write short list of links in CONTRIBUTING.md (as seen here https://github.com/blog/1184-contributing-guidelines), most of the detailed notes can be stored in the Wiki https://github.com/x-team/x-map/wiki, as a suggestion.
Also interesting reading https://guides.github.com/activities/contributing-to-open-source/

One suggestions of the usage in the README.md is to have brief descriptions of what is this project and other general information, like the stack used, something like:

Roadmap v1.0

Version goals
What is X-Map
Schedule
How others can contribute?

...


[Compute] Fix boot diagnostics decoding (#16454)

Also #15590. When the console contains non UTF-8 characters, we decode it as
ASCII and log a warning instead of throwing an exception and logging nothing.
Description

Fixes az vm boot-diagnostics get-boot-log  crashing as reported
Testing Guide
Have a VM log some garbage on the console then try reading the boot-diagnostics from the cli.
History Notes

[Compute] Fix boot diagnostics decoding (#16454)

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Compute


testing: fix address sorting test on macos by removing a fragile assumption

Fixes https://github.com/grpc/grpc/issues/29782
Looks like macos monterey's inet_ntop API changed how its represents IPv4-compatible IPv6 addresses

portability linux failed with an infrastructural OOM issue:
kokoro_log_reader: Exhausted retries waiting for bash to return an integer exit code, returning exit code 137 instead

portability tests linux failed with an infra OOM issue:
kokoro_log_reader: Exhausted retries waiting for bash to return an integer exit code, returning exit code 137 instead.


Add Marketing

Idea:
Step 1: Hire Sales Rep (+10 Nails demand increase, -0,1% per Assisant. Cost 5 cent / tick), wage increases
Step 2: Marketing Campaign(Slider with budget) -> Increases nail demand by 1 per dollar and tick, dollars invested go down to 1. Only 3 campains can be started. Canceling only refunds 50% of leftover budget.


Display issue when using Themify and Material UI light theme

I have two different installations of OctoPrint, both with the Themify and Change Filament plugins installed, and this issue occurs with both, so I thought I would post this issue.  I have the Themify plugin installed, and have the theme set to Material UI light.  The background colors of the Park and Unload buttons are white, and with the font's color also being white, it makes the buttons unreadable:

If I change the theme to a dark theme, like discorded, I'm able to read the text:

...but unfortunately, I don't use any of the dark themes, I use the only light theme provided, Material UI light.
I've noticed that there are other inconsistencies with other themes as well, like when using Disoranged, the M600 button has a background color of red, but the other buttons have a dark gray background color:

Those are issues in Themify and/or those themes. This package specifies how the buttons and icons should look using standard bootstrap classes, which the Themify package and/or themes are free to redefine.

Hi Jim, I'm a developer.  It's been a while since I've used Bootstrap, so I don't recall "what's standard" or what "the right way to do it" is (wrt Bootstrap), but looking at the other buttons within OctoPrint (and this includes the base OctoPrint as well as the other plugins that I have installed), every other case of where there's a button, the markup is along the lines of:
<button class="btn btn-primary"> 	 	 		Park 	 </button>
Where as, the markup in Change Filament is just a button element:
<button class="btn nowrap btn-info fa fa-check">      Park </button>
(additional markup was removed and omited for clarity)
Here's what's displayed when I changed the second button to the markup I listed above:

Notice now that the font has also been fixed as well.
I don't know if this issue is a bug in Themify, or in Change Filament, but it seems that everywhere else in OctoPrint (including other plugins) the markup of the buttons is along the lines of , instead of

It could also be a fault or missing feature in OctoPrint's plugin system. This plugin defines the buttons using the ViewModel and not via HTML directly. So it is not something that can be changed by me, since I don't control that output.
See this for example: https://github.com/jim-p/Change_Filament/blob/master/octoprint_Change_Filament/static/js/Change_Filament.js#L92
There is no way I have yet found using that system to define the parameters in a way which results in the "good" HTML.
But using classes in the way this plugin does works everywhere else, and is valid for bootstrap and font awesome.


Performance issue with SQLServer 2022

Search first

[X] I searched and no similar issues were found

Description
After moving from SQLServer 2019 to SQLServer 2022 we encounter a performance hit during application DB update.
Expected/Desired Behavior
Manually executing modified query proves restored performance.
Liquibase Version
No response
Database Vendor & Version
SQLServer2022
Liquibase Integration
No response
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Windows 11
Additional Context
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

@lenv - thank you for submitting this issue. When you get a chance, could you share the following information:

What version of Liquibase are you using?
Are you running Liquibase from the CLI, Maven, Java API, or something else?

Liquibase is 4.23.2
Java API is being used.
The real issue for slow down is RBAC implementation in SQL Server 2022 and the way it handles non admin user.
But proposed query eliminates RBAC overhead.

Thank you for the additional information (and for the proposed query change). I'm forwarding this to development.

Hi @lenv,
Would it be possible you can share  some more details that help me to reproduce this issue? For example, if it's possible would be nice if you could share the changelog you are using or tell me some more details about the table you created. How many rows does it have so I can replicate a similar case and see if I can get the same or similar performance than you.
Thanks,
Daniel.

Guys, we are closing it for now. If someone else is also seeing this same issue for MSSQL please share some additional details we can use for debugging and find out the root cause.
Thanks,
Daniel.


Document edge cases regarding Flutter Linux

Thanks to @tmpfs's comment, an issue with running Corrosion on ARM Linux has been found.
Detail: Flutter ARM only ships with Snaps which bundle CMake 3.10 and cannot use FetchContent.
Needs to investigate whether Corrosion itself is compatible with older versions of CMake. I will raise this issue with upstream as needed.

@Desdaemon , from my research into this FetchContent requires cmake 3.11 and trying to install Corrosion from source failed for me (I was trying to avoid using FetchContent and just include it but I hit a different error).
Ultimately, this seems to be a problem with the flutter snap shipping old cmake IMO.

A few findings I got for now:

Corrosion requires CMake 3.12, so Flutter Snap users (both x86 and ARM) cannot use this method
This may potentially be fixed by canonical/flutter-snap#61
I haven't found satisfactory replacements for Corrosion, I will update this issue when I have more info.


Updates

The action needs to be updated in order to keep workig: https://github.blog/changelog/2023-05-04-github-actions-all-actions-will-run-on-node16-instead-of-node12/

Use @vercel/ncc instead of deprecated @zeit/ncc
Upgrade to node 20
Upgraded typescript and types
Use createCommitStatus instead of deprecated createCommit
Use actions/checkout@v3

Fixes: #37

I gave it a try and I got this error:
Specified argument was out of the range of valid values. (Parameter ''using: node20' is not supported, use 'docker', 'node12' or 'node16' instead.')

You may want to downgrade to node16

I was unsure if node20 was supported, I will downgrade to node16
https://github.com/actions/runner/issues/2619

Currently only node16 is supported. See https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-javascript-actions

@dobladov Can you publish your action please ? It looks as if this repo is not being actively maintained.

@ragmondo I would still prefer if @Sibz continues being the maintainer, I'm not as knowledgable about the action internals, I only did some maintenance work for this PR.
I published my version on the marketplace, in case this repository stays unmaintained.
https://github.com/marketplace/actions/action-status
You can use the action with<EMAIL_ADDRESS>usage should be the same.
I will do some testing tomorrow to see if it works properly.

@dobladov Can you publish your action please ? It looks as if this repo is not being actively maintained.

Sorry been away and isolated from the internet. I have some catching up to do.

@dobladov I've added you as a collaborator as I do need help, I'm a bit overwhelmed at the moment.

@guibranco thanks for approving, I still need someone to approve the check before merging.

Still can't merge.

In case it helps other, here is an alternative solution to create statuses, currently using node 16 and soon using node 20
  - name: Create status
    uses<EMAIL_ADDRESS>    with:
      route: POST /repos/{owner}/{repo}/statuses/{sha}
      owner: ${{ github.repository_owner }}
      repo: '${{ github.event.repository.name }}'
      sha: ${{ github.sha }}
      state: error, failure, pending, success
      target_url: ${{ env.JOB_URL }}
      context: ${{ env.STATUS_DESCRIPTION }}
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@dobladov I am currently using an updated V2 version (a fork of this). If anyone is interested in trying it out, please use this URL: https://github.com/guibranco/github-status-action-v2.
I am curious to know whether the owner of this repository will return to approve or merge these PRs, or if they have abandoned all projects in their account. Their last activity on GitHub was in August 2023, and the last commit to this repository was over three years ago.


Question about JWTs & Refresh on Mobile Apps

I have a Django Rest Framework API and I'm using this plugin for my auth. I have a question about how refresh tokens are meant to be used exactly, because I've seen conflicting reports around the web on refresh tokens and access tokens and don't have much experience with this.
My goal: mobile users after authenticating should essentially never be logged out unless they do it explicitly or we somehow need to revoke their access.
Here are my questions.
Question 1 – Expiry Times
I couldn't find great references online for how long these should last, so I chose a REFRESH_TOKEN_LIFETIME of 52 weeks, because I don't want my user to be logged out. But this seems wrong, and the user will be logged out after a year anyways, when I don't want them to be logged out at all.
What are good lifetimes for each value in a consumer social app? How can I make a system where the refresh token doesn't need to expire? We are not a banking app or anything with extreme security needs.
SIMPLE_JWT = {
    "ACCESS_TOKEN_LIFETIME": timedelta(days=1),
    "REFRESH_TOKEN_LIFETIME": timedelta(weeks=52),
}

Question 2 – Refresh Flow

Our auth flow is pretty straightforward– we auth and return the auth and refresh tokens. The client saves both of these values, using the access token as a bearer token for auth, and saving the refresh token to get new access tokens like we should

{
    "access": "xxx",
    "refresh": "xxx"
}

Our refresh flow operates just like the documentation specifies, using the views.TokenRefreshView() the user returns the refresh token to an endpoint:

POST /auth/token/refresh/
{"refresh": "xxx"}

This will return something like this response below, which the client will save and use as a bearer token.
{"access": "xxx"}

My main question here comes down to confusion regarding how people say that JWT's work online. For example, in this article it specifies that BOTH a new access token and new refresh token are returned.
This makes sense to me, because if we have a long-lived refresh token (like 1 year) but occasionally refresh it (say on every fresh launch) this means you'll only be logged out if you don't use the app in a very long time, because you'll always have a new refresh token with a new expiry.
My question in this section is: am I missing something here? Is there a reason views.TokenRefreshView() doesn't return both a new access and refresh token? I understand there may be multiple options at play here, but I want to make sure I don't deploy something that isn't working or is misconfigured because of my own misunderstanding.

Hi aaron,
Unlike your background, I have zero industry or school experience, but I’ll
do my best to explain JWTs in general and industry standard (hypocritical
ey?):
JWT is just a string that contains some payload (not encrypted) and secret
claims (encrypted). That’s all JWT is; what you’re confused about is OAuth
and OpenID standards, both using JWT and its internal system, token claims.
I’ve worked a little bit in Swift, so further explanations of mobile
applications will be in terms of iOS + Swift (but similar things are done
on the Android + Kotlin). Additionally, I’m not going to explain in the
order of your questions, but this is a general overview if everything JWT
Authentication for mobile development.
When you perform authentication with JWT, you save the two tokens from the
TokenObtainPairView in the Keychain. This is your”login view” in which the
user sends the username and password. The purpose is to avoid sending the
credentials so often in case of MITM attacks. Although for a mobile app
backed by a website, you’ll be adding your domain to Apple and Google’s
well-known files in addition to mandatory HTTPS.
Anyhow, the architecture of simplejwt is modeled similarily to OAuth 2.0’s
standard method of auth/access token plus refresh, in which you save a
refresh token to “refresh” your access token, which is used to authenticate
your user; you can think of it as a Django session cookies, This is how DRF
knows which user you are (since we save the user ID in the token claim).
You can take a look at my repo for this package: mobile-auth-example. It’s
a GitHub template repo, but it’s architectured around my personal mavorite
modeling of network abstraction.
For us mobile developers, what we’ll do is keep using the access token in
the Authorization header until the token is expired, in which you’ll get a
401 unauthenticated response code. Makes sense right? Token expired means
you need to refresh the access token to be reauthenticated. My repo js set
up to automatically perform this action for both mobile platforms.
Finally, the lifetime of a refresh token should just be alive for a day. On
iOS, “login automatically” functionality for me is having an initial view
controller authenticate with his/her current credentials u+pw (you’ll need
to setup associated domains on iOS and Android with .well-known JSON files
unless you use regular Keychain).
My justification for a one day token is due to security paranoia. Microsoft
has refresh tokens as long as 90 days, but I don’t feel confortable about
that with MITM, SIM swap, etc., even with TLS.
On Sat, Aug 8, 2020 at 6:45 PM Aaron Ng<EMAIL_ADDRESS>wrote:

I have a Django Rest Framework API and I'm using this plugin for my auth.
I have a question about how refresh tokens are meant to be used exactly,
because I've seen conflicting reports around the web on refresh tokens and
access tokens and don't have much experience with this.
My goal: mobile users after authenticating should essentially never be
logged out unless they do it explicitly or we somehow need to revoke their
access.
Here are my questions.
Question 1 – Expiry Times
I couldn't find great references online for how long these should last, so
I chose a REFRESH_TOKEN_LIFETIME of 52 weeks, because I don't want my
user to be logged out. But this seems wrong, and the user will be logged
out after a year anyways, when I don't want them to be logged out at all.
What are good lifetimes for each value in a consumer social app? How can
I make a system where the refresh token doesn't need to expire? We are
not a banking app or anything with extreme security needs.
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(days=1),

"REFRESH_TOKEN_LIFETIME": timedelta(weeks=52),

}
Question 2 – Refresh Flow

Our auth flow is pretty straightforward– we auth and return the auth
and refresh tokens. The client saves both of these values, using the
access token as a bearer token for auth, and saving the refresh token
to get new access tokens like we should

{
"access": "xxx",

"refresh": "xxx"

}

Our refresh flow operates just like the documentation specifies,
using the views.TokenRefreshView() the user returns the refresh token
to an endpoint:

POST /auth/token/refresh/
{"refresh": "xxx"}
This will return something like this response below, which the client will
save and use as a bearer token.
{"access": "xxx"}
My main question here comes down to confusion regarding how people say
that JWT's work online. For example, in this article
https://hasura.io/blog/best-practices-of-using-jwt-with-graphql/#silent_refresh
it specifies that BOTH a new access token and new refresh token are
returned.
This makes sense to me, because if we have a long-lived refresh token
(like 1 year) but occasionally refresh it (say on every fresh launch) this
means you'll only be logged out if you don't use the app in a very long
time, because you'll always have a new refresh token with a new expiry.
My question in this section is: am I missing something here? Is there a
reason views.TokenRefreshView() doesn't return both a new access and
refresh token? I understand there may be multiple options at play here, but
I want to make sure I don't deploy something that isn't working or is
misconfigured because of my own misunderstanding.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SimpleJWT/django-rest-framework-simplejwt/issues/284,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOLG4VRN35PDACGDG7GPBZLR7XIP5ANCNFSM4PY3ZDFQ
.

Hey @Andrew-Chen-Wang – thank you for taking the time to explain this to me. My background is as a Product Designer and I went to school for Business, so I appreciate you being detailed with your technical explanation. You are also correct that I have not read the OAuth and OpenID standards, and that I am misusing the noun JWT to potentially refer to OpenID and OAuth standards. I will avoid doing this in the future.
So, I understand that you could normally store the username and password in Keychain to re-auth on refresh token expiry (like you suggest)–– but my app only uses "magic tokens" for auth (we send a 6-digit token w/ a short expiry to an email). We don't have the concept of a password or credential to store or reauthenticate with after refresh token expiry– maybe I should consider returning and storing DRF AuthToken in Keychain instead.
This seems to be where my confusion comes from in trying to use this package: I don't have the concept of a credential for re-authing after refresh token expiry, so I'm not sure how long to set this to. Maybe this is wrong for my use-case.

Ah I see, awesome to see designers in business learning some CS! To be
frank, the OpenID and OAuth standards are complex for everyone (which leads
to their security vulnerabilities ffs).
You can save anything in iOS, React Native, Android, etc. Keychain systems.
Doubles, floats, strings, custom classes, anything :P I’m just concerned
that your application has no true method of “authentication.” Sure, you can
give a user/person a token to use for 48 hours, but your access token
should remain minimal, 5-15 minutes, to avoid any interception. Perhaps you
should instead look into Django Rest Framework’s built-in auth token
package, as that has no refresh idea, only a simple token that can be used
until expiration, as you said.
The only thing that might play useful in you scenario is that SimpleJWT has
a token blacklist app that can help identify if a refresh token shows if a
user is “signed out” from an app. This can be shown either through
blacklisting the token or simple expiration.
Overall, I believe your thinking’s correct: SimpleJWT may not be good for
your use case, especially since authentication is done through something
like RSA’s app/2FA apps/token based apps on top of temporary email
verification.
If it’s an open source project, you can ping me in your repo. If it’s
closed source, my email’s somewhere in whatever repository, and you can
email me through there regarding how your authentication can play better
with this package or how we can find a better alternative. Either way, good
luck!
By the way, you can also continue the discussion here. I just may have some
more detailed questions (and think more in terms of solutions), but I worry
you’d be leaking vital info if your project’s closed source.
On Sat, Aug 8, 2020 at 8:36 PM Aaron Ng<EMAIL_ADDRESS>wrote:

Hey @Andrew-Chen-Wang https://github.com/Andrew-Chen-Wang – thank you
for taking the time to explain this to me. My background is as a Product
Designer and I went to school for Business, so I appreciate you being
detailed with your technical explanation. You are also correct that I have
not read the OAuth and OpenID standards, and that I am misusing the noun
JWT to potentially refer to OpenID and OAuth standards. I will avoid doing
this in the future.
So, I understand that you could normally store the username and password
in Keychain to re-auth on refresh token expiry (like you suggest)–– but my
app only uses "magic tokens" for auth (we send a 6-digit token w/ a short
expiry to an email). We don't have the concept of a password or credential
to store or reauthenticate with after refresh token expiry– maybe I should
consider returning and storing DRF AuthToken in Keychain instead.
This seems to be where my confusion comes from in trying to use this
package: I don't have the concept of a credential for re-authing after
refresh token expiry, so I'm not sure how long to set this to. Maybe this
is wrong for my use-case.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SimpleJWT/django-rest-framework-simplejwt/issues/284#issuecomment-670989084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOLG4VSPUINDT7CUQPRYG3TR7XVPRANCNFSM4PY3ZDFQ
.

Sounds good. I'll shoot you an email. Thanks for your help.


Tasks can be run several times under certain conditions

Hi,
I encountered a problem of repeatedly running tasks in my pipeline running on Luigi 2.8.0.
Basically, it consists of several tasks:

A(input_dt) — the lowest level luigi task, it's result is stored in DB, so exists check on target takes some time;
B(input_dt) — has A(input_dt) as it's dependency;
C(input_dt) — triggered by cron once in 10 min, depends on B(input_dt) and B(input_dt - 10 min).

As you may see, each B task is checked twice, and sometimes it leads to duplicate runs.
I tried to reproduce the bug for a long time and finally I wrote a test that reproduces it locally:
import logging
import shutil
import unittest
from multiprocessing import Process
from time import sleep

import luigi
import luigi.server
from luigi.task import logger

existence_check_delay = 2
parent_sleep_time = 5
child_sleep_time = 4

logging.basicConfig(format='[%(asctime)s: %(name)-5s %(levelname)-5s %(filename)s:%(lineno)s] '
                           '[%(processName)s:%(process)d %(threadName)s] %(message)s',
                    filename="test_result.log")

class SleepyLocalTarget(luigi.LocalTarget):

    def exists(self):
        sleep(existence_check_delay)
        return super().exists()

    def touch(self):
        self.open("w").close()

class Parent(luigi.Task):
    output_dir = luigi.Parameter(default="")

    def requires(self):
        return Child(output_dir=self.output_dir)

    def output(self):
        return SleepyLocalTarget("{}/Parent".format(self.output_dir))

    def run(self):
        logger.info("============= PARENT IS RUNNING =============")
        sleep(parent_sleep_time)
        self.output().touch()

class Child(luigi.Task):
    output_dir = luigi.Parameter(default="")

    def output(self):
        return SleepyLocalTarget("{}/Child".format(self.output_dir))

    def run(self):
        logger.info("============= CHILD IS RUNNING =============")
        sleep(child_sleep_time)
        self.output().touch()

class ConcurrencyTest(unittest.TestCase):

    @staticmethod
    def test_async_run():
        temp_dir = "_temp_concurrent"
        server_process = Process(target=luigi.server.run)
        process1 = Process(target=luigi.build,
                           kwargs={"tasks": [Parent(output_dir=temp_dir)]})
        process2 = Process(target=luigi.build,
                           kwargs={"tasks": [Parent(output_dir=temp_dir)]})

        server_process.start()
        process1.start()
        sleep(2 * existence_check_delay + child_sleep_time + parent_sleep_time)
        process2.start()
        process1.join()
        process2.join()
        server_process.terminate()

        shutil.rmtree(temp_dir)

Here's the test result log: test_result.log, logger.info("PARENT IS RUNNING") was executed twice.
AFAIK, the main difference between luigi.build in the test and the real execution is in no_lock flag, but this safeguard does not work in case of the real pipeline since C tasks started from cron have different parameters.
I suspect the main problem is that while process2 check Child's state, Parent state can be changed from PENDING to DONE by process1, so the message to scheduler with PENDING status after DONE status triggers Parent task again.
Can you please take a look? Thanks in advance!

Here is a picture of what I think happens in this case:

That's strange, I don't think Worker B waits with sending the status of the Parent task like the picture demonstrates. It should run complete() and the immediately say "PENDING" about the Parent task, to which the scheduler should just ignore as the scheduler knows that Parent task is RUNNING.
I haven't used luigi for almost 2 years now so I might be a bit rusty (read plain wrong). :)

@Tarrasch, I figured out how to resolve my issue without any changes: using parallel_scheduling and parallel_scheduling_processes parameters. It allows to run complete() asynchronously, so worker sends the task status almost immediately.
I believe this issue can be closed as well as PR, although I'm a bit surprised that parallel_scheduling is not enabled by default.
And thank you for the support! :+1:

@GoodDok is there any documentation which should be updated to make this more clear?

@Tarrasch @dlstadther please don't close the issue for a while, it seems like the issue was reproduced even with the discovered parameters, but I want to make it sure.

Take your time and let us know of any discoveries.

@Tarrasch, I've created yet another unit test (tried to make it simpler) that involves only one task (AnyTask).
It's output is a file in the temporary directory, the task fails on the second run() due to 'x' mode.
complete() method emulates my situation: I connect to some remote source (DB), get the result, then close the connection.
The test shows the situation when Worker A sends DONE and after that Worker B sends PENDING.
from __future__ import print_function

import os
import shutil
import tempfile
import time
import unittest
from multiprocessing import Process
from os import path

import luigi.notifications
import luigi.task_register
import luigi.worker

class AnyTask(luigi.Task):
    time_to_check = 0.1
    time_to_run = 2
    output_dir = luigi.Parameter(default="")

    def complete(self):
        time.sleep(self.time_to_check)  # e.g., start connection
        exists = os.path.exists(path.join(self.output_dir, "AnyTask"))
        time.sleep(self.time_to_check)  # e.g., finish connection
        return exists

    def run(self):
        time.sleep(self.time_to_run)
        # 'x' mode does not allow opening file if it already exists
        open(path.join(self.output_dir, "AnyTask"), 'x').close()

class ConcurrentTest(unittest.TestCase):

    def setUp(self):
        self.p = tempfile.mkdtemp()

    def tearDown(self):
        shutil.rmtree(self.p)

    def test_sending_same_task_twice_does_not_lead_to_double_run(self):
        process = Process(target=luigi.build,
                          kwargs={"tasks": [AnyTask(output_dir=self.p)],
                                  "parallel_scheduling": True,
                                  "parallel_scheduling_processes": 2})
        process.start()
        time.sleep(AnyTask.time_to_run + AnyTask.time_to_check)
        # AnyTask cannot be run twice, so we will have an error if luigi tries to run it again
        self.assertTrue(luigi.build([AnyTask(output_dir=self.p)],
                                    parallel_scheduling=True,
                                    parallel_scheduling_processes=2))
        process.join()

if __name__ == '__main__':
    unittest.main()

Note: I added parallel_scheduling parameters only to show that they change nothing here: they only save from long-running completeness checks for child tasks.
I've updated the diagram below according to the situation:

I’ve never seen this in many years of ‘luigi’! Before I give this some testing, does your final test still fail if you use the same scheduler for each ‘luigi.build’?

Hi @kwilcox, yes, most of the time I was testing it with luigid started in a separate process without local_scheduler=True.

@GoodDok, again huge thanks for taking the time to deep dive into this.
As for your test case, whatvever you see when using "local_scheduler": True should not be considered real behaviour. It's not using the same local scheduler, I think both task instances use a separate completely in memory scheduler, there won't be any inter-worker communication. Does that make sense?

Also, how often does thing rerun for you in prod? In most cases if it doesn't happen to often I wouldn't be worried (your tasks should be able two run twice without bad side effects), but it of course depends on how much money you pay when a task runs (and how much money you spend on debugging this).

@Tarrasch, most of the time I was testing it with luigid started in a separate process, updated the test so local_scheduler won't confuse anymore. Some code may look strange since I'm not a Python programmer :)
As for rerunning, the problem is that in the current implementation some tasks that I'm running are not idempotent, so running it twice may e.g. duplicate data.

Alright. I see what happens now, and yes your diagram looks correct to me. To me it's basically these series of state transitions PENDING  -> RUNNING -> DONE -> PENDING  - RUNNING  -> DONE  as your diagram nicely shows.
I have to admit that this is a fully valid bug you've found and that the current model of the luigi scheduler isn't able to handle this gracefully. Normally when a task is RUNNING the scheduler will ignore others, and once DONE it will not be reported as PENDING by others. However yes there's this timing issue as you've discovered.
Given how our general recommendation to luigi users is to "rerun until it works", it would make sense that there's a period of "PENDING-distrust" directly after task completion (or actually after any DONE-marking, that would work too). Either the tasks can be configurable for this distrust time or probably better, it's dynamic based on how long the completion check took for the task that reported it as DONE (and you add it again to  "double that" to get the distrust time).

What do you think?

@Tarrasch i believe it's a problem that should be considered thoroughly.
From my point of view, "PENDING-distrust" approach seems fine, and it should be discussed what to do during this period: should the late tasks "fail and retry afterwards" or some other option. As for dynamic configuration of the delay, it may be not enough in cases when "check time" is not stable (e.g. stabilizing a connection to DB may take different amount of time).
One more option that comes to my mind is to make complete() check right before running the task, like it's done for external tasks (maybe as a configurable option):
https://github.com/spotify/luigi/blob/ff2be7ee78adccec6ef58bf2a9a404e38cecec84/luigi/worker.py#L187-L192
But I'm not so familiar with the codebase and don't understand what kind of consequences such change may have.
Besides that, maybe there are some other options to consider, at the end of the day collaborators are those who make the final decision.

It won't be "fail and retry afterwards", it's just that the scheduler will not give the task to the worker to run - however if there are a common parents between the worker that already ran the task and the ignored worker, they will continue to "cooperate".

I'm not sure if we should do a complete() check before a task is run - it has one downside that I see if complete() is slow you don't want it to run twice, and if it's fast you won't have this problem to begin with anyway.
But yes I agree we should discuss this, but I'm not sure how many luigi users care about this given how very long time it took us to find this scheduling bug.

Well, sounds like a good way to solve the problem.
I agree, double complete() check has this downside, I suggested it only because it looks like a simple and fast solution while touching scheduler's logic sounds a bit scary for me (although maybe it's not scary at all).
I don't know, maybe it's not that important, but maybe we face an example of survival bias: the bug is pretty hard to reproduce, so someone may have moved from Luigi without a possibility to reproduce nor fix the problem.
As I mentioned before, I suspect these guys faced the same problem: https://groups.google.com/forum/#!topic/luigi-user/YCEQIEz0jLo

You're certainly right about the survival bias. Also it's likely those guys had the same issue.
I'll be here to help reviewing if you decide to take a shot at it.

i thought about this again. What about just have a configurable distrust time only on the server? No need to force the client to send the information on how long complete takes to run. I'm pretty sure nobody will be hurt by having it default to say 10s. What do you think?

@Tarrasch I like your idea to set a configurable distrust time on the server and 10s period seems reasonable for me. Maybe I'll think about applying this approach to resolve the issue.

Waiting for the PR review: https://github.com/spotify/luigi/pull/2645

stable_done_cooldown_secs does not appear in the configuration docs, changing previous behavior...


TST: sparse: silence warnings about boolean indexing

Using numpy master, the boolean indexing tests raise many instances of:
VisibleDeprecationWarning: boolean index did not match indexed array along dimension 1; dimension is 10 but corresponding boolean dimension is 5

This change pads the index array for dimension 1 to length 10, silencing the warning.
As an aside, I noticed that boolean indexing with two 1-d arrays is really brittle: if they have different numbers of True elements, the indexing will fail. Would there be any support for changing sparse indexing to match np.matrix?
In [2]: A = np.matrix(np.random.random((4,2)))

In [3]: B = ss.csr_matrix(A)

In [4]: i, j = [1], [0,1]

In [6]: A[i,j]
Out[6]: matrix([[ 0.51929,  0.53164]])

In [7]: B[i,j]
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-7-492ed56fa418> in <module>()
----> 1 B[i,j]

/usr/local/lib/python2.7/dist-packages/scipy/sparse/csr.pyc in __getitem__(self, key)
    317         col = asindices(col)
    318         if row.shape != col.shape:
--> 319             raise IndexError('number of row and column indices differ')
    320         assert row.ndim <= 2
    321

IndexError: number of row and column indices differ

Thanks! I was just getting annoyed by those warnings:)

That indexing behavior is the same for ndarray as for np.matrix, and therefore it makes sense for sparse matrices to also behave the same.
It's not boolean indexing though. Change the ints to bools and you'll get:
In [22]: i = [True]

In [23]: j = [False, True]

In [24]: A[i,j]
/home/rgommers/.local/lib/python2.7/site-packages/numpy/matrixlib/defmatrix.py:318:
FutureWarning: in the future, boolean array-likes will be handled as a boolean array index
  out = N.ndarray.__getitem__(self, index)
Out[24]: matrix([[ 0.43567514,  0.64387507]])


[google_maps_flutter_web] Maps view detects gesture even when a widget is over it

Steps to Reproduce

Run flutter create bug.
Update the files as follows:
Add to current page. Set up with correct values for it to display properly.
Push a new route.
Try to click on anything in that route.
The map is registering gestures and is moving, even though it's not visible but behind the newly pushed route.

Expected results:
The maps should not continue registering hit tests when its not visible or is being blocked by another widget.
Actual results:
The maps detects gestures and conflict with newly pushed route.

Logs

Just some TODOs

[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale en-US)
    • Flutter version 1.25.0-8.3.pre at /Users/josetapizquent/Projects/Tools/flutter
    • Framework revision 5d36f2e7f5 (4 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/josetapizquent/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.141
    ! Error: TapPhone is not connected. Xcode will continue when TapPhone is connected. (code -13)

• No issues found!

@tapizquent
Can you check out this issue and see if it resemble yours and if the solution mentioned in it works for you ?
If not, please provide a complete minimal reproducible code sample that shows the issue.
Thanks.

@tapizquent
Can you check out this issue and see if it resemble yours and if the solution mentioned in it works for you ?
If not, please provide a complete minimal reproducible code sample that shows the issue.
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


HDDS-11078. Remove usage of sun.misc.Signal

What changes were proposed in this pull request?

Move SignalLogger to hdds-server-framework from hdds-common, as it is only used by servers, not clients.
Replace usage of sun.misc.Signal and co. due to:sun.misc.Signal is internal proprietary API and may be removed in a future release

It can be replaced with jnr-posix.

There are quite a few new (transitive) dependencies, but they are smallish jars and licenses are OK:
 120K asm-9.2.jar
  34K asm-analysis-9.2.jar
  71K asm-commons-9.2.jar
  52K asm-tree-9.2.jar
  83K asm-util-9.2.jar
 159K jffi-1.3.13.jar
 992K jffi-1.3.13-native.jar
  85K jnr-a64asm-1.0.0.jar
 1.6M jnr-constants-0.10.4.jar
 714K jnr-ffi-2.2.16.jar
 275K jnr-posix-3.1.19.jar
 215K jnr-x86asm-1.0.2.jar

https://issues.apache.org/jira/browse/HDDS-11078
How was this patch tested?
Tested with Docker Compose in ozone environment.
Signal handlers are registered:
ozone-om-1  | 2024-06-27 16:43:06,814 [main] INFO om.OzoneManagerStarter: registered UNIX signal handlers for [SIGHUP, SIGINT, SIGTERM]

Stopping container:
$ docker-compose stop om
Stopping ozone-om-1 ... done

sends signal as previously:
ozone-om-1  | 2024-06-27 16:43:46,007 [SIGTERM handler] ERROR om.OzoneManagerStarter: RECEIVED SIGNAL 15: SIGTERM
ozone-om-1 exited with code 137

CI:
https://github.com/adoroszlai/ozone/actions/runs/9701649212

Thanks a lot @ivandika3 for the research and reviewing this.


Error: KeyError: 'edge_sidecar_to_children'

I keep getting this error. I am not a developer. So I don't know what to do. I have multiple args_(insert kind).txt files. This only happens with one of them.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/structures.py", line 156, in _field
d = d[key]
KeyError: 'edge_sidecar_to_children'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/instaloader", line 11, in
load_entry_point('instaloader==4.2.7', 'console_scripts', 'instaloader')()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/main.py", line 410, in main
storyitem_filter_str=args.storyitem_filter)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/main.py", line 186, in _main
download_stories, fast_update, post_filter, storyitem_filter)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/instaloader.py", line 1017, in download_profiles
downloaded = self.download_post(post, target=profile_name)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/instaloader.py", line 462, in download_post
for sidecar_node in post.get_sidecar_nodes():
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/structures.py", line 226, in get_sidecar_nodes
for edge in self._field('edge_sidecar_to_children', 'edges'):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/structures.py", line 159, in _field
d = self._full_metadata
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/structures.py", line 142, in _full_metadata
self._obtain_metadata()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instaloader/structures.py", line 136, in _obtain_metadata
if self.shortcode != self._full_metadata_dict['shortcode']:
TypeError: 'NoneType' object is not subscriptable

This issue has already been fixed. You seem to be using an old Instaloader version. Please upgrade Instaloader and try again.
If you installed Instaloader with Pip, you can upgrade to the newest version using:
pip3 install --upgrade instaloader


github collector not able to fetch anything

Hi,
github collector throwing error :
404 Not Found:http://vchniladpsci-04.ad.infosys.com/api/v3/repos/s.com:8090/r/IVSBookStore_MySQL/commits?sha=matser&since=2017-05-26T12:20Z
pls help on this

@ashu5993 can you post the full stacktrace?

githuberror.txt
Hi here it is.

application.properties.txt
here it is

Have you tried setting up the widget and passing the username and pass there instead of in your properties file?

its giving error encypting password error.

what command are you running for the collector?

java -jar target\github-scm-collector-2.5.0-SNAPSHOT.jar --spring.config.name=application --spring.config.location=application.properties
yes i have taken out at properties file and giving in ui

@ashu5993 here are a couple of things I see

Add the full path to the properties file. I would also suggest having a separate properties file for the collector
java -jar target\github-scm-collector-2.5.0-SNAPSHOT.jar --spring.config.name=application --spring.config.location=full_path_to_file/application.properties
Example:
java -jar target\github-scm-collector-2.5.0-SNAPSHOT.jar --spring.config.name=github --spring.config.location=full_path_to_file/github.properties

In your properties files there is no such thing as a github.username= so you'll need to remove that.

The github.apiKey=is not the correct format.  See https://github.com/capitalone/Hygieia/tree/master/UI#encryption-for-private-repos and look at the section about Encryption for private repos for information how to set up the github.apiKey

Hi @Sbrenthughes  tried All options but still not able to fetch anything . still throwing error.
2017-06-22 15:00:00,028 INFO  c.c.d.collector.CollectorTask - Starting...
2017-06-22 15:00:00,037 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-06-22 15:00:00,092 ERROR c.c.d.collector.DefaultGitHubClient - Cannot decrypt this message
null
2017-06-22 15:00:00,171 ERROR c.c.d.collector.DefaultGitHubClient - 404 Not Found:http://infygit.ad.infosys.com/api/v3/repos/it.ad.infosys.com/Ashutosh_Tiwari07/BookStoreApplication_v1.0/commits?sha=matser&since=2017-06-22T14:50Z
2017-06-22 15:00:00,171 INFO  c.c.d.collector.CollectorTask - Repo Count              1        0s
2017-06-22 15:00:00,174 INFO  c.c.d.collector.CollectorTask - New Commits             0        0s
2017-06-22 15:00:00,175 INFO  c.c.d.collector.CollectorTask - Finished                         0s
Please have a look in this .

Can you post the updated properties file as well as the updated command used to run the collector?
I also updated my post above it should be github.key=.

Here they are :+1:
properties-file :-
Database Name
dbname=admin
Database HostName - default is localhost
dbhost=localhost
Database Port - default is 27017
dbport=27017
MongoDB replicaset
#dbreplicaset=false
#dbhostport=[host1:port1,host2:port2,host3:port3]
Database Username - default is blank
dbusername=db
Database Password - default is blank
dbpassword=dbpass
Logging File location
logging.file=./logs/github.log
Collector schedule (required)
github.cron=0 0/5 * * * *
github.host=github.com
github.key=NIxRaHoaBHCMW4oxATGD5iCuGvQ3ZIAW
Maximum number of days to go back in time when fetching commits
github.commitThresholdDays=315
#Optional: Error threshold count after which collector stops collecting for a collector item. Default is 2.
github.errorThreshold=2
monitor.proxy.host=<IP_ADDRESS>
monitor.proxy.type=http
monitor.proxy.port=80
monitor.proxy.username=Ashutosh_Tiwari07
monitor.proxy.password=Ashu120517
updated commands -
java -jar target\github-scm-collector-2.5.0-SNAPSHOT.jar --spring.config.name=application --spring.config.location=D:\Hygieia\collectors\scm\github\target\application.properties

https://github.com/capitalone/Hygieia/issues/1625

Please reopen if you are still facing issues.

Hey @Sbrenthughes, I followed all the steps and have successfully setup the scm collector, and it shows no errors while starting the collector too but it shows the total repo counts and all other data to be 0

the application .properties file looks like:
# Database Name
dbname=dashboarddb

# Database HostName - default is localhost
dbhost=localhost

# Database Port - default is 27017
dbport=27017
server.contextPath=/github
server.port=9082
# MongoDB replicaset
dbreplicaset=false
dbhostport=[host1:port1,host2:port2,host3:port3]

# Database Username - default is blank
dbusername=

# Database Password - default is blank
dbpassword=

# Proxy URL
#github.proxy=

# Proxy Port
#github.proxyPort=

# Proxy user if auth is required
#github.proxyUser=

# Proxy password if auth is required
#github.proxyPassword=

# Logging File location
logging.file=./logs/github.log

# Collector schedule (required)
github.cron=0 0/2 * * * *

github.host=api.github.com

github.firstRunHistoryDays=60
github.rateLimitThreshold=100
github.graphqlUrl=https://api.github.com/graphql
github.baseApiUrl=https://api.github.com/

# Maximum number of previous days from current date, when fetching commits
github.commitThresholdDays=50

# A filter of commits with subject containing the pattern that will be filtered
#github.notBuiltCommits[0]=(.)*(\\[maven-release-plugin\\])(.)*
#github.notBuiltCommits[1]=(.)*(orion committed files to rewardsone-chef\\/environments\\/environments\\/rewards_sparkearnengine\\_)(.)*(json)

# Optional: Error threshold count after which collector stops collecting for a collector item. Default is 2.
github.errorThreshold=1000

# This is the key generated using the Encryption class in core
github.key=<my key here>

# Personal access token generated from github and used for making authentiated calls
github.personalAccessToken=<my token here>
# Github repository Connect Timeout value in milliseconds, default value is 20000 (20s)
github.connectTimeout=20000

# Github repository Read Timeout value in milliseconds, default value is 20000 (20s)
github.readTimeout=60000

github.commitPullSyncTime=10800000
github.offsetMinutes=2
github.fetchCount=25
github.collectChangedReposOnly=false

github.privateReposCollectionTime=7200000
#github.searchCriteria=

and the UI result is as :

Any insights would be much appreciated!


Remove Inch badge

nanoc is a tool, not a library. As much as I care about documentation, API documentation is not where it’s at for nanoc. Because of this, I don’t feel that the Inch badge belongs in the nanoc README.
I will continue to use Inch for other projects where it is more appropriate (for instance, cri).
CC @rrrene

No need to explain yourself :+1: On the contrary: Thanks for being one of the first to sport this badge in your README!
It's people like you that gave Inch a chance and made it a success (and this blog post possible: http://trivelop.de/2015/06/18/inch-ci-first-anniversary/ )
Kudos to you, sir! :man:

:+1:


Mainnet wallet creation and macaroons questions

I followed the guide ad literam (as a newbie that I am) on a Raspberry Pi 3 B+, first I worked on testnet and now I moved to mainnet.
My problems:
1.the macaroon files... in the /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/ are 5 files: admin.macaroon, invoice.macaroon, readonly.macaroon, macaroon.db and wallet.db. What files should I copy to /home/admin/... ? Only the admin.macaroon?
2.when creating the wallet on mainnet, I kept the same password as on testnet, but for the seed part, should I use the seed from the testnet wallet? Or choose No (I don't have a seed) and generate a new seed?
3.I already created the mainnet wallet from the testnet wallet's seed... If this is wrong, and I must create a new one with fresh new seed, should I delete some files first? Will I have 2 wallets?
What are the exact and correct steps?... because I don't know anything about nodes and wallets...
I just want it up and runnig to see if it's profitable and as a personal curiosity...
Thanks!

Commenting from my phone, so an short answer (for now).

The way macaroon files are stored changed in lnd 0.5. Stadicus has been on holiday for a while and hasn't fully updated the guide yet. You can check some pull requests in the meantime to get it working I think one of them has this thing in it.

You should het a new wallet/seed. It is more secure and will prevent future problems.

Don't know how to do that atm. You could lookup the lncli rpc command and check if it's there.

And "to see if it's provitable" I can tell you it won't earn you any significant money. Opening a channel cost about 230sat and you will get maybe 0 of 1 sat for routing a payment. Many people are offering the routing for free so if you ask 1 sat, they probably skip your node most of the time.
It is profitable in a way that is can save you a lot of transaction cost and waiting time. :)  succes on your lightning adventure ^^

I also updated to lnd 0.5 and had a lot of issues. I tried multiple fixes I found on github but it seems to of only made things worse. My mainnet channel balance was very low, do you think my best bet is to fully start over? Or will that reproduce the same issues? (missing macaroons, balance showing up as 0)

https://github.com/Stadicus/guides/issues/220
I also had to start over completely. but now it works perfectly, is not a big thing :)

I don't think it's possible to downgrade, as LND migrated all internal data structures to a new format.
What should work, but it takes time, is to set up LND 0.4 again with your original seed and just wait for other peers to close your channels. The funds will end up in your wallet eventually, but there's no way to force or even contact these peers. From my own experience, I had a VPS running with $2000 incoming liquidity. After being down for about a month, all channels have been closed.


Implement AI-powered Dashboard for Response Visualization

Implement a dashboard or data visualization tool that leverages AI-generated insights to visualize qualitative user data effectively.
Develop interactive visualizations, such as word clouds, sentiment heatmaps, and topic clusters, to provide an overview of user feedback patterns.
Enable researchers to explore and drill down into individual responses or thematic clusters to gain deeper insights into user perceptions and preferences.
Ensure the responsiveness and accessibility of the AI-powered dashboard across different devices and screen sizes.

@jvJUCA I would like to work upon  this issue

@barkhaaroraa @duplixx right now this issue it can only be related to our eye-tracker python repository which where we worked to create a regression linear system that helps us to track the eye of the users. However we failed a little bit about how to do that. If you can start taking a look on that repository and give your opinions should be great!
https://github.com/ruxailab/web-eye-tracker

yeah sure


Don't rebuild github-pages on every push

Thanks @nfrisby; I initially pushed this forking from a wrong branch, now it only modifies the two files that are expected.

bors merge


Nextcloud - Login issue

Environment: Appsec Linux NGINX Playground - Ubuntu 22.04 and Nextcloud 29.x
After the installation of Appsec, everything works fine except the login: "Temporary error. Please try again."
If I stop the agent and start agent again, I can login only one time because the appsec is loading. I don't see any blocked requested in the logs and I have tried also to switch from "Prevent" policy to "Detect" policy but nothing changes.

Hi @secureme71,
Will it be possible to share access to the playground you've used or elaborate on your set-up?

What information do you need? It is not possible to access to linux machine for security reason.

I have seen the issue is related to CSRF protection and error disclosure feature. In general web application doesn't work if I try to prevent "high and above" attacks, it cannot display files so I need to set only "critical" attacks.


Retract ~= for Regex.

We'd like to provide this, but we haven't been able to reach agreement on what the semantics actually ought to be. The original version used wholeMatch; contains is arguably more flexible, but feels less natural when compared to how ~= is used for other types in the language.
Additionally, we'd like to investigate the possibility of using named captures to effect bindings in case statements in the future, and we don't want to wall ourselves off from that until we've had time to think about it some more.

@swift-ci test

@swift-ci test

@swift-ci test


Quick Accent multiple character set selection

Description of the new feature / enhancement
Having option to select multiple character sets would help people working in multilingual environments.
Scenario when this would be used?
If user working in France and wants to use Greek lettering while typing, he would have to enable all character sets, thus slowing him down because he would have to go thru all characters to find one he wants.This is only example, but option to select multiple caracter sets without need to enable all of them would be nice.
Supporting information
No response

/dup #21261


Issue Triangulation

Feature Request
Description:
Gather cookie/storage related issues generated by DevTools and include them as part of the Frame Overlay capability, effectively surfacing the terrific trio of

Page component
Cookies/storage resources
DevTools issues.

Verified this implementation and looks good to me. 👍🏻

Scenarios:

Shows all the information that we aim to look in the tooltip like Page Frame, No. of blocked cookies and Blocked reason.
Shows the correct count on tooltip
Filters are working as expected. Changing the filter, it reflects back on tooltip

CC @amovar18

Released as a part of v0.4.0, closing this issue.


fix decode data loss when using int64 in json

The problem is when I create container though REST api, set memory limit
in hostConfig, the memory limit didn't work. Because when we DecodeEnv,
we got hostConfig part of Env like this:
{"Binds":["/:/tmp"],"CpuShares":512,"CpusetCpus":"0,1","Devices":[],"Memory":1.6777216e+07,"MemorySwap":0}
And we cannot unmarshal number 1.6777216e+07 into Go value of type int64,
so we got 0.
We can fix this by setting Decoder as UseNumber().
Signed-off-by: Qiang Huang<EMAIL_ADDRESS>

ping.

LGTM
Thanks!

LGTM

Thanks @hqhq !


ionic serve prints "try again later"

Description:

A freshly generated app using tabs starter template fais to run.
It gives the error: "Failed to load index.html"
Steps to Reproduce:

npm i ionic -g

npm i cordova -g

ionic start app tabs

cd app

ionic serve

Output:

My ionic info:

cli packages: (C:\Users\SarathKCM\AppData\Roaming\npm\node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

local packages:

    @ionic/app-scripts : 3.1.8
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v8.9.3
    npm  : 5.8.0
    OS   : Windows 10

Misc:

    backend : pro

Other Information:

Output from console:
ionic serve
Starting app-scripts server: --address <IP_ADDRESS> --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser -
Ctrl+C to cancel
[16:06:42]  watch started ...
[16:06:42]  build dev started ...
[16:06:42]  clean started ...
[16:06:42]  clean finished in 3 ms
[16:06:42]  copy started ...
[16:06:42]  deeplinks started ...
[16:06:42]  copy finished in 10 ms
[16:06:42]  deeplinks finished in 10 ms
[16:06:42]  transpile started ...
[16:06:46]  transpile finished in 3.90 s
[16:06:46]  preprocess started ...
[16:06:46]  preprocess finished in less than 1 ms
[16:06:46]  webpack started ...
[16:06:53]  webpack finished in 6.79 s
[16:06:53]  sass started ...
Without from option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to undefined to prevent this warning.
[16:06:54]  sass finished in 1.01 s
[16:06:54]  postprocess started ...
[16:06:54]  dev server running: http://localhost:8100/
[OK] Development server running!
Local: http://localhost:8100
External: http://<IP_ADDRESS>:8100
DevApp: app@8100 on SARATHKCM
[16:06:55]  Failed to load index.html
[16:06:55]  watch ready in 12.65 s

working after deleting node_modules and than run npm install

not woking for me after update npm update as well as deleting the node_modue then install npn install,there is any other way to fix above problem?

I solved this by changing my package.json and package-lock.json "name" key which featured a space. It worked after I removed the space (it was like "My Project" so I changed it to "myproject").
Seems like this space was crashing the npm install command, so ionic serve wouldn't work as expected.


android build faild with error

Report
Plugin Version
ℹ Please replace these two lines with the plugin version.
via 6.1.10
On what Platform are you having the issue?
ℹ Please replace these two lines with the SDK version.
android
What did you do?
ℹ Please replace these two lines with what you did.
e.g. Run yarn android
What did you expect to happen?
ℹ Please replace these two lines with what you expected to happen.
app installed on my phone
What happened instead?
ℹ Please replace these two lines with of what happened instead.
long time loading in :

:app > Resolve dependencies of :app:debugRuntimeClasspathCopy > :react-native-appsflyer > Resolve dependencies of :react-native-appsflyer:classpath > gradle-4.0.0.pom
and then report error:
Expected org.gradle.api.artifacts.result.ResolvedDependencyResult but found org.gradle.api.internal.artifacts.result.DefaultUnresolvedDependencyResult

Please provide any other relevant information.
ℹ Please replace these two lines with more information.
if I remove the plugin ,everything is OK

@believeyourself try to clean the project from your Android studio and build again.
what is your Gradle version and your android studio version?

@believeyourself try to clean the project from your Android studio and build again.
what is your Gradle version and your android studio version?

I cleaned the project and rebuild,it failed with "Gradle: Download gradle-4.0.0.pom..."
Gradle version is 6.2 and android studio version is 4.1.1

@amit-kremer93  I cleaned the project and rebuild,it failed with "Gradle: Download gradle-4.0.0.pom..."
Gradle version is 6.2 and android studio version is 4.1.1

@amit-kremer93  I cleaned the project and rebuild,it failed with "Expected org.gradle.api.artifacts.result.ResolvedDependencyResult but found org.gradle.api.internal.artifacts.result.DefaultUnresolvedDependencyResult"
Gradle version is 6.2 and android studio version is 4.1.1

@believeyourself in your app folder, go to gradle->wrapper->gradle-wrapper.properties. what is your distributionUrl?
and also what is your classpath in the build.gradle file?
please try this solution


fix: discussions-url

fix #521 fix #531 fix #500 (indirectly)
Feats:

[x] Fix discussion url in notifications (NotificationRow && native notifications)
[x] Add commentId to all notifications (regex from subject.last_comment_url or special logic for discussions)
[x] Add repo auth scope (can be reverted, but it allows the discussion fix to work on private repo notifications)
[x] Upgraded output to es2020 to allow newer syntax
[x] Added tests (and fixed some)

we get the Discussion thread url using GraphQL search in both NotificationRow and NativeNotification
main filters are the discussion's
repo, name (exact match), lastUpdated (>notificationCreationTime-2Hours), and viewerSubscription (only if there are still multiple discussions with the same exact name that qualify)
if either:

somehow none are found (I don't really see how that would be possible, just a precaution)
its a discussion in a private repository and user have no repo scope in his token/OAuth

then it will default to the method in #487

Notes

#487 only makes the url redirect to the general discussions tab, which isn't super useful (and also doesn't fix native notifications)
I've created a repo which can be used to test the GraphQL query externally: https://github.com/Araxeus/github_discussion_notification_url
most added logic can be found in utils/helpers.ts (and implemented in components/NotificationRow.tsx and utils/notifications.ts)
all tests (and added tests) pass

if this is merged I will open a pr that fixes markOnClick option for native notifications in https://github.com/manosim/gitify/commit/1eaaa74541de697994607023952688de8f86b9ea

I'm guessing this Repo is abandoned (no activity and all dependencies out of date) but I hope this can help someone
if anyone wants an updated Gitify windows setup.exe that includes this and a few more fixes - its available at https://github.com/Araxeus/gitify/releases/tag/v4.3.2

hey @Araxeus - this is great work but it's a bit much for one PR. Can we split this up so we can more effectively review? For example, es2020 upgrade should be a standalone PR.

hey @Araxeus - this is great work but it's a bit much for one PR. Can we split this up so we can more effectively review? For example, es2020 upgrade should be a standalone PR.

I could make the commentId linking optional in routes/Settings.tsx if you think that would be better
and then changing both
https://github.com/manosim/gitify/blob/8c93f916a35d9bb05e7f91c9fab1b1cf8543250a/src/utils/helpers.ts#L148
https://github.com/manosim/gitify/blob/8c93f916a35d9bb05e7f91c9fab1b1cf8543250a/src/utils/helpers.ts#L158
to latestCommentId && settings.commentId ? ...

@codebytere Thing is, this PR spiritually builds on top of https://github.com/manosim/gitify/pull/487. That PR is a smaller chunk of this one, but it's sitting without being merged. So I understand that this one is big, but also there's actions that could be taken to make it less imposing, and those are blocked until a maintainer can help move existing PRs forward.
Should we open a broader discussion on how to improve the maintenance of this repo?

@afonsojramos thoughts?

@Araxeus haven't reached this one yet. Still combing through the issues while on a full-time job. This PR will be ✨ clean ✨ until next monday!

very excited for this feature to be added 🚀

Haha amazing, it only took 2 years for this PR to get some love 😅
Might be worth to take a look at the other patch/fix I had lined up (fix native notifications not marking as read on click in https://github.com/gitify-app/gitify/commit/1eaaa74541de697994607023952688de8f86b9ea)

Haha amazing, it only took 2 years for this PR to get some love 😅
Might be worth to take a look at the other patch/fix I had lined up (fix native notifications not marking as read on click in https://github.com/gitify-app/gitify/commit/1eaaa74541de697994607023952688de8f86b9ea / https://github.com/Araxeus/gitify/compare/discussions-url-fix...markOnClick-native-notification)

Better late than never 😅 Let's keep on working on this and maybe think of a Tauri rewrite 👀
Added you to the collaborators list btw 😉


[Feature Request] Rearrange controls

Ability to change to order of the controls. Example, if you want the current-time indicator on the left-side of the progress bar...like this

Already supported: https://github.com/sampotts/plyr/blob/master/controls.md

@friday I think he means to set the order which isn't possible. I had a TODO in there and I've already made a start on it but styling is the issue that I'm finalizing currently.

I've been away too long. Sorry mnervik!

You can set the controls to display:flex, and then give them all an ‘order’
attribute
On Sat, 13 Apr 2019 at 5:12 pm, friday<EMAIL_ADDRESS>wrote:

I've been away too long. Sorry mnervik!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sampotts/plyr/issues/1411#issuecomment-482783826, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALoQT2bwREcFv0P4TQYvWxwhM9XRMzbSks5vgYNlgaJpZM4csEab
.

Yeah that's possible I guess. The controls container already uses flex.
I'm almost done making the controls order relative to the order of the array. It just requires some styling changes and might be breaking for some people so I'll probably have to bump the major version as a result.

This is now possible in v3.5.4 👍 It will now take the order of your controls array as the order to display them in. I'll check I've updated the docs but will do if I've not done so already.


Mineral shards generation in mini game

The mineral shards in CollectMineralShards mini-game are generated randomly in every episode. Is it possible to specify the number and location of these shards instead of generating them randomly?

That is defined in the map, so you'd have to create a new map. @SoyGema may be able to help or at least point you in the right direction if you're interested in pursuing it.

Hi there @sumitsk !
As far as I assume, CollectMineralShards makes the effort to propose an environment set for a machine problem like the Vehicle routing problem or other kind of variation the Salesman Problem. The randomly placed mineral shards has some sense, as the agent  goal is to learn an optimal route , because it is meant to be solved in every situation. If you always give the same path, it won't be able to solve different situations , or your agent won't be able to generalize well.
With that in mind, I will answer your given question

How can I place a given Item in a point in the SC2 editor in the map CollectMineralShards ?

In the Terrain interface, you might find an orange menu in the top bar , next to region, you can find a point. Place one point in the editor and rename it.

In the trigger menu (Init script) you shall find a variable (blue) that in the original map is related to a Region . You might want to change it to Point

Ta-dá! 👍
HINT : Machine Learning has a huge conceptual  load that affects environment design .
Don't give up , and find passion in the problem and not only on the solutions .
Happy map editing!

Thank you @SoyGema for your help. I have one follow up question. Is it the case that the minerals can be placed at either random location or some pre-specified location which remain constant across resets? I have an application for which I require that the minerals position change across resets as specified by an external script. Is it possible for the SC2Map file to communicate with an external script that specifies the position to place minerals when we call the reset method?

Ey @sumitsk  !

Is it the case that the minerals can be placed at either random location or some pre-specified location which remain constant across resets?  So is the question that if ' the Salesman problem is designed in this environment with random placement of items?' I think so, and the random location during training is relevant  . If not,  Can you reformulate  the question?

Is it possible for the SC2Map file to communicate with an external script that specifies the position to place minerals when we call the reset method?

I don´t really know.  In the trigger interface , if you press command+F11 a map script interface will open in which you can see a scripted version of your map . I would explore if your script and that one might integrate somehow . I am actually starting to produce some maps and testing them from there.
With your permisssion If I might ask ,
Are you trying to apply the Salesman problem with a specific 'route' with #pysc2 ? Because if that´s what you are searching for, you could use a pretrained agent, place the points and run it .
Would be awesome if you might share how your integration goes ^^


⚠ Processors has degraded performance

In b37626c, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: Processors performance has improved in 9484d70.


Removing image from doker registry

Description
Hi.
I want to use gitea as docker registry, too. - But how i can delete pushed images again.
Thanks..
Gitea Version
1.20.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
debian
How are you running Gitea?
In a docker countainer
Database
None

Hey.
Thank you.
Nice greetings <3 <3


ValueError: Error when checking input: expected input_2 to have shape (221,) but got array with shape (245,)

Hi @XifengGuo, I got the following error when filling in my own dataset (in mnist ubyte format, but to 223 categories instead of 10) :
Traceback (most recent call last):
File "capsulenet.py", line 252, in
train(model=model, data=((x_train, y_train), (x_test, y_test)), args=args)
File "capsulenet.py", line 138, in train
callbacks=[log, tb, checkpoint, lr_decay])
File "/usr/local/lib/python3.5/dist-packages/Keras-2.1.3-py3.5.egg/keras/legacy/interfaces.py", line 91, in wrapper
File "/usr/local/lib/python3.5/dist-packages/Keras-2.1.3-py3.5.egg/keras/engine/training.py", line 2138, in fit_generator
File "/usr/local/lib/python3.5/dist-packages/Keras-2.1.3-py3.5.egg/keras/engine/training.py", line 1428, in _standardize_user_data
File "/usr/local/lib/python3.5/dist-packages/Keras-2.1.3-py3.5.egg/keras/engine/training.py", line 120, in _standardize_input_data
ValueError: Error when checking input: expected input_2 to have shape (221,) but got array with shape (245,)
Do you have idea how to solve it? thanks!
Best Wishes,
Chi Kiu

I got it solved, it is because the compiling datasets in a wrong way, thanks!


Clean code

Cleaning the code.

@shenyongri110 This fixes a problem with missed permissions downloading the compiler, showing an alert which suggests how to manually download it.


No reference found when running BaseRecalibratorSpark for mouse

Hello,
I'm using the gatk-variant pipeline to call variants in mouse (mm10) WGS samples. When I get to the BaseRecalibibratorSpark step, I get the error:
java.lang.IllegalArgumentException: Not a reference API source URL: None
Looking at the command in the log file, I see that that the --reference parameter is set to None.
My colleague suggested that this might be because there is no /ucsc/mm10.2bit file available within the /tools/bcbio/genomes/Mmusculus/mm10/ directory like there is for Hsapiens.
I was wondering whether you are planning on adding the mm10.2bit file to the genomes folder? If not, could you please suggest what I should do to run base recalibration for mouse? Or would you suggest omitting base recalibration before running HaplotypeCaller?
Thanks very much!
Stephanie

Stephanie;
Apologies about the issue. We'd added support for 2bit index creation for mm10 and other supported genomes a few days ago. If you update your bcbio data with:
bcbio_nextgen.py upgrade --data

it should generate these, and then you can re-run your analysis and it will pick up where it left off and hopefully run smoothly. Please let us know if you run into any other issues.


How to manually send the confirmation email (e.g. after User.create in Rails console)?

How do I manually send the confirmation email to a user (e.g. after User.create in Rails console)? Any help on this would be much appreciated, thanks!

user.sent_confirmation_email


Platform Near Edge Support - PoC Dev Tracker

Requirements

As a MLOps engineer I would like to take a trained model and package it into a container so that it can be deployed  to the near edge

[x] #2
[x] #3
[x] #4
[ ] #5

#10

[x] #11
[x] #21
[x] #22

As a MLOps engineer I would like to use ACM prometheus based solution to monitor the operational metrics of  my containerized model at the near edge.

[x] #6
[x] #7

As a MLOps engineer, I would like to expose the inferencing via REST and gRCP.

[x] #1

Closing this as complete for the August PoC use case


bump version to 0.8.0

Coverage remained the same at 89.709% when pulling 7692c0346d327abc84bcd56a2aa1981bbd3398fd on bump-version into 2b2d4cd018f1790cd33a8fbe7581da049de1cdca on main.


Separate Embedding and LM Head in different classes and add TP for them

Stack from ghstack (oldest at bottom):

#206
#204
#203
#255
#210
-> #209

/land


Fix cross-lang tests for Bloom filter

fix type on num_hashes to uint16_t
change bloom_filter_filter to bloom_filter::builder

Added corresponding tests in java and verified locally in both directions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.713%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
16880

Relevant Lines:
17100

💛  - Coveralls


Update supported node runtime for lambda

Source: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

Duplicate of #342


Add Command for Reddit Ingestion

Description
This PR adds a command for ingesting data from Reddit and performing pre-processing on this data.
How has this been tested?
Tests have been added in @montoys branch.

Looks good