Append revision to filepath in --output_dir?

Currently, lighteval stores results/details in a path that is determined by the model name, e.g.
scratch/evals
├── details
│   └── Qwen
│       └── Qwen1.5-0.5B-Chat
│           ├── 2024-02-26T15-36-31.681219
│           │   └── details_lighteval|truthfulqa:mc|0_2024-02-26T15-36-31.681219.parquet
│           └── results_2024-02-26T15-36-31.681219.json
└── results
    └── Qwen
        └── Qwen1.5-0.5B-Chat
            └── results_2024-02-26T15-36-31.681219.json

However, I am quite often evaluating models with different revisions and the current save logic groups these all together in the same subfolder which makes it hard to determine which result corresponds to which run.
Would it make sense to append the model revision parameter to the filepaths, e.g. something like this for the main revision (or whatever is passed to the revision arg in the script):
scratch/evals
├── details
│   └── Qwen
│       └── Qwen1.5-0.5B-Chat
│           └── main
│               ├── 2024-02-26T15-36-31.681219
│               │   └── details_lighteval|truthfulqa:mc|0_2024-02-26T15-36-31.681219.parquet
│               └── results_2024-02-26T15-36-31.681219.json
└── results
    └── Qwen
        └── Qwen1.5-0.5B-Chat
            └── main
                └── results_2024-02-26T15-36-31.681219.json

My current workaround is to manually specify the model path in --output_dir={ORG}/{MODEL_ID}/{REVISION} and then glob the files. This is fine, but a bit clunky because one ends up with a long nested path like {ORG}/{MODEL_ID}/{REVISION}/results/{ORG}/{MODEL_ID}

Would <org>/<model>_<revision> work for you?

Actually after thinking about this a bit more, a somewhat better approach IMO would be to let the user specify the filepath in --output_dir, after which we dump the details/results there. This way people like me can nest the results as desired and we don't need to hardcode more logic :)

We expect the results to follow a specific path when pushed to the hub, which is one of the reasons why we have this nested architecture. At which level would you want to have control over the path?


Change behavior of JPAOAuth2AuthorizedClientService#saveAuthorizedClient method

Probably you confuse
pAuthorizedClient.getClientRegistration().getRegistrationId()
with pAuthorizedClient.getClientRegistration().getClientId()
at line
authorizedClient.setClientRegistrationId(pAuthorizedClient.getClientRegistration().getClientId());
In current implementation you store shopify apiKey to database instead of 'shopify' value
https://github.com/devondragon/SpringShopifyAppFramework/blame/5aaab3b69c0251a368ff42f3e317f21f0b1aca84/src/main/java/com/justblackmagic/shopify/auth/service/JPAOAuth2AuthorizedClientService.java#L79

Thanks!  I will take a look shortly!

Fixed and merged.  Thank you @sashagam !


don't destroy llvm module in llvm2mir function

The llvm module is passed by the caller, llvm2mir function does not own this
module, so it shouldn't destroy it.

Thank you for fixing this.
LLVM-to-MIR was not finished.  I am sure it cannot work for all LLVM IR (it probably only works for IR generated by Clang from standard C) and I guess there are some bugs in generated MIR code.
To be honest, I don't know when I can continue work on it.  I have too much on my todo list besides LLVM2MIR compiler.


Children not properly cleaned on unmount

This is caused by an error in Consumer - key is undefined inside the useEffect.
Solution would be to useRef instead of useState.
Here is a video with more details
https://www.loom.com/share/3152178816fe4c58a17962128dd4e18a

Cf https://github.com/jeremybarbet/react-native-portalize/pull/4


Loading Pdf file from url directly fails

Attach (recommended) or Link to PDF file here:
https://skillreader.fra1.digitaloceanspaces.com/files/1560499418.pdf
Furthermore the pdf file is being uploaded on digital ocean spaces(cloud), in the edit view I am trying to access the downloaded pdf file.
Configuration:

