Error when opening buffer in directory with restricted access

Describe the bug
Prints out error message Error: vim-ultest encountered an unknown error on startup, check v:exception
Logs couldn't be created as I was in the /usr/local/share/nvim/runtime/syntax and there isn't permission to create a file in that directory. I also tried to name the file ~/vim-ultest.log to create it in the home directory, but that didn't work as well
To Reproduce
Go to /usr/local/share/nvim/runtime/syntax and open a buffer in neovim. It should prompt you with the error Error: vim-ultest encountered an unknown error on startup, check v:exception. It seems like I only get this message when opening a buffer in a directory with restricted access.
It also doesn't print the error message when running with sudo.
Expected behavior
Don't print any error message
Screenshots
https://user-images.githubusercontent.com/5160701/121495616-0f333600-c9da-11eb-9178-64cd39eb8ff3.mov
Additional context
At first it printed out Error: vim-ultest remote function not detected, try running :UpdateRemotePlugins on install/update, but this seems to be fixed by  2032c74. However, I tried to do :UpdateRemotePlugins again after that commit, and then it came back. I tried to do it even more times, and then it suddenly disappeared again showing the error I am receiving now.

Sorry just to clarify, are you saying you can recreate the problem on ubuntu or not?

Yeah I only get this on my mac which is super weird. Exactly the same config, and I try to open a buffer in /usr/local/share/nvim/runtime/syntax on both OS's


http std-lib build hang intermittently during :http-ballerina-tests:ballerinaTest task

Description:

$title
Observed multiple times
See:
https://github.com/ballerina-platform/ballerina-lang/actions/runs/5010553285/jobs/8980606103?pr=40212
or
5_Build Stdlib Level (5).txt
Steps to reproduce:
Affected Versions:
master branch
OS, DB, other environment details and versions:
Ubuntu 22.04.2 LTS
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Seems like this test case is causing the workflow runner hanging: testHttp2InvalidHeaderLength. Note that this is only reproducible in the github runner(not reproducible locally)
See this workflow - https://github.com/ballerina-platform/module-ballerina-http/actions/runs/5013147422/jobs/8985896659#step:7:232
Seems like this is connected to this issue in windows runners : https://github.com/ballerina-platform/ballerina-standard-library/issues/3963. Seems to be the same tests are failing.

error: Connection between client and remote host is closed can be observed when running the following locally.
import ballerina/http;

service / on new http:Listener(9090, requestLimits = {maxHeaderSize: 100}) {
    resource function get hello() returns string {
        return "Hello, World!";
    }
}

import ballerina/http;
import ballerina/io;

public function main() returns error? {
    foreach int i in 0...2000 {
        http:Client cc = check new("http://localhost:9090/hello");
        io:println("Sending request: " + i.toString());
        http:Response resp = check cc->get("/", headers = { "X-Ballerina" : "ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccnnncccccccccccccccccccccccccccccccccccnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"});
        if resp.statusCode != 431 {
            io:println("Unexpected response status code: " + resp.statusCode.toString());
            return;
        } else {
            io:println("Response status code: " + resp.statusCode.toString());
        }
    }
}

Above code is for HTTP/1. That issue will need to be checked separately.

Following code is for HTTP/2 and the first request gets correct 431 status code. However the second request seems to hang.


[EngSys] add a workaround to load ESM tests for Mocha

Currently most of our '*.js' tests and sources under dist-esm/ are transformed by esm
package before being feeded to Mocha because when a package.json has "type": "commonjs" thus Mocha treats .js files as CommonJS.
This PR takes another approach by telling Mocha that the loaded modules under dist-esm/ are ESM via a custom loader (esm4mocha.mjs).
This is done mainly in two parts:

During resolving, this loader checks the path of resolved modules and if it includes "dist-esm/" we set the format of the resolved module to "module".
Also in ESM the full extension is required for relative modules in import/export declarations,  so a transformation is applied
to add ".js" extension to relative imports/exports on the fly when loading the module.

ServiceBus integration-test:node script has been updated to use this approach.  For now, the dev-tool command is unrolled and the old workaround is replaced by the new one:
- -r ../../../common/tools/esm-workaround -r esm
+ --loader=../../../common/tools/esm4mocha.mjs

In the future, the dev-tool command would be updated to use the new workaround for the majority of our packages.

/azp run js - service-bus - tests

/azp run js - service-bus - tests

/azp run js - service-bus - tests

/azp run js - service-bus - tests

/azp run js - service-bus - tests

/azp run js - service-bus - tests


What's the difference between 'odo create' and 'odo component create' ?

[kind/Enhancement]

Which functionality do you think we should update/improve?
I'm just making an experiment to work with odo without any documentation. I still remember parts of it (cool stuff), and I knew there was an answer for the following question, I just can't remember it. But:
What's the difference between 'odo component create/delete/describe' and 'odo create/delete/describe' ?
The help message is confusing here:
Component Commands:
  component   Components of an application (create, delete, describe, get, link, list, log, push, unlink, update, watch)
  create      Create a new component
  delete      Delete an existing component
  describe    Describe the given component

The difference is not clearly understandable here.
Why is this needed?
To not confuse noob users like me.

odo create is an alias to odo component create for those that don't like typing. All the actions, if no resource is specified should apply to component.
This should be clearly stated in the documentation. Some time ago we agreed to not show the shorter version as commands, but rather as information on the help.
Something along the lines of:
odo -h
Odo (OpenShift Do) is a CLI tool for running OpenShift applications in a fast and automated matter. Odo reduces the complexity of deployment by adding iterative developme
nt without the worry of deploying your source code.

Find more information at https://github.com/openshift/odo

Usage:
  odo [flags]
  odo [command]

Examples:
  # Creating and deploying a Node.js project
  git clone https://github.com/openshift/nodejs-ex && cd nodejs-ex
  odo component create nodejs
  odo push

  # Accessing your Node.js component
  odo url create

odo Commands:
Component Commands:
  component   Components of an application (create, delete, describe, get, link, list, log, push, unlink, update, watch). This can be skipped if a subcommand (verb) is directly used.
  app         Perform application operations (delete, describe, list)
  catalog     Catalog related operations (describe, list, search)
  preference  Modifies preference settings (set, unset, view)
  project     Perform project operations (create, delete, get, list, set)
  service     Perform service catalog operations (create, delete, list)
  storage     Perform storage operations (create, delete, list, mount, unmount)
  url         Expose component to the outside world (create, delete, list)

I see, thanks for the explanations.
Having it only in the examples section but not listed below in the 'reference' section is confusing typo (one would always think about a typo). A comment could help here, too, but maybe a section "Shortcuts" in the help message would make the intention more clear?
E.g.
Shortcuts:

    odo create     == odo component create
    odo delete     == odo component delete
    odo describe == odo component describe

Also, I would really try to avoid tautologies in the usage description overall
I.e. instead of
  create      Create a new component
  delete      Delete an existing component
  describe    Describe the given component

just
  create      Create a component
  delete      Delete a component
  describe    Describe a component

("component" is here the important information)

Sorry to be picky (and playing the German here ;), but remember, the usage page will be the first contact to odo for the impatient user. I suggest to handover "odo" without any explanation to someone and let him try to find how it works without any documentation. (that's the execercise I'm just trying to perform). If this works for the basic stuff, then I think it passes the litmus test.
The description should be consistent, too. i.e.:
odo Commands:
  component   Performs component operations (create, delete, describe, get, link, list, log, push, unlink, update, watch). Default operations will be done on a component if the the command name is skipped.
  app         Perform application operations (delete, describe, list)
  catalog     Catalog related operations (describe, list, search)
....
  service     Perform service catalog operations (create, delete, list)

It should be either Perform catalog related operations or move everything to nominal style. Also the difference between "catalog related operations" (command: "catalog") and "service catalog operations" (coman: "service") is not clear.

@rhuss German is good. German is squared ;-)
I agree with all your comments.

/assign  @dharmit
/project Sprint 167

@rhuss
I can take this up since I'm pretty in-tune with the help output.
The only problem is this:
Shortcuts:
  create      Create component
  delete      Delete a component
  describe    Describe a component

Component Commands:
  component   Components of an application (create, delete, describe, get, link, list, log, push, unlink, update, watch)
  config      Modifies configuration settings (set, unset, view)
  link        Link component to a service or component
  list        List all components in the current application
  log         Retrieve the log for the given component
  push        Push source code to a component
  unlink      Unlink component to a service or component
  update      Update the source code path of a component
  watch       Watch for changes, update component on change

You suggest we add "create, delete, describe" as shortcuts..
If you think about it, push, unlink, update, watch, etc. are all shortcuts as well. They are all aliased versions of odo component link or odo component unlink or odo component update, etc.
So what do you suggestion that we do?
At this point, I'm debating about removing odo component completely...

At this point, I'm debating about removing odo component completely...

The main point is to have odo component as the primary command. And clearly highlit that what are shortcuts or aliases.
@cdrage could we do something like this?
Commands:
  component   Components of an application (create, delete, describe, get, link, list, log, push, unlink, update, watch)
  app         Perform application operations (delete, describe, list)
  catalog     Catalog related operations (describe, list, search)
  preference  Modifies preference settings (set, unset, view)
  project     Perform project operations (create, delete, get, list, set)
  service     Perform service catalog operations (create, delete, list)
  storage     Perform storage operations (create, delete, list)
  url         Expose component to the outside world (create, delete, list)

Shortcuts:
  create = component create
  config = component config
  delete = component delete
  describe = component describe
  link = component link
  list = component list
  log = component log
  push = component push
  unlink = component unlink
  watch  = component watch

@kadel
That's my point though... we already have something like this:
Component Commands:
  component   Components of an application (create, delete, describe, get, link, list, log, push, unlink, update, watch)
  config      Modifies configuration settings (set, unset, view)
  create      Create a new component
  delete      Delete an existing component
  describe    Describe the given component
  link        Link component to a service or component
  list        List all components in the current application
  log         Retrieve the log for the given component
  push        Push source code to a component
  unlink      Unlink component to a service or component
  update      Update the source code path of a component
  watch       Watch for changes, update component on change

