Not working

It was working earlier and I haven't changed any settings. In the last 2 runs it hasn't worked (I don't see the white/green tiles anywhere).
I can't just restart and re-enter since I'm on a slayer task that would get lost on leaving.
This was on a leagues world if it matters.

Having this same issue, stopped working for whatever reason

Doesn't work anymore for me either.


How to add a new category for games.

Hello again. I tried to create a new category for Origin and uPlay games, with functioning similar as Windows Shortcuts, to set up a filter to show only Origin or uPlay games. But I can't get it to work, I edited enums.py, GetGames.py, GUI.lua and created an "OriginShortcuts.py" but when I start again the skin it get stucks in "Initializing backend". The idea is to create folders separated to Origin and uPlay and get the shortcuts from there, to leave Windows Shortcuts for windows ordinary games.
I am not sure if I am overlooking some file or it's not possible to add new categories right now.

Try setting the Python path setting to python to show the terminal. That should hopefully give you a bit more info on what is going wrong on the Python side of things.

If I do that without undo all the changes I made it only close right after opening.
Well, I will research to see if I can get it to work. Thanks for the fast answer.

Are you sure that your modifications do not contain any invalid Python code? Sounds like Python might be failing to parse your code. The backend scripts are set up to execute in a way that catches most runtime exceptions and shows the stack traceback rather than just close the terminal immediately.

By the way, I'm wondering if it would be more appropriate to just modify WindowsShortcuts.py to support subfolders. So e.g. shortcuts placed in \Lauhdutin\@Resources\Shortcuts\Origin would show up as being from the Origin platform. My reasoning is that:

This would implement the ability to show a specific platform for an arbitrary number of possible values (Origin, Uplay, Itch.io, etc.). So no need to add a slightly modified copy of WindowsShortcuts.py for every platform.
This would maintain consistency in terms of what needs to be done by the user. Properly supported platforms  (e.g. Steam) have their games acquired in an automated fashion based upon one or more settings whereas Windows shortcuts (and corresponding banners) have to be manually added by the user, which would be the case here.

A new key-value pair could be added to the GameKeys enum and GAME_KEYS table on the Python and Lua parts of the skin, respectively. A new filter along the lines of shortcuts: followed by the subfolder name (e.g. shortcuts:origin) could be added.
What do you think?

Probably is that, I am not much versed on python to be honest.
Sounds good, I think you are right, your way is much better than mine!

I'll start working on that then.

Thanks you so much, I tried it but I can't make it to work.

Support has been added for one level of subfolders and the new-filter-tag branch has also been merged into next-version, which is where the development of version 2.7.0 will continue. The new-filter-tag branch will be deleted as soon as any pending pull requests have been resolved.


Return max_input_length if sequence is too long (NLP tasks)

When using InferenceClient.text_generation with a really long prompt, you get an error:
huggingface_hub.utils._errors.BadRequestError:  (Request ID: <redacted>)
Bad request:
Input is too long for this model, shorten your input or use 'parameters': {'truncation': 'only_first'} to run the model only on the first part.

Can we have this message contain more info:

Length of your input
Length of max allowable input
Instructions on how to get a larger max allowable input

I transferred the issue to our api-inference-community repo. I am not sure it will ever get fixed as the focus is more on TGI-served models at the moment. Still pinging @Narsil just in case: would it be possible to retrieve the maximum input length when sending a sequence to a transformers.pipeline-powered model?
I saw that it's implemented here (private repo) but don't know how this value could be easily accessible.

Thanks @Wauplin for putting this in the right place!

No there's not, truncating is the only simple option.
The reason is that the API for non TGI models use the pipeline, which raises an exception that would need to be parsed (which would break everytime the message gets updated, which while it shouldn't happen that much is still very much possilbe).
Using truncation should solve most issues for most users, therefore I don't think we should change anything here.
@jamesbraza Any reason truncation doesn't work for you ?

Thanks for the response @Narsil ! Appreciate the details provided too.

which raises an exception that would need to be parsed (which would break everytime the message gets updated, which while it shouldn't happen that much is still very much possilbe).

So there's a few techniques to parsing exceptions, one of which is parsing the error string, which I agree is indeed brittle to change. A more maintainable route involves custom Exception subclasses:
class InputTooLong(ValueError):
    def __init__(self, msg: str, actual_length: int, llm_limit: int) -> None:
        super().__init__(msg)
        self.actual_length = actual_length
        self.llm_limit = llm_limit

try:
    raise InputTooLongError(
        "Input is too long for this model (removed rest for brevity)",
        actual_length=len(prompt_tokens),
        llm_limit=llm.limit
    )
except Exception as exc:
    pass  # BadRequestError raised here can contain the length in metadata

This method is readable and is independent of message strings.

Any reason truncation doesn't work for you ?

Fwiw, this request is about just giving more information on the error being faced. I think it would be good if the response had the actual tokens used and the LLM's limit on tokens, and then one can decide on using truncation. I see truncation as a downstream choice after seeing a good error message, and thus using truncation or not is tangent to this issue.
To answer your question, truncation seems like a bad idea to me, because it can lead to unexpected failures caused by truncating away important parts of the prompt. I use RAG, so prompts can become quite big. The actual prompt comes last, which could be truncated away

The actual prompt comes last, which could be truncated away

It's always left truncated for generative models, therefore only loosing the initial part of a prompt.
If you're using RAG with long prompts and really want to know what gets used, then just get a tokenizer to count your prompt lengths, no ?

Hello @Narsil thanks for the response!  Good to know truncation is left truncated usually.

then just get a tokenizer to count your prompt lengths, no ?

Yeah this is a workaround.  Though it requires one to:

Know the max input size of the Hugging Face model in advance
Pick a tokenizer model and instantiate it locally (which may not be possible, depending on memory)

However, Hugging Face already knows the input size and max allowable size because it states "Input is too long for this model". So I think it's much easier for Hugging Face 'server side' to just include this information in the thrown Exception, either within the message or as an attribute.

Knowing the length in tokens is not really useful if you don't know how to modify the original prompt in order to modify those tokens right ?

Pick a tokenizer model and instantiate it locally (which may not be possible, depending on memory)

What kind of hardware are we talking here ? Tokenizers are extremely tiny.


Missing head tag?

Just getting started with this. Thanks so much!!
I think the template is missing the HTML <head> tag though.
layouts/_default/baseof.html
layouts/partials/head.html
I added mine in baseof.html to be consistent with the similar <body> tag.

Nope, not missing. All <head> tags are found in partials/head.html. They are included here:
https://github.com/dirkolbrich/hugo-theme-tailwindcss-starter/blob/67c3b15c2034783be43944973fc9790e83950c55/layouts/_default/baseof.html#L3

Waaahhhhh, just saw it. You are right. Will fix it.


add in functionality for gaussian process regression and Dr. Lary's "representative subsampling" scheme

https://github.com/john-waczak/MLJGaussianProcesses.jl/tree/ee76048c971388aba8138d55e953a5f1d95b1d6d


Shadowsocks2022 Client Support

This merge request adds shadowsocks2022 client support to V2Ray. It is current implementation lacks check against UDP duplicate packets.

Example config:
{
  "log": {
    "error": {
      "level": "Debug",
      "type": "Console"
    },
    "access": {
      "type": "None"
    }
  },
  "outbounds": [
    {
      "protocol": "shadowsocks2022",
      "settings": {
        "address": "<IP_ADDRESS>",
        "port": 20220,
        "method": "2022-blake3-aes-128-gcm",
        "psk": "oE/s2z9Q8EWORAB8B3UCxw==",
        "ipsk": [
          "qQln3GlVCZi5iJUObJVNCw=="
        ]
      }
    }
  ],
  "inbounds": [
    {
      "protocol": "socks",
      "settings": {
        "udpEnabled": true,
        "address": "<IP_ADDRESS>",
        "packetEncoding": "Packet"
      },
      "port": 11099
    }
  ]
}

Codecov Report
Attention: 753 lines in your changes are missing coverage. Please review.

Comparison is base (f8d2741) 37.69% compared to head (a0ab5a0) 36.99%.
Report is 4 commits behind head on master.

Files
Patch %
Lines

proxy/shadowsocks2022/encoding.go
0.00%
152 Missing :warning:

proxy/shadowsocks2022/client.go
0.66%
148 Missing and 1 partial :warning:

proxy/shadowsocks2022/client_session.go
0.00%
97 Missing :warning:

proxy/shadowsocks2022/udp_aes.go
0.00%
79 Missing :warning:

proxy/shadowsocks2022/eih_aes.go
0.00%
62 Missing :warning:

proxy/shadowsocks2022/config.pb.go
25.97%
55 Missing and 2 partials :warning:

proxy/shadowsocks2022/method_aes128gcm.go
0.00%
43 Missing :warning:

proxy/shadowsocks2022/method_aes256gcm.go
0.00%
43 Missing :warning:

proxy/shadowsocks2022/requestsalt.go
0.00%
28 Missing :warning:

transport/internet/udp/monodest.go
0.00%
25 Missing :warning:

... and 2 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2767      +/-   ##
==========================================
- Coverage   37.69%   36.99%   -0.71%
==========================================
  Files         659      671      +12
  Lines       38874    39666     +792
==========================================
+ Hits        14653    14673      +20
- Misses      22606    23373     +767
- Partials     1615     1620       +5

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

Thanks for your review. The sliding window filter will be considered a stable release block and will be fixed before any release is marked as stable. Other suggestions will be applied in a less urgent manner.
Do you consider this client implementation spec confirming, after all suggestions are implemented?


Sharepoint Online as your knowledge base

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

OS and Version?
macOS Ventura
Versions

If you would like Sharepoint online to be your knowledge base, how would you approach this challenge? Would you use a storage account and connect to Sharepoint Online using REST API https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online ?

Thanks! We'll be in touch soon.

@pablocastro do you have some guidance here for ingesting data from SharePoint? Thanks!

Closing this issue for now since there are no immediate plans to use Sharepoint Online in this sample.
In general tough, using the latest version of the app, you could query relevant documents from Sharepoint online and add them to your prompt as context.
https://github.com/Azure-Samples/azure-search-openai-demo-csharp/blob/64a4bcd0d7fa4c64565727cd74577b466a378e6d/app/backend/Services/ReadRetrieveReadChatService.cs#L80
For more general guidance the Retrieval Augmented Generation pattern using .NET, see https://devblogs.microsoft.com/dotnet/demystifying-retrieval-augmented-generation-with-dotnet/


How do I replace  tilde ~ to cyrillic Ё in russian layout?

How do I switch tilde ~ and ˜ to cyrillic capital letter io Ё and ё (do not confuse with latin Ë ë) in russian layout?
Currently it's [ and ] instead of Ё and ё which is useless because we already have [ and ] in USA layout.
Also I believe this feature will be very useful because it's hard to type Ё and ё on mac keyboard and the letter is very common, in words like ёлка - spruce or ёж - hedgehog.
upd: The russian layout is called "Russian - PC"

I found one method to do what you need BUT tilde ~ overrids for § in US layout, and this confuse me because i need tilde.

We cannot enter the Ё and ё directly in "Russian - PC".
So, Karabiner cannot replace tilde to Ё with simple way.
There are some workarounds for this purpose.

Make your own key layout by Ukelele.
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele

Use Unicode Hex Input Hack in Karabiner.
https://pqrs.org/osx/karabiner/faq.html.en#unicode-hex-input

Note: Unicode Hex Input hack description moved here:
https://pqrs.org/osx/karabiner/xml.html#tips-unicode-hex-input


example usage

Hello, do you have an example Elysia app using your plugin I can reference to? Thanks!

Hey there,
Apologies for the delay. The only app I have using this is closed, unfortunately. Though the usage here should be enough to get you started. Please let me know if you face any issues.

Closing. Please re-open if the explanation above isn't clear. Cheers.

@gtramontina
I guess it would be nice to have some tiny example project for demo purposes.
For now documentation for this package is super-minimalistic and it's not clear how to use it. :)


tidb-lightning-ctl: added --import-engine and --cleanup-engine commands

What problem does this PR solve?
This is mainly intended for speeding up debugging tikv-importer's import step by entirely skipping the "write" step.
What is changed and how it works?
Expose tikv-importer's ImportEngine and CleanupEngine APIs to tidb-lightning-ctl.
Check List
Tests

Manual test (add detailed scripts or steps below)
*

Side effects
Related changes

Need to update the documentation

LGTM

LGTM


Support to unset attributes in AttributesBuilder

AttributesBuilder has the arguments method that allows to pass a chain of command line attributes.
It allows to update attributes that have been set previously. But when you want to unset an attribute it just adds a new entry in the internal map instead of updating the current one.
Even if Asciidoctor (Ruby core) deals with it properly, I think it should be better to remove the attribute and add the new unset one.
As example, the next code
AttributesBuilder builder = AttributesBuilder.attributes()
builder.arguments("stylesheet=my-theme.css toc").print()
builder.arguments("stylesheet=my-theme2.css toc=left").print()
builder.arguments("data-uri mysample.adoc").print()
builder.arguments("stylesheet!").print()
builder.unsetStyleSheet().print()

generates the following map of attributes, you can see that stylesheet appears twice.
stylesheet -> my-theme2.css
stylesheet! -> ""
mysample.adoc -> ""
data-uri -> ""
toc -> left

If I see it correctly Asciidoctor::Cli::Options also simply puts the attributes into a hash without checking if the negated attribute is already set (or the other way around): https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/cli/options.rb#L80-L89
For well-defined attributes Core coalesces them, see https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/document.rb#L214-L223 and following.
I think the trick that this works is that in Ruby a Hash preserves the insertion order when iterating over the elements.
This certainly gets lost when passing a java.util.HashMap from Java.
What do you think about not processing the entries in the attribute builder but also trying to preserve the order by using a java.util.LinkedHashMap?
Because the !-semantics only seem to apply for a list of defined attributes.
At least for me this test succeeds. (Sorry for adding this here but I don't have access to gist where I am atm)
package org.asciidoctor

import org.jruby.Ruby
import org.jruby.javasupport.JavaEmbedUtils
import org.jruby.runtime.builtin.IRubyObject
import spock.lang.Specification

public class WhenAMapIsPassedToRuby extends Specification {

    public static interface TestIntf {
        public String process(Map<String, Object> m);
    }

    def 'when a HashMap is passed the order is not preserved in Ruby'() {
        given: 'A HashMap'
        Map<String, Object> map = prepare(new HashMap<>())
        when: 'it is processed in Ruby'
        String result = rubyProcessor.process(map)
        then: 'the order is not preserved'
        result != 'EFCDAB'
    }

    def 'when a LinkedHashMap is passed the order is preserved in Ruby'() {
        given: 'A LinkedHashMap'
        Map<String, Object> map = prepare(new LinkedHashMap<String, Object>())
        when: 'it is processed by Ruby'
        String result = rubyProcessor.process(map)
        then: 'the order is preserved'
        result == 'EFCDAB'
    }

    TestIntf getRubyProcessor() {
        Ruby ruby = Ruby.newInstance();
        IRubyObject rubyObject = ruby.evalScriptlet('''
            class TestIntf
                def process m
                    ret = ''
                    m.each do |key, value|
                        ret << key << value
                    end
                    ret
                end
            end
            TestIntf.new
            ''')
        JavaEmbedUtils.rubyToJava(ruby, rubyObject, TestIntf)
    }

    Map<String, Object> prepare(Map<String, Object> map) {
        map.put('E', 'F')
        map.put('C', 'D')
        map.put('A', 'B')
        map
    }
}

I really don't have a strong opinion on this since it obviously works, and it's not likely to happen that someone reuses an AttributesBuilder instance.
But here I see an opportunity to improve the Java API independently from the ruby implementation.
Also for me there’s a wording issue. According to the user manual the ! is used to unset an attribute, and the Java API provides a way to unset attributes. So I would expect the same behauvior from the method and the ! notation. However, doing arguments("stylesheet!") and unsetStyleSheet() does not have the same effect since the second removes the value from the map.
In the end, as I say "no strong opinion" and you lead here, so I'd accept any proposal for you :smile:

Hmmm... unsetStylesheet() should already add the stylesheet! argument: https://github.com/asciidoctor/asciidoctorj/blob/master/asciidoctorj-core/src/main/java/org/asciidoctor/Attributes.java#L401-L403
And in fact this passes:
Attributes attributes = attributes().unsetStyleSheet().get();
assertThat(attributes.map().containsKey("stylesheet!"), is(true));

But now I found the place where Asciidoctor removes an attribute if the ! version is set: https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/document.rb#L361 :
    attr_overrides.delete_if do |key, val|
      verdict = false
      # a nil value undefines the attribute
      if val.nil?
        attrs.delete(key)
      else

The more I think about it, the more I come to the conclusion that we need to switch to a LinkedHashMap.
I just hacked this example that reveals the current strange behavior:
    @Test
    public void attributes_and_unsetting_attributes_are_applied_in_order()
        throws IOException {

        Attributes attributes = AttributesBuilder.attributes()
            .attribute("b!", null)
            .attribute("b", "B")
            .get();

        Options options = options().attributes(attributes).get();

        org.asciidoctor.ast.Document doc = asciidoctor.loadFile(classpath.getResource("rendersample.asciidoc"), options.map());

        assertThat(doc.getAttr("b"), is((Object) "B"));
    }

This test currently fails!
But it succeeds when Attributes uses a LinkedHashMap.
(Note that it depends on the concrete implementation of the HashMap. I tested with Java 1.8.0_51 on Windows. Other versions might behave differently and the test succeeds with a HashMap in the same env when using the attributes a and a!...
Nevertheless we can also additionally remove the stylesheet attribute in unsetStylesheet().

Now I see my error, my test was hasty and I jumped to conclusions.
LinkedHashMap is definetly the way to go: just respect what Ruby does with maps and let asciidocotor do the work.
I run an extra test, and LinkedHashMap even respects the key insertion order when puting a value more than once with the same key.
Case closed!

You didn't make an error, you helped discover an issue!
Thank you!!!

Am 15.02.2016 um 20:10 schrieb Abel Salgado Romero<EMAIL_ADDRESS>Now I see my error, my test was hasty and I jumped to conclusions.
LinkedHashMap is definetly the way to go: just respect what Ruby does with maps and let asciidocotor do the work.
I run an extra test, and LinkedHashMap even respects the key insertion order when puting a value more than once with the same key.
Case closed!
—
Reply to this email directly or view it on GitHub.

LinkedHashMap is definetly the way to go: just respect what Ruby does with maps and let asciidocotor do the work.

Exactly. You both got right to the issue.
I haven't been very comfortable relying on this behavior, which is one of the reasons why I proposed a proper abstract/type over the attribute registry in the future. See https://github.com/asciidoctor/asciidoctor/issues/692.

:+1:


upstream-community-operators/pmem-csi-operator logo is missing in the OperatorHub

Logo of the pmem-csi-operator is not displayed in OperatorHub.io. The reason could be that the upstream-community-operators image is not using the latest icon present in the CSV. I confirmed this by retrieving the csv data from the image's bundle database.
Can someone help me with how to make sure the that latest image uses the updated icon?

Can someone guide us if there is any other channel to resolve OperatorHub issues other than this repo?

Can someone guide us if there is any other channel to resolve OperatorHub issues other than this repo?

It should be there. Reopen when neede


cli: remove docstrings from click text messages

in latest development version (master), when doing:
popper ci --help

docstrings are included in the message:
$ popper ci --help
Usage: popper ci [OPTIONS] [travis|circle|jenkins|gitlab|brigade]

  Generates configuration files for distinct CI services. This command needs
  to be executed on the root of your Git repository folder.

  Args:   ctx(Popper.cli.context): For process inter-command communication
  context is used.For reference visit
  https://click.palletsprojects.com/en/7.x/commands/#nested-handling-and-
  contexts .   service(string): Defines the service.   install(tuple): Tuple
  with custom installation scripts.

  Returns:     None

Options:
  --install [singularity]  Specify the runtime dependencies to install.
  --help                   Show this message and exit.

we need to put them apart so that they are not included in Click's help messages

Hi @ivotron, I'm interested in this issue. I would like to understand what you mean by "put them apart". Do you mean the docstrings shouldn't be called at all or the text should be shown?

Should Generates configuration files for distinct CI services. This command     needs to be executed on the root of your Git repository folder. be shown?

hey @edeediong, yes that should be included. Anything after the Args: has to be removed for all scripts in the cli/popper/commands/ folder.

Okay just to be sure, every Args and Returns in the cli/popper/commands folder should be removed. It should look like the production level popper in pip, right?

correct 👍
On Sun, Feb 9, 2020, 14:11 Edidiong Etuk<EMAIL_ADDRESS>wrote:

Okay just to be sure, every Args and Returns in the cli/popper/commands
folder should be removed. It should look like the production level popper
in pip, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/systemslab/popper/issues/775?email_source=notifications&email_token=AADTQHLTRWWVZHQD7YOMGMLRCBWOZA5CNFSM4KQQG6R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELGYF6A#issuecomment-583893752,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADTQHKL2R7D5ZMJNT4E57LRCBWOZANCNFSM4KQQG6RQ
.

I'd get right on it.

@ivotron, Am I making changes to all cli functions in all scripts in cli/popper/commands or just for the cmd_ci,py alone.


virtualbox: fix build

The issue was caused by upgrading qt from qt56 to qt57, which
now requires C++11.
For more info, see https://github.com/NixOS/nixpkgs/issues/23257.
/cc @ttuegel
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

It builds fine, but when trying to run VirtualBox:
$ VirtualBox

** (VirtualBox:7000): WARNING **: Error retrieving accessibility bus address: org.freedesktop.systemd1.NoSuchUnit: Unit at-spi-dbus-bus.service not found.
Qt FATAL: Cannot mix incompatible Qt library (version 0x50601) with this library (version 0x50701)
Aborted

I think this must be an impurity on my system, because qt5.6 is not in the virtualbox closure.
I have ensured my "nix-env" packages are built from the same commit as the rest of the system and moved trolltech config files out of the way ~/.config/Trolltech* ~/.config/Trolltech.bak.
Strace doesn't work:
$ strace -olog -f -s300 VirtualBox
VirtualBox: /nix/store/3xsjm8rfpy0ysfjs1pcybj33fsigszgp-wrapper.c:203: main: Assertion `!(st.st_mode & S_ISUID) || (st.st_uid == geteuid())' failed.
Aborted

What other places can VirtualBox keep a reference to qt5.6?

It runs under sudo, so it's definitely something related to my $HOME and/or $USER. Any suggestions?

$ ldd ./result/bin/VirtualBox  | grep -i qt
	libQt5Core.so.5 => /nix/store/rg4d03j01pa1vawgcvk7jcp4ba6aa61a-qtbase-5.7.1/lib/libQt5Core.so.5 (0x00007f008a928000)
	libQt5Gui.so.5 => /nix/store/rg4d03j01pa1vawgcvk7jcp4ba6aa61a-qtbase-5.7.1/lib/libQt5Gui.so.5 (0x00007f008a458000)
	libQt5Widgets.so.5 => /nix/store/rg4d03j01pa1vawgcvk7jcp4ba6aa61a-qtbase-5.7.1/lib/libQt5Widgets.so.5 (0x00007f0089db1000)
	libQt5PrintSupport.so.5 => /nix/store/rg4d03j01pa1vawgcvk7jcp4ba6aa61a-qtbase-5.7.1/lib/libQt5PrintSupport.so.5 (0x00007f008c6d9000)
	libQt5OpenGL.so.5 => /nix/store/rg4d03j01pa1vawgcvk7jcp4ba6aa61a-qtbase-5.7.1/lib/libQt5OpenGL.so.5 (0x00007f008c67a000)
	libQt5X11Extras.so.5 => /nix/store/33nzidin0xiazj2h6mm6aws50hyfqbry-qtx11extras-5.7.1/lib/libQt5X11Extras.so.5 (0x00007f008c674000)

Only qt5.7 references. Where does it pick up 5.6?

It might need kdeWrapper.

kdeWrapper is only for KDE programs, but you do need wrapQtProgram from makeQtWrapper. Qt uses plugins extensively; if your program isn't wrapped so that Qt can find them, it will fall back to searching the environment for them.

FYI, after a reboot my system stopped finding the wrong Qt version. Now virtualbox runs fine.


ueno gatsby starter error

While trying to resolve a issue that was created in the gatsby github repo. more specifically starting from this comment, led me to install the starter to further check what could be causing the issue in that case. I followed the instructions  in the readme. It all went fine. Issuing gatsby develop went without a hitch. The only change i've made to the code is related to the links as stated in the documentation, as i'm using it with Gatsby.
Now the problem is that when i open up a browser to http://localhost:8000. I'm presented with the following:

I did not have the time to further investigate what could be the issue and/or culprit here. But before that i though to reach out and ask if are there any more specific steps needed to get the site running in development mode? If not, if only thing needed is issuing gatsby develop can anyone shed some insights on what might be the problem here?
Thanks in advance.
Feel free to provide feedback

Hey @jonniebigodes
How did you init the project?
Using the create-ueno-app or by using gatsby new ueno-test "https://github.com/ueno-llc/ueno-gatsby-starter#master --recursive"?
Both works fine for me with all commands yarn dev, gatsby develop and gatsby build.

Did you by any chance move the svg files or project source files?
We have a plugin in gatsby-config called gatsby-plugin-react-svg that only works with SVG files from the folder ./src/assets/svg.

@birkir started with the "gatsby new ueno-test "https://github.com/ueno-llc/ueno-gatsby-starter#master --recursive" issuing gatsby develop opening the browser window led me to the error.
So i deleted the folder with the site and went with the create-ueno-app approach. Same effect.
And the only change i've made like i said in the earlier comment was i've adjusted the code to gatsby links as per documentation.

Hey @jonniebigodes,
I'm able to reproduce this issue under Windows. I'll dig in to see where does it comes from.

@jeremybarbet thank you so much for the time and sorry for not mentioning earlier in the issue description that i was running the starter in windows.

No problem.
It seems like this it's related to https://github.com/jacobmischka/gatsby-plugin-react-svg. I've been trying another plugin and it works on windows, but the import syntax is a bit different, we will keep looking for a better alternative.

Alright, seems like the issue is fixed with that: https://github.com/ueno-llc/ueno-gatsby-starter/commit/7eecd4384321df6557f31eb5f66cb5bb27001637
Thanks for the report :)

@jeremybarbet thank you once more for the feedback and resolution of the issue.


Add a configure for Babel 7.0

This adds a configure for Babel version 7.0.

Coverage remained the same at 100.0% when pulling 75fe635a95930c1959c7d3dc4f8cf708b39a9a97 on 38elements:patch-1 into b5c4a36576b65623c2664d04c03a04e57dc1e06a on developit:master.


'Authorization' header not provided - prisma deploy

Describe the bug
Attempting to run prisma deploy on a local docker prisma configuration, I get the error 'Authorization' header not provided
To Reproduce
Steps to reproduce the behavior:

Create a docker compose file with prisma and postgresql images.

  prisma:
    image: prismagraphql/prisma:1.34.10
    restart: always
    ports:
      - '4466:4466'
    environment:
      PRISMA_CONFIG: |
        managementApiSecret: MYSECRETPRISMATOKEN
        port: 4466
        databases:
          default:
            connector: postgres
            host: postgres
            port: 5432
            user: prisma
            password: prisma
  postgres:
    image: postgres:10.3
    restart: always
    ports:
      - "5432:5432"
    environment:
      POSTGRES_USER: prisma
      POSTGRES_PASSWORD: prisma
    volumes:
      - postgres:/var/lib/postgresql/data

Run the image with docker-compose up
Try with either global or local prisma cli version 10.34.10
prisma deploy --env-file variables.env
Result:

Error: Authentication token is invalid: 'Authorization' header not provided: {"response":{"data":{"addProject":null},"errors":[{"locations":[{"line":2,"column":9}],"path":["addProject"],"code":3015,"message":"Authentication token is invalid: 'Authorization' header not provided","requestId":"local:ck7trc2ts000g0715rbmqe47j"}],"status":200},"request":{"query":"      mutation addProject($name: String! $stage: String! $secrets: [String!]) {\n        addProject(input: {\n          name: $name,\n          stage: $stage\n          secrets: $secrets\n        }) {\n          project {\n            name\n          }\n        }\n      }\n      ","variables":{"name":"default","stage":"default","secrets":["MYSECRETPRISMATOKEN"]}}}
    at GraphQLClient.<anonymous> (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/src/index.ts:72:13)
    at step (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:40:23)
    at Object.next (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:21:53)
    at fulfilled (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:12:58)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)

Expected behavior
It should be deployed
prisma.yml
endpoint: ${env:PRISMA_DEPLOY_ENDPOINT}
datamodel: datamodel.graphql
secret: ${env:PRISMA_SECRET}
generate:
  - generator: graphql-schema
    output: ./src/generated/prisma.graphql
hooks:
  post-deploy:
    - graphql get-schema -p prisma

variables.env
PRISMA_DEPLOY_ENDPOINT="http://localhost:4466"
PRISMA_SECRET="MYSECRETPRISMATOKEN"

Versions (please complete the following information):

Connector: [Postgres]
Prisma Server: [ 1.34.10]
prisma CLI: [e.g. prisma/1.34.10 (darwin-x64) node-v11.5.0]
OS: [OS X Catalina (10.15.2),]

Removing the managementApiSecret works atm which helps me to get forward with development, but that won't apply to production

my bad. I've skipped through the main piece of information that was missing for me:
"The service secret and service tokens are not to be confused with the Prisma Management API secret used to protect the Management API of your Prisma server."
Setting up a valid PRISMA_MANAGEMENT_API_SECRET env variable worked.

Please I have the same error and I may have done the same mistake but couldn't understand how to solve it , can you please help me

I have the same issue.
"InvalidToken: Authentication token is invalid: 'Authorization' header not provided"

I have the same issue.
"InvalidToken: Authentication token is invalid: 'Authorization' header not provided"


hook - ironic_network - set nameserver

We need to resolve the name from the infra dns server on the controlplane infra.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

recheck

/approve
/lgtm
tested with uni01alpha jobs.


Setting papersize to A4 breaks Tufte margin

Setting:
format:
    pdf:
      keep-tex: true
      papersize: A4

Results in:

Seemingly, with letter this line is added to the tex file:
\usepackage[left=1in,marginparwidth=2.0666666666667in,textwidth=4.1333333333333in,marginparsep=0.3in]{geometry}

but not if:
format:
    pdf:
      keep-tex: true
      papersize: A4

I manually fixed the tex by adding geometry package and it rendered with a nice Tufte margin. :) So this seems like a bug.


Please add SPDX lines in license headers.

Include the following lines in the license headers within the scripts. This is to ensure that the automated license scanning tools can identify the license.
SPDX-Copyright: Copyright (c) Capital One Services, LLC
SPDX-License-Identifier: Apache-2.0

Resolved by merge, closing issue


programmatically swap children

Can you help me deal with swapping children programmatically ? the only solution i can find is to delete a view and add it to a position , but it's not a clean  solution , i want it to be animated just like a simple drag animation.

This library was not designed to support animation for such use cases.
I'd suggest to consider using a RecyclerView with ItemTouchHelper to provide drag and drop support. You can find a good overview and tutorial here.
RecyclerView supports animations on programmatic data changes out-of-the-box.


LocalDataException when building new Nylo project

Just started getting this issue on new installs of nylo.

I'm confused as too why, as dateformat isnt called anywhere in the scaffold.

Hi @jplata,
Could you run flutter--version from the console?
I'll take a look

Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision 78666c8dc5 (2 weeks ago) • 2023-12-19 16:14:14 -0800 Engine • revision 3f3e560236 Tools • Dart 3.2.3 • DevTools 2.28.4
Thanks

Hi @jplata,
I'm also on the same version for Flutter and Dart, it works fine.
Can you try to install it again from the https://nylo.dev website? If you hit run, out of the box, it should yield the same results I'm getting.
Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (3 weeks ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4

Thanks,

Just installed brand new:
git clone https://github.com/nylo-core/nylo.git nylo_app
Installed dependencies with flutter pub get.
Ran into same error when running. I re-ran again without debugging, and was able to get more details on the error, if this helps:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LocaleDataException: Locale data has not been initialized, call initializeDateFormatting(<locale>). #0      UninitializedLocaleData._throwException (package:intl/src/intl_helpers.dart:81:5) #1      UninitializedLocaleData.containsKey (package:intl/src/intl_helpers.dart:75:7) #2      DateFormat.localeExists (package:intl/src/intl/date_format.dart:824:28) #3      verifiedLocale (package:intl/src/intl_helpers.dart:186:19) #4      new DateFormat (package:intl/src/intl/date_format.dart:267:27) #5      NyDateTime.toDateTimeString (package:nylo_support/helpers/extensions.dart:143:17) #6      NyLogger._loggerPrint (package:nylo_support/helpers/helper.dart:422:50) #7      NyLogger.error (package:nylo_support/helpers/helper.dart:386:5) #8      NyStorage.read (package:nylo_support/helpers/helper.dart:210:18) <asynchronous suspension> #9      _DefaultListener.handle (package:nylo_support/events/sync_auth_to_backpack.dart:22:18) <asynchronous<…>

Thanks @jplata,
Last question (sorry), what kind of device are you trying to build for?
E.g. Android Pixel 6 Simulator or IOS iPhone 15 Real device

IPhone 14 Pro Simulator (iOS 16.4)

@agordn52 FWIW, i just tried on iPhone 13 Simulator and did not have an issue.

That's bizarre! I think know what's happening though.
Tomorrow I'll do an investigation, I appreciate your help on this 🙂

Hi @jplata,
I appreciate you helping me debug this one.
I've recently created a new release nylo_framework ^5.18.9 which should fix that issue.
Let me know if that resolves the problem for you when you get a chance, thanks :)

hi @agordn52  I'm also facing the same one
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LocaleDataException: Locale data has not been initialized, call initializeDateFormatting(<locale>). E/flutter ( 3006): #0      UninitializedLocaleData._throwException (package:intl/src/intl_helpers.dart:81:5) E/flutter ( 3006): #1      UninitializedLocaleData.containsKey (package:intl/src/intl_helpers.dart:75:7) E/flutter ( 3006): #2      DateFormat.localeExists (package:intl/src/intl/date_format.dart:824:28) E/flutter ( 3006): #3      verifiedLocale (package:intl/src/intl_helpers.dart:186:19) E/flutter ( 3006): #4      new DateFormat (package:intl/src/intl/date_format.dart:267:27) E/flutter ( 3006): #5      NyDateTime.toDateTimeString (package:nylo_support/helpers/extensions.dart:143:17) E/flutter ( 3006): #6      NyLogger._loggerPrint (package:nylo_support/helpers/helper.dart:425:50) E/flutter ( 3006): #7      NyLogger.info (package:nylo_support/helpers/helper.dart:393:5) E/flutter ( 3006): #8      NyRouter._addRoute (package:nylo_support/router/router.dart:148:16) E/flutter ( 3006): #9      NyRouter.route (package:nylo_support/router/router.dart:128:10) E/flutter ( 3006): #10     appRouter.<anonymous closure> (package:flutter_app/routes/router.dart:118:14) E/flutter ( 3006): #11     nyRoutes (package:nylo_support/router/router.dart:29:8) E/flutter ( 3006): #12     appRouter (package:flutter_app/routes/router.dart:42:16) E/flutter ( 3006): #13     RouteProvider.boot (package:flutter_app/app/providers/route_provider.dart:7:20) E/flutter ( 3006): #14     bootApplication (package:nylo_support/providers/providers.dart:17:39) E/flutter ( 3006): <asynchronous suspension> E/flutter ( 3006): #15     Boot.nylo (package:flutter_app/bootstrap/boot.dart:6:39) E/flutter ( 3006): <asynchronous suspension> E/flutter ( 3006): #16     Nylo.init (package:nylo_support/nylo.dart:271:13) E/flutter ( 3006): <asynchronous suspension> E/flutter ( 3006): #17     main (package:flutter_app/main.dart:10:15) E/flutter ( 3006): <asynchronous suspension> E/flutter ( 3006):

Hi @jitendravn,
Are you on the latest version nylo_framework ^5.18.9?
Can you check your pubspec.yaml file.

Hi @jitendravn,
Can you upgrade to nylo_framework ^5.18.9?
That should fix the issue 👍

@agordn52 its done . working perfectly

Thanks for confirming at @jitendravn,
Closing this issue.


Cip68 structs encode & decode with field names, not serialization keys

serialization keys are specified in .toJsonSchema()
cast.toUplcData() and fromUplcData() work using the defined field names for their interface, while encoding using the encodingKeys
uses type information provided by the compiler

See new diff, updated with short key in type-schema

Whilst you have been waiting for this to merge I've made some small changes, so you might need to rebase


Add user endpoint

Please forgive me if I'm incorrect, but it appears we are missing the /user endpoint for listing user information.

If this is for GET /user, I think this is here.


#11 Adding word count calculator

Here is a code for word count web app for issue number #11 . Please accept the PR asap.

Sir, is the PR accepted? for
#35


support paru in checkUpdates & clarify polling interval is in ms

Hey :wave: just wanted to add a few changes I thought might be nice to have.

The first commit changes the checkUpdates script to support using paru as the aur helper when fetching the # of aur updates. If the command paru exists, then that's used as the aur helper, else by default yay is used.
When looking through the config options, namely for updates, I noticed the option for the polling interval didn't clarify that the value is in ms -  though it might seem "obvious" that it is, I think denoting this would be helpful nonetheless.

Thanks! I'm really enjoying this bar :slightly_smiling_face:

Ty :smile:


Create a Build your Environment getting started guide

Description
Michelle was going to put something together such as: https://www.gatsbyjs.org/tutorial/part-zero/
To help a new developer get up and running with their dev environment.
Env setup and getting started guide ideas

install Node.js
manage multiple versions of node.js with nvm
install all React dependencies
install CLI
install any other New Relic dependencies
Accessing Repos

I've started this page. I need to add steps 1-3 to it. I have that on my to-dos right now. https://developer.newrelic.com/build-apps/set-up-dev-env

Hey @caylahamann and @jpvajda - this is the Setting up your development environment page that we discussed: https://developer.newrelic.com/build-apps/set-up-dev-env

@mmfred I have some suggestions... but I'll slack you my questions to clarify a few things. thank you!

@mmfred is this done? also can I make a minor suggestion! In the intro paragraph where it says: The New Relic One command line interface (CLI) can we link to the CLI download? I know we do it later in the doc, but my instinct was to click it right when I first read it in the intro to learn more :)

This is now done. I linked to the CLI as Cayla requested, and added a section on forking the repo (and removed duplicate info about editing files) that John had requested.


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter unifi for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.unifi
   -

:thumbsup: No errors found
WARNINGS:

[ ] :eyes: [E851] .npmignore found but "files" is used at package.json. Please remove .npmignore.
[ ] :eyes: [W044] dependency should not require a specific version. Use "~1.2.3" or "^1.2.3" syntax. Please update "axios:1.6.8"
[ ] :eyes: [W105] Missing suggested translation into uk of "common.titleLang" in io-package.json.
[ ] :eyes: [W109] Missing suggested translation into uk of "common.desc" in io-package.json.
[ ] :eyes: [W145] Missing suggested translation into uk of some "common.news" in io-package.json.
[ ] :eyes: [W162] js-controller 5.0.0 listed as dependency but 5.0.19 is recommended. Please consider updating dependency at io-package.json.
[ ] :eyes: [W172] "common.localLink" in io-package.json is deprecated. Please define object "common.localLinks": { "_default": "..." }
[ ] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
[ ] :eyes: [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[ ] :eyes: [W522] Please consider migrating to admin 5 UI (jsonConfig).

Please review issues reported and consider fixing them as soon as appropiate.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

This issue has been replaced by new isse #794
This issue can be closed.
your
ioBroker Check and Service Bot


Upgrade UI - Screen Home / Crypto

Design: https://www.figma.com/file/2nYhrm0rlJtfJoMwrT51Ep/SubWallet-Apps?node-id=1115%3A36209&t=lSq6WfQhrzPdUsuL-4

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./1047-merge-build-0.8.1-1677006965970.zip
Please check:

[ ] Add the empty token list screen & update %

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./1047-merge-build-0.8.1-1677006965970.zip
Please check:

[ ] Upgrade UI follow by design

Improve

[ ] Reset repeat password when re-enter password

Version test:
_1055-merge-build-0.8.1-1677562303221.zip
Please check:

[ ] Upgrade UI follow by design

[ ] Show incorrect Total balance on the "All accounts" when turn on Acala, Moonbeam network

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./1090-merge-build-0.8.1-1679042310117.zip

[ ] Incorect font-size of the Manage token list button

[ ] Show incorrect balance or do not show balance

Show incorrect EQ, CRAB balance

EQ check with address: 5HbcGs2QXVAc6Q6eoTzLYNAJWpN17AkCFRLnWDaHCiGYXvNc
CRAB check with address: 0x3e25247CfF03F99a7D83b28F207112234feE73a6

Do not show GENS balance

Check with address: 5GdyPmQ8trkyeWRXaq6zjUJfB7mFzAz8Qc5e55sFkHXwUaHJ

[ ] UI bug when scrolling then inspect


Declare public constant for json api Content-Type

Hi,
I suggest adding constant with JSON API Content-Type. It is used multiple times here in JSON-API-Common, as well as in JSON-API-Server and JSON-API-Server-Bundle. The constant would also be useful in other cases (such as functional testing, where you need to build request with proper content type) - so you don't need to declare it yourselves.
What do you think?

@OndraM Merged. Thanks! New Tag follows...


REST POST returning 302 redirect

When I send a POST to my REST service it returns with a 302 redirect which simply redirects to the same URI and sends the request again as a GET. Very strange. Saw a post on stackoverflow  ( http://stackoverflow.com/questions/32232127/apigility-302-found-response ) that was saying the same thing. I've updated all dependencies.. running Dev-Master (Composer screen shot attached) Platform: Zend Server 8.5 i IBMi (no rewrite rules occurring)
Also running Zend Server 8.5 on Windows PC localhost and don't have any problems with POST.

Fixed the problem by creating a new Response object, setting the code to 200 and content. Problem solved.. hacked but solved. Any insight on why this was happening would still be nice.

Hello April,
Have you recently applied PTFs related to SSL, such as MF60335, MF60430, SI57332 ?
If so, was your application working before the application of the PTFs?
Clark

Hey Clark,
I am working with April on this.
We have all three of the PTF's you mentioned. Unfortunately we did not have the code working before we applied the PTF's so we have no idea if it would have worked without them.
We are not running SSL in this test configuration so not sure why SSL ptf's wouid interfere.
Greg

This repository has been closed and moved to laminas-api-tools/api-tools-skeleton; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-skeleton/issues/14.


Symlink /tmp/bun-node/node breaks after upgrading

I originally opened this issue at https://github.com/oven-sh/bun/issues/6561, but here may be a better place.
Anyone else running into the problem with the /tmp/bun-node/node symlink pointing to an old installation after upgrading bun? bunx won't recreate the symlink if it already exists, so I'm working around it by deleting it manually.

Would deleting /tmp/bun-node/node sometime during installation be a good idea?

This is indeed an issue with Bun, keeping it in #6561 is fine. Right now, Bun only sets the symlink once, but it needs to set the symlink with the current executable.


added cache system on mjml generation

I added cache system on mjml generation, used only when debug mode is off.
For my use case, I send multiple email at the same time and mjml generation take  ~ 2s, with cache, only few ms is needed to return html.

Cache cause problem with url with parameters, same email is send to all even the params is not same, close this because not usable in all project, I work on a fix


Reland #128236 "Improve build output for all platforms"

Reland #128236, reverted in https://github.com/flutter/flutter/pull/143125, https://github.com/flutter/flutter/pull/145261, and https://github.com/flutter/flutter/pull/145487.
The errors were raised in post-submit tests on Windows. I have finally obtained a Windows machine to reproduce the errors locally and adjust the test (remove size expectation and rename output .exe).
Original description
Improves the build output:

Gives confirmation that the build succeeded, in green
Gives the path to the built executable, without a trailing period to make it slightly easier to cmd/ctrl+open
Gives the size of the built executable (when the built executable is self contained)

apk, appbundle

macos, ios, ipa
Build executables are self-contained and use a newly introduced OperatingSystemUtils.getDirectorySize.

windows, linux, and web
Build executables aren't self-contained, and folder size can sometimes overestimate distribution size, therefore their size isn't mentioned (see discussion below).

Size reporting
When applicable, the printed size matches the OS reported size.

macOS

Windows

Linux

Related issues
Part of #120127
Fixes https://github.com/flutter/flutter/issues/121401
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@guidezpl The Google tests failed. I saw your last pull request had a g3fix, does this also need that?

Yes, although I've been running into a known issue (b/328487128) and unable to add a g3fix (cl/617613370). I'll mark it as pass for infra issue and keep the roller in the loop.


Support case insensitive locators for EWE and format functionality

it happens, that the same element may contains the same text, but in different cases (lower/upper/camel case)
to avoid that we use translate function of xpath. but ot's pretty complicated and not handy. aspecially if it is a dynamic locator:
"//[contains(translate(@text, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'), translate('%s', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'))]/preceding-sibling::[contains(@resource-id, 'id/statValue')]"
if Carina has @CaseInsensetive annotation it'd be just great

implemented https://github.com/qaprosoft/carina/pull/376/files

feature is available <IP_ADDRESS>+
Old notation to make xpath case insensitive:
"//[contains(translate(@text, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'), translate('%s', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'))]/preceding-sibling::[contains(@resource-id, 'id/statValue')]"
new declaration:
@FindBy(xpath = "//*[contains(@resource-id, 'id/tabLayout')]//android.widget.TextView[@text='%s']")
@CaseInsensitiveXPath
private ExtendedWebElement tabItem;;


fix: Fixed opening links in the browser

Ref: #21

ah nice elk already has target="_blank" for external links, that's handy 👍🏻 should just work on any OS as-is

can you go ahead and add a change file in the .changes folder too?
The basic format (also documented the in the readme of that folder) is as follows:
---
"elk": patch or minor or major
---

A description of your change

All links have target="_blank", but they do not work without this change.

Perhaps we should add information about .changes to the readme. BTW is there a reason we are not just using conventional commits like elk?

What should be the name of the .md file? I see you are using covector is there cli fot that like for changeset

No CLI command for that yet, but maybe that changes in a few days 👀 you can call the file whatever you want

@JonasKruckenberg we forgot to update the elk submodule, because the issue needed changes in both it was fixes here https://github.com/elk-zone/elk/pull/1268

let's update to at least the title-bar dragging PRs commit, can you open a PR for that?


Html repr for pipeline

Fixes #70

Example

This is what is looks like for the SANS2D workflow in esssans:

Wouldn't the output of visualize be a better repr? What was the reason we wanted to have a table?

I think the motives for having a html repr for the pipeline were:

having a more compact description
listing information not avaliable in the graphviz, values of parameters etc
to be able to display a pipeline without selecting a particular result
for very large pipelines inspecting the graph can become cumbersome
debugging incomplete pipelines with missing parts

Are there other?

We also cannot use so much horizontal space, we should show params and providers in a single table, I think?

Sure we can do that but then we will use more vertical space. What's the problem with using the horizontal space?

New version, docstring removed, added name and source of provider function instead

Wouldn't the output of visualize be a better repr? What was the reason we wanted to have a table?

I think it serves two very different purposes. Compare, e.g., also Dask's _repr_html_ vs. visualize.

We also cannot use so much horizontal space, we should show params and providers in a single table, I think?

Sure we can do that but then we will use more vertical space. What's the problem with using the horizontal space?

For example that is does not fit into the docs.

We also cannot use so much horizontal space, we should show params and providers in a single table, I think?

Sure we can do that but then we will use more vertical space. What's the problem with using the horizontal space?

I am not even sure we want to split providers from params: In different configs of a pipeline we might get the same type from either a provider or a param. Have you considering having everything in a single table, alphabetically?

Here's a new version.
The satisfied column now displays all type var combinations that are possible (based on the constraints of the type var) and highlights the ones that are satisfied.
The value column uses the scipp ._repr_html_() method.

The satisfied column now displays all type var combinations that are possible (based on the constraints of the type var) and highlights the ones that are satisfied.
It uses quite a lot of space, but on the other hand it is quite useful to be able to tell quickly what providers exist and are satisfied. One option is to make the list of concrete providers collapsed by default.

I think I'd keep things simple for now and simply remove the satisfied column.

Can you post some screenshots of the latest implementation?
Also, you have some merge conflicts to address.

Here are some screenshots:
One with collapsed fields and second with uncollapsed.
The value field is collapsed or not based on a cutoff for the string length.

Can you also show one with a param table?

Here is a screenshot for a case with parameter tables:


Event generator hosted on sysdig image registry

Describe the bug
Currently according to our docs and the image registry itself the events_generator image lives in the sysdig image registry.
As a CNCF open source project, we should move this image over to the official falco registry which is owned and operated by the Falco community.

How to reproduce it

Expected behaviour

Screenshots

Environment

Falco version:

System info:

Cloud provider or hardware configuration:
OS:

Kernel:

Installation method:

Additional context

Related to #1019

Discovered while patching this https://github.com/falcosecurity/falco-website/pull/168

It has been moved to https://hub.docker.com/repository/docker/falcosecurity/falco-event-generator by @mstemm if I'm not wrong
Anyway, this whole thing is related to #1089 imho (moving it out of falco repo into another falcosecurity project?)

Thanks for the info @leodido
This issue will be closed by falcosecurity/falco-website#168 now


Compatibility with fiber scheduler.

Hello, thanks for this awesome work.
Is this adapter compatible with the fiber scheduler?
Thanks.

Hmm I found https://github.com/github/trilogy/blob/2dd91e5d1974b29473ad646e5dba0a50562fe37a/contrib/ruby/ext/trilogy-ruby/cext.c#L214

I'm not sure where this is used, but it might be better to use the rb_wait_* functions too:
https://github.com/github/trilogy/blob/2dd91e5d1974b29473ad646e5dba0a50562fe37a/src/socket.c#L50

I'm not sure where this is used, but it might be better to use the rb_wait_* functions too:
https://github.com/github/trilogy/blob/2dd91e5d1974b29473ad646e5dba0a50562fe37a/src/socket.c#L50

_cb_wait is not used at all in the Ruby gem. That's the default for anyone using the C lib directly, but for Ruby we swap it out at https://github.com/github/trilogy/blob/2dd91e5d1974b29473ad646e5dba0a50562fe37a/contrib/ruby/ext/trilogy-ruby/cext.c#L251-L253 with a wait_cb using rb_wait_for_single_fd.
That's about the extent of my knowledge at the moment. I'd happy to help make whatever changes are desirable here, but I'll probably need to learn a lot more about the fiber scheduler, the difference between rb_wait_for_single_fd and rb_io_wait, etc.

I am happy to make a PR if you are willing to work with me getting it merged?

I am happy to make a PR if you are willing to work with me getting it merged?

Yes, I can do that!

I started playing around with the code.
static int _cb_ruby_wait(trilogy_sock_t *sock, trilogy_wait_t wait)
{
    struct timeval *timeout = NULL;
    int wait_flag = 0;

    switch (wait) {
    case TRILOGY_WAIT_READ:
        timeout = &sock->opts.read_timeout;
        wait_flag = RB_WAITFD_IN;
        break;

    case TRILOGY_WAIT_WRITE:
        timeout = &sock->opts.write_timeout;
        wait_flag = RB_WAITFD_OUT;
        break;

    case TRILOGY_WAIT_HANDSHAKE:
        timeout = &sock->opts.connect_timeout;
        wait_flag = RB_WAITFD_IN;
        break;

    default:
        return TRILOGY_ERR;
    }

    if (timeout->tv_sec == 0 && timeout->tv_usec == 0) {
        timeout = NULL;
    }

    int fd = trilogy_sock_fd(sock);
    if (rb_wait_for_single_fd(fd, wait_flag, timeout) <= 0)
        return TRILOGY_SYSERR;

    return 0;
}

The rb_wait_for_single_fd should be replaced with rb_io_wait(io, RB_INT2NUM(wait_flag), rb_fiber_scheduler_make_timeout(timeout)).
The io object can be created by using RB_IO_OPEN but I'll need to check the exact syntax.
I think the callback argument will need to be added or the existing context should be changed to store the io.
Do you have any thoughts about how to best achieve this?

I've opened a draft PR with the above changes.


[QA] Avatar is floating in the air after several minutes AFK

Explorer Alpha build versions:
0.36.0
Issue Description:
On mac after several minutes AFK I’m stuck floating in the air there is nothing I can do but reset the explorer to get out of that state
STR:

Open 0.36.0
Go to the inn with several people in the scene
Be AFK
Validate that you are floating in the air

Expected behavior:
The avatars should not be floating in the air after being AFK for a while
Current behavior:
On mac after several minutes AFK I’m stuck floating in the air there is nothing I can do but reset the explorer to get out of that state
Evidence:
Player.log
https://github.com/user-attachments/assets/858f7c7a-e954-4736-bcfe-d95e2875c2b3
Additional Notes:
This issue happened during the Final playtest Alpha on Macos

This issue is still happening on 0.38.0 but this time was during the parade of the launch event
https://github.com/user-attachments/assets/25fc1149-12ef-4ce6-803d-05120debfe08


disable toggling of a button

I'm trying to make it so that my geomean button will not trigger when clicking off of it. In other words clicking once on button, then on another button will trigger the former twice. I want to make sure the former only gets triggered when the user clicks on it. Heres my button -
  map.pm.Toolbar.createCustomControl({
    name: 'redo',
    block: 'custom',
    className: 'redo-button',
    title: 'redo',
    doToggle: false,
    onClick: () => {
      handleredo();
    }
  });

Replace doToogle with toggle and then it should work.
  map.pm.Toolbar.createCustomControl({
    name: 'redo',
    block: 'custom',
    className: 'redo-button',
    title: 'redo',
    toggle: false,
    onClick: () => {
      handleredo();
    }
  });


graphic features refactor

very WIP

Working on this, Graphic features should have no access to collection_index. When we emit events, we can have the graphic accessible and then the collection index of the graphic can be accessed if required.

ok so PointsDataFeature working, and we have negative slicing now :partying_face:

I should double check to make sure we don't get any off by 1 errors in the slicing and with size in update_range

Ideas for event adding:
# graphic base class
Graphic:
  def add_event_handler(func, "event-name")

Where "event-name" is either a feature name or pygfx event name (ex: "click" etc.). And emitted feature events use a pick_info dict that holds event information just like pygfx events. Might make sense to subclass pygfx.Event here for feature events, will see.

@almarklein I've arrived at this parser that takes the key used to index the buffer and auto determines the offset & size to mark for upload, do you think this would be useful to have directly in pygfx?
snippet:
    def _update_range(self, key: int | slice | np.ndarray[int | bool] | list[bool | int] | tuple[slice, ...]):
        """
        Uses key from slicing to determine the offset and
        size of the buffer to mark for upload to the GPU
        """
        # number of elements in the buffer
        upper_bound = self.value.shape[0]

        if isinstance(key, tuple):
            # if multiple dims are sliced, we only need the key for
            # the first dimension corresponding to n_datapoints
            key: int | np.ndarray[int | bool] | slice = key[0]

        if isinstance(key, int):
            # simplest case
            offset = key
            size = 1

        elif isinstance(key, slice):
            # parse slice
            start, stop, step = key.indices(upper_bound)

            # account for backwards indexing
            if (start > stop) and step < 0:
                offset = stop
            else:
                offset = start

            # slice.indices will give -1 if None is passed
            # which just means 0 here since buffers do not
            # use negative indexing
            offset = max(0, offset)

            # number of elements to upload
            # this is indexing so do not add 1
            size = abs(stop - start)

        elif isinstance(key, (np.ndarray, list)):
            if isinstance(key, list):
                # convert to array
                key = np.array(key)

            if not key.ndim == 1:
                raise TypeError(key)

            if key.dtype == bool:
                # convert bool mask to integer indices
                key = np.nonzero(key)[0]

            if not np.issubdtype(key.dtype, np.integer):
                # fancy indexing doesn't make sense with non-integer types
                raise TypeError(key)

            if key.size < 1:
                # nothing to update
                return

            # convert any negative integer indices to positive indices
            key %= upper_bound

            # index of first element to upload
            offset = key.min()

            # number of elements to upload
            # add 1 because this is direct
            # passing of indices, not a start:stop
            size = np.ptp(key) + 1

        else:
            raise TypeError(key)

        self.buffer.update_range(offset=offset, size=size)

I need to do a thing in the tests where we just draw frames on demand to test that the right things are in buffer._gfx_pending_uploads, and that after a frame is draw this list is cleared and take a screenshot and see that it looks right.

Since this will easily allow sharing a buffer between graphics I should probably have a method for detatching from a buffer and acquiring a new one.

@almarklein I've arrived at this parser that takes the key used to index the buffer and auto determines the offset & size to mark for upload, do you think this would be useful to have directly in pygfx?

Ah thanks! I added a link to your comment in https://github.com/pygfx/pygfx/issues/600. I'm sure we can re-use some of that.

should make text properties a feature too

I'm changing the selectors so that selector.selection returns the x or y axis value, i.e. the location in data space, as opposed to data index. I think this makes sense and will usually be what users want. I think it also makes the parsing easier.

Thought from Billy: make the simplest use cases default kwargs, ex: uniform_colors for line and scatter.

TODO: need to fix HLUT in ImageWidget to mirror changes in LinearRegionSelector

see if this can reopen


Fixing issues with Google Cloud DNS autocerts

Pull Request Test Coverage Report for Build 25

0 of 100 (0.0%) changed or added relevant lines in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

envcfg.go
0
100
0.0%

Files with Coverage Reduction
New Missed Lines
%

envcfg.go
3
0.0%

Totals

Change from base Build 19:
0.0%

Covered Lines:
0

Relevant Lines:
320

💛  - Coveralls


auto_release/0.4.11

PR automatically created

coverage: 100.0%. remained the same
when pulling 8c0cea365cf7e52fa7af8af511a92b6570221c36 on auto_release/0.4.11
into 1757f2a8de0d0cb3a433772f4d2f9c6869803dbc on master.


added zig-protobuf to Others

Self promotion: adding my current attempt at making a Protocol Buffers v3 in zig.
Is "Others" the right choice for this? Could almost be in library. Requesting opinion.

Is "Others" the right choice for this? Could almost be in library. Requesting opinion.

Wouldn't the "Parser" section be better?

Changes done.


chore: set Lambda API min concurrency to 3

Summary
Update the Lambda API's provisioned minimum concurrency during
high demand periods (12pm - 5pm).  This is because we're now serving
100% of our API requests through the Lambda API.
⚠  Note
There should be no infra changes in Staging for this PR.
Related

cds-snc/notification-planning#438

LGTM. Can we monitor how many lambdas get spun up to keep an eye on when we might want to increase the min and max here?

Indeed there is - we get rough metrics through the Lambda API's Monitoring dashboard, which shows us fluctuating between 10 - 20 concurrent executions during our peak time.
I'm going to look into enabling Lambda Insights to give us better metrics around how the Lambda is performing.


⚠ Bofrost.de has degraded performance

In ed913fa, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2099 ms

Resolved: Bofrost.de performance has improved in e75b643 after 22 minutes.


No default Export

I'm getting an issue where the *.d.ts file doesn't have a default export and I'm getting the next error:
ERROR in [at-loader] ./node_modules/react-hot-toast/dist/components/toaster.d.ts:2:8
TS1192: Module '"/.../node_modules/csstype/index"' has no default export.

Can you provide an example that reproduces this behaviour?

Yes, I don't remember if I commented in another issue where you said you will remove CSSType dependency.
I'm trying to follow best practices with typescript. Even if I know that I can change my eslint and tsconfig to not be so restrictive on imports.
.eslintrc
...
"settings": {
    "import/resolver": {
      "typescript": {
        "alwaysTryTypes": true,
        "project": "./tsconfig.json"
      }
    }
  },
  ...

And tsconfig.json hast strict: true
So when using react hot toast I get the error which prevents the hot module reload (And I think once the project has it's own pipelines will fail due to it).
issue is with the file toaster.d.ts
where line import CSS from 'csstype'; should be import * as  CSS from 'csstype';

Have you tried this with 2.0.0? It should no longer depend on csstype. https://github.com/timolins/react-hot-toast/commit/e58d6a8690e3329dcf2cbd2d7ac3c156a2e7a5b9

I'm relying on yarn-check to update packages and it's not showing a new version for this but I already updated it and is working properly in 2.0.0


How do I add bottom border?

Have the following component, but the border bottom doesn't appear
const StyledForgotPasswordText = styled.Text`
  font-size: 14px;
  text-align: right;
  border-bottom-color: black;
  border-bottom-width: 2px;
`;

The generated CSS here looks fine:
{
  "fontSize": 14,
  "textAlign": "right",
  "borderBottomColor": "black",
  "borderBottomWidth": 2
}

You can’t borders on text elements in react native

I'm on react-native 0.62. Looks like it's possible.
Have tried adding the style to the title on the docs

The output you pasted looks fine, so we’re doing the right thing in this library
You can try putting that style directly into RN, because I think you can’t put borders on text and that the docs might be wrong

You're right. Sorry, the preview was on web.
Just realize my mistake when it shows on Android while testing it.
I suppose best practice now is to just use View instead. Thanks!

Glad I could help - if only a little! 😄

I'm on react-native 0.62. Looks like it's possible. Have tried adding the style to the title on the docs

It works, u're awesome


SAR support.

There is another methods to send long messages, like SAR. It would be awesome to support it.

I don't know anything about this. Appreciate if you can submit a pull request for review.


Fix broken storage providers link

This PR fixes a broken link in README.md for the list of compatible storage providers.

@scottslowe thanks for the PR.
@nrb @Bradamant3 what is the preferred way to refer to other pages within the ark repo? Looking at README.md, we have some absolute links (using /blob/master) and some relative links like @scottslowe has updated here.  IIRC, how we do this has an impact on the GH pages site generator?

Yeah, I think I agree with Wayne. Also, I think the README can be treated a little differently than the docs site. The site should be self-contained within the docs dir, whereas the README is likely hit from GH or by cloning the repo.

Scott's approach works -- the docs-site-gen tool strips the /docs/ prefix for the docs site. But things will change a bit when we move to a full-on SSG build (which I'll try to get to within the next week or so)


Inconsistent repeat watchers with interval = 0

$detector = new BlockDetector(..., $threshold, $interval);
$detector->start();

Loop::run(function () use ($detector) {
    Loop::repeat(0, function () {
        usleep(100 * 1000);
    });

    Loop::delay(300, function () {
        Loop::stop();
   });
});

Currently I have a bug that doesn't call the detector (migrated from the interop loop, worked before) with UV. With the NativeDriver it completely blocks and never stops.

Works only fine in EventDriver, all others fail.

I think we should move away from SplPriorityQueue, because we need a queue that inserts new items always after items with the same priority.

The issue in UV is that the underlying primitive (also on the C API level) interprets an interval of 0 as a single-time timer. (aka a delay watcher)
There is no such thing like a timer watcher triggering each time with uv.
Not sure what to do about this. But there's at least nothing I can do on the ext/uv side; we need a solution within this library.

Is there a reason to even allow interval = 0? That's what defer watchers are for… so while it is sort of just avoiding the problem, maybe it's a fine solution?
That being said I'm also find with moving away from SplPriorityQueue. Some time ago I wrote a version of NativeDriver using an array-based priority queue, I can dig that up again if we're interested.

@trowski I use them to basically execute a timer in every tick. Yes, usually you don't want to do that.
See https://github.com/kelunik/loop-block/blob/master/src/BlockDetector.php.

Fixed it for NativeDriver. Uv and Ev hang and thus fail this test: https://gist.github.com/kelunik/fc491501ef9d01e1cab3becb1ce6984c

Would it make sense to use a php-ds datastructure?
https://medium.com/@rtheunissen/efficient-data-structures-for-php-7-9dda7af674cd


'AnyObject' is not convertible to 'String'; did you mean to use 'as!' to force downcast?

As per subject, I got a lot of this error message inside the library.
/Users/MNurdin/Documents/iOS/xxxxx/Library/SwiftyJSON.swift:142:37: 'AnyObject' is not convertible to '[AnyObject]'; did you mean to use 'as!' to force downcast?

Are you using Xcode 6.3?

yes, i'm using xcode 6.3.

Just dowloaded and get with xcode 6.3.1

Fixed with xcode 6.3.1.

I am using 6.3.2 and still getting the error.

I am getting the error with 6.4. About 40 of them.

40 errors with Xcode 6.4

in Version 7.2 (7C68)
these errors are back


[SP-5938] - Backport of PDI-17515 - Duplicate parameter 'DATA_PATH_1' detected error is thrown when we Schedule the job which has sub jobs and transformation. (9.1 Suite)

@ssamora
@smmribeiro
@moraesvc

:warning: Build finished in 31m 18s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 14 test(s) failed:
org.pentaho.di.concurrency.ActiveSubTransformationsConcurrencyTest.getAndCreateConcurrently (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.BaseRowSetConcurrentTest.test (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.BaseStepConcurrencyTest.testRowListeners (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.BaseStepConcurrencyTest.testInputOutputRowSets (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.ConcurrentFileSystemManagerTest.testNonNcCloseEmbeddedFileSystem (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.ConcurrentFileSystemManagerTest.getAndPutConcurrently (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.ConcurrentFileSystemManagerTest.testNcCloseEmbeddedFileSystem (click to expand)
org/pentaho/di/concurrency/ConcurrentFileSystemManagerTest$Putter

org.pentaho.di.concurrency.JobMapConcurrencyTest.updateGetAndReplaceConcurrently (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.RowMetaConcurrencyTest.fiveAddersAgainstTenReaders (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.RowMetaConcurrencyTest.addRemoveSearch (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.RowMetaConcurrencyTest.fiveShufflersAgainstTenSearchers (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.SlaveServerConcurrentTest.getAndReplaceConcurrently (click to expand)
org/pentaho/di/concurrency/StopOnErrorCallable

org.pentaho.di.concurrency.TransformationMapConcurrentTest.testConcurrentAllocateAndDeallocateServerSocketPort (click to expand)
org/pentaho/di/concurrency/ConcurrencyTestRunner

org.pentaho.di.concurrency.TransformationMapConcurrentTest.testConcurrentAllocateServerSocketPort (click to expand)
org/pentaho/di/concurrency/ConcurrencyTestRunner

Tests run: 3795, Failures: 14, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 44m 4s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:ok_hand: All tests passed!
Tests run: 3797, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


bulk insert failed when fieldtype is varchar(4000)

Hi,
I found bulk insert failed when fieldtype is varchar and length more than 4000. I read the source file types.go  varchar(4000) was translated to varchar(max).
SqlServer 2012, varchar maxlen is 8000.

I believe I've reproduced this and you are correct it should be translated to varchar(max) when it's larger than 8000 bytes. I will look into this.
@kardianos or @denisenkom could you assign this to me.


esp_hid_host example crashes on stack overflow when receiving rapid inputs (IDFGH-4563)

[ X ] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[ X ] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[ X ] I have searched the issue tracker for a similar issue and not found a similar issue.

Environment

Development Kit:      [ ESP32-DevKitC ]
Kit version (for WroverKit/PicoKit/DevKitC): [ v1 ]
Module or chip used:  [ ESP32-WROOM-32 ]
IDF version (run git describe --tags to find it):
// v4.2-198-g2aafcd9b1
( Issue also occurred in 4.3 )
Build System:         [idf.py]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc.exe (crosstool-NG esp-2020r3) 8.4.0
Operating System:     [ Windows ]
(Windows only) environment type: [ PowerShell ].
Using an IDE?: [ VSCode + ESP-IDF Plugin ]
Power Supply:         [ USB ]

Problem Description
The esp_hid_host example provided with the IDF is susceptible to a stack overflow on rapid events. The stack overflow occurs in the "esp_bt_hid_events" task defined in bt_hidh.c. It is possible to cause this overflow with a keyboard, but it is much more noticeable on a mouse where rapid mouse movements result in a crash and reboot of the ESP32.
Expected Behavior
The bluetooth HID host example can handle rapid mouse movements and keyboard inputs without crashing.
Actual Behavior
There is a stack overflow in the "esp_bt_hidh_events" task on rapid events that crashes the device.
Steps to reproduce

Build the esp_hid_host example and flash it to an ESP32
Pair a bluetooth HID device
Give rapid inputs such as fast typing or rapid mouse movement

// If possible, attach a picture of your setup/wiring here.
It's just an ESP32-DEVKIT-V1 connected to my laptop via USB. Nothing else is connected.
Code
The following code defines this task, starting at line 319 of bt_hidh.c:
    esp_event_loop_args_t event_task_args = {
        .queue_size = 5,
        .task_name = "esp_bt_hidh_events",
        .task_priority = uxTaskPriorityGet(NULL),
        .task_stack_size = 2048,
        .task_core_id = tskNO_AFFINITY
    };

Setting the stack size to a higher value mitigates this issue. I have only experimented with 2048*10, which is probably overkill.
Notably, this task is defined in the function esp_err_t esp_bt_hidh_init(const esp_hidh_config_t *config), which takes a config struct. This struct currently only contains a callback handler, but could be modified to take an (optional) stack size value.
Debug Logs
...
W (35185) BT_HIDH: Wrong Data Len: 6 != 5
I (35195) ESP_HIDH_DEMO: 00 fa 2f 00 00
I (35195) ESP_HIDH_DEMO: 5c:f6:dc:23:88:6d INPUT:    MOUSE, MAP:  0, ID:   2, Len: 5, Data:
W (35205) BT_HIDH: Wrong Data Len: 6 != 5
I (35205) ESP_HIDH_DEMO: 00 fe 18 00 00

***ERROR*** A stack overflow in task esp_bt_hidh_eve has been detected.

Backtrace:0x4008e64f:0x3ffd5ad0 0x4008ecf9:0x3ffd5af0 0x4008efa1:0x3ffd5b10 0x4008fc0e:0x3ffd5b90 0x4008f094:0x3ffd5bb0 0x4008f04a:0x00000000 |<-CORRUPTED
0x4008e64f: panic_abort at C:/Users/Anon/Git/esp-idf/components/esp_system/panic.c:330

0x4008ecf9: esp_system_abort at C:/Users/Anon/Git/esp-idf/components/esp_system/system_api.c:106

0x4008efa1: vApplicationStackOverflowHook at C:/Users/Anon/Git/esp-idf/components/freertos/xtensa/port.c:436

0x4008fc0e: vTaskSwitchContext at C:/Users/Anon/Git/esp-idf/components/freertos/tasks.c:2770

0x4008f094: _frxt_dispatch at C:/Users/Anon/Git/esp-idf/components/freertos/xtensa/portasm.S:431

0x4008f04a: _frxt_int_exit at C:/Users/Anon/Git/esp-idf/components/freertos/xtensa/portasm.S:231

ELF file SHA256: 1e5de788efcddbb9

Rebooting...

Other items if possible

[  sdkconfig.copy.txt ] sdkconfig
[  esp_hid_host.zip ] elf file in the build folder
[ I can provide this later if necessary ] coredump (This provides stacks of tasks.)

I have created PR #6385 which aims to address this issue.

I have created PR #6385 which aims to address this issue.

Thanks for reporting and contributing in https://github.com/espressif/esp-idf/pull/6385, we will look into.

Thanks for reporting and contributing in https://github.com/espressif/esp-idf/pull/6385, we will look into.

@LMBernardo I confirm that after testing your fix in #6385 with ESP-IDF v4.2-408-gc9cf7bcb0-dirty resolves the issue for me (I was getting reboot every few seconds with a mouse before).
Thanks for your work !

Thanks for reporting and sharing updates, the fix is available at https://github.com/espressif/esp-idf/commit/67b0e0389fc09b4d4f9e17aaf802687513e0b316, feel free to reopen.


Fix qf101 repo to prevent TestRunTests from fail

% go test -v -run TestRunTests
=== RUN   TestRunTests
    run_tests_test.go:64: failed to parse script template: no script template for assignment lab1 in https://github.com/qf101/tests.git
--- FAIL: TestRunTests (0.55s)
FAIL

Ideally, such failures in the scripts should be reported to the teacher working on such tests repositories. That is, the teachers of a course, whose tests repo causes failures like this should be notified in the frontend.

This could be reported via some notification thing in the frontend. All teachers should be notified. The notification should be removed when the backend error disappears.


Add Social Media Link to About Us page

Related Issue

Issue No. #11
I have also resolved Branch Conflicts #81

Changes you made :
-I have added Social Media links and redirected it to specific social media links given by now.
Describe the changes :
Earlier the social media buttons on About Us page when clicked redirected to the Top of About Us page.
Now, I have added the specific social media links to given buttons.
The change made the user of website easy to communicate with Organiser of Trip through their social media accounts.
Check list :

[ x] I have followed code style of this project.
[ x] I have read the CONTRIBUTING document.
[ x] All the aspects mentioned in the issue are covered.
[ x] The website is properly working after my changes.
[ x] 🌟 ed the repo

Type of change :

[ x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Output Screenshots :

@Arun9739
please do look into this.
If issue isn't solved of branch conflicts. Can you please just guide me in brief about what should I do regarding branch conflicts?

@asphalke07 Thank you for this PR
The branch might be arising due to the fact that you are nnot creating new separate branch for new issue. Plz do create one separate branch for each of the PR.
Also branch conflict might be arised due to the fact that more people are contributing on same file and getting merged their PR. Don't worry about it.
I will close this PR. Make a new branch and contribute again. Look into contibuting guidelines for more information.


Add tests for all local file system functions

Feature description
Add unit tests for all functions defined in dirs.go
Main Reason for adding this feature
We'd like to have unit tests for all helper functions.

Hello, I saw the issue for this has being merged in #113, shouldn't this use be closed?

@influx6 you're right. I'm closing it.


add spelling check script

Describe the feature request
Recently, saw many  PR about fix typo, we should better add spelling check script in /prow directory.
I'll have a try
/assign
Describe alternatives you've considered
NA
Additional context
NA

/assign


Missing file autoload.php in vendor

require(/usr/local/php/basic/basic/vendor/autoload.php): failed to open stream: No such file or directory

i enabled the openssl, But it  still showing same error.

I got same error

out of the yii scope

Fixed by running composer install again


Fix incorrect get_link_flags on Mac

This fix tries to address the issue raised in #30633 where tf.sysconfig.get_link_flags on mac returned
'-l:libtensorflow_framework.1.dylib' which is not valid for ld on macOS.
This fix changes to -ltensorflow_framework.1
This fix fixes #30633.
This fix also fixed #30564.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

@mihaimaruseac Thanks for the review. I will create another PR against R1.14 and cherry-pick once this PR is merged.

@mihaimaruseac @yongtang Hmmm this commit broke our linking to TF2 preview macos whl. There it is named libtensorflow_framework.2.dylib as I would have thought should be expected.  Is there a mismatch in what we're expecting across versions here?
See: https://github.com/tensorflow/addons/issues/353

@seanpmorgan see #30633 and  #30564 for some background information.

@seanpmorgan see #30633 and #30564 for some background information.

Thanks was just going through these. So my question would be why did our bazel build work prior to this using the custom-op template:
https://github.com/tensorflow/addons/blob/master/tf_dependency/BUILD.tpl#L11
TF_SHARED_LIBRARY_NAME = libtensorflow_framework.2.dylib
Did you run into this error building with bazel? I'd prefer not to have to do a if == Dawrin string edit, at least not without understanding why

I guess a more reasonable thing to do would use the macos ld to find the library name... but is there a way to do that in the bazel build / should there be an updated procedure on custom-op?

I believe this string edit is a mis-use of the link flag:
https://github.com/tensorflow/custom-op/blob/master/configure.sh#L94
I'll file an issue on custom-op. Thanks!


Auto chunk

Adding chunks='auto' option to Dataset.chunk(). Not finished yet

[x] Closes #4055
[ ] Passes isort -rc . && black . && mypy . && flake8
[x] Updated whats-new.rst for changes

In my git clone, when I run the flake8 and black . tests, I get the following messages.
(xarray-tests) Andrews-MacBook-Pro-2:xarray andrewwilliams$ black .
All done! ✨ 🍰 ✨
143 files left unchanged.
(xarray-tests) Andrews-MacBook-Pro-2:xarray andrewwilliams$ flake8
./xarray/backends/memory.py:43:32: E741 ambiguous variable name 'l'
./xarray/backends/common.py:244:32: E741 ambiguous variable name 'l'
./xarray/backends/.ipynb_checkpoints/memory-checkpoint.py:43:32: E741 ambiguous variable name 'l'

I'm not sure why something has changed in these files (I haven't touched them), I also can't work out what the l variable is meant to be doing there. Any tips appreciated!

I'm not sure why something has changed in these files (I haven't touched them), I also can't work out what the l variable is meant to be doing there. Any tips appreciated!

@AndrewWilliams3142 This is due to flake8 applying new changes from pycodestyle. xarray-devs already dived into this, see https://github.com/pydata/xarray/pull/4057.
You might just need to rebase with current master, to make the error go away.

no need to rebase, simply merge master. Also, you'd then have to remove the checkpoint.

Okay cheers both! I'll have a look at these now.

to merge master, what I usually do is:
$ git checkout master
$ git pull  # synchronize master with `origin/master`
$ git checkout <feature-branch>
$ git merge master

and if there are merge conflicts (i.e. the merge was interrupted), I follow the advice given by git status

Okay, that makes sense. Though, it seems that I forked the master branch before @kmuehlbauer's commit, which fixed this flake8 issue? So I think I need to make a new fork?

no, the git pull or git pull origin master (git pull <remote> <branch> in general) should do the trick. "Forking" just means to setup your own repository on github as a mirror of the repository you're forking. After that, git can handle the synchronization between both repositories.
If you need more explanations on git, how to use it and also how it works under the hood, check out the git book.

there's something wrong with the merge. Are you able to resolve that by yourself, or should I fix it for you?

Do you mean the master merge? If that's wrong would you be able to fix it for me? My bad, hopefully i'll be able to do it more cleanly in future

if you have any unpushed commits: could you push them now? While they would not be lost, it's way easier to handle them now than after the force-push

No unpushed commits

Hello @AndrewWilliams3142! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file xarray/core/dataset.py:

Line 1:14: E999 SyntaxError: invalid syntax
Line 1:15: W292 no newline at end of file

then you'll have to run git pull -f once to get the new state
For future reference, github does not work terribly well with rebases (or merges without a merge commit) so it would be good to avoid those.

Okay so I've traced the error back to the map_blocks() function. I don't fully understand the code for this function in xarray/core/parallel.py, but here's a quick report on the different behaviours.
Normally, when using the make_ds() and make_da() functions in test_dask.py, without any changes to ds.chunk() we have:
>>> def func(obj):
...         result = obj + obj.x + 5 * obj.y
...         return result
...
>>> xr.map_blocks(func, ds).unify_chunks().chunks
Frozen(SortedKeysDict({'x': (4, 4, 2), 'y': (5, 5, 5, 5), 'z': (4,)}))
>>> func(ds).chunk().unify_chunks().chunks
Frozen(SortedKeysDict({'x': (4, 4, 2), 'y': (5, 5, 5, 5), 'z': (4,)}))

However, when I use the changes I've made to dataset.py (changing isinstance(chunks, Number) to is_scalar(chunks)), the behaviour becomes:
>>> xr.map_blocks(func, ds).unify_chunks().chunks
Frozen(SortedKeysDict({'x': (4, 4, 2), 'y': (5, 5, 5, 5), 'z': (4,)}))
>>> func(ds).chunk().unify_chunks().chunks
Frozen(SortedKeysDict({'x': (10,), 'y': (20,), 'z': (4,)}))

Which means that it now fails the test_map_blocks() call in test_dask.py line 1077.
I've tried to follow through the code and see what is actually happening when this change is made, but I'm out of my depth here. My guess is that is_scalar(chunks) is giving the wrong behaviour when chunks=None ?

ah right. this is now rechunking chunked objects to a single chunk when chunks=None. This was not happening previously

@dcherian do you have any idea about this mypy Type error? I can't find much (accessible) documentation on how the Union[] is working in this context.
xarray/core/dataset.py:1737: error: Argument 2 to "fromkeys" of "dict" has incompatible type "Union[Number, Mapping[Hashable, Union[None, Number, Tuple[Number, ...]]]]"; expected "Union[None, Number, Tuple[Number, ...]]"
xarray/core/dataset.py:1740: error: Item "Number" of "Union[Number, Mapping[Hashable, Union[None, Number, Tuple[Number, ...]]]]" has no attribute "keys"

Thanks @AndrewWilliams3142 . We should add a test for chunk("auto") . This could test that dataarray.chunk("auto").data is the same as dataarray.data.rechunk("auto") (or something like that).

Cheers! I forgot about the tests, will add them this week or next hopefully

This could test that dataarray.chunk("auto").data is the same as dataarray.data.rechunk("auto") (or something like that).

@dcherian Thanks for the tip:) Quick question: Is there a reason why you're specifying the .data here? Also I think I'm missing something because I don't get what the difference between .chunk() and .rechunk() would be in this case.

chunk is a method of DataArray while rechunk is a method of dask.array.Array
dataarray.chunk("auto").data calls DataArray.chunk and then fetches the underlying data structure (a dask array) while dataarray.data.rechunk("auto") fetches the underlying data structure and then calls dask.array.Array.rechunk.

@keewis thanks for this! I've added what I think is a suitable test for DataArrays, do you think it's also a good idea to have a DataSet test?

Thanks @AndrewWilliams3142

No problem ! Thanks everyone for helping me get up to speed :)


[feature request] Add an icon on SCM title bar

It would be nice if an icon could be added to the SCM title bar for quick access like another extension (see the gif in Quick Start > 2).

It would be nice if an icon could be added to the SCM title bar for quick access like another extension (see the gif in Quick Start > 2).

Hi, thank you for advice this feature will be included into the next release

Thanks for your great work @andrii-bohdan ! With this added, maybe we could also include a setting to hide the icon on the status bar optionally.

Thanks for your great work @andrii-bohdan ! With this added, maybe we could also include a setting to hide the icon on the status bar optionally.

This feature will be available in the next update. Remeber update and reload extension

Thank you @andrii-bohdan! While hiding icons on SCM title bar is a great feature, my intention is to hide the icon on the status bar:

Thank you @andrii-bohdan! While hiding icons on SCM title bar is a great feature, my intention is to hide the icon on the status bar:

Now you can toggle the visibility of status bar 🤗


Reviewing the Don't lock up DMP - team La Chouffe

Hi @open-sci/la-chouffe,
As anticipated in the lectures on Thursday, two of you have to review the DMP developed by the team Don't lock up. The two people selected for addressing this task must work independently writing a review and must publish it on Qeios, in order to get a DOI for it. A reminder: once the review is published and a DOI is obtained, the review cannot be modified anymore.
Once both your reviews are published, close this issue by attaching in the comment the clickable DOI URLs (https://doi.org/...) of both the reviews.
For further doubts, do not hesitate to contact me in the Slack group.

Here is my DMP review for the DMP made by the group La Chouffe: https://doi.org/10.32388/N2Q3S8

Hi @essepuntato,
Here is my DMP review: https://www.qeios.com/read/1J0YCK

Hi @essepuntato,
Here is my DMP review: https://doi.org/10.32388/1J0YCK


Base64 encode/decode operation works incorrectly for strings which contain percent-encoded symbols like %20

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[x]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
Base64 encode/decode operation works incorrectly for strings which contain URL encoded symbols like %20
Error Message
As a result if the application URL contains spaces or any encoded symbols you get the error like:

AADSTS500112: The reply address 'https://appdomain/path with spaces' does not match the reply address 'https://appdomain/path with spaces'

Security

[ ] Is this issue security related?

Regression

[ ] Did this behavior work before?
Version:

MSAL Configuration
{
            auth: {
                authority: 'https://login.microsoftonline.com/common,
                clientId: clientAppId,
                navigateToLoginRequestUrl: false,
            },

            cache: {
                cacheLocation: 'localStorage',
                storeAuthStateInCookie: BrowserHelper.isIE(),
            },
        }
// For Azure B2C issues, please include your policies.

Reproduction steps
const crypto = new BrowserCrypto()
const input = 'test%20input'
const decoded = crypto.base64Decode(crypto.base64Encode(input))
// decoded is 'test input' but not 'test%20input'

Expected behavior
The decoded string should be equal to initial input
Browsers/Environment

[x] Chrome
[x] Firefox
[x] Edge
[x] Safari
[x] IE
[ ] Other (Please add browser name here)

Thanks for the information, I'll take a look at your PR today and see if I can repro the issue and use the fix from your PR.

Maybe even better to reuse base64 encode/decode from msal-core as far as I understood it is more mature? (though both versions look like black magic :))


add doc elements for VEP plugins

These are the plugins I intend to have live this release.
I'll create a PR to the private repo with the configs

that's going to make for a busy documentation page, but I think it is a necessary evil


rm a frame builder section

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

Review Error for tspoon1 @ 2024-10-10 19:07:26 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help