Allow frame references to Beam Playground.

Attempt to fix: #30394
Staged: http://apache-beam-website-pull-requests.storage.googleapis.com/30391/index.html

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

staged links don't have CSP headers, so not indicative of success, but we can merge this and see what happens.

looks like it didnt fix the issue: https://beam.apache.org/documentation/transforms/java/elementwise/pardo/


Error highlight in Interactive window makes text unreadable in dark mode

the highlight for the undefined value in a NameError is too close to the text color:

stable does not highlight anything, nor does a notebook

Yes this is the highlighting created by the kernel itself. We remove this highlighting. Perhaps it's changed again.

I cannot repro this at my end, @amunger are you using the same kernel in both stable & insiders?

Looks like an older version because the links for clicking on the line numbers aren't showing up.

Python               3.9.13
ipykernel            6.15.0

ipython              8.3.0

ah, this only repro's when executing from the input box (nowhere to link to)

and only in an interactive window that's not associated with a py file - created with command palette

@amunger Have you possibly switched the renderers, you might have to enure you select the Jupyter renderer instead of the built-in vscode renderer.

InteractiveWindowTracebackFormatter.format() does not get called when using a standalone IW. Still investigating why

or rather, that method returns early because there is no IGeneratedCodeStore for that notebook


New Tokenizer for mdeberta-v3-base

Thank you for your repo!
Would it be possible to add a tokenizer for this model?
https://huggingface.co/microsoft/mdeberta-v3-base
Thanks in advance :)

Hi @zynos
and sorry for late response.
I just now had time to look into this, the problem with the DebertaV2Tokenizer lies in the heavy dependence on sentencepiece and I am not familiar with a good way to overwrite the vocabulary there.
So I'll leave this issue open in case anyone knows the sentencepiece library better than I do and is willing to solve this problem.


BUG:bookmarked  pages  opening issue

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
when a bookmarked page is clicked it only opens when the arrow is clicked, rather it should open the detail page on click of the name itself.
as this can lead to bad user experience if the user tries to click on the label rather than arrow.
https://github.com/user-attachments/assets/c8314850-033a-4b74-94d9-8768dcb688a0
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@andoriyaprashant i am willing to solve this issue, please assign me this task with proper labels.

I would like to work on this. Can you please assign this to me.

@chetanr25  I am aready working on this.

@andoriyaprashant  done


Add branch priority

This pull request adds a pure wrapper of the SCIP function "SCIPchgVarBranchPriority" from "scip/scip_var.h".
The python version can be accessed from Model.chgVarBranchPriority(Variable var, priority).
No tests/examples are provided, since it is a direct wrapper of a SCIP method.

Hi thanks for the contribution, could you merge master into your branch so that the test can pass.

thanks for your contribution!


text loss problem

Thank you for your excellent work!
When I fine-tune, I find that the action loss can be reduced normally, but the text loss is above 10 and the text acc is around 0.5. Is this normal? In order to achieve the effect and performance in the paper, do I need to continue training to minimize the text loss?
What are the optimal action loss and text loss?

Text loss is not important during fine-tuning because we do not use text during evaluation. Instead, action accuracy is important and we fine-tuned the model until the training action accuracy is ~95%.


minWidth on Collapsed Resizable panel does not allow the panel to collapse correctly

If you put a minWidth prop on a Panel component that has a sizing model on it, the panel does not collapse correctly.
Here is what you get when you try to collapse the panel:

Dragging the panel to a small size still works fine.

happens with a 'width' prop too.


Data Presentation can't be changed in Data Editor for nested attributes

System information:

Operating system (distribution) and version win 10 x64
DBeaver version 7.0.0

Connection specification:

Database name and version DynamoDB

Describe the problem you're observing:
Data Presentation couldn't be changed in Data Editor.

This is not just about DynamoDB but about any "nested" columns. And it is true for all document-based databases.

Fixed

verified


[SEO-54] 0.0.1 release

Rewrite of action to match run-qa command from CircleCI Orb.
TODO

[x] Flesh out README

/reviewme @jbarber @ukd1 @rainforestapp/devs


Why do changes made in the "Developer Tools" reset themselves. Have to click "Apply" to reapply them.

Hi there. I have small nifty codes for several sites to make them look good. Most of the sites are private like University's students portal, so obviously I can't create a pull request for them. But seems like changes made through the developer tools aren't applied on browser restart and you have to click apply to reapply those changes.
I don't want to create pull request for every little code I've added in the developer tools. I'm not sure but I think this is intentionally by the developer so that the user has to create a pull request for the changes to be permanent and to be applied automatically.
Please let me know if I'm wrong and this is just some issue with only my chrome.
Thanks.

You are right, the developer tools will be improved https://github.com/alexanderby/darkreader/issues/143


Port noah_dev.sh to python scripts

Currently, we are using bash scripting to build and run this complex docker. It might be good to migrate this script to be something like this. The reasons for this migration are:

Python scripts are easier to read and hence, to mantain.
It would be easier to scale up, adding more features and options.

It might be good to split the script into 2 simpler scripts like build and run


Performance

Iterating over every char is probably not the best approach. Should probably come up with something better.

I started my own implementation of some of the cases for this library which removes some of the semantic language-dependent assumptions. If you'd like to see my implementation look here.
I don't think there is a good way to do this besides iterating over every char and using functions to get char positions likely internally use an iterator.

Yeah agreed. The implementation you have is much cleaner. I think that going down a similar path is probably the correct way forward. :smile:

speaking of performance issues, https://www.reddit.com/r/ruby/comments/53wec6/how_do_i_should_i_be_getting_performance_boosts/
basically:
$ ruby benchmark.rb

Comparison:
         Ruby: camel:    13179.9 i/s
         Rust: camel:        1.9 i/s - 6978.60x  slower

Comparison:
   Rust: camel_lower:   101904.9 i/s
   Ruby: camel_lower:    10441.9 i/s - 9.76x  slower

Comparison:
          Rust: dash:   230069.3 i/s
          Ruby: dash:    24660.9 i/s - 9.33x  slower

Comparison:
     Ruby: unaltered:  6053346.9 i/s
     Rust: unaltered:  2143459.5 i/s - 2.82x  slower

Comparison:
    Rust: underscore:   271433.8 i/s
    Ruby: underscore:   166316.0 i/s - 1.63x  slower

:-\

@calebmer I swapped out @whatisinternet's case transforms with yours, and got the following benchmarks (same test as above)
$ ruby benchmark.rb

Comparison:
         Rust: camel:   238774.9 i/s
         Ruby: camel:    13107.3 i/s - 18.22x  slower

Comparison:
   Rust: camel_lower:   230641.5 i/s
   Ruby: camel_lower:     8244.1 i/s - 27.98x  slower

Comparison:
          Rust: dash:   243197.8 i/s
          Ruby: dash:    20350.9 i/s - 11.95x  slower

Comparison:
     Ruby: unaltered:  6030498.8 i/s
     Rust: unaltered:  1960989.6 i/s - 3.08x  slower

Comparison:
    Rust: underscore:   291052.3 i/s
    Ruby: underscore:   169458.2 i/s - 1.72x  slower

Hey! Thanks for the benchmarks. :+1: I'm aware that the current implementation isn't perfect and I haven't given it enough focus, sorry. That said, I'm very open to people helping and submitting PRs if you're interested :smile:.
@NullVoxPopuli

Fixed via #26


Index Comments/Mark as Error

Invalid indices can now be marked with a comment. This is used when one of the fields has an error.

@timsuchanek
We should still merge this, if possible. Adding comments to indices might prove useful in the future.


Lookahead pointer and proper LookaheadSetParam sent in block proposal

We're iterating over it:
        let lookahead_pointer = self
            .lookahead_preconfer_buffer
            .as_ref()
            .ok_or(anyhow::anyhow!(
                "get_lookahead_params: lookahead_preconfer_buffer is None"
            ))?
            .iter()
            .position(|entry| {
                entry.preconfer == self.ethereum_l1.execution_layer.get_preconfer_address()
                    && current_timestamp > entry.prevTimestamp
                    && current_timestamp <= entry.timestamp
            })

And yeah, that's the PR for the current state of contracts, when new will be available, we'll need to update the code.


OOM during nuxt build when importing multiple aws-sdk packages.

Environment

Operating System: Darwin
Node Version:     v18.19.1
Nuxt Version:     3.13.2
CLI Version:      3.15.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      default
Runtime Modules:  -
Build Modules:    -

Reproduction
https://github.com/kirkwaiblinger/nuxt-oom-repro
Describe the bug
When running nuxt build, the process hangs after the ✔ Nuxt Nitro server built step, and eventually causes a node OOM error.
Additional context
The basic setup for this bug is to have both @aws-sdk/client-dynamodb and @aws-sdk/client-secrets-manager, admittedly with different versions, and use both in the server. Something about the interaction between these causes a node OOM error in the very end of the nuxt build step that does not occur when nitro.experimental.legacyExternals is set.
While bringing the versions in sync resolves this issue, the real use case for us involves packages depending on each other, that cannot easily be changed. Regardless I find the OOM to be likely unintentional.
 Just in case I leave it here https://github.com/nordetech/nuxt-aws-bug (check the Actions).
It's a blocker for us at the moment because we are using a lot of AWS SDK clients for different parts of our app, and we want to import common services and use them in an admin panel with Nuxt. We were able to use aws-lite for some new features, but older features are harder to migrate.

Would you see if you can reproduce this in pure Nitro (reproduction sandbox), and if so, raise there? 🙏

The issue does not seem to reproduce on Nitro alone.


verbose/quiet option

We call using_gtvt from exo-mast and it produces a lot of output. We currently handle this on our end by suppressing stdout from this function call, but having a quiet or verbose mode might be nice.
It looks like get_table could be another culprit, called by using_gtvt.

Duplicate of #302


Add short samples to each function on the ballerina Lib documentations pages

Description

Add samples for each library function, specifically those used in the data mapping UI.

Related website/documentation area

Add/Uncomment the relevant area label out of the following.

Area/CommonPages
Describe the problem(s)

The small sample describing how the method/function is used can be very helpful. The array:reduce function is one example that is good but could still be improved.
The problem is more noticeable in the new data mapper design UI:

Even the reduce function's example doesn't stand out very clearly:

Describe your solution(s)

Each function description would be improved by adding the example as a first class attribute.

@daneshk @shafreenAnfar

We already have one line sample for all possible functions in Standard Library API Docs.
e.g: https://lib.ballerina.io/ballerina/uuid/1.5.0#createType1AsRecord


unable to access the js files.  like underscore.js not loading on browser...