Other Commands:
  app         Perform application operations (delete, describe, list)
  catalog     Catalog related operations (describe, list, search)
  preference  Modifies preference settings (set, unset, view)
  project     Perform project operations (create, delete, get, list, set)
  service     Perform service catalog operations (create, delete, list)
  storage     Perform storage operations (create, delete, list, mount, unmount)
  url         Expose component to the outside world (create, delete, list)

It's as easy as moving component to "other commands" and renaming "Component Commands" to "Shortcuts".
Is that something we want?

Is that something we want?

yes, but for shortcuts instead of description, I would point to the full command

I don't think that modifying the description to use:
create = component create

Would help much for new users. I do like the way we have it right now,.
What about something like this?
Shortcuts:
  config      Modify local configuration (component config)
  create      Create a new component (component create)
  delete      Delete an existing component (component delete)
  ...

or
Shortcuts:
  config [component config]     Modify local configuration
  create [component create]    Create a new component
  delete [component delete]     Delete an existing component
  ...

All proposals sound good to me as they make it clear that component commands can be used directly.
What about having a
Commands:
    component           ....
    app                         ....
    ....

The following component specific actions can be used directly:
    config                    ..... (shortcut for "component config")
    create                    .... (shortcut for "component create")
    ....

(i.e. using a short sentence as an introduction for the command specific actions)

PR here! https://github.com/openshift/odo/pull/1763


Create scraping3.rb

What the program do ?

In what programming language it is written?

This pull request do not contains files in specific folders. Please fix it and reopen


Unintentional initialization

I got this error while building. Since it belongs to spring i don't think I need any demo here.
org.springframework.util.unit.DataSize was unintentionally initialized at build time. To see why org.springframework.util.unit.DataSize got initialized use --trace-class-initialization=org.springframework.util.unit.DataSize

You probably miss configured Spring Native, please double-check the reference documentation or try to create a project on start.spring.io.


Expose signature string (RFC 5280 <IP_ADDRESS>)

The current signature field exposes the signature value (RFC 5280 <IP_ADDRESS>). But at the beginning of the certificate, we have a field called signature which should contain the OID of the signature algorithm.
See https://datatracker.ietf.org/doc/html/rfc5280#section-<IP_ADDRESS>

Isn't that already implemented here?
https://github.com/filom/ASN1Decoder/blob/master/ASN1Decoder/X509Certificate.swift#L208

@tmolitor-stud-tu you're right, thanks for pointing that out!
sigAlgOID seems to be RFC 5280 <IP_ADDRESS>.
But there must be the same value in RFC 5280 <IP_ADDRESS>.
So this is what was missing. Will update my PR

@filom could you check this PR please :)?


Update HyperHDR to Version <IP_ADDRESS>

Can you please update HyperHDR to version <IP_ADDRESS> which has been released on Mar 24?

Can you update the addon to v20? :)

As others have asked, it would be super cool if yu updated to v20...love you

As previously asked, this hassio integration of HyperHDR is very helpful. Hope this will be updated to use a newer version. Thanks in advance.

For those still searching I found v20 here: https://github.com/NoName93D/ha-addons/blob/master/addon-hyperhdr/README.md


support delete_particle in INTERNAL wrapper

There is a delete atoms method in lammps, that may be useful (we will need to add support for it to the library interface of lammps though... )
http://lammps.sandia.gov/doc/delete_atoms.html

all commands can be sent to the library interface of lammps.  We will have to try it out with the group command as delete_atoms command doesn't allow us to pick a single atom to be delete.
my current plan was to restart the simulation with the deleted atoms removed.

I wonder if we can use the delete atoms method in lammps? (we will need to add support for it to the library interface of lammps though... )
http://lammps.sandia.gov/doc/delete_atoms.html

This turned out to have some issues.  delete_atoms command needed to be used the compress flag set to yes.  This caused a problem as the remaining atoms were given ids that seemed were not given predictable new ids.  So while it would be possible to determine what the new ids were by checking the value of the coordinates, I opted not to take this approach as it seemed error prone plus would not work once bonds were supported.  So in 149b0a43fc500a0b486133e2953164f31c7876cc, whenever a deletion occurs, a copy of all the non-deleted atoms is made before deleting all the atoms from lammps.  Then these saved atoms are added back to lammps.

closed by #83


No hardware found in Signal Tap Logic Analyzer, although System Console shows 'Remote system ready'

At first, I succeed to connect the remote debug target, the PAC host through mmlink according to the instructions in the AFU design guide.  For whatever reason, it doesn't work today. I have tried to connect on Linux, Windows, putty ssh tunnel, and reboot... It still doesn't work. So I suppose there is something wrong on the PAC host. However, I can't find any documents or threads discussing debugging SigalTap connection through mmlink.
Do the two warnings in the System Console mean anything?
"Could not register IService packet."
"A service named 'packet' is already registered."
I am sure my operation is correct. What is the problem?
BTW, can I use SignalTap on the PAC host without connecting mmlink? It seems that the GBS with .stp inside only support connection through mmlink.

Something wired just happened. I tried to power off the PAC host and then power it on. It worked! But only once. After I quit mmlink, it never worked again even though I powered off and on several times.

Some environment information：
Ubuntu 16.04

      OPAE: 1.1.2                      -

       BBB: 1.3.0-1                    -

  PLATFORM: a10_gx_pac_ias_1_2_pv

QURTUS_PRO: <IP_ADDRESS>3


Classes not being greyed out when marked as watched

Classes that do not have a check-in are not greyed out when marked watched. If you uncheck and re-check the watched box, it becomes greyed out but does not save on refresh. Assume this is due to check-in being set as false as default if there is no check in link. It makes it look like there are more classes to watch than there actually are.

Experiencing the same Issue.

So sorry for the delay in getting to this. I thought I had taken this into account - not sure if I'm misremembering or I broke something somewhere along the way. Leaving this open for a few days to see if anyone wants to claim it, otherwise I'll tackle it myself.


NIFI-8466: Resolving offload bug with Single Node load balanced queues

Description of PR
Previously, when a cluster with at least 3 nodes offloaded the first node (the one targeted by a Single Node load balanced queue), only the offloaded node updated its list of partitions in the SocketLoadBalancedFlowFileQueue's partitionQueue.  If the offloaded node reconnected, its queue would list the second node first, but all other nodes (including the second node) would still have the first node listed first.  Therefore, an infinite loop resulted where the first node would be balancing its flowfiles to the second node, and the second node would balance all of its flowfiles to the first node.  The result was that this particular queue would ignore backpressure and the following processor would never be reached, at the same time.
All that said, this fix does the following to resolve the issue:

Causes all non-offloading nodes to remove the offloading node from their partitionQueues in SocketLoadBalancedFlowFileQueue, whenever the OFFLOADING node state change is detected.  This allows all other nodes to be in sync with the first node's partitionQueue.
Causes all non-offloading nodes (of which the previously offloaded node will now be one) to add back a node to the partition queue upon CONNECTED node state change.  This allows the offloaded node to regain its place as the "first node" in Single Node load balancing.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[x] Have you verified that the full build is successful on JDK 8?
[x] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

I will test this out with a 3 node cluster

Tested this out on a 3 node cluster without the fix, identified the issue as stated. Attached is a screenshot of what it looked like for me - files stuck in the queue, and the UpdateAttribute processor did appear to see the files. Also a queue listing says the queue has no files as shown in the screenshot.

I then built with this PR, retested and found the issue was resolved.


[Q] tsduck live probe

hello @lelegard,
i would like to build a live probe with tsduck. I am not a developer but jsut trying to implement something with some coding.
I would like to mention in my code that it is powered by tsduck. I am adding in the HTML footer a "credits" link that shows a modal with the links to tsduck website and license:

just wanted to check with you if this is fine for you.
thanks

I see why you needed more detailed SRT stats 😉

just wanted to check with you if this is fine for you.

No problem at all. I carefully selected a very liberal license to allow the reuse of TSDuck in all circumstances.
The BSD license is very simple. Just follow the two clauses, basically meaning you just have to mention the original TSDuck copyright text. As an example, the file OTHERS.txt in TSDuck contains the copyright of other libraries which are used by TSDuck.
It looks like a nice tool.  I can only encourage you to publish it as open source.

@enricovittorini  please keep us updated

@EvariSTC I am progressing step by step... I am not a developer but trying to build something nice.
Things are progressing...


Updated functions-create-a-web-hook-or-api-function.md

Added a missing "in" within the first sentence of the "Create a webhook or API Azure Function" paragraph.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@mcantillon : Thanks for your contribution to the Azure documentation! The author, @ggailey777, has been notified to review your proposed change.

Thanks for catching and fixing this @mcantillon --We appreciate your help and interest in Azure Functions.

#sign-off


Update selected-asset.ts

Without these fixes, selecting an image from the gallery didn't work in NS7

Released with 4.0.2 - ended up using direct barrel access instead of those methods - lemme know if further issue.


gui-client: state of connection

Is your feature request related to a problem? Please describe.
The tray icon of the gui-client does not show state. My firezone client is always on and it will not report if the connection was broken and I need to re-auth. It usually takes me a couple of moments to realize that my tunnel is broken
Describe the solution you'd like
Either a notification but at least a visual clue that I need to re-auth with firezone.
Describe alternatives you've considered
none
Additional context
I'm using the linux client on PopOS (Ubuntu 22.04 derivative)

Thanks for the report @samuelverstraete. @ReactorScram let me know if you need on/off icon states. The macOS client has a custom animation but that may not be possible for others.

@jamilbk Probably will. I'll build it with placeholders to start with and see how it goes

thank you very much!


Local development --follow internal error does not cause restart of werf converge

werf converge --repo REPO --follow --dev

Results in:

Maybe werf should automatically restart converge in the case of internal failure occured during previous converge process.

For example automatically restart werf N times in such case.


8.0.2 doesn't validate paths correctly

Path arguments with a directory fail validation with "file not exists", despite existing, when resolve_path=True is specified
It looks like the code here concats the passed-in-path to its resolved directory, which means if the path contains a directory, the directory part gets duplicated
https://github.com/pallets/click/blob/0a81393fdf41edb0ab9d2f527eccdc8ce38d7d42/src/click/types.py#L852
e.g.
$ touch relativeDir/myfile
$ python3
Python 3.9.7 (default, Sep 28 2021, 18:41:28)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from click import Path
>>> p = Path(dir_okay=False, exists=True, writable=False, resolve_path=True)
>>> p.convert("relative-dir/myfile", None, None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/click/types.py", line 855, in convert
    st = os.stat(rv)
FileNotFoundError: [Errno 2] No such file or directory: '/relative-dir/relative-dir/myfile'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/click/types.py", line 859, in convert
    self.fail(
  File "/usr/local/lib/python3.9/site-packages/click/types.py", line 128, in fail
    raise BadParameter(message, ctx=ctx, param=param)
click.exceptions.BadParameter: File 'relative-dir/myfile' does not exist.

Environment:

Python version: 3.9.7
Click version: 8.0.2

Seems that the fix for resolving across symlinks caused this. See #1813 (original discussion), #1825 (reverted), #1921 (next discussion), #2006 (currently applied), #2046.

Now that I look at the current code again, os.readlink really isn't a replacement for os.path.realpath, and it's only being applied to one directory, not the entire path. Another suggestion was to use pathlib.Path(rv).resolve() instead, which has a different implementation than realpath which behaves the same on all supported Python versions, but has some overhead.


Upgrade to CUDA 7.0

sudo wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb

Could you please send a PR?


feature: Support sandbox configuration option for FUSE

As discussed with @juergbi BuildStream is lacking a way to tune the build sandbox configuration.
For example, it is possible to expose some devices to the shell sandbox (eg. /dev/fuse) but not on the build sandbox unfortunately.
For my personal use case I wanted to extract the content of a MacOS .dmg file using a remote element (using darling-dmg bundled as a dependency) but was quickly stopped by the lack of /dev/fuse exposition in the build sandbox.
I'm willing to give a try to start implementing something if someone can give me some pointers/context.

I'm willing to give a try to start implementing something if someone can give me some pointers/context.

For local execution, this should be possible to support without any changes in BuildBox. BuildStream would need to append --bind-mount=/dev/fuse:/dev/fuse to the command constructed here, if the new config option is specified.
The sandbox config structure is handled here.
Ideally, we'd also support this for remote execution. However, this would require defining a platform property and adding support for that in buildbox-run-bubblewrap, which is a part of https://gitlab.com/BuildGrid/buildbox/buildbox/. The platform property approach should work for both remote and local execution, so this would not require the --bind-mount option mentioned above.

I don't think there is anything conceptually wrong with using FUSE in a sandbox. However, I would certainly avoid the problem space if there is an alternative, and requiring CAP_SYS_ADMIN makes it a more problematic.
Since Linux 4.18, the namespace-restricted CAP_SYS_ADMIN should suffice but it's still a significant increase in kernel API surface and I think, if we were to support it, adding CAP_SYS_ADMIN should require an explicit, separate platform property, not implicitly be enabled via a FUSE option. It also means that it won't be possible to support FUSE without changes in BuildBox. Changing buildbox-run-bubblewrap to not pass --cap-drop ALL to bwrap might do the trick.
@jbleonesio Have you considered using 7z or the library provided by darling-dmg to extract the .dmg instead of FUSE?

I understand that managing capabilities in the sandbox is not an inconsequential matter.
@juergbi Luckily, I just managed to extract the content of the .dmg using dmg2img to decompress the dmg file prior to extract it with 7z because 7z alone wasn't able to extract the compressed dmg (that was the trick).
It's valuable to have a way to extract dmg files in BuildStream build sandbox because  this format is a widespread way to distribute precompiled software for MacOS.
In some other situations were no alternatives to mounting filesystems could be found, having the opportunity to use fuse would still be valuable IMHO.

Would it be complete nonsense to handle this case through source plugin? So host does the FUSE mount to unpack data into source cache and the content imported into sandbox for further processing.


No Access to Roborock S7 MaxV Cam

Hey,
im trying to access the video signal from my Roborock s7 maxv, but i cant get a Video out of my bot.
What did i wrong?
I installled go2rtc via HACS WebRTC Integration.
This is my go2rtc.yaml
api:
  listen: ":1984"
  base_path: ""
  static_dir: ""
  origin: ""

ffmpeg:
  bin: "ffmpeg"
  global: "-hide_banner"
  file: "-re -stream_loop -1 -i {input}"
  http: "-fflags nobuffer -flags low_delay -i {input}"
  rtsp: "-fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport tcp -i {input}"
  output: "-user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"

hass:
  config: ""

log:
  format: ""
  level: "info"

ngrok:
  command: ""

rtsp:
  listen: ":8554"
  username: ""
  password: ""

srtp:
  listen: ":8443"

roborock:
 username: "XXX"
 password: "XXX"

streams:
  Roborock: roborock://X.X.X.X/

webrtc:
  listen: ":8555"
  candidates: []
  ice_servers:
    - urls: [ "stun:stun.l.google.com:19302" ]
      username: ""
      credential: ""

Roborock supported stated from go2rtc v1.3.0
go2rtc inside WebRTC has older version

Thanks for your fast help, already checked it and it works.
Now i need to figure out how to integrate it as webcam :)


Adding || to alt tag causes a false positive

Currently getting a false positive with this block of code:
<img
    alt={briefHeadline || "Player thumbnail"}
    src={`${posterImage}`}
    style={styles.img}
/>

Even though this passes:
<img
    alt={briefHeadline}
    src={`${posterImage}`}
    style={styles.img}
/>

This unfortunately means there's a chance briefHeadline could be null/undefined preventing an alt tag from being rendered. Any ideas of what could be wrong?

Hey @jamsea - thanks for reporting this. Extracting the value of prop types is a hard problem. Static analysis tools (such as eslint) can't determine actual values of variables until runtime, so a linter cannot pick up whether a briefHeadline is null or undefined. We can use react-a11y for that because this tool runs when running your app.
However, the first use case should not throw an error now in 0.4.3 - the code just didn't handle the case where a prop was a logical expression.
I hope to in the near future extract all of my utils for parsing the JSX nodes determine existence/truthy values into separate modules so that I can better implement and test all cases for what can be used as a prop (and so others can use to build awesome static analysis tools of props, as well!)
Let me know if you see this issue persist and please continue to file if you find more, it's super helpful! :100:

Great, this is working now :+1: I'm in the middle of a big accessibility migration and this tool and https://github.com/angular/protractor-accessibility-plugin have both been life savers. Thanks for your hard work! I'll let you know if I find any other issues

@jamsea ahh dude that is awesome, never seen that before. Just led me to this: https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules
Will use this as a reference to expand this project.
Glad to see you are focusing on accessibility :)

Great! Create issues for the rules you're working on. I might be able to help out. We have a team of about 18 front end engineers, so any issue we can catch at the linter level saves us time. That way we don't have to wait for protractor to run our entire test suite to catch violations after we check in code.


Bug in margin left auto

I was trying to place all the link parts in the navbar to the right using ml-auto, but it is not going to the right. it is only happening in 5.0.0 beta1 version. Hope you will fix it.

Bug reports must include:

Operating system and version (Windows, macOS, Android, iOS)
Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser)
A reduced test case or suggested fix using CodePen or JS Bin

.ml-auto is renamed to .ms-auto, standing for margin-start—and every horizontal spacing properties are renamed this way.
Please read our migration guide while upgrading.

Thank you.


TypeError: transform_test() missing 2 required positional arguments: 'semantic_label' and 'instance_label'

When I run test.py on scannet test set, I got this error. There should be no labels for test set, but the dataloader asks for labels still.

The current code support inference on val split. To test on test split, it is required to create dummy semantic_label and instance_label. I will update the code later when available.

Gotcha. Thx~

I would like to ask when the test code can be updated? Thank you.


Clipboard Changed code missing for C#

For some reason the sample code is only given in JavaScript with no C# examples. Also the API is not explained in a way which can be used in a C# Windows app. What kind of delegate signature does the Clipboard changed event require?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 100fb5ed-12d9-c09f-1820-02521ec76f8b
Version Independent ID: 57d08ba1-0df1-1345-8009-641f40f9713a
Content: Clipboard Class (Windows.ApplicationModel.DataTransfer) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.ApplicationModel.DataTransfer/Clipboard.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @mikben
Microsoft Alias: mikben

Thanks for submitting your feedback and we apologize for the delayed response. I see that updates have not been made since the creation of this Issue, so I went ahead and created an internal work item to resolve this doc bug. The change to swap out the JavaScript snippet for a C# snippet has been merged and should be visible on the live site soon. I'm going to look at some of the related Clipboard content pages to see if other JS snippets can be swapped out in the days ahead.
Though the Issue will be marked as Closed, we will monitor any replies that come afterwards so treat this like an open Issue. Many thanks!


Fix CVE-2019-12735 in vim

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
It fixes CVE-2019-12735 in vim.
Change Log

Modify the upstream patch to apply to current version.

Does this affect the toolchain?

YES
NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2019-12735

Test Methodology

Pipeline build id: xxxx
Local build

Don't feel obligated, but I've seen a few open source projects format patches like:
#Get a local copy of sources
rpm -ihv my_spec.src.rpm
rpmbuild --nodeps --define "with_check 0" -bp ~/rpmbuild/SPECS/my_spec.spec
pushd ~/rpmbuild/BUILD/my_spec/

git init
#Apply the commit (with message intact)
git am <mailing list/git patch>.patch
#Fix as needed (git am --reject is handy)
# Amend the commit to add a message about who modifed it, and where it came from etc. (Similar to --signoff)
git commit --amend
git format-patch

This gives a full history of the commit which is handy.


Add functionality to set global variables from the command line

This makes it much easier to safely pass strings into neovim.
I have attempted to write a test for this feature but couldn't get it to work. That attempt is on lf-/neovim-remote, branch tests.

Thanks for the contribution, but I think we shouldn't merge this.
Reasons:

It's not a major use case.
What about the other scopes like window or buffer variables? We can't possibly add an own option for each of these.
nvr mostly mimics the options from the vim exectuable and we shouldn't add more options if not really necessary.
nvr -c 'let g:foo = "foo | bar"' should be easy enough if you know Vim.

Thanks anyway!


Unrecognized command: start

i have a local repo named Durotan under GOPATH/src, and i do the following:
cd $GOPATH/src/Durotan

apm start Durotan

and got following:

Unrecognized command: start

Probably you have another binary with name 'apm' installed on your computer, because the "Unrecognized command:" message is not a part of APM responses.
If I were to guess, I'd say you have 'Atom' installed on your computer, because atom also has a binary 'apm' which outputs this exact same thing when you try to use a unknown command.
If that's the case, try to rename one of the binaries.


added another education establishment

Added notre dame ac

@alphatxch-os I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host ndonline.ac.uk.domains.lib not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Paths for FileAttachment don't work using a leading slash

Was having a Slack discussion on routing and am noticing that referencing a data loader in a FileAttachment doesn't work with a leading slash.
For example, if I put the example notebooks under a demo/ folder, then the following works when running a preview:
const events = FileAttachment("/data/events.json").json();

but it fails for me once it is deployed to Observable. I get something like Error: File not found: /data/events.json
Our discussion on Slack ended on imports, which do work with a leading slash, but the FileAttachment path I think still has to be referenced by a relative path. It works locally on testing, but the deployed build fails.
Overall: was hoping that the paths to access data loader results with FileAttachment could allow for leading-slash paths, which would help improve organization with reference to folder organization of pages.
Thanks!

Confirmed that this is a bug if the project is served not at the root of a domain. (So, you can serve a project on example.com, but not under example.com/base.) Working on a fix onw.

Apologies for the ignorant question, but now that this has been merged, does that mean it is available in Framework? Do I need to reinstall the package or wait until it is added in an upcoming release? Much appreciated.

Generally all changes will be available in the next release of Framework. Given our pace lately, I'd expect that to come out this week or next. If you want to get on the absolute latest version though, you can specify git or github URLs in your package.json, as documented here: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#git-urls-as-dependencies. If you do that, make sure to keep up to date with the changes on the repo, since it will include undocumented changes that might be a little buggier or incompatible with the currently released version.


Please make it, so that attended installations work with the package manager.

Whenever, I make an attended installation package, it just doesn't work.
it, pops up the wizard, or window, and I will do the necessary steps and the installations,
Most program installations have an attended installation, so it would be useful, if we have all types of installations work with winget.
If it is made that if the specific program is an attended installation type, the window, or the wizard pops up, it works us through the setup, and the installation is done.

Duplicate of #910


Refactor and optimize regexes for phone numbers and emails

Fixes https://github.com/bcgov/cas-cif/issues/1221
As mentioned in the issue, this PR resolves the existing duplicated regex and optimizes them into one single file.

Note: Currently, I am turning this into draft PR and will be updating soon.

Hello @batunpc
Thank you for your contribution! We're a small agile team working at the Government of British Columbia with the Climate Action Secretariat. This code base is published under the Apache 2.0 license in a transparency effort, to allow the public to follow development effort and provide feedback.
At this time, we are not setup in our development process, to accept and review external contributions.
I apologize for not outlining contribution guidelines and the steps needed to submit work to the team, this will be addressed in the future.
Regards,
Pierre


feat(modal): Implement modal component

Hi,
The README says Modal (in progress...). Is it true, is sb working on that? Can we share some progress here (in a separate branch presumably)? I'd consider contributing as I need it for my project...
Thanks for providing more info.
Marcin

Hey, approach to modals implementation was more conceptual
next week I get back to ng2-bootstrap activity
and modal will be component oriented like routing

Any update on the Modal component?

in progress, stay tunned

+1 . No pressure though. Great work on the other components!
I'm currently on the verge of writing a modal component myself. If you're planning to release soon, that would be great to know (than I'll postpone my work a bit) ;)

+1
That's the only important piece that is missing.

+1

+1

Okay! :)

+1 :)

+1

+2 )

+1

Perhaps something from here can be used?
https://github.com/shlomiassaf/angular2-modal

I already had a brief look at the code. It's not that easy to understand, especially since the Angular API has changed so much since alpha 26 (and the DomRenderer can't do enough anymore).
I settled for a straightforward component that encapsulates a Modal, which I can show/hide at will. Disadvantage is that I need to insert this component in each template I need it (meaning there are multiple - hidden - dialogs all the time) and I'll probably have issues with the backdrop in some cases. But for now it's very uncomplicated and it works.

yes, please :-)

The component:
import {Component, View, Input, Output, EventEmitter, OnInit} from 'angular2/angular2';

/**
 * Shows a bootstrap modal dialog.
 * Set the body of the dialog by adding content to the modal tag: <modal>content here</modal>.
 */
@Component({
  selector: 'modal'
})
@View({
  templateUrl: './components/modal/modal.html'
})
export class Modal implements OnInit {

  @Input('title') title: string;
  @Input('cancel-label') cancelLabel: string = 'Cancel';
  @Input('positive-label') positiveLabel: string = 'OK';

  /**
   * Fires an event when the modal is closed. The argument indicated how it was closed.
   * @type {EventEmitter<ModalResult>}
   */
  @Output('closed') closeEmitter: EventEmitter<ModalResult> = new EventEmitter<ModalResult>();
  /**
   * Fires an event when the modal is ready with a pointer to the modal.
   * @type {EventEmitter<Modal>}
   */
  @Output('loaded') loadedEmitter: EventEmitter<Modal> = new EventEmitter<Modal>();

  showModal: boolean = false;

  constructor() {
    console.log('showModal = ' + this.showModal);
  }

  onInit() {
    this.loadedEmitter.next(this);
    console.log('modal inited');
  }

  /**
   * Shows the modal. There is no method for hiding. This is done using actions of the modal itself.
   */
  show() {
    this.showModal = true;
  }

  positiveAction() {
    this.showModal = false;
    this.closeEmitter.next({
      action: ModalAction.POSITIVE
    });
    return false;
  }

  cancelAction() {
    console.log('sending close event');
    this.showModal = false;
    this.closeEmitter.next({
      action: ModalAction.CANCEL
    });
    return false;
  }
}

/**
 * The possible reasons a modal has been closed.
 */
export enum ModalAction { POSITIVE, CANCEL }
/**
 * Models the result of closing a modal dialog.
 */
export interface ModalResult {
  action: ModalAction;
}

The template:

          {{title}}

        <ng-content></ng-content>

        <button type="button"
                class="btn btn-default btn-sm"
                (click)="cancelAction()">
          {{cancelLabel}}
        </button>
        <button type="button"
                class="btn btn-primary btn-sm"
                (click)="positiveAction()">
          {{positiveLabel}}
        </button>

This seems to work for me.
@bertvh thank you!

Merge it with main branch :+1:

@koodikindral Not ready for that. I see a few problems:

You need to include the modal in your templates, resulting in multiple (hidden) modals + you need to subscribe to the loaded even in order to control the modal from your own component, which is OK but not super great.
Many things you can't do such as: close with (x) button, only supports two buttons at the bottom, can't control size, animation, (much to do here).
Code is not super clean.

+1

status update: have a working prototype, to represent bs4 logic and classes
debugging, planning to land it this week

+1 Very much looking forward to this landing. I'll be able to use ng2-bootstrap in my company's app once it does! :)

+1, also, when this lands with a little bit of tweaking I'll stop copy pasting components and acctually install package into project.

Hi Guys,
Just found this repo, nice work.
You can take a lot at my repo where I implemented a Modal window for bootstrap.
I was mentioned here before: https://github.com/shlomiassaf/angular2-modal
I updated it to work with ng2 beta, it also has a working npm package since some developers wanted it... tough I dont think its good 2 have 2 versions...
The main idea is to allow a modal to be any component which makes it completely customizable.
Of course, I supply some basic "Modal" components but the user can also add his own.
Personally, in the spirit of web components, I believe a complete solution for bootstrap is not the right approach, rather a set of separate components with a possible 1 light wight package for shared services... if needed, not sure.

Great, I will check tomorrow! @shlomiassaf

Just need this to start using ng2-bootstrap for my company's new project as well!

+1 Any news?

While we are drooling for this, I can confirm that https://github.com/shlomiassaf/angular2-modal works great so far in my app. It's a little bit hard to wrap your head around it, but it works. Still hoping @valorkin and other will find time to implement it here.

yeap, actually we almost here
I have added several things guys was pushing me too
like, systemjs bundles and cdn stuff for plunkr
you can see here https://twitter.com/valorkin/status/692037650061115394

FWIW, I've got a simple version of a modal available at https://github.com/dougludlow/ng2-bs3-modal. I needed it for a project I was working on.

+1 I'd even love to know which branch this feature is semi-functional in.

+1

+1

+1

+1

Any progress?

+1

+1

@bertvh Why we need use loaded  event for binding modal? How about local variable binding in template?
<modal #myModal
       [title]="'Are you sure?'"
       [cancel-label]="'cancel'"
       [positive-label]="'OK'"
       (closed)="onCancelConfirmation($event)">
  The body of your modal
</modal>

and then
<button (click)="showModal(myModal)">Show modal</button>

@Iverson I do like that better. Simply didn't think of that. Still finding my way in Angular 2 ;)

I did implement part of @bertvh code, but style.display is pure CSS so no smooth effect on show or close :cry: (except that it works great :+1:  )

+1

+1

+1

Is there any code for this component already that could be committed into a separate branch? More than willing to help, but there's no need for multiple people to do the work twice …

@dougludlow ,Its working perfect for the project i am working on !! Thanks a lot!!

+1

@Nick-Thakkar :thumbsup:

+1

+1

+1 and ty for doing this awsome work

+1

+1

+1

+1

For any interested, you might take a look at https://github.com/dougludlow/ng2-bs3-modal for a working bootstrap modal component.

@dougludlow  that means another module and another dependency...

@bdsoha that's how we roll :bike:

I tired ng2-bs3-modal which doesn't work for me.
As mentioned in document ng2-bs3-modal depends on bootstrap which depends on jquery, you'll need to include both scripts before ng2-bs3-modal:

Instead of that I used

instead of it I used

and it doesn't work. Any clue?

@kalpeshrajvir-virtueinfo ng2-bootstrap.min.js has nothing to do with bootstrap.js. They are totally different, that's why you can't make it run with such set of libraries. Use the libraries proposed by library author. And you better ask such question on ng2-bs3-modal's github page

Do you mean ng2-bootstrap.min.js and bootstrap.js both is required? I
though they will conflict that's why I tried with one.
On Fri, Apr 22, 2016 at 7:15 PM, Alexey Lizurchik<EMAIL_ADDRESS>wrote:

@kalpeshrajvir-virtueinfo https://github.com/kalpeshrajvir-virtueinfo
ng2-bootstrap.min.js has nothing to do with bootstrap.js. They are
totally different, that's why you can't make it run with such set of
libraries. Use the libraries proposed by library author. And you better ask
such question on ng2-bs3-modal's github page
https://github.com/dougludlow/ng2-bs3-modal/issues
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/valor-software/ng2-bootstrap/issues/29#issuecomment-213434259

--
------------------------------------------------Thanks & Regards,Kalpesh
RajvirTeam LeaderVirtueinfo Web Technologies (India) Pvt.
Ltd.www.virtueinfo.com http://www.virtueinfo.com/mobile:+91
9375701917E-mail<EMAIL_ADDRESS><EMAIL_ADDRESS>kjrajvir.virtueinfoGtalk:
kalpeshrajvir.virtueinfo

@kalpeshrajvir-virtueinfo No they will not. Bootstrap (original) uses jquery for their components, but ng2-bootstrap utilizes self-built components on vanilla js (without heavy jquery). So basically ng2-bootstrap just visually is like bootstrap, but actually not. And also that's why new components appear slowly, because @valorkin should make them almost from scratch. Let's stop this discussion, because other guys get notified, but there are no changes for this issue

+1

+1

+1

+1

+1

+1 Awaiting this feature, noticed it was "coming soon" in December, updates?

I would say it will be soon enough :)
https://twitter.com/shlomiassaf/status/730164935947370496

@shlomiassaf implemented modal in a different way, I would like it to be similar way as we have it in ui-bootstrap, because a lot of use cases are covered using that.

While we are waiting, if you want to use code to open/close the modal, my walkaround way right now is adding hidden buttons.
This way can keep the bootstrap style of the modal and the fade in/out animation, which works perfect.
Say I have a modal:

Open modal
<button id="openModalButton" [hidden]="true" data-toggle="modal" data-target="#myModal">Open Modal</button>

Then use the code to "click" the button to open the modal:
document.getElementById("openModalButton").click();

Close modal
Similar,
<button id="closeModalButton" [hidden]="true" data-dismiss="modal">Close modal</button>

use the code to "click" the button to close the modal:
document.getElementById('closeModalButton').click();

@Hongbo-Miao That would require jquery and bootstrap javascript files to be included, if the project doesn't uses them, then we cant use it.

just to keep you updated
work in progress
https://github.com/valor-software/ng2-bootstrap/tree/feat-modal

:+1:

tracing last issue before release

@valorkin I looked into the code of that branch and I have two questions:

Is it possible to reference the modal via template url?
Is it possible to put a separat ts file behind a modal window?
Is it possible to exchange information between the modal window and its parent?

Released :)
@jhiemer

Is it possible to reference the modal via template url?

it will be added, but not as templateUrl in html, but as component to inherit and replace html

Is it possible to put a separate ts file behind a modal window?

please elaborate

Is it possible to exchange information between the modal window and its parent?

they share context, so yes

it will be added, but not as templateUrl in html, but as component to inherit and replace html
Ok, waiting for it. :-)

Is it possible to put a separate ts file behind a modal window?
please elaborate
I think the separate component/html one, would fit into this.

Is it possible to exchange information between the modal window and its parent?
they share context, so yes
I will try it.

@valorkin to be more precise, here is a sample from Angular 1.
$scope.open = function (size) {

    var modalInstance = $uibModal.open({
      animation: $scope.animationsEnabled,
      templateUrl: 'myModalContent.html',
      controller: 'ModalInstanceCtrl',
      size: size,
      resolve: {
        items: function () {
          return $scope.items;
        }
      }
    });

    modalInstance.result.then(function (selectedItem) {
      $scope.selected = selectedItem;
    }, function () {
      $log.info('Modal dismissed at: ' + new Date());
    });
  };

@jhiemer modal is just a UI tool, it doesn't create separate context (at least for now or should not)
so it doesn't have result in a separate way
it just allows you to show data in different way
but handling of data streams is up to you
if doesn't make sense I can elaborate a bit more

@valorkin ok, but having just this popup without being able to transfer any data into it and getting back some results from e.g. Save() or Cancel() does not help in many cases.
Which use cases do you see for a modal, which just opens and displays "data in a different way"?
Taking an example: you want have modal, which opens up, if you want to delete a resource. Then it would be very nice to have at least way to get a reference of the entity to delete into the modal and vice versa.

This also has another limitation, you cannot open one modal from different location in the application.
And also how should we be able to open multiple modals?!
How can we integrate modal with the router?!

And also how should we be able to open multiple modals?!
http://v4-alpha.getbootstrap.com/components/modal/

Multiple open modals not supported
Be sure not to open a modal while another is still visible. Showing more than one modal at a time
requires custom code.

This also has another limitation, you cannot open one modal from different location in the application.
actually you can but the way it is in ng2 is a bit different from ng1

How can we integrate modal with the router?!

How can you integrate opening dropdown with router?
Same way works for modal :)

PS do not hesitate to ask questions, I am listing them and will update documentation with answers
right now top prio datepicker popup, than update docs

@valorkin my questions are still open. :-)
thanks for the great library btw.

@valorkin

Multiple open modals not supported

Even thought Jquery Bootstrap didn't support it, we had Angular UI (for 1.x) which is a custom code as is ng2-bootstrap, which supported it.

@mohammedzamakhan agreed, should be added

How can I close a modal from within its own controller? For example, I have a modal that shows a form. The save button is executing a method in modal's controller. Once everything is saved, I want to close it.
Is there any reference to lgModal?

http://valor-software.com/ng2-bootstrap/#modals
like in demo
In general you have two options how to get instance of modal component:

via View\Content child
via html like this #lgModal="bs-modal"
than you have an access to hide method

Right, so I have this as a template:

....

        <button type="submit" class="btn btn-primary">Create</button>
        <button type="reset" class="btn btn-danger" (click)="lgModal.hide()">Cancel</button>

And the controller attached to it is something like this
export class GoalFormComponent {

  newGoalModel: NewGoal = new NewGoal('');

  constructor(
    private goalsService: GoalsService
  ) {}

  newGoalSubmit() {
    this.goalsService.createNewGoal(this.newGoalModel)
      .subscribe(
        _ => this.loadGoals(),
        err => console.error(err),
        () => lgModal.hide()
      );
  }
}

So basically, I am within the modal's component. See the line () => lgModal.hide(), that is the one I am refering to.

@ShurikAg no no, this should throw an exception
please refer to this post:
http://blog.mgechev.com/2016/01/23/angular2-viewchildren-contentchildren-difference-viewproviders/
and inject modal into your component via View or Content child

and let us move to https://gitter.im/valor-software/ng2-bootstrap
to not spam to all here :)

I did. In my parent component's view I have:
<goal-form></goal-form>

And it's all working well, I am just not sure how to close the modal from it's own controller.

How to use bootstrap nested modal in simple way?


Fastai WandbCallback with multilabel datasets

Weights and Biases version: 0.8.9
Python version: 3.6.9
Operating System: Linux-4.14.133-88.112.amzn1.x86_64-x86_64-with-Ubuntu-16.04-xenial

Description
I'm trying to see prediction samples for fastai image classification, where the images are multilabel. I'd like  it to be ran on the validation data at the end of each epoch and to see captions of ground truth/predictions.
When I use a multilabel dataset, instead of ground truth/prediction captions for each image, I get a three copies of each image side by side, where each is labeled, "Input data", "Prediction", "Ground Truth" (but not the actual categories)
What I Did
callback_fns += [partial(WandbCallback, input_type='images', monitor='acc_thresholded')]

@borisdayma could you take a look at this please?

@austinmw do you have a coffee sample I can look at?
The callback tries to guess the type of problem (classification, segmentation...) based on the type of input/output seen.
This case is probably not handled and it would be good to see in which category of problems the callback is classifying it.

Hmm I'm not familiar with what a coffee sample is. The category of problem is a CNN classifier that is multilabel. So, each image can have between 0 and 4 labels, and each output value uses a sigmoid activation, so they don't sum to 1. My fastai databunch is created using .label_from_df(label_delim=' ').

Sorry I had a typo.
What is the shape of output tensor?
Is it (batch_size, 4) with each value representing probability of a class?
A simple example may make it easier to debug if possible. Maybe you are even adapting one of fastai notebooks that I can look at?

Yes that's the output shape. It's difficult for me to create a minimum reproducible example, because my code is currently completely intertwined with aws sagemaker. However, a good example of an almost identical problem (fastai, cnn, multilabel) fastai's course example using the planets dataset: https://nbviewer.jupyter.org/github/fastai/course-v3/blob/master/nbs/dl1/lesson3-planet.ipynb

Ok the issue is that multi-classification problems are not automatically detected yet. Let me look a bit more into it.

I think this can now be handled correclty with commit https://github.com/borisdayma/client/commit/5f43f7dac4068bc0bfe4a91d13469f8a0b36649c
I just need to do some more testing to ensure it does not affect other types of problems.
Feel free to test it in the meantime.
Here is a sample run.


Embedded Text channels in VCs dificult to view

Embedded text channels in Voice Chats difficult to open
Reproduce is just as easy as going into a VC and attempting to open the embedded text chat
Screenshots

Discord channel: Stable
OS: Windows
Mod: Better Discord
Discord language: English
It is possible to open them from the popout screen, but its not ideal since on that screen the close button is not enlarged on that screen

Made a pull https://github.com/DiscordStyles/SoftX/pull/110

Fixed!
https://github.com/DiscordStyles/SoftX/pull/111


runtime/coverage: inaccurate coverage with covermode=atomic on js/wasm

Go version
go version go1.22.4 windows/amd64
Output of go env in your module/workspace:
go env
set GO111MODULE=on
set GOARCH=wasm
set GOBIN=
set GOCACHE=C:\Users\12009\AppData\Local\go-build
set GOENV=C:\Users\12009\AppData\Roaming\go\env
set GOEXE=
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\zxilly\go\pkg\mod
set GONOPROXY=1
set GONOSUMDB=
set GOOS=js
set GOPATH=C:\Users\zxilly\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set<EMAIL_ADDRESS>set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set<EMAIL_ADDRESS>set GOVCS=
set GOVERSION=go1.22.4
set GCCGO=gccgo
set GOWASM=
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=E:\Project\CS_Project\gsv\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-fPIC -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\zxilly\AppData\Local\Temp\go-build700005929=/tmp/go-build -gno-record-gcc-switches

What did you do?
Steps to Reproduction:
git clone https://github.com/Zxilly/go-size-analyzer.git
git checkout de09d207da04eb2633ec34a564e215946b069057
python scripts/tests.py --unit-wasm

Sorry I couldn't reproduce the problem in a smaller sample.
What did you see happen?
The script described above above will generate a unit.profile coverage file.
mode: atomic
github.com/Zxilly/go-size-analyzer/internal/result/result_js_wasm.go:5.42,7.31 2 1
github.com/Zxilly/go-size-analyzer/internal/result/result_js_wasm.go:7.31,9.3 1 21
github.com/Zxilly/go-size-analyzer/internal/result/result_js_wasm.go:11.2,18.3 2 1

with go tool cover -html="unit.profile", got a page

Obviously, none of the statements after append are computed into coverage, and similarly, the package that is called recursively is not reported. The programme didn't crash either, because the result in test turned out to be correct.
What did you expect to see?
Coverage should be able to correctly report all lines and files that are run.

Similar Issues

cmd/go: test -cover reports 100.0% without full coverage #39168
cmd/distpack: misc/wasm folder should be kept in the toolchain package #68024
runtime/coverage: coverage from other binaries is not collected in tests #60182
cmd/go: test with coverage unexpect fail #43242
cmd/go: test -cover should print the total module coverage #49917

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

I confirmed this error exists for go-tip go version devel go1.23-8f5c6904b6 Sun Jun 16 23:08:08 2024 +0000 windows/amd64

The wasm wrapper I used is https://github.com/golang/go/blob/master/misc/wasm/go_js_wasm_exec

@thanm Can you check this issue?

I've test against set, count and atomic, none of them works.

your reproduction step uses too many unnecessary dependencies like python.
all it does is:
export GOARCH=wasm
export GOOS=js
export PATH="$PATH:$(go env GOROOT)/misc/wasm"
go test -v -cover -covermode atomic -coverprofile unit.profile ./internal/result
go tool cover -html unit.profile

and as far as I can tell, it reproduces only with atomic or count, not set.

Yes, covermode set works correctly.

Not sure if I see a bug here, things look like they are working as intended. First screendump from the HTML report with atomic mode:

Note the color of "low coverage" on the left. This shade is chosen (I presume) to be slightly above the gray value of "not tracked". Now here's a screendump of the func body:

I invite you to squint carefully and compare the shade of the first line ("MarshallJavaScript") with the shade of the second line ("var sections []any").  The color of the first line corresponds to that of "untracked" from the legend, and the color of the second line corresponds to "low coverage" from the legend. Note that "low" does not mean zero.
With that said, it is clear that the status quo is confusing.  Maybe we need to choose a different color scheme, something that makes it easier to tell the difference between "low" and "zero" more reliably.   Let me know what you think.

Sorry, I realise this may have been a mistake.
The error should be caused by codecov and not gc, I will report it to them.


DpadRecyclerView is final

Please make sure DpadRecyclerView can be derived, e.g.
open class DpadRecyclerView...

Released in 1.0.0-alpha02


Add Active Filters To Search Page

💡 Description
Add an active filters section to the filters in the search page.

This will require updates to wds-react chip. Need the x icon and the typography.
⚔ Parent Epic / Related Tickets
No response

Added Active Filters In https://github.com/NASA-PDS/portal-wp/commit/458904d8ea4f0a6dc9e06b7848c6871a27b04e5b
Updated wds-react chips in https://github.com/NASA-PDS/wds-react/commit/632d09aac2d080c93ccdb460d7546aefe65a7e80

Merged in https://github.com/NASA-PDS/portal-wp/pull/20


A few installation issues using artifact

When I installed ViSII using artifact, I met some issues. Here are some solutions:
First, make sure VISII_HOME includes the directory that contains the artifact files. Then add these lines to your .bashrc:
export PATH="${PATH}:${VISII_HOME}"
export PYTHONPATH=${VISII_HOME}
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${VISII_HOME}"
(1) If you are using conda, make sure your LD_LIBRARY_PATH includes anaconda libraries. One way to guarantee that is to add something like this line in your .bashrc:
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/home/guanya/anaconda3/lib"
(2) Make sure your NVIDIA driver and CUDA are updated. See https://ingowald.blog/installing-the-latest-nvidia-driver-cuda-and-optix-on-linux-ubuntu-18-04/ about how to install the latest NVIDIA driver and CUDA on Ubuntu. For me (GTX 1080), my driver version is 450.36.06 and my CUDA version is 11.0. You can check them using nvidia-smi and nvcc --version.
(3) One way to check the installation is to do
import visii
visii.initialize_interactive()
in Python. You will see a box like this if installing succesfully.

So I've made a little progress on this.
On development, the artifacts that are uploaded now contain .whl files, which can be installed with pip.
Something like pip install visii-0.1.dev1+g360b63e-cp27-cp27mu-linux_x86_64.whl
This should install visii to a location which is already on your path / python path, although it needs testing.
I'm thinking when it comes to missing an Nvidia driver, I might open a separate issue to tackle that.

Most all of the above issues have been addressed now that we support distribution using pip. We should open a separate issue to tackle that Nvidia driver thing if that remains an issue.


minSdkVersion 21

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

We need minSdkVersion 16 not 21.. until this is use less for most of the developer..

@webwayscript Will try to add this in next version.


Summon Phantasm on Kill / Soulwrest - Phantasm Support & DPS issue

It's a little hard to get a phantasm's dps in pob, such as the soulwrest new unique staff.  A work around is to use a skeleton and support it with summon phantam on kill.
However, is a Phantasm an attack or a Spell?  POE wiki say they use " a piercing projectile spell that deals physical damage".  POB won't allow them to be supported by Spell echo and etc, but instead wants them supported by Faster Attacks, Multistrike, and Melee Phys.  Seems they are coded as a melee attack in POB if supported by a melee, and spell projectile if supported by a caster?  But even when supporting Flame Golem, they won't allow spell echo support.

Old and very known bug. PoB thinks it's an attack and thus making it impossible to check for numbers. I think because phantasms are never really used he didn't care yet to fix this.

Add Controlled Destruction to the list of supports that doesn't work in PoB with Phantasms.

@TheSixStringSamurai this is because phantasms are being treated as an attack. If their damage type gets set to spell this will automatically work.


Delete Repository should clean all evidence from DB

current behaviour: dectivate webhooks at Forge
expect:

deactivatewebhook at Forge
delete all logs, task, job ... and repo istselv from db

this function is already available api wise, but i decided to use the deactive for now. should I change it?

yes

@anbraten can you add a pop up "are you sure y/N" dialog to avoid acidents?

We already have a dialog so I will just change it to remove.

wow you are fast ;)

Nice! Thats something I stumbled over when get in touch with woodpecker and something I would, form an user pov, expect to behave different.
Maybe add a third button (besides delete and repair) to deactivate only?


How to write text into a file? Not from a source file.

I am wondering if it is possible to write something into a file? Instead of using gulp.src('glob').pipe(gulp.dest('target/'))?
The thing is i have some text generated while the task is running, and i'd like to write those thing into a file. For consistency purpose, i am asking if there is a gulp plugin to do this? Instead of fs?

Question, where does the filename.txt get saved if at all?


Draft: Update centos setup script

Waiting CI test of https://github.com/oap-project/gluten/pull/1198

it seems the scripts used in cent7/8 are assuming to run with "root" ?
dnf install -y -q --setopt=install_weak_deps=False epel-release dnf-plugins-core
Error: This command has to be run under the root user.

can you change this to run with "sudo" ?

@zhouyuan @weiting-chen  sudo was added in setup scripts. But implicit sudo make install in setup script is not secure. Maybe we should manage source-based depends in non-system dir (e.g. $VELOX_HOME/third_party).


local_name filtering leaves out my device

Hello, in the manifest the local_name looks like:
  "bluetooth": [     {       "local_name": "FR:RU*"     }   ]
But my device is FR:RE, I wonder if the E stands for España (Spain). If I set up in like FR:RE, the integration works, if I don't make the change, it does not recognize my device.

Yes, the docs said it only works for FR:RU. Didn't know they made another one.
I surprised the manifest did anything. Did you need to change the config_flow.py? There is another filter there on the serial number? I think I can add another entry for the RE version

Closed with version 1.2

That was quick! I didn't check the config_flow.py, but maybe that was the reason of some issues I had... let me play with the new version and I will confirm if everything is working as expected.


from uvr.models import MDX, Demucs, VrNetwork, MDXC ModuleNotFoundError: No module named 'uvr'

Traceback (most recent call last):
File "/home/project/Whisper-WebUI/app.py", line 11, in
from modules.whisper.whisper_factory import WhisperFactory
File "/home/project/Whisper-WebUI/modules/whisper/whisper_factory.py", line 6, in
from modules.whisper.faster_whisper_inference import FasterWhisperInference
File "/home/project/Whisper-WebUI/modules/whisper/faster_whisper_inference.py", line 17, in
from modules.whisper.base_transcription_pipeline import BaseTranscriptionPipeline
File "/home/project/Whisper-WebUI/modules/whisper/base_transcription_pipeline.py", line 12, in
from modules.uvr.music_separator import MusicSeparator
File "/home/project/Whisper-WebUI/modules/uvr/music_separator.py", line 11, in
from uvr.models import MDX, Demucs, VrNetwork, MDXC
ModuleNotFoundError: No module named 'uvr'

Hi, The uvr package is installed via the git+pip, I suspect this problem is caused by git not being installed properly.
Can you check if the git is installed in your environment by typing this in the terminal?
git --version

I'm having the same issue. Also i check the git version ---> git version 2.34.1


Tritium H3 build for V4.3

Hello
are there any plans to build retrorangepi 4.3 for the tritium H3.  Or can I just download any H3 version and change the DTB?

Please test: http://retrorangepi.download/RetrOrangePi_v4.3_Armbian_19.11.3_Tritium-h3_bionic_current_5.3.13_desktop.img.7z

Hello,
it doesn't boot
"found U-boot script /boot/boot.scr
Executing script at 43100000
Wrong image format for "source" command
SCRIPT FAILURE: continuing
card did not respond to voltage select
Device 0: unknown device_sun8i_emmc_eth_init: Timeout
missing environment variable:pxeuuid
missing environment variable: bootfile
..."

New image is up, same link. Please try again and post full log (picture)

Thanks, the image boots and everything seems to work.  Although I didn't test some games.  I can tell eduke32 wouldn't install and I can't seem to find super mario war in the optional packages.  Any reason why it is removed?

Thanks for the info. Please open new issues to fix eduke32 and smw . The latter is not compatible with the KMS mode (new standard for mainline kernel) - https://github.com/retr0rangepi/RetroPie-Setup/blob/8996e64725fc30cafad56d58e52cc75b61333b56/scriptmodules/ports/smw.sh#L16
Since image works, closing this one.


Connecting to McIntosh MA5300 via RPI4 but no sound

I followed different tutorials on this and cannot get the sound out of RPI4 and MA5300 on Spotify. That's with USB connected out of RPI4 to MA5300 stereo amp to its DAC1. Any help would be appreciated.
pi@raspberrypi:~ $  aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
pi@raspberrypi:~ $ aplay -L
default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
sysdefault:CARD=Headphones
bcm2835 Headphones, bcm2835 Headphones
Default Audio Device
dmix:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct sample mixing device
dsnoop:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct sample snooping device
hw:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct hardware device without any conversions
plughw:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Hardware device with all software conversions
usbstream:CARD=Headphones
bcm2835 Headphones
USB Stream Output
/etc/default/raspotify -- Arguments/configuration for librespot
Device name on Spotify Connect
DEVICE_NAME="McIntosh MA5300"
The displayed device type in Spotify clients.
Can be "unknown", "computer", "tablet", "smartphone", "speaker", "tv",
"avr" (Audio/Video Receiver), "stb" (Set-Top Box), and "audiodongle".
#DEVICE_TYPE="speaker"
Bitrate, one of 96 (low quality), 160 (default quality), or 320 (high quality)
#BITRATE="160"
Additional command line arguments for librespot can be set below.
See librespot -h for more info. Make sure whatever arguments you specify
aren't already covered by other variables in this file. (See the daemon's
config at /lib/systemd/system/raspotify.service for more technical details.)

To make your device visible on Spotify Connect across the Internet add your
username and password which can be set via "Set device password", on your
account settings, use --username and --password.

To choose a different output device (ie a USB audio dongle or HDMI audio out),
use --device with something like --device hw:0,1. Your mileage may vary.

OPTIONS="--device usbstream:0,0 --username --password"
Uncomment to use a cache for downloaded audio files. Cache is disabled by
default. It's best to leave this as-is if you want to use it, since
permissions are properly set on the directory `/var/cache/raspotify'.
#CACHE_ARGS="--cache /var/cache/raspotify"
By default, the volume normalization is enabled, add alternative volume
arguments here if you'd like, but these should be fine.
#VOLUME_ARGS="--enable-volume-normalisation --volume-ctrl linear --initial-volume=100"
Backend could be set to pipe here, but it's for very advanced use cases of
librespot, so you shouldn't need to change this under normal circumstances.
#BACKEND_ARGS="--backend alsa"

You should remove your username and password from the post. It shouldn't be necessary anyway.
play -l and -L doesn't appear to recognize your DAC. Is it turned on? You should see something like this:
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: DAC1 [DAC-1], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0

Ahh. good catch on the password. THANKS!
MA5300: It is turned on and connected with USB (the same USB cable I used with Nuc ROCK Roon before and it worked).

Just to be clear, I am not using ANY DAC on the PI itself. Trying to use my Mcintosh DAC. Am I getting this right?

Yep, the output I posted above is using USB output to an external DAC. I'm using an XMC-1, here's my play -L
pi@raspberrypi:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
sysdefault:CARD=XMC1
XMC-1, USB Audio
Default Audio Device
front:CARD=XMC1,DEV=0
XMC-1, USB Audio
Front speakers
surround21:CARD=XMC1,DEV=0
XMC-1, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=XMC1,DEV=0
XMC-1, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=XMC1,DEV=0
XMC-1, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=XMC1,DEV=0
XMC-1, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=XMC1,DEV=0
XMC-1, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=XMC1,DEV=0
XMC-1, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=XMC1,DEV=0
XMC-1, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=XMC1,DEV=0
XMC-1, USB Audio
Direct sample mixing device
dsnoop:CARD=XMC1,DEV=0
XMC-1, USB Audio
Direct sample snooping device
hw:CARD=XMC1,DEV=0
XMC-1, USB Audio
Direct hardware device without any conversions
plughw:CARD=XMC1,DEV=0
XMC-1, USB Audio
Hardware device with all software conversions
usbstream:CARD=XMC1
XMC-1
USB Stream Output

So ... what am I doing wrong? I just replaced the cable and same thing. It appears the PI4 does not see my external Mc DAC1.

Ok. I just updated using sudo apt update and magically McIntosh HD USB Audio device showed up. ;)
Now, how do I configure it in the config files?
 Still no sound.

Decided to start from scratch knowing what I know now. No sound.

Can anyone can assist here?

@dtcooper Hi there. Can you please assist me on this? Thanks.

What you want is:
--device hw:CARD=Audio,DEV=0
if that doesn't work you can route it though a plug with:
--device plughw:CARD=Audio,DEV=0

@JasonLG1979 THAT WORKED! Thank you so much! I had to use the mixer to raise the volume to 100%. Now all is working!


run not work!

OS:win10 x64
nw:0.14.7
When I execute the following command,nothing happen,no error,no runing:
.\node_modules\.bin\nwbuild -p win32 -v 0.14.7 --cacheDir .\nw-cache -r output\build
I already download sdk in  .\nw-cache

below is app script floder:

when wait longtime,error output:
{ Error: connect ETIMEDOUT <IP_ADDRESS>:443
    at Object.exports._errnoException (util.js:1022:11)
    at exports._exceptionWithHostPort (util.js:1045:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
  code: 'ETIMEDOUT',
  errno: 'ETIMEDOUT',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 443 }

but i already download sdk in  .\nw-cache,why connect <IP_ADDRESS>?

Hey @keyiis, I'm not near a Windows machine but I can't reproduce on a Mac. Could this be because you do not have a solid network connection? See #419.

I had the same issue. I think its a problem for nw-builder with a proxy.  But I have found a few nullpointer, if they are fixed, it's works again (for me):
https://github.com/piwonesien/nw-builder/commits/master
(but I'm not so familiar with these flavours, so I haven't create a PR for this)

Nice find @piwonesien! I've just published 3.2.3 which should fix this. My fix was slightly different (see https://github.com/nwjs-community/nw-builder/commit/44fc918a74b7a961d6cfb16515050fdec334c8aa). Thanks!


Created a InputType.DecimalNumber

Created for IOs and Android. you can type, for example, 1.44

Thanks for the PR

I'm glad to help, waiting for nuget update.
Thanks.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1362 ms

Resolved: Bofrost.de performance has improved in 56e542c after 8 minutes.


Document OSCAR_HIDDEN_FEATURES

It doesn't seem like the OSCAR_HIDDEN_FEATURES setting is documented. I'm happy to provide a patch, but first I wanted to check: what features are in fact currently covered by this? Looking through the code it seems it's only "wishlists" and "reviews" — is that correct?

Fixed in  #2297.


Certik july week1

Summary
Address findings from last week, please see the doc for details. Note that 4 (if changes are req'd) will come in a separate PR. Numbers 7 and 5 are waiting replies from CertiK.
Reviewers (est ~30 min)
Check each commit to make sure it addresses the document from CertiK and that you agree with the change, then run the integration and unit tests

Is this ready for review?

Is this ready for review?

Yes

is this ready for merge?


bbb79520cb5d2e92e1f0e98672efa3df7a5b72d3

bbb79520cb5d2e92e1f0e98672efa3df7a5b72d3
Originally posted by @rmjspaz7284 in https://github.com/jussihi/SMM-Rootkit/pull/5#issuecomment-1100794371

Hello everyone, I'm going to close this issue as a spam.


Fixed name in code snippet to match name used in description.

The 'name' field in the code snippet ('Megan') does not match with the name used in the description of the code snippet ('Mary'). Updated name in code snippet to match name used in description.

Haha, good catch.

haha thanks :)
First time using Redux and it's awesome so far. Thanks for making this!


:sparkles: Added projects page

📝Changed routes:

/projects

(view full size)

Commit d88170ed5ca2edf5b5c8c276cdf60cb9a0f6686b (https://p4nth3rblog-re2x6rq4s-whitep4nth3r.vercel.app).


Readline mode change hook

The edit:before-readline and edit:after-readline hooks are only executed when a job finish / readline content accepted (before running a command/ after running a command).
There should be edit:before-insert-start and edit:after-insert-start, that are executed before the insert mode start, and after the insert mode started.
Also, there should be edit:before-insert-end, and edit:after-insert-end, that are the same as above, but for insert mode end.

So when the shell starts up, it executes edit:before-readline.
Insert mode is activated.
The user types some commands and press Tab.
The shell runs the before-insert-end hook.
insert mode exits.
The shell runs the after-insert-end hook, then
enters completion mode.
The user accepts a completion item.
completion mode exits.
The before-insert-start hook  is run.
The shell enters insert mode.
The shell runs after-insert-start.
The user press Enter.
The shell run edit:after-readline, then
launches the job.

EDITED:
I think a much cleaner (and more powerful) solution would be using mode change hook. It would be similar to the recently introduced ModeChange hook of the Kakoune editor. It constructs a string from the previous mode and the started mode name (e.g. normal/prompt, insert/normal), and matches it to a regex that was given when the hook was registered. This solution allows selecting hooks with more flexibility: the previous mode can also control if a hook will run (insert)|(completion)/history, insert/.*. The edit:before-readline, and edit:after-readline hooks could be substituted with the special mode closed or off.
It should support running hooks before the mode change, between (the first mode closed, but the second isn't started), and after the mode change.

The alternative I prefer is to have separate hooks for each mode, in their own namespaces. For instance, the hook that is triggered before entering and after quiting the insert mode can be $edit:insert:before-enter and $edit:insert:after-quit.
I don't see a practical benefit in unifying the mode change hooks with the {before,after}-readline hooks. In particular, these hooks need to be run when the editor is not active (c.f #593), so the analog is not a very accurate one.

The benefit of unifying the mode change hooks can be run between mode changes, and a hook can depend on the previous hook. For example, how would you do the following with your proposal: ((history|insert|navigation)/location)|(location/(history|navigation))|([^/]*/insert)
If some hooks need to be run, when the editor is not active, the closed mode should support only the before hook.

Sorry, I don't understand your example. Care to elaborate?

This hook is run when the mode changes from history or insert or navigation to location or lastcmd, from location to history or navigation, and from any mode to insert. The string matched with the regex is oldmode/newmode.


feat: made first 3 screens of activity 1

Made TextBubble component that displays cartton speech bubbles
Made Convo component that can display multiple text bubbles in a row
fixed EOL to LF
Closes: #11

from a visual standpoint there's a lot of white space around each slide on my monitor, so not sure if scaling/centering it would be better (subjective)---this might have more to do with how the carousel display works though

other than that the slides look good and the animation is clean 😎

from a visual standpoint there's a lot of white space around each slide on my monitor, so not sure if scaling/centering it would be better (subjective)---this might have more to do with how the carousel display works though

other than that the slides look good and the animation is clean 😎

I think regina said she would address this in the carousel content.

ahh as per the carousel stuffs, im not actually sure whats better, maybe we can also discuss with the designers later!


[fusion-react-async#8] [TODO] .default is toolchain specific, breaks w/ CommonJS exports

This issue was migrated from fusionjs/fusion-react-async#8 and was originally reported by @lhorie.

See src/split.js

@chrisdothtml @lhorie
Could you please describe it more detail?
p.s. looks like I see similar issue, but I'm not sure

This issue refers to this TODO item: https://github.com/fusionjs/fusionjs/blob/master/fusion-react/src/async/split.js#L106


how do you get commits?

I can instantiate an instance of Bitbucket, I can authenticate, I can get repos, but given an authenticated bitbucket instance, how do you actually retrieve a list of commits?  I have tried setting the repo attribute to a repo name (returned from .repos.list) and I've tried setting the repo attribute to a repo object, and have tried bitbucket.repo.commits but always get nil.  Can you give me some guidance?  Thanks for any help.

Same problem here. Did you manage to fix this?

I'm experiencing this as well. I know it's been some time since there has been any work on tis repo, but I think you have a good thing going here. I'd like to see this working

Maybe a bit late but I would like to share what I found.
Once you have your Oauth credentials set, you can do something like this:
comm = BitBucket::Repos::Commits.new
@commits = comm.get(bitbucket_user_name, bitbucket_repo_name)

Sorry, also you need to get a forked version of the gem (as commits resource is found in 2.0 Bitbucket API version, not 1.0)

I've made a PR for this. If it gets merged you should just be able to run:
BitBucket::Repos::Commits.new.get('username', 'repo_name')
from your app, provided you are authenticated.

@alfredoliverwillder Firstly Thanks for that pull request. I had used
BitBucket::Repos::Commits.new.get('username', 'repo_name') but there is an error saying

BitBucket::Error::NotFound: GET https://bitbucket.org/api/1.0/repositories/atchyut_re/ruby/commits: 404 {"error": {"message": "Resource not found", "detail": "There is no API hosted at this URL.\n\nFor information about our API's, please refer to the documentation at: https://confluence.atlassian.com/x/IYBGDQ"}}

But the changes in the code are getting the url of version 2.0
get_request("/2.0/repositories/#{user}/#{repo.downcase}/commits")
So, can you please once look at this?


Implicit namespaces in html?

Is there any way to have custom tags with implicit name spaces left alone?  For example, I have a custom tags along the lines of:
<wt:folder id="123" foo="bar">blah blah</wt:folder>
<wt:person id="1234" />

I use some parsers to convert certain blocks of html to other html structures, each parser processes the html and then ends up returning the finished html with:
$fd = \FluentDOM::load($html, 'text/html');
$fd->registerNamespace('wt', 'urn:wt');
// do some stuff here with the nodes
return new \FluentDOM\HTML5\Serializer($return->document);

Eventually, when all the parsers are finished, I have to seemingly load it back into FluentDOM to be able to get just the content of the body tag (unless there's a way to output the content without the body wrappers and doctype, etc.?):
$fd = \FluentDOM($html, 'text/html');
$fd->registerNamespace('wt', 'urn:wt');
return $fd->find('body')->html();

But it will output the custom tag as something like:
<folder foo="bar" something="other" xmlns:wt="">blah blah</folder>

Is there any way to retain the original format of the tag?

That will not work in HTML, only XML (XHTML). HTML does not have namespaces, so libxml removes them. HTML5 only has specific namespaces with several reserved prefixes (svg, ...). You will have to use XML.
Additionally *->registerNamespace() in FluentDOM only registers the namespaces for the API. It will not affect the document - only your method/function calls.


Implement trivial catalog methods and set up ci.

May I take this? Looks like a good first issue.

Hi, @ariesdevil Thanks for you interest. I have already started to implement this, and maybe you can try similar sth in https://github.com/apache/iceberg-rust


Fix compile error introduced by a63faa4fa1ae08efc391e9bcf461ab699a5d7efd

Motivation:
a63faa4fa1ae08efc391e9bcf461ab699a5d7efd missed to update the macos specific c files for the resolver.
Modifications:
Fix up c files so it compiles again on macos
Result:
Compiles on macos again

something is still wrong... investigating


values prop not passed to form instance

The reduxForm() documentation states a value prop is passed to all instances of the decorated form component. As far as I can see that is not true. WrapperComponent.render() explicitly removes the values prop from rest before passing it to the decorated form.
I added a quick codepen example showing the issue.

+1 on this

You're making confusion around the meaning of instance vs props in React world.
Please see this amazing explanation by @martinhorsky here.


Version info of Vale platform

There should be an easy CLI command to see the current version of the Vale platform, something like:
c:\Vale\code_examples>python -V
Python 3.8.7
or:
c:\Vale\code_examples>rustc -V
rustc 1.50.0 (cb75ad5db 2021-02-10)

Fixed as of #209, thanks for the idea Ivo!


Correct typo in task name in ARC documentation

Misspelling causes error if the task name is copied straight.

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


How to Version field more than byte capacity (127)

Hi,
Could you tell me how can I change Version annotation capabilities to more than 127?
Why this limitation applied?
Thank you

It's probably to keep the size down. The version is associated with every class.
It would be unlikely that any class would undergo more than 127 changes to its serialization signature (it can have as many method signature and method body changes as it likes without ever needing to increase the version number) in its lifetime.
The version should only be incremented if you add/remove an attribute or change the type of an existing attribute. If that happened to a single class more than 127 times in its lifetime then sounds like something went very wrong somewhere.


reserved key words to task ids

so people are able to set whatever task id string they want. In the JSON output, I use "param" and "  instructions" (note the two spaces at the start) as special reserved keywords. If the users made a task with either of those ids, the aggregated output would be messed up. Would it be possible to add something that checks to make sure that those are ids aren't used? Are task ids even allowed to have spaces at the start? If not, then I'll just change "param" to " param" and everything will be good.

@ggdhines - I just tried on my project and i looks like i can set the task's main text to "  param". I think this is a front end issue but maybe swayed on adding reserved words restrictions to the API if needed. Can you give an example of how the aggregated output would be messed up?

sorry I meant the task id (not the text) being set to "param" - in which case some data would be overwritten - I specifically set "param":something which would overwrite any existing data. Probably a front end issue

Ok - not sure i'm following, where is this value being set? Close this if you think it's a front end issue.

nm - my bad, misunderstood what was going on.


GitVersioner conflicts with Instant Run

GitVersioner includes the number of changes in the versionName, so with (almost) every build the versionName changes to something like

android:versionName = 500-feature/my_awesome_feature-SNAPSHOT(2 +3 -5)

This forces Instant Run to always do cold swaps, restarting the whole app for small changes like adding layout attributes, because the AndroidManifest has changed.
It would be desirable that the versionName for Instant Run builds doesn't change or there is an option to disable the suffix including the amount of changes in the versionName.

You should not use dynamic version names and code when you develop.
You could add a beta build, which you can send to your testers.
`
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        defaultConfig.versionCode gitVersioner.versionCode
        defaultConfig.versionName gitVersioner.versionName
    }

    debug {
        applicationIdSuffix ".debug"
        debuggable true
    }

    beta {
        initWith debug
        //manifestPlaceholders = [hostName:"internal.example.com"]
        applicationIdSuffix ".beta"
        matchingFallbacks = ['debug', 'release']
        defaultConfig.versionCode gitVersioner.versionCode
        defaultConfig.versionName "BETA_" + gitVersioner.versionName
    }
}

`