potential for imitation learning

High Level Description
[Describe what your goal is]
I saw there's observation_collection_for_immitation_learning.py under examples. It seems to be incomplete and only includes observation. For imitation learning, we need actions as well. I'm wondering is it possible to have action collected under each observation?

Hi @m485liuw.  Thanks for your question!  The TLDR to your question is "it's not there yet, but we will try to add something in a future version."  I've added Issue #979 to track this.  Please feel free to add to / expand upon it.
That script (observation_collection...) was created for a specific experiment, along with another one (history_vehicles_replacement_for_imitation_learning.py).  Together, these were used with traffic history datasets (for example, NGSIM and INTERACTION) in order to produce data on how vehicles interact and behave in merging situations.  In those datasets, we're given information on how real vehicles moved (their trajectories through time), but not information about what controls (actions) were being applied by their real drivers.
The observation_collection... script was basically just a way to "convert" those datasets into a form that could be used to train imitation learning agents (i.e., convert the trajectories into SMARTS' "observations") such that the models could then be further refined and tested in the SMARTS simulator.  The other script then (history_vehicles_replacement...) was used for that by picking one or more vehicles at a time and controlling them with the IL models, allowing the IL agents to "drive amongst real traffic".
In regards to your specific question, if the goal of IL is to learn to imitate a human driver, then the dataset should probably contain information about the actions being taken by actual humans.  It's sort of a chicken-egg problem because if you can simulate that in a realistic-enough way to generate data without humans in the loop, you have probably already solved most of the problem.  However, it might still be useful to use SMARTS to bootstrap IL models by providing the actions taken by simulated drivers, even if these are not quite human.
To that end, we will consider adding throttle and brake fields to our EgoVehicleObservation class.  (Note:  we already have steering there.)  And please let us know if there is any other information you think might be useful to add there too.
We know we have only scratched the surface of using SMARTS for Imitation Learning so far.  In the coming year, we are planning to build out more features to support IL research.  Feedback from the IL community is very important to us, so thank you again for reaching out, and please do let us know specifics going forward.


feat: ecies

Hi @Nesopie n
Can you provide a sequence diagram?, I will help to explain your idea and make the protocol more understandable.

Hi @chiro-hiro !
We've added some more diagrams

@Nesopie Thankyou for adding it, Let me ask the team to have a view

Thanks for the update @Nesopie, everything looks better now.
1/ In your sequence diagram, I think you need to clarify that only user is able to obtain vanity address otherwise it will raise the concern of privacy.
2/ Homomorphic addition wasn't clarified, i think it is also play an crucial role in your protocol.
3/ Adding security consideration section would help to clarify the status of the project, as you known all protocol need to be audited.
4/ There are some contents were derived from https://cryptobook.nakov.com/asymmetric-key-ciphers/ecies-public-key-encryption. Your should add references section.

Provided miner is relatively random and is not spiteful the vanity public key will never be acquired by anyone else. We are also planning to implement FHE based solutions which will resolve this problem as well but the idea here is that no one expect the user will be able to calculate the private key. Zanity is a demonstration of what ECIES can be used for can be used and how it can reduce trust-less interactions between a person with computational needs and a resourceful person ,without a layer of escrow.
Homomorphic Addition here meant point addition of public keys we'll fix this in the diagram.
3,4. Yep we will be definitely adding security consideration and references section.

(1) is strong, would love to see it in your proposal. Thanks and have a nice weekend 😁

We explored implementations of FHE and found a real absence of any performant solutions and are motivated to do it ourselves also as an other grant proposal fr!.

Sha256 with FHE
Point addition with FHE.

We also secured confidence in implementing this in RISC0 counterparts like SP1 for better understanding cause the miner ,a resourceful guy, is taking the computational effort.
We also believe people don't want their vanity address to be obscured after paying a miner's fee for it and is a pettier use case 😂.
Existence of such an implementation will crack open astronomical possibilities for privacy enabled bridging solutions.
ECIES with all the extended cryptographic library stack will be the main focus for this proposal 😇.

@chiro-hiro any update on the evaluation of this proposal?

Thank you for submitting your project!
We’re merging your PR, and it’s now available for review by our judges. They’ll be assessing it based on the criteria provided, and we’ll reach out with any updates. Good luck!


Simplify frame idx

Coverage increased (+0.02%) to 82.624% when pulling 02c60b8163afda0b6df78e1d54d40ac6ff0dbfa6 on tdaede:simplify_frame_idx into 2c6c1fd010b4be4159f6464ccd2acde0d7e22c3f on xiph:master.


Application crash upon renaming a file (MacOS, ASE 1.4.0)

Storage Explorer Version: 1.4.0
Platform/OS Version: MacOS High Sierra v 10.13.6
Architecture: x64
Regression From: 1.3.0
Steps to Reproduce:

Rename a file located on SAS-Attached Services
Right-click, choose Rename. Type in the new file name, click ok, then the error message pops up.

Expected Experience:
File should be renamed.
Actual Experience:
An error pops up as pasted below. Azure Storage Explorer crashes. Upon forcing quit and lgging back in with Azure Storage Explorer, the original file is still intact, a copy has been made with the new filename.
An unexpected error occurred:
TypeError: Cannot read property 'primaryHost' of undefined
at Object.StorageServiceClient._invalidLocationMode (/Applications/Microsoft Azure Storage Explorer.app/Contents/Resources/app/node_modules/azure-storage/lib/common/services/storageserviceclient.js:1330:45)
at Object.StorageServiceClient._validateLocation (/Applications/Microsoft Azure Storage Explorer.app/Contents/Resources/app/node_modules/azure-storage/lib/common/services/storageserviceclient.js:1296:11)
at operation (/Applications/Microsoft Azure Storage Explorer.app/Contents/Resources/app/node_modules/azure-storage/lib/common/services/storageserviceclient.js:296:10)
at func (/Applications/Microsoft Azure Storage Explorer.app/Contents/Resources/app/node_modules/azure-storage/lib/common/services/storageserviceclient.js:552:11)
Thanks.

Closing due to lack of response. Please open a new issue if you are still having problems.


Format fails if if expression is used on left side of + but not if used on right side

the following string will successfully reformat with rusfmt
    let check = code.chars().rev().enumerate().filter(|(i, c)| c.is_digit(10)).try_fold(0u32, |sum, (i, c)| c.to_digit(10).map(|d| sum + if (i + 1) % 2 == 0 { if 2*d > 9 { 2*d - 9} else { 2*d }} else {d})).map_or(false, |sum| sum % 10 == 0);

and this one will not
let check = code.chars().rev().enumerate().filter(|(i, c)| c.is_digit(10)).try_fold(0u32, |sum, (i, c)| c.to_digit(10).map(|d| if (i + 1) % 2 == 0 { if 2*d > 9 { 2*d - 9} else { 2*d }} else {d})).map_or(false, |sum| sum % 10 == 0);

the only difference being that sum was moved from the back of the if expression to the front.

What does "string will successfully reformat with rustfmt" mean exactly? It crashes or formats poorly? Does it give a message

No error message no output, it just doesn't change the format. Also im sorry but i pasted the wrong code originally and my failure example actually wasnt the one i intended to paste, so if you tried pasting it in some code and it got broken up into multiple lines then thats why.
The expected result is start with a file containing
/// Check a Luhn checksum.
pub fn is_valid(code: &str) -> bool {
    code.chars().rev().enumerate().filter(|(i, c)| c.is_digit(10)).try_fold(0u32, |sum, (i, c)| c.to_digit(10).map(|d| if (i + 1) % 2 == 0 { if 2*d > 9 { 2*d - 9} else { 2*d }} else {d} + sum)).map_or(false, |sum| sum % 10 == 0);
}

and end up with
/// Check a Luhn checksum.
pub fn is_valid(code: &str) -> bool {
    code.chars()
        .rev()
        .enumerate()
        .filter(|(i, c)| c.is_digit(10))
        .try_fold(0u32, |sum, (i, c)| {
            c.to_digit(10).map(|d| {
                if (i + 1) % 2 == 0 {
                    if 2 * d > 9 {
                        2 * d - 9
                    } else {
                        2 * d
                    }
                } else {
                    d
                }
            } + sum)
        }).map_or(false, |sum| sum % 10 == 0);
}

but instead it doesnt change the file.
tested with
rustfmt 0.99.6-nightly (750b252 2018-10-18)

if nobody's on this, I'd take a look.

That's be great, thanks!

With the code below that you can try on the playground, I found something unexpected while working on this issue: the 2nd line with b fails to compile with the error error: expected expression, found '+'.
Is this to be expected ?
fn main() {
    let a = if true { 1 } else { 2 } + 3;
    let b = { if true { 1 } else { 2 } + 3 };
}


add all the components to the Task Panel

Feature/Improvement Description
Currently the Task panel doesn't have all the components inside so its missing functionality.
Proposed Solution
Add the respective components inside the task panel for each functionality.
Acknowledgements

[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for everyone to understand why this feature request is needed in AGiXT.

oops wrong repo...


Recommend genes based on used terms

[ ] find sources of term-gene associations
[ ] add a "Recommend Genes" button in the MO page (similar to the recommend button for GO terms)

The Human Organ Systems feature is now superseded by the ability to import Uberon as an ontology. Let's rewrite this issue around the ability to recommend genes based on used terms instead.


Weekly Contributor Meeting | 7pm UTC +1 Sunday

I'm going to be starting a weekly kemeet room at 7pm UTC +1 on Sundays to discuss the state of the project with contributors.
PS: Meeting held on twitter space, Follow me to get notified when we host the space!
Twitter: https://twitter.com/fotie_codes

When is the next meeting ?

This weekend buddy!

Do we have another meeting this weekend?

Yes!


Python: Create v1 proposal sample

To validate what is necessary to get to V1 for Python, we need to create a similar set of samples as what is available here: https://github.com/matthewbolanos/sk-v1-proposal
The samples should highlight the main changes being made to the kernel.

On it!

Have a look here: https://github.com/matthewbolanos/sk-v1-proposal/tree/main/python

Marking this as complete


Add two features

Add two features:

Use JQuery to sort conferences. The order of conferences in conferences.yml does not affect how they are shown on the web page now. utils/process.py is not needed anymore.
A conference can have multiple types now. Multiple types can be set in conferences.yml:

sub:
    - DM
    - IR

Original one sub per conference is still supported:
sub: DM

Check the Demo. The The Web Conference 2021  has two types.

Perfect, thank you!


Comments

Basic Create and Read API for Comments

createComment
getListOfComments

Looks good. Only a minor change in REST route. After that can merge :-)


Test in parallel

Signed-off-by: Nicolas Bock<EMAIL_ADDRESS>

So I've thought about doing this before but i don't think its safe because, for one thing, of global config i.e. HotSOSConfig global to all threads and not thread safe so one test can modify the config of another test. Having said that I don't think it would be too much work to make this so we can look into that for sure.

I might misunderstand how stestr is running in parallel but I presumed that it's creating temporary directories and runs tests in parallel in those. But I will look into this more carefully.

I might misunderstand how stestr is running in parallel but I presumed that it's creating temporary directories and runs tests in parallel in those. But I will look into this more carefully.

the tmp dirs are fine, i think the issue is with import namespaces which will still be global to all tests

Having run some tests locally (on admittedly not a super powerful machine) it seems that running the unit tests in parallel has no noticeable gain over running them serialised (which i suppose i am little curious about) so given that there is no clear benefit i propose we pass on this for now.

But then why use stestr at all? From the documentation:

stestr is parallel Python test runner designed to execute unittest test suites using multiple processes to split up execution of a test suite. It also will store a history of all test runs to help in debugging failures and optimizing the scheduler to improve speed. To accomplish this goal it uses the subunit protocol to facilitate streaming and storing results from multiple workers.

If we don't care about or don't see any benefit from the parallel aspects of stestr we should just use unittest directly.


Knockout value binding not working on input element

Not sure if this is an issue or if I'm just not doing it correctly, but I'd like to have a knockout value binding on the input element for the datetimepicker input group so that I can tell when the user has entered a value or not.
So far, I've tried setting up a custom binding and attaching it to the input group div and putting a value binding on the input group's input element.  Here's what the custom binding looks like:
ko.bindingHandlers.DateTimePicker = {
init: function (element, valueAccessor, allBindingsAccessor) {
$(element).datetimepicker({
format: 'dd/MM/yyyy HH:mm',
language: 'en',
pick12HourFormat: false
}).on("changeDate", function (elmntVal) {
var observable = valueAccessor();
observable(elmntVal.date);
});
},
update: function (element, valueAccessor) {
var value = ko.utils.unwrapObservable(valueAccessor());
$(element).datetimepicker("setValue", value);
}
};
When I do this, the observable gets updated when I enter a value into the input element, but when I use the datetimepicker to fill a value into the input element, the observable is not getting updated.
My ideal situation would be to just have the value binding on the input element since I just care about the value in the input element, but just having the value binding on the input element doesn't seem to be working.  I looked in the js code and it looks like when the datetimepicker inserts the value into the input element that it is canceling event propagation so I'm thinking that this might have something to do with the knockout binding not working as I'd expect.  Is this an issue or am I doing something wrong?

@Eonasdan
Still having very similar issues I think? I ended up deliberating with #knockoutjs on freenode and we came up with the following. It is a mash up of other snippets posted here and our modifications from irc.
  ko.bindingHandlers.datetimepicker = {
    init: function (element, valueAccessor, allBindings) {
      var options = {
        format: 'MM/DD/YYYY hh:mm A',
        defaultDate: ko.unwrap(valueAccessor())
      };

      ko.utils.extend(options, allBindings.dateTimePickerOptions);

      $(element).datetimepicker(options).on("dp.change", function (evntObj) {
        var observable = valueAccessor();
        if (evntObj.timeStamp !== undefined) {
          var picker = $(this).data("DateTimePicker");
          var d = picker.date();
          observable(d.format(options.format));
        }
      });
    },
    update: function (element, valueAccessor) {
      var value = ko.unwrap(valueAccessor());
      $(element).datetimepicker('date', value || '');
    }
  };

A working jsbin can be found here: http://jsbin.com/caheye/1


fix(next-auth): allow users to use the application offline

Why this changes is necessary
Users currently face authorization issues when accessing next-pwa based application while being offline.
Suggested changes

Update the list of next-auth URLs excluded from caching by making it more specific: /api/auth/ => /api/auth/callback/.

Tested
Providers:

Google Auth

Browsers:

macOS 14.0 arm64: Chrome 119 and Safari 17.0
iOS 17.1.1: Safari in standalone mode

Actions:

service worker available
app available online and offline
auth will be preserved while user offline
login works
logout works

Hmm, I wonder why the comment specifies /api/auth/callback/*, yet the code checks for /api/auth/*. Let's just approve the PR then :)


Say "DreamGL" in README.md as SEO

User experience report: I attempted to point someone at DreemGL.  But I only remembered the name's sound, "dream gl", not its spelling.  Googling for "dreamgl webgl" and similar, was unsuccessful.
Someday google may suggest "Did you mean DreemGL?".  But for now...
Perhaps add the word DreamGL to README.md to improve searchability.
Perhaps as "... DreemGL (sounds like DreamGL) ...", or "not DreamGL".

Good idea, thanks for reporting your experience. We had a long discussion around the naming and the confusion which might be caused by the modified spelling of "dream". SEO optimization is certainly needed, will look into that next week. Thanks again!


feat: add enumvalueid to  filledentitymap

:tada: This PR is included in version 0.197.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[libigl] missing headers

Host Environment

OS: Windows
Compiler: MSCV 14.2 (2019) amd64

To Reproduce
Steps to reproduce the behavior:
./vcpkg install libigl[opengl,glfw,imgui]
The library compiles but partially installs. Headers at igl/opengl are missing.
Description
So, I am planning to use libigl's 3D viewer which must be available if you enable OpenGL and glfw features at compile time. However, doing so, vcpkg does not install headers at igl/opengl and igl/opengl/glfw subdirectories at all.

Will be fixed in #10252

This was not fixed in #10252

#13424 fixes the issue for opengl, but not for opengl_glfw or opengl_glfw_imgui. Those headers are in further nested sub-directories that do not get installed. I think you need to also add something like:
if (LIBIGL_WITH_OPENGL_GLFW OR LIBIGL_WITH_OPENGL_GLFW_IMGUI)
   install_dir_files(opengl/glfw)
endif()

if (LIBIGL_WITH_OPENGL_GLFW_IMGUI)
    install_dir_files(opengl/glfw/imgui)
endif()

@deGravity I did not expect install_dir_files to install files recursively.

@JackBoosY No, it does not, but when opengl_glfw and/or opengl_glfw_imgui are selected, those sub-directories also need to be installed (they contain the only relevant headers). I've tried making a patch to fix this, but I'm not familiar with how to create patches for vcpkg so I haven't been able to test it yet.

@deGravity Will fix later.

Thanks! I've gotten the patch working locally for myself now if it's helpful to you:

@deGravity  fixed and merged. Please update vcpkg.


Update README.md

Added race car image as it was not visible
PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #1060

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] Ihave performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @SimranLahrani842 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @SimranLahrani842 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Thank you @SimranLahrani842 ,for creating the PR and contributing to our GameZone heartpulse Review team will review the PR and will reach out to you soon! innocent Make sure that you have marked all the tasks that you are done with white_check_mark. Thank you for your patience! grinning

U have not added any label and hence it did not count in the PR count please add label and level also


Add ability to inject entire secret to environment

Instead of specifying each secret individually, I would love to be able to just reference the vault and secret, and the action creates all the env vars.
For example:
on: push
jobs:
  hello-world:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Load secret
        uses: 1password/load-secrets-action@v1
        with:
          inject_all: true
        env:
          OP_CONNECT_HOST: <Your Connect instance URL>
          OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }}
          _: op://app-cicd/hello-world

$ env
A=123
B=234
C=456
...

Hi @tomjohnburton - thanks for reaching out and for this suggestion. We can't commit to any timeline for this particular feature/enhancement request, but I can confirm that we have tracked it internally.

Need this, currently there's no way to export my 36 environment variables secrets without typing them all for each project, even with the new install-cli-action using 1Password CLI.

I built exactly for that my own action: https://github.com/shyim/1password-load-secrets-action

Any news?


Warn if PR is against unexpected branch

And document it. Fixes issue #50, I think.
Not sure the best way to test it; maybe we should keep the result of a sample API call in the tests dir and pull it in as the payload? I've noticed that a lot of the JSON parsing features are untested since they're so heavily dependent on the state of the API.

r? @nrc
(rust_highfive has picked a reviewer for you, use r? to override)

Yeah, the state of testing for highfive is appalling. My test procedure in the past (when it was a pretty simple bit of code and the I was the only dev) was to just try it in prod and see what broke. It's got better since then, but that's still how I test most features :-(


support remote URL

based on @fonsp's awesome #21
What in this PR

I think just using the URL as the file module symbol would make the stack trace clear enough, and this PR uses the recommended download from Downloads thus dropping 1.5 support, which I believe is OK since that's the new LTS.
also reorganized the scripts a bit for this new feature.
loose path or url field to be a general Julia expression that can be determined at compile time (call time of the @from macro) so that we can have e.g

@from pkgdir(MyPackage, "examples", "first_example.jl") import A, B, C

or
@from "https://github.com/$user/$repo/examples/first_example.jl" import A, B, C

as the valid syntax.
Limitations
currently, I didn't handle recursive @from in the remote file, which requires recursive downloads, but I think that's relatively easy and can be done by defining an implicit variable for next-level @from to call, but I'd like to address it in the future since this PR already implements most of the functionality.
PS. I think this enables someone directly use functions from another Pluto notebook stored in a remote storage

It feels pretty edge-case-y to ever allow user input to affect an import statement, but this feels a bit like log4js to me!

I think a concrete use case would be to allow users directly to try examples from a remote/local Julia package repo/or a remote gist with a generic function/script as the demo above. the include function allows one to input a string that is the output of another function, so I feel it probably makes more sense to at least allow string interpolation.
So now only string interpolation is allowed, which is kinda intuitive since the built-in string syntax supports interpolation.

I am wondering if for security reasons this should be opt-in (e.g. via a different @fromurl macro).

I feel we don't need to worry much about security here, or maybe we can be more strict on what kind of URL is allowed (e.g only allow https/http). We can tag a minor change to notify people of this and see if someone reports back (but I think it's fine).

In fact I don't think that's what this code will do at the moment, which I think is a bug.

Yeah, I was a bit lazy to refactor the old from_m implementation, but ideally, we can just use the same mechanism since the module is named as the URL.

Either way: the author of file1.jl and file2.jl clearly didn't expect a file to be downloaded from somewhere, so I think it's wrong that we've opted them into that, without any way to avoid it. Hence my recommendation that the author of a file explicitly opts in to downloading arbitrary code from the internet via an alternate @fromurl macro.

Yeah, I agree, changed to @from_url instead, I don't like the Julia stdlib style naming, it's confusing for a non-native speaker like me, so just use plain snake case.

I still limit it to string interpolation tho, though I find the syntax is more explicit visually with syntax highlights and it at least guarantee the returned value is a String

LGTM!

I am wondering if for security reasons this should be opt-in (e.g. via a different @fromurl macro).

Since we only allow evaluation at compile-time, injections like log4j are not possible, right? E.g. when you write a web server using FromFile.jl, it can only handle user requests (with malicious data) after the import was already resolved.

Depends where you write your import statements. They don't have to occur at just the top of a file, and you could put them inside of a function if you really wanted to.
It's more of a stretch, but one could maybe also imagine compile-time attacks? (e.g. some kind of supply chain attack?) I don't really have a convincing example cooked up for this -- my previous one is as good as it gets -- but I'm just trying to obey the general security principle of minimising a possible attack surface. As a non-security-expert I don't really feel qualified to say that the more-unsafe thing is actually fine.

I see. In ES6, import statements can only be a plain string, but there is a separate async import(...) function that accepts a dynamically constructed string.
I think the main reasons in ES6 for not allowing dynamic expressions are: 1) security and 2) allowing browsers/bundlers to statically resolve the import tree, which is important for making the web fast. This also means that IDEs like vscode can be super accurate.


[Bug] [AOT] Ordering of the function in generated C code is variable

Every time you build a relay module using AOT codegen, the order in C file changes. This is specially  important for microTVM because it makes debugging difficult since debug pointers change per execution.
cc @areusch

I am suffering from the same problem.

https://github.com/apache/tvm/pull/10590 fixed this


Fix GH integration in Slack

The GH integration feature doesn't work in Slack. The working theory is that Slack inserts <``> around URLs in messages, therefore the messages aren't matching in the handler.

@chaeokay :eyes:

:eyes: @killpack

:+1:


Linuxbrew bottles should exclude pre-Core 2 x86_64 machines, e.g. AMD K10

Bug report

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Get wcalc to run.
What happened (include command output)
Ilegal instruction with the wcalc invocation wcalc <<< 1+1
artoria@HASEE-FJ0VL6L:~$ qemu-x86_64 -cpu phenom ~/.linuxbrew/bin/wcalc <<< 1+1
warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.fxsr-opt [bit 25]
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction (core dumped)

What you expected to happen
It should tell me it is two.
Why this happened
This issue is caused by brew downloading a bottled version of GCC. The bottles require core 2, which despite what you mac people think, is not the most ancient of x86-64 CPUs. Ever heard about the SSSE3 vs SSE4a split? That was still a thing when core 2 came out.
You guys need to :

rephrase the system requirements to say 64-bit x86_64 CPU with SSSE3 (and maybe SSE4.1)
add a hardware check for bottle installation. I am sorry, but you should've known that this relying on system version for CPU check thing ain't gonna last.

Step-by-step reproduction instructions (by running brew commands)
Run brew in an emulated CPU
We need QEMU to emulate an old system, K10 (phenom) in our case. In this case, /bin/bash happens to be a x86_64 system's /bin/bash.

Run qemu-x86_64 -cpu phenom /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".
Very patiently wait for the full 350M clone to complete "resolving delta". Seriously, people, if you want to go unshallow you should at least compact the history once per year or something to restrict stuff to a single branch.

If you are not using Linux, you might need to do a system emulation. Remember, get an OS with Ruby 2.6 and glibc, since that's what the vendor script asks for. I went for a system emulation first try on Alpine, and that sucked. Anyways:

Musl should work, but your vendor script blocks it.
Ruby 2.7 might work, but rocket surgery ends at cannot load such file -- active_support/core_ext/object/blank (LoadError).

Trigger the bug

export PATH=$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH
qemu-x86_64 -cpu phenom /usr/bin/env brew install w-calc (Yes, this is how we invoke brew now)

For some reason this seems to escape the emulation, handing off to the host to do the actual running, making this no different from "brew". Must be because the exec syscall being handled as a pass-thru.

qemu-x86_64 -cpu phenom ~/.linuxbrew/bin/wcalc <<< 1+1

Because of the issue with env above, just calling through env would make it fall to the non-antique host CPU. A direct path is required.

(The original version of the bug triggers when gcc sees a floating-point number in the source code and feeds it to GMP. However, it actually happens in one of gcc's child processess, so it escapes QEMU's emulation by exec.)
Output of brew config and brew doctor commands
(Yes, it says skylake because env spawn escapes qemu. I can maybe waste some time adding shell script wrappers for Ruby to put it under qemu, but we all know there's no check except here.)
artoria@HASEE-FJ0VL6L:~$ qemu-x86_64 -cpu phenom /usr/bin/env brew config
warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.fxsr-opt [bit 25]
HOMEBREW_VERSION: 2.7.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: bca4804a9e48de5319383d3eddadaa7f054c77da
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 6bdf0daedf7537d696cb3e59bb67af2bd3168a01
Core tap last commit: 20 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/artoria/.linuxbrew
HOMEBREW_REPOSITORY: /home/artoria/.linuxbrew/Homebrew
HOMEBREW_CELLAR: /home/artoria/.linuxbrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
all_proxy: http://<IP_ADDRESS>:7890
Homebrew Ruby: 2.6.3 => /home/artoria/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: dodeca-core 64-bit skylake
Clang: 7.0 build 701
Git: 2.20.1 => /usr/bin/git
Curl: 7.64.0 => /usr/bin/curl
Kernel: Linux 4.4.0-19041-Microsoft x86_64 GNU/Linux
OS: Debian GNU/Linux 10 (buster) (buster)
Host glibc: 2.28
/usr/bin/gcc: 8.3.0
/usr/bin/ruby: 2.5.5
glibc: N/A
gcc: 5.5.0_7
xorg: N/A

artoria@HASEE-FJ0VL6L:~$ qemu-x86_64 -cpu phenom /usr/bin/env brew doctor
warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.fxsr-opt [bit 25]
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
<EMAIL_ADDRESS>
Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  gcc@5

Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/home/linuxbrew/.linuxbrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.

Anyways, @cuihaoleo encountered this issue on a real K10 machine when running GCC. Hand any questions to him, although I will help when I can repro it using a shallow qemu user emulation.
Just don't ask me to do system emulation.

Anyways, @cuihaoleo encountered this issue on a real K10 machine when running GCC. Hand any questions to him, although I will help when I can repro it using a shallow qemu user emulation.
Just don't ask me to do system emulation.

I really do not like the tone used in this bug report, sorry. And the first thing which comes to  my mind when reading your issue is to ask you to follow our code of conduct: https://github.com/Homebrew/.github/blob/HEAD/CODE_OF_CONDUCT.md#code-of-conduct.
Please be a little bit nicer, especially when asking for help.

The last warning you have in the issue report tells you exactly what to expect:

Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/home/linuxbrew/.linuxbrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.

I really do not like the tone used in this bug report, sorry. And the first thing which comes to  my mind when reading your issue is to ask you to follow our code of conduct: https://github.com/Homebrew/.github/blob/HEAD/CODE_OF_CONDUCT.md#code-of-conduct.
Please be a little bit nicer, especially when asking for help.

The last warning you have in the issue report tells you exactly what to expect:

Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/home/linuxbrew/.linuxbrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.

@iMichka The warning has nothing to do with the reproducibility of the bug. I skipped creating the user because it only complicate accessing it from a non-priv account.
And yes I will PR this.

@iMichka The warning has nothing to do with the reproducibility of the bug. I skipped creating the user because it only complicate accessing it from a non-priv account.
And yes I will PR this.

I really do not like the tone used in this bug report, sorry

@iMichka I strongly agree.

The warning has nothing to do with the reproducibility of the bug.

@Artoria2e5 It does tell you not to report it, though, which you ignored and then proceed to write a rude and patronising bug report.
Adjust your tone in future or you will be blocked.

I really do not like the tone used in this bug report, sorry

@iMichka I strongly agree.

The warning has nothing to do with the reproducibility of the bug.

@Artoria2e5 It does tell you not to report it, though, which you ignored and then proceed to write a rude and patronising bug report.
Adjust your tone in future or you will be blocked.

Look, I told you people how, why, and provided a solution. If you want to keep confusing users over the tone of a bug report, it's your choice.
You people have received numerous bug reports of the same issue over the years, and have never update the documentation once. Don't believe it? Go to the linuxbrew-core repo and search for illegal instruction. Maybe go to the legacy linuxbrew repo too.
And why didn't you change that? Maybe it's because you are spending too much time on clearly irrelevant things like where the homebrew directory is. How does that change the bottle being downloaded? This is programming, not alchemy.
The only patronizing part of my report was when I called you Mac people and did an "ever hear about". If that offends you people, let me remind you that you have been treating every user as lesser beings by giving them vague explanations that are unhelpfdamn becausand never even mind the nanny checks that cannot be skipped.
PS: @jonchang good job on some of the issue replies. just one nitpick -- core2 in clang is ssse3, not sse4.1.

Look, I told you people how, why, and provided a solution. If you want to keep confusing users over the tone of a bug report, it's your choice.
You people have received numerous bug reports of the same issue over the years, and have never update the documentation once. Don't believe it? Go to the linuxbrew-core repo and search for illegal instruction. Maybe go to the legacy linuxbrew repo too.
And why didn't you change that? Maybe it's because you are spending too much time on clearly irrelevant things like where the homebrew directory is. How does that change the bottle being downloaded? This is programming, not alchemy.
The only patronizing part of my report was when I called you Mac people and did an "ever hear about". If that offends you people, let me remind you that you have been treating every user as lesser beings by giving them vague explanations that are unhelpfdamn becausand never even mind the nanny checks that cannot be skipped.
PS: @jonchang good job on some of the issue replies. just one nitpick -- core2 in clang is ssse3, not sse4.1.


Translate reconciliation

@miku86 thanks a lot for the feedback. as no one else chimed in i implemented all the things you suggested.


Ship of Fools potential softlock

When running a run, the first level I obtained was Ship of Fools. Unfortunately, when I went to pick up the rocket launcher in order to trigger phase 2 of the level, it just... didn't happen. I could grab it, and it gave me the thing in it's place, but when I went backwards, phase 2 simply did not trigger. Even when I cheated in the freezeframe RL in order to hopefully trigger it via the game already detecting that I have the rocket launcher, it simply did not trigger. The hallway never turned upside down, and we could not progress with the run without cheating, because I could neither access the challenge, nor could I access the last two secrets of the level.
Here is the seed, given to me by the host. #YKNb23OhSvynUzCSKoGqNA
I am unaware of how seeds work, but I hope you might find this useful.
ultrakill_again.yaml
The yaml file I used for this run.

Hmm, I've never heard of this happening before. If this happens to you again it would be helpful if you could send your LogOutput.log file since it sounds like something has gone very wrong, and that would pretty much be my only way of figuring out what.

I found the issue; it appears to be related to an alternate mod I installed earlier. I, honestly, completely forgot that I had installed it because it hadn't really affected anything else in the run. So, uh, whoops. Sorry.
Here's the logoutput.log anyways.

Well that's still good to know either way. Though I'm curious which mod it was, since it seems like the file you tried to upload is empty

That was an error. Don't know how the file uploaded empty. Here's the real thing.
logoutput.txt


Publish to JCenter

It would be great if, in addition to your personal Bintray repository, you also published to JCenter. It's very easy to enable this through the Bintray settings. This would make it much simpler for organizations that maintain local JCenter mirrors to have your packages available and readily accessible without having to set up additional mirrors and it's already predefined in sbt.

@tlockney
I have forked this repo and published it under version 0.9.0
https://github.com/mingchuno/aws-wrap
I have also linked it to JCenter. Can you check it?


Doesn't show test result if test name is not plain string

This one is weird and other jest extensions also fail on it.
I use Redux Toolkit and prefer using its actions directly in tests names, so it's easier to find references and rename. Tests look like
it(`should put "${someAction}"`, async () => {

describe(someAction.type, () => {

First ones show in lists, but are unable to show run result. Second ones are shown as unsupported

i have the same problem with the test.each statement. i think that the problem is in the parse function from jest-editor-support do.
But i will add your cases to my test project und check if there is a way to make them running

hey svekl because this is releated to the jest-editor-support package and the last updates did not really bring something new here i will close the issue.


Print Cluster Layer with the Esri 4.x Api Print Widget

Has anyone had any luck getting the Cluster layer to appear in the pdf print-out that is produced by the Esri api's Print Widget? Currently, the Cluster layer does not show up at all in the pdf print-out.
Does anyone know what it would take to be able to get this to work?
Thanks!

Sorry mate, haven't looked at integrating with the print widget. Maybe when time permits I'll take a look, or someone else may be able to help out.


Update submodule paths

Correct path names enabling use on case sensitive file systems.
Include subproject commits which are required for the commands git submodule init and git submodule update.

Closes #271

Closing in favour of #277.


Under Taproot don't (always) use the max satisfaction weight for a script

To avoid introducing more complexity, https://github.com/wizardsardine/liana/pull/985 kept the size estimation of an input spending a coin sent to our descriptor to be the maximum possible between all spending paths. However under Taproot spending from different paths might make a huge difference and we may well be overestimating the size of the spending transaction (therefore overpaying the fees).
There is something we can do using Alekos' planning module in rust-miniscript as we have information about how a transaction may be spent at the time of creation due to how the nSequence is set. We could use the maximum satisfaction size between all spending paths available for instance.
But the low hanging fruit really is when the primary path is a single key which becomes the Taproot internal key. We could detect this case even without using the planning module.

The low hanging fruit part will be managed in a separate issue (#1118 )


⚠ Telly has degraded performance

In 87057fc, Telly ($TLY) experienced degraded performance:

HTTP code: 200
Response time: 1495 ms

Resolved: Telly performance has improved in 66f41d1.


Cannot open saved camera object

A CamLOS2D object was saved and the name was changed 👍
# make camera object
cam = tfg.utils.create_CamLOS2D(case='C1', dcam=dcam, Exp=config.Id.Exp, Name='C1', Diag='test', config=config)

# save camera
cam.save(name='ITER_test_camera_config',path='output')

And now it cannot be opened any more, the following error shows up:
In [2]: cam = tf.load('public/MyTofu/output/ITER_test_camera_config.npz')
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-058b366e5346> in <module>
----> 1 cam = tf.load('public/MyTofu/output/ITER_test_camera_config.npz')

~/.conda/envs/tofu2/lib/python3.6/site-packages/tofu/utils.py in load(name, path, strip, verb)
    475
    476         # Recreate from dict
--> 477         mod = importlib.import_module( 'tofu.%s'%dd['dId_dall_Mod'] )
    478         cls = getattr( mod, dd['dId_dall_Cls'] )
    479         obj = cls(fromdict=dd)

~/.conda/envs/tofu2/lib/python3.6/importlib/__init__.py in import_module(name, package)
    124                 break
    125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
    127
    128

~/.conda/envs/tofu2/lib/python3.6/importlib/_bootstrap.py in _gcd_import(name, package, level)

~/.conda/envs/tofu2/lib/python3.6/importlib/_bootstrap.py in _find_and_load(name, import_)

~/.conda/envs/tofu2/lib/python3.6/importlib/_bootstrap.py in _find_and_load_unlocked(name, import_)

ModuleNotFoundError: No module named 'tofu.None'

Any way to fix this ?  (tofu 1.4.1)

Hello @munechika-koyo , I am trying to debug this issue
I need to reproduce the error on my session
But I don't have access to your saved file:
/home/ITER/munechk/public/MyTofu/output/ITER_test_camera_config.npz
Could you make sure that your /public/ repository is accessible to others ?
Ithink the command is something like:
chmod -R ugo+rx /home/ITER/munechk/public/
see:
https://www.linux.com/tutorials/how-manage-file-and-folder-permissions-linux/

I gave the accessibility to the folder.
Please confirm it.

Hello @munechika-koyo , I am trying to debug this issue
I need to reproduce the error on my session
But I don't have access to your saved file:
/home/ITER/munechk/public/MyTofu/output/ITER_test_camera_config.npz
Could you make sure that your /public/ repository is accessible to others ?
Ithink the command is something like:
chmod -R ugo+rx /home/ITER/munechk/public/
see:
https://www.linux.com/tutorials/how-manage-file-and-folder-permissions-linux/

I am sorry to accidentally push the close button.

Does not seem to work yet

I realized that my folder "munechk" wasn't given such permission.
I gave it.

Ok thanks, it's working
Turns out I can't reproduce the error, when I try to lad the camera with tofu, it works fine:
[1] import tofu as tf
[2] cam = tf.load('/home/ITER/munechk/public/MyTofu/output/ITER_test_camera_config.npz')
Loaded from:
    /home/ITER/munechk/public/MyTofu/output/ITER_test_camera_config.npz
[3]

Did you change something to this file since we last tried together ?
Can you try again from a fresh console ?

yes! It works well also on my PC when I tried again.
But, I didn't change it at all.
I wonder what happened to tofu since then...

I'm not sure really
I'm closing this issue since it looks like the problem does not really exist, and we'll re-open it if it happens again (if it happens again, try to give as many details as possible so we can reproduce it)


xmlhttprequest dependency

I don't find documentation why you don't use a regular package for xmlhttprequest
https://github.com/Automattic/engine.io-client/blob/master/package.json#L28

I have also open an issue at npm about this problem
https://github.com/npm/npm/issues/7832

This also seems to prevent installation with jspm:
% jspm install socket-io.client
... snip ...
err  Repo github:rase-/node-XMLHttpRequest@add/ssl-support not found!

warn Installation changes not saved.

has anyone started working on this? or at least an explanation? I can't see anywhere on why this is a dependency to a github repo instead of a regular package. Currently is breaking my team from upgrading to sails 11 from sails 10, because we're using private network with our own npm.

Heh, https://github.com/Automattic/engine.io-client/issues/348 is really the same issue.

Also, while we're talking about this (xmlhttprequest in EIO): https://github.com/Automattic/socket.io-client/issues/679 is an old SIO issue (well that incarnation is only a year old but I remember people complaining about it long before that) about how in the browser you can use cookies to authenticate socket.io pretty easily, but it doesn't work when using using socket.io-client in NodeJS (either as a real socket.io client of other services, or for tests of your own socket.io service) because there's no real user agent, and no cookies. And you can't just add cookie headers because xmlhttprequest won't let you because it's against the XHR spec because XHRs were designed to be used on top of a real user agent. People end up patching xmlhttprequest to allow cookies, just for this scenario.
To my way of thinking, EIO shouldn't use XHR in NodeJS anyway. It should use XHR in the browser, and could use some other request library (https://github.com/request/request or https://github.com/visionmedia/superagent?) over pure HTTP in NodeJS, giving more control over the requests since you don't have to depend on/fight with the user agent. In this scenario, it wouldn't depend on xmlhttprequest at all. I don't know how big a code change this is...

3 of the current 13 open issues seem to relate to the xmlhttprequest-issue. This currently breaks every dependency downstream (hundreds!) for organizations that are unable to access Github (due to proxy/firewall).
This issue was originally reported over half a year ago, but has not yet been addressed. I'd like to add my +1 to see this issue resolved in the near future. I guess simply publishing the fork @rase- created would work for the short term. A (slightly) longer-term solution like @metamatt proposes would be best of course.


Pixels rework

This PR improves performance by ~15-20%. The main change is in DecodingImage, now it is generic over pixel type as was proposed in #23 . Also I've removed elements required for 16 bit images from ChanceTable. Either way, support of 16 bit images will require some redesign of the current code, so I don't see any reasons why why should keep it right now. It allows us to drop fnv dependency and reduce number of allocations. it also makes ManiacNode smaller, now it's size equals to 96 bytes, it's probably possible to make it even smaller, but my quick attempts didn't produce measurable performance improvement.
Also I've added a new Flif::raw(&self) -> &Box<[u8]> method in addition to existing get_raw_pixels, the latter probably can be marked with #[deprecated] attribute. Other than that public API is left intact.
Comparison with libflif:
test bench_cutout_full_decode ... bench:   6,434,378 ns/iter (+/- 109,096)
test bench_grey_decode        ... bench:   6,076,588 ns/iter (+/- 182,748)
// libflif benchmark
test libflif_cutout_full_decode ... bench:   5,390,452 ns/iter (+/- 151,733)
test libflif_grey_decode        ... bench:   5,060,798 ns/iter (+/- 65,122)

In other words with this PR we are ~20% behind in terms of performance.

BTW I can add libflif benchmark code if you want it. It can live behind feature gated to avoid linking errors.

I assume you mean the code that benchmarks this against the official FLIF library? It would be interesting to see but I think that should be managed as a separate PR.


OSBS2: Fix build record and logging

Fix wrong NVR in class OSBS2Build. Use the NVR from Brew build record instead.
Include task_id and task_url in OSBS2BuildError exception so that the caller can log them even if the build is failed.
Make some functions async.

/lgtm


added useTouchEvents option to use touchstart instead of click

@kylestetz

I know this is a really old issue and that it's been merged, but I just wondered if you'd considered using event.preventDefault(); at the top of the  function called by the event? This would stop the duplicate callbacks.
Only, I've updated my local copy of the code and changed the eventType = 'touchstart click' and added the above code and it all seems to work fine on the mobile/desktop browsers I've tried (not exhaustively tested though).
I just wondered if there was anything I need to be wary of, that'd I'd not considered?


Remove deadcode and varcheck deprecated linters

This removes the following warnigs:
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.

unused is activated, therefore is safe to remove these linters.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.29%. Comparing base (490a82c) to head (a80eb3b).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #680       +/-   ##
===========================================
- Coverage   77.40%   39.29%   -38.12%
===========================================
  Files          96       93        -3
  Lines        8016     7800      -216
===========================================
- Hits         6205     3065     -3140
- Misses       1470     4553     +3083
+ Partials      341      182      -159

Flag
Coverage Δ

integration-test
?

unittests
39.29% <ø> (+0.03%)
:arrow_up:

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

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


app.nit: Intro the app_files annotation, and use it in calculator

Intro app_files, an annotation to specify where to find more Android and iOS specific files. This effectively associates resources to a specific Nit module. It can be used to have different icons per branding, or to package graphical assets with a module from the lib.
It is used in the calculator to assign a different icon to the scientific calculator variant.

test osx please

+1

+1


chore: fix title render bug

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


[Feature]: Add support for undetectable browsers

Webscraping has become quite tricky recently, with CDN's detecting bots pretty easily.  It would be great if we could add support for one of the "undetectable" browsers.  For example -

https://github.com/daijro/camoufox
https://secretagent.dev/

Does the upstream have similar features?
Camoufox does support playwright, but only with python.
Is your feature request related to a problem? Please describe.
Many websites now spot playwright-go / playwright-go-stealth and block access.
Describe the solution you'd like
In an ideal world, it would be as simple as -
playwright.Install(&playwright.RunOptions{Browsers: []string{"camoufox"}})
...
pw.Camoufox.Launch()

Additional context
Camoufax v132.0-beta.15 and before supplied a launch binary which was usable with playwright-go by simply setting ExecutablePath :
pw.Firefox.Launch(playwright.BrowserTypeLaunchOptions{ExecutablePath: playwright.String("launch"))})

However launch has since been removed.
To keep my scraping going, I've taken the launch source into my project, https://github.com/plord12/webscrapers (specifically https://github.com/plord12/webscrapers/tree/main/launch and https://github.com/plord12/webscrapers/blob/main/utils/utils.go#L140).  This works with the latest Camoufox release.

I'm new user of playwright-go but I was able to run it with camoufox as server, but you need to run it over two different processes:
Install the latest version of camoufox
pip install -U camoufox[geoip]==0.4.6

Then install the latest (at this moment, not yet published) version of playwright-go
go get github.com/playwright-community/playwright-go@b6313db

And install the drivers (on my case, this fails because I use Fedora, however it still installs the driver)
go run github.com/playwright-community/playwright-go/cmd/playwright@b6313db install --with-deps

Then you need to start camoufox as server
Launching server...
Server launched: 683.392ms
Websocket endpoint: ws://localhost:38835/de22fd1ffd383c1d3669beada9e7eb73

Configure the Endpoint in your script:
package main

import (
	"log"
	"github.com/playwright-community/playwright-go"
)

func main() {
	pw, err := playwright.Run()
	if err != nil {
		log.Fatalf("oh lala: %v", err)
	}

	browser, err := pw.Firefox.Connect("ws://localhost:38835/de22fd1ffd383c1d3669beada9e7eb73")
	if err != nil {
		log.Fatalf("could not launch browser: %v", err)
	}

	page, err := browser.NewPage()
	if err != nil {
		log.Fatalf("could not create page: %v", err)
	}
	if _, err = page.Goto("http://<IP_ADDRESS>:8080"); err != nil {
		log.Fatalf("could not goto: %v", err)
	}

	if _, err = page.; err != nil {
		log.Fatalf("could not goto: %v", err)
	}
}


patchItemSave clears all inventories on world save

Description
The configuration, patchItemSave, clears all items from the world on either manual save (i.e. pausing the world on the client, or running /save-all on the server), or periodically by the auto-save timer.
Steps to reproduce.

/save-all, pause the game (client only), or wait for the auto-save timer. This may also apply when you stop and start the world on the client due to the potential of two save rounds occurring, one for pause, and one for server shutdown.
Notice how all items and inventories that stayed after the save round has disappeared, or has been emptied.

Cause
Line 26, this.setCount(0)
https://github.com/samolego/GolfIV/blob/354e9bf3cf89c93eff629392f8ae7d294cc868e8/src/main/java/org/samo_lego/golfiv/mixin/duplication/ItemStackMixin_SavePatch.java#L22-L37
Current Workarounds
Disable patchItemSave by setting the value in the config to false.
Possible fixes

Call the alternative save function when the inventory is known to be destroyed right after. This would include going through a portal or going into unloaded chunks.

I'm pretty sure I meant to implement this as if inventory would be destroyed afterwards, as you've mentioned in Possible fixes.  I'll release a version without this as it's clearly not the intended thing


[Azure-Data-Tables, Azure-Storage-Blob] - Connection Issues

azure-data-tables and azure-storage-blob:
12.4.1 and 12.16.0:
Linux:
3.10:

Describe the bug
We are encountering connection issues / retrying issues. Common exceptions that we encounter are:
azure.core.exceptions.ServiceResponseError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')
azure.core.exceptions.ServiceRequestError: EOF occurred in violation of protocol (_ssl.c:2396)
azure.core.exceptions.ServiceRequestError: (<urllib3.connection.HTTPSConnection object at 0x7ff1dc158040>, 'Connection to ... timed out. (connect timeout=30)
requests.exceptions.ConnectionError: HTTPSConnectionPool(...)', port=443): Read timed out
We are using standard interactions with Tables and Blobs and we would expect these issues to be not very common, but right know these happen at least once every 1000 interactions (rough estimate).
To Reproduce

Create a Table
Add, Remove, Update Entities etc.
Create a container
Add, Remove, Update blobs etc.

Expected behavior
We would expect that these errors are very rare.
Additional context
We use the default retry policy. We are running the code on AKS. We are using Hot storage for both Tables and Blobs and Standard tier. Is there a recommended better retry policy? How should be handle this behavior?

Thank for you for the feedback @filandra . We will investigate and get back to you asap.

Any update on this? Lately, we are frequently encountering these issues in our production system.

Hi @filandra and @pall-j, I can mostly only speak to azure-storage-blob as that's what I work with, but our default retry policy will retry these types of network errors up to 3 times and then return the error back to the calling code if we exceed that. If you have a high number of these network errors making it through to your code, you can consider increasing the retry count.
The easiest way to do this is pass retry count keywords to client constructors. You can set retry_total, retry_status, retry_connection, and retry_read to something greater than 3 (5 might be a good option).
service_client = BlobServiceClient(
    account_url=<account-url>
    credential=<creds>,
    retry_total=5,
    retry_status=5,
    retry_connection=5,
    retry_read=5)

You may notice though that retries start to take a long time do to our default backoff times (which we realize are not ideal and will be updating in the future). You may want to configure those timings as well if your request is time sensitive which can be done by creating and passing your own instance of the retry policy.
from azure.storage.blob import BlobServiceClient, ExponentialRetry

retry = ExponentialRetry(
    initial_backoff=1,
    retry_total=5,
    retry_status=5,
    retry_connection=5,
    retry_read=5)
service_client = BlobServiceClient(
    account_url=<account-url>
    credential=<creds>,
    retry_policy=retry)

For tables, things look similar but I'm not sure how to configure timings. See README

All that being said, consistently running into network errors that make it past our default retry policy is usually unexpected and can indicate something else is going wrong outside of the SDK where retries may not help much. A couple of things to consider:

We most frequently see an elevated number of network errors when the CPU/Network load on the client is too high. Please check the machines running your application for high load during times when you see these network errors. This is the most common cause of network errors like this as high load can cause timeouts or even exhaustion of the connection pool.
There may be some network issue between your client machine and Storage. Please ensure the network health on your end looks good.
Finally, there could be a network issue within Azure. If you feel this is the case, please open support ticket to have the backend team investigate further. The easiest way to do this is from the bottom of the left side panel of your Storage Account page in Azure Portal.

Thank you for the response, we have taken it into consideration and came up with a solution.


What does test "test/system.js" ?

Hi,
looking at test/system.js, I am not sure what this file is supposed to test.
It looks like a performance test, but the fact that there is no assert is kind of weird.
Because the connection between a client and a worker is asynchronous, we don't really know what is done in the meantime.

Hi @maxired
that was intended to consume file descriptors and see if pigato/0mq can free them correctly.
If you want you can change it in something more meaningful.
Thanks

Closing


Improve SAMR3x radio DT/Init code

This PR tries to improve the SAMR3X DT/init code, refer to the commits for more details.

@nandojve ping


Adds support for MPI distributed matrix

This PR adds a row-wise distributed matrix. Each rank owns a number of rows of the global matrix, as defined in a partition. Locally, the rows are split into a diagonal part which contains only entries with column indices that belong to the local row range.
The remaining entries are gathered into an offdiagonal part. The offdiagonal columns are renumbered such that empty columns are removed. This renumbering is stored in the matrix, although there is no access to it at the moment.
Current limitations:

only reference + openMP read kernels
only square global matrices are allowed
can't apply to vectors with multiple columns

Todo:

[ ] evaluate if we should add a column partition to the interface

Partially addresses #907

One more thing I would like to bring up and something we might want to address is different ways of creating a distributed matrix. To be specific, the auxiliary vectors such as gather_idxs, recv_idxs etc. Currently, these are setup only during one of the read_distributed calls.
I think it would be very useful to either have kernels or member functions to distributed::Matrix which setup this data from the locally stored matrix (row_ptrs, col_idxs, values).

@pratikvn I fully agree, though this could (maybe even should) be done in a subsequent PR. We definitely need to take good care to clearly describe how this data can be set up etc, so this should only be used by very advanced users

@upsj, Yes, I agree, we should probably tackle that in another PR, but I wanted to make a note of it, because it would be very useful, more so for our own Ginkgo internal projects than probably for external users. If anyone wants to interface distributed-ginkgo though, I think that will be essential.

format!

format!


DxWnd Config

I tried to run with DxWnd but nothing happened, still full screen and colors issue after Alt-Tab. Can you tell me how to config?

This is my DxWnd configuration export that runs fine on unpacked clients (Windows 7)
SoftnyxGunboundGIS.zip


Add name of users to PRs placeholders

Now we have an "Author" placeholder, that's a GitHub username, but I'd like to get another placeholder with the author name(full name).

It seems that this could be added in here as another placeholder:
https://github.com/mikepenz/release-changelog-builder-action/blob/f968a8466a6e8de0586884c110ca34a658ec2ed6/src/repositories/GithubRepository.ts#L62

Please test it out in v5.0.0-rc03

@mikepenz I've tested it, however for some reason it's always empty 😢 - I'm not sure why, as we have our full names in our github profiles - any advice? Sorry for a long time without response

@dnaploszek you work with PRs for the changelog? or commit based?

Squashed and merged commits from tag to tag

Then this is the problem I believe. commits don't have GitHub users associated if I am not mistaken. It should work for PRs though

That's odd, afaik we were using something different earlier that could extract the user name and it was working there, however I just jumped into this to resolve it at a later date so I cannot provide more details out of the box - maybe Ilya could - I'll sync with him on this soon

Well I've investigated it myself + talked with the team, for some reason it's not filled - sorry to bother, unfortunately this didn't solve our issue, we'll need to use github logins for references

Thanks for following up. I wonder if there's something else we can do. if you had a reproducible public open source repo or something we can test with faster that would help


Fixed compilation on MacOS X

Was unable to compile Godot on MacOS X 10.7.5 (Lion). I am not an Objective-C developer, but I believe the change is semantically equivalent to the original code.

@jrimclean Could you try to use git pull --rebase upstream master to sync your fork with the main repo? This would prevent useless merge commits like 86c87ee, 4e3ec18, 8edf4a5, 2f882ab and d23ee8e :)


Scrollbar shown when exporting PNG with auto-adjust width

Describe the bug
When exporting HTML code as PNG with auto-adjust width a scrollbar is shown in the image
To Reproduce
Steps to reproduce the behavior:

Add this code
Choose HTML as Language
Activate Auto-adjust width
Export as PNG

Expected behavior
There should not be a scrollbar displayed in the exported image.
Screenshots
The exported image:

Info (please complete the following information):

macOS
Safari

Hmm upon trying to recreate this, i got this image:

For lack of a better method, could you paste your localStorage.CARBON_STATE here?

This is my CARBON_STATE:
{
   "paddingVertical":"16px",
   "paddingHorizontal":"19px",
   "marginVertical":"45px",
   "marginHorizontal":"45px",
   "backgroundMode":"color",
   "backgroundColor":"rgba(255,255,255,1)",
   "dropShadow":false,
   "dropShadowOffsetY":"7px",
   "dropShadowBlurRadius":"21px",
   "theme":"one-light",
   "windowTheme":"none",
   "language":"htmlmixed",
   "fontFamily":"Ubuntu Mono",
   "fontSize":"18px",
   "lineHeight":"145%",
   "windowControls":false,
   "widthAdjustment":true,
   "lineNumbers":true,
   "exportSize":"2x",
   "watermark":false,
   "squaredImage":false,
   "preset":null,
   "loading":false,
   "online":true,
   "uploading":false,
   "aspectRatio":4.427184466019417,
   "icon":"/static/presets/1.png"
}


Try a build on Windows.

Please help keep the CHANGELOG up to date by providing a one sentence summary of your change:
Move Windows build to Azure Pipelines
Trying one build on Windows to work on https://github.com/rusoto/rusoto/issues/1391 .

Pipelines now covers the jobs AppVeyor was doing:

unit tests
unit tests with rustls
skeptic tests

Rust nightly build on Windows has been added to the job list, which we did not have before.
Assuming this all works we can drop AppVeyor: remove the appveyor config file, remove the badges, etc...

😆
There is not enough space on the disk.

Can't run unit tests on Pipelines.  Well then.


f#0-fn-dataprep-create-dataset-fix  fix create dataset with multi files

Description

fix create dataset with multi file, modify delete dataset
Related Issue :

release test
How Has This Been Tested?

fix create dataset with multi files

1.1. menu> MANAGEMENT > Data Preparation > Dataset > Generate new dataset

1.2. Multi file Upload and Create dataset

modify delete dataset

2.1. menu> MANAGEMENT > Data Preparation > Dataset

2.2. Delete dataset

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Additional Context

run build
deploy to 4


The testing requires /usr/bin/python to be present

As per above when you execute tests only with python3 available in the enviroment quite few of the tests will fail as the prog command calls /usr/bin/env python.
I think the tests should use sys.executable and prefix it where needed to make sure you actually use the python interpreter which is used to spawn the testing enviroment.

Thanks for the report. As described in #255, it's unfortunately not as simple as just using sys.executable. Please comment on that issue if you have anything to add.

By the way, the tests should always work from within a virtual environment, where python will always refer to the correct Python version. If you have restrictions that prevent you from using virtual environments, please add them to #255 so we can make sure our eventual solution works for your use case.


[BC Break] Switch to standard SQL by default

Failure due to appveyor choking on dependency download. can safely disregard.

@dwsupplee updated


Issue with login with facebook

The redirection to login is to default browser but after authorizing it does not redirect back to app to complete the login

This didn't work for me. It opened a separate blank white window and hung there.

Reposting the commit message:

There is some issue with facebook's login dialog popup window that
causes a blank popup after login with facebook. I tried to fix this with
out any success.
With this fix, the login should work by following a sequence of steps
noted in the point below. It's ugly as hell, but it works.
If you close the popup, go back to home screen by clicking on saavn
logo, click login again, click on login with facebook, close the empty
popup, you should be redirected back to home screen with your account
logged in.
 Why can't saavn release an app of their own
already? Why the hell are we having to muck with electron here?

Did not work for me. Another blank screen opens.


The requested_subtitles is null

THE **Subtitle **used work fine, but it's not working now

How to report bugs.


chore: export refreshCookie

🔗 Linked issue
https://github.com/nuxt/nuxt/issues/25633
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Resolves #25633
📝 Checklist

[x] I have linked an issue or discussion.
[x] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

Thank you ❤


python311Packages.graphql-core: 3.2.3 -> 3.3.0a3

Diff: https://github.com/graphql-python/graphql-core/compare/refs/tags/v3.2.3...v3.3.0a3
Changelog: https://github.com/graphql-python/graphql-core/releases/tag/v3.3.0a3
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Too many failures...update has to be postponed.


v0.18.0 OLM release

Signed-off-by: Daniel Sover<EMAIL_ADDRESS>
Description of the change:
Motivation for the change:
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive

/test unit

/lgtm

/approve


[FEATURE] Create web application version

The reason WHY this new feature is needed

It must be useful if the app runs on a browser

Describe WHAT this new feature is

Create a web application version

HOW to achieve this new feature

Implement under the following directory:

https://github.com/iwatake2222/rotation_master/tree/master/web

Port all logic to JavaScript or TypeScript
The following libraries may be useful

https://github.com/KhronosGroup/WebGL
https://github.com/jnmaloney/WebGui

Related issues

Parent issue

None

Related issue

None

Additional context
None

Hi,
I've looked at the application and I found it so interesting. I'm a C++ programmer and would like to port the application to we version using TypeScript and Threejs library. Feel free to let me know what I need to get started with this.
Thanks

@naftalimurgor
Thank you!! It will be really greate if we can run it on a browser. However, I just started another project, so I'm not working on this issue for the time being. Also, I'm new to web applicatation development and don't have any plan how to make it at all...
It's just an idea but maybe we can base on https://www.andre-gaschler.com/rotationconverter/ All conversions are already implemented, so basically all we need will be drawing axes and object using the calculated rotate matrix.

Hey,
I got busy and won't be abe to find time working on this issue.

https://github.com/astomih/rotation_master
https://astomih.github.io/rotation_master/


JOIN retrieves only fields from 1 table instead of combination from both

Creating 2 tables with slightly different content, and performing some JOINs
alasql('CREATE TABLE aa (id INT, gid INT, icao STRING, iata STRING)'); alasql('INSERT INTO aa (id, gid, icao, iata) VALUES (1, 1000,"LOWW", NULL)'); alasql('INSERT INTO aa (id, gid, icao, iata) VALUES (2, 1000,"EHAM", "AMS")');
alasql('CREATE TABLE bb (id INT, gid INT, icao STRING, iata STRING)'); alasql('INSERT INTO bb (id, gid, icao, iata) VALUES (3, 1000,"LWSK", "SKP")'); alasql('INSERT INTO bb (id, gid, icao, iata) VALUES (4, 1000,"EBBR", NULL)');
alasql('SELECT * FROM aa JOIN bb USING gid');
Returns the rows form bb 2 times. (4 rows in total)
But was expecting 4 rows with a combination of fields from aa and bb.
alasql('SELECT aa.*, bb.* FROM aa JOIN bb USING gid');
Yields same result.
alasql('SELECT aa.id, bb.id FROM aa JOIN bb USING gid');
Yields same result with only the id field from bb 2 times.
alasql('SELECT aa.id AS aaID, bb.id AS bbID FROM aa JOIN bb USING gid');
Expected result! Fetching all combinations of id's from aa and bb (4 rows in total)
I think the statements without field aliases (AS) just overwrite their particular fields in the result set.
Where SQL would probably prepend the table name/alias to those fields.
(Result would have fields like: aa.id, bb.id)
This might be related to #402
(AlaSQL v0.2.5, FF45)

Thanks for a great description.
Lets talk about the subject in #547 to keep history (and as you closed this issue i guess thats what you had in mind...)


Feature: Settings

This feature uses the dropdown menu from this task https://github.com/leather-wallet/extension/issues/4312
https://www.figma.com/file/2MLHeIeL6XPVi3Tc2DfFCr/❖-Leather-–-Design-System?type=design&node-id=10352-137977&mode=design&t=hjqmbIyJGAvKngKO-4

https://github.com/leather-wallet/extension/assets/119523541/da36ad7f-bf9b-4e5d-8839-825ec3bcba23

@markmhendrickson @mica000 - I'm just going to implement this now in #4370 , I hope thats OK?
It makes sense to do as I need that new menu and it will help to fix https://github.com/leather-wallet/extension/issues/4826 and https://github.com/leather-wallet/extension/issues/4826 anyway.

@pete-watters Sounds great! Let me add the icons to this ticket as I forgot about this.

@pete-watters Settings icons.zip

Some of them are new, so they will need to be added to the Icons Package

This process here isn't great bc I'm working on this!

Sorry! My bad! There is indeed an overlap between the tasks. In this case, since you are working on the Icons Package, guess they will be added there and then Pete will pull them to this feature, I assume?

Sorry! My bad! There is indeed an overlap between the tasks. In this case, since you are working on the Icons Package, guess they will be added there and then Pete will pull them to this feature, I assume?

Sounds good, can you add to the Icon Export list? Pete can keep using the PlaceholderIcon until I get mine merged.

@fbwoolf don't worry, I will use placeholders then consume the icons when ready 👍
Thanks!

I've implemented most of this, without the icons and using the menu items we have already.
I am facing some weird UX issues with the sub-menu dropdown so I am deferring work on that for now and we may consider how we intend to use it. You can see in here:
https://github.com/leather-wallet/extension/assets/2938440/51b74c29-aaab-4a5a-b9fa-659ff471242d

we need the sub menu to open on the opposite side and it's against the natural flow
to use the keyboard we need to use the right arrow but the menu is shown on the left
we don't really have space to have a sub-menu in extension mode
it's quite hard to hover and then click so it's unusable right now

No doubt with some more work we can figure this out but for now I will just implement the basics

Thanks @pete-watters! Should we provide feedback on it? If so, could you share the link to the PR?

Sure, share feedback if you want. I have more work to do fixing bugs but I will take it into consideration.
It's the same PR as containers - https://github.com/leather-wallet/extension/pull/4655

I changed the milestone for this issue bc I couldn't easily find it. It is being worked on with the container work.

Moved this into code review now as I made a final change to settings menu width so it should be complete now

Great work here! 👏👏👏👏👏


Test branch

Removed package.lock file
Removed node out of dependencies list
Changed node version to the latest

Looks good


Checkout error code 0

Hi!
I have an error on a checkout, can you help me please
"The value of a field does not conform to the expected format."
PS version <IP_ADDRESS>
Paypal module  5.3.1

Hello,
Thank you for your message.
Could you please check if the rounding settings are correctly set in your environnement?
https://help.202-ecommerce.com/paypal-for-prestashop/problem-of-rounding/
Best regards,
Tetiana

Hello, thanks for your response,
I checked out, and the rounding settings are correct, its weird because it use to work just fine.

Hello,
Thank you for your response.
We have release the new version 5.3.2 (available on addons), please install it. If the problem persists I invite you to contact our support team, we will check the issue in your environment.
Thank you in advanced !
Regards,

I also have the same problem on ps version <IP_ADDRESS> and paypal module 5.3.2

Hello @rafarx,
There can be different reasons of this error.
Please contact our support team, we will help you to fix this issue.
Best regards,


Questions

Thank you for this library, I'm new on react-native, so I have a few questions, that hopefully you can help me to clarify:
I need a way to send data from and android device to a PC.
I'm using this library and I can see usb devices only when i enable OTG in the system settings, otherwise nothing is detected.
Doing so tough, the PC is not able to detected the attached android device.
I've set up screen that uses the same code as in the documentation and did some test wit OTG enabled, trying to send data with RNSerialport.writeString('test') but i get a Device Not Supported error.
Can you please help me to understand how to set it up so that I can get usb devices without enabling OTG ? And regarding the "device not supported" error, does it means that perhaps the library is not compatible with the usb chip integrated with the tablet ?
Thanks.

Hi,
I've never tried this.
I'm not sure if the COM ports on the computer behave like a serial port by default.
If you have received a device not supported error, the device you are trying to connect to is not supported.

@melihyarikkaya  That would be very helpful. Thank you

Hi,
This library connects with the serialport (serial device) module.
Computer and android device USB input is USB host by default and is not USB device.
See link
I hope I understand the problem.

Hi @melihyarikkaya
You are right, I've also seen that page and that is indeed a problem for my use case.
However the tests I've done were with devices like a printer and a USB stick.
As I said I can detect these devices only when in OTG mode. When detected I try to connect with RNSerialport.connect(deviceName, 9600) but i always get unsupported device.
Do you know what the problem could be ? Maybe because the device drivers are required ?
Thanks.

This indicates that the device driver is not supported by the library.  I didn't update  felHR85/UsbSerial.
I plan to make the uptade soon.
Maybe the new version can support the device.
Which device are you using?

This indicates that the device driver is not supported by the library. I didn't update felHR85/UsbSerial.
I plan to make the uptade soon.
Maybe the new version can support the device.
Which device are you using?

This could be great to update  felHR85/UsbSerial but beware it will require some new dependencies (Java 1.8 need and others) and this will be reflected on calling projects.

@melihyarikkaya I've tested connecting an HP Deskjet Printer 3520, a SanDisk Pen Drive, an Android Phone. All of them are detected, meaning that when i call getDevices they are listened.
But when i try to connect it give me the Not Supported Error.

To debug, you can try to use droidterm app on android store based on USbSerial, if you can see some frames (communication between your android device and others device) you have a trouble with your code.

Thanks @allan-cornet-eove
From droidterm UsbVirtualSerial Port i see: Usb device not supported: unknown device Vendor HP Inc.
From USB Viewer I can see 1 interface with 3 endpoints when no device is connected. The tablet has 2 usb port and 1 serial port.
When I connect the printer it shows 5 interfaces, each of them has 2/3 endpoints.
Maybe I'm using the wrong interface ? If i have my printer listed at the inteface 5, endpoint 1, how should i set  RNSerialport.setInterface ?
Thanks

"From droidterm UsbVirtualSerial Port i see: Usb device not supported: unknown device Vendor HP Inc."
so, react-native-serialport can not support this device.
@melihyarikkaya, your opinion ?

An error message occurs when the interface is incorrect.
If you see the message device not supported, there is no driver for this device.

That happens event with a USB stick, is a driver required for it ?
I'm start thinking something with the Tablet ports might be wrong.

I can't find information on the internet for your printer serial port support.

How can i read the payload as ASCII or string?

if your returned data type is INTARRAY
onReadData(data) {
  let intArray = data.payload;
  let str = "";
  let radix = 10;
  for (var i = 0; i < intArray.length && intArray.substr(i, 2) !== "00"; i += 2) {
    str += String.fromCharCode(parseInt(intArray.substr(i, 2), radix));
  }

  console.log(str);
}

or HEXSTRING
onReadData(data) {
 let hex = data.payload;
  let str = "";
  let radix = 16;
  for (var i = 0; i < hex.length && hex.substr(i, 2) !== "00"; i += 2) {
    str += String.fromCharCode(parseInt(hex.substr(i, 2), radix));
  }
  console.log(str);
}

I have a PAX s90 pos system i am trying to establish communication with, but it keeps display device not supported. Any suggestions?

Can I set the buffer size when I read the connected device?


Gift Entry - Opportunity: Campaign ID is not available to be selected in Form Fields

Issue
When editing a Gift Entry template, by default the Opportunity: Campaign ID is included on a newly created Default Gift Entry Template; however, if the field is removed from the template, it is not available as a field to be added or removed from the Form Fields section.
Workaround

Create the template again from scratch and regenerate as the default if it is the default template that is affected.

W-9664152

I have also found this in my orgs.

Please follow this Known Issue in the Trailblazer Community for updates.


Dependency Conflicts during Installation

Hi,
I recently came across this repository and I really wanted to check out its results on some data as I have tried a lot of time series forecasting methods but most of them didn't seem to work well. I tried to set up timemachines on Google Colab but I run into dependency conflicts.
u8darts 0.16.0 requires scikit-learn>=1.0.1, but you have scikit-learn 0.24.2 which is incompatible.
u8darts 0.16.0 requires statsmodels>=0.13.0, but you have statsmodels 0.12.1 which is incompatible.
salesforce-merlion 1.1.1 requires numpy>=1.21; python_version >= "3.7", but you have numpy 1.19.5 which is incompatible.
salesforce-merlion 1.1.1 requires scipy>=1.6.0; python_version >= "3.7", but you have scipy 1.5.4 which is incompatible.
salesforce-merlion 1.1.1 requires statsmodels>=0.12.2, but you have statsmodels 0.12.1 which is incompatible.
greykite 0.3.0 requires pandas<1.3,>=1.1.3, but you have pandas 1.3.5 which is incompatible.
greykite 0.3.0 requires statsmodels>=0.12.2, but you have statsmodels 0.12.1 which is incompatible.
google-colab 1.0.0 requires ipython~=5.5.0, but you have ipython 7.31.1 which is incompatible.
google-colab 1.0.0 requires pandas~=1.1.0; python_version >= "3.0", but you have pandas 1.3.5 which is incompatible.
google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.27.1 which is incompatible.
fbprophet 0.7.1 requires cmdstanpy==0.9.5, but you have cmdstanpy 0.9.68 which is incompatible.
timemachines 0.15.0 requires numpy>=1.19.5, but you have numpy 1.19.3 which is incompatible.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.
albumentations 0.1.12 requires imgaug<0.2.7,>=0.2.5, but you have imgaug 0.2.9 which is incompatible.

I was wondering if you guys had some sort of installation script where the versions of each dependency are written because I can't really seem to resolve these conflicts.

Okay to close this?


[VS Code] Join failed. The specified value isn’t a valid Live Share URL. Please check the link provided by the host and try again.

<!--
For Visual Studio problems/feedback, please use the Report

@DashLee Hey! Per the message, this error indicates the session URL you tried to join wasn’t valid, which is typically due to a copy/paste error. If you simply retrieve the correct URL from the host, and try joining again, you should be unblocked 👍
I’m going to close this issue as by design, but please re-open it if you encounter this error for a session URL you know is valid. Thanks!


container/list: change Len(), Front(), and Back() methods to allow nil receiver

At the moment List.Len() panics when called with an empty receiver:
https://play.golang.org/p/60wWutjR-mt
This is not consistent with the built-in len implementation that allows nil parameters: https://golang.org/pkg/builtin/#len

I signed it!

Closing this PR after discussion on golang.org/cl/134636


support 3channel wavs

support for 3channel wavs woul be very nice.
necessary changes:

update the resampling pipeline (3rd channel must be available, but discarded before playback)
add an option to enable/disable z-modulation when there are three channels
update the shader accordingly

Hi Hansi, I'll go ahead and comment here. In a typical oscilloscope, Z modulation controls the brightness of the beam. It is a unipolar signal in the positive domain only (although I don't see why the digital version couldn't simply wrap everything in a bipolar signal around into positive brightness values again). I would love to see support for this for a live audio input stream, so that it could be better integrated with my Vector Synthesis project. Thanks!

imho -1..0 mean a reduction in brightness and 0...1 a boost in brightness seems intuitive give how digital audio works.

Yes that makes sense!

I guess that would sum with whatever value the GUI has set for the brightness?

i'm guessing a multiplication with a^z with some fixed a, but not sure.
should be easy enough to derive the actual equation by taking a few pictures of the effect on a scope.

i went for 0...1, making it darker (as i said earlier) actually makes no sense, because it's already invisible at 0 :)
for now i'm clipping that range (ie less or equal zero is invisible).
liveinput has no channel selector, so for now this works with file input only.
sending you a binary in a bit.

clsoing this because ... it's already in the master branch and seems to work (just not publicly released yet, but that's another story).


Dialog with open={true} can become closed.

What RMWC Version are you using [major.minor.patch]:

6.1.3

Name your build system [Webpack, Rollup...]:

Create React App

Describe the bug with as much detail as possible:

I want to control the state of the dialog (open / closed) by a prop. When the dialog is closed by scrim click or a escape key, the open prop on the dialog stays true, but the dialog closes.

What happened:

On scrim click, dialog closes, but the open prop remains true.

What was supposed to happen:

I want the dialog to be opened when the prop is set to true. When I click outside the dialog, I would expect the onClose callback to be called with undefined value of evt.details.action and there I can decide, if I want to close the dialog (by setting the value of open to false or I want to keep it open.

Sandbox

https://codesandbox.io/s/rmwc-typescript-sandbox-forked-qxlm7?fontsize=14&hidenavigation=1&theme=dark
Is this expected behaviour?
Thank you for your answer!

Any updates on this please?

Hi, I'm having a related issue. I'm using a form as the content of my dialog, and I'd like to prevent the dialog from closing if the form fails to submit due to validation or an error. Similar to the OHUSAR's problem, I can't seem to keep the dialog open. It closes even when the 'open' prop is set to true.

Yeah, I'm also having the same problem. Under some deadlines right now at work, but if someone wants to fix it I'd happily take a PR.

I'm not sure if rmwc can fix this as material/dialog already closes the dialog and then calls the ´notifyClosing´and ´notifyClosed´ foundation methods after which we all call setOpen(false) but the ui will have changed already before the state is updated. So calling setOpen(false) here is only done to 'match' the state value with the actual UI.
I can be wrong of course.


deps: upgrade to use go1.19

deps: upgrade to use go1.19
remove deprecated io/util APIs

ready to 🚀  cc @minamijoyo


[FEATURE]: Return pd.DataFrame if X is DataFrame after split

Is your feature request related to a problem? Please describe.
If X is a DataFrame with meaningful index, X_train and X_test are ndarrays without original index.
Use-cases/examples of this new feature
Return X_train, X_test as pd.DataFrame, y_train, y_test as pd.Series (or DataFrame, based on what y is).
Desired solution/workflow
Just like this package: https://github.com/yu9824/kennard_stone
Discussion
Additional context
Thank you!

I also noticed the builtin K-S algorithm is quite slow compared to yu9824's code. Could it be the same as yu9824's?

Return X_train, X_test as pd.DataFrame, y_train, y_test as pd.Series (or DataFrame, based on what y is).

We will definitely implement this - particularly for pandas dataframes which we know are enormously popular.

I also noticed the builtin K-S algorithm is quite slow compared to yu9824's code. Could it be the same as yu9824's?

We actually used to exclusively use that implementation and ultimately stepped away from it. yu9824's code will automatically normalize the input space and drop features with zero variance. While this does improve the speed, we don't want to modify the user's inputs without them knowing - especially to us, where the features are interpretatable and need to remain as they were input.
The KS algorithm in astartes was written by us and is much faster on datasets with fewer than 500 samples, which was the limit of our testing (so thanks for bringing this up!). I have now done extensive performance tuning on the KS sampler and managed to beat that implementation by a lot - I will open a PR now.

I also noticed the builtin K-S algorithm is quite slow compared to yu9824's code. Could it be the same as yu9824's?

We actually used to exclusively use that implementation and ultimately stepped away from it. yu9824's code will automatically normalize the input space and drop features with zero variance. While this does improve the speed, we don't want to modify the user's inputs without them knowing - especially to us, where the features are interpretatable and need to remain as they were input.
The KS algorithm in astartes was written by us and is much faster on datasets with fewer than 500 samples, which was the limit of our testing (so thanks for bringing this up!). I have now done extensive performance tuning on the KS sampler and managed to beat that implementation by a lot - I will open a PR now.

1.0.2 is now out (see #126) is out and now implement this :tada:!

Thanks @pikakolendo02!
We have now merged #127 which also adds support for some Pandas types.


Use version from CR in desired state

Towards https://github.com/giantswarm/giantswarm/issues/9079

Tested on ghost.


Geocode search

Tried acouple different configs and can't figure it out...How do you do a simple get request using the reverse geocode part of the Twitter API?
I tried:
client.get('search/tweets', {q:'37.76893497,122.42284884'}, function(error, tweets, response) {           res.json(tweets)       })
and
client.get('geo/reverse_geocode', {lat:'37.76893497', long:'122.42284884'}, function(error, tweets, response) {           res.json(tweets)       })

Ah ok it should be like this:
          res.json(tweets)
      })```
Maybe this will help someone someday. Issue closed.