Web browser and its version: nginx version: nginx/1.15.8
Operating system and its version: Ubuntu 18.04.2 LTS
PDF.js version:2.2.211 (https://mozilla.github.io/pdf.js/build/pdf.js)
Is a browser extension:

Steps to reproduce the problem:

Open the edit view on my webapp and select the uploaded pdf
edit site loads but fails

Error:

[[PromiseStatus]]: "rejected"
[[PromiseValue]]: Error: Invalid page request at WorkerTransport.getPage (https://mozilla.github.io/pdf.js/build/pdf.js:11752:31) at PDFDocumentProxy.getPage (https://mozilla.github.io/pdf.js/build/pdf.js:10333:30) at renderPage (http://myapp...
api.js:2201 Uncaught (in promise) Error: Invalid page request
at WorkerTransport.getPage (api.js:2201)
at PDFDocumentProxy.getPage (api.js:620)
at renderPage (app.js:4874)
at app.js:4938

Which refers to this method:

            // In my create view I call it without any param, in my edit view I call it with param, so I can get the correct data from the database
            loadPdf(file) {
                const url = ((typeof file === 'undefined') || (typeof file.location === 'undefined')) ?
                        this.uploaded.location :
                        file.location;

                this.setElements();
                this.setCanvas();

                if (this.file.visible) this.rmPdf(false);

                this.pdfDoc = null;

                let pageNum = (typeof file === 'undefined' || typeof file.page_number === 'undefined') ? 1 : file.page_number,
                    pageIsRendering = false,
                    pageNumIsPending = null;

                const canvas = document.querySelector('#file-render'),
                    ctx = canvas.getContext('2d');

                // Render the page
                const renderPage = num => {
                    pageIsRendering = true;

                    console.log(this.pdfDoc.getPage(num)); // ----> error happens here

                    // Get page
                    this.pdfDoc.getPage(num).then(page => {

                        // Set scale
                        const canvasBodyWidth = document.querySelector('#canvas-body').offsetWidth;
                        const viewport = page.getViewport(canvasBodyWidth / page.getViewport(1.0).width);

                        canvas.width = viewport.width;
                        canvas.height = viewport.height;

                        const renderCtx = {
                            canvasContext: ctx,
                            viewport
                        };

                        page.render(renderCtx).promise.then(() => {
                            pageIsRendering = false;

                            if (pageNumIsPending !== null) {
                                renderPage(pageNumIsPending);
                                pageNumIsPending = null;
                            }
                        });

                        this.markElement();

                        // Output current page
                        document.querySelector('#page-num').textContent = num;
                    })
                };

What is the expected behavior?
The expected behavior is to load the pdf file with the given page number from the database, if there is no page number is selects the first page.
What went wrong?
The create method is identical to the method above, I just call it without a parameter.
Logging the url variable returns the correct url in both cases.

Steps to reproduce the problem:
1. Open the edit view on my webapp and select the uploaded pdf

2. edit site loads but fails

Please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us on the IRC channel -- keep in mind that just code snippets won't help us troubleshoot the problem.

"Invalid page request" is thrown at https://github.com/mozilla/pdf.js/blob/06b253d6092e14a118f9d5b23fa0652498c68a96/src/display/api.js#L2201 and indicates that the page number is not within the valid range. Aside from that, the comment above applies for further assistance.

I fixed it, it was an error on my side somehow it did not get the correct page number.
This was wrong:
let pageNum = (typeof file === 'undefined' || typeof file.page_number === 'undefined') ? 1 : file.page_number,
Updated it to following:
let pageNum = (typeof file === 'undefined' || typeof file.page_number === 'undefined') : file.page_number ? 1,


update recover to restore

What this PR does / why we need it:
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Codecov Report

Merging #1129 (8e3c7c9) into main (a5730e5) will not change coverage.
Report is 7 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main    #1129   +/-   ##
=======================================
  Coverage   39.39%   39.39%
=======================================
  Files          25       25
  Lines        1942     1942
=======================================
  Hits          765      765
  Misses       1075     1075
  Partials      102      102

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


Question: Difference to pgrange/bash_unit

Hi there, just saw this project and wondered how this related to https://github.com/pgrange/bash_unit ?
Maybe it's worth answering this question in the Readme.md?

With the truth ahead, I started this bashunit idea out of the necessity of a bash logic I wanted to assert with the bare minimum overhead. Also, I am pretty confident with PHPUnit and wanted to have a similar "developer testing experience" in bash. Although I am not that good at the bash, I thought this project could help me explore and learn more about the bash ecosystem while doing it, always with a focus on simplicity from the POV of a regular-non-expert-bash-dev.
After publishing this project on X/Twitter, I got a lot of great feedback from different people mentioning different testing frameworks. E.g., bats or even bash_unit, as you are mentioning now.
The fact is that this is working pretty well, and there are a few things we want to do (with some friends helping me move forward with this project) with the aim of simplicity and focus on the developer experience over anything else.
Right now, bash_unit, bats, or others might have way more features than bashunit... but it's about time to catch up on all those basic features. Then, you can choose the one that helps you the most based on the syntax and, ultimately, dev-experience.
It's true that bashunit just arrived at "the market," but we will have fun building it and learning along the way. Community and test-driven, that's for sure.

Thanks for your explanation 👍

Congrats on the progress—from 15 stars to 320, that's impressive!
Just a small suggestion: naming it bashunit might be a bit confusing, especially since there's already a project called bash_unit' Maybe consider tweaking the name for clarity?
Keep up the great work, though!
The more the better. Cheers.

By the way, bash unit testing enterprise edition framework for professionals! was totally a joke.  I would never have thought people would take it seriously one day 😉

Hi, @pgrange ! It's a pleasure to talk to you 1:1 😄 Thanks for the feedback and the congrats. Likewise!
We don't plan to change the project name because it is already well-rooted in our community, the overall installation process, and other tools using it. I think it's OK to keep both names as they are. There is enough "market" for both, and I don't think it harms any of us in the current situation.
Your bash_unit project got over 600 stars; much respect to that 👌🏼


less-plugin-clean-css attribute quotes

I use AngularDartWebApp with less_dart and less-plugin-clean-css plugin.
When I try to use
<div
    data-id="1"
    class="div">
    hello world
</div>

.div[data-id="1"] {
  color: red;
}

It becomes
<div
    data-id="1"
    class="div">
    hello world
</div>

.div[data-id=1] {
  color: red;
}

It breaks my build and styles, because of removed quotes in the selector. Can I somehow disable this rule for my project?

@AdalbertoLacruz it works! Thank you!


update horizon overrides

as the multi-os spec has landed upstream, the overrides have to be
changed to be in sync.
Mainly the change is that the overrides for apache2 need to be
under conf -> software -> apache2 now

Tested and working in my env. (Sorry for the late answer).


review again frame detach error and maybe disable retries

Enabled command executor retries: org.openqa.selenium.WebDriverException: unknown error: cannot determine loading status from target frame detached (Session info: chrome=100.0.4896.60)
https://vd2.zebrunner.org/projects/DEF/test-runs/1459/tests/18535
If it only applicable for above use-case then there is no sense to organize retry in selenium command executor at all.

done, no more retries for "target frame detached" exception. during the testing we suspect to see only 1 failure without such warning:
Enabled command executor retries: org.openqa.selenium.WebDriverException: unknown error: cannot determine loading status from target frame detached

Moreover screenshots shouldn't be generated and errors displayed

again added retry. in case of nosuchsession error we have to fix screenshotting then

results with 7.4.21 and 7.4.22 snapshots are great again, closing


Chore better tests

Enhanced test design by exposing internals of dashboard-agent. Also fixed a couple typos/style issues in the codebase.

LGTM - confirmed tests pass for me locally


feat(quorum): enable deployment of cacti connector for Quorum platform

Description
As a developer I want enable automation deployment of cacti connector on GoQuorum nodes.
Reference pull request: https://github.com/hyperledger/bevel/pull/2175
Acceptance Criteria

Guide under quorum operations.
TBD

I will check this.


SupportedLanguages not working as expected on CloudInstances

Describe the bug

Cannot create a CloudInstance with non-empty supported languages
After fixing previous item locally, fetching a CloudInstance does not return any languages

To Reproduce
Steps to reproduce the behavior:

Go to https://dev.dockstore.net/api/static/swagger-ui/index.html#/Cloud Instances/postCloudInstance
In Request Body, click on Schema and expand
Notice how there are fields for language

This is because Language has no getters.
Fixed that locally, successfully posted a supported language.
Did a GET, and the supported language did not come back.
Additional context
Webservice - 36dd73d
UI - 2.7.3-53-g48a245cc
Compose Setup - a682a69
Deploy - 1.10-48-gd3024ad
┆Issue is synchronized with this Jira Story
┆Issue Number: DOCK-1753
┆Sprint: Backlog
┆Issue Type: Story

Also, it's unfortunate that for Galaxy you need to specify the language as "GXFORMAT2"; it should be "GALAXY". But I know we have GXFORMAT2 baked into our code in many places, so it might be tricky to deal with.

Also, it's unfortunate that for Galaxy you need to specify the language as "GXFORMAT2"; it should be "GALAXY". But I know we have GXFORMAT2 baked into our code in many places, so it might be tricky to deal with.

Not really. As it stands right now, it's supposed to be the languages specified in https://github.com/dockstore/dockstore/blob/develop/dockstore-common/src/main/java/io/dockstore/common/DescriptorLanguage.java  .  As long as people didn't make up new languages other places in the codebase (ex. the infamous "cwl", "wdl", etc). It should be pretty easy to rename any language.

For implementers (once the frontend mockup is more finalized), it can be decided whether to make the SupportedLanguages eager loaded or not. Getter (and setter) should be added too.

Didn't realize it was already closed...was able to make a cloud instance with the supported language and see it there when I do a GET


Output

"
found at setname=x_x and y_y. rarity=milspec no=2 wear=WW
Possible number of outputs= 1 + 3 = 4
Total input(wear same):1.0
Avg value of output: x
Average Gain = x%
"
Sorry idk how to write you directly I have a question how can I understand which input needs to be more in the tradeup how can I understand it?

Like 2 from x weapın and 8 from y weapon

I assumed both of them to be 5 of each type, but you could mix and max further for more gain/easier time. Definitely double check maths on if youre going to get pridicted output as things like fluctuating market prices can make code show unprofitable tradeups too.


[       OK ] usdt."usdt probes - filter probes by file and wildcard probe name"
[ RUN      ] usdt."usdt probes - filter probes by file on provider"
[       OK ] usdt."usdt probes - filter probes by file on provider"
[ RUN      ] usdt."usdt probes - filter probes by pid and wildcard probe name"
[       OK ] usdt."usdt probes - filter probes by pid and wildcard probe name"
[ RUN      ] usdt."usdt probes - filter probes by pid on provider"
[       OK ] usdt."usdt probes - filter probes by pid on provider"
[ RUN      ] usdt."usdt probes - filter probes by wildcard file and wildcard probe name"
[       OK ] usdt."usdt probes - filter probes by wildcard file and wildcard probe name"
[ RUN      ] usdt."usdt probes - list probes by file"
[       OK ] usdt."usdt probes - list probes by file"
[ RUN      ] usdt."usdt probes - list probes by pid in separate mountns"
[       OK ] usdt."usdt probes - list probes by pid in separate mountns"
[ RUN      ] usdt."usdt probes - list probes by pid"
[       OK ] usdt."usdt probes - list probes by pid"
[ RUN      ] usdt."usdt probes - list probes by pid; usdt only"
[       OK ] usdt."usdt probes - list probes by pid; usdt only"
[ RUN      ] usdt."usdt probes - lists linked library probes by pid"
[       OK ] usdt."usdt probes - lists linked library probes by pid"
[ RUN      ] usdt."usdt probes in multiple modules"
[       OK ] usdt."usdt probes in multiple modules"
[ RUN      ] usdt."usdt quoted probe name"
[       OK ] usdt."usdt quoted probe name"
[ RUN      ] usdt."usdt reg arguments"
h▒w1+0 records in
1+0 records out
3 bytes copied, 2.617e-05 s, 115 kB/s
[       OK ] usdt."usdt reg arguments"
[ RUN      ] usdt."usdt sized arguments"
[       OK ] usdt."usdt sized arguments"
[----------] 44 tests from usdt

[----------] 11 tests from variable
[ RUN      ] variable.32-bit tracepoint arg
[       OK ] variable.32-bit tracepoint arg
[ RUN      ] variable.buf_equality
[       OK ] variable.buf_equality
[ RUN      ] variable.global_associative_arrays
[       OK ] variable.global_associative_arrays
[ RUN      ] variable.global_buf
[       OK ] variable.global_buf
[ RUN      ] variable.global_int
[       OK ] variable.global_int
[ RUN      ] variable.global_string
[       OK ] variable.global_string
[ RUN      ] variable.local_buf
[       OK ] variable.local_buf
[ RUN      ] variable.local_int
[       OK ] variable.local_int
[ RUN      ] variable.local_string
[       OK ] variable.local_string
[ RUN      ] variable.scratch
[       OK ] variable.scratch
[ RUN      ] variable.tracepoint arg casts in predicates
[       OK ] variable.tracepoint arg casts in predicates
[----------] 11 tests from variable

[----------] 10 tests from watchpoint
[ RUN      ] watchpoint.async_function_arg_addr
[       OK ] watchpoint.async_function_arg_addr
[ RUN      ] watchpoint.function_arg_addr
[       OK ] watchpoint.function_arg_addr
[ RUN      ] watchpoint.function_arg_addr_process_flag
[       OK ] watchpoint.function_arg_addr_process_flag
[ RUN      ] watchpoint.function_multiattach
[       OK ] watchpoint.function_multiattach
[ RUN      ] watchpoint.kwatchpoint - knl absolute address
[       OK ] watchpoint.kwatchpoint - knl absolute address
[ RUN      ] watchpoint.many_function_probes
[       OK ] watchpoint.many_function_probes
[ RUN      ] watchpoint.unique_probe_bodies
[       OK ] watchpoint.unique_probe_bodies
[ RUN      ] watchpoint.unwatch
[       OK ] watchpoint.unwatch
[ RUN      ] watchpoint.watchpoint - absolute address
[       OK ] watchpoint.watchpoint - absolute address
[ RUN      ] watchpoint.wildcarded_function
[       OK ] watchpoint.wildcarded_function
[----------] 10 tests from watchpoint

[==========] 425 tests from 26 test cases ran.<PHONE_NUMBER>88031 total)
[  PASSED  ] 423 tests.
[   SKIP   ] 16 tests, listed below:
[   SKIP   ] basic.it lists kfunc params (missed feature: 'btf')
[   SKIP   ] basic.it lists kfuncs (missed feature: 'btf')
[   SKIP   ] basic.it lists kfuncs events with regex filter (missed feature: 'btf')
[   SKIP   ] basic.it lists kretfuncs events with regex filter (missed feature: 'btf')
[   SKIP   ] btf.enum_value_reference (missed feature: 'btf')
[   SKIP   ] btf.redefine_btf_type (missed feature: 'btf')
[   SKIP   ] btf.redefine_btf_type_missing_def (missed feature: 'btf')
[   SKIP   ] btf.tracepoint_nested_pointer_type_resolution (missed feature: 'btf')
[   SKIP   ] btf.tracepoint_pointer_type_resolution (missed feature: 'btf')
[   SKIP   ] btf.user_supplied_c_def_using_btf (missed feature: 'btf')
[   SKIP   ] builtin.sizeof_btf (missed feature: 'btf')
[   SKIP   ] usdt."usdt probes - all probes by wildcard and pid" (unmet condition: 'bash -c "exit 1"')
[   SKIP   ] usdt."usdt probes - attach to fully specified probe by pid in separate mountns" (unmet condition: 'bash -c "exit 1"')
[   SKIP   ] usdt."usdt probes - attach to probe with args by file" (unmet condition: 'bash -c "exit 1"')
[   SKIP   ] usdt."usdt probes - attach to probe with args by pid" (unmet condition: 'bash -c "exit 1"')
[   SKIP   ] usdt."usdt probes - file based semaphore activation no process" (missed feature: '!uprobe_refcount')
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] call.uaddr
[  FAILED  ] probe.kprobe_offset_fail_size

    Start 3: tools-parsing-test
3/3 Test #3: tools-parsing-test ...............***Failed   33.30 sec
../../tools/bashreadline.bt    passed
../../tools/biolatency.bt    passed
../../tools/biosnoop.bt    passed
../../tools/biostacks.bt    passed
../../tools/bitesize.bt    passed
../../tools/capable.bt    passed
../../tools/cpuwalk.bt    passed
../../tools/dcsnoop.bt    passed
../../tools/execsnoop.bt    passed
../../tools/gethostlatency.bt    failed

AST after: parser
-------------------
Program
 BEGIN
  call: printf :: type[none, ctx: 0]
   string: Tracing getaddr/gethost calls...  Hit Ctrl-C to end.\n :: type[none, ctx: 0]
  call: printf :: type[none, ctx: 0]
   string: %-8s %-6s %-16s %s :: type[none, ctx: 0]
   string: TIME :: type[none, ctx: 0]
   string: PID :: type[none, ctx: 0]
   string: COMM :: type[none, ctx: 0]
   string: DEVICE :: type[none, ctx: 0]
 kprobe:md_flush_request
  call: time :: type[none, ctx: 0]
   string: %H:%M:%S  :: type[none, ctx: 0]
  call: printf :: type[none, ctx: 0]
   string: %-6d %-16s %s\n :: type[none, ctx: 0]
   builtin: pid :: type[none, ctx: 0]
   builtin: comm :: type[none, ctx: 0]
   .
    dereference
     .
      dereference
       (struct bio*)
        builtin: arg1 :: type[none, ctx: 0]
      bi_disk
    disk_name

../../tools/mdflush.bt:29:6-36: ERROR: Struct/union of type 'struct bio' does not contain a field named 'bi_disk'
        ((struct bio *)arg1)->bi_disk->disk_name);
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../tools/naptime.bt    passed
../../tools/oomkill.bt    passed
../../tools/opensnoop.bt    passed
../../tools/pidpersec.bt    passed
../../tools/runqlat.bt    passed
../../tools/runqlen.bt    passed
../../tools/setuids.bt    passed
../../tools/statsnoop.bt    passed
../../tools/swapin.bt    passed
../../tools/syncsnoop.bt    passed
../../tools/syscount.bt    passed
../../tools/tcpaccept.bt    passed
../../tools/tcpconnect.bt    passed
../../tools/tcpdrop.bt    passed
../../tools/tcplife.bt    passed
../../tools/tcpretrans.bt    passed
../../tools/tcpsynbl.bt    passed
../../tools/threadsnoop.bt    failed

