Provide a appx(app package) for isntalltion on windows 10 devices

not all people can install through store we need an app package so we could install through usb and enjoy.

why can't you install through the store ? As it is the aim of a store, i am surprised

@fisforfaheem You can find the latest package on the release page here.

their should be an option for offline distribution of app not everyone has
internet on pc these days :)
On Tue, Oct 13, 2020 at 5:17 PM Yair Aichenbaum<EMAIL_ADDRESS>wrote:

@fisforfaheem https://github.com/fisforfaheem You can find the latest
package on the release page here
https://github.com/files-community/Files/releases/download/v0.16/FilesUWP-0.16.Msixbundle
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/2079#issuecomment-707699073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIRXJSBSTQ4H42OYVQL567DSKRAL5ANCNFSM4SOJPEBA
.

this has no sense : if you want to deploy an online content on computer without internet, at one time, you need to have access to internet...

offline deployment using usb
On Wed, Nov 18, 2020 at 1:25 PM Camille Ollié<EMAIL_ADDRESS>wrote:

this has no sense : if you want to deploy an online content on computer
without internet, at one time, you need to have access to internet...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/2079#issuecomment-729519347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIRXJSB7MHZMD5Q3YSU2SETSQOAIZANCNFSM4SOJPEBA
.


create script from .json or netParams, simConfig Objects

this closes#343

@rodriguez-facundo this ready? if so, can you fix conflicts¿


关于论文中的Candidate Elimination

作者您好，嘿嘿，感谢您的工作，我有些问题关于Candidate Elimination部分
1、我想问下这个candidate指的是search region的每个patch，您也提到了“the attention weights of the search region highlight the foreground objects in the early stage of ViT”，这里的“”attention weights“”指的是“”search为q/template为k时的attention“”
还是“”template为q/search为k时的attention“”？
2、您提到了ω_x决定了template和search的相似度，但在下面又提到“ We average the similarity scores of all heads”中平均的是ω_z，并平均值作为“”serves as the final similarity score of the template and each candidate“”，这是否和前面所述矛盾？

Hi, thanks for the interest.

Here ''attention weights'' refers to the weights of the target corresponding to all search region tokens (we use the central token of the template to represent the target during visualization and early candidate elimination), in other words, the ''attention weights'' can be seen as the similarity between the target and each search region token (candidate). You can think of the central token of the template as the query and all search region tokens as the key, but actually there is no difference between the  the identity of the query and the key, since we adopt the concatenated self-attention operation instead of cross-attention.
Thanks for pointing it out. This was actually a typo, all ω_z should be ω_x, and we will correct it in our paper.

I will close this issue and if you have any other questions, please feel free to ask.


Target PRs in here?

I have some PRs and changes I have been making based on https://github.com/kbajalc/parquets but it seems that repo is dead and PRs are being ignored.
Do you think it would be a good idea for me to try and reapply those changes to this repo?  What is your plan for this repo, is it mainly just for your own use or are you interested in maintaining it?
See also https://github.com/kbajalc/parquets/issues/38

As I wrote in the original issue, I mainly doing bug fixes coming from my other project.
I don't plan on adding other features at this time but I'm willing to review PRs.
Are you interested in maintaining a fork?
I can add you as a collaborator on my fork if you like.

Yes please, @dobesv has some useful patches which would be great to get into a maintained version.


Add oh-my-zsh

https://github.com/ohmyzsh/ohmyzsh

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/home/codyduong/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="agnoster"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

source /usr/share/zsh-antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle pip
antigen bundle command-not-found
antigen theme agnoster
antigen apply

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
export LANG=en_US.UTF-8

export VISUAL=vim
export EDITOR="$VISUAL"

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias cls="clear"

eval $(thefuck --alias)
alias lock="i3lock-fancy"
# gorgo
alias g="gorgo"

Need to still patch in .zshrc config


Describe mapping from Java to WSDL Service element

The Java to WSDL mapping doesn't currently describe how WSDL Service elements are created.
Environment
Operating System: All
Platform: Macintosh
Affected Versions
[current]

sec 3.11 covers this


chore: manually create an offer for pg engine with the same price as …

…that of MySQL in GCP

PTAL


Gallery's UI elements do not work when assigning a new uploader

I have a use case where I need to have a user type the name of a path he wants to store his folders in S3.

If I have the uploader belong to a state variable <Gallery uploader={this.state.uploader}/> and have the uploader, update to the change in what the user types. The UI will break and not show progress bar or items that were uploaded. However the uploads to S3 are still successful.
The only way that I can get it to work is to force react to de-render the entire Gallery, and then re-render it. (By de-render I have to remove the whole reference to it, so that there is no Virtual DOM drop in replacement)
Is there something I'm missing in the docs regarding support for a dynamic S3 path?
Ideally a ``setObjectProperties``` within the S3 API will suffice for this solution similar to the other set APIs present: https://docs.fineuploader.com/branch/master/api/methods-s3.html#setAcl
Example Code that does not work.
function getNewFineUploader(s3Path) {
  return new FineUploaderS3({
    options: {
       objectProperties: {
         key: function(id) { return `${s3Path}/${this.getName(id)}`}
       }
    }
    ...
  })
}

export default class ReactFineUploaderWrapperExample extends React.Component {
  constructor() {
  }
  componentDidUpdate(prevProps, prevState, snapshot) {
    if (prevProps === this.props) {
    }
    this.setState({
      uploader: getNewFineUploader(this.props.s3Path)
    });
  }
  render() {
    return (<Gallery uploader={this.state.uploader}/>)
  }
}

Code that does work
export default class ReactFineUploaderWrapperExample extends React.Component {
  constructor() {
  }
  componentDidUpdate(prevProps, prevState, snapshot) {
    if (prevProps === this.props) {
    }
    this.setState({
       renderGallery: false,
    }, () => {
      this.setState({
        renderGallery: true,
        uploader: getNewFineUploader(this.props.s3Path)
      });
    })
  }
  render() {
    return ( {this.state.renderGallery ? <Gallery uploader={this.state.uploader}/> : ""})
  }
}

Why are you storing the uploader in a state variable? You’re not actually changing the uploader instance, so that is unnecessary and probably the cause of your issue. You don’t need to create an entirely new uploader instance simply to react to a change in the value that influences the key function. There are a number of better ways to do this, such as passing in a function that returns the current/correct S3 path, or tying the s3 path to some other in-scope variable that reflects user input.
Solution: don’t store the uploader in a state variable and just tie the key function to some other in-scope var


Update doc on mapproject DG camera model selection

Caught the "smaller" error this morning, and quickly reworded this section.

I guess you don't like "small" things. Nowadays everything must be "big" and "great again". :)


Add an example of option pricing with multiple GPUs

Merge #473 and #493 first.
This PR add an example that computes the price of call options using Monte-Carlo simulation and multiple GPUs.

Please rebase or merge master.

I rebased and add the test code. Please check it out.

I fixed.

LGTM!


Database connections active after database disconnected/reconnected

After a database went down and was restarted, the database pool was almost completely in use. Typically, the stats are pool_size: 9; active: 1; however, after the restart they were pool_size: 9, active: 8. The actual workload had not changed.
I have tried various combinations of the checkConnection... parameters, but all of them consistently leave pool_size: N; active: N-1 after a database restart. The checkConnection... parameters do impact the stats by reducing N, often below the minimum threshold.
We observed this with Oracle DB; however, I have also reproduced it with PostgreSQL.
I have created a minimal reproduction that can be used to observe this behavior.

I am wondering if it might be an artifact of poor handling of networking failures by the Tomcat JDBC pool. I believe the HikariCP author run some tests: https://github.com/brettwooldridge/HikariCP/wiki/Bad-Behavior:-Handling-Database-Down, and found that the Tomcat JDBC pool can stuck during re-connecting to the database until the OS drops the TCP connections by the system timeout.


Support External Groups API

Enterprise Managed Users (EMU) was GA on September.
https://github.blog/2021-09-30-enterprise-managed-users-generally-available-github-enterprise-cloud/
Team Synchronization API cannot be used with EMU.
External Groups API must be used instead.
https://docs.github.com/en/enterprise-cloud@latest/rest/reference/teams#external-groups

Can I create PR?

Can I create PR?

Yes, thank you, @kabesan !
This issue is yours.


Command-line Flag for io.js support

Will there be a command-line flag to support io.js. I am having difficulties in running libraries like zombie.js. I hope we could have something like
mocha --iojs

I don't think this is necessary given that iojs has merged back into node for v4.0.0, and you can symlink as necessary. For example, when using nvm:
$ nvm use 3.0.0
Now using io.js v3.0.0
$ node --version
v3.0.0


Inline label issue with radio and checkbox lists

As with single checkbox editors for booleans, the radio and checkbox lists have a broken layout in modern bootstrap. See bug #129.

You can assign me, as apparently I can't assign myself.

Silly me, this is all fine. I was looking at a wrong version of ChameleonForms.


fix: reverse one-to-one relationships

This fixes the user-reported issue where ONE_TO_ONE relationships would only be resolved in the forward direction as opposed to also in the reverse direction.
Consider a simple data structure of a Biography and an Author. they are linked by a ONE_TO_ONE relationship whereby Biography has an author field. Unfortunately in the Noloco backend right now there is no reverseName property added to this field, meaning our existing logic to lookup the Biography from an Author query would not work.
The required solution was to extend find_relationship_data_type so that when we are looking up reverse relationships we can handle the case where there is not a reverseName for ONE_TO_ONE relationships in which case we should just look for the relationship name to match the data type name and for the forwards relationship field on that data type to have a matching type.
This then broke how this code was used upstream as it previously expected that all reverse relationships would return collections rather than single results. The fix for this was to make find_relationship_data_type pass back whether the result of resolving this relationship is a collection or not.

I tested against my reproduction of the user issue and confirmed this has fixed their use case. Given this is a core part of code, a bit more thorough regression testing will be needed to feel comfortable pushing this up. The nice thing about find_relationship_data_type is it now encapsulated pretty much everything about stepping down into a relationship, so reasoning about it is quite focused in scope.

cc: @noloco-io/engineering

While your PR likely fixes the bug found it definitely leaves one or two lying around
I'll leave it up to you whether you want to push the hot-fix

Would prefer to not leave bugs hanging or worse introduce any new ones so have fixed that calculation.

Looks great! Nice one
Do you have to bump the version or anything?

Yeah, I'll land it and do separately - if we keep it clean, auto generating the version history is easier.

Looks great! Nice one
Do you have to bump the version or anything?

Yeah, I'll land it and do separately - if we keep it clean, auto generating the version history is easier.

Ah yes! Forgot about that


Modify interaction insert only one vertex

Modify interaction now only inserts one vertex if there are multiple overlapping segments of the same feature.
See the second point in #11608

Adding the test did find a bug, the closest segment was always added afterwards ...

I think that is working as inteded:
https://github.com/openlayers/openlayers/blob/038739955466ee3f6a81d8524a07aa04d6522e26/examples/modify-test.js#L318-L328

@M393 I meant something else:

But maybe it is better to handle that in a separate pull request, because the issue is not related to this pull request. I just thought it might be a low hanging fruit now that you are familiar with that code.

That's what the insertVertexCondition is for.
As it is now it prevents inserting new vertexes for any of the Polygon types.
Inserting a new vertex works if the option is removed.

Thanks, @M393. You are absolutely right - I had missed that insertVertexCondition is configured in that example. Sorry for the noise, and thanks again for this improvement. Merging now.


chore: refactor autopay to paymentPermitMaxPrice

Resolves #493

@0xcodercrane should work now

Before merge the PR, I want to get the corresponding configuration refactor prs by @rndquu

Before merge the PR, I want to get the corresponding configuration refactor prs by @rndquu

https://github.com/ubiquity/ubiquibot-config/pull/6
https://github.com/ubiquibot/ubiquibot-config/pull/5

@EtherealGlow would you resolve the conflicts for the merge?

@0xcodercrane done


⚠ AGEG website (prod) has degraded performance

In 0194f75, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 4261 ms

Resolved: AGEG website (prod) performance has improved in 1671253.


Improving document symbols

First of all, thanks for the great plugin!
I am trying to improve the document symbol window, right now it depends on showing the entire file path to move to the correct position so when my editor is small-ish it stops being useful:

Is there a way to get around that limitation? Changing the modifier eventually ends up breaking and opening new buffers with names which makes sense but hasn't gotten me any closer. :p:t for example looks great but falls into these (which to be fair the read me mentions)

Any suggestions?

Yes I'm aware of this problem, I'd also prefer to have only the head part of the path as it can get quite annoying with long paths. As far as I know, in FZF the function that builds the list and the action handler are independent, that's why the full path need to be in the list so that it can jump into it in the handler. But maybe I can find a workaround.

Well it's easier to do than I thought. I simply saved the full path of a FZF entry in a global variable that the jump handler has access to. Update the plugin and your issue should be resolved now.

I'm reopening this as I realized that using an incomplete modifier breaks the preview though.

I've looked into it and the executable preview.sh that FZF uses to display the preview assumes that an entry has a valid path (relative or absolute) as first element. So I cannot remove the path from the FZF entries unfortunately.
I could potentially call myself preview.sh with the correct file path but that would add a lot of complexity to the code: FZF takes care of sanitizing the entries according to the user OS before calling preview.sh here and I'd like to keep the plugin simple.
But I've added the --keep-right option so that if the line is too long, the line is displayed starting from the end. I hope that this fix is ok for you.

Hey @ojroques it works great! Thanks for taking a look so quickly! I have the preview disabled so your first fix is actually a better fit for me and I'll stay on it for the time being.
--keep-right is certainly the correct fix for most cases nonetheless. Do you think it'd be worth it for it to be a setting? I understand if that goes against your objectives for the plugin though! Thanks again!

Great!
I've already added --keep-right as a default setting in the latest commit, I think this is the behavior that people expect for long entries. Note that I have reverted the first fix in the latest commit to keep the preview working.

Can sources items just keep file path if preview window is active?


Refactor Rename misses @Builder methods

Hi,
when i use Refactor->Rename on a member in a lombok class which is annotated with @Value and @Builder, Idea refactores all getters, but misses all builder methods.
It should refactor all builder methods as well.
best regards
Sven

Any progress here?
I created an issue for that problem in IDEA's bug tracker, too. It got resolved with some technical remarks about how this could be implemented in the lombok plugin: https://youtrack.jetbrains.com/issue/IDEA-179790

Thank you for your attention, I will look through it.

Similar or duplicate issue: #119


Setup guide for use with Gitlab

Please describe your problem. Include links to any relevant pages or files.
E.g. #659
Docs are heavily oriented towards use with GitHub - should have a dedicated page for help setting up with Gitlab (what configuration needs to be set etc).
A nice-to-have would be a "how to use in Gitlab CI" page with similar content to the advice provided for use in GitHub Actions but this can be a separate issue

Just finished a complete setup on a self-managed instance of gitlab anc I can confirm that working with the current documentation has been a challenge. Most of the answer are available deep in github issues comments but it would be awesome to have a better support.

@BastLast is your changelog complete? When I run on the pipeline, I get only few commits (while locally it runs for long time). I tried setting  GIT_DEPTH: 0  or  GIT_STRATEGY: clone  but I still get partial results.

@BastLast is your changelog complete? When I run on the pipeline, I get only few commits (while locally it runs for long time). I tried setting  GIT_DEPTH: 0  or  GIT_STRATEGY: clone  but I still get partial results.

Mine was complete after changing those settings

@BastLast any chance I could get a snippet of the steps you're doing in the script ? I want to check if I'm missing something.

semantic-release:
stage: release
image:
name: python:3.10.0
entrypoint: [""]
variables:
GIT_STRATEGY: clone
tags:
- docker
script:
- git config --global user.email $GIT_mail
- git config --global user.name $GIT_username
- git remote set-url origin https://$GIT_username:$GL_TOKEN@repourl
- git checkout main
- python -m pip --no-cache-dir install poetry twine
- poetry config (artifactory authentication)
- poetry install
- poetry run semantic-release version
- poetry run poetry build
- twine upload
i changed a few things because security / closed source software but that's pretty much the whole script

Thanks this worked. I'll try to see if I can PR some documentation!

I have a working example in GitLab now, I'll start working on a PR

I have a working example in GitLab now, I'll start working on a PR

@codejedi365 I know this was a really old comment, but curious if you still use/have that example for Gitlab.

I have a working example in GitLab now, I'll start working on a PR

@codejedi365 I know this was a really old comment, but curious if you still use/have that example for Gitlab.

Recommend reviewing the comments and examples I had on #1048. I've been meaning to get this to resolution but was working a lot of other resolutions after becoming the primary maintainer. Every time I look into this, there is just a lot of nuance to set up GitLab with the token permissions system being different than GitHub.

Much appreciated. I feel you on the nuance with Gitlab. FWIW, if you take a first pass I can help test, refine and document.

@jeffcpullen, thanks! I'll let you know when it's ready


[TE] fix detection alert filter recipients class casting issue

Previously, a runtime casting exception will be thrown when running PerUserDimensionAlertFilter. This PR fixes the issue.

What is the casting error? Can we not cast and pass the values?

When running the code, the constructor is called with to/cc/bcc as a list instead of set. I think it makes sense to accept any collection.


tour: code can't run

https://go-tour-de.appspot.com/welcome/1
All German code examples can't run, no outpus.

We don't control or deploy the tour translations... you should report this to the es translation maintainer. Closing here.


HTTPCORE-659 Race condition in IOSessionImpl when setting event

I'm not including change on setEventMask(final int newValue) method as there is currently no lock and I have no knowledge on its usage. Tell me if you want this modification as well.
I'm not including a new test case because the race condition is quite hard to reproduce without some "artificial" help like making the code sleep in the setEvent() method.

@ncapponi Please do introduce locking to #setEventMask.

@ncapponi Please do introduce locking to #setEventMask.

@ok2c done

@ok2c done

Thanks !

Thanks !


update the fetch to /oauth2/code with credentials include

This will allow the fetch request to carry all the cookies to in the header.

 update the fetch to /oauth2/code with credentials include master


Expose more properties to configure exponential retry policy

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature
Currently exponential retry policy allows to configure only maxRetries and maxInterval (https://github.com/dapr/dapr/blob/master/charts/dapr/crds/resiliency.yaml, https://github.com/dapr/dapr/blob/master/charts/dapr/crds/resiliency.yaml). This puts a limitation on configuring the backoff intervals with higher values.
For example, if one wants to start with a delay of 1 second and increment the interval in the order of seconds, it's not possible with current implementation.
However, the library used by Dapr for implementing exponential backoff (https://github.com/cenkalti/backoff/blob/v4/exponential.go#L54) supports more configuration options. And is also available in the Dapr kit retry package (https://github.com/dapr/kit/blob/main/retry/retry.go#L40).
Can this be exposed through CRDs so that policy becomes for configurable?
Release Note

RELEASE NOTE:

I'm surprised this was closed without any comments. I think this is an excellent idea and I'm surprised it's not already a feature (I came across this issue as I assumed the exponential backoff must be more configurable than only maxRetries and maxInterval).


User who has Editor rights on a folder cannot import a data model into that folder (Excel importer)

Describe the bug
User who has Editor rights on a folder cannot import a data model into that folder (Excel importer).
To Reproduce
Pre-requisite: create a user and add him to one user group. Set that user group to have Editor rights on a folder.

Go to the folder where user has editor rights
Click on Import data model, and select Excel Importer
Select Excel file
Click on import.

a) If user selected folder in step 1, that folder is selected, and when user clicks on import Error shows up.
b) if user randomly selected a data model, not the folder where he/she want to import the datamodel. The folder where user has Editor permissions does not show up in the list of folders.
Expected behavior
a) User who has Editor rights on the folder should be able to import data models in that folder
b) User who has Editor rights should be able to see a list of folder he/she is allowed to edit in the import screen
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
MDM 6.6.0/4.10
Additional context
Showing how are permissions set on the folder.

Error in case of 4a)
2021-12-22 20:47:50,289 [080-exec-2] DEBUG u.a.o.s.m.core.tree.TreeItemController   : Call to tree index for Folder
2021-12-22 20:47:50,291 [080-exec-2] INFO  u.a.o.s.m.core.tree.TreeItemService      : Creating container only tree
2021-12-22 20:47:50,293 [080-exec-2] DEBUG u.a.o.s.m.core.tree.TreeItemService      : Getting all readable containers of type Folder
2021-12-22 20:47:50,340 [080-exec-2] DEBUG u.a.o.s.m.core.tree.TreeItemService      : Building container tree from container tree items
2021-12-22 20:47:50,343 [080-exec-2] DEBUG u.a.o.s.m.core.tree.TreeItemService      : Adding non-root items to the root item list
2021-12-22 20:49:07,317 [080-exec-9] WARN  .s.p.GroupBasedUserSecurityPolicyManager : Checking for any access to secured resource class DataModel without providing an ID
2021-12-22 20:49:07,320 [080-exec-9] INFO  .s.p.GroupBasedUserSecurityPolicyManager : No id access for read rights for class uk.ac.ox.softeng.maurodatamapper.datamodel.DataModel, default response is false
Missing folders in case of 4 b)

Note:  We found out that

user has to have both Content Administrator & Editor permissions in order to import data models in that folder.
The importer UI will pick up the folder where user is Content Administrator, but only root folders. Nested folders are ignored. @GBishop-PHSA is looking into at least fixing the UI drop down list.

This should be fixed now,

with release 5 the permissions issue itself should be corrected
also we have made a change in the UI and backend with 9c8539539db79951f3fba86166a741e80d9e9f79 to only show the folders a user can actually import into when choosing the folder from the tree in the UI.

@olliefreeman This is not fixed in 7.1.0/5.5.0
I have a container administrator on TestFolder>TestSubFolder folder, and my container administrator cannot import the data model. This folder (tree structure) does not show up in the importer.
Do you want me to raise a separate bug, or you will reopen this one?


New App: Vercel dashboard

This gives ability for developers to see the latest deployment information from their Vercel dashboard.
It includes:

Commit message
Project name
Author name
Success/Failure
Time it was created

@matslina I believe I took care of all the requests - let me know if there is anything else you would recommend changing. Thanks again for the review!

@matslina It seems that the Actions are backed up and not being queued properly? Just a heads up.


Added RemoveUSB

Small plugin to detect removable USB devices and provide a query list to eject them safely.

I removed the superfluous comma from the plugin.json in the repo and the release as well (same as your edit). Is there anything else I need to do to re-run the tests?

Ah, my bad, I had the comma in the wrong line. Now it will hopefully work. Sorry for the mess.

Looks like the run test is failing because of a missing library. Please include all external libraries in your zip file.
In this case it looks like the FlowLauncher library is missing.

Ah, I thought that FlowLauncher would be included automatically by your tests. Added it. Thanks for your patience :)

Please update the PR with the new version.

I added the Flow Launcher package to the lib folder like I in the plugin isPrime. Is anything else needed?

The test tries to emulate Flow Launcher using its built-in embedded Python which most users will probably be using. It will not see package directories like normal Python.
Please see here for more information: https://www.flowlauncher.com/docs/#/py-develop-plugins

I think I got it now. At least the workflow action worked and I added the additional lines in the documentation.

Looks like it passed the test! 🥳
Looks like the test itself failed somehow though.

Ah, changed it, thanks!

I should've checked the rest of the code. Looks like you’re using list as well. Please use List the same as Dict earlier.

Okay, I just changed it, tested again with Python 3.8.10 and it seems to have worked. Fingers crossed.

It passed! (For real this time) 🥳

Awesome! Thank you so much for your support, you’re amazing!


hide franklin's output macro from readers

There's different functionality in Franklin now so we don't need this hack anymore


Content + Styling: Revise "About" page

Current "About" page has 2 main columns.
New design has copy blocks on left hand side with a corresponding image on the right. Below those are sections of copy that fall within 1 column.
Pull in new copy, images, and links to follow the revised structure. Figma has the link destinations.
Design files for reference:
https://www.figma.com/proto/NAFkgq34abW6uJ0R7PW24T/Prototype---Clean-%26-Green-Philly?type=design&node-id=2592-31549&t=sdhkPVHItWMM3Xnn-0&scaling=min-zoom&page-id=187%3A12602&starting-point-node-id=2592%3A30019

I'd like to be assigned this one!


Datepicker not working properly in Portuguese

Reproduction
https://formkit.link/72514a2a2b3244d0c21cb6ace5342d00
Describe the bug
Hi there 👋
The datepicker component is not working properly in Portuguese 🇵🇹, not sure if the same is happening in other languages.
The date appears with backslashes \ and if after the date selection, you try to change for example the year, it shows a validation error.

Thank you for the amazing work 🚀
Environment
• OS: [e.g. iOS]
• Browser [e.g. chrome, safari]
• Version [e.g. 22]

Looking into this now 👍

Thanks for the report — this is fixed in<EMAIL_ADDRESS>👍


DO NOT MERGE: Add chaotictempest to replacements

@shelegdmitriy I am closing this PR since the chaotictempest components were moved to our repo in this PR: https://github.com/near/near-discovery-components/pull/134 so we don't need to add separate replacements.


For django 1.10

Some small tweaks to make django-forms-builder work with Django 1.10

I think we can drop Django 1.7 and earlier, do you want to update your PR based on that?

Thanks Ben


Route Documentation

Currently I've been playing with the idea of each route having the ability to document itself by exporting a docs object alongside the main route. Here's an example of one that I wrote for an endpoint I was building at work:

module.exports.docs = {
  params: {
    session: {type: 'string', details: 'A uuidv4 session token', required: true},
    uuid: {type: 'string', details: 'A uuidv4 user ID token', required: true},
    forceDelete: {type: 'boolean', details: 'Should the session be invalidated', required: false},
  },
  details: 'This function checks a session against a user ID in the database and returns whether the session is valid or not with a reason why.',
  examples: [
    {
      input: {uuid: "c863468e-675b-47c9-a629-59abfbf0f4b4", session: "3e9ab2c5-131e-4c65-a5f0-bc65bed4b25e"}, output: {message: "Valid Session", valid: true}
    }
  ],
  steps: [
    "Checks if 'uuid' & 'session' are passed",
    "Finds user in database that matches uuid",
    "If no user then 'No User with that UUID' (400) is sent",
    "Extracts the sessions object from user",
    "If session doesn't exist then 'No Session' is sent",
    "Determines if session is over 4 hours old",
    "If session is too old then it is invalidated",
    "If 'forceDelete' is passed as true then session is invalidated",
    "Otherwise session is determined to be valid"
  ],
  returns: {
    message: {type: 'string', details: 'Message about the response, why it succeeded or failed', always: true},
    valid: {type: 'boolean', details: 'Is the passed session valid', always: true},
  }
}

This is a really huge example but to boil off the excess details, the ideal schema for documentation would look something like this:
module.exports.docs = {
  params: {
    <param>: {type: '<type>', details: '<usage>', required: true/false}
  },
  details: '<endpoint purpose>',
  examples: [
    { input: <inputs>, output: <outputs> },
  ],
  steps: [],
  returns: {
    <return>: {type: '<type>', details: '<usage>', always: true/false}
  },
}

The fields are as follows:
params - For defining what should be passed into the endpoint function, the purpose of each parameter and whether or not it is required by the system.
details - The actual function of the endpoint, what does the entire thing do?
examples - An array of example snippets in the form input:output. Useful for figuring out a real use case for an endpoint.
steps - Human readable bullet point steps detailing exactly how the endpoint executes.
returns - Defining what the endpoint would return and showing what each key means.
I've particularly found steps to be extremely useful during development, it helps me check my own logic flow and assumptions, figure out ways to drop out of failing code faster and most importantly keep the code really clean.
It's crucial to note that every part of this documentation export is optional, so if detailing the steps for, say, a logout endpoint would be superfluous then it can be omitted.
There is the slight worry about the docs being hard to maintain if things like steps and examples are included, though arguably they are more difficult to maintain when they are completely separate files sometimes even in a different repository.
I'll continue thinking about it and going through the motions in my own code, perhaps dogfooding is the best way to figure this one out.

Establishing a method of documentation generation using the JSDoc standard would both be a quality of life improvement and only lead to minor overhead compared to the object based version, triggering a JSDoc to markdown conversion on a route change could create a dynamically updating documentation system that works locally and can be deployed in a single CI/CD step.


Update README.md

Adding a remote 4 day week jobs to the mix

LGTM. :)
Be sure to visit web-dev-resources.com and check if everything is ok. Thanks!


print spooler is working on image mcr.microsoft.com/windows:1809

print spooler is working on image mcr.microsoft.com/windows:1809
but I can't manage to install IIS that defeats its purpose in the 1st place
and if is possible to implement this print spooler to windows server core
thanks

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

ID: 5a5d5291-32b4-9068-96ae-e6363011d42a
Version Independent ID: 9a90c05c-f7a9-6486-f850-2446a0f74468
Content: Print Spooler in Windows Containers
Content Source: virtualization/windowscontainers/deploy-containers/print-spooler.md
GitHub Login: @cwilhit

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


JSQuAD results of LLaMA 2 models

I found that the JSQuAD performance of the LLaMA2-7b model is significantly improved when disabling the padding of the input tensors by setting --batch_size to 1.
It seems that the experiments based on the other models use batch_size=1, so it may be straightforward to use the same setting in the LLaMA experiments.
batch_size=1:
% python main.py \
  --model hf-causal-experimental \
  --model_args "pretrained=meta-llama/Llama-2-7b-hf,use_accelerate=True" \
  --tasks "jsquad-1.1-0.3" \
  --num_fewshot "2" \
  --device "cuda" \
  --no_cache \
  --batch_size 1

|     Task     |Version|  Metric   | Value |   |Stderr|
|--------------|------:|-----------|------:|---|------|
|jsquad-1.1-0.3|    1.1|exact_match|64.7231|   |      |
|              |       |f1         |77.0865|   |      |

batch_size=2:
% python main.py \
  --model hf-causal-experimental \
  --model_args "pretrained=meta-llama/Llama-2-7b-hf,use_accelerate=True" \
  --tasks "jsquad-1.1-0.3" \
  --num_fewshot "2" \
  --device "cuda" \
  --no_cache \
  --batch_size 2

|     Task     |Version|  Metric   | Value |   |Stderr|
|--------------|------:|-----------|------:|---|------|
|jsquad-1.1-0.3|    1.1|exact_match|58.4196|   |      |
|              |       |f1         |69.4331|   |      |

@ikuyamada thank you for sharing the interesting finding! I'm wondering why it happens. Do you know it's only due to llama2 or HF transformers thing?

@mkshing Thanks for your reply!
I am sorry but I don’t know whether this issue is specific to the LLaMA models.
Also, it looks like the conventional HFLM class separately handles each example, I think this issue only happens in the new HuggingFaceAutoLM class used with more than one batch size.

@ikuyamada I see. if padding is performed correctly, batch generation with transformers .generate() must work through my experience. So, I'm doubting it's because of HuggingFaceAutoLM in lm-eval-harness.
Anyway, please feel free to open a PR if you happen to find the cause. We will also try to figure out this issue. Until this issue is solved, we will carefully see whether batch_size is 1 for all PRs.

@mkshing
This issue may be due to the implementation of HF transformers. The generated outputs are changed based on the tokenization settings as shown below.
Code:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained('meta-llama/Llama-2-7b-hf')
tokenizer.pad_token_id = tokenizer.eos_token_id

model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf", torch_dtype=torch.float16)
model = model.to("cuda")

tokenizer.padding_side = "left"
inputs = tokenizer(["日本の首都は、", "神奈川県の県庁所在地は、"], padding=True, return_tensors="pt").to("cuda")
print("padding_side=left:")
print(tokenizer.decode(model.generate(**inputs, do_sample=False, max_new_tokens=32)[0]))
print("-" * 10)

tokenizer.padding_side = "right"
inputs = tokenizer(["日本の首都は、", "神奈川県の県庁所在地は、"], padding=True, return_tensors="pt").to("cuda")
print("padding_side=right:")
print(tokenizer.decode(model.generate(**inputs, do_sample=False, max_new_tokens=32)[0]))
print("-" * 10)

inputs = tokenizer(["日本の首都は、"], padding=True, return_tensors="pt").to("cuda")
print("batch_size=1:")
print(tokenizer.decode(model.generate(**inputs, do_sample=False, max_new_tokens=32)[0]))

Output:
padding_side=left:
</s></s></s></s></s></s></s><s> 日本の首都は、<unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk><unk>
----------
padding_side=right:
<s> 日本の首都は、</s></s></s></s></s></s></s> 東京都 です。
The capital of Japan is Tokyo.
The capital of Japan is Tokyo.
The capital of Japan is Tokyo.
----------
batch_size=1:
<s> 日本の首都は、東京都。

日本の首都（にほんのしゅと）は、日本の政治的な中

@ikuyamada ohh interesting. Please allow me to confirm a few things:

You're saying that "padding_side=right" looks correct for llama2?
why are these outputs different even though it looks greedy.

If it's due to transformers, all llama2 variants using the same tokenizer (such as elyza) would have the same issue.

@mkshing I don’t know why this happens, but I am sure that the padding tokens do affect the results even if they are disabled in the attention mask. padding_side=right may be better in this example...🤔

I'm not sure if this actually solves but setting pad_token to ""  with padding_side="left" seems to work.
reference

https://discuss.huggingface.co/t/llama2-pad-token-for-batched-inference/48020/3
https://huggingface.co/docs/transformers/main/model_doc/llama2

The original model uses pad_id = -1 which means that there is no padding token. We can’t have the same logic, make sure to add a padding token using tokenizer.add_special_tokens({"pad_token":""}) and resize the token embedding accordingly. You should also set the model.config.pad_token_id. The embed_tokens layer of the model is initialized with self.embed_tokens = nn.Embedding(config.vocab_size, config.hidden_size, self.config.padding_idx), which makes sure that encoding the padding token will output zeros, so passing it when initializing is recommended.

So, it says you need to customize the model (fixing embedding layer) and the tokenizer for pad_token, i.e. these fixing needs extra work in lm-eval-harness so that we should set batch size to 1 for llama models anyway...
P.S. If you're interested in it, we're happy to see results and accept the PR.

I'm not sure if this actually solves but setting pad_token to "" with padding_side="left" seems to work.

This may improve the generation if a randomly-initialized embedding is more suitable than the end-of-sentence embedding for padding token.
However, I think it does not completely solve the problem because the presence of padding in inputs does negatively affect the results as shown above, and the LLaMA models do not have a pretrained padding embedding.
I also think that the easiest workaround here is to avoid using batch size >= 1.


ADR: Model Evaluation Framework

Since the model evaluation part (priority 2 as listed above) is a separate issue from RAG evaluation (while they can leverage the same framework, they do not have to), this issue will be removed from the 0.8.0 milestone and issue #196 will be brought into this milestone.


OnBufferedAmountLow wouldn't fire when bufferAmountLow is set to 0

Your environment.

Version: v1.6.9 or earlier
Browser: n/a
Other Information - *stacktraces, related issues, suggestions how to fix, links for us to

What did you do?
@hugoArregui found this.
When bufferAmountLow is set to 0, OnBufferedAmountLow callback will never be made.
What did you expect?
In the case, if the bufferedAmount is > 0 then reaches 0, the callback should be made. But with the current code, it wouldn't be made. See https://github.com/pion/sctp/blob/v1.6.9/stream.go#L286
The < should be <=. Also, we will need to make sure nBytesReleased is a positive value.

0 -> 0 : won't fire
n (>0) -> 0: should fire

W3C WebRTC API says:

When the bufferedAmount decreases from above this threshold to equal or below it, the bufferedamountlow event fires. The bufferedAmountLowThreshold is initially zero on each new RTCDataChannel, but the application may change its value at any time.

I found another bug... With the current code, the callback is made every time when it sees the bufferredAmount is less than the threshold.
It should only be called when the bufferedAmount decreases from above the threshold to an amount equal to or below it, as the spec says...


Amplify push fails after upgrading to GraphQL transformer v2 and moving from 7.6.2 to 7.6.3

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
7.6.3
What operating system are you using?
Debian 10
Amplify Categories
api
Amplify Commands
push
Describe the bug
When I upgraded last week to Amplify v 7.6.2 - it wanted me to upgrade the GraphQL schema to v2 of the GraphQL transformer. I did. I made my new schema work. The migration tool worked fine. It compiled the new schema and I was able to use it in my code with Amplify version 7.6.2.
Today, however, upon upgrading to Amplify 7.6.3 - using the exact same schema: the newly migrated v2 of GraphQL Transformer schema - I got the following error when trying to push:
? Are you sure you want to continue? Yes
✖ An error occurred when pushing the resources to the cloud
🛑 An error occurred during the push operation: Your GraphQL Schema is using "@primaryKey", "@index", "@belongsTo", "@hasMany" directives from the newer version of the GraphQL Transformer. Visit https://docs.amplify.aws/cli/migration/transformer-migration/ to learn how to migrate your GraphQL schema.

I cannot understand this complaint / error report by the CLI: what is it saying?  That I have the new directives in my v2 schema?  I know that already, so what?  Why does it ask me to look up the website that describes the v2 schema migration if this schema has already been migrated, and if it was successfully migrated as version 7.6.2 proved?  What is the actual problem causing the CLI to barf here? I did not understand that from the reported error message, nor why there was an error message at all.
Expected behavior
I expected the Amplify CLI to not complain, to not crash, and to compile the newly migrated (v2) schema without any errors, just like version 7.6.2 of the CLI did - no errors - all fine and works with the rest of the code.
Reproduction steps
See the newly migrated GraphQL schema, in subsection below.
GraphQL schema(s)

# Put schemas below this line

Log output

# amplify push
...
? Are you sure you want to continue? Yes
✖ An error occurred when pushing the resources to the cloud
🛑 An error occurred during the push operation: Your GraphQL Schema is using "@primaryKey", "@index", "@belongsTo", "@hasMany" directives from the newer version of the GraphQL Transformer. Visit https://docs.amplify.aws/cli/migration/transformer-migration/ to learn how to migrate your GraphQL schema.

Additional information
No response

In your project's cli.json file, can you confirm that the useexperimentalpipelinedtransformer feature flag is set to true, and the transformerversion is set to 2.

@cjihrig Thank you very much. These flags were not set. The useexperimentalpipelinedtransformer was set to false and transformversion was set to 1 - please accept my apologies for not knowing about these settings.
I am now trying to figure out why those settings have changed from having the correct version (2) in the previous deploy (the one with v7.6.2) and why they are back at version 1 now -- I re-scaffold / recreate the entire amplify project each time so it's possible that amplify add api went to v2 before and now it doesn't - if I find anything useful, I will report here.
Closing my mistaken bug report as it is not a bug. Sorry about that and thank you so much for (a) an amazing product, (b) such a quick reply!

I did notice that at the time of running the CLI command amplify push the file amplify/cli.json does not exist yet.
It is the call to amplify push that creates this file in my case.
This call creates the file with the settings for version 1 of the GraphQL transform.
I need to call amplify push twice, therefore: once to create the file amplify/cli.json and fail with it because the settings in it are for version 1 of the GraphQL transform but my schema is version 2, and a second time, after modifying the newly created cli.json to reflect usage of v2 - and that second push works fine.
Right now, this seems to be one way to get a v2 schema and the cli.json changes to be pushed together: a failed push, followed by editing cli.json, followed by a successful push.


Remove pending flag

Linked to https://ledgerhq.atlassian.net/browse/B2CA-1351

PR not open on the right repo, sorry


python3Packages.pynws: init 1.3.0

Motivation for this change
Python library to retrieve data from NWS/NOAA
https://github.com/MatthewFlamm/pynws
This is a Home Assistant dependency.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 113009 at fe17d133 run on aarch64-linux 1

6 packages built:

python37Packages.metar
python37Packages.pynws
python38Packages.metar
python38Packages.pynws
python39Packages.metar
python39Packages.pynws

Result of nixpkgs-review pr 113009 at fe17d133 run on x86_64-linux 1

6 packages built:

python37Packages.metar
python37Packages.pynws
python38Packages.metar
python38Packages.pynws
python39Packages.metar
python39Packages.pynws


Updating Copyrights, Alias

adding missing author name(s) and alias name(s) to the [COPYRIGHT.txt] and [Aliases.txt] respectively
for contribution

Am I the one to add missing author name(s) and alias name(s) to the [COPYRIGHT.txt],[Aliases.txt]
or am I supposed to wait for approval? It's my first PR so help me please

@joontube Thanks, I am adding you via cleaned https://github.com/debezium/debezium/pull/5573


Missing glyphicons File

When I run I get an error trying to get this file:

GET https://myComputer.myDomain.net/styles/glyphicons-halflings-regular-fromBootstrap.woff2

I was able to work around this by finding the above file in my bootstrap folder, copying it to my styles folder, and then editing v-grid.css line 269 to not have a leading / before styles.

Thank you, added something extra to no1, on how to use

1: Copy the files under vgrid folder to you src folder, and move font and spinner image to styles folder


Issue copying files on one particular thing

User maz3r.  Happens on that same thing every time.

Hmmm. looks like an actual bug, I'll dig into it. Given it was in the thing update code, you could just delete / move sideways that one thing and it should be OK

I tried deleting the folder and it still didn't work.  I'll run it again
and get you a copy of the error.
On Wed, Aug 5, 2020 at 11:45 PM Oliver Matthews<EMAIL_ADDRESS>wrote:

Hmmm. looks like an actual bug, I'll dig into it. Given it was in the
thing update code, you could just delete / move sideways that one thing and
it should be OK
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cwoac/thingy_grabber/issues/17#issuecomment-669202499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABE6655JJZJMCB2RZFJHINLR7FPADANCNFSM4PU67U5Q
.

So, I've just released a new version which should handle this error correctly- let me know if it doesn't.


Support sharing of unlisted Vimeo videos

This commit makes it possible to share an unlisted Vimeo video.
Those videos have an additional ID which has to be parsed correctly.
Example link: https://vimeo.com/355062058/5293454954
Related to https://github.com/jaylinski/kodi-addon-vimeo/issues/43.

Code looks good. Do you want to make any more changes, or can i merge it?

@SyncedSynapse The current code would break sharing of group URLs (https://vimeo.com/groups/motion/videos/504364228 ). I still need to write a test for this and fix it.

Just passed by to say that i still haven't been able to look into this, but it's not forgotten. I'll try to look into it soon. Sorry

Sorry for the delay. Looks good, merging it.


test: prune keep recent fails intermittently

Some of the prune tests fail on the OS X go-1.5-git-latest builds, as seen here.
As a temporary measure, @technoweenie and I have agreed to demote that environment to the "allowed failures" section of our test suite, since the test passes consistently in all other environments.

I haven't noticed any of these failures in the require builds on Travis recently, so I'm going to close this out for now 😄


[HOLD App Issue #35938] [Wave Collect] [Ideal Nav] Create a README doc for navigation architecture

We recently did an overhaul of the navigation architecture of App through the Ideal Navigation project. This overhaul added extra complexities to the navigation system.
Create a README documentation on how the navigation system is designed and how it works.
cc: @adamgrzybowski please comment on this issue for assignment

@twisterdotcom I apologize for the noise 🙇

@adamgrzybowski please comment on this issue so that I can assign you here

👋

Changing the priority to monthly
Maybe, we can write a README after this refactor issue is completed

changing the priority of this issue in Wave 8 Ideal Nav to LOW

Adam is going to work on it when they have time

@adamgrzybowski, let me know when you're planning to work on it. It's a good idea to document our current navigation system 😄

not a priority right now

@adamgrzybowski what's the deal here. Hayata is no longer here, but are you still going to do this?

Hey, Adam is OOO, so I'll answer. At that moment we had a lot of navigation issues that we needed to fix and we missed this one. Now we are working on major navigation changes, once they are ready I believe we'll be able to return to the readme topic to describe the new navigation architecture

Alright cool, just confirming it's something we are still looking to create as a resource.

once they are ready I believe we'll be able to return to the readme topic to describe the new navigation architecture

Do you have an issue to link to that we can put this on hold for so that's clear?

@trjExpensify https://github.com/Expensify/App/issues/44242


Nick: Watch myweddingmag.co.nz

Nick requests the watch of the watch_keyword myweddingmag\.co\.nz. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

myweddingmag\.co\.nz has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Don't do anything on Enter for empty search input

Pressing Enter in an empty search box should have no effect.
In-progress PR: #27496

CZO thread

claim

@zulipbot claim

@hazelshibu , hey, this is a high priority issue...so like do you have some progress on?... cause I have a fix ready, and will open PR if you're okay with it...

@zulipbot  claim

@zulipbot claim

Hey @alya , I am very new to open source. I want to fix this issue but don't know where to start or where to find the desired codebase. Can you help me with the same.

@zulipbot  claim

@zulipbot abandon

@zulipbot claim

I would like to work on this issue. Please assign me this issue

@zulipbot claim

Can you please elaborate the issue more ? Because currently, if we press enter when search input is empty, it does nothing, so what should I do ??

@amit-077  Well suppose when you press enter when the search box it empty then it closes the the search bar but it suppose to do nothing at all not even close the search bar.


the input device is not a TTY.  If you are using mintty, try prefixing the command with 'winpty'

While running this command
$ docker run -it --mount src=$(pwd),target=/audio_adversarial_examples,type=bind -w /audio_adversarial_examples aae_deepspeech_041_cpu
I am getting this "the input device is not a TTY.  If you are using mintty, try prefixing the command with 'winpty'".
I don't understand what to do. Can you help solving this?

That's strange.
Are you using Windows?
Which Terminal Emulator are you using?

Yes I am using Windows and GIT bash terminal

This should work:
winpty docker run -it --mount src=$(pwd),target=/audio_adversarial_examples,type=bind -w /audio_adversarial_examples aae_deepspeech_041_cpu

More info: https://stackoverflow.com/questions/48623005/docker-error-the-input-device-is-not-a-tty-if-you-are-using-mintty-try-prefi

@tom-doerr I tried this:
winpty docker run -it --mount src=$(pwd),target=/audio_adversarial_examples,type=bind -w /audio_adversarial_examples aae_deepspeech_041_cpu
but I was getting this error:
C:/Program Files/Docker Toolbox/docker.exe: Error response from daemon: the work
ing directory 'C:/Program Files/Git/audio_adversarial_examples' is invalid, it n
eeds to be an absolute path.
See 'C:/Program Files/Docker Toolbox/docker.exe run --help'.

Could you try this in Powershell?
If that doesn't work you could use Windows Subsystem for Linux.

Tried in Powershell but now I'm getting this error:

The Windows Subsystem for Linux seems like your best option.

I assume you got it running using the WSL.


JS: Do not shadow struct properties

When we create JS struct classes we no longer creates properties for
chunks, hash or type (nor for toString, hashOwnProperty etc)
If you are using structs with field names that clashes with these then
use a StructMirror.
Fixes #2332

@kalman PTAL
I also added JSDoc to all exported bindings

lgtm


[DOCFIX] Remove docs

Remove dora unrelated docs

@Xenorith feel free to add back the sections you think it's useful
we are doing aggressive removing docs

Stressbench relies on job-service which should be removed

alluxio-bot, merge this please


Create elitna.txt

A URL of a page on the official website where a long-term (>1 year) IT related course is offered by the university:
https://www.elitna.edu.rs/elektrotehnicar-informacionih-tehnologija/

@Magos-crawler First stage of verification passed, official domain is elitna.edu.rs as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Magos-crawler Thank you for your patience while waiting for a review and processing your request. Pull request merged.


[WEB] Tree View Alpha Release Notes | DO NOT MERGE

Signed-off-by: Aditya Bhandari<EMAIL_ADDRESS>

@adityarb88 if possible, could you include a screenshot of how it looks like?


Lambda in array issue

fix  --level=psr2

$array = array(
    'closure' => function ($param1, $param2) {
        return;
    }
);

Actual result of the above code:

$array = array(
    'closure' => function($param1,
    $param2) {
        return;
    },
);

Expected result:

$array = array(
    'closure' => function ($param1, $param2) {
        return;
    }
);

I think the commas are detected as part of the array rather than the function arguments

File:
<?php

$array = array(
    'closure' => function ($param1, $param2) {
        return;
    }
);

Lets try to reproduce:
D:\GIT\fork\PHP-CS-Fixer (1.10)
λ php php-cs-fixer fix 1 --dry-run --diff -vvv --level=psr2
.
Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error

D:\GIT\fork\PHP-CS-Fixer (1.11)
λ php php-cs-fixer fix 1 --dry-run --diff -vvv --level=psr2
.
Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error

D:\GIT\fork\PHP-CS-Fixer (master)
λ php php-cs-fixer fix 1 --dry-run --diff -vvv --rules=@PSR2
.
Legend: ?-unknown, I-invalid file syntax, file ignored, S-Skipped, .-no changes, F-fixed, E-error

I cannot duplicate the bug...

This does not show errors  and the behavior is expected:
 function ($param1, $param2) {
        return;
    }
);
(No EOF at the end)
I think the problem lies elsewhere ... I'm still puzzled.

What line endings did you have?

I'm sorry. Almost certainly my problem.
Possibly my file system is corrupt, now everything is erratic behavior.

@FranBar Please could you close this.

I use KDevelop and I created a wrapper with an external script for php-cs-fixer, I also allows you to format only a selected part of the text:

#!/bin/bash

if [ ! -n "$1" ]; then
  cat > /tmp/.formatter.input
else
  cat $1 > /tmp/.formatter.input
fi

php-cs-fixer fix /tmp/.formatter.input --level=psr2 --quiet

echo '' >> /tmp/.formatter.input
cat /tmp/.formatter.input
rm /tmp/.formatter.input;

I tried another machine and it works perfectly.

Tokenizer is unstable when working on only part of code.

It is certain that my hard drive is dead, I will make sure that test when the non-system failures.
In principle on a clean install on another machine it seems to work properly.
Thank you.


Unencrypted Saved Sessions Mail Display Request

I sincerely request the introduction of a functionality to show saved sessions in their original, unencrypted state. This would allow me to rapidly identify and delete individual account sessions in case of issues. Your prompt consideration is much appreciated.

I will see what I can do - not sure if that is an option but Ill look into it


Using quotes on the machines argument doesn't work

Not sure if it's a bug in SkyDNS or perhaps the flags library, but if you use double or single quotes and an equals sign to set the CLI arguments it tries to use those URL encoded to pass to etcd.
Example:
skydns -machines='http://localhost:4001/'
skydns -machines="http://localhost:4001/"

The above doesn't work, the below does work:
skydns -machines=http://localhost:4001/
skydns -machines 'http://localhost:4001/'
skydns -machines "http://localhost:4001/"

This is related to my comment on #179
I think the fix could be a simple strings.TrimPrefix() + strings.TrimSuffix or similar.

What do you mean? Those quotes are stripped by the shell, so they don't matter.
You see the equal sign popping up somewhere?

That's the problem, they aren't escaped when there's an equal sign.

Can't reproduce: added a printf:
% ./skydns -machines="http://localhost:4001/"
[http://localhost:4001/]

Hm, perhaps it's because of CoreOS then? I got this in my skydns.service file:
ExecStart=/usr/bin/docker run --net host -p 53:53 -p 53:53/udp --name skydns skynetservices/skydns -machines="http://${COREOS_PRIVATE_IPV4}:4001/"

And that doesn't work, but this does:
ExecStart=/usr/bin/docker run --net host -p 53:53 -p 53:53/udp --name skydns skynetservices/skydns -machines "http://${COREOS_PRIVATE_IPV4}:4001/"

So perhaps it's doing something with that to not escape the stuff that should be escaped. I recognise that this isn't really a bug as such, but still irritating as hell, so perhaps worth a mention in the documentation?

[ Quoting<EMAIL_ADDRESS>in "[skydns] Using quotes on the machin..." ]

Not sure if it's a bug in SkyDNS or perhaps the flags library, but if you use double or single quotes and an equals sign to set the CLI arguments it tries to use those URL encoded to pass to etcd.
Example:
skydns -machines='http://localhost:4001/'
skydns -machines="http://localhost:4001/"

The above doesn't work, the below does work:
skydns -machines=http://localhost:4001/
skydns -machines 'http://localhost:4001/'
skydns -machines "http://localhost:4001/"

This is related to my comment on #179

You might be hitting #188, which is something I hadn't realized until this
moment...
/Miek
--
Miek Gieben

systemd idiosyncrasy.


Passing the Win32 BitBlt captured frame to YOLOv8 TensorRT

I am capturing frames using BitBlt without any problems but how can I pass the frames to YOLOv8 TensorRT? Can someone provide me with a C++ example please? I tried using Ultralytics YOLOv8n with ONNX but it obviously has performance issues.

BitBlt

I have no idea with BitBlt.
I am not sure whether opencv support it?
auto cap = cv::VideoCapture("***bitblt***");

BitBlt

I have no idea with BitBlt. I am not sure whether opencv support it?
auto cap = cv::VideoCapture("***bitblt***");

Please disregard my first question. I can't even get the inference to work with C++.
ERROR: 1: [stdArchiveReader.cpp::nvinfer1::rt::StdArchiveReader::StdArchiveReader::32] Error Code 1: Serialization (Serialization assertion magicTagRead == kMAGIC_TAG failed.Magic tag does not match) ERROR: 4: [runtime.cpp::nvinfer1::Runtime::deserializeCudaEngine::66] Error Code 4: Internal Error (Engine deserialization failed.)

Could you please provide more detail log?
Or could you please upload the pt and onnx model?

closed, feel free to reopen it if you have further questions. Thanks!


Can't render particles in editor

Godot version
4.0 beta 11
System information
EndeavourOS KDE edition, Vulkan (Mobile), RTX 2060
Issue description
Tried making sphere particles in a GPUParticles3D, it shows up in game but not in the editor, for the Mobile renderer option.
Editor error message is not helpful for end user: Vertex amount (4) must be a multiple of the amount of vertices required by the render primitive (3).
Edit: it appears to happen with any sort of particle, not just sphere ones.
Workaround is to first set the Pass 1 then set the Process Material.
Steps to reproduce

Add a GPUParticles3D.

Set its process_material to a new ParticleProcessMaterial

Set its Pass 1 to a sphere mesh and decrease the radius or height from the default (eg: 0.25m)

Minimal reproduction project
bug.zip

This seems related to https://github.com/godotengine/godot/issues/69156

Ah, actually this is a duplicate of https://github.com/godotengine/godot/issues/71439

Ah, actually this is a duplicate of #71439

You referenced this very issue :)

Ah, actually this is a duplicate of #71439

You referenced this very issue :)

Whoops, should be https://github.com/godotengine/godot/issues/69454
Duplicate of https://github.com/godotengine/godot/issues/69454


create space fails on minikube

we saw this a little while ago on minishift; it seems to have come back again though.
in the console we get a 500 invoking:
http://wit.fabric<IP_ADDRESS>.100.nip.io/api/spaces
with payload:
{"data":{"name":"cheese4","path":"","attributes":{"name":"cheese4"},"type":"spaces","privateSpace":false,"process":{"name":"","description":""},"relationships":{"areas":{"links":{"related":""}},"iterations":{"links":{"related":""}},"owned-by":{"data":{"id":"999c8154-fcc8-45d2-93ed-c69c61792467","type":"identities"}}}}}

returns:
{"errors":[{"code":"internal_error","detail":"unable to create a Keycloak resource. Response status: 403 Forbidden. Responce body: ","status":"500","title":"Internal error"}]}

the WIT log:
{"err":"unable to create a Keycloak resource. Response status: 403 Forbidden. Responce body: ","error_message":"unable to create a Keycloak resource. Response status: 403 Forbidden. Responce body: ","level":"info","msg":"an error occurred in our api","pkg":"jsonapi","time":"2017-07-26 16:08:18"}

note that the space is still created; it shows up on the view spaces UI

What I noticed in Keycloak is that when it's configured via passing a JSON file it may miss some role settings. The service account we are using in our Keycloak to create resources which represent spaces requires "uma_protection" and "manage-authorization" roles.
Make sure you have them set.
Go to the admin console -> Your realm -> Clients -> fabric8-online-platform -> Service Account Roles -> Client Roles:
fabric8-online-platform -> Assigned Roles -> "uma_protection"
realm-management -> Assigned Roles -> "manage-authorization" + "view-users"

Without this you will be able to create spaces but you won't able to add any contributors to the space.

Note: @jstrachan Initially, this was working in the past. Did you change the json configuration for keycloak ? It contained all the required roles to be able to create spaces and so forth.

@jstrachan is this working now ? did you apply the right roles ?

@hectorj2f I never consciously touched roles in the JSON :) will have a look to see if anything has changed though

works now with the latest fabric8-auth and wit


WIP: tenancy/helpers: move WorkspaceKey to pkg/server/apiexensions.go, this is not a generic helper

This helper is very workspace specific. So we should not promote reuse. Depends on the context.

Following up from Slack & Meet conversations. I would recommend keeping this helper, somewhere. We should simplify it so it looks like this:
func WorkspaceKey(org, ws string) string {
  strings.HasPrefix(org, LocalSystemClusterPrefix) {
    panic("programmer error") // we could do this, or not, but it should never be called this way
  }

  if org == RootCluster {
     return clusters.ToClusterAwareKey(org, ws)
   }

   return clusters.ToClusterAwareKey(EncodeOrganizationAndClusterWorkspace(RootCluster, org), ws)
 }

If we remove this helper, than anyone who ever needs to look up a workspace using an indexer key will need to recreate this logic, because the key changes if you're looking up an org workspace or non-org workspace.

Updated WorkspaceKey to panic when the workspace key would be invalid and added a halper (HasClusterWorkspace) to enable detecting when an org:ws pair are not valid for retrieving a ClusterWorkspace: https://github.com/kcp-dev/kcp/pull/735

Closing, replaced by #735.


Can't removed facet in IE or Firefox

The X to the right of the facet to deselect it is not clickable in Firefox or IE.

It appears the issue is that in HTML 5 an A element cannot be in a button element.  I moved it so the button element was within the A element which works with removed the facet in regards to results but it still has the facet listed at the top.

Adding a $( "a" ).remove( ".remove" );  to .on('click', '.remove', function() did the trick

Hi Zach,
Could you check in Chrome. Looks like it is giving problem there.

It does work in Chrome, you might have caught me fiddling with it.  I ran into another issue it removes all the links that have a class of remove.  So if you have two or three facets it will remove all of them now, I was trying to figure out how to use the ID for the remove.

The  has to be unique for it to be removed. I think I got it on my end. Just made a commit.

Thank You that took care of the issue.


Cannot use schema properties with capital letters

When you create a schema with attribute names that contain capital letters it won't let you issue a credential.
The following error is thrown:
animo-faber-acapy_1  |     f"Preview attributes {preview_attrs} "
animo-faber-acapy_1  | aries_cloudagent.protocols.issue_credential.v1_0.manager.CredentialManagerError: Preview attributes {'age', 'name'} mismatch corresponding schema attributes {'Name', 'Age'}

It seems like Name and Age are transformed to name and age, making ACA-Py error out.

I've run into this asymmetry in canonization of schema and credential attributes before but have not been able to discover the root cause yet. I've asked in a couple of ACA-Py issues before but each time has left me confused. From the toolbox/plugin perspective, I believe we're more or less depending on ACA-Py for the bulk of the logic for both schema creation and credential issuance. My "solution" so far has been to use all lower case and underscore instead of spaces. Would you consider this format being enforced on schema creation by the toolbox to be an acceptable fix?

Would you consider this format being enforced on schema creation by the toolbox to be an acceptable fix?

I'd say no :-). We're display the schema name in mobile wallets, so would like to have it capitalized.
But if it's an ACA-Py issue, rather than a toolbox issue I'll take a look at ACA-Py. Just assumed this was done by the toolbox.
If I create a schema in the rest api of ACA-Py it doesn't seem to make the attributes lower case (Run https://faber.agent.animo.id/api/doc#/schema/get_schemas__schema_id_ with schema id Vv7QMiUXbDpih8UScbGU2t:2:prefs2222:1.0)

A couple of thoughts on this.   It might be an Indy-SDK issue -- I seem to remember @sklump talking about that.  Within ACA-Py, I'm pretty sure Stephen worked on this, and he is not available for this, so someone else will have to take a look.
The better answer in the long run is a way to have a separation between the internal name and the presentation.  This is going to be necessary for localization/supporting multiple languages. The Overlays model (now in ToIP) is one technique that could be used.  It's a difficult challenge, and I'm not sure the progress that has been made on this.


http/https urls

Thanks for using Postleaf! 💙💚
This issue tracker is ONLY for bug reports. If you need help with something or would like to request a feature, please ask on https://community.postleaf.org/ instead.

Issue Summary
Hello,
I'm using Cloud9 for developing.
Cloud9 serves the projects via https. It seems that Postleafs url helper function doesn't recognize the https and generates a http link for the theme files. Consequently Chrome doesn't load the theme files.
Screenshot with Console
Steps to Reproduce
Tell us how to replicate the problem.

Serve postleaf over https

Additional info

Postleaf version: master branch
PHP version: 5.5.9-1ubuntu4.17
Affected browsers: Chrome 52
Operating system: ChromeOS

Provide any additional information that may be relevant to the bug here.

It seems, that this is perhaps Cloud9 related.
HTTPS in line 427 of Postleaf\Postleaf is empty although the site is served via https.

Cloud9 in fact doesn't fill in $_SERVER['HTTPS'] properly, but it does return $_SERVER['REQUEST_SCHEME'] with the value https.
A quick check of my development server reveals that nginx 1.11.3 + php-fpm 7.0.10-1~dotdeb+8.1 returns both keys properly filled when requesting via https.
This is undocumented, but may be a (temporary) solution for some environments.

Thanks @micalm
I added $_SERVER['REQUEST_SCHEME'] and now postleaf gets served via apache on cloud9.

There's a similar issued mentioned here that might be worth considering. Their solution was to generate a schema-relative URL:
//example.com/path/to/file.ext

I think this is worth considering, but we'd have to really look at how the URL methods are being used (since they all use Postleaf::url()) to make sure this won't cause any problems.
Reopening so we can consider this since SSL flags aren't always reliable.

I tried removing the protocol from the URL method and everything seems to work fine.
Browser support seems to be good. The only caveat is that IE7/8 will download stylesheets twice when referenced with schemalass URLs. I personally don't care about those browsers, and it probably won't be that noticeable for the handful of users who may be affected.
This person raises a good point about schemaless URLs in context, but I think it's safe to assume Postleaf will always be running either HTTP or HTTPS.

@karsasmus when you get a chance, can you verify that this also solves the issue with Cloud9?

@claviska I've tested it on Cloud9. It works fine. Thanks for your solution.
I've another question:
Should we also import external files like bootstrap, Lato and jQuery schemaless?

I don't know of any CDNs that don't support SSL, so you're better off using the https:// prefix to ensure those are always served securely.


Bug in initialization of starry.Secondary() in Target.add_transit()

I have a concern about this line in Target.add_transit(): https://github.com/nksaunders/scope/blob/a7d1c29ab8cec5dfa8de776ebf1c80b8769f1b04/scope/simulatetarget.py#L164
Do you mean to write planet.inc = i?  ... because the longitude of pericenter (w) and the inclination (i) are two separate orbital parameters.
This probably would not have caused issues in most applications because both inc and w default to 90 in both starry and scope.

Good catch @barentsen, I mixed up those parameters in my implementation. Fixed!
https://github.com/nksaunders/scope/blob/30731cd805ec66d1f859150c4b53c1c758ac68e9/scope/simulatetarget.py#L164


updated docs about new postTransactionAsync

Added fourth way to make a transaction (async) on "readme" and added code example on "usage"

Codecov Report

Merging #198 into master will increase coverage by 1.55%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #198      +/-   ##
==========================================
+ Coverage   84.43%   85.99%   +1.55%
==========================================
  Files          11       11
  Lines         257      257
==========================================
+ Hits          217      221       +4
+ Misses         40       36       -4

Impacted Files
Coverage Δ

src/baseRequest.js
79.31% <0%> (+6.89%)
:arrow_up:

src/request.js
92.85% <0%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 206e4ce...9546b95. Read the comment docs.

I'm afraid this commit should be in #197


mobile friendly layout

Just tried spf on my linux mobile phone, since we still need a good filebrowser (sxmo.org), but it will not open on small screens and display this error:

would be nice to be able to adjust layout somehow (like with ranger).
maybe its already there, but i could not find it in the docs...
for the moment, one workaround is to set scaling on sway to 1.5 or lower or, even easier, launch a terminal with fontsize 5
(foot --font=monospace:size=5 spf)

(it looks beautiful🤩)
here an example how 'ranger' handles my current scaling of 3:

It's a good idea!

i like first one.

@magdesign

I updated the controllable sidebar width. Can you try it and see if it works?
https://superfile.netlify.app/configure/superfile-config/#sidebar_width

thank you so much for looking into this, its a great new feature.
now spf works until sway scalefactor 2.0
looks nice, i guess we also need to hide 'metadata' or resize all three of them to be able to use it on the regular linuxmobile scalefactor of 3.0

Got it!


Is it possible to connect to Astroarch on a R-Pi by wifi, without hotspot?

The setup I want is to have my Raspberry Pi making a WIFI (not wired) connection to MY network and being accessible to my laptop, without having to change the WiFi connection to use the hotspot in AstroArch on the Pi, as if the Pi had a wired connection to the network.
Somehow, don't ask me how it works, I have such a connection working when the Pi is running Astroberry. Then, I can type http://astroberry.local/desktop/ into my browser and it goes right to the Astroberry desktop. I don't have to use the hotspot at all.  As I said, I have no idea how this works because the Astroberry docs specifically state that you DO have to point the computer at the Astroberry's hotspot on the Pi.

After the first boot, search for 'astroberry' wireless hotspot and connect your PC to it using 'astroberry' for password. Point your browser to https://astroberry.local/ or https://<IP_ADDRESS>/ to access Astroberry Server. For the Internet access connect your Astroberry to your home wireless network. Right-click top bar Wi-Fi icon and edit Wireless connection by entering your home network SSID and password.

This indicates to me that I should not be able to connect to astroberry without going through its hotspot, AND YET I CAN! I thought maybe this would somehow be cached in the browser but I just opened Firefox which I hardly ever use and it connected just as chrome does! If not in the browser, just how the heck does my computer find this address?
So I would like some networking guru to explain what might be going on.  If I understood how it worked in Astroberry, maybe I could get the same setup going with Astroarch. As of now, without a wired connection, I can connect to Astroarch only by connecting the laptop to the Astroarch hotspot and putting http://<IP_ADDRESS>:8080/vnc.html in the browser.
Actually, the astroberry instructions above don't really work either. If I connect to the Astroberry hotspot, log in, and try to change the Pi's Wireless connection to my network, the connection from the laptop to the pi is lost and I can't do anything with it. And it's exactly the same with Astroarch.
So I am one confused puppy and hope someone can untangle all this and explain it. Thanks for listening.

Hi @stevecoh1
if I understand you correctly you just want the Pi to be connected to your place WiFi so that you can reach it using the browser without connecting to it directly through the Pi hotspot.
This is possible, and it works this way (both astroberry and astroarch), when you flash the image you start by default with the hotspot, this hotspot as a very low priority on the list of the networks but since there is nothing else, it is used.
Once you create a new connection (when you type your wifi credentials) it gets added with higher priority, so whenever that network is available, it will be choosen over the hotspot.
When the WiFi is not available and there is no wired connection, the hotspot should be available again.
On AstroArch there is a small problem with the KDE wallet, so you need only one additional step, you must select "All users may connect to this network" like in the picture

After that the Pi should be connected to your wifi and you should be able to reach it using http://astroarch.local:8080/vnc.html
Let me know if it works

Thanks, a lot, Matt.  Yes, you have grokked what it is I am trying to do.
However, one small problem.
Once I have logged onto the Pi, using the hotspot, I use the network GUI thing to select my home network.  Of course, this immediately aborts the noVNC thing as my connection is through the hotspot, but astroArch is now trying to connect to my network.  But the first thing it wants to know is my password, but I can no longer interact with the GUI.  Is there some text file I can encode this in, then reboot so it comes up in my network?

@stevecoh1 no unfortunately, but you can definitely try to disable the KDE wallet (yes, it is on my TODO's 🥲), the pass it wants it's coming from it so disbaling the wallet won't prompt for any pass.
To disable it (you can wire the pi just for this) you need to edit /home/astronaut/.config/kwalletrc adding the following lines:
[Wallet]
Enabled=false

you need to reboot to apply the change.
Should you have any trouble let me know!

But won't my network want that password to let me in?

Never mind the last comment.  I see the password was for the wallet.
OK, so I saved the disablement in kwalletrc.  However, it's still no good. While connected to the Pi via the hotspot I connect the Pi to my network.  Of course, this disables the previous connection.  Back on my computer, I reconnect it to my Network and then try the URL http://astroarch.local:8080/vnc.html.  It does not work.
Is there some sort of latency that prevents this from working?

With a hotspot connection up, I was able to run the program nm-connection-editor.  Here, I was able to supply the password for my network.  This saved, and was readable upon reconnection.  But it still doesn't allow me to connect through my network.

Hmmm.  I guess there is latency involved. Now I can access Astroarch from the Pi on my computer.  Ta-daaa!
You might want to document this in your README.

OK, Matt, I think this is solved.  Basically it's a problem of documentation, both with Astroberry and AstroArch. Why would anyone want to connect to the Hotspot on the Pi? I can't think of a reason, although there could be one that I am missing.  Assuming I am right about this, then the only reason you need the hotspot is for bootstrapping the Pi onto your network.  You connect to the hotspot the first time, and can run the system.  But you really want the Pi to live on your network.  That is where the Astroberry instructions go wrong.  They tell you to use the network GUI widget to connect to the network, but as soon as that connection is made, then you can't do anything with the existing connection, i.e. the noVNC web page, which is connected through the hotspot.  I don't think the AstroArch instructions say anything about this. Therefore you need some other non-GUI way to tell Astroberry/AstroArch about your network. This is where the nm-connection-editor program comes in.  This program is part of the ArchLinux distribution.  (It's also part of the Astroberry Pi OS, and they might have mentioned it.)
You run that, add your network name and password, and you never have to use your hotspot again. Just reboot the Pi and it works. (But, fair warning, there is possibly a latency period of a few minutes before it can be used.)
This is the sort of issue that might drive many potential users away from systems like AstroArch and ought to be documented.

this should be solved after the kwallet has been disabled by default in version 1.7

Why would anyone want to connect to the Hotspot on the Pi? I can't think of a reason, although there could be one that I am missing.

@stevecoh1 I'm guessing you only ever use your telescope at home, in range of your wifi, but that's not everyone's use case. My backyard is Bortle 7 so any chance I get I pack up my rig and head to a darker site. Once there, I use my laptop to connect to the hotspot and get everything running. I can then close my laptop and let astroarch run the imaging session while I do other things.


Direct upload not working

Hey.
I tried to use direct upload. I changed the "PUT" method to "POST" (as pointed in the readme), but I still cannot upload images directly.
I'm getting 401 from Cloudinary and I'm not sure why.
Url looks something like this:
https://api.cloudinary.com/v1_1/wojtek-w/auto/upload?api_key=may-api-key&attachment=false&expires_at=1518098256&public_id=UNEbp3r5HSPABaaTdMVrk71o&signature=some-signature&timestamp=1518097956&type=upload
Where you able to make it work at all?

Hi @morgoth, this is a known issue highlighted here in the readme. The gist of it is: activestorage expects direct upload endpoints to accept PUT requests and cloudinary doesn't have such endpoint (see API reference here).
I don't think the readme has any such suggestion of changing the "PUT" method to "POST". If you could point me to it, I'll love to update it avoid any confusion.
In any case, once there's an amenable change to resolve this from either activestorage or cloudinary, I'll make the appropriate update.

Just to be clear, @0sc, when you say client-side uploading doesn't work, does that mean it you can't uploaded via a form or are you simply talking about direct upload.
When I upload via a f.file_field the cl_image_tag returns something like this:
http://res.cloudinary.com/xxxxxxxxx/image/upload/%23%3CActiveStorage::Attached::One:0x00000000040faab0%3E

Just trying to figure out if this is this error or I'm doing something else wrong.

Ah yes, which I'm realizing now if I just do a regular file_field it uploads to local storage.

Ok, it's actually working fine.  I was confused when inspcting the URL that it looked it was coming from my heroku server but it's actually masking the cloudinary URL.  My apologies for such hasty reporting and thanks for the gem!

Glad you resolved it @sodapopcan 👍
Do you think there's any clarification required in the readme to ensure someone else doesn't hit same confusion?

I dunno, maybe just clarify "client side upload" means "direct upload"?  I mean, that should be pretty obvious as it is but I've always heard it referred to as "direct".

Is this still an issue? Do client/direct uploads work yet?

Yea, @murdoch, it's still open. Will close this once a fix is available

Any news on this? Experiencing this now with the direct uploads using the new ActionText editor.
Error looks like this:
{"error":{"message":"Invalid Signature *************************. String to sign - 'public_id=*************************&timestamp=1569997462&type=upload'."}}

Any news on this? Experiencing this now with the direct uploads using the new ActionText editor.
Error looks like this:
{"error":{"message":"Invalid Signature *************************. String to sign - 'public_id=*************************&timestamp=1569997462&type=upload'."}}

Have you found the solution? I have the same issue.

Any news on this? Experiencing this now with the direct uploads using the new ActionText editor.
Error looks like this:
{"error":{"message":"Invalid Signature *************************. String to sign - 'public_id=*************************&timestamp=1569997462&type=upload'."}}
Have you found the solution? I have the same issue.

Any news on this? Experiencing this now with the direct uploads using the new ActionText editor.
Error looks like this:
{"error":{"message":"Invalid Signature *************************. String to sign - 'public_id=*************************&timestamp=1569997462&type=upload'."}}

Have you found the solution? I have the same issue.

@omkz no, but we went for a workaround.
Modified actiontext/trix attachment events to:

send attached files to our app's server
from the server upload to Cloudinary via active_storage
return file's Cloudinary url to the editor and display

Still behaves like it's a direct upload but is not, but this worked for us.


Update build.xml

Can one of the admins verify this patch?

@SundaramDubey This looks like a whitespace only change, so I'm going to close it without merging. Maybe you meant to reverse the base/head branches?


The Taskbar appear blue randomly need to open start menu in order to restore it

Yes, i just found this is happening to me to when i launch any game in fullscreen.


a unfinnish work ...

Relate to previous issues: https://github.com/z-pattern-matching/z/issues/16 https://github.com/z-pattern-matching/z/issues/22 https://github.com/z-pattern-matching/z/issues/23
I start to research another way to implement pattern matching, I make some progress but I don´t have more time to continue.
Is really hard to do a rich pattern matching library and retain a user friendly API. IMO create a parallel library to current tc39/proposal-pattern-matching is not the way to go. But I think this unfinnish work  could be use like a ES5 pollyfil of future pattern-matching Babel transform. It seem another developers are made some progress in this direction: https://github.com/Jamesernator/pattern-match
Any way here is the repos of the working implementation. They are two packages:

core-z is the assertion engine
z is the assertion library

Right now the code is working but will need create more assertion functions for match Objects, Arrays, ...
I hadn´t write docs beyond code comments and working test examples, sorry.
I hope this could be useful ...

Cool, but I really didn't get how it could help or solve a problem, actually I didn't get what problem this project are trying to solve, can you explain with more details please?

core-z and assertion z library solve some problems that have current z:

native ES5 support
performace. Current z relay on to String conversion and regex parse.
Current z don't follow the Open/closed principle. With core-z any one can create assertions/match functions. With current z this must be done throught Pull request.
core-z don't have the scope problems of current z, all happends in the same context.

This are some of the things I see.
This code is unfinnish cause I don´t have more time to add assertion functions to z for  pattern match  and bound values extraction on Object, Arrays, ...
core-z engine is done and have the require flexibillity to handle all this kinds of operations.
Is matter of call createAssertFn and create it.
Take a look a test files or core-z and z too see how is done and how easy is to extend.

native ES5 support

we have 0.0.7 version which supports es5, also, I didn't see the solution to have same capabilities on es5 in your project

performace

do you have any metric comparison, or performance hassle while using z to properly report this as issue? If your library has at least same features and runs faster, then it would be a solution.

Current z don't follow the Open/closed principle. With core-z any one can create assertions/match functions. With current z this must be done throught Pull request.

OK, I'll check this, feel free to open a PR for that.

core-z don't have the scope problems of current z, all happens in the same context.

Again, I didn't see the solution about this properly working with same capabilities, could you explain why it work and how it'd work on z ?
@bySabi It looks like many of proposed solutions are just hypothetical, it's vague saying "my unfinished work has solutions for z problems" if neither of solutions and problems are very well defined.
I will close this until problems or solutions are explicit described.


Successful test

I think it's done.
jvm test succeeded.
As a bonus, cpp also succeeded.

[ ] Check diff


MAC address conflict when restoring a virtual machine to alternate namespace

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind enhancement
/remove-lifecycle rotten

What happened:
When a virtual machine is restored to an alternate namespace, the virtual machine is restored with the same MAC address as the original virtual machine.  This results in a MAC address conflict if the original virtual machine is still running on the original namespace.
What you expected to happen:
Provide a way to blank the MAC address on restore.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The issue was resolved by updating the plugin to clear the MAC addresses on the restore item action
Environment:

CDI version (use kubectl get deployments cdi-deployment -o yaml):
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
Install tools:
Others:

/remove-lifecycle rotten

cc https://github.com/kubevirt/kubevirt/issues/11113

@mhenriks @alromeros This will be a critical enhancement to support restore to alternate namespace. Current understanding is that kubevirt-velero-plugin skips VMI restore if VMI is owned by a VM. In the vm we deployed on kubevirt ocp cluster, I see that macaddress is in VM spec and VMI had the firmware uuid.
For restore of vm-1 to new namespace ns-2, velero restore might fail since there is original vm-1 in ns-1 using macaddrress-1.
Could we expect kubevirt-velero-plugin to remove macaddress from vm spec in vmbackupitemaction or vmrestoreitemaction?
Since kubevirt-velero-plugin skips VMI if it's owned by vm, will restoring a vm, provision a vmi with new firmware uuid ?

@30787

Could we expect kubevirt-velero-plugin to remove macaddress from vm spec in vmbackupitemaction or vmrestoreitemaction?

I think default behavior should be to preserve the mac in case moving the VM to another namespace but we can support a label on the Restore resource to clear the mac.  Does that work for you?

Since kubevirt-velero-plugin skips VMI if it's owned by vm, will restoring a vm, provision a vmi with new firmware uuid ?

If firmware UUID is not specified in the VM, it is calculated by hashing the VM name. I think that hashing the VM UID (or namespace+name) would be better but I'm not sure this is something we can change at this point [1].
We could also support generating a unique firmware id at restore time if that is important to you
[1] https://github.com/kubevirt/kubevirt/pull/12885#issuecomment-2369245917

cc @alromeros ^

@mhenriks @alromeros Thank you. Looking forward to this enhancement.

@alromeros @mhenriks Can you please confirm if this change would be available with the kubevirt-velero-plugin image that would be part of Jan release of oadp 1.4.2 or earlier.

Hey @30787, so afaik @ShellyKa13 is waiting for velero to merge a go mod fix so that we can bump to the new version. The feature will hopefully be ready for next week, so if everything goes as expected the change will be available on the Jan release of OADP.

Hey the merge was done I have the PR for the bump but seems like there are some failures with the new 1.15 velero version which Im looking into.. But anyways for 1.4.2 we dont need the 1.15 velero we will need to backport @alromeros PR to v0.7 of the plugin


Store hash of last saved notebook for path

To save on saving, let's store the hash of the serialized json before sending on to S3. Then we'll know if we're sending the same again. There may be a better heuristic for this.
It's ok that if the server is restarted, the last hash is not known. This just helps for the currently running server.

You might just check the Etag.  It should be the md5 sum of the object if you are uploading AWS Headers.
Will cost a head, but should work.