Benchmark Truffle "add" for arrow-language and Column.+

There already is an implementation of arrow-language written by @hubertp. There is an interest in cleaning up the current Storage architecture particularly to clearly separate storage from operations. @JaroslavTulach claims that the most efficient (and at the end also simplest) implementation can be achieved by using Truffle. Let's run an experiment to verify such a claim!
The documentation of Column.+ mentions two examples:
             vector_plus = Examples.float_column + Examples.integer_column
             scalar_plus = Examples.integer_column + 10

let's reimplement them with the Arrow language. Then let's generate a million item column and benchmark them against each other.
API
The Arrow language already supports two operations: new[type] and cast[type]. E.g. one can write new[Int32] and gets a function that can be called to allocate array of provided (as function argument) size. Let's introduce new syntax:
+[type]
parsing such statement is going to produce a function (e.g. isExecutable object) that takes two arguments. When invoked, it'd check whether both arguments hasArrayElements. If so, they have to have the same getArraySize(). Then the function would create new[type] for appropriate size and filled the arrow column with added content of both arrays. If one (or both) arguments are scalars, then the same behavior as scalar_plus would "happen".
One of the important steps in the implementation are conversions. The values need of arguments need to be converted to the target type of the resulting array. Such conversions can benefit from Truffle @Specialization and effectively compute the optimal result.
Expected Result
After final benchmarking we shall see that the Truffle results are faster, yet the code remains simple.

#10164 just got merged into the main line


Resizing in Zone Editor breaks when dragging too fast

Environment
Windows build number: 10.0.18362.356
PowerToys version: 0.11.0
PowerToy module: FancyZones

Use new zone editing experience (preview) enabled
Steps to reproduce
PowerToys settings > FancyZones > Edit zones > Create new custom
Add a zone, grab a border to resize it, and drag quickly (intending to expand the zone)
Expected behavior
Standard resizing behavior, i.e. the zone edge follows the cursor anywhere it's dragged
Actual behavior
If the cursor goes outside of the zone, it loses focus and stops resizing. I have to move my mouse really slowly to expand a zone while keeping the cursor within its bounds.

Windows build number: 10.0.18362.356
PowerToys version: 0.11.0
PowerToy module: FancyZones
See this on my end as well.
I'm using a 12000 DPI mouse on a Full HD monitor with 100% scaling.
The border resize is broken within about half a second. This is incredibly frustrating.
I added a key to downshift to 200dpi and still have to move my hand veeeeeery sloooooowly to not break it.

https://forums.thebrain.com/post/bug-11-0-19-0-dragging-is-broken-10284365?pid=1309670145
similar behaviour shown with an entirely different program called "The Brain 11".
Maybe talk to each other, figure out what you're each doing or how Windows 10 screws you both over.

@bzoz can you try to reproduce it? Thanks.

if it's helpful, i can try to get a screen recording showcasing the problem.
fwiw i once wrote a similar bug myself. i had some code to detect when the user was dragging inside a rectangle. once it detected that the mouse went down within certain bounds, it transitioned to a "dragging" state. however, even in that dragging state, it still checked if the cursor is within the rectangle's bounds, so it'd stop dragging as soon as the cursor exited the rectangle (which is not what we want). so i'd look for something like
if (inRect(mousePos, rect)) {
    if (mouseDown) {
        dragging = true;
    }
    // ↓ shouldn't be here!
    if (dragging) {
        ...
    }
}

Fixing another drag related issue may have also fixed this problem.
The fix is in master and it will be available in the upcoming release.

@lubieowoce @DavidGretzschel
have you tried v0.13.0? Is the problem still present for you?
Thank you.

I finally had the chance to test the fix using a 12000 DPI mouse on a 4K monitor (using different scaling settings) and it seems to work fine.
I'm closing the issue, but please reopen it if the fix doesn't work for you.
Thanks.

works now. Thank you.


clangd not hiding suggestions after comma or space

Checkhealth
Put result of :checkhealth compe.
## compe:snippet
  - OK: snippet engine detected.

## compe:mapping
  - INFO: `compe#complete` is not mapped
  - OK: `compe#confirm` is mapped: (`i  <CR>          vsnip#available(1)  ? '<Plug>(vsnip-expand-or-jump)' : compe#confirm("<CR>")`)
  - INFO: `compe#close` is not mapped
  - INFO: `compe#scroll` is not mapped

Describe the bug
while using the clangd server from lspconfig comma and space don't hide the autocomplete suggestions, they only filter it to only show functionf
To Reproduce
Steps to reproduce the behavior with the minimal config:
add Plug 'neovim/nvim-lspconfig' to the plug section of the minimal.vim
add this to the end of the minimal.vim
lua<<EOF
require'lspconfig'.clangd.setup {}
vim.o.completeopt = "menuone,noselect"
require'compe'.setup {
    enabled = true;
    autocomplete = true;
    debug = false;
    min_length = 1;
    preselect = 'enable';
    throttle_time = 80;
    source_timeout = 200;
    incomplete_delay = 400;
    max_abbr_width = 100;
    max_kind_width = 100;
    max_menu_width = 100;
    documentation = true;

    source = {
        path        = false;
        buffer      = false;
        calc        = true;
        nvim_lsp    = true;
        nvim_lua    = true;
        vsnip       = true;
        ultisnips   = false;
    };
}
EOF

Actual behavior
typing a comma or space during autocomplete filters suggestions to only show functions
Expected behavior
typing a comma or space stops autocomplete
Screenshots (optional)
https://user-images.githubusercontent.com/44543806/129456037-e7490077-f361-4805-b12d-6dd2520ed9db.mp4
Additional context (optional)
cland version 12.0.1

I have the same problem with clangd.
function!  CloseComplete(...) abort
  if mode()[0] ==# 'i' && pumvisible()
    return "\<C-e>,\<C-r>=luaeval('require\"compe\"._close()')\<CR>"
  endif
  return ","
endfunction

imap <silent> <expr> , CloseComplete()

I use this script in ftplugin/cpp.vim as a tempoary solution. This function is inspired by  compe#close.

It seems that clangd still offers suggestions when (, , (or other characters) are typed. But other language server dose not (test on lua and python). Other completion plugs like coc and vscode's completion work with clangd well. Maybe there are addtional checks for these charcters.


composer bin

Hi Jonathan,
promising new project - congrats.
One thing that caught my eye is the path to the "binary". Not sure if you omitted it on purpose, but why not make it globally accessible via composer; especially when used in another project (which must be the final goal)?
https://getcomposer.org/doc/articles/vendor-binaries.md
Cheers

It isn't clear to me yet how that could work since the binary needs to be customized and setup for each project currently.

This should work now. You can take a look at jwage/phpchunkit-demo

Awesome. Just wanted to clarify - but you guys are quick! I agree keeping the bin file the immutable entrypoint and configuring via another file is probably the cleanest solution.


add nth root calculator

Issue Id you have worked upon - #581
Briefly explain your program logic -
Used Math library of javascript to calculate the nth root of the number provided by the user
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @ShashWorks on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.

Hey 👋, may you also encourage us by clicking the star icon on the repository main page. ⭐


✨[Feature Request]: Fix Navbar Design and Redesign

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I would like to update the navbar to improve the design and functionality. Currently, there are a lot of icons in the navbar and the container does not have a max width set, causing it to appear cluttered and unorganized. I would like to implement a fixed max width for the container to ensure a clean and consistent layout.
Use Case
A good-looking navbar can significantly enhance the user experience on a website or application by providing easy navigation and access to important features. Here are some use cases and advantages of a well-designed navbar:
Benefits

Easy navigation: A clean and organized navbar makes it easy for users to find their way around a website or application. This can be especially useful for complex or content-heavy sites where users may struggle to find what they are looking for.

Improved user engagement: An attractive navbar can encourage users to explore different sections of a site, leading to increased engagement and interaction with the content. This can ultimately result in longer time spent on the site and higher conversion rates.

Mobile responsiveness: A responsive navbar that adapts to different screen sizes and devices ensures a seamless user experience across all platforms. This is particularly important as more and more users are accessing websites and applications on mobile devices.

Access to key features: A well-organized navbar can highlight important features, pages, or calls-to-action, making it easier for users to access the most relevant information. This can help drive conversions and achieve business goals.

Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

I want to work on this issue, please assign me this issue and also add label for it.

hey @varshith257 I want to work on this issue, please assign me this issue and also add label for it.

I also want to work on this @varshith257 Please assign it to me

@varshith257 Please acknowledge

Hey @MinavKaria 👋! Here you go ....

@MinavKaria If you don't get replies from me just tag by next day. I usually get lot of messages of GitHub so I can't verify which have been tagged to me :)

@MinavKaria If you don't get replies from me just tag by next day. I usually get lot of messages of GitHub so I can't verify which have been tagged to me :)