AST after: parser
-------------------
Program
 BEGIN
  call: printf :: type[none, ctx: 0]
   string: %-10s %-6s %-16s %s\n :: type[none, ctx: 0]
   string: TIME(ms) :: type[none, ctx: 0]
   string: PID :: type[none, ctx: 0]
   string: COMM :: type[none, ctx: 0]
   string: FUNC :: type[none, ctx: 0]
 uprobe:/lib/x86_64-linux-gnu/libpthread.so.0:pthread_create
  call: printf :: type[none, ctx: 0]
   string: %-10u %-6d %-16s %s\n :: type[none, ctx: 0]
   / :: type[none, ctx: 0]
    builtin: elapsed :: type[none, ctx: 0]
    int: 1000000 :: type[none, ctx: 0]
   builtin: pid :: type[none, ctx: 0]
   builtin: comm :: type[none, ctx: 0]
   call: usym :: type[none, ctx: 0]
    builtin: arg2 :: type[none, ctx: 0]

../../tools/threadsnoop.bt:19-21: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libpthread.so.0' does not exist or is not executable
../../tools/vfscount.bt    passed
../../tools/vfsstat.bt    passed
../../tools/writeback.bt    passed
../../tools/xfsdist.bt    passed

0% tests passed, 3 tests failed out of 3

Total Test time (real) = 670.33 sec

The following tests FAILED:
          1 - bpftrace_test (Subprocess aborted)
          2 - runtime_test (Failed)
          3 - tools-parsing-test (Failed)
Errors while running CTest
make: *** [Makefile:74: test] Error 8
make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/bpftrace-0.14.1/x86_64-redhat-linux-gnu'

reduced your output to the relevant errors :)
I'll try to reproduce it on a fedora system.
We now have automatic library detection but the tools havent been migrated yet, so if a library path changes we run into these issues.
Same with kernel types, tools need updating
        Found: stdin:1:69-87: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_A\nuprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }\n                                                                    ~~~~~~~~~~~~~~~~~~\nstdin:1:89-107: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_C\nuprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }\n                                                                                ~~~~~~~~~~~~~~~~~~\n

does look interesting, would have to dig into that

If you want some other diagnostics results please let me know :)

the  Found: stdin:1:69-87: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_A, if you can manually verify the symbols in the prog that might be helpful. Wonder if they got compiled out somehow

Quite possible that this symbol has been removed because I'm building bpftrace with LTO.
Will try to make quick test of the build with disabled LTO.

BTW I'm using one patch:
--- a/tools/bashreadline.bt     2018-10-30 23:30:06.000000000 +0100
+++ b/tools/bashreadline.bt     2018-11-10 18:05:57.201399223 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * bashreadline    Print entered bash commands from all running shells.
  *                 For Linux, uses bpftrace and eBPF.
--- a/tools/biolatency.bt       2018-10-30 23:30:06.000000000 +0100
+++ b/tools/biolatency.bt       2018-11-10 18:05:57.202399230 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * biolatency.bt       Block I/O latency as a histogram.
  *                     For Linux, uses bpftrace, eBPF.
--- a/tools/bitesize.bt 2018-10-30 23:30:06.000000000 +0100
+++ b/tools/bitesize.bt 2018-11-10 18:05:57.203399238 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * bitesize    Show disk I/O size as a histogram.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/capable.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/capable.bt  2018-11-10 18:05:57.203399238 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * capable     Trace security capabilitiy checks (cap_capable()).
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/cpuwalk.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/cpuwalk.bt  2018-11-10 18:05:57.204399245 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * cpuwalk     Sample which CPUs are executing processes.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/dcsnoop.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/dcsnoop.bt  2018-11-10 18:05:57.204399245 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * dcsnoop     Trace directory entry cache (dcache) lookups.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/execsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/execsnoop.bt        2018-11-10 18:05:57.205399252 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * execsnoop.bt   Trace new processes via exec() syscalls.
  *                For Linux, uses bpftrace and eBPF.
--- a/tools/gethostlatency.bt   2018-10-30 23:30:06.000000000 +0100
+++ b/tools/gethostlatency.bt   2018-11-10 18:05:57.205399252 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * gethostlatency      Trace getaddrinfo/gethostbyname[2] calls.
  *                     For Linux, uses bpftrace and eBPF.
--- a/tools/killsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/killsnoop.bt        2018-11-10 18:05:57.206399259 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * killsnoop   Trace signals issued by the kill() syscall.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/loads.bt    2018-10-30 23:30:06.000000000 +0100
+++ b/tools/loads.bt    2018-11-10 18:05:57.206399259 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * loads       Prints load averages.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/mdflush.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/mdflush.bt  2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * mdflush     Trace md flush events.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/oomkill.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/oomkill.bt  2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * oomkill     Trace OOM killer.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/opensnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/opensnoop.bt        2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * opensnoop   Trace open() syscalls.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/pidpersec.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/pidpersec.bt        2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * pidpersec   Count new procesess (via fork).
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/runqlat.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/runqlat.bt  2018-11-10 18:05:57.208399274 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * runqlat.bt  CPU scheduler run queue latency as a histogram.
  *             For Linux, uses bpftrace, eBPF.