@jpca999 I'm having a hard time following your issue. In the screen shot of the browser window, the error you're getting is a 404 for angular-moment. I see the folder in the other screen shot, but are you sure that angular-moment.min.js exists in that folder?
If you can't get your application to load underscore, please make sure you're including it in your angular applications module dependencies.
Otherwise, could you be more clear on what your issue is?

@mleanos   none of the additional js files that i add, doesn't load on the browser.

I tested with Underscore and didn't experience what you reported.
I still don't quite follow what the issue is. Like I said before, your screenshots are a little confusing since they don't match up with your description of the error.

wow - i dont understand how its not letting me see the js files.
btw did you use docker-compose up   to serve ?

got it, fu@#in issue was with the trailing spaces.

Why did you reopen this issue? It appeared yhat you resolved your problem.

@mleanos   yes, sorry about that,,    Can you please suggest a solution for this one ?https://github.com/meanjs/mean/issues/1626


TSDB (histograms): Possible BufferedSeriesIterator performance issue

Is this TODO by @codesome  just a small performance improvement (or something more serious that might be more relevant than P3)? https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/storage/buffer.go#L44

Maybe related in coming up with an overall improvement: https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/storage/buffer.go#L167

Is this pr still valid? Does #11687 already solve this pr ?
@beorn7

Yes, you are right. Please review #12839. :)


Add support for passing JavaScript function names via Python configuration

As far as I can tell, there is currently no way to specify a JavaScript function as the value of one of the TinyMCE options that expects one: file_browser_callback, file_picker_callback, etc. This is because all of the options are serialized as JSON, included in the data-mce-conf attribute of the <textarea> rendered by the widget. And JSON doesn't support references to functions.
This pull request allows a user to specify a JavaScript function's name as the value associated with one of these options. When the configuration settings are unpacked, and prior to calling tinymce.init(), the function name is resolved to a function reference using the global window object.
So, for example, you can now do something like this in a ModelAdmin / StackedInline:
    def formfield_for_dbfield(self, db_field, **kwargs):
        if db_field.name == 'body':
            kwargs['widget'] = AdminTinyMCE(
                mce_attrs = {
                    'width': 375,
                    'file_browser_callback': 'my_callback',
                })
        return super(PerspectiveInline, self).formfield_for_dbfield(db_field,
                                                                    **kwargs)

This will set up a function my_callback (assumed to be defined in the JS assets associated with the page) as the file_browser_callback.
You could do something similar with default config in your settings.py:
TINYMCE_DEFAULT_CONFIG = {
  'color_picker_callback': 'myColorPicker'
}

Can you merged latest master and provide test for your feature?

I'll be happy to, but it will be several days before I get back to this.

Thanks in advance.

In #3, a way of handling anonymous functions (I'm not sure if named functions can be handled the same way) was added for only paste_preprocess and paste_postprocess. I had to fix a syntax issue with pending merge request #168; however, I'm wondering if there may be a way to check for all parameters that could have a callback function and handle at least anonymous functions in widgets.py:71 - def get_mce_json(self, mce_config):. Perhaps named functions could be handled there as well? I'm not sure, but if they can't, this merge request seems to do the trick.

@mykwillis Any news about this? Do you have an answer for @mattarchie ?

@mykwillis Do you mind adding your name to the CONTRIBUTORS file? https://github.com/aljosa/django-tinymce/blob/master/CONTRIBUTORS.rst

Fixed with #200


Question on support to uint16 tile in fp32 mode

The following compute kernel just unpack a tile in CB to DST register and pack it again to CB.
namespace NAMESPACE {
void MAIN {
    constexpr uint32_t num_tiles = get_compile_time_arg_val(0);

    constexpr uint32_t cb_src = tt::CB::c_in0;
    constexpr uint32_t cb_dst = tt::CB::c_out0;

    unary_op_init_common(cb_src, cb_dst);

    for (uint32_t i = 0; i < num_tiles; i++) {
        cb_wait_front(cb_src, 1);
        cb_reserve_back(cb_dst, 1);

        tile_regs_acquire();
        unpack_reconfig_data_format_srca(cb_src);
        copy_tile_to_dst_init_short(cb_src);
        copy_tile(cb_src, 0, 0);
        tile_regs_commit();

        tile_regs_wait();
        pack_reconfig_data_format(cb_dst);
        pack_tile(0, cb_dst);
        tile_regs_release();

        cb_pop_front(cb_src, 1);
        cb_push_back(cb_dst, 1);
    }
}
}  // namespace NAMESPACE

If at least one CB is of uint16 type and fp32 mode is enabled, the output is different from the input. Is an uint16 type not supported in fp32 mode, or is any additional configuration logic required?

@davorchap Would you please assign an engineer regarding this query? Thanks.

@adifrancescoTT Would you please check what Jeongu reqeusted?

Adding @rdjogoTT to answer this.
@rdjogoTT , did you have this case as part of typecast?

Yes, with my typecast change I had to enable UInt16 to work with fp32 Dest mode in order to enable UInt16->Int32. This should work now.

Thanks for the answer. I will test this referring to uint16 -> int32 typecast.


Flont interactive previewer?

Can https://github.com/chrissam42/Flont be used?

It's trivial.

There's actually one interesting feature, showing and selecting "alternative glyphs".

"alternative glyphs"

But it seems that needs the alternative glyphs to be encoded (PUA or so). I didn't read the whole code, would need more review to decide. Encouraging using PUA for a feature to work is the last thing I'd like to do.


This test needs a better explanation There are multiple times it says these colors and to switch them wihththe hex code.. i've gone through all of them and it still says its wrong

Challenge Use Hex Code to Mix Colors has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

I am FF0000!

I am 00FF00!

I am 22998E4!

I am FFA500!

@KabbaKreek3 your code is indeed correct, but you are missing semicolons on each style. While this is not a pure requirement for CSS, it has been discussed before (see: https://github.com/freeCodeCamp/freeCodeCamp/issues/8274) and it's been decided that the tests should require a semicolon for single attributes too as this is a best-practice.


gaierror/NewConnectionError/MaxRetryError/ConnectionError

When I try to download profile picture or story, sometime I have gaierror/NewConnectionError/MaxRetryError/ConnectionError  errors that are triggered, is it from me or from the library or Instagram?

It seems that Instagram have problems with their DNS server last 3-4 days. I have same errors, I figured out that in moments, when I get errors I can't get the IP for the domain with images.
You can check by yourself, when you have a problem with downloading a picture, do nslookup on domain with picture.


Remove useless locking code

Follow-up to 070c233.

I changed the commit message to make it a little bit less confusing.

+1

+1 from me, if you want to merge it.


Improve the hash join performance by replacing the RawTable to a simple Vec for JoinHashMap

Which issue does this PR close?

Closes #6910.
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Thanks @yahoNanJing .  These are my results on this PR (./bench.sh run tpch_mem):
Comparing main and issue-6910
--------------------
Benchmark tpch_mem.json
--------------------
┏━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query        ┃     main ┃ issue-6910 ┃       Change ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1     │ 188.49ms │   187.15ms │    no change │
│ QQuery 2     │  59.09ms │    68.42ms │ 1.16x slower │
│ QQuery 3     │  50.46ms │    68.99ms │ 1.37x slower │
│ QQuery 4     │  37.68ms │    51.33ms │ 1.36x slower │
│ QQuery 5     │  93.91ms │   127.29ms │ 1.36x slower │
│ QQuery 6     │  10.32ms │    10.48ms │    no change │
│ QQuery 7     │ 195.52ms │   281.34ms │ 1.44x slower │
│ QQuery 8     │  71.23ms │    93.99ms │ 1.32x slower │
│ QQuery 9     │ 139.60ms │   181.29ms │ 1.30x slower │
│ QQuery 10    │  97.05ms │   105.19ms │ 1.08x slower │
│ QQuery 11    │  48.91ms │    49.58ms │    no change │
│ QQuery 12    │  67.75ms │    79.33ms │ 1.17x slower │
│ QQuery 13    │ 178.68ms │   188.84ms │ 1.06x slower │
│ QQuery 14    │  11.94ms │    13.19ms │ 1.10x slower │
│ QQuery 15    │  22.51ms │    23.93ms │ 1.06x slower │
│ QQuery 16    │  50.32ms │    50.59ms │    no change │
│ QQuery 17    │ 664.73ms │   657.27ms │    no change │
│ QQuery 18    │ 516.12ms │   590.70ms │ 1.14x slower │
│ QQuery 19    │  57.57ms │    58.17ms │    no change │
│ QQuery 20    │ 203.75ms │   196.01ms │    no change │
│ QQuery 21    │ 259.05ms │   356.25ms │ 1.38x slower │
│ QQuery 22    │  28.06ms │    34.84ms │ 1.24x slower │
└──────────────┴──────────┴────────────┴──────────────┘

FYI, I had a branch where I got a bit better results with a similar approach (but still mixed): https://github.com/apache/arrow-datafusion/tree/bucketing

Hi @Dandandan, could you help run the latest code of this PR on your PC for benchmark again? Btw, on my PC, I'm testing on TPCH 1G.
And could you help describe the CPU cache sizes? Mine is

Sure @yahoNanJing

Apple M1 Pro:

you can run the benchmark in benchmarks/bench.sh. You can generate the data using ./bench.sh data and then run ./bench.sh run tpch_mem

Last version:
┏━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query        ┃     main ┃ issue-6910-2 ┃       Change ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1     │ 188.49ms │     186.08ms │    no change │
│ QQuery 2     │  59.09ms │      67.80ms │ 1.15x slower │
│ QQuery 3     │  50.46ms │      68.36ms │ 1.35x slower │
│ QQuery 4     │  37.68ms │      42.58ms │ 1.13x slower │
│ QQuery 5     │  93.91ms │     134.90ms │ 1.44x slower │
│ QQuery 6     │  10.32ms │      10.63ms │    no change │
│ QQuery 7     │ 195.52ms │     263.67ms │ 1.35x slower │
│ QQuery 8     │  71.23ms │      94.81ms │ 1.33x slower │
│ QQuery 9     │ 139.60ms │     180.05ms │ 1.29x slower │
│ QQuery 10    │  97.05ms │     103.32ms │ 1.06x slower │
│ QQuery 11    │  48.91ms │      50.65ms │    no change │
│ QQuery 12    │  67.75ms │      73.31ms │ 1.08x slower │
│ QQuery 13    │ 178.68ms │     191.45ms │ 1.07x slower │
│ QQuery 14    │  11.94ms │      13.21ms │ 1.11x slower │
│ QQuery 15    │  22.51ms │      24.32ms │ 1.08x slower │
│ QQuery 16    │  50.32ms │      50.80ms │    no change │
│ QQuery 17    │ 664.73ms │     669.85ms │    no change │
│ QQuery 18    │ 516.12ms │     587.09ms │ 1.14x slower │
│ QQuery 19    │  57.57ms │      57.99ms │    no change │
│ QQuery 20    │ 203.75ms │     197.04ms │    no change │
│ QQuery 21    │ 259.05ms │     331.78ms │ 1.28x slower │
│ QQuery 22    │  28.06ms │      34.91ms │ 1.24x slower │
└──────────────┴──────────┴──────────────┴──────────────┘

FYI @sunchao who I believe is working on something similar.

When using the bench tool on my PC with only one partition, the result is as follows:

The performance comparison between RawTable and (Vec and mask) may depend on the data size to be dealt with.

My explanation so far:
The building phase is a bit faster at the expense

Btw, I propose to set the partition to be 1 for benchmark purpose due to:

Then it will be helpful to focus on the code logic rather than the task scheduling or thread model
Then it will be more fair to compare with other engines with single thread

The building phase is a bit faster at the expense

Intuitively, I think the Vec is much simpler than the RawTable and the mask operation should be very efficient. And I don't know why the result seems not so good 😭

The building phase is a bit faster at the expense

Intuitively, I think the Vec is much simpler than the RawTable and the mask operation should be very efficient. And I don't know why the result seems not so good 😭

Sorry, hit enter too soon, I updated my comment with my full thoughts on this.

I think we might first have to see if we can further improve the collision checking (currently eq + filter + take) in order for this approach to become faster in general.

You are right. I will continue to investigate on it.

The main blocking issue for q17 is the join order and the decision making of choosing which part to be the build side.
I think we can close this issue.


Parser.js:80

Hi
Please can you help me with this problem?
/bot/node_modules/mysql/lib/protocol/Parser.js:80
        throw err; // Rethrow non-MySQL errors
        ^

TypeError: Cannot read property 'createOffer' of undefined
    at Query._callback (/var/www/html/bot/driver.js:659:65)
    at Query.Sequence.end (/var/www/html/bot/node_modules/mysql/lib/protocol/sequences/Sequence.js:88:24)
    at Query._handleFinalResultPacket (/var/www/html/bot/node_modules/mysql/lib/protocol/sequences/Query.js:139:8)
    at Query.EofPacket (/var/www/html/bot/node_modules/mysql/lib/protocol/sequences/Query.js:123:8)
    at Protocol._parsePacket (/var/www/html/bot/node_modules/mysql/lib/protocol/Protocol.js:279:23)
    at Parser.write (/var/www/html/bot/node_modules/mysql/lib/protocol/Parser.js:76:12)
    at Protocol.write (/var/www/html/bot/node_modules/mysql/lib/protocol/Protocol.js:39:16)
    at Socket.<anonymous> (/var/www/html/bot/node_modules/mysql/lib/Connection.js:103:28)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)