[#4012] improvement(client-python): Refactor Error Handling in client-python

What changes were proposed in this pull request?

Refactor the error handling structure, each API can implement their own error handler to raise custom exceptions
Add unit test for error handler, but unit tests and integration tests for each API(ex. metalake, catalog, schema) have not been added, I will create issues for them.
Create gravitino/exceptions/base.py to define all the exceptions.
Remove some unused files and exceptions

Why are the changes needed?
Fix: #4012
Does this PR introduce any user-facing change?
No
How was this patch tested?
UT added and one IT added, test with ./gradlew clients:client-python:test

@ian910297 @rich7420 Can you please help to review this?

Overall LGTM, just one comment, @noidname01 can you please confirm this?

Thanks @noidname01 for your work, can you please continue on the left works, thanks.


Add Authorino

@guicassolato added this integration a few months back in https://github.com/Kuadrant/authorino/pull/375

I think we've got it in here: https://github.com/authzed/awesome-spicedb?tab=readme-ov-file#third-party-integrations


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 962 ms

Resolved: Bofrost.de performance has improved in e0f9ab2.


Implement FQFNv2

The FQFNv2 constituent parts are:

com.suborbital.acmeco: the application identifier, not used in a single-application system.
98qhrfgo3089hafrouhqf48: the application’s hash. Version is not needed in a single-application system.
api/users: the namespace (can have unlimited nesting, may only contain alphanums, dashes, and underscores)
add-user: the function name (always the last URI path element)

Combining those parts, an FQFN comes in various forms:

fqfn://com.suborbital.acmeco/98qhrfgo3089hafrouhqf48/api/users/add-user (text representation)

ℹ  Note: Applications are explicitly versioned in this scheme, not functions. Applications are versioned containers of implicitly versioned functions.

/api/users/add-user (single-application URI representation)
/ref/f0e4c2f76c58916ec258f246851be/api/users/add-user (reference to a version of a single-application function)
/com.suborbital.acmeco/api/users/add-user (multi-application, single-domain URI representation)
/ref/f0e4c2f76c58916ec258f246851be/com.suborbital.acmeco/api/users/add-user (reference to a version of a multi-application, single-domain function)
https://acmeco.suborbital.com/api/users/add-user (multi-application, multi-domain URI representation)

Routing is performed by reversing the request’s domain to arrive at an identifier
Accessing a specific version: https://acmeco.suborbital.com/ref/f0e4c2f76c58916ec258f246851be/api/users/add-user

Parse should support all of these forms. As such, application identifier and hash are both optional fields (nil-able). Application identifier detection should be done by checking that the first segment matches the foo.bar.baz format. It should be noted again that namespaces can be arbitrarily nested with slashes.

Completed elsewhere.


cannot open port settings of HyperTerminal Using WDFSerial driver sample under windows xp

I am new to windows device driver development, I have a PCI bus device and I want to test the windows wdfserial.sys device driver on the device under windows XP, the communication is OK, but I just find that, when I'm using the system supplied HyperTerminal.exe to set the properties of a COM port, there is no pop-up window of port settings tab when I click the settings button, Any idea?

Does “mode COMx” command work for you?
From: Michael Wu<EMAIL_ADDRESS>Sent: 07 November 2016 08:47
To: Microsoft/Windows-driver-samples
Subject: [Microsoft/Windows-driver-samples] cannot open port settings of HyperTerminal Using WDFSerial driver sample under windows xp (#89)
I am new to windows device driver development, I have a PCI bus device and I want to test the windows wdfserial.sys device driver on the device under windows XP, the communication is OK, but I just find that, when I'm using the system supplied HyperTerminal.exe to set the properties of a COM port, there is no pop-up window of port settings tab when I click the settings button, Any idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/Windows-driver-samples/issues/89, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKd5n2lnX9IhB3aFqtAcDgxwILoD2LTfks5q7uV2gaJpZM4Kq9i3.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Thanks for your reply @AlexeiFedorov , the command you formerly mentioned does work for me, but I think I found where the problem is. I just pulled a request to submit my modification of the source code.

Merge pull request #93 - Fix NULL-terminating device name when writing to DEVICEMAP/SERIALCOMM


Implements Github app to get access to repo for deploying sites

Pushed the implementation in dev-github-app branch. Closing this issue!!!


Use broader template-lint range

Closes https://github.com/ember-tooling/ember-language-server/issues/417

it works

@NullVoxPopuli thank you for confirmation! I did not able to figure out how to properly test it in automatic way, planning to give it a run today on a few ember projects (version zoo) locally, and if it's works fine - we good to go!

🎉 Thanks so much for making this land :)


Segfault after selecting a directory

As the title suggests I'm running into a segfault after selecting a directory as per the example source provided in this repository on Ubuntu 22.04 and haxe 4.3.3.

I need to update the samples a bit so they won't do that (they kinda need to have threads added).

Try with the current samples


Dark mode:

Disable Dark mode for this release.
Also make sure upgrading users are forced to use the normal mode only. Reset their flag.

This issue is already assigned to @akshay8551
We can close this @cakesoft-swati

Closing this issue as discussed.


Added @example tags to src/instance.js

Fixes #157 for Instance.js (it's a good idea to open an issue first for discussion)

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

@jabubake: Do we need tests for these snippets?

@sduskis : Yes, ensuring these are tested will help maintain them.
Since these snippets are for the API methods, one option to minimize the number of tests is to ensure that the integration tests for the library leverage these snippets as test cases.

Samples actually have their own testing files and conventions: https://github.com/googleapis/nodejs-bigtable/tree/master/samples. See the system-test directory.
There is already a file, instances.js. Maybe these new tests should be moved into that file, then tested from system-test/instances.test.js?

@stephenplusplus I agree there is overlap here : in this case, samples/instance.js provides a clean way to run through basic use cases in a single format. The snippets are intended to focus on the the different ways of  calling the API w/ promise, callback etc. This is a little unique to node.js, so i'm fine with the additional source file here vs cluttering samples/instance.js : we can maybe remove the cli from the document-snippets/instance.js and just have tests written against it, so that developers do not run into weird states running the CLI  commands out of order.

@stephenplusplus, do you know how to generate API documentation?  That's important in testing this PR.

That's all done behind the scenes from me. @jmdobry can probably help.

I searched for generating API docs that pull in examples from other files, but no where in JSDoc guide found region_tag being used to for same.
@jmdobry can you please help here.

If your changes were on a branch of the nodejs-bigtable repo itself, I could stage the API ref docs to test their use of region_tag. I don't have a way to test when the changes are on a fork.

@jmdobry, can you potentially use  vijay-qlogic:tag-example-comments as the branch?

@jmdobry I have referred nodejs-spanner to include region_tag, But I see Document generation in nodejs-spanner repository as well

@jmdobry, I created a new branch on nodejs-bigtable called docs-test.  Can you please try it out?

Hi Jason,
Can you please verify the "example" section while generating the API Docs.
Because in my case "region_tag" do not pulls the example code.
Sharing the screen-shot here.
On Fri, Jul 20, 2018 at 10:46 PM, Jason Dobry<EMAIL_ADDRESS>wrote:

I tested generating and staging the docs using your docs_test branch,
looks good.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/nodejs-bigtable/pull/222#issuecomment-406667171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiYqSLal5zHDSOy8rqBdXXqjpq2O6K1Oks5uIhBhgaJpZM4U5GFk
.

@vijay-qlogic, this was verified.


binwalk: 2.3.3 -> 2.3.4

Description of changes
Fixes CVE-2022-4510
The binwalk release fixes a PFS directory traversal / code execution bug. Credit: Quentin Kaiser.
Very few lines changed since last release.
Release Notes: https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.4
Diff  to last release: https://github.com/ReFirmLabs/binwalk/compare/v2.3.3...v2.3.4

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.

CC: @k0ral @smancill @Mindavi @mweinelt

Result of nixpkgs-review pr 217570 run on x86_64-linux 1

5 packages built:

binwalk (python310Packages.binwalk)
diffoscope
python310Packages.binwalk-full
python311Packages.binwalk
python311Packages.binwalk-full

Result of nixpkgs-review pr 217570 run on x86_64-darwin 1

4 packages built:

binwalk (python310Packages.binwalk)
python310Packages.binwalk-full
python311Packages.binwalk
python311Packages.binwalk-full


TEST-#0000: make sure we test nlargest func for Series

What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

let's not merge PRs with no issue attached anymore please

let's not merge PRs with no issue attached anymore please

I have the same reason as in https://github.com/modin-project/modin/pull/6657.

let's not merge PRs with no issue attached anymore please

I have the same reason as in #6657.

I understand that, but I didn't like it there as well, let's not step out of the rule and keep everything in order


Support Resource Factories

Use case:
I want to inject a Resource into my function, however I want the resource to be created each time I call my function.
Current providers:

Factories: Do not support context managers/iterators.
Resources: Provides the resolved object as a singleton.
ContextResources: "Support" this feature.

providers.ContextResource only work within the container_context, however it makes the code messy when each time before you call a function you need to wrap the call with async with container context(): if you aren't already in a container context.
I would like it so that the following is possible:
async def get_resource() -> AsyncIterator[str]:
    print("Creating...")
    yield "Value"
    print("Destroying...")

class MyContainer(BaseContainer):

    resource = providers.ResourceFactory(get_resource)

@inject
async def injected(s: str = Provide[MyContainer.resource]):
    print(s)

async def main():

    await injected() # Creating... Value Destroying...

    await injected() # Creating... Value Destroying...

So that the resource is created when my injected function is called and then destroyed when the function returns.
Perhaps there is also a workaround for this that I am missing?

@alexanderlazarev0 Hi, container_context can be used as decorator, like this
@container_context()
@inject
async def injected(s: str = Provide[MyContainer.resource]):
    print(s)

It will result in the same behaviour:

So that the resource is created when my injected function is called and then destroyed when the function returns.

@lesnik512 Thank you for the fast response. This does simplify things.
However, this only seems to work as intended in an async context.
import typing
from that_depends import BaseContainer, Provide, providers, container_context, inject

def create_sync_resource() -> typing.Iterator[str]:
    # resource initialization
    try:
        print("setup")
        yield "sync resource"
    finally:
        print("teardown")

class DIContainer(BaseContainer):
    context_resource = providers.ContextResource(create_sync_resource)

@container_context()
@inject
def injected(s: str = Provide[DIContainer.context_resource]):
    print(s)

if __name__ == "__main__":
    injected() #RuntimeWarning: coroutine 'injected' was never awaited

So it is not possible to use ContextResource dependencies in a sync context?
Even in an otherwise async context:
# How I would like to call the function
async def my_function():
    injected() #RuntimeWarning: coroutine 'injected' was never awaited

# Workaround solution
@inject
def injected(s: str = Provide[DIContainer.context_resource]):
    print(s)

async def my_function():
    async with container_context():
        injected()

But in the solution, I am once again forced to manage the container_context prior to calling my function...

@alexanderlazarev0 Yes, container_context is only suited for async context. I'll think of some universal solution

@alexanderlazarev0 Hi) I have thought about this and found another solution without adding new not obvious solutions.
You can use Factory, which returns objects which support context manager protocol. It is the most obvious way, in my opinion

@alexanderlazarev0 great job, merged and released https://github.com/modern-python/that-depends/releases/tag/1.19.0


feat: add step hint function

Description
Our VM is currently missing stepHint implementation, that looks like so in the Rust VM.
Step hint needs to be called in step.
Depends on executeHint implementation.

assign me


Document that derives imply supertraits, where applicable.

Fixes #2037

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

Project coverage is 87.59%. Comparing base (9733196) to head (b3fbde8).

Additional details and impacted files
@@           Coverage Diff           @@
##           v0.8.x    #2038   +/-   ##
=======================================
  Coverage   87.59%   87.59%
=======================================
  Files          16       16
  Lines        5988     5988
=======================================
  Hits         5245     5245
  Misses        743      743

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


Some problems on flops calculation

In model.py at 475 line(flops of LeFF),
    def flops(self, H, W):
        flops = 0
        # fc1
        flops += H*W*self.dim*self.hidden_dim
        # dwconv
        flops += H*W*self.hidden_dim*3*3
        # fc2
        flops += H*W*self.hidden_dim*self.dim
        print("LeFF:{%.2f}"%(flops/1e9))
        return flops

flops of dwconv is calculated by
flops += H*W*self.hidden_dim*3*3
would is it like to be
flops += H*W*self.hidden_dim*self.hidden_dim*3*3
as the flops of conv cal as c_ink_hk_wc_outH*W ?

And all the flops only calculate multiplication,maybe it could be written as macs?


fix(overlay): OverlayKeyboardDispatcher not removing global event listener

Fixes the OverlayKeyboardDispatcher not removing the global event listener, even though the subscription gets removed correctly. The issue seems to come from the fact that rxjs attaches the event using useCapture = true, however it doesn't pass the useCapture parameter when unsubscribing, which leaves listener in place. These changes switch to using addEventListener and removeEventListener to manage the event.
Fixes #10143.

Filed https://github.com/ReactiveX/rxjs/issues/3349.


aliases couldn't be resolved without an extra slah

if you set aliases for webpack.config like this as mentioned in the official docs
// webpack.config.js

module.exports = {
  //...
  resolve: {
    alias: {
      Utilities: path.resolve(__dirname, 'src/utilities/'),
      Templates: path.resolve(__dirname, 'src/templates/'),
    },
  },
};

now you can use it like this
import Utility from 'Utilities/utility';

and it works fine.
but if we need to move the trailing slash to the alias definition to be compatible with tsConfig.compilerOptions.paths property to be like this
// webpack.config.js

module.exports = {
  //...
  resolve: {
    alias: {
     // -----> note the extra trailing '/'
      '@': path.resolve(__dirname, 'src/utilities/') + '/',
    },
  },
};

now we want to use it like this: import Utility from '@utility';, instead of import Utility from '@/utility';
note that we want to use '@' not '@/'
tsconfig can resolve it, but webpack complains about it
environment:

webpack: v5
nodejs: v12 and v14

Because @utility is package name (yes, npm doesn't allow to use it, but it can be used potentially), you should use @/utility, it means resolve @ directory and looking for utility module

I don't mean @ execluevely, I mean the concept.
forexample ~alias instead of ~/alias

Same answer for ~, ~alias can be directory and can be module in node_modules, you can have node_modules/~alias and ~alias with '~': path.resolve(__dirname, 'src/utilities/') + '/',


Set timeout on AnalyzeAll and retry

Would significantly improve usability, we should add this before the paper is released

@tonydisera Just check on it

@tonydisera Should we discuss this?


Selecting task from autocomplete adds project name to description

User reports on linux 7.3.247:

When I select the previously executed task by typing in the input field, then it adds the Project name at the end followed by hyphen(-). So, in the report, it shows as new task

I am also encountering this.

This is a duplicate of: https://github.com/toggl/toggldesktop/issues/1322

will be fixed with #2480


Wrap data into bytes after dataization

@yegor256, @maxonfjvipon
Tests work if we wrap data into Φ.org.eolang.bytes (see https://github.com/objectionary/eo/issues/3213#issuecomment-2149833641).

@deemp I believe yes, you should do it on your side. EO has more restrictions than PHI (not every PHI expression can be converted to valid EO). Since UnphiMojo is part of EO ecosystem the only thing it can do is expect PHI expression is to be "valid" and convertable to EO

https://github.com/objectionary/eo/issues/3213#issuecomment-2150032168


Az cmdlets should allow any network operations to be timed out.

Is your feature request related to a problem? Please describe.
The Azure SDK team has experienced since REST calls that never returned - even after an hour of waiting. No network app should really be without a way to cancel, and it so happens that the Azure SDKs - in all languages, but I'll focus on .NET here - have a way for apps to do that. This way, we're not blocked waiting for a network call to return even if the server is not responding correctly.
Describe the solution you'd like
All the track 2 SDKs take a CancellationToken as the last parameter. The track 1 SDKs should provide a similar mechanism. One thought it just to declare a -TimeoutSec parameter like Invoke-RestMethod, though there are other options here. New-PSSessionOption has a few parameters like -CancelTimeout that take milliseconds.
Whatever the decision, you can create a CancellationTokenSource to cancel our methods like so:
using var cts = new CancellationTokenSource(timeoutInMilliseconds);
Response<KeyVaultSecret> response = client.GetSecret(secretName, cancellationToken: cts.Token);

You could default to no timeout to maintain compatibility (it an integer, typically -1 means infinite).
Describe alternatives you've considered
Right now I'm starting a ThreadJob (cheaper than a BackgroundJob which creates a module and starts a new pwsh.exe process) as shown in https://github.com/Azure/azure-sdk-tools/pull/1912; however, while I can stop waiting for a job, I can't kill it unless I use a BackgroundJob and kill the process, but starting a new process for each resource to purge would be very expensive time-wise. Ideally, the cmdlets - like all network clients - should have some sort of timeout mechanism.

Or is this what is intended with the -AsJob. The original concern was that -AsJob typically returns a background process, but in testing these further it seems they are lightweight and can, in fact, be cancelled via the Cancel() method (unlike ThreadJob.Stop($true) currently to forcibly stop a job, since the force parameter is ignored).

You could create an issue in powershell repo: https://github.com/Azure/azure-powershell

So how is cancellation handled in the az CLI? Is there a default timeout? I don't see anything obvious in general or command-specific help. There's -no-wait for kicking off a background job. Does this imply, then, that Ctrl+C against the CLI or just killing background jobs is the solution for the CLI? (Which is fine; Ctrl+C didn't work for the Az cmdlets in this state because of how PowerShell processes cancellation requests since you're not actually killing a separate process most times.)

Azure PowerShell vs Azure CLI
Az cmdlets are from Azure PowerShell, not Azure CLI. They are 2 different tools with completely different implementation mechanisms:

Azure PowerShell consists of native PowerShell cmdlets
Azure CLI consists of Python scripts and is invoked as python.exe -m azure.cli from an entry script az.cmd (on Windows)

Network timeout vs endless polling
I don't think the timeout is regarding network, but the endless polling on async ARM operations.
If an HTTP request times out, Azure CLI will retry several times and fail. If an az command hangs, most likely it is because it goes into endless polling because ARM never returns "status": "Succeeded" in the polling response. So to be more accurate, the ask here should be a polling timeout.
Indeed, there is no parameter to specify the polling timeout in Azure CLI.
--no-wait
--no-wait doesn't kicks off a background job. It simply means Azure CLI won't poll on async ARM operations and will return the response of the initial PUT request.
Ctrl+C in Azure CLI
All Azure CLI commands (az ...) can be cancelled with Ctrl+C, since Azure CLI is just a python.exe process and Ctrl+C will trigger a KeyboardInterrupt and CLI will stop polling:
> az group delete -n cli_test_azure_firewall_rules_with_ipgroupse4upfibqoujmdn4odvtgrbuvqqgdvwd7 --yes
# Press Ctrl+C
Long-running operation wait cancelled.
Terminate batch job (Y/N)? y
>

The poller in on a daemon thread:
https://github.com/Azure/azure-sdk-for-python/blob/96da2bf412f3c70b11755a10132c4860f5287292/sdk/core/azure-core/azure/core/polling/_poller.py#L181
            self._thread = threading.Thread(
                target=with_current_context(self._start),
                name="LROPoller({})".format(uuid.uuid4()))
            self._thread.daemon = True
            self._thread.start()

so KeyboardInterrupt can be handled on the main thread:
https://github.com/Azure/azure-cli/blob/8481a92267566cc4375a6cdd2b0c8517ef68287b/src/azure-cli-core/azure/cli/core/commands/__init__.py#L981-L984
You may also press Ctrl+Break to forcibly kill it (https://stackoverflow.com/questions/1364173/stopping-python-using-ctrlc):
> az group delete -n cli_test_azure_firewall_rules_with_ipgroupse4upfibqoujmdn4odvtgrbuvqqgdvwd7 --yes
# Press Ctrl+Break
^CTerminate batch job (Y/N)? y
>

Ctrl+C in Azure PowerShell
I tested with Azure PowerShell, and indeed Ctrl+C is not able to cancel it:
Remove-AzResourceGroup -name test_rg -Force
# Not responding to Ctrl+C

This has been reported at https://github.com/Azure/azure-powershell/issues/14867, https://github.com/Azure/azure-powershell/issues/15213.

Yes, I know they are different. I asked about the Az cmdlets internally and someone told me to open an issue here. Will close.
No, Ctrl+C does not work for PowerShell cmdlets because they are not separate processes nor does PowerShell really rely on Ctrl+C cancellation. It uses jobs, which Az cmdlets do support but not correctly. The internal discussion continues.


PodReplicaLink is not in seconds

Per Pure's api documentation, PodReplicaLink is returned in milliseconds. Comparing the exporters metric with the data from the pure console, this seems to be true. The console returns data in seconds while the exporter returns data 1000x greater than what is shown in the console.
https://static.pure1.purestorage.com/api-swagger/index.html

@drhester7 thanks for raising this issue.
I've taken a look at the metric purefa_pod_replica_links_lag_average_sec and by the name I agree it is describing _sec and not _msec.
The example you have chosen is the Pure1 REST API swagger, rather than the FlashArray REST API swagger which the OpenMetrics Exporter (OME) uses to scrape metrics.
Having said that, you are still very much correct.  The FlashArray API swagger and it is reporting in milliseconds, therefore the OME is reporting in milliseconds.

Thanks for highlighting this, let us work on how we rectify this issue.

Ah yep. I had seen that there as well and simply didn't know the difference between the APIs. Thanks very much!

Good find - It's probably a good time to populate purefa-metrics.md with the pod metrics too.
The direction will be to depreciate purefa_pod_replica_links_lag_average_sec in favor of purefa_pod_replica_links_lag_average_msec in the next version, since that matches the Purity API convention.
For now @drhester7 - in your observability platform, you can probably manually select the unit, select msec - and then when you upgrade, the new metric name will populate.


[BUG] Maximise, Minimise, and Close buttons are missing after Firefox updated.

Describe the problem
as the title says, firefox updated and the window management buttons are gone. removed the theme and they're back. i tried reinstalling, and it didn't work.
it's a great theme, so i'm sad that it's not working.
Version
1.5.6
OS
Windows 10
Firefox Version
133.0
Install Options
manual
Colour Theme
no
Additional info
No response
Please tick the boxes

[X] You are using a current version of the theme. (check the date associated with the version)
[x] You've checked that this issue hasn't already been raised

Hi @DetectiveAlice, thanks for raising this issue - I'll look into this

me too  i have same problem

thanks for the quick reply. it's a cool theme!

Confirmed fix on both standard and windows swap close


Feature: handle all tx traces

Problem: at the moment only Invoke transactions were supported
Solution: process traces and add type conversion for reverted Invoke transaction, DeployAccount, Declare and L1Handler
Issue Number: N/A
Type

[x] feature
[ ] bugfix
[ ] dev (no functional changes, no API changes)
[ ] fmt (formatting, renaming)
[ ] build
[ ] docs
[ ] testing

Description
Breaking changes?

[ ] yes
[x] no

Closing this since it will be split in several PRs


xfce.thunar-volman: 0.9.5 -> 4.16.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for xfce.thunar-volman is: "Thunar extension for automatic management of removable drives and media"
meta.homepage for xfce.thunar-volman is: "https://gitlab.xfce.org/xfce/thunar-volman/about"
meta.changelog for xfce.thunar-volman is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.16.0 with grep in /nix/store/j6z5ydrg3a5c32v5crqsacyw5szf39cy-thunar-volman-4.16.0

directory tree listing: https://gist.github.com/1b7d095aa9c41df8586ca20e276bae63

du listing: https://gist.github.com/3eeee2633d08a98bde0ec5b1f417b7b0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
xfce.thunar-volman
xfce.thunar_volman

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j6z5ydrg3a5c32v5crqsacyw5szf39cy-thunar-volman-4.16.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A xfce.thunar-volman https://github.com/r-ryantm/nixpkgs/archive/a4eba04fb3fb3774f244f5fbf9359161cdf5838f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j6z5ydrg3a5c32v5crqsacyw5szf39cy-thunar-volman-4.16.0
ls -la /nix/store/j6z5ydrg3a5c32v5crqsacyw5szf39cy-thunar-volman-4.16.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

xfce.thunar-volman

Maintainer pings

Should be updated with the rest of xfce 4.16 in https://github.com/NixOS/nixpkgs/pull/114567


vs-repeat endIndex is set to all elements

I don't know the exact reason, but the flow seems that vs-repeat first initializes endIndex to 2, then resizes the div that hosts the ng-repeat to be the full size to host all elements, but then in the next iteration, uses the div's size (via getClientSize) to calculate endIndex which means now endIndex is the entire original array.
I can't recreate in a toy example, but if you suggest how to debug this, then i'll do it.

Since I fetch the data every few seconds, the collection changes. the collection change watch function (line 218) calls refresh, but doesn't pass it anything. so the 'data' parameter is undefined. This means the endIndex update is done in line 706

Note that also startIndex is 0 because $scrollPosition is 0 (even after I scrolled)
The app is a deployed google apps script (so sandboxed in an iframe) and I also use bootstrap

I'm probably getting something very wrong, but it seems that using clientHeight is wrong as it returns the "virtual" height, not the visible height. This works when the height of the list is fixed, but not when I want it to extend to the bottom (which seems to me to be the general case when rendering long lists).  see http://stackoverflow.com/questions/24768795/get-the-visible-height-of-a-div-with-jquery on a suggestion on how to get the visible height.


termsrv version:19613.1000

Win10 insider Preview 19613.1000 is released.  Can someone help to update the ini for this new version? Thanks very much.  The termsrv.dll is uploaded here.
termsrv.zip

Okay, but if you could provide the RDPConf.exe version, that is a better first check and might remove the need to upload any termsrv.dll

RDPConf.exe is the last version, 1.6.2.

Okay, thanks, we need a new set of INI sections for this one; hopefully a skilled person can work with your supplied termsrv.dll now.

RDPConf.exe is the last version, 1.6.2.

https://github.com/sebaxakerhtc/rdpwrap.ini/blob/07053eae164b43876f7f25aca94437b1c468ab73/rdpwrap.ini#L3899


Add new -Hide switch for Pages to not show in Sidebar

On Add-PodeWebPage add a new -Hide switch so that the page doesn't appear in the Sidebar.

I've add the -Hide switch to Add-PodeWebPage and Add-PodeWebPageLink. When supplied, the page will not appear in the sidebar.


Fix #12475: Case sensitivity of user entity name

Describe your changes:
Fixes

I worked on ... because ...

Type of change:

[ ] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

closing this as handles by https://github.com/open-metadata/OpenMetadata/pull/12942


mvn checkstyle:checkstyle-aggregate fails in certain situations

To reproduce the problem, do the following:

Check out the master branch of Helidon and cd to its root.
rm -rf ~/.m2/repository/io/helidon # ensure your cache is empty of Helidon artifacts
mvn checkstyle:checkstyle-aggregate -pl config/config -am

You should get messages including something like the following (in my case I have a local Nexus repository running; hence all the localhost:8081 references below):
[INFO] ------------------< io.helidon.config:helidon-config >------------------
[INFO] Building Helidon Config 1.1.2-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/common/helidon-common/1.1.2-SNAPSHOT/maven-metadata.xml
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/common/helidon-common/1.1.2-SNAPSHOT/helidon-common-1.1.2-SNAPSHOT.pom
[WARNING] The POM for io.helidon.common:helidon-common:jar:1.1.2-SNAPSHOT is missing, no dependency information available
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/common/helidon-common-reactive/1.1.2-SNAPSHOT/maven-metadata.xml
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/common/helidon-common-reactive/1.1.2-SNAPSHOT/helidon-common-reactive-1.1.2-SNAPSHOT.pom
[WARNING] The POM for io.helidon.common:helidon-common-reactive:jar:1.1.2-SNAPSHOT is missing, no dependency information available
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/config/helidon-config-test-infrastructure/1.1.2-SNAPSHOT/maven-metadata.xml
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/config/helidon-config-test-infrastructure/1.1.2-SNAPSHOT/helidon-config-test-infrastructure-1.1.2-SNAPSHOT.pom
[WARNING] The POM for io.helidon.config:helidon-config-test-infrastructure:jar:1.1.2-SNAPSHOT is missing, no dependency information available
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/common/helidon-common/1.1.2-SNAPSHOT/helidon-common-1.1.2-SNAPSHOT.jar
Downloading from nexus: http://localhost:8081/repository/maven-public/io/helidon/common/helidon-common-reactive/1.1.2-SNAPSHOT/helidon-common-reactive-1.1.2-SNAPSHOT.jar

(The -pl option to Maven tells it exactly what submodules to build (config/config in this case, near the very top of the dependency graph, and the first module in the dependency graph I could find that triggers this problem) and the -am option tells Maven to "also make" whatever is required to build the stuff mentioned in the -pl option.)
It is not immediately clear to me whether this is a fundamental problem with the config/config pom.xml or something similar, or a problem with the Checkstyle goal in question, or a general problem with running an aggregate-style goal before the package phase has completed.

I should mention for completeness: the reason I'm filing the issue is not due to any problems with the Checkstyle goal or Helidon per se but because an invocation like the kind I excerpted above gates PRs to this repository.

This was caused by a missing repository stanza in a pom in the PR. After that was fixed the checkstyle goal passed reliably. Closing.


passing access token as string

Coverage decreased (-0.03%) to 82.096% when pulling f80d3d6d76e8c63a21744369f1c6c4cb98e7eb23 on label-fix into 60680d9c370134aaf57bd82aadd50ab30945d01e on development.

Coverage decreased (-0.03%) to 82.096% when pulling f17e6bd770fb9e6b64b80482e1957adaad4d1ffa on label-fix into 60680d9c370134aaf57bd82aadd50ab30945d01e on development.


newPage on Firefox

Hello,
I am new to playwright and i am trying the following simple example:
public class MozillaHeadlessExample {
	public static void main(String[] args) {
		try (Playwright playwright = Playwright.create()) {
			Browser browser = playwright.firefox().launch();
			BrowserContext context = browser.newContext();
			Page page = context.newPage();
			System.out.println("Done!");
		}
	}
}

The code above is "stuck" at context.newPage(); and the print line is never executed.
I 've tried running the test on headless mode with the same results.
A similar code using chromium() instead of firefox() is working properly.
I am using:
java 8
playwright 1.23.0
Windows 10

Can you run with set PWDEBUG=1 environment variable and see if there are any obvious errors in the log?

Nothing seems to happen.
A playwright inspector pops up but it remains "stuck" at newPage (screenshot attached).

Nothing displayed on the eclipse's console either.

Nothing displayed on the eclipse's console either.

The env variable is probably not set correctly, otherwise you should see some debug output since the browser did start.

Ok so i compiled and run through CMD with the env variable set at windows environment variables.
I have the same results:

I'm sorry don't know why I suggested PWDEBUG, I meant running the test with  set DEBUG=pw:browser, it should dump the browser error log.

Ok so i got the following log:
2022-07-28T11:27:08.360Z pw:browser  C:\Users\theodorakakosp\AppData\Local\ms-playwright\firefox-1327\firefox\firefox.exe -no-remote -wait-for-browser -foreground -profile C:\Users\THEODO1\AppData\Local\Temp\playwright_firefoxdev_profile-RzZmUu -juggler-pipe -silent
2022-07-28T11:27:08.366Z pw:browser  pid=12832
2022-07-28T11:27:08.901Z pw:browser [pid=12832][out]
2022-07-28T11:27:08.901Z pw:browser [pid=12832][out] Juggler listening to the pipe
2022-07-28T11:27:09.035Z pw:browser [pid=12832][out] console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at C:\Users\THEODO1\AppData\Local\Temp\playwright_firefoxdev_profile-RzZmUu\search.json.mozlz4", (void 0)))
2022-07-28T11:27:09.126Z pw:browser [pid=12832][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: DCLayerTree(no device) (t=7.22381) [GFX1-]: DCLayerTree(no device)
2022-07-28T11:27:09.126Z pw:browser [pid=12832][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: DCLayerTree(no device) (t=7.22381) |[1][GFX1-]: Failed to connect WebRenderBridgeChild. (t=7.22381) [GFX1-]: Failed to connect WebRenderBridgeChild.
2022-07-28T11:27:09.127Z pw:browser [pid=12832][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: DCLayerTree(no device) (t=7.22381) |[1][GFX1-]: Failed to connect WebRenderBridgeChild. (t=7.22381) |[2][GFX1-]: Fallback WR to SW-WR + D3D11 (t=7.22381) [GFX1-]: Fallback WR to SW-WR + D3D11
2022-07-28T11:27:10.037Z pw:browser  C:\Users\theodorakakosp\AppData\Local\ms-playwright\chromium-1012\chrome-win\chrome.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --no-sandbox --app=data:text/html, --window-size=600,600 --window-position=1020,10 --test-type= --user-data-dir=C:\Users\THEODO~1\AppData\Local\Temp\playwright_chromiumdev_profile-iBjlWa --remote-debugging-pipe about:blank
2022-07-28T11:27:10.045Z pw:browser  pid=22184
2022-07-28T11:27:10.161Z pw:browser [pid=22184][err] C:\Users\theodorakakosp\AppData\Local\ms-playwright\chromium-1012\chrome-win\chrome.exe: invalid option -- `-u'
2022-07-28T11:27:10.161Z pw:browser [pid=22184][err] Try 'chrome.exe --help' for more information.
2022-07-28T11:27:10.220Z pw:browser [pid=22184][err] [0728/142710.222:ERROR:registration_protocol_win.cc(135)] TransactNamedPipe: The pipe has been ended. (0x6D)
2022-07-28T11:27:12.721Z pw:browser [pid=22184][err] [22184:11792:0728/142712.724:ERROR:device_event_log_impl.cc(214)] [14:27:12.724] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
2022-07-28T11:27:12.722Z pw:browser [pid=22184][err] [22184:11792:0728/142712.725:ERROR:device_event_log_impl.cc(214)] [14:27:12.725] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)

The error log indicates that you are launching two browsers, the second one is chrome which is the one used for inspector UI. Can you run without inspector so that only firefox is launched and see if the problem persists.

The code above is "stuck" at context.newPage(); and the print line is never executed.

It might be that the firefox launch is hanging, we've such problem in the past and there were a few patches addressing it. Can you run with DEBUG=pw:api or record a trace to help us understand which line is actually failing?

I removed the inspector UI option and retried with the DEBUG:pw:browser, i had the following log:
2022-08-03T13:09:01.672Z pw:browser  C:\Users\theodorakakosp\AppData\Local\ms-playwright\firefox-1327\firefox\firefox.exe -no-remote -headless -profile C:\Users\THEODO1\AppData\Local\Temp\playwright_firefoxdev_profile-Qlbojj -juggler-pipe -silent
2022-08-03T13:09:01.679Z pw:browser  pid=25368
2022-08-03T13:09:01.783Z pw:browser [pid=25368][err] *** You are running in headless mode.
2022-08-03T13:09:02.126Z pw:browser [pid=25368][out]
2022-08-03T13:09:02.126Z pw:browser [pid=25368][out] Juggler listening to the pipe
2022-08-03T13:09:02.249Z pw:browser [pid=25368][out] console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at C:\Users\THEODO1\AppData\Local\Temp\playwright_firefoxdev_profile-Qlbojj\search.json.mozlz4", (void 0)))
2022-08-03T13:09:02.349Z pw:browser [pid=25368][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=6.30887) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
2022-08-03T13:09:07.261Z pw:browser [pid=25368][out] console.error: Region.jsm: "Error fetching region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 772))
2022-08-03T13:09:07.261Z pw:browser [pid=25368][out] console.error: Region.jsm: "Failed to fetch region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 419))
2022-08-03T13:09:24.247Z pw:browser [pid=25368][out] console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource.
I also tried the DEBUG=pw:api and had the following:
2022-08-03T13:07:55.399Z pw:api => BrowserType.launch started
2022-08-03T13:07:57.569Z pw:api <= BrowserType.launch succeeded
2022-08-03T13:07:57.573Z pw:api => Browser.newContext started
2022-08-03T13:07:57.586Z pw:api <= Browser.newContext succeeded
2022-08-03T13:07:57.590Z pw:api => BrowserContext.newPage started

This doesn't tell us much unfortunately. Does it reproduce in headed mode? Also if you can collect traces with DEBUG=pw:browser,pw:protocol it might give us some insight.

Can you try running with playwright 1.24.1 and see if it reproduces there? We had some bug fixes around firefox newPage code in the recent release which may be relevant.

Tried with the 1.24.1, didn't make a difference.
Yes the problem occurs in headed mode as well.
Logs with pw:browser:
2022-08-04T14:16:31.933Z pw:browser  C:\Users\theodorakakosp\AppData\Local\ms-playwright\firefox-1335\firefox\firefox.exe -no-remote -headless -profile C:\Users\THEODO~1\AppData\Local\Temp\playwright_firefoxdev_profile-Vn45V9 -juggler-pipe -silent
2022-08-04T14:16:31.940Z pw:browser  pid=1564
2022-08-04T14:16:32.068Z pw:browser [pid=1564][err] *** You are running in headless mode.
2022-08-04T14:16:32.471Z pw:browser [pid=1564][out]
2022-08-04T14:16:32.471Z pw:browser [pid=1564][out] Juggler listening to the pipe
2022-08-04T14:16:32.652Z pw:browser [pid=1564][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=6.5781) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
2022-08-04T14:16:33.199Z pw:browser [pid=1564][out] console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at C:\Users\THEODO1\AppData\Local\Temp\playwright_firefoxdev_profile-Vn45V9\search.json.mozlz4", (void 0)))
2022-08-04T14:16:33.254Z pw:browser [pid=1564][out] console.error: SearchEngineSelector: "Received empty search configuration!"
2022-08-04T14:16:33.288Z pw:browser [pid=1564][out] console.error: SearchEngineSelector: "Received empty search configuration!"
 (new NotFoundError("Could not open the file at C:\Users\THEODO1\AppData\Local\Temp\playwright_firefoxdev_profile-Vn45V9\search.json.mozlz4", (void 0)))
2022-08-04T14:16:33.677Z pw:browser [pid=1564][out] console.error: SearchService: "maybeReloadEngines failed" (new TypeError("defaultEngine is undefined", "resource://gre/modules/SearchService.jsm", 1203))
2022-08-04T14:16:33.678Z pw:browser [pid=1564][err] JavaScript error: , line 0: uncaught exception:<PHONE_NUMBER>
2022-08-04T14:16:33.682Z pw:browser [pid=1564][err] JavaScript error: , line 0: uncaught exception:<PHONE_NUMBER>
2022-08-04T14:16:33.799Z pw:browser [pid=1564][err] JavaScript error: , line 0: uncaught exception:<PHONE_NUMBER>
2022-08-04T14:16:34.684Z pw:browser [pid=1564][out] console.error: SearchSettings: "_write: Could not write to settings file:" (new Error("cannot write without any engine.", "resource://gre/modules/SearchSettings.jsm", 216))
Logs with pw:protocol:
2022-08-04T14:18:16.153Z pw:protocol SEND ► {"id":1,"method":"Browser.enable","params":{"attachToDefaultContext":false}}
2022-08-04T14:18:16.154Z pw:protocol SEND ► {"id":2,"method":"Browser.getInfo"}
2022-08-04T14:18:16.164Z pw:protocol ◀ RECV {"id":1}
2022-08-04T14:18:16.164Z pw:protocol ◀ RECV {"id":2,"result":{"version":"Firefox/102.0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"}}
2022-08-04T14:18:16.174Z pw:protocol SEND ► {"id":3,"method":"Browser.createBrowserContext","params":{"removeOnDetach":true}}
2022-08-04T14:18:16.187Z pw:protocol ◀ RECV {"id":3,"result":{"browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a"}}
2022-08-04T14:18:16.189Z pw:protocol SEND ► {"id":4,"method":"Browser.setDownloadOptions","params":{"browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a","downloadOptions":{"behavior":"saveToDisk","downloadsDir":"C:\Users\THEODO1\AppData\Local\Temp\playwright-artifacts-hYTJqE"}}}
2022-08-04T14:18:16.189Z pw:protocol SEND ► {"id":5,"method":"Browser.setDefaultViewport","params":{"browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a","viewport":{"viewportSize":{"width":1280,"height":720},"deviceScaleFactor":1}}}
2022-08-04T14:18:16.189Z pw:protocol SEND ► {"id":6,"method":"Browser.setColorScheme","params":{"browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a","colorScheme":"light"}}
2022-08-04T14:18:16.189Z pw:protocol SEND ► {"id":7,"method":"Browser.setReducedMotion","params":{"browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a","reducedMotion":"no-preference"}}
2022-08-04T14:18:16.189Z pw:protocol SEND ► {"id":8,"method":"Browser.setForcedColors","params":{"browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a","forcedColors":"none"}}
2022-08-04T14:18:16.209Z pw:protocol ◀ RECV {"id":4}
2022-08-04T14:18:16.209Z pw:protocol ◀ RECV {"id":5}
2022-08-04T14:18:16.209Z pw:protocol ◀ RECV {"id":6}
2022-08-04T14:18:16.209Z pw:protocol ◀ RECV {"id":7}
2022-08-04T14:18:16.210Z pw:protocol ◀ RECV {"id":8}
2022-08-04T14:18:16.219Z pw:protocol SEND ► {"id":9,"method":"Browser.newPage","params":{"browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a"}}
2022-08-04T14:18:16.686Z pw:protocol ◀ RECV {"method":"Browser.attachedToTarget","params":{"sessionId":"8a46cbea-9329-4a86-9064-3208f6d0c4e7","targetInfo":{"targetId":"b37029db-5bf7-4411-8b1e-c09d37cf4554","type":"page","browserContextId":"f3d96683-9e03-42be-bad5-2f717ff1750a"}}}
2022-08-04T14:18:16.688Z pw:protocol SEND ► {"method":"Page.setInitScripts","params":{"scripts":[{"script":"","worldName":"playwright_utility_world"}]},"id":10,"sessionId":"8a46cbea-9329-4a86-9064-3208f6d0c4e7"}
2022-08-04T14:18:16.856Z pw:protocol ◀ RECV {"id":9,"result":{"targetId":"b37029db-5bf7-4411-8b1e-c09d37cf4554"}}

Thanks for sharing the logs, I wanted to look at the combined logs when running with DEBUG=pw:browser,pw:protocol to basically see if there are any errors after the newPage command returns.
Could you try running C:\Users\theodorakakosp\AppData\Local\ms-playwright\firefox-1335\firefox\firefox.exe without playwright and see if it works at all?

Closing as part of the triage process since it seemed stale. Please create a new issue with a detailed reproducible or feature request if you still face issues.


The video works but I get spammed with errors.

Here's a courple of the errors I'm receiving.
https://gyazo.com/d352003062cbd5c80ac200e2c1ad1e88
https://gyazo.com/380c0587ab153f2ecc8aba60dcab7a4d

Hey @Stallind for filing an issue. This is a known issue with just the Twitch JS lib that used in the iFrame in general. Nothing we can have direct control over. It annoying but it works!

Thanks for fast reply, have a nice day


failed to install pyzmq on linux-alpine via pip

ERROR: Package 'pyzmq' requires a different Python: 3.8.6 not in '>=3.5'
FROM python:3.8-alpine

MAINTAINER Cowbell Team<EMAIL_ADDRESS>ENV PYTHONDONTWRITEBYTECODE 1

# Install needed packages used to build image
RUN apk update && apk upgrade \
    && apk add --no-cache --virtual .build-deps \
               build-base gcc python3-dev musl-dev cyrus-sasl-dev \
               openssl-dev mysql-dev librdkafka-dev
RUN apk add zeromq-dev

i have the same when trying with Python 3.9.0
ERROR: Package 'pyzmq' requires a different Python: 3.9.0 not in '>=3.5'

Can you share how you are installing pyzmq itself and the output of the installation process? When I add RUN pip install pyzmq to the end of that Dockerfile, it works:
FROM python:3.8-alpine

MAINTAINER Cowbell Team<EMAIL_ADDRESS>ENV PYTHONDONTWRITEBYTECODE 1

# Install needed packages used to build image
RUN apk update && apk upgrade \
    && apk add --no-cache --virtual .build-deps \
               build-base gcc python3-dev musl-dev cyrus-sasl-dev \
               openssl-dev mysql-dev librdkafka-dev
RUN apk add zeromq-dev
RUN pip install pyzmq

gives
Successfully installed pyzmq-20.0.0

The output of pip list might be useful as well.
This error would mean that your installer is not properly interpreting the Requires-Python metadata field, but I believe pip has done that correctly since ~9.0.


Update README.md

Removes instances of AddressBook in README, updates it to ArtBuddy.

Codecov Report

Merging #56 (83f77fa) into master (4097a20) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #56   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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


Use the FLOWZONE_TOKEN not GITHUB_TOKEN for publish docs

Change-type: patch

@balena-ci I self-certify!


Contributions?

I am really interested in this project and want to contribute but currently, I am not sure how this project is planned. Is there any way if I can help?

Hi, thanks for stopping by. There's a lot to work on. What's your experience and what sort of things are you interested in working on? (General ml infra, NLP, cv etc)

I am new to both open-source and Julia. As of my interests I am interested in Computer Vision and Reinforcement Learing but I am just starting out in this field and looking to learn more.

We're working on putting up a more formal contributions guide, but many of our members are a little swamped right  now with end of the year deadlines.
The purpose of this repo is to provide a similar API to fast-ai from Python by wrapping the repos listed on the README.md. At this stage, there isn't a good list of sub-steps to achieving that goal, but the contribution guide will help with that. If you are more familiar with fast-ai, then you could open some issues on the repo to help flesh out our future direction.


[ffmpeg] incompatible ffmpeg-kit-ios-full-gpl version can be installed

Hi.
Latest versions of ffmpeg-kit-ios-full-gpl break the plugin (current Pod requirement allows it), this commit renames the functions used by the plugin and when installing 4.5.1 it breaks.
withExecuteCallback => withCompleteCallback
I guess its needed to either make version requirement stricter that this new version doesn't get installed or release new version of the plugin that supports the newest dependency and renames the function usage.
Workaround for this currently is to pin pod 'ffmpeg-kit-ios-full-gpl', '4.4.LTS' into project own Podfile, it duplicates the plugin declaration, but installs the 4.4 version and plugin is usable.

fixed on the latest release


refactor(repack): use done hook inside of OutputPlugin

Summary
Migrated OutputPlugin to run only inside of done hook - this enables usage of OutputPlugin with rspack as previous approach utilised features not available in rspack yet(?)
Test plan

[x] - updated tests pass
[x] - output is the same as before

one thing of note: there are few cases in this PR where I was forced to use non-null assertion operator, but newest webpack 5.90.3 introduced some improved typings for stats.toJson() so we might be able to fix it in a sensible way in a separate PR.


OpenMM compatibility

https://parmed.github.io/ParmEd/html/omm_amber.html

It is not too hard to update simulate.py for OpenMM -- that is just going to require changing ~1 line.
It is going to be challenging to get the restraints to work properly. In fact, this is kinda daunting, so I'm wondering if it makes sense to only support a few of the restraint cases at the moment.

On reflection, it would be nice if we could compute how the restraints should look -- i.e., the list of windows and force constants -- and then pass off the formatting to a function that writes one file for AMBER and another for OpenMM.

What do you mean by "compute how the restraints should look"?  We already have that right?  Then we have some functions to write them in Amber format.

Yes, that's right. I think the bifurcation will come before calling return_restraint_line, and then it will do different things for each MD engine. So perhaps it won't be as bad as expected. One complication may be that for AMBER we'll go into writing a file, whereas for OpenMM, we should just store the restraints (as dictionaries or something...?) so then can be reused in simulate.py.

FWIW, this is how Jane defines OpenMM restraints in her APR modifications:
  #add the position restraints to dummy atoms
  pos_rst = CustomExternalForce("k1*((x-x0)^2+(y-y0)^2+(z-z0)^2)")
  pos_rst.addGlobalParameter("k1", 50.0*kilocalories_per_mole/angstroms**2)
  pos_rst.addPerParticleParameter('x0')
  pos_rst.addPerParticleParameter('y0')
  pos_rst.addPerParticleParameter('z0')
  for i, atom_crd in enumerate(reference.positions[:3]):
     pos_rst.addParticle(i, atom_crd.value_in_unit(nanometers))

  #add the bond restraints
  bond_rst = CustomBondForce('k2*(r-r0)^2')
  bond_rst.addPerBondParameter('r0')
  bond_rst.addPerBondParameter('k2')

  #add the angle restraints
  angle_rst = CustomAngleForce('k3*(theta-theta0)^2')
  angle_rst.addPerAngleParameter('theta0')
  angle_rst.addPerAngleParameter('k3')

  #add the torsion restraints
  dihed_rst = CustomTorsionForce('k4*(theta-theta1)^2')
  dihed_rst.addPerTorsionParameter('theta1')
  dihed_rst.addPerTorsionParameter('k4')


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 31af867:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 31af867:
:clock10: Full build: the average full build time is 5 min(s) 59 sec(s), this is based on the last 591 build(s) for this repository.

Docs Build status updates of commit 31af867:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:bulb:Suggestion
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Suggestion] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results.
[Suggestion] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results.
[Suggestion] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added placeholder props to display placeholder text and destructuring all props values

I have published v1.0.0 and converted the source to typescript. Let me know if there is anything I can do to improve the change request process. Please submit new pull requests as the package as been more to https://github.com/rili-live/react-native-phone-input


https://learn.microsoft.com/en-us/training/modules/describe-core-architectural-components-of-azure/4-exercise-explore-learn-sandbox

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az interactive
Errors:
The command failed with an unexpected error. Here is the traceback:
No module named 'prompt_toolkit.interface'
Traceback (most recent call last):
  File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/interactive/custom.py", line 41, in start_shell
    azext_interactive.start_shell(cmd, style=style)
  File "/home/david_lovett/.azure/cliextensions/interactive/azext_interactive/__init__.py", line 10, in start_shell
    from .azclishell.app import AzInteractiveShell
  File "/home/david_lovett/.azure/cliextensions/interactive/azext_interactive/azclishell/app.py", line 33, in <module>
    from prompt_toolkit.interface import Application, CommandLineInterface
ModuleNotFoundError: No module named 'prompt_toolkit.interface'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Load the title of this bug as a URL in a browser
https://learn.microsoft.com/en-us/training/modules/describe-core-architectural-components-of-azure/4-exercise-explore-learn-sandbox
Run through tasks until you get to command

az interactive

Expected Behavior
as per documented task outcome ... az prefix not required for commands
Environment Summary
Linux-5.4.0-1094-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.13
Installer: RPM

azure-cli 2.41.0

Extensions:
interactive 0.4.5
ai-examples 0.2.5
ml 2.10.0
ssh 1.1.2

Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

Duplicate of https://github.com/Azure/azure-cli/issues/24213


confirm game platform before adding entry to list

I am indexing a small number of games  across multiple platforms in a single folder.
I notice when I sync, the launcher assumes all the files in the folder belong to a single platform.
It would be great if Daijishou could ID the platform of each game much like RetroArch does.
I realize using sub-folders is a workaround for now!

Hello. Each platform for a single folder is prerequisite for Daijishou. It is also a standard method like in EmulationStation. Because of the diverse range of systems often come with overlapping formats. To organize it as a whole will increasing complexities dramatically.

ok - sounds like I have some reorganizing to do :-)
No worries if this just stays on a rainy day list - the workaround is acceptable ✌🏼

Thanks for the understanding. (´∀`)

cleaning up GitHub.
just wanted to let you know I've been slam dunked into Batocera & tinkeromh w ES for over a year.
I am very much in the sub folder convention now & all is good in the hood 👾


doc: content -> multi languages -> English

Description
Manual description about content details for English resumes, like translations, idioms, etc.
Todo list
NA

Done: https://docs.ppresume.com/content/multi-languages/english


Error when license contains comma

The following exception is thrown when a license contains a comma, e.g. Apache License, Version 2.0:
/Users/peter/work/license-reporter/lib/unifiedlist.js:103
  throw Error(`No URL was found for [${name}]`);
  ^

Error: No URL was found for [UNKNOWN, UNKNOWN]

It can be reproduced by running the license reporter on a project that has a dependency to rx-lite.
It looks like the license-reporter tries to handle multiple comma separated licenses here: https://github.com/bucharest-gold/license-reporter/blob/master/lib/canonical-name.js#L6
However https://github.com/bucharest-gold/license-reporter/blob/master/lib/unifiedlist.js#L97 doesn't take this into account. It only checks for a single UNKNOWN.
Should multiple comma separated licenses be supported? If not, maybe we can remove https://github.com/bucharest-gold/license-reporter/blob/master/lib/canonical-name.js#L6 and just return get(name) here?

@pb82 thanks for bug report !
reproduced here:
[hf@localhost project-foo]$ npm install rx-lite -S
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

+<EMAIL_ADDRESS>added 1 package in 2.168s
[hf@localhost project-foo]$ license-reporter
/home/hf/d/license-reporter/lib/unifiedlist.js:103
  throw Error(`No URL was found for [${name}]`);
  ^

Error: No URL was found for [UNKNOWN, UNKNOWN]
    at Object.urlForName (/home/hf/d/license-reporter/lib/unifiedlist.js:103:9)
    at entry (/home/hf/d/license-reporter/bin/cli.js:53:27)
    at addLicenseEntry (/home/hf/d/license-reporter/bin/cli.js:76:45)
    at xmlObjectData (/home/hf/d/license-reporter/bin/cli.js:128:9)
    at checker.init (/home/hf/d/license-reporter/bin/cli.js:160:17)
    at /home/hf/d/license-reporter/node_modules/license-checker/lib/index.js:373:9
    at /home/hf/d/license-reporter/node_modules/read-installed/read-installed.js:142:5
    at /home/hf/d/license-reporter/node_modules/read-installed/read-installed.js:263:14
    at cb (/home/hf/d/license-reporter/node_modules/slide/lib/async-map.js:47:24)
    at /home/hf/d/license-reporter/node_modules/read-installed/read-installed.js:263:14

@danbev @helio-frota Thank you!


Setting AnalyzerType to ONE_SHOT_ANALYZER throws an error while opening file

Describe the bug
Java plugin with analyzer type set to ONE_SHOT_ANALYZER throws an error
ERROR Unknown Analysis Type: Unexpected Analysis type One Shot Analzyer  (AutoAnalysisManager.java:187)
To Reproduce
Steps to reproduce the behavior:

Create empty analyzer plugin
Set analyzer type to ONE_SHOT_ANALYZER

Expected behavior
Should not throw an error while this type of analyzer will be executed only manually and once.
Screenshots

Environment:

OS: ArchLinux
Java Version: openjdk 11.0.8 j9
Ghidra Version: 7e5f015d651b9c5e7825cb10bc50338b5af67538

AnalyzerType.ONE_SHOT_ANALYZER  is not supported and should not be used.  It appears to have been added in attempt to facilitate an "analysis recipe" concept which was never fully implemented.  There are no existing analyzers which make use of this type and it should probably be removed.
All analyzers are currently event-driven with the option of also allow one-shot use which is facilitated by the Analyzer.supportsOneTimeAnalysis().  If this method returns true, the analyzer will be included in the Analysis->One Shot menu.  At this point an analyzer which does not respond to events is handled using a Ghidra Script.  A Ghidra Script can declare a menu path and be added to your Code Browser tool or can simply be run from the Script Manager window.

The unsupported AnalyzerType.ONE_SHOT_ANALYZER has been removed for Ghidra 9.2


Refactor and add tests

Refactors classes to use Docker module
Adds tests
Adds metadata.json to upload to forge (See #3)

Thankyou @petems!

Looks like a syntax in the metadata.json

Closing in favour of #6


Configure: accept --api=3 and --api=3.x options

Currently the configure command only accepts --api=3.0.0, although the third digit is only a patch level which does not permit api changes. It should be --api=3.0 instead. (This is the bug report).
In fact, it would be convenient, if missing trailing version numbers would be automatically set to 0, i.e., if one could specify --api=3 and this would be expanded to --api=3.0 (this is the feature request).
In fact, do we actuall support deprecations at minor revision boundaries? If not, then we should allow only --api=n for n>=3.
msp@msppc:~/openssl/openssl$ perl Configure linux-x86_64 --api=3.0.0
Configuring OpenSSL version 3.0.0-dev for target linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Running configdata.pm
Creating Makefile
...

msp@msppc:~/openssl/openssl$ perl Configure linux-x86_64 --api=3.0

Failure!  build file wasn't produced.
Please read INSTALL and associated NOTES files.  You may also have to look over
your available compiler tool chain or change your configuration.

***** Unsupported api compatibility level: 3.0

msp@msppc:~/openssl/openssl$ perl Configure linux-x86_64 --api=3

Failure!  build file wasn't produced.
Please read INSTALL and associated NOTES files.  You may also have to look over
your available compiler tool chain or change your configuration.

***** Unsupported api compatibility level: 3

cc @levitte

We do support deprecation at minor boundaries. Removal is restricted to major boundaries, however.

Hi, I will like to contribute and I think this is a good starting point for it.
Can I work on this bug and feature request?

Can I work on this bug and feature request?

Sure, every new contributor is welcome. I think @levitte has so many other things to do at the moment that he won't mind if you pick this issue. But of course if you need some advice or help during your work, don't hesitate to ask him, he's our Perl Wizard ;-).

This was fixed by overridden by #10364. Closing.


[HOLD for payment 2023-07-20] [$1000] Web - Text area is misaligned in close account page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to settings > security > close account
Hover over the first input placeholder and notice the cursor
Hover over the second input placeholder and notice the cursor
Open dev tools and click on inspect
Hover over the first input field

Expected Result:
The cursor should not change to pointer when hovering over the first text area just like it doesn't on the second text area.
Actual Result:
The cursor turns to pointer while hovering over the first input field place holder and the while inspecting the text area it is misaligned and the text area starts halfway through the first placeholder.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.35-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/af998e8f-36ca-407f-bbcd-73c4fae44275
https://github.com/Expensify/App/assets/93399543/5281bd40-5bb6-4bb0-b25c-6aba488486ce
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688223038310559
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~010a57cf140b61f86f
Upwork Job ID:<PHONE_NUMBER>383223296
Last Price Increase: 2023-07-03

Not overdue, a proposal was posted and @allroundexperts should get to it soon.

Hey, just found we are fixing the same issue https://github.com/Expensify/App/issues/22121. The merged PR does not seem to fix the inconsistency between the two inputs, in multiline the cursor is default while in single line the cursor is text.

Alright, I'm processing payment now, let me know in case something looks of:
@Nathan-Mulugeta = $250 reporting bonus (UW)
@honnamkuan = $1000 no bonus as PR wasn't merged in 3 days (UW)
@allroundexperts = $1000 no bonus as PR wasn't merged in 3 days ( Expensify - I'll cancel the contract in UW).

Thanks folks, I updated the amounts below and will process payment now:
@Nathan-Mulugeta = $250 reporting bonus (UW)
@honnamkuan = $1000 + $500 bonus = $1500 (UW)
@allroundexperts = $1000 + $500 bonus = $1500( Expensify - I'll cancel the contract in UW).

@Nathan-Mulugeta offer sent
@honnamkuan paid!

Just accepted offer

@Nathan-Mulugeta paid!

@allroundexperts = $1000 + $500 bonus = $1500( Expensify - I'll cancel the contract in UW).

Just missing this so we can close this GH.

Reviewed details for @allroundexperts . This is accurate based on summary from Business Reviewer and approved for payment in NewDot.

Perfect so closing this.


Give on_epoch_completion data set access

Optionally, on_epoch_completion handlers can specify three additional
parameters, and if present, these parameters would receive X_valid,
y_valid, and y_predict.

Sorry please ignore.


Tracking many to many relation added and removed connections.

Q
A

Bug report?
no

Feature request?
no

BC Break report?
no

Used Version
any

I see that in docs there is info, how to tracka entity. But i want to create versioning of many to many relation. It is possible with this package? If yes, how to do this?

I saw todo: Many-To-Many associations are NOT versioned on the end of

https://github.com/Owsy/EntityAudit

but it seems to be unmaintained. It is also in this docs in 1.0 version:

https://github.com/simplethings/EntityAuditBundle/tree/1.0

But it is not added to todo of master.


i get this issues

[root@vmi1583596 mantelnetwork]# docker-compose -f docker-compose-mainnet.yml up
Starting mantelnetwork_replica_1 ... done
Attaching to mantelnetwork_replica_1
replica_1  | curl: (22) The requested URL returned error: 404
replica_1  | Importing private key
replica_1  | could not parse "30000000" as uint64 value for flag miner.gastarget: strconv.ParseUint: parsing ""30000000"": invalid syntax
replica_1  | could not parse "30000000" as uint64 value for flag miner.gastarget: strconv.ParseUint: parsing ""30000000"": invalid syntax
replica_1  | Initializing Geth node
replica_1  | could not parse "30000000" as uint64 value for flag miner.gastarget: strconv.ParseUint: parsing ""30000000"": invalid syntax
replica_1  | Starting Geth node
replica_1  | could not parse "30000000" as uint64 value for flag miner.gastarget: strconv.ParseUint: parsing ""30000000"": invalid syntax

This issue has been preview on the Pull Requests. To resolve,
Contact the dAppNode page to initiate a chat with the live agent on the chat button to get more information about your request via dAppNode
@zhiliao888
Best Regards.


Web station gallery

The goal of this ticket is to improve the situation with the image gallery shown for stations. There's couple reasons for this work. First, there's an old ticket #22 calling to have the ability to add and manage more stations. This is a step towards being able to describe the station better, with images with descriptions. Second, the TKiS-1 station evolved and I'd like to describe the changes. Being able to upload images with description will be useful for that. Third, there's SKORCZ-1 station that's being active, but lack images. Finally, the previous "gallery" was a primitive hack done on tables.
This is a work in progress and is not ready for review yet.

hey @fivitti, what are your thoughts on station management? The need here is to do some basic edits (edit description and configuration of the station, do some basic management of the image gallery). I can see this being done in one of two ways.
Option 1: if you're logged as station admin, you see edit buttons next to each field. You click it, then edit this one field and you're done. You never leave this /station/{id} page. This approach has more modern approach, but is probably more tricky to implement.
Option 2: If you're logged as station admin, you can navigate to /station/{id}/edit and there's a form with the fields being editable. Once you save the changes, you can navigate to /station/{id} to actually see the changes. This is probably more secure as you can better control who can access the page.
Any thoughts on this?

Option 1 and 2 are almost the same.
It seems that option 1 requires using Javascript to activate the edit form.
I think option 2. will be more straightforward and consistent with other Svarog parts.

Ok, it's ready for review. I'm too lazy to write unit-tests for this. Now what? ;)

Fivitti is busy with other things. This is not a complex change, so I've decided to go ahead and merge it.


Nicknames

Hi,
I'm unclear if the following issue will get fixed or not. Can I get a status? We are currently using the version 2.0 and do code generation for our APIs. We were relying on Nicknames in order to get nice APIs method calls. The fact that Nicknames are not working anymore prevents us to upgrade to the latest release of SpringFox.
https://github.com/springfox/springfox/issues/880.
Thanks.

@ericbriere as a library we want to guarantee that the generated swagger definitions will produce valid documents. Per spec the operation id needs to be unique. Also code generation using the rendered swagger document, is not really in scope.

Isn't there any other way for users who want override the default behavior of auto-generated method names? That will be really useful for us @ericbriere @cbornet

In 2.3 it is supported using nickNames like you would expect it. However if you have the method with the same name defined elsewhere it will append numbers to disambiguate them. for e.g. if you have a method with a nickname defined as findPet, it will generate findPet as long as there are no duplicates. The moment if finds duplicates it will start adding findPet_1, findPet_2 to subsequent methods.
If nick is not defined, it will revert to using the names using the format <method>Using<HttpMethod>

:+1:

Just curious - can you clarify me if this is how it works.
Pet resource or PetController - has findPet(). If it has one more nickname with findPet then it would add findPet_1 and findPet_2.
It shouldn't do anything if it has a findPet() in some other controller ex: SomeController or some resource ?

Good,
?
many thanks.

From: Dilip Krishnan<EMAIL_ADDRESS>Sent: Tuesday, December 8, 2015 4:35 PM
To: springfox/springfox
Cc: Eric Briere
Subject: Re: [springfox] Nicknames (#990)
In 2.3 it is supported using nickNames like you would expect it. However if you have the method with the same name defined elsewhere it will append numbers to disambiguate them. for e.g. if you have a method with a nickname defined as findPet, it will generate findPet as long as there are no duplicates. The moment if finds duplicates it will start adding findPet_1, findPet_2 to subsequent methods.
If nick is not defined, it will revert to using the names using the format Using

Reply to this email directly or view it on GitHubhttps://github.com/springfox/springfox/issues/990#issuecomment-163024788.


How do I add infinite scroll/pagination?

Hi, I'm using this library in my project but I'm confused about pagination.
Are there any examples for React?

Please refer to this pagination example.


Remove version: Microsoft.Edge version 109.0.1518.55

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/dd75b458-0c26-4cf6-a4e2-8972f78ecea6/MicrosoftEdgeEnterpriseX64.msi
Status Code: 200
(Automated message - build 694)


InMemory variant looses SubmodelElements

We setup the Basyx Environment with the configuration basyx.backend=InMemory to use and test the basyx environment locally.
We did following steps to enter data in the repository:

POST an AAS with the endpoint /shells
POST a submodel with the endpoint /submodels
POST a submodelRef to the existing AAS with the endpoint /shells/{aasIdentifier}/submodel-refs
If we than access this submodel with the endpoint /submodels/{submodelIdentifier} it all looks good and we see the corresponding submodelElements
But if we then get the MetaData of this submodel with the endpoint /submodels/{submodelIdentifier}/$metadata, the result of this request is right and we see the MetaData of this submodel
But after that MetaData call if we do again the request to see the submodel with the endpoint /submodels/{submodelIdentifier}, the submodel itself looks good but the submodelElements key is not there anymore

So it seems that here is a bug when calling the MetaData of submodel endpoint it then deletes the corresponding submodelElements of this submodel.

@lenaxus You are right.
the root cause is on this line probably.
@FrankSchnicke Maybe a deep copy and then removing the extra submodelelements would be a quick fix. I can try to fix it if no one is going to do.

However, what would be suggestion for deep cloning? AAS4j doesn't offer any copy constructor, nor override clone method. Which I think there should be such feature, when mutation is allowed and the structure is so complex. It will be hard to keep track of these mutations.
So now the easy approach would be to serialize to json, and get back a new object again, which is not the most efficient way.

Thank you very much for pointing out this issue.
@mhrimaz : Currently the only way of creating a deep copy is serialization and deserialization, e.g., to JSON. However, we're planning on adding a deep copy function to AAS4J. Would you like to raise a PR? Otherwise, we will take a look at this and fix it.

@FrankSchnicke you can assign it to me, I will raise a PR.

@mhrimaz are you still interested in doing this PR? If yes, can you estimate until when the PR will be available?

@FrankSchnicke Yes.
Submodel to Json serialization was clear, but I am looking for a way to serialize json to Submodel. (for deep cloning)
If you have a hint here, I appreciate it, otherwise, I have to look in other places in the code to find a way for it.

You can use the readReferable method of AAS4J for this.

Exactly tried that:
Submodel submodelDeepCopy = new JsonDeserializer().readReferable(submodelAsJSON, Submodel.class);
but getting an error:
com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve subtype of [simple type, class org.eclipse.digitaltwin.aas4j.v3.model.SubmodelElement]: missing type id property 'modelType' (for POJO property 'submodelElements')
However, I am pretty sure my payload is correct, but I have to debug it further to spot the problem.

The issue is fixed and a new SNAPSHOT version was uploaded to DockerHub. Thanks again for pointing this out!