--- a/tools/runqlen.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/runqlen.bt  2018-11-10 18:05:57.209399281 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * runqlen.bt  CPU scheduler run queue length as a histogram.
  *             For Linux, uses bpftrace, eBPF.
--- a/tools/statsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/statsnoop.bt        2018-11-10 18:05:57.210399288 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * statsnoop   Trace stat() syscalls.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/syncsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/syncsnoop.bt        2018-11-10 18:05:57.210399288 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * syncsnoop   Trace sync() variety of syscalls.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/vfscount.bt 2018-10-30 23:30:06.000000000 +0100
+++ b/tools/vfscount.bt 2018-11-10 18:05:57.211399295 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * vfscount    Count VFS calls ("vfs_*").
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/vfsstat.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/vfsstat.bt  2018-11-10 18:05:57.211399295 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * vfsstat     Count some VFS calls, with per-second summaries.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/writeback.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/writeback.bt        2018-11-10 18:05:57.212399303 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * writeback   Trace file system writeback events with details.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/xfsdist.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/xfsdist.bt  2018-11-10 18:05:57.212399303 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * xfsdist     Summarize XFS operation latency.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/syscount.bt~        2021-04-02 11:12:59.000000000 +0100
+++ b/tools/syscount.bt 2021-04-02 12:41:21.863115475 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * syscount.bt Count system calls.
  *             For Linux, uses bpftrace, eBPF.
--- a/tools/biosnoop.bt~        2021-04-02 11:12:59.000000000 +0100
+++ b/tools/biosnoop.bt 2021-04-02 12:41:52.240129237 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 #include <linux/blkdev.h>
 /*
  * biosnoop.bt   Block I/O tracing tool, showing per I/O latency.

Seems like the symbols got compiled/stripped out for some reason, in the ubuntu box:
$ objdump --sym tests/testprogs/uprobe_test  |grep GLOB
0000000000404000 l     O .got.plt<PHONE_NUMBER>000000              _GLOBAL_OFFSET_TABLE_
0000000000404040 g     O .data<PHONE_NUMBER>000004              GLOBAL_C
0000000000404038 g     O .data<PHONE_NUMBER>000004              GLOBAL_A
0000000000404044 g     O .data<PHONE_NUMBER>000001              GLOBAL_D
000000000040403c g     O .data<PHONE_NUMBER>000004              GLOBAL_B

We try to disable all compiler stuff that can cause this:
  set_target_properties(${bin_name} PROPERTIES LINK_SEARCH_START_STATIC FALSE LINK_SEARCH_END_STATIC FALSE RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/testprogs/ COMPILE_FLAGS "-g -O0" LINK_FLAGS "-no-pie")

But maybe one of the rpm flags that interfere with this? This test has been there for a while and hasn't changed between 0.14.0 and 0.14.1

This is actual set of env variables with flags which I'm using by default.
[tkloczko@ss-desktop SPECS]$ rpm -E %set_build_flags

CFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
CXXFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
FFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules";
FCFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules";
LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1";
CC="/usr/bin/gcc"; CXX="/usr/bin/g++"; FC="/usr/bin/gfortran";
AR="/usr/bin/gcc-ar"; NM="/usr/bin/gcc-nm"; RANLIB="/usr/bin/gcc-ranlib";
export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB;

Closing as stale, 0.14.1 is out-of-date.


ValueError: Unexpected error. Stuck in infinite loop and exiting.

Hello, I tried to merge two VCFs (attaching the files) from HipSTR. They both were processed with the same parameters and same BED in HipSTR.
Files used:
HGDP00001.vcf.gz
HGDP00005.vcf.gz
And it is returning the following error:
mergeSTR --verbose --vcfs HGDP00001.vcf.gz,HGDP00005.vcf.gz --out merge --vcftype hipstr
chr1:230769615:True	chr1:230769615:True
chr10:129294244:True	chr10:129294244:True
chr11:2171088:True	chr11:2171088:True
chr12:5983969:True	chr12:5983969:True
chr12:12297020:True	chr12:12297020:True
chr13:82148025:True	chr13:82148025:True
chr15:96831014:True	chr15:96831014:True
chr16:86352702:True	chr16:86352702:True
chr18:63281667:True	chr18:63281667:True
chr19:29926235:True	chr19:29926235:True
chr2:1489653:True	chr2:1489653:True
chr2:68011947:True	chr2:68011947:True
chr2:218014859:True	chr2:218014859:True
chr21:43636210:True	chr21:43636210:True
chr22:37140287:False	chr3:45540739:False
Traceback (most recent call last):
  File "/home/jesus/Proyectos/STR-HGDP-MERGE929/env/bin/mergeSTR", line 8, in <module>
    sys.exit(run())
  File "/home/jesus/Proyectos/STR-HGDP-MERGE929/env/lib/python3.10/site-packages/trtools/mergeSTR/mergeSTR.py", line 644, in run
    retcode = main(args)
  File "/home/jesus/Proyectos/STR-HGDP-MERGE929/env/lib/python3.10/site-packages/trtools/mergeSTR/mergeSTR.py", line 634, in main
    if mergeutils.CheckMin(increment): return 1
  File "/home/jesus/Proyectos/STR-HGDP-MERGE929/env/lib/python3.10/site-packages/trtools/utils/mergeutils.py", line 347, in CheckMin
    raise ValueError("Unexpected error. Stuck in infinite loop and exiting.")
ValueError: Unexpected error. Stuck in infinite loop and exiting.

Is there something I'm doing wrong here?
Thanks in advance.

Hi Jayla,
Thanks for pointing this out. I found this error is due to a bug in the mergeUtility tools. I have fixed the bug and tested. I have submitted a pull request to integrate the fix into develop branch, here is the link for the pull request https://github.com/gymreklab/TRTools/pull/159. Once the pull request be merged, you can get the update code from the develop branch. Let me know if there is any another question.

 Thanks!


Error in Colab

The Img tab does not show the picture. When I try to generate it, it gives an error. Please help/!
Error running before_process: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/a-person-mask-generator/scripts/a_person_mask_generator.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 611, in before_process
script.before_process(p, *script_args)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/a-person-mask-generator/scripts/a_person_mask_generator.py", line 293, in before_process
p.image_mask = self.generate_mask(image=p.init_images[-1], mask_targets=mask_targets)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/a-person-mask-generator/scripts/a_person_mask_generator.py", line 65, in generate_mask
options = ImageSegmenterOptions(base_options=BaseOptions(model_asset_path=model_path),
TypeError: ImageSegmenterOptions.init() got an unexpected keyword argument 'output_category_mask'

add this code before launch Automatic1111:
!pip install mediapipe --upgrade
it works for me

!pip install mediapipe --upgrade

This actually fixes my issue: https://github.com/djbielejeski/a-person-mask-generator/issues/16
a shame the dependency management its not well done.


mvn error.  You have to use a classifier to attach supplemental artifacts to the project instead of replacing them.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.363 s
[INFO] Finished at: 2023-06-15T08:57:53-07:00
[INFO] ------------------------------------------------------------------------
[WARNING]
[WARNING] Plugin validation issues were detected in 5 plugin(s)
[WARNING]
[WARNING]  * org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0
[WARNING]  * pl.project13.maven:git-commit-id-plugin:4.0.2
[WARNING]  * org.apache.maven.plugins:maven-compiler-plugin:3.10.1
[WARNING]  * org.apache.maven.plugins:maven-surefire-plugin:2.22.2
[WARNING]  * org.apache.maven.plugins:maven-resources-plugin:3.3.0
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.3.0:jar (default) on project flink-connector-starrocks: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

https://stackoverflow.com/questions/40964500/maven-jar-plugin-3-0-2-error-you-have-to-use-a-classifier-to-attach-supplementa.
So I changed in the pom.xml
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <outputDirectory>./target/</outputDirectory>
                </configuration>
            </plugin>

to
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <outputDirectory>./target/</outputDirectory>
                </configuration>
            </plugin>


deploy from private repository

Hello.
How i can set ssh key for deploy from my private git repository?

you need to configure git correctly before using librarian-puppet


Data object?

In Updating Resources:

The URL for a resource can be obtained:

from the self link in the resource object
for a data object, the original URL that was used to GET the document

What does "data object" mean in this context?
EDIT: I presume it simply means a resource object appearing alone as primary data.

I presume it simply means a resource object appearing alone as primary data.

That is correct and I agree this could be worded more clearly.
Perhaps: "for a single resource object returned as primary data, the original URL that was used to GET the document".


Add section in documentation with glossary of terms

Great idea by @Meuge!

Something like these?

https://www.sphinx-doc.org/en/master/glossary.html
https://sublime-and-sphinx-guide.readthedocs.io/en/latest/glossary.html

I can take this up

All yours @xlxs4 ! 😃


UnsafeAbilities Spec not working atm.

I have posted about this before in lore and other channels, but it gets quickly buried so I figure I should post it here. Unsafe Abilities is currently not working, as I tested it with a quest in the QD Training Area. both ua:Magic_Guard and ua:MagicGuard do not work, and just provide a mon with their normal ability.
Reason I'm posting this now is cuz if it ain't fixed there'll be more people that will have to get their legendaries modified by a lead, especially considering two of them (phione and articuno) are common quest legends to have.

Steps to reproduce: Use the ua: spec in a command/give-pokemon trigger.
As examples, these commands were all tested and all of them yielded a Pikachu with Static rather than the specified ability.
/pokegive PrimalCyndaquil Pikachu ua:Fluffy
/pokegive PrimalCyndaquil Pikachu ua:SwiftSwim
/pokegive PrimalCyndaquil Pikachu ua:Swift_Swim
/pokegive PrimalCyndaquil Pikachu ab:Fluffy

Closing this as we found a workaround.


Brew Bundle error

When loading brewfile, I get the following error:
Error: (eval):38: syntax error, unexpected tIDENTIFIER, expecting end-of-input
cask '==> We'll set permissions properly so ...
^
Please report this bug:
https://github.com/Homebrew/homebrew-bundle/issues/
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/dsl.rb:29:in instance_eval' /usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/dsl.rb:29:in process'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/dsl.rb:21:in initialize' /usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/commands/install.rb:4:in new'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/commands/install.rb:4:in run' /usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd/brew-bundle.rb:60:in <top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:23:in require?' /usr/local/Homebrew/Library/Homebrew/brew.rb:105:in '

What's the contents of your Brewfile?

tap 'caskroom/cask'
tap 'homebrew/bundle'
tap 'homebrew/core'
tap 'homebrew/dupes'
brew 'pkg-config'
brew 'libyaml'
brew 'openssl'
brew 'ansible'
brew 'autoconf'
brew 'xz'
brew 'automake'
brew 'awscli'
brew 'readline'
brew 'bash'
brew 'smake'
brew 'cdrtools'
brew 'libtool'
brew 'jpeg'
brew 'libpng'
brew 'libtiff'
brew 'wxmac'
brew 'erlang'
brew 'gdbm'
brew 'git'
brew 'go'
brew 'icu4c'
brew 'leiningen'
brew 'sqlite'
brew 'python'
brew 'mercurial'
brew 'node'
brew 'rebar'
brew 'unixodbc'
brew 'wget'
brew 'homebrew/dupes/openssh'
cask 'Uninstalling brew-cask... (4 files, 7.9K)'
cask '==> Creating Caskroom at /usr/local/Caskroom'
cask '==> We'll set permissions properly so we won't need sudo in the future'

I removed the cask comments below and its working. Thank you for your assistance.
cask 'Uninstalling brew-cask... (4 files, 7.9K)'
cask '==> Creating Caskroom at /usr/local/Caskroom'
cask '==> We'll set permissions properly so we won't need sudo in the future'

CC @reitermarkus @jawshooah for a heads up that Cask prints this message on brew list on stdout; should probably be stderr: https://github.com/Homebrew/homebrew-bundle/blob/b67dc7ce236118059145b729547208f732e75f79/lib/bundle/cask_dumper.rb#L9


Python: ObjectAPI to ValueAPI: IterReturnsNonSelf

This PR is part of the Functions modernization effort.
This PR depends on shared changes with other PRs and probably should be merged in specific orders. TBD

I think this looks reasonable. I would suggest autoformatting first, and then merging master into this branch. I can tell already now that there will likely be merge conflicts if you do it the other way. :slightly_smiling_face:


Error in U3-M5 notebook

I haven't finished the module yet but
X = df.as_matrix() throws an error X = df.as_matrix()
X = df.to_numpy() seems to work.

thanks for reporting, this has been fixed in this and the following notebooks
It might be worth checking out the notebooks converted to the more recent 2.x version of TensorFlow you can find here
https://github.com/DJCordhose/deep-learning-crash-course-notebooks#tensorflow-2


Testing osmdroid 5.2 with offline map

Greeting.
I'm trying osmdroid 5.2 and OSMBonusPack 5.8, and i need to use some offline vector map with OSMDroid. I've been testing mapsforge format (.map) but I have experienced two problems:
The first is: This has problems loading some tiles at all zoom levels, but is most noticeable in lower levels of zoom where the letters are very large. Do you have experienced this error when rendering some tiles? when I tried separately mapsforge not notice that issues. Is it possible to change the size of the letters?
The second: As much research I could not find how to load the map from the "assets" folder. Is there any way to load the map from the assets folder?, or alternatively from another direction within the internal memory of the phone. This is because i do not want depener an SD card.
P.D.: Of all the formats supported by OSMDroid, What is the best format for vector maps of Open Street Map?
MapBox maps look good, but are they free? Can I download and use freely with OSMDroid?
Sorry for so many questions I'm starting in this wonderful world.

Haven't ran into the issue with the mapsforge adapter. If you can provide enough information to recreate the problem and/or some screenshots, I can take a look at it. Changing the font sizes is usually though the MapsForge Theme. See the forge adapter's assets folder for the example provided by maps forge.
For maps forge databases from the assets file, I don't think that's supported at the moment, but it looks easy enough to do. Alternatively, you can copy the map file from assets to local app storage, then open it that way. Tile archives, zips, sqlite, and unzipped tiles can be loaded from assets. In fact, the sample app includes it out of the map from zoom =0-1.
MapBox is raster tiles, as is every other format that osmdroid supports. Unsure if mapbox is free or not.
Mapsforge is the only on device renderer for vector graphics that osmdroid supports at the moment. There's trade offs though, you'll need to download some large files and store them on device + space for the tile cache. Expect 40-50 GBs for the planet, just for the vector data.
There was some discussion on supporting vector tiles, however the only open source libraries that support is right now are GPL licensed, which clashes with the ASF license.
I also did some work using NGA's geopackage format, but only for the raster tiles, not the vector tiles. It may be possible to adapter their renderer and file structure.
As far as what's best, it's probably a matter of opinion. I personally like the mapquest files. That said, I'm not a lawyer but i don't believe you are allowed to download them and use offline. OpenStreetMaps.org's tiles should be usable offline.
For US based maps, USGS maps can be downloaded and used offline (again I'm not a lawyer). The TOPO maps are pretty nice, but the sat and road maps aren't quite as easy on the eyes as other formats. Your mileage will vary based on region.

well reopen if you have further questions. not sure if there's any actions to take on this end.


Unable to install with pip3

Bug Report
Before submitting an issue, please ensure you have read our CONTRIBUTING.md, and follow the Code of Conduct.
Thanks for taking the time to report a bug. To help us fix it quickly, please include the following information:
Unable to install via pip as show in the documentation. Running pip3 install py-pdf-parser I get the error code
    ERROR: Command errored out with exit status 1:
     command: /home/hank/Development/pdf_parse/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j1z0oskj/wand/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j1z0oskj/wand/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-j1z0oskj/wand/pip-egg-info
         cwd: /tmp/pip-install-j1z0oskj/wand/
    Complete output (18 lines):
    Traceback (most recent call last):
      File "/tmp/pip-install-j1z0oskj/wand/wand/api.py", line 180, in <module>
        libraries = load_library()
      File "/tmp/pip-install-j1z0oskj/wand/wand/api.py", line 135, in load_library
        raise IOError('cannot find library; tried paths: ' + repr(tried_paths))
    OSError: cannot find library; tried paths: []

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-j1z0oskj/wand/setup.py", line 8, in <module>
        from wand.version import VERSION
      File "/tmp/pip-install-j1z0oskj/wand/wand/version.py", line 45, in <module>
        from .api import libmagick, library
      File "/tmp/pip-install-j1z0oskj/wand/wand/api.py", line 198, in <module>
        distname, _, __ = platform.linux_distribution()
    AttributeError: module 'platform' has no attribute 'linux_distribution'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I am trying to install on KDE Neon and using that and the dev version of py-pdf-parser give me the same error. Though it seems to be working on a Windows boot.

Hey @ragreenburg, thanks for the bug report. Apologies it didn't work first time!
This is actually this wand issue (https://github.com/emcconville/wand/issues/456), however it looks like they've already fixed it so we just need to upgrade our version.
In the meantime I will also enable dependabot on this repository, which should mean we always get up to date packages.

This was fixed in https://github.com/jstockwin/py-pdf-parser/pull/142, which I have just released as version 0.6.0 (https://pypi.org/project/py-pdf-parser/0.6.0/).
@ragreenburg I will close this issue, but please do let me know if it still doesn't work for some reason!

Thanks mate, much appreciated!


How to use MobileAPI in another application

Hi svpt I would like to use the library mobileticket.js in an ionc application how to configure Thank you in advance

Hi Koyaja,
The readme file should explain how to use mobileticket.js there is not that much of configuration. It should be possible to use in Ionic.
It expects an Qmatic API Gateway on the other side. If you need implementation help contact Qmatic Professional support.
Regards

Please to heberger offline mobileticket.js or should you put the configuration file (for integrated in another project for example)

If you want to use the mobileticket.js API in another application or a framework. First you need to clone the source and copy the mobileticket.js file that resides in "mobile-ticket/src/libs/js/" to your ionic project. Then you can refer the mobileticket,js from your ionic project and use the API.

think
Ok I cloned the project and I included the mobileticket.js in my project but the problem is how to give the address GETWAY API to the MobileTiketAPI

@koyaja
Mobile-Ticket solution by default is developed to host on Node.js. So the Node.js server will communicate with the API GATEWAY. The server.js resides in "mobile-ticket\node" folder handles server functionality. This server.js file contains some proxy functionality to redirect request from mobileticket.js to API GATEWAY, it reads relavent configurations from proxy-config.json which is in the same folder (including API GATEWAT IP, PORT etc). You have two options easiest is to use the same Node.js deployment method we have provided and host your ionic app in there, so the mobileticket.js should work with API GATEWAY given the correct configurations. The second option is if you cannot afford to run your ionic application on Node.js and should run on a different platform, you need to rewrite the proxy functionality in server.js and functionality to read the configurations from  proxy-config.json. Hope this answers your question :)

Ok thank you very much considering your time if you can help me it will also be a big thank you because the application will not be hosted on node so I have to rewrite the server.js so your help to rewrite will be welcome

@thushan83
I am from SOFT-IT we are partner of Qmatic in Benin

@koyaja @pergrapatin
If you need help to customize the proxy implementation you can contact Qmatic Professional support.

I try to access api GATEWAY here is the error I get
XMLHttpRequest can not load http://<IP_ADDRESS>:9090/MobileTicket/branches/?longitude=0&latitude=0&radius=2147483647. Response to preflight request does not pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<IP_ADDRESS>:8100' is therefore not allowed access. The response had HTTP status code
Help me please

You need a backend on your webserver to route req to API GW otherwise you will run into issues like this. As the error code suggests you have a variant of cross site scripting issue.

hello How to use appointment making in mobileticket

Appointment creation is currently not included in Mobile Ticket.

Ok please i can know how it works

On Qmatic World under Products / Orchestra /Mobile Ticket you can find information and documentation for mobile ticket.
I think the information here would give you the overview of the Mobile Ticket functionality.

ok thank


Feature Request: Ability to disable mix-manifest.json generation.

Add ability to disable mix-manifest.json generation when using laravel-mix in non laravel projects.
It's a pain having to add extra tasks to remove the file all the time.
Possible syntax mix..version().disable()

Why do you need to remove that file?

👍 I'm using mix outside Laravel and I have no use for the file. I'd great if we could just disable it's creation.

I'm using laravel-mix with the following frameworks/products:

magento
shopify

The manifest file is nuisance more than anything, hence low priority to this request.
This could be one of those tasks to do when you're having an off day and just need a quick win to get your on track. 👍  😄

You guys could update your npm script to rm public/mix-manifest.json after you trigger Webpack.

....

Had the same problem, so I created and added this to my webpack.mix.js:
// Disable mix-manifest.json
(function(StatsWriterPlugin) {
  if (!StatsWriterPlugin) {
    return;
  }

  mix.plugins['StatsWriterPlugin'] = function(opts) {
    if (opts.filename === 'mix-manifest.json') {
      return {
        apply: function() {}
      };
    }
    return new StatsWriterPlugin(opts);
  };
}(mix.plugins['StatsWriterPlugin']));

I'm using mix outside Laravel and I have no use for the file

It's not specific to Laravel. It's a manifest that contains the names of the CSS and JS files, including a cache buster (https://www.npmjs.com/package/webpack-manifest-plugin). Most sites that use Webpack would be using it, unless you're also using some other CSS/JS combination/minification pipeline that does its own versioning.

This may be like beating a dead horse, but I'm using mix with the electron framework... it's not a problem, but it annoying 👎

Add these codes to webpack.mix.js:
// Disable mix-manifest.json
Mix.manifest.refresh = _ => void 0

Deprecated symbol used, consult docs for better alternative


Could not find a version that satisfies the requirement diffusers>=30

Same. Change requirements file in ComfyUI/custom_nodes/ComfyUI_VLM_nodes/ to:
diffusers>=0.31.0


Bump tar dep to resolve https://www.npmjs.com/advisories/803

Resolves #1714
Same as https://github.com/nodejs/node-gyp/pull/1713 but without the checked-in lockfile

Superseded by https://github.com/nodejs/node-gyp/pull/1713 🤷♂

👍


The "automatic install" detailed at the start of the wiki guide doesn't work

$ php -r "readfile('https://php.gt/install');" | php
PHP.Gt automated installer has started.
Using temp install directory: /tmp/gt-5819cd4d5787e/phpgt-cli
No Composer found in path, downloading...
Composer downloaded successfully.
Installing PHP.Gt CLI through Composer...
sh: 1: /tmp/gt-5819cd4d5787e/composer.phar: Permission denied
Autoload file missing.

I've added a preventative message, will add one to the wiki. The installer (and its issues) are tracked here: https://github.com/PhpGt/Cli


Address problematic datatypes for FromData and ToData to match PlutusTx

In Purescript, there is an option to use foreign datatypes from JavaScript. One example is the datatype Serialization.Address.Address foreign import data Address :: Type. This corresponds to the CSL representation of an address, which is in bytes as opposed to the Rust representation, containing actual fields. PlutusTx of course has fields too: https://playground.plutus.iohkdev.io/doc/haddock/plutus-ledger/html/Ledger-Address.html#t:Address. This will likely be an issue when implementing parallel Purescript FromData and ToData instances. Why? Because our foreign Address would convert to the B/Bytes constructor of Data/PlutusData, whereas PlutusTx would index into Constr via PlutusTx.makeIsDataIndexed ''Address [('Address,0)].
Similarly, our Value is isomorphic to that of PlutusTx, however, we currently do not accept the empty bytearray as a currency symbol due to serialisation issues.  Therefore, instead of a nested Map, the Purescript Value is split into Coin and NonAdaAssets (see Types.Value).
We will therefore need native datatypes to match those of PlutusTx with mapping functionality.
Here's an incomplete list of problematic datatypes:

Serialization.Address.Address (and related addresses like BaseAddress). This is built of Credential and StakingCredential here https://playground.plutus.iohkdev.io/doc/haddock/plutus-ledger/html/Ledger-Address.html
Types.Value.Value (and related Coin, NonAdaAssets)

Feel free to add/edit as you see fit, especially the list of datatypes.

Synchronized existing types in #202


[Feature request] Duplicate app finder/filter

Would be nice if there was a way to quickly find all similarly named applications. For example, Blender installs different versions without uninstalling old ones. Some other apps can also leave undesired old versions. This would let you find them and clean your system much more easily.

What exactly are you thinking about? You can search for 'blender' and it will show you all of the different versions.

@Klocman s

✅▶▶ DOWNLOAD PRO VERSION
✅▶▶ MIRROR FREE CRACK VERSION
.
.
.
✅▶▶ DOWNLOAD PRO VERSION
✅▶▶ MIRROR FREE CRACK VERSION
.
.
. ///

@Klocman closing the issues spam


[WebToolsE2E][Aspire]Can't clear the content in home page when do scenario Tutorial: Connect an ASP.NET Core app to .NET Aspire storage components

INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install Dev17.10.0 Preview 7 [rel.d17.10-34902.84] (Includes Aspire 8.0.0-preview.7.24251.11)
Apply NuGet Feeds.

REPRO STEPS
1.Do the scenario Tutorial: Connect an ASP.NET Core app to .NET Aspire storage components
2.In section Run and test the app locally,

Enter sample data into the Title and Description  and select a simple file to upload.
Select the Submit button.
Select Clear button.

Note:
1.In section Update the AppHost, when replace the contents of program.cs with the following code.

you will meet an error "resource name "aspirestorage.worker" is invalid", workaround is simple, you can only delete ".".

2.When do scenario Tutorial: Connect an ASP.NET Core app to SQL Server using .NET Aspire and Entity Framework Core, also meet this issue.
ACTUAL:  Can't clear the data for "Issue Title" and "Issue Description"

EXPECTED Can clear the data for "Issue Title" and "Issue Description"

@mitchdenny @IEvangelist , I check the fix, you only fix the issue about resource name , about can't clear the content, this issue also exits, Could you help take a look at this issue?


Can't get Dialog to work with Sveltekit

Hey there, thanks for your effort on making this port! Having some issues getting it working properly on Sveltekit.
Issue
When importing the Dialog component, it seems to break the page, here's the error:
Cannot read properties of undefined (reading 'default')
TypeError: Cannot read properties of undefined (reading 'default')
    at eval (/src/routes/(app)/trips/[tripId]/places/+page.svelte:55:101)
    at Object.$$render (/node_modules/svelte/internal/index.mjs:1876:22)
    at Object.default (root.svelte:44:40)
    at Object.left (/src/routes/(app)/trips/[tripId]/+layout@.svelte:57:43)
    at SplitLayout.svelte:17:52
    at Object.$$render (/node_modules/svelte/internal/index.mjs:1876:22)
    at eval (/src/routes/(app)/trips/[tripId]/+layout@.svelte:51:99)
    at Object.$$render (/node_modules/svelte/internal/index.mjs:1876:22)
    at Object.default (root.svelte:43:39)
    at eval (/src/routes/+layout.svelte:28:41)

How to reproduce

Copy and pasted the example Dialog code into a +page.svelte
Component will render on initial save, but as soon as you refresh the page it will break and show error above in server logs

Version info
"svelte": "^3.54.0",
"@sveltejs/kit": "^1.0.0",
"svelte-headlessui": "^0.0.11",
Side note: What do you recommend when trying to wrap this into a custom component and passing in the toggle function and content?

I'm not able to reproduce that, the example code is pretty much what's used in the lib project routes for use while working on the components, and refreshing that dialog page worked fine. I noticed in the error there's mention of some other components (like SplitLayout.svelte plus layout files) so it's possible it's something todo with them or things in combination.
If you can create a reproduction on stackblitz or similar I'll have a look into it.

Side note: What do you recommend when trying to wrap this into a custom component and passing in the toggle function and content?

If you pass in a boolean as a prop to control the open / closed state, you could have a reactive statement to call the .open() and .close() methods on the dialog if you want to control it externally
Titles and content could be set by using named and default slots.

I'm not able to reproduce that, the example code is pretty much what's used in the lib project routes for use while working on the components, and refreshing that dialog page worked fine. I noticed in the error there's mention of some other components (like SplitLayout.svelte plus layout files) so it's possible it's something todo with them or things in combination.
If you can create a reproduction on stackblitz or similar I'll have a look into it.

@CaptainCodeman Here's a repo: https://stackblitz.com/edit/svelte-kit-ns7hph?file=src/routes/+page.svelte

Did you install svelte-transition? That's published as a separate package but used in those examples. It worked when I added it.
  "dependencies": {
    "svelte-headlessui": "^0.0.11",
    "svelte-transition": "^0.0.7"
  }

@CaptainCodeman Doh! That's what it is, seems to be working now, thanks! 🙏

No worries, it's not really a great or particularly informative error message. It didn't remind me that I've done exactly the same thing more than once! 🤣


Please help for student

Hello goodnight!
I'm a beginner programming student, I loved this project but I'm having difficulties processing the sending and returning of the api on the front-end.
Could you help me with some simple html example with message sending and request return? Please!!

you can refer to  for sending msg using HTML.

you can refer to https://github.com/satish603/online-whatsapp-msg for sending msg using html

Whatsapp api is live now


single button change colour

There seems to be a problem with the change colour function in the single button config mode. When I try to change colour the blade does not light up at all except at the very tip, and it is usally a dull purple colour. However it can sometimes become a section of full bright red colour. After changing colour, switching the blade on, the colour becomes a really dull dirty looking light bluish colour not something you would like as a saber balde, and it gets stuck in that colour because going back to config mode to change colour does not work. I don't know this is specific to single button mode or not, as I have only tried the single button setup.

That's quite a bit similar to my current problem with Gravity Color. And I started to think that's a MPU6050 calibration issue. Maybe.


[WIP] add data retention capability

hate that... in public the organization of the directories is by date for a reason.
having a find traverse the entire tree is expensive.  Just look at the root directories and unconditionally delete the tree under there.  Many fewer IO operations.
I would think the incoming would be emptied out by the csv2bufr deleting the input after the output is created?
Not sure how OUTGOING is managed.

For PUBLIC, sure.  What about beyond PUBLIC?  We can't assume that INCOMING would have a date-based directory structure?  @david-i-berry @chenxiaoxia2019
OUTGOING is currently unused (we were thinking to use it for API publishing, but this has gone another way).  We may remove OUTGOING as a thing soon.

I guess it's fine for now... can always be improved later.

Closing in lieu of #75.


Broken Link

You've got a 404 on the link to http://dgmltn.com/roms
It is linked to both from the page https://play.google.com/store/apps/details?id=net.supware.tipro
as well as inside the application in the error message: "No ROM was found on your SD card. help[link]".

Thanks for the issue.  However, this is not the official repo.  I forked from https://github.com/dgmltn/AndieGraph and I recommend you contact @dgmltn, the official maintainer.

Ok, the link is fixed! Thanks for the bug report.


pdctl: fix the default config output of shuffle region scheduler

What problem does this PR solve?
Fix #2356.
What is changed and how it works?
This PR adds default output for shuffle-region-scheduler when using scheduler config subcommand.
Check List
Tests

Unit test

Release note

Fix the issue that there is no default output when using scheduler config shuffle-region-scheduler in pd-ctl.

Codecov Report

Merging #2416 into master will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2416      +/-   ##
==========================================
+ Coverage   76.16%   76.29%   +0.13%
==========================================
  Files         206      206
  Lines       22086    22090       +4
==========================================
+ Hits        16821    16854      +33
+ Misses       3969     3950      -19
+ Partials     1296     1286      -10

Impacted Files
Coverage Δ

tools/pd-ctl/pdctl/command/scheduler.go
70.58% <100.00%> (+0.29%)
:arrow_up:

server/region_syncer/client.go
74.80% <0.00%> (-4.59%)
:arrow_down:

server/member/leader.go
71.20% <0.00%> (-2.34%)
:arrow_down:

pkg/mock/mockhbstream/mockhbstream.go
89.23% <0.00%> (-1.54%)
:arrow_down:

pkg/btree/btree.go
86.84% <0.00%> (-0.81%)
:arrow_down:

server/handler.go
51.18% <0.00%> (-0.44%)
:arrow_down:

server/schedule/operator_controller.go
80.84% <0.00%> (-0.17%)
:arrow_down:

server/schedulers/adjacent_region.go
76.59% <0.00%> (+1.06%)
:arrow_up:

server/server.go
78.31% <0.00%> (+1.24%)
:arrow_up:

server/tso/tso.go
81.02% <0.00%> (+1.45%)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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

/merge


Assessment complete

0/3. I see your logic, but you're not actually doing anything with the values passed into the methods.


Embed simple script engine for cross platform scripting support

This will allow for true cross platform scripting like rs_script but with improved runtime performance

possible solution to convert common linux commands to dos commands.
for simple file operations should provide a simple and fast solution reducing the need to write 2 scripts for each platform in a task

with cross platform shell support, I think this item can be closed.


feat: upgrade node version to v20

Description

Demo

Checklist:

[x] I have read and followed the Contributing Guide
[x] I have updated the documentation accordingly.
[x] upgrade node version on deployment servers

@Liubov-crypto The whole app needs to be tested. See if there are no console errors
@michele-franchi you can upgrade your local node version

Account info, bring me such errors in console:

Tokens page are not uploading info:

https://github.com/aeternity/aescan/assets/69896204/794749a3-48a0-4a9c-9a25-3e66fc89abf9

Thanks for reporting. The root cause for those 2 symptoms is the same. For different deployments there is different url. I reported to Petar. Let's see...

@Liubov-crypto it has been fixed by Petar. You can continue on testing

In general LGTM. Previous errors from console have been fixed.
Found this one:

however no visible errors in UI.

In general LGTM. Previous errors from console have been fixed.
Found this one:
however no visible errors in UI.

Thank you, this is a occasional known issue described in here https://github.com/aeternity/aescan/issues/284


MAINT: reorganize to a more Django 1.4+ style project layout

The current project layout (e.g. location of manage.py, dealing with sys.path) is still somewhat Django <1.4 style. This fixes it up a bit.
The SPC site project is under spc_site.
The SPC sub-apps are under scipy_central.
Both of these directories contain only code and static files.
The run-time data directory is top-level data.
Quickstart virtualenv goes to top-level env.
The settings is split to common + development settings.

https://github.com/scipy/SciPyCentral/pull/191
addressed many of these changes.


Make Session function public for external calls

Currently, I have implemented a Session object myself. Can these two methods be opened for external self control calls.
Make new_process_mux or new_native_mux public .

mpl Session {
    #[cfg(feature = "process-mux")]
+    pub(super) fn new_process_mux(tempdir: TempDir) -> Self {
        Self(SessionImp::ProcessImpl(process_impl::Session::new(tempdir)))
    }

    #[cfg(feature = "native-mux")]
+    pub(super) fn new_native_mux(tempdir: TempDir) -> Self {
        Self(SessionImp::NativeMuxImpl(native_mux_impl::Session::new(
            tempdir,
        )))
    }
}

About code link ref:

You can use Session::{resume, resume_mux}, which might be enough for your use case.

If it's not enough, then we can make them public

@NobodyXu
Because the internal implementation of the resume method is to set TempDir to None, but currently, I need external control to pass this tempdir to Sesson internally.
 native_mux_impl link ref
process_impl
So, I really hope these two methods are publicly available.

@baoyachi I will accept a PR for this with enough documentation on how to use it.

I will send PR later to solve this issue too.


Refactor alerter to use 1 rabbitMQ connection per thread

When tackling #136, it was noted that we are sharing rabbitMQ connections between threads. This is not correct and each thread should have its own connection.

Comment left by @dillu24 on 136 MR:
Also as per pika docs, it is recommended that we use 1 connection per thread, where the connection is created inside that thread. I don't think we are doing that.
I think we should use separate initialisation functions for each thread, and we use the appropriate rabbit initialization function according to which thread we are in.
For example we should have a general initialise_rabbit function which initialises the queues and exchanges and then disconnects from rabbit in the mainthread. Then we should have an initialize_rabbit_heartbeat which initialises a rabbit connection for the ping thread and initialize_rabbit_sending_configs which initialises a connection for the sending_configs thread. When on the outside we terminate the threads we disconnect as normal. Due to this we must then have 2 variables, is_connected_rabbit_heartbeat and is_connected_rabbit_send_configs.


Rename repo to mjml-python (or similar)

I realize this is still a stub implementation, but we're getting closer to full feature parity. I think it would be helpful to have a more descriptive name. Following this, we should be sure we can get this added to the "Ports and Language Bindings" section in the MJML documentation: https://documentation.mjml.io/#ports-and-language-bindings.

done :-)


Use of platform-specific int type for JoyDeviceAddedEvent.Which

Line in question:
https://github.com/veandco/go-sdl2/blob/0f0aff6510ff6b885d668509789fbf6120e47d8c/sdl/events.go#L564
I believe this should be declared as int32 instead of int, since it will be silently compiled as int64 on 64-bit systems.
In particular, joystick-input example from go-sdl2-examples fails with panic because of that.

Hi @seletskiy, thank you for catching that. I have changed it to use sdl.JoystickID which is an int32 in the latest patch version!

@veeableful: nice one!


[FR] Add support for matching by sample/label tags in the fields sidebar

https://github.com/voxel51/fiftyone/pull/906 introduces amazing functionality for modifying the tags of samples/labels in datasets. This naturally leads to the following feature request: give me a simple way to filter my dataset to show only samples/labels with a given tag!
There are two conventions in the fields sidebar:

Checkbox selection. Each field has a checkbox, where:

unchecked = field values hidden from grid
checked = field values visible in grid

Filtering widget. Fields may have a v caret that opens a filtering modal that selectively chooses which values in that field to show

The tags field currently bends convention 1 because its individual values are given their own checkboxes. And there is no filtering widget.
I have two proposals for how to support tag filtering in the sidebar:
Proposal 1
Rename the TAGS section to SAMPLE TAGS, and add a LABEL TAGS section. Within each section, continue to blow out each tag into separate entries as we currently do.
Add an eye icon on the RHS of each entry (in the same location as the v widget for other fields). Clicking the eye icon creates an extended view filter: only samples/labels matching the tag are shown. Multiple eye icons can be selected to match on multiple tags. Clicking an active eye icon removes the tag from the filter. If no eye icons are activated, no filtering is performed.
Proposal 2
Replace the existing tags section with two entries:
[ ] sample tags
[ ] label tags

Toggling the checkbox for sample tags would show/hide all tags on all samples.
Now, what should toggling the label tags checkbox do? Here's a couple ideas:
(a) Visual option. All labels with tags get a visual emphasis. Reusing the dotted border may be confusing since it means selection in other contexts, but something similar to this (e.g,.
(b) Textual option. All labels are decorated with their tags in text form. Such as:

Classification tags: <label> could change to <label> (<tags>)
Detections: <tags> appears where object labels  the label selection

Visual to spur inspiration

My thinking is that Proposal 1 is both more straightforward to implement and powerful :)


chore: add actual number of samples used for calcuating metrics

for SITES-23960
Implemented  in
https://github.com/adobe/spacecat-audit-worker/pull/351
https://github.com/adobe/spacecat-shared/pull/317

:tada: This issue has been resolved in version 1.60.3 :tada:
The release is available on:

v1.60.3
GitHub release

Your semantic-release bot :package::rocket:


Improve illegal dynamic dependency error message

This build.sbt:
import java.io.File

val confFilter = settingKey[ScopeFilter.ConfigurationFilter]("ConfigurationFilter")

confFilter := inConfigurations(Compile, Test)

val bug = taskKey[Unit]("Bug")

bug := {
  printCount(sourceDirectories.all(ScopeFilter(configurations = confFilter.value)).value.flatten)
}

def printCount(files: Seq[File]): Unit =
  files.size

causes this error:
/Users/heiko/tmp/sbtbug/build.sbt:11: error: Illegal dynamic dependency
  printCount(sourceDirectories.all(ScopeFilter(configurations = confFilter.value)).value.flatten)

This happens with sbt 0.13.0-Beta2.

I just stumbled upon this. First found #1095 and now this. Tried @harrah 's approach and it works. Is this bug or not?

Not a bug. As the title suggests, the error message needs to improve.


GitHub Runner Scaler - RateLimit Bug for GitHub Enterprise

Report
When you use the github_runner_scaler for GitHub Enterprise with your own GitHub Appliance, you encounter an issue. The scaler fails and shows a GitHub REST API error, even though the response code of 200 means the request was successful. The problem seems to be on line 525 of github_runner_scaler.go where it tries to fetch the "X-RateLimit-Remaining" response header. However, this header is missing in responses from the GitHub Enterprise Appliance.
Error Message:
{
    "TimeStamp": "2023-07-11 13:07:02 \u002B0000 UTC",
    "Type": "Warning",
    "ContainerAppName": "_masked_",
    "RevisionName": "_masked_",
    "ReplicaName": "",
    "Msg": "the GitHub REST API returned error. url: <githubAPIURL>/repos/<owner>/<repo>/actions/runs status: 200 response: {\u0022total_count\u0022:0,\u0022workflow_runs\u0022:[]}",
    "Reason": "KEDAScalerFailed",
    "EventSource": "KEDA",
    "Count": 2
}

Relevant code (Line 525 -527):
if r.StatusCode != 200 || r.Header.Get("X-RateLimit-Remaining") == "" {
	return []byte{}, fmt.Errorf("the GitHub REST API returned error. url: %s status: %d response: %s", url, r.StatusCode, string(b))
}

Expected Behavior
"When you use the github_runner_scaler with your own githubAPIURL, the code shouldn't try to fetch the "X-RateLimit-Remaining" response header."
Actual Behavior
The code tries to fetch the "X-RateLimit-Remaining" response header and throws an error, since the header is missing in responses from the GitHub Enterprise Appliance. This is a false error.
Steps to Reproduce the Problem

Implement the Github Runner Scaler for an Enterprise account with its own GitHub Appliance
For metadata, set the githubAPIURL to your Enterprise API URL
Use personalAccessToken as Authentication Parameter
Check Logs

Logs from KEDA operator
{
    "TimeStamp": "2023-07-11 13:07:02 \u002B0000 UTC",
    "Type": "Warning",
    "ContainerAppName": "_masked_",
    "RevisionName": "_masked_",
    "ReplicaName": "",
    "Msg": "the GitHub REST API returned error. url: <githubAPIURL>/repos/<owner>/<repo>/actions/runs status: 200 response: {\u0022total_count\u0022:0,\u0022workflow_runs\u0022:[]}",
    "Reason": "KEDAScalerFailed",
    "EventSource": "KEDA",
    "Count": 2
}

KEDA Version
None
Kubernetes Version
None
Platform
Microsoft Azure
Scaler Details
Github Runner Scaler
Anything else?
No response

Hello,
Do you know which version of GH enterprise are you running? I have checked the docs and it looks that even in enterprise the header should be there (which is weird because I thought that there isn't rate limiting in GH enterprise).
@Eldarrin , could we just check the remaining

Please ignore this:

I clicked the wrong button 🤦

Hi Jorge,
we are running GitHub Enterprise Server 3.8.3. I checked the headers I get in the response by making the same call with Postman.
This is the list of headers I get in the response from Postman:

Hope this helps.

If you can it'd be nice, if you can't, I'll do it :)

This is a nice addition to the hotfix release that we are preparing :)

PR submitted


Policy trigger or aftermath_collection.sh error

I noticed the policy trigger in the readme for Google Cloud Aftermath Credentials is currently gcs_creds but in the aftermath collection script it currently calls /usr/local/bin/jamf policy -event gc_creds as the trigger.

@ronnieleblanc, thanks for pointing this out. I updated the trigger in the script to match the readme.


instrumentation-pg: Invalid trace output if port=null

What version of OpenTelemetry are you using?
API 1.8.0 / Stable 1.22.0 / Experimental 0.49.0
instrumentation-pg 0.38.0
What version of Node are you using?
v18.19
What did you do?
Due to a configuration issue, our app was passing a port of null to pg-pool. This is handled "correctly" (defaulting to 5432) by pg.
What did you expect to see?
Valid traces
What did you see instead?
net.peer.port is set to NaN, which is invalid, breaking the entire trace.
Additional context

Thanks for reporting this. Was able to find where in pg code this happens: https://github.com/brianc/node-postgres/blob/2a8efbee09a284be12748ed3962bc9b816965e36/packages/pg/lib/connection-parameters.js#L66
Couldn't find where it defaults to 5432 though, so my PR #1982 proposes falling back to undefined which will mean that the attribute won't be set on the exported trace.

Nice! :clap:
Not setting the attribute sounds like a fine approach.


Standardize Solvers

Currently the different Solvers have different features. They should all have the same features: l1reg, l2reg, clip.
Also the Solver code is messy. Clean it up, with tests.

No longer relevant. The design of Solvers allows for different options


Dart port for randomColor

I have included the link to the randomColor Dart version.. I hope my PR will be merge

Thank you!


Add hostname directive

If you use the "-h" directive, you can force a given hostname to the running Docker container. Some host Docker containers (like Nextcloud) create a domain white-list to validate connection origin.
If you need to add your hostname to the Docker configuration (Nextcloud: config.php), you can do that manually. Or, you can add the same hostname into its hosts file or DNS provider.

Only if you are running Nextcloud or another docker that requires the given hostname AND you access its contents using the same hostname due to docker image security.
Some people may be uncomfortable with editing PHP files. My main reason for doing this was to document the problem and some of the workarounds I've tried.
Since it's not critical and doesn't give you any additional functionality, you can safely ignore this pull.
Thanks for your hard work!