I dont know why is this error in
Call code: 659 line
                    var app = bots_list[my_inv[0]['bot_id']].createOffer(tradelink);
                    items.forEach(function(target) {
                      app.addMyItem({
                          appid: 730,
                          contextid: 2,
                          amount: 1,
                          assetid: target
                        });
                      });

Thank you so much

Hi @westrider that is a normal JavaScript error that has nothing to do with this module. It is saying that bots_list[my_inv[0]['bot_id']] in your code there is undefined and so you cannot call the method createOffer on it since it's not an object. Without the entirety of your code, it's hard to understand why that is happening.

@kai-koch I found what I've done wrong... in this function I'm using the wrong method render, actually is send. Thanks for the support. (And yes, I'm using MySQL at the port 3303 'cause I've seen in a post that this could be the cause of the error).
connection.query('select * from noticias', function(error, result){             res.render(result);         });

@kai-koch I found what I've done wrong... in this function I'm using the wrong method render, actually is send. Thanks for the support. (And yes, I'm using MySQL at the port 3303 'cause I've seen in a post that this could be the cause of the error).
connection.query('select * from noticias', function(error, result){ res.render(result); });

please can you you explan this,i am also tired with this

If it is the same error as @renatoOliveira25  has, The object res has no method render().
I do not know which framework you guys are using so I can only guess. Maybe you have coppies old example code on a new version of your framework and the API has changed and render() is replaced by send().
It is very hard to debug remotley, if you do not give any hint what you are using.
Maybe you just forget to define a template or the route does not exist in your app. There are to many possibilities and I have not enough input to help you.
Provide the versions of node, mysqljs and the version of the framework you are using. And code that reproduces the error would be nice, too.

I am having the same error please help.
/node_modules/mysql/lib/protocol/Parser.js:437
throw err; // Rethrow non-MySQL errors
^
TypeError: Cannot read property 'author' of undefined
at Query. (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/routes/show.js:58:36)
at Query. (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/Connection.js:525:10)
at Query._callback (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/Connection.js:491:16)
at Query.Sequence.end (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
at Query._handleFinalResultPacket (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/protocol/sequences/Query.js:139:8)
at Query.EofPacket (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/protocol/sequences/Query.js:123:8)
at Protocol._parsePacket (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket. (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/Connection.js:91:28)
at Socket. (/opt/lampp/htdocs/afroza/storage_system/nodeMysql-master/node_modules/mysql/lib/Connection.js:525:10)
at Socket.emit (events.js:209:13)
at addChunk (_stream_readable.js:305:12)
at readableAddChunk (_stream_readable.js:286:11)
at Socket.Readable.push (_stream_readable.js:220:10)

I am having the same error please help.
throw err; // Rethrow non-MySQL errors
^
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client


MIP99: Offer DAI to CeFi projects to enable real-world use cases

Creation of the MIP99 : https://forum.makerdao.com/t/mip99-offer-dai-to-cefi-projects-to-enable-real-world-use-cases/19466
By Fluid Finance (fluid.ch)

Thank you, I am closing this PR as it was separately added by https://github.com/makerdao/mips/commit/984ffdfdbbf4acff9249bccaae09a0aa7ae07c58


Lenovo ThinkPad X1 (12th Gen): init

Description of changes
Adds "Lenovo ThinkPad X1 (12th Gen)".
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

@mergify queue

@Mic92 What does "Mergify doesn't have permission to update" mean?

Ah, this branch was based on an very old version of `nixos-hardware', I guess that's the reason.

@mergify queue


feat: rewrite introductory sections

I'm working on rewording/clarifying existing intro text and writing new stuff. This is a work in progress.

Hi @lthoerner I'm incorporating your changes from this PR (cherry-picking) and making more edits as I overhaul the book. Would it be okay for you if we closed this PR?

Hi @lthoerner I'm incorporating your changes from this PR (cherry-picking) and making more edits as I overhaul the book. Would it be okay for you if we closed this PR?

Yes

I've included the changes from this PR. I'll update them based on some of these comments as I'm updating the rest of the documentation.


Click to focus directly into inputs in the state editor.

Currently when editing state variables, I am required to first double-click the field value, then click once more to focus the field. I would like to be able to click and immediately focus on fields in the state editor.

This was fixed by https://github.com/rangle/augury/commit/dfa410b6545f24e3cef87af775b4e9651ffad13f. The behaviour is much more like DevTools property editor now


Automatically configure Jenkins security

Automated as much of the process as possible that's described here: https://github.com/stelligent/dromedary#configure-jenkins-security (providing password as an environment variable or other input)

I’ve been longing for that feature all day! Hey, this really is continuous delivery!
Seriously: Does this mean I can publish the blog post?

On Nov 4, 2015, at 4:56 PM, Paul Duvall<EMAIL_ADDRESS>wrote:
Automated as much of the process as possible that's described here: https://github.com/stelligent/dromedary#configure-jenkins-security https://github.com/stelligent/dromedary#configure-jenkins-security (providing password as an environment variable or other input)
—
Reply to this email directly or view it on GitHub https://github.com/stelligent/dromedary/issues/13.

Rob Daly |<EMAIL_ADDRESS>| mobile:<PHONE_NUMBER> | @robertdaly

This is supposed to be baked into the latest tophat, although I haven't tested it yet


DataTable: The same visible arrows, when in a non-sorted state and using the gray #cccccc, do not meet the 3:1 color contrast ration requirement for non-text components.

•	WCAG 1.4.11 Non-Text Contrast
•	Recommendation: Darken the gray until 3:1 is reached.
For context (from PI Portal wcag eval):

CSS hacking on the PrimeReact DataTable?

@helloLilyX yea, so we have style overrides for their DataTables here: https://github.com/osuresearch/ui/blob/main/src/sass/overrides/_datatables.scss
You can just add a rule there to target those icons and update the color. Looks like their CSS selector is p-sortable-column-icon:


deadlock with debugger step command

Using the step command in the debugger will cause a deadlock when it tries to mutex lock the audio driver, because its already being held by the main emulator loop.
Also would you prefer PRs for bugs instead?

Aha, ofc! Nice catch :)
If you wouldn't mind a PR for this would be cool if possible. I don't mind issues or PR's, whatever you'd prefer!
To fix this, passing the audio_driver reference to run_debugger_commands is probably best, just like video_driver currently.

Yeah thats what I did in my local copy.


input image

Where do I input My images ?

Is kal.png in your current directory?

I did not know where I put kal.pmg im my current directory .

make sure to run primitive from the folder where the image is in. If not then provide the full path to the image. For example:
primitive -i /tmp/somepicfolder/kal.png -o ...


Notify ECR pushes in Slack

(From retros)
This was done and immediately turned off because they were noisy.
Improvement suggestion: rather than a message for every Travis-initiated push, collect them all at the end.

One thing the increased visibility is doing is exposing bugs in our Travis logic. For example, this should not be a thing:

travis_ci has published a new dynamo_to_sns ZIP to S3.
Git branch: HEAD (HEAD)
Commit message: 'Merge pull request #1886 from wellcometrust/move-cloudfront-bucket'

Diff in https://github.com/wellcometrust/platform/pull/1886/files

I’m going to close this now – I think they’ve got a bit more under control, especially now we don’t print the branch name and we’re a bit more careful about what we push, and when.


Netlify relayer

PR-Codex overview
Detailed summary

Updated @graphprotocol/graph-cli dependency to version 0.60.0 in veascan-subgraph-inbox/package.json and veascan-subgraph-outbox/package.json.
Added new GraphQL queries

The following files were skipped due to too many changes: relayer-cli/functions/utils/relay.ts, relayer-cli/functions/utils/ethers.ts, relayer-cli/functions/utils/subgraph.ts, validator-cli/src/utils/devnet.ts, relayer-cli/generated/vea-inbox.ts, yarn.lock

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Superseded by standalone bots


Create tests with scan errors

The ones I could find now:

[x] Parsing error.
[ ] pass a pointer to a not struct to Config.Scan().
[ ] pass a value, not a pointer to Config.Scan().
[ ] Have extra sections in the config, not in the dst variable in Config.Scan().
[ ] Have extra keys in the config, not in the dst variable in Config.Scan().
[ ] Int/uint/float overflow.
[ ] Int/uint/float convertion error.
[ ] time.Duration/time.Time convertion error.

[ ] Int/uint/float underflow.


Remove null last ordering as default, add empty null order

fix for https://github.com/AugustNagro/magnum/issues/60

LGTM.
This change will require a major version release (2.0.0) since it changes behavior of existing programs. However, I think that's OK for our next release. I'd like to refactor Spec anyway to remove the build method; constructing the SQL should be the responsibility of the DbType class, since it knows which database syntax to use.
For example, we CAN support NullOrder.Last for MySql, but not as currently implemented in build:
https://stackoverflow.com/a/4195311


datumEither.chainW support?

I found myself in need of chainW with datumEither.DatumEither<E1, Organization> when I was trying to find a specific user and trying to return NotFoundError, ie. datumEither.DatumEither<E1 | NotFound, User>. Could it be supported?
I was trying to see how chain was implemented. It seems it is using the deprecated pipeable module, so some refactoring is probably needed.

I don't really like the naming of chainW (or sequenceT, monadM, etc). In a different library I solved this by creating an identity function called widen: const widen: <F>() => <E, A>(ta: DatumEither<E, A>) => DatumEither<E | F, A> = constant(identity). It's generally used like so:
const result = pipe(
  replete<number>(1),
  chain(n => pipe(
    replete<string>(n + 1),
    widen<string>(),
  ))
); // DatumEither<number | string, number>

It's clear that I need to do some spring cleaning in datum. I'll make a project and add this to the list.
As for pipeable deprecation and refactoring, almost all of the typeclass functions in datum are implemented as curried functions. So refactoring is likely just renaming and exporting these functions and removing the mega-adt object.

In a different library I solved this by creating an identity function called widen: const widen: <F>() => <E, A>(ta: DatumEither<E, A>) => DatumEither<E | F, A> = constant(identity)

This is a great idea, thanks! I don't see any need for chainW anymore.


[mbed-os-5.9-oob] Failed link

A link error happens when running following 2 building commands.
Please refer the attached file 6lowpan_Atmel_RF.json and
Building Command:
C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router>mbed compile -m K64F -t ARM -c --app-config configs\6lowpan_Atmel_RF.json -vv
and
C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router>mbed compile -m K64F -t ARM -c --app-config configs\Thread_Atmel_RF.json -vv
Error message:
Link: nanostack-border-router
Link: C:\Keil_v5\ARM\ARMCC\bin\armlink --via .\BUILD\K64F\ARM\.link_files.txt
[DEBUG] Return: 1
[DEBUG] Errors: "C:\Users\botren01\AppData\Local\Temp\p528c-3", line 124 (column 3): Warning: L6312W: Empty Execution region description for region RW_IRAM1
[DEBUG] Errors: Error: L6218E: Undefined symbol OnboardNetworkStack::get_default_instance() (referred from BUILD/K64F/ARM/mbed-os/features/netsocket/EthernetInterface.o).
[DEBUG] Errors: Finished: 0 information, 1 warning and 1 error messages.
Traceback (most recent call last):
  File "C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router\mbed-os\tools\make.py", line 290, in <module>
    ignore=options.ignore)
  File "C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router\mbed-os\tools\build_api.py", line 599, in build_project
    res, _ = toolchain.link_program(resources, build_path, name)
  File "C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router\mbed-os\tools\toolchains\__init__.py", line 1126, in link_program
    self.link(elf, r.objects, r.libraries, r.lib_dirs, r.linker_script)
  File "C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router\mbed-os\tools\hooks.py", line 34, in wrapper
    res = function(t_self, *args, **kwargs)
  File "C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router\mbed-os\tools\toolchains\arm.py", line 244, in link
    self.default_cmd(cmd)
  File "C:\ioT\workspace\oob-mbed-5.x\nanostack-border-router\mbed-os\tools\toolchains\__init__.py", line 1155, in default_cmd
    raise ToolException(_stderr)
ToolException: "C:\Users\botren01\AppData\Local\Temp\p528c-3", line 124 (column 3): Warning: L6312W: Empty Execution region description for region RW_IRAM1
Error: L6218E: Undefined symbol OnboardNetworkStack::get_default_instance() (referred from BUILD/K64F/ARM/mbed-os/features/netsocket/EthernetInterface.o).
Finished: 0 information, 1 warning and 1 error messages.

configuration file:
6lowpan_Atmel_RF.zip
Thread_Atmel_RF.zip

ARM Internal Ref: IOTTHD-2588

EMAC changes from master branch merged to mbed-os-5.9.0-oob branch to solve this problem.
As a side-effect Thread Border Router can not be build with IAR toolchain: https://github.com/ARMmbed/nanostack-border-router/issues/109

@artokin Please study whether mbed-mesh-api.use-malloc-for-heap can be used to workaround IAR issue.
IAR uses statically defined heap size, which is mostly unused in this application.
https://os-doc-builder.test.mbed.com/docs/development/reference/configuration-mesh.html

Also, close this, if already fixed.

This issue is fixed in mbed-os-5.9.0-oob branch by commit https://github.com/ARMmbed/nanostack-border-router/commit/ff8d36e6ae1dcd618baaf6dfcdadb3c37e9bbc68 . Closing issue.


Documentation of radio button related keywords doesn't explain how the buttons are located

Originally submitted to Google Code by @pekkaklarck on 6 Oct 2010

The documentation of Select Radio Button and other radio button related keywords should explain what attributes are used when location the radio button group is located. Other keywords have have something like "Key attributes for checkboxes are id and name. See introduction for details about locating elements."
The argument group_name should probably also be changed to locator to match other keywords.
See this mail thread for confusion caused by the current documentation:
http://groups.google.com/group/robotframework-users/browse_thread/thread/96014f91ec7bd521

Originally submitted to Google Code by spielman... on 1 Nov 2010

I think group_name is a not that bad as the argument name, because those keywords locate the radio button by two parameters - one being used in the xpath as the (group) name, the other being used as the name or the id attribute of the radio button being targeted. The argument 'group_name' can certainly be changed to 'locator' but I think that the locator consists of both the group name and the value/id argument.
Updating the docs should be easily done, I'll submit a proposal tonight.

Originally submitted to Google Code by spielman... on 1 Nov 2010

Here's my documentation proposal:
"""Sets selection of radio button group identified by group_name to value.
The radio button to be selected is located by two arguments:

group_name is used as the name of the radio input
value is used for the value attribute or for the id attribute

The XPath used to locate the correct radio button then looks like this:
//input[@type='radio' and @name='group_name' and (@value='value' or @id='value')]
So, if you have:
<input type="radio" name="size" value="XL">XL</input>
you can select this radio button like this:
Example
| Select Radio Button | size | XL | # xpath: //input[@type='radio' and @name='size' and (@value='XL' or @id='XL')] |
And if you have:
<input type="radio" name="size" value="XL" id="sizeXL">XL</input>
you can select this radio button like this:
Example
| Select Radio Button | size | sizeXL | # xpath: //input[@type='radio' and @name='size' and (@value='sizeXL' or @id='sizeXL')] |
See introduction for details about wait argument.
"""
I would then cross-link all other radio button keywords to this one, in order to have only one place for the documentation.
Is this documentation okay? Is it missing something? Is it too detailed?

Originally submitted to Google Code by @yanne on 12 Nov 2010

I don't know whether this is necessary:
The XPath used to locate the correct radio button then looks like this:
//input[@type='radio' and @name='group_name' and (@value='value' or @id='value')]
Otherwise it looks good.
Robert, can you commit these changes, and change status of this issue to Review afterwards. I'll go through them once more then and close this issue.

Originally submitted to Google Code by spielman... on 12 Nov 2010

This issue was updated by revision 7fb46495a1.
I also think that the XPath example is not really necessary, but I left the xpath in there because I refer to it in the two examples. If you think it's better to remove the XPath explanation from the documentation, I'd be okay with that decision.

Originally submitted to Google Code by @yanne on 15 Nov 2010

Made some formatting changes in revision e0cc80919f62
I think this is now done.


feat: make config-manager works with browser

rewrite in TypeScript lang
make it autocomplete friendly
works with browser

Usage can be found in the example


ROOT_URL is ignored

When running a meteor app from within a subdirectory and specifying ROOT_URL (ie ROOT_URL=http://domain.com/app1), /_timesync is being used instead of /app1/_timesync. I can see in the source that it is hardcoded to /_timesync. It would be nice if ROOT_URL can be taken into account for this.

Hi @peterkuiper, is this the same as #40 - that is, resolvable using ROOT_URL_PATH_PREFIX?

Yes, it is. Thanks for merging!


better group slice support for operators

What changes are proposed in this pull request?

Add group slice in operator and python panel context and add associated events
Fix group slice operator to only change slice when needed

How is this patch tested? If it is not, please explain why.
Using an example operator and panel
Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[ ] No. You can skip the rest of this section.
[x] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[x] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[ ] Other

Summary by CodeRabbit

New Features

Introduced on_change_group_slice parameter to enhance group slice handling in the Custom Panel.
Added groupSlice to various contexts, improving the management of group slice data.
New event handler for on_change_group_slice to respond to group slice changes during startup.

Documentation

Updated documentation to reflect the new on_change_group_slice parameter in relevant functions.

Bug Fixes

Improved logic for setting group slice to ensure updates occur only when necessary.

Are you open to rebasing on release/v1.0.0 so we can squash those todos in the builtin operators? 😄

Yah, totally! I am happy to rebase this if there are no objections from the release POV. This should be a clean rebase. I think it might be as simple as updating the base branch of the PR. 🙂


Retry functionality

This is such a must have for React native, probably should be just part of core.
However I’ve observed that sometimes images don’t work in my app just to then be fine after restarting it. It’s super hard to debug, because I can’t reproduce it. Seems to be happening quite randomly.
Maybe someone else has already encountered this or some idea how to try refetching an Image if it fails. I’ll keep trying ideas but debugging cycles are weeks because I can just try something and then see wether the issue still appears in the following weeks as I use my own app.

I had tried before to implement retrying by passing a number to fast image that I store in state of a Wrapper and then increment on error. This doesn’t have seemed to fix the error. Maybe it doesn’t trigger a rerender, maybe the native underlying don’t refetch on rerender. A little hard to tell without in depth knowledge about the inner workings. Ideally the library could retry fetching internally.

I think there's a ways to go before it could be merged into core (https://github.com/DylanVann/react-native-fast-image/issues/12). I do think that would be nice though. Glad you've found it useful.
Yeah this is tricky, if there's no way to reproduce this issue. There is an issue open for better error handling. Maybe the least we could do is stringify whatever SDWebImage or Glide fails with as one field of the onError callback. You could log that and it might help.

yeah better error reporting would certainly help. Do you know wether rerendering a component will actually refetch an image, I haven't read the sourcecode yet, but one think that could be part of the issue is that once an image has failed rerendering will just resolve the failure from cache until the app is restarted, at least I don't have the feeling that rerendering actually retries fetching images.

It will retry if it fails and calls setSource is run again. It uses the SDWebImageRetryFailed option for SDWebImage, assuming we're talking about iOS, are we?
Getting setSource to run again would be slightly tricky. If the component is unmounted and mounted again that would do it.

I’ve observed the behavior on both iOS and android. I guess I could force unmounte the image, by just rendering null in between retries.
Sent with GitHawk

Does the image exist on the server when you're trying to display it? Is it a timing issue?

yeah it seems completely random, sometimes images just fail but upon restarting the app they are there and they could fail again later. Could have something todo with our server, but nothing obvious, it's really hard to say.

I've never seen that. I'll try to add that error logging tonight so you can see what's going on.

thanks, and I asked my colleague to look into wether it could be a server side issue.

@DylanVann how is it going with that error logging, did you get to it? Couldn’t find any info yet and wanted to set this up.
Sent with GitHawk

same issue here. for us, it seems happened when the network is bad,  after i changed the network（let me say wifi -> 4g）， the failed image wont reload.

Android seem to reload images that fail to load a first time.
Concerning iOS, the image never reloads if it fail unless the component is refresh

Currently I'm trying this:
const [errorKey, setErrorKey] = useState(0)

const onError =  () => setErrorKey(key => key + 1)

return <FastImage source={{ uri }} onLoadError={onError} key={errorKey + uri} />

That triggers a re-render whenever onLoadError is called. @DylanVann should this work on iOS to retry?

@nandorojo Yes that will work. You could potentially build a wrapper component that allows for clicking to retry manually using something like that and the onLoadError callback/

Good idea. However, if someone taps it, and it has already loaded properly, do you have any thoughts for not re-rendering in that case? Or does it not matter, because it'll just check from the cache?

Here's a more elaborate retry functionality I made. @DylanVann lmk how this looks.
const REFETCH_FAILED_IMAGE_EVERY_MS = 3_000

const loadedImages = useRef<Record<string, boolean>>({})

const [imageErrorKey, setImageErrorKey] = useState(0)

const onReloadImage = useCallback(() => {
  setImageErrorKey((key) => key + 1)
}, [])
const onImageError = useCallback(() => {
  onReloadImage()
}, [onReloadImage])

const onPressImage = useCallback(() => {
  const hasLoaded = imageUri && loadedImages.current[imageUri]
  if (hasLoaded) {
    return
  }

  onReloadImage()
}, [imageUri, onReloadImage])

const refetchImageInterval = useRef(0)

const onImageLoadStart = useCallback(() => {
  if (imageUri) {
    loadedImages.current[imageUri] = false
    clearInterval(refetchImageInterval.current)
    refetchImageInterval.current = setInterval(() => {
      if (!loadedImages.current[imageUri]) {
        onReloadImage()
      }
    }, REFETCH_FAILED_IMAGE_EVERY_MS)
  }
}, [imageUri, onReloadImage])

const onImageLoadEnd = useCallback(() => {
  if (imageUri) {
    clearInterval(refetchImageInterval.current)
    loadedImages.current[imageUri] = true
  }
}, [imageUri])

return (
  <Pressable
    onPress={onPressImage}
    style={StyleSheet.absoluteFillObject}
    sx={{
      justifyContent: 'center',
      alignItems: 'center',
      bg: 'background'
    }}
  >
    <Text sx={{ textAlign: 'center', px: 3, fontSize: 4 }}>Loading image...</Text>
    <Spacer height={3} />
    <FastImage
      style={StyleSheet.absoluteFillObject}
      source={{
        uri: imageUri,
        priority: 'high'
      }}
      onError={onImageError}
      key={`image-${imageUri}-${imageErrorKey}`}
      onLoadStart={onLoadStatrt}
      onLoadEnd={onLoadEnd}
    />
  </Pressable>
)

One weird quirk: I noticed onLoadStart always fires twice. Not sure if this is a big deal. I'm clearing any open interval in onImageLoadStart in case.


List type page showing as Card from New/Advanced options

https://github.com/Microsoft/AL/issues/39
Now the dropdown is working.

When I click on New/Advanced from dropdown, the page is opened like card page?

properties of the page are

Looks like a bug to me.  This is the table extension code. Isn't it? http://mohana-dynamicsnav.blogspot.hu/2016/12/developing-extensions-using-new-visual_22.html
I have created a tableextension with the simplest table relation and I got the expected list. It could also be something that got fixed late and has not made it the January update.
We will investigate it and come back with the result.

You probale forgot a repeater. Without the repeater the List page looks like a messed up Card.
page 70008001 ReasonCodeList
{
    PageType = List;
    SourceTable = MyReasonCode;

    layout
    {
        area(content)
        {
            group(GroupName)
            {
                repeater(Rep) // Important
                {
                    field(Code;Code) {}
                    field(Desc;Description) {}
                }
            }
        }
    }
}

I thought of testing with repeater today but dot issue 74.
Is it possible to get compilation issue for these kind of missing important things?
We should also be able to create list/card type snippets like wizards in previous development to create pages?

Or a tpagelist code snippet ;-)

We are looking into more compiler validating of "invalid" pages and other types of developer "guidance" like snippets.

New tpage snippet has been added that generates a template for a List page.

Next: tpagewizard ;-)
(I'm working on something like that, by the way ..)


Deterministic tar file

Hi, I'm trying to make it so that the tar file is the same every time given the same Dictionary<string, byte[]> files.
Here's my current code, but I'm getting a different output each time.
using MemoryStream ms = new();
var archive = TarArchive.Create();
var x = archive.PauseEntryRebuilding();
foreach (var item in files.OrderBy((x) => x.Key.GetHashCode())) //any ordering will do as long as it's not different
{
    MemoryStream file_ms = new(item.Value);
    archive.AddEntry(item.Key, file_ms, item.Value.LongLength, DateTime.UnixEpoch);
}
x.Dispose();
archive.SaveTo(ms, new(SharpCompress.Common.CompressionType.None));
File.WriteAllBytes("/path/to/test.tar", ms.ToArray());

I cannot work out how to make sure it's the same each time as when I open the tar file in something like notepad++, a different file is at the top every time.
(I know that I should be disposing those streams after they're not in use, but I wanted to get it to work first)
Could you please help me, thanks!

My solution is here: https://github.com/hamarb123/StoreMetadata/blob/3a14fb517f651f76922333948d7d69a9d5aa3d7e/Automation/Compressor/Program.cs. I think the main issue was my sorting code. Note: that code is copyright, but I'm happy for you to copy the relevant parts to solve this.


Cannot load the IOC in Redline

created an IOC in open ioc 1.1 but redline don't recognize the ioc its either not an IOC file or it is malformed  error and This IOC contains no search term...
the IOC details is complete author  title etc...

I am having this same problem. Is there a fix yet?

v1.1 is not compatible with Redline, you have to use v1.0. At least for now, cheers.


Automatic Speech Recognition using Segments requires text input for noise label

Describe the bug
When using the Automatic Speech Recognition using Segments template, a text input is required for the noise label (and other custom labels which are added)
To Reproduce

Create a project using the Automatic Speech Recognition using Segments template.
Annotate a segment using the noise label
Submit the annotations

Expected behavior
As noise doesn't contain any speech, it would be nice not having to enter an empty character (e.g. space) into the TextArea interrupting the work flow.
Screenshots
Environment (please complete the following information):

OS: Ubuntu 22.04 + docker
Label Studio Version 1.5rc5

Additional context

@FredHaa
You can try to remove required="true" here:
  <TextArea name="transcription" toName="audio"
            rows="2" editable="true"
            perRegion="true" required="true" />

That is of course a possibility, but then the annotators are no longer forced to input text for the text classes.

You can try to use different TextAreas for different labels, looks like it could be done with visibleWhen. Hope @hlomzik will help with the config.

Thank you, that hint got me a bit closer to my desirable workflow:

Hi! If you want it to be required it should have required for sure! But TextArea itself should also have visibility fields to make it required only for selected list of labels. So basically visibility settings should be duplicated in View and control tag. And yes, you can put a list in whenLabelValue!
About second concern — that's how it works, if you click on label while you have region selected, you change this region's label, that's intentional. One of the possible flow — you can create new region with current label and change it after creation just by selecting the one you need. It also can be helpful to enable "Select regions after creating" setting.
<View>
  <Labels name="labels" toName="audio">
    <Label value="Background" background="#99c1f1"/>
    <Label value="Music" background="#8ff0a4"/>
    <Label value="Silence" background="#f9f06b"/>
    <Label value="Danish Speech" background="#f66151"/>
    <Label value="Other Speech" background="#f66151"/>
  </Labels>

  <AudioPlus name="audio" value="$audio"/>

  <View visibleWhen="region-selected" whenLabelValue="Danish Speech,Other Speech" >
    <TextArea
      name="transcription" toName="audio" rows="2"
      required="true" editable="true" perRegion="true"
      visibleWhen="region-selected" whenLabelValue="Danish Speech,Other Speech"
    />
  </View>
</View>


RC2 Source code

RC2 documentation for "Managing Application state", provides link for sample code, however when comes to GitHub, it is pointed to RC1 documentation.
Please can you either update link or update source code compatible with RC2.

Duplicate of #1345


Mark 5.3.0-5.3.2 as broken, add more details and advises to the 5.3.3 fix release notes entry

Reflect changes made in 5.3 by #14348.

retest this please

@mergifyio rebase


Status bar change to dark

in my app it's based on a black background so I use status bar style = .light when I implement the FAPanels it's always black.
I am using the latest FAPanels Pod
I tried setting
override var preferredStatusBarStyle: UIStatusBarStyle {
        return .lightContent
    }

and
setNeedsStatusBarAppearanceUpdate()
and this issue persists
How to fix this issue?

    open override var preferredStatusBarStyle: UIStatusBarStyle {

        switch state {
        case .center:
            return centerPanelVC!.preferredStatusBarStyle
        case .left:
            return leftPanelVC!.preferredStatusBarStyle
        case .right:
            return rightPanelVC!.preferredStatusBarStyle
        }
    }

@JhonnyTawk
FAPanels uses the preferredStatusBarStyle  of the visible controller. Please make sure debugger is going into this function. I hope it will work. If not then let me know I'll try to sort it out for you.


Postgresql

Codecov Report
Base: 76.51% // Head: 75.54% // Decreases project coverage by -0.97% :warning:

Coverage data is based on head (e6ea863) compared to base (226a0ba).
Patch coverage: 68.70% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   76.51%   75.54%   -0.97%
==========================================
  Files          14       15       +1
  Lines         775      867      +92
==========================================
+ Hits          593      655      +62
- Misses        126      148      +22
- Partials       56       64       +8

Impacted Files
Coverage Δ

driver/driver.go
100.00% <ø> (ø)

config/job.go
90.62% <16.66%> (-6.05%)
:arrow_down:

dumper/execrunner.go
62.50% <25.00%> (-17.50%)
:arrow_down:

fileutil/filenutil.go
83.33% <61.11%> (ø)

driver/postgresql.go
76.19% <76.19%> (ø)

driver/mysql.go
67.39% <77.27%> (+3.53%)
:arrow_up:

dumper/dumper.go
74.62% <100.00%> (+2.32%)
:arrow_up:

storage/dropbox/dropbox.go
75.97% <100.00%> (ø)

storage/gdrive/gdrive.go
83.33% <100.00%> (ø)

storage/local/local.go
47.05% <100.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Data dictionary limitations

To "Data category", consider adding:

"Community data" for things like parks and the built environment, education, social cohesion, neighborhood physical disorder, community resilience, cultural beliefs and values, GINI index, isolation indices, homelessness, neighborhood social cohesion or disorder, neighborhood assets (NowPow)

"Health data" for behavioral factors/psychological health and well-being, birth rates, death rates, health literacy, health insurance,

To "Geographic unit": Add "Street address"
To data dictionary, consider adding:

"Link to website source" after "Collecting organization"

"Data last updated as of" before/after "When accessed"

"File type": "delimited text", "geojson", "geotiff", "other gis type", "MS Excel", "shapefile as zip", "XML",  "zip", "other"

Oh, and "other" options for anything that doesn't conform to set choices to avoid miscategorizations with no indication for cleaning.

I would also suggest including a field to capture licensing tied to the data set (e.g. CC BY-NC)

Added fields except for file type (assuming we can grab that sytematically). - st


chore(.github): bump artifact actions to v4

Bumps the artifact actions to v4 per https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Requires https://github.com/fermyon/finicky-whiskers/pull/94


[Feature] Grading System Server Side

Checklist

[x] Server: I followed the coding and design guidelines.
[x] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[x] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.

Motivation and Context

Artemis is currently lacking a more generic grading system. This PR contains the initial database implementation for it, which would allow for separate grading scales on different courses and/or exams.
Description

The grading system consists of a new GradingScale class which contains a set of GradeSteps - each having its own lower and upper bound for the point percentages to which it applies and a string to represent the name of the grade. Each course would contain an instance of GradingScale which would also be the default for that course. The exams of that course could choose to use the same grading system as the course or have a separate one.
Steps for Testing

Review code

Test Coverage

GradeStepResource.java: 100%
GradingScaleService.java: 96%
GradingScaleResource: 100%
Screenshots

There still seem to be 4 tests that fail for some reason in Bamboo but run perfectly fine locally, after I've rerun them multiple times. I'm open to suggestions @ls1intum/artemis

There still seem to be 4 tests that fail for some reason in Bamboo but run perfectly fine locally, after I've rerun them multiple times. I'm open to suggestions @ls1intum/artemis

@stefanwaldhauser you know something about adding new entities to the database. Maybe this is related and the liquibase-master is wrong?

Here's the bamboo test report page with the 4 failing test cases in the GradingScaleIntegrationTest class. 3 of them return 400 (Bad Request) when they shouldn't and the last one is related to a deserialization loop. All of them run without a problem locally


hyundai: increase steering angle limit for custom eps fw

requires https://github.com/commaai/cereal/pull/110

Merged cereal PR and updated master. If you make these PRs on internal branches I could have done the rebase for you.

Merged cereal PR and updated master. If you make these PRs on internal branches I could have done the rebase for you.

rebase complete

rebase complete


Quicksilver β61 eats a lot of RAM

Hi,
upon starting memory usage of QS gets to 2.2GB on my machine (Real Mem in Activity monitor). Then it drops to around 480MB, which is still a lot. I don't have a lot of items in my Catalog.
My machine is 2011 MBP, with 4GB RAM, running 10.6.8 64-bit. QS is not 64-bit.
I don't see any unusual messages in Console, except this one:
30.10.11 13:27:16 	Quicksilver[637]	Error	Quicksilver(637,0xa085e540) malloc: *** mmap(size=738197504) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

This one is quite frequent, but I don't know if it is related:
30.10.11 18:09:43 	[0x0-0x10010].com.blacktree.Quicksilver[250]	Notice	Sun Oct 30 18:09:43 dromi.home Quicksilver[250] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window

I'm willing to investigate this issue further, if you give me some pointers :)

Also, if I restart QS it hangs my machine, because I don't have any free memory (I'm not using swap).
I cleaned the caches directory, but the problem still persists.

Do you use the shelf plug-in? Could there be something large there? Or maybe something in the clipboard history?

Yes, that was the problem! Thanks.
I'm using the shelf & clipboard plugins. There was only one TIFF in the clipboard, which I don't know how I put there. How to erase the clipboard history? There is no Clear action for it nor for Shelf.

How to erase the clipboard history? There is no Clear action for it nor for Shelf.

For the clipboard history, there is a little clear button at the bottom, if you call up the window using ⌘L. But of course that clears the whole history, so you might not want to use it. Also, there is no such window for the shelf.
Instead, you can just select an item from either window (using the mouse or the arrow keys) and use the delete key to remove it.

Thanks. For some weird reason, I didn't see this "Clear" button. I got so used to Actions, that I completely missed buttons :)
On the other hand, my Clipboard has only an item at position 0, called "TIFF Image". And no matter how many times I press "Clear", nothing happens.

You're right, it doesn't clear the item in position 0. Because that's the thing currently on the normal clipboard. The thing that appears when you press ⌘-v. To remove that would be kind of strange, because it would interfere with the normal ⌘-c, ⌘-v workflow.
To remove the thing at position 0, just copy something else. Now the TIFF image should be at position 1 and should be removed when you clear the clipboard history.


[functional tests] Different logs in CI vs Local run

🐛 Bug
Consider a functional test containing a transaction that aborts with code 1. In the CI, this will be logged as follows:
status: Keep(VMStatus { major_status: ABORTED, sub_status: Some(1), message: None }) })
whereas in local runs, there is a comma after the exit code, i.e. Some(1, ).
If the test checks for abort codes with commas, e.g.
// check: 1,
then it passes locally but fails in the CI.
Expected Behavior
A test should have the exact same behavior in both cases.
@vgao1996

Thanks for catching this! I'll investigate it.


Enhance logging transports: Loki + Promtail -> Grafana

Now #42 has been done, we should expand on this and add a loki transport, or introduce promtail and loki into the metrics stack, as loki can be fed into Grafana now.
An example we could use for promtail would be
scrape_configs:
  - job_name: containers
    static_configs:
      - targets:
          - localhost
        labels:
          job: containerlogs
          __path__: /var/lib/docker/containers/*/*log
    relabel_configs:
      - source_labels: ['__meta_docker_container_label_com_docker_compose_service']
        regex: 'knightcrawler_consumer.*|knightcrawler_addon.*|knightcrawler_producer.*'
        action: keep

once #51 is merged in

Fixed in https://github.com/Gabisonfire/torrentio-scraper-sh/pull/58


Row class functionality

Adds the capability to apply custom CSS on a per-row basis if required. The table is modified to add a TableRowClass parameter which is an expression on the TableItem type, returning a string.
Table component amended to apply the class to a row using the RowClass() method.
Amended the example Index.razor pages to show a row as red (table-danger) if the price property is over 800.

Thank you


Text selection controls should fade in/out

The text selection handles and copy/paste toolbar need a fade animation.

This seems to be done.


Remove deprecated LinuxMain

Since Swift 5.4, there's automatic test discovery, removing the need for LinuxMain.swift .

Codecov Report

Merging #138 (c6e946a) into main (4e0ccf7) will increase coverage by 2.56%.
The diff coverage is 97.91%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #138      +/-   ##
==========================================
+ Coverage   77.82%   80.39%   +2.56%
==========================================
  Files          22       21       -1
  Lines        2395     2260     -135
==========================================
- Hits         1864     1817      -47
+ Misses        531      443      -88

Impacted Files
Coverage Δ

...MQTTNIO/AsyncAwaitSupport/MQTTClientV5+async.swift
58.53% <ø> (-4.88%)
:arrow_down:

Sources/MQTTNIO/MQTTClientV5.swift
78.65% <ø> (ø)

Sources/MQTTNIO/MQTTConfiguration.swift
50.00% <ø> (ø)

Sources/MQTTNIO/MQTTCoreTypes.swift
100.00% <ø> (ø)

Sources/MQTTNIO/MQTTCoreTypesV5.swift
78.94% <ø> (ø)

Sources/MQTTNIO/MQTTError.swift
42.85% <ø> (ø)

Sources/MQTTNIO/MQTTPacket.swift
84.97% <ø> (ø)

Sources/MQTTNIO/MQTTProperties.swift
80.67% <ø> (ø)

Sources/MQTTNIO/MQTTClient.swift
84.34% <95.65%> (+1.60%)
:arrow_up:

...s/MQTTNIO/AsyncAwaitSupport/MQTTClient+async.swift
88.46% <100.00%> (-1.93%)
:arrow_down:

... and 3 more

... and 4 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thank you


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.20.10 -> v1.23.4

terraform-ibm-modules/common-pipeline-assets
action
minor
v1.17.9 -> v1.18.1

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.23.4
Compare Source
Bug Fixes

add unauthenticated clone if authentication fails (#653) (f575f65)

v1.23.3
Compare Source
Bug Fixes

deps: update github.com/ibm-cloud/bluemix-go digest to dfb1429 (#671) (fcd05c4)

v1.23.2
Compare Source
Bug Fixes

deps: update packages to latest (#669) (6eab475)

v1.23.1
Compare Source
Bug Fixes

deps: update gomod (#654) (59b80d3)

v1.23.0
Compare Source
Features

added json comparison functions (#593) (1781c81)

v1.22.0
Compare Source
Features

cbr cleanup (#658) (7721cbe)

v1.21.10
Compare Source
Bug Fixes

deps: update module github.com/ibm/platform-services-go-sdk to v0.50.1 (#651) (df3e66d)

v1.21.9
Compare Source
Bug Fixes

deps: update gomod (#650) (1835de4)

v1.21.8
Compare Source
Bug Fixes

fixes bug in workspace path when using upgrade path and implicit destroys.* Fixed a bug where the temp directory could be created in the wrong place (did not affect the functionality of the code).* Removed unused internal variable. (#648) (71af06a)

v1.21.7
Compare Source
Bug Fixes

clear the plan file path only if SkipTestSetup is enabled (#647) (169b0d0)

v1.21.6
Compare Source
Bug Fixes

deps: update gomod (#646) (19f21bf)

v1.21.5
Compare Source
Bug Fixes

fix script permissions bug (#644) (ec8a424)

v1.21.4
Compare Source
Bug Fixes

improve log message during teardown (#643) (a6033a3)

v1.21.3
Compare Source
Bug Fixes

Only delete directory if it exists during teardown (#642) (f23a51b)

v1.21.2
Compare Source
Bug Fixes

Add Outputs to test options (#640) (bfaeb70)

v1.21.1
Compare Source
Bug Fixes

deps: update gomod (#639) (97a2c5c)

v1.21.0
Features / Fixes

getRemoteURL updated to getRemoteOriginURL for more descriptive name
getSymbolicRef replaced by getCurrentBranch which tries multiple approaches incase one fails on the runtime environment
CleanTerraformDir added the removes terraform metafiles like state, cache and lock files form the target directory
DisableTempWorkingDir added to the test options useful for if you need to keep files around after the test when teardown is disabled
Updated upgrade test to find the upstream URL and origin branch this is to allow a fork to work and have the base branch and repo auto-detected.
Option added for BaseTerraformRepo and BaseTerraformBranch to manually set the base repo and branch for an upgrade test if users are not using a default configuration. These will be overridden by environment variables BASE_TERRAFORM_REPO and BASE_TERRAFORM_BRANCH if set.
Option added DisableTempWorkingDir to disable temporary working directory. Workspace collisions when running in parallel could occur if this is set to true.

terraform-ibm-modules/common-pipeline-assets (terraform-ibm-modules/common-pipeline-assets)
v1.18.1
Compare Source
Bug Fixes

install dependencies before running pre-commit stage (#566) (97afd7d)

v1.18.0
Compare Source
Features

added the ability pass tfswitchDir (#565) (d492025)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline


Update email_validator gem and relax validations

The gem we use for email format validation recently changed its approach to
validation and radically relaxed the gem validation.
This blog post was part of the rationale: https://medium.com/hackernoon/the-100-correct-way-to-validate-email-addresses-7c4818f24643
This change updates the version of the gem we are using, and as a side effect,
relaxes the requirements for valid email addresses by default in clearance user
models.

FWIW, I could be talked into either of "this relaxed approach sounds good, lets go with it" or "lets stand by what we were doing before".
If the former, this PR probably makes sense.
If the latter, we might want to switch to a gem who is taking a more strict approach, this one looks promising: https://github.com/afair/email_address


Not clear environment expectations

Some parts of the code use silly protections that can be useful only in old-standard environments:
if (typeof Symbol !=== "undefined") && input[Symbol.iterator]

while others may cause fatal SyntaxError in these environments:
(...args) => check[methodName](...args)

So, should the check be based on old or new standards?

Expectations are: the more up-to-date environment is, the better.


New UDP Plugin and Bug Fixes

Created a UDP plugin based on the TCP plugin and updated the sample configuration with the plugin.
Some bug fixes are included:

Issue #1 Truncated TCP Payloads
Bug fix for corrupted file notification not being logged due to an argument error
Bug fix for relative or absolute file paths supplied to -f in the client resulting in mangled saved filenames

Wow that seems pretty awesome. Let me check that as soon as I can and merge it.
Cheers!


bug: $ionicView.clearCache() breaks tabs with multiple views

Type: bug
Platform: all
I found a problem with $ionicView.clearCache(). I have a tab-based app in which I want to clear the view cache at certain times. Check this codepen:
Note that in tab 1 and tab 2 I have two views like so:
<ion-tab>
  <div ui-view="tab1-top" /> //(shown in gray background)
  <ion-nav-view name="tab1">
</ion-tab>

Now when you clear the cache by clicking any of the "Clear cache"-buttons, Tab 1 and Tab 2 (except the one you currently have active, if either) will stop working. However, Tab 3 which only has an ion-nav-view (no ui-view) works just fine.
I've narrowed down the problem to this commit (js/angular/directive/tab.js:181). Removing this line and everything seems to work just fine, but I suspect it re-introduce the initial problem the commit intended to fix?

Greetings @bodinaren!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

wow, tabs with multiple views in a single state wasn't something we were planning on supporting. If you're saying it did work until recently though, we'll take a look.
The codepen had some syntax errors in it. Here's a version that runs smoothly: http://codepen.io/perrygovier/pen/VYozmp

You're right in that removing that line will cause a regression in caching. The feature of having a ui-view sitting next to a ion-nav-view which is inside a tab is not one we'll support for the v1 release.

I have the same issue with this tab configuration:

Offline: No tienes internet

The  causes that $ionicHistory.clearCache() destroys the views. Am I not allowed to do anything else than one  inside the ? Any other suggestions to make a header bar in the tabs to show "Offline" state?

You also encounter this issue if you set:
$ionicConfigProvider.views.maxCache(0);
On your app, you will end up with tabs that work once and when you go to re-visit them, they will no longer work.


Switch to self-hosted runners for macOS

It's expected behavior if you have not yet added a self-hosted runner to your personal fork. See these instructions for Ripple employees. If you create a PR, the workflow will be picked up by the self-hosted runners attached to the upstream project. XRPLF/rippled already has some, as does my fork.

Those instructions are not visible for me.  Those should probably be documented elsewhere.

I can view the instructions, but I guess they are private to certain users; I don't have permission to modify the repo's visibility. @shichengripple001 owns the repo. @shichengripple001, can you grant Read access to members of the Ripple github org?
Alternatively: Is there any reason why the repo can't be made open source?


Fixes #116
Every View and ViewModel share the same name prefix e.g. MainWindowView and MainWindowViewModel.
Structure
MainWindow:
The main logic is handled by the MainWindowViewModel, and navigation by the type ViewModelBase Page property, which changes between a HomePageViewModel and EditHudViewModel, depending on the SelectedHud. The view will then update depending on the instance type of the Page property. The MainWindowViewModel also handles all the commands in the bottom tool bar, including installing, uninstalling, saving, switching and adding shared HUDs.
HomePage:
Displays the list of HUDs on the left and either an AppInfo or HUDInfo depending on the MainWindow HighlightedHUD.
HUDButton:
Controls whether the HUD is unique, and its Column/Row in the list.
Preset: Displays whether the current preset is selected.
The HUD editing controls are still handled by the HUD in HUDPage.cs.
Conventions
Views and ViewModels share a name
OnPropertyChanged calls use nameof(...) instead of String literals.
Commands use CommunityToolkit.Mvvm RelayCommand.
Button commands are named Btn<name>_Click.
Changes
SelectedHudInstalled and HighlightedHudInstalled now use MainWindow.CheckHudInstallation to be consistent with the HUD installation status label and reset input.
The Json class has been removed and replaced by the MainWindowViewModel, although they are functionally the same.
InstallCrosshairs has been moved to Utilities as it needs to be invoked when a HUD is selected or not selected.

Hey, sorry for the wait. Just came back from vacation - will review it within a week.


JSON export

An proposal of enhancement: Export JSON file Instead of CSV.
JSON is rather modern format than CSV, that it cares multilingual character and multiple lines.
Almost all programming language library can read/write JSON file and jq command is one of portable tool to select column, filter records and so on.

Do you have any requirement for this?
In general, I have avoided exporting formats that require additional programming to consume. My experience so far is that that the majority of my consumers do not have programming skills. The main counterexample for this project to date simply tore off the UI and consumed the C# objects directly!
Dijji

I agree that many user does not have programming skill.
As you know some encoding include bytes of " and , in a part of a character and excel and other CVS tools fails to separate columns in such case.
I thought rather new file format like JSON is ready for such treatment.
But, I found CVS is enough if text is encoded carefully, like with utf-8.
I still think JSON is a good idea when to export all the message, message body, property and attachments.
But I agree it is very limited use case.
--HAL


MB-1530: Modify update shipments endpoint so that there are no required fields

Setup
make server_run
make db_test_e2e_populate
make server_test

Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Note to self: Do work to get swagger object out.


cant open up (ERR_TOO_MANY_REDIRECTS)

so I cant open up https://pockethost.io and cant open my project. I always get the error ERR_TOO_MANY_REDIRECTS.
I tried everything. Deleted all my cookies, used diffrent browser and used different devices but it does not work

Moved to #223


Full cursor pointer, website open on search button click

Resolved, attached video
https://github.com/Counselllor/Counsellor-Web/assets/135598205/b46a1e81-9f25-4f35-98ec-3e305d233f88
resolves Counselllor/Counsellor-Web#622
@thestarsahil Please review

Minor Changes , the search button should be top right corner , as when user place a branch such as  btech , bca etc. there should be search button
So , replace from left to top right corner !
Search button won't redirect to college page , it will search the students present who joined this portal !

@mahak-juriani , Coordinate with #630 Ayushmaan
He is working on this area , He will tell whether to implement or not
Discuss in Discord Channel
Thanks !


doesn't build (handler directly misnamed I believe)

When building the compiler complains about handler directory:
"gcode\generator.go:7:2: package GoSlice/handle is not in GOROOT (c:\users\kenfa\packages\go\src\GoSlice\handle)"
I renamed handler directory to handle and all seems fine after that (from a build pov, haven't tried running yet). I've only just discovered this project.
Have submitted PR: https://github.com/aligator/GoSlice/pull/1

Thanks, I answered to your PR this issue is fixed now.


CQL-related integration test failures

Describe the bug
When running the integration tests locally and adding the ability to run the CPG and CQF tests, there are failures in 2 tests
com.ibm.fhir.server.test.cpg.ServerCqlOperationTest
testUsefulDetailIncludedInMissingPatientResponse
and
com.ibm.fhir.server.test.cqf.ServerEvaluateMeasureOperationTest
testEvaluatePatientMeasureMissingPatient
Both tests had 1 failure and was expecting a 500 but got a 200.
Environment
main
To Reproduce
Steps to reproduce the behavior:
run the full integration tets with the proper files copied into userlib
fhir-operation-test-5.0.0-SNAPSHOT.jar
userlib
fhir-ig-carin-bb-5.0.0-SNAPSHOT.jar
fhir-ig-davinci-hrex-4.11.0-SNAPSHOT.jar
fhir-ig-davinci-hrex-5.0.0-SNAPSHOT.jar
fhir-ig-davinci-pdex-formulary-4.11.0-SNAPSHOT.jar
fhir-ig-davinci-pdex-formulary-5.0.0-SNAPSHOT.jar
fhir-ig-davinci-pdex-plan-net-5.0.0-SNAPSHOT.jar
fhir-ig-mcode-5.0.0-SNAPSHOT.jar
fhir-ig-spl-4.11.0-SNAPSHOT.jar
fhir-ig-spl-5.0.0-SNAPSHOT.jar
fhir-ig-us-core-5.0.0-SNAPSHOT.jar
fhir-operation-cpg-5.0.0-SNAPSHOT-shaded.jar
fhir-operation-cqf-5.0.0-SNAPSHOT-shaded.jar
fhir-operation-term-cache-5.0.0-SNAPSHOT.jar
fhir-operation-test-5.0.0-SNAPSHOT.jar
Expected behavior
Expected the tests to pass
Additional context
Add any other context about the problem here.

Verified the test now passes with the IG's loaded.


Question about Python dependency resolution when using the monrepo plugin with mkdocstrings plugin

Hello there,
We make use of a plugin called mkdocstrings to generate documentation for the source code. This plugin loads the different Python libraries mentioned in the source code during the documentation generation process. As a result of this, there are Python dependency resolution issues that we encounter when using the monrepo plugin in a root repository . If the mkdocs.yaml file in the root repository references multiple mkdocs.yaml files from different repositories, we run into dependency resolution errors as there are conflicting dependency requirements in the different repositories.
The code in each of the different repositories  uses different versions of the same Python module. Hence, the issue.
I am wondering that this must be an issue at a lot of organizations.
How is this overcome elsewhere?
To overcome this, we were thinking that the docs folder in each of the different repositories should be processed independently and the output of the mkdocs build command should be copied to some place in the root repository and then have mkdocs somehow assemble the documentation.  I am not sure if this is even possible. If someone has already done this, please respond back.
Thanks,
Kiran Hegde

You might find this comment interesting. mkdocstrings does not particularly support building docs from another directory. We can improve it on our side as well.

@kirannhegde I'm curious: How do you make monorepo & mkdocstrings work? (related to my Issue here). Is mkdocstrings executed in the submodule or in monorepo?

Hello @lennizle ,
Apologies for the delayed response.
Let me try to explain my problem and how i ended up solving the problem at hand.
Problem:  We have multiple git repositories. Each of these GIT repositories uses their own mkdocs.yaml file. Each of these git repositories have their own build of mkdocs.yaml. The output from each of these repositories is a Docker container containing the respective documentation(The Docker container is a nginx container). In other words, each of these individual git repositories generate a nginx container which is capable of serving documentation.  Now there is a main documentation git repository which has it's own mkdocs.yaml file. In addition, this main doc Git repository has an index.md file which contains references to each of these other documentation sites., What we do is to deploy all of these nginx containers and serve the documentation from the individual Git repositories and access these individual sites under the main site(i.e the nginx container from the main site).   The challenge with using mkdocstrings in a mono repo is that,  the Python handler in mkdocstrings attempts to load Python modules when generating source code documentation.. This is problematic for us as each of the individual git repositories use different versions of the same Python modules.
I  created git submodules for each of these git repositories in the main documentation git repository and referenced their mkdocs.yaml in the mkdocs.yaml of the main documentation git repository. However, that errored out due to conflicting Python dependencies.
The way i overcame this issue was by concatenating the search indices from each of the mkdocs build and building one large search index. This way, each of the individual git repositories have their own documentation build but we are still able to serve the documentation in a main documentation site. The search index is a file named search_index.json and can be found in the output of mkdocs build.
Does this answer your question?
So in our case, we no longer have a monorepo. Instead, we split our monorepo into multiple smaller repos, build documentation separately but serve the documentation on a main docs site.
Please let me know if you have further questions.
Regards,
Kiran Hegde

The thread referenced above solved this for me. https://github.com/mkdocstrings/mkdocstrings/issues/311#issuecomment-1104466238
tldr; adding options for mkdocstrings to add additional paths
plugins:
- mkdocstrings:
    handlers:
      python:
        paths: [src1, src2]

I'm coming up against some related (I think) challenges, myself. If I have two mkdocs.yml files like this:
# /mkdocs.yml
plugins:
  - monorepo
nav:
  - Reference:
    - Package A: '!include ./package-a/mkdocs.yml

# /package-a/mkdocs.yml
site_name: package-a
docs_dir: docs
plugins:
  - mkdocstrings

...my hope was that I could build the site using the root mkdocs.yml, but have the mkdocstrings plugin run in the context of package-a (i.e. with package-a as it's current working directory and prepended to search_paths in Griffe). From there, I hoped that I could add package-b, package-c, etc. and the resolution of all the import paths would be scoped to each sub-mkdocs.yml file. I could, of course use the paths option, but that actually exposes all paths for the resolution of each individual package's documentation, so any ambiguity in common top-level sub-package names would cause Griffe to "see" the wrong import package, causing unexpected edge case behavior.
I'm curious to know how realistic/unrealistic it would be for the mkdocstrings plugin search paths to be based on the "child" mkdocs.yml location rather than the root one? or if you think there's something I'm doing wrong in the usage. Thanks in advance for any input!


The |= operator (set.__ior__) causes errors when used instead of set.update

I discovered this bug with the following function:
import numpy as np
from numba import njit

@njit
def inverse_collatz_func(n: int, limit: int = None) -> set[int]:
    results = set()
    if n % 2 == 0 and (n - 1) % 3 == 0:
        results.add((n - 1) // 3)
    if limit is not None and 2 * n <= limit:
        results.add(2 * n)
    return results

@njit
def inverse_collatz_coordinates(number: int, limit: int = None) -> tuple[np.ndarray, np.ndarray]:
    """Construct an inverse-Collatz graph as a pair of x,y coordinate arrays that are plottable with matplotlib"""
    x = [(0, 1)]
    y = [(1, 2)]
    u_set = inverse_collatz_func(1, limit)
    for i in range(1, number):
        v_set = set()
        for u in u_set:
            inverse_collatz_results = inverse_collatz_func(u, limit)
            x += [(i, i + 1)] * len(inverse_collatz_results)
            y += [(u, v) for v in inverse_collatz_results]
            v_set.update(inverse_collatz_results)
        u_set = v_set
    x = np.array(x).T
    y = np.array(y).T
    return x, y

I had to wrestle with the fifth-to-last line of code for quite some time to get Numba to accept it. As it turns out, replacing that line with v_set |= inverse_collatz_results breaks the compilation, throwing the error Cannot infer the type of variable 'u_set.1', have imprecise type: set(undefined). I can't remember exactly what I did to get it to mention IOR, but it is apparent that Numba doesn't expect it to possess the signature (set, set).

Thanks for the report, I can reproduce. MWR:
import numpy as np
from numba import njit

@njit
def foo():
    u_set = {1, 2, 3}
    v_set = set()
    v_set |= u_set # Cannot infer type
    #v_set.update(u_set) # works

foo()

I think the asymmetry of what works and what doesn't is likely a result of the history of the code involved opposed to being specifically designed.
The reason the .update works is due to this:
https://github.com/numba/numba/blob/38ab89dd369a14b8826d3fa30d080aa083aed00b/numba/core/typing/setdecl.py#L86-L90
note that the unified type of an unrefined set and concretely typed set is the concrete one, and then the signature essentially becomes concrete as a result of this unification.
In the ior case type inference sees this as an IntrinsicCallConstraint and stops here: https://github.com/numba/numba/blob/38ab89dd369a14b8826d3fa30d080aa083aed00b/numba/core/typeinfer.py#L578-L582
as one of sets is imprecise. Even if this restriction were removed, it would still fail as there's no ior for e.g. ior(set(undefined), set(<something concrete>)).


Issue/readd composer features (#5611)

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

Merged in f62ec19af1565b601dfe1a744cea8ce3067fcc1d


decouple UI

This project looks great, thanks for sharing it!!!
I wonder if you have considered making the UI and react decoupled from the other components and just serving a compiled SPA via a CDN or cloud storage (s3 or something)?  It would save all the space and make development of the UI not require flashing assuming the API didn't change.

Thank you for the kind words. It is very easy to decouple the UI.
Assuming you know the IP of your ESP32, go to web-ui/webpack.config.js and replace the last line with
module.exports=builder(__dirname, {  devhost:"IP_ADDRESS_OF_YOUR_ESP32", });
After that, run yarn start in the web-ui folder to start local server for the UI. You can now open http://localhost:9000 in your web browser and make changes to the UI sources, the changes should be applied automatically.
This will still bundle the UI with the code though. If you want to completely strip the UI from the firmware binary, then in your project folder:

remove "web-ui" from  EXTRA_COMPONENT_DIRS in CMakeLists.txt
remove web-ui from  PRIV_REQUIRES in main/CMakeLists.txt
in main/main.cpp, remove #include <ui.hpp> and replace initUi(new Ui(new ui::Httpd())); with new Ui(new ui::Httpd());
if you use esp32m.py script to build the firmware, add --ui=skip command line option: python path-to-esp32m.py build --ui=skip

Thanks, this is handy advice!!!  Happy to close or you may want to add it to your docs.

Yes I definitely need to add this to the docs, and I will when time permits. Let the issue remain open until I do so, as a reminder for me.

Added to docs: https://esp32m.com/docs/reference/ui


IBGE layers not showing on the map anymore

The official data layers from the Brazilian government are not working anymore:

IBGE mapa de setores rurais
IBGE mapa de setores urbanos

When I select them I get a blank background.

This seems to be similar to #5272, #5264 and #5250.  Maybe it's all the same issue?

I fixed the IBGE token in https://github.com/osmlab/editor-layer-index/issues/555 and these layers will show up in the next release of iD.

Thanks!


interface to display binary properties

From @psifertex on May 29, 2015 21:30
Mappings, executable pages, ASLR, etc.
Copied from original issue: Vector35/binaryninja#38

Mappings and executable pages are displayed at the top of linear view, ASLR info could be done by a plugin if needed I'm going to mark this as closed.

Is it possible for a plugin to add information to the top of linear view?

Nope. Any particular use case? Internally we call these "SummaryLines"

Your comment about "ASLR info could b done by a plugin" made me think that it would be nice if we could add things to the SummaryLines like that, or other information gleaned from headers that might be interesting. As an example, if it were possible to create my own SummaryLines, I'd probably churn out a quick plugin to pretty print most information in the PE headers