UI enhancements

Resolves https://github.com/NEARBuilders/gateway/issues/433

Card Overflow

Inconsistent Post Dropdown

Remove 'Feed' from title

Fix Sidebar Border cutoff

for https://github.com/NEARBuilders/gateway/issues/431

Resolves https://github.com/NEARBuilders/gateway/issues/434

Tags Overflow

Projects Filters
TBD
Wrong Font

Description of Tabs section

Project Page edit button and overflow fix

Backdrop when quick view is open

Resolves https://github.com/NEARBuilders/gateway/issues/432

Homepage - Explore and Grow

Start Project Button Hover

it inverts gradient by 180 degrees now - instead of black/grey hover

Sections Missing

The sections were removed as per discussion with the team because of incomplete links for the specific sections or under construction projects

Page Titles

Resolves https://github.com/NEARBuilders/gateway/issues/435

Profile Tabs

Edit Profile

Users Profile
Now it takes user to the right profile page

Card Overflow

@itexpert120 will we show all the post content now? I think me and Cecilia discussed on doc comments itself, that we should show only few lines.

@itexpert120 @saadiqbal-dev with all the UI updates that you have made, please check the mobile responsiveness also at the end, to make sure nothing breaks.
Thanks

Card Overflow

@itexpert120 will we show all of the post content now? I think me and Cecilia discussed on doc comments itself, that we should show only few lines.

I've adjusted content to initially show only a few lines


AI mappings

This intersects with #527

This intersects with #527

Sorry, I didn't realize you mapped that too. I'll try to remove the duplicated parts.

You've mapped quite a bit more than me, and I think you've got some nicer names here. What strategy should we take towards merging?

Pretty much just added a load of nitpicks. This is looks great.


Add adapter support for MERT and WavLM

I added MERT (https://arxiv.org/abs/2306.00107) and WavLM (https://arxiv.org/abs/2110.13900).

Hey, thanks again for you efforts in contributing new model architectures to adapter-transformers and sorry for the silence on our side.
In the last few weeks, we've been working on a large refactoring of our project, which will ultimately result in the release of Adapters, the next-generation adapters library. See https://github.com/adapter-hub/adapter-transformers/issues/584.
As a consequence, we plan to merge any new model integrations directly to the new codebase, which currently can be found on this branch. Unfortunately, this necessitates some changes in the model integration code (detailed here, see already integrated models such as BERT, BART etc. for reference).
If you'd be willing to update your model integration to target the new library yourself, we'd be super happy to help you on this. Otherwise, we might look into upgrading and merging some of the open model integration PRs ourselves in the future. For more details, again see https://github.com/adapter-hub/adapter-transformers/issues/584.


bridge support

Hi, would you be interested in adding bridge support?

what kind of bridge?

@fafhrd91 Hi, seems like mosquitto's bridge, I think it's also an important feature for broker because it connects every component of a big application.
http://www.steves-internet-guide.com/mosquitto-bridge-configuration/

i see. i think, you should be able to create bridge on top of ntex-mqtt. ntex-mqtt is a franework, it does not provide any concrete app/utility

@fafhrd91 ntex-mqtt is a mqtt broker & client to my understandings, I want this because if it exists I then don't need to install another broker like mosquitto or emqx.

ntex-mqtt is a general purpose mqtt server and client framework

i am happy to modify ntex-mqtt if you will need anything for ntex-mqtt-broker


Request to modify this place

https://github.com/unjs/nitro/blob/61144e5b83fda418ca2b07e41427c6f782117089/src/runtime/static.ts#L79
The following send function is asynchronous. At this time, the code will not wait for the completion of the send, but will continue to go, and then the current res will be terminated by other tasks. When the res is completed, the send function will be executed. At this time, the send function will send a response again. It will report an error Cannot set headers after they are sent to the client nuxt

#1639


Test new riff system

The runtimes have been deconstructed into riff-core-runtime and
riff-knative-runtime charts. There is no longer a central riff
chart, although we may bring it back.
Removing kpack bits that are not quite ready, although they will also
come back in the future.

CI is expected to fail without ideas lifted from #42

For posterity, the webhook source is at https://github.com/projectriff/no-resource-requests-webhook


Excessive memory usage due to padding

Current Behavior:
ConcurrentLinkedHashMap.NCPU is currently set to
Runtime.getRuntime().availableProcessors().  This value is then used to
determine the number of read buffers which in turn also affects the size of the
map in memory.  While the number of available processors is a good default, it
can cause memory issues if there is a Java application with a relatively small
max heap size and thousands of map instances that is running on a server with a
large number of CPUs.

Desired Behavior:
The NCPU value should be overridable with a System property to allow specific
applications to more directly control the number of read buffers and size of
the map.

Complexity / Amount of Change Required:
Just change the line of code to

static final int NCPU = Integer.getInteger("concurrentlinkedhashmap.ncpu",
Runtime.getRuntime().availableProcessors());

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 26 Jan 2015 at 5:15

@ndjensen
FYI, dynamic resizing is now implemented in Caffeine v1.0.1. This results in an initial footprint of ~600 bytes. The number of read buffers grows based on contention up to a fixed maximum. Padding currently is not used.


Not able to install and run golings

Describe the bug
Hi
I'm trying to make in working on my MacOS but I getting:
zsh: command not found: golings
I've installed golings with command
go install github.com/mauricioabreu/golings/golings@latest
To Reproduce

Just install golings
Try to execute any golings command

Expected behavior
Golings working
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

OS: [e.g. linux, macos, windows]
golings version (golings --version to check your installed version)
go version (go version to check your installed version)

Additional context
Add any other context about the problem here.

Hmm,
It's not directly.
'echo $GOBIN' returns /Users/<my_name>/go/bin
int the PATH i have following two:
/Users/<my_name>/go:/usr/local/go/bin
do you know what could be the problem?

Yes. Your $PATH should have the $GOBIN path to lookup for the golings program. If you are using zsh, you might want to update ~/.zshrc file adding the $GOBIN path to $PATH. If you don't know how to do this, I can help you.

Yeah, it works.Thanks!


Some MacOS control key shortcuts

Adding quick support for a few missing MacOS keyboard shortcuts.
control-A/E: beginning/end of line
control-B/F: back/forward by 1 character
control-P/N: previous/next line
Partial fix for https://github.com/flutter/flutter/issues/87064

The Google testing failures seem totally unrelated to me, I'm going to set them to passing and merge.


Simplify docs on executors and remove IPP

Feedback from @dgasmith at ParslFest: we need to make sure to only show recommended executors and simplify the docs (hiding non-recommended ones under 'advanced' or similar). We also need to deprecate IPP in the docs.

HTEX also seem to labeled as [Beta] here.

IPP is removed. Part of the maturity labelling work in #2554 will hopefully address the "how recommended is an executor?" part of this.


Removing the helm install command

This command is unneeded, since it’s already in the [1.7 install instructions](https://github.com/kubernetes-incubator/service-catalog/blob/master/doc
s/install-1.7.md#step-2---install-the-helm-chart).
Additionally, this helm command won’t work with BSD base64 installations (i.e. on Mac OS X). The install instructions explain what to do differently on Mac

I'm biased with wanting to keeping it in. Could we instead of removing the command, change it to be compatible on both operating systems:
base64 ${SC_SERVING_CA} | tr -d '\n'. If that doesn't work... I won't make a big fuss about it. However, it seems to be working with my testing of base64 on both OSs. The proposed command more perfectly replicates base64 --wrap 0 since the final newline is dropped.

@arschles @jpeeler Another major problem is because of set -o errexit which @jpeeler added at the top of the script, when you do source ../../svc-cat-apiserver-aggregation-tls-setup.sh (as written in the doc) in case of any error it kills the terminal, which is extremely annoying.

I added the "set -o errexit" command due to some linting requirement. Given the problems listed here, let's go ahead and just take out the newly introduced changes as originally proposed in this PR. I think using base64 with tr should eventually be used everywhere, but I don't have a mac to do extensive testing.

@jpeeler the helm command is already in the docs, so having it in here is redundant anyway.

This is essentially a revert of 1bccea2ae0d083475462180de26a1bc3692b2cf1. The "set -o errexit" will be removed in a follow up.


Add LSB init standard support

This pull request adds (optional) LSB init standard support to the generated PHAR file.
It basically enables the PHAR to be used directly as a service script in Linux, e.g.:
# sudo service my.phar start
This is particularly useful when a PHAR is compiled for use as a (background) daemon, which I frequently do with box2. Up until this PR, I had to work around this issue as editing this information manually in the PHAR results in an invalid signature. Unfortunately, the necessary fields cannot be set in the "banner" property, as the LSB subsystem is very strict in its syntax (asterisks are not allowed as a line prefix).
Corresponding unit test is added as well.
If this PR is approved, I have a corresponding PR for box-project/box2 that enables setting the parameters in box.js for easy generation.

Closed as a linux focused fork has been established


style: line ending normalization

Description of the issue:

Due to the different ways of handling line endings between Windows and Unix/Mac, commits made from different operating systems often bring unnecessary changes and cause confusion in history tracking, as exemplified in 3de8d3fa29ee1de0fe3624fd89c7ff96a8954cde (#263).
Fortunately this issue can be nice resolved at repository level

Expected feature/value/output:

It is expected to configure a .gitattributes file to ensure consistent LF (\n) line endings, regardless of user's Git setting and OS

I hereby confirm that I have:

[X] Checked that a similar issue does not exist already

Note that the gitattributes file can only normalize line endings in the future, it doesn't help with the existing ones.
Tools like this could be used to fix existing non-standard line endings in a repo.


Doesn't work with spaces in paths

Open a .h file that's in a path containing spaces
Run clang-format to format the file

Atom Version: 1.0.2
System: Mac OS X 10.10.4
Thrown From: clang-format package, v1.14.0
Stack Trace
Uncaught Error: Command failed: clang-format -style=file -cursor=105 -assume-filename=/Users/martin/Desktop/Neuer Ordner/Foo/repo/Bar/main.h
At child_process.js:1377

Error: Command failed: clang-format -style=file -cursor=105 -assume-filename=/Users/martin/Desktop/Neuer Ordner/Foo/repo/Bar/main.h
  at checkExecSyncError (child_process.js:1334:13)
  at execSync (child_process.js:1374:13)
  at ClangFormat.module.exports.ClangFormat.format (/Users/martin/.atom/packages/clang-format/lib/clang-format.coffee:59:14)
  at atom-workspace.<anonymous> (/Users/martin/.atom/packages/clang-format/lib/clang-format.coffee:15:12)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:177:20)

Running the above command manually from the Terminal fails, saying the file couldn't be found. Maybe the path should be in quotes?

fixed by 1fa50c4a5606428652035a668a2dc91154447a68


Modify old branding images

What

Replace old branding images on the devportal with the current one

Why

The images are outdated and carry the old Rootstock branding elements

@zdaodu-iov Kindly move the PR from draft. I'm unable to merge. Thanks

done!


Is there is anyway to sync Azure key Vault certificate and k8s tls secrets?

https://docs.microsoft.com/en-us/azure/aks/ingress-own-tls
Is there is anyway to sync/integrate Azure key Vault certificate and k8s tls secrets?

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

ID: 597ba957-9501-5919-73a0-6d47b1ca2c6d
Version Independent ID: 6345fa19-b3f2-ffd6-f526-908f845b51f6
Content: Use your own TLS certificates for ingress with Azure Kubernetes Service (AKS) cluster
Content Source: articles/aks/ingress-own-tls.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Thanks for the feedback! We are currently investigating and will update you shortly.

Currently there is no integration between AKS and Keyvault
https://docs.microsoft.com/en-us/azure/aks/faq#is-azure-key-vault-integrated-with-aks
However, using the above link, you will see that the Azure Key Vault FlexVolume for Kubernetes project enables direct integration from Kubernetes pods to KeyVault secrets.
https://github.com/Azure/kubernetes-keyvault-flexvol

I think that would do, but I would have been easier if you'd ingrate with something https://github.com/jetstack/cert-manager or so
Thanks for your answer, was really quick and useful.


Allow granular re-deployment during development by using tags

What this PR does / why we need it:
This PR adds the KUBEVIRT_ONLY_USE_TAGS environment variable for telling Kubevirt to pull containers by tag.
By doing this we can quickly update only specific components during development without always going through a full cluster-sync.
This should only be used during development. Further details in the section added to README.md.
Release note:

NONE

/assign @rmohr as we discussed this a while back

/lgtm
/approve

/retest


undefined is not an object(evaluating 'CameraManager.Aspect')

@khunghang16 please add more details to your issue when filing one.
This may help: https://github.com/lwansbrough/react-native-camera/issues/220
Generally points towards linking the npm module properly.
Going to close this, please reopen if the issue persists.

I am seeing this error after following the README. I noticed the react-native-camera dependency is 0.10.0 but their README states:
if on react-native < 0.40: npm i<EMAIL_ADDRESS>if on react-native >= 0.40 npm i<EMAIL_ADDRESS>Could this be an issue? I've rebooted. Linked and unlinked. Uninstalled and installed. No luck.
(react-native 0.50.3)

upgrade react-native-camera

be sure to pod install after react-native link if you have cocoa pods


Does SAM2 support CPU?

Hi, just wondering does this support CPU?
In the installatation notes it says use a GPU, but just thought I'd ask if there is any reason why it won't work on CPU  (of course I appreciate performance will be much slower).
Thanks!

I think this fork of SAM2 by @SauravMaheshkar is useful for you: https://github.com/SauravMaheshkar/samv2

@amirmohammadnsh thanks for tagging.
@asmith26 so the codebase works perfectly fine on CPU (you can play around with it here https://huggingface.co/spaces/lightly-ai/SAMv2-Mask-Generator) it's just that you won't be able to install the python package since while downloading it requires a custom CUDA kernel as mentioned here:
https://github.com/facebookresearch/segment-anything-2/blob/86827e2fbae8a293f61d51caa70a4b0602c04454/setup.py#L70-L71

Many thanks @amirmohammadnsh  @SauravMaheshkar for your help/time/info, will look into samv2!

What is necessary for run the original implementation of SAM2 in only CPU device?

@SauravMaheshkar what you exactly do to port It to only CPU device ?

@amirmohammadnsh thanks for tagging.
@asmith26 so the codebase works perfectly fine on CPU (you can play around with it here https://huggingface.co/spaces/lightly-ai/SAMv2-Mask-Generator) it's just that you won't be able to install the python package since while downloading it requires a custom CUDA kernel as mentioned here:
https://github.com/facebookresearch/segment-anything-2/blob/86827e2fbae8a293f61d51caa70a4b0602c04454/setup.py#L70-L71

@emi-dm as mentioned above. GPU is only needed to install the package since it uses a custom CUDA kernel. It can works fine on CPU device (https://huggingface.co/spaces/lightly-ai/SAMv2-Mask-Generator)

@SauravMaheshkar This is the case, the device on which I want to install the package does not have a GPU.

@amirmohammadnsh thanks for tagging.
@asmith26 so the codebase works perfectly fine on CPU (you can play around with it here https://huggingface.co/spaces/lightly-ai/SAMv2-Mask-Generator) it's just that you won't be able to install the python package since while downloading it requires a custom CUDA kernel as mentioned here:
https://github.com/facebookresearch/segment-anything-2/blob/86827e2fbae8a293f61d51caa70a4b0602c04454/setup.py#L70-L71

@emi-dm as mentioned above. GPU is only needed to install the package since it uses a custom CUDA kernel. It can works fine on CPU device (https://huggingface.co/spaces/lightly-ai/SAMv2-Mask-Generator)

Hi,
I am trying to run SAM2 on mac m2, which doesn't have GPU support for CUDA. Could you guide me to run this using only CPU. I tried to run your code and I can't see any output or plots( even though it runs without any error).
Thanks in Advance,
Akash

Hey @ASBJ021 I've added a notebook to my fork that shows how you can use SAM2 in various prompted scenarios. The latest changes also contain a utility function that helps visualize the outputs. In some time, I'll also add notebooks + scripts for automatic mask generation and interactive video segmentation.
You can directly access that notebook in colab here
Feel free to open issues over on the fork, if you want help with something else.

Hey @ASBJ021 I've added a notebook to my fork that shows how you can use SAM2 in various prompted scenarios. The latest changes also contain a utility function that helps visualize the outputs. In some time, I'll also add notebooks + scripts for automatic mask generation and interactive video segmentation.
You can directly access that notebook in colab here
Feel free to open issues over on the fork, if you want help with something else.

Hi @SauravMaheshkar ,
Thanks for the reply. It helped me a lot and it worked great. I was working on video bg removal program and wanted to use SAM2 to crate masks.
Thanks a lot,
Akash


shorter url

Currently all settings/values are transported via the url:
https://arthur-schnitzler.github.io/schnitzler-briefe-static/L02895.html?ls=off&gem-m=off&gem-n=off&del=off&add=off&prs=off&plc=off&org=off&wrk=off&img=on
this is not very user-friendly as the url is not quotable and computer-illiterate people might use the whole URL as link.
So i was wondering if the same could not be achieved by having the information stored not in binaries but in a hex-representation. Here it's 12 values (12^2 is 4096) so basically 16^3 would do the job and every possible setting could be represented like this:
https://arthur-schnitzler.github.io/schnitzler-briefe-static/L02895.html?s=A1B
or if one would work with upper and lower case even two values would suffice

possible improvement:
remove search params with default values e.g. off

urlsearchparam encoder/decoder or shortener could be quite complex. doing some research.

deactivated or default values are not added to searchparams.


Fix qemu git submodule URLs

I had to rewrite qemu git submodule URLs to get this running.

Sorry for taking so long to get to this PR! Just tested it, and everything seems to build with no issues, so that's good enough for me.


Add NewProxyAutoTLSTransport and DialTLSWithBackOff to support TLS proxy

Part of: https://github.com/knative/serving/issues/12503
PoC: https://github.com/knative/serving/pull/12815
This patch NewProxyAutoTLSTransport which is `NewProxyAutoTransport + TLS config.
Current proxy does not support TLS but it needs for https://github.com/knative/serving/issues/12503.
DialTLSWithBackOff is also DialWithBackOff + TLS config. It needs
newH2Transport which handles HTTP2 with TLS.
/cc @evankanderson @skonto @rhuss

I think we need a transition plan for "current config" to "always secure". We can end up with any of the following transition scenarios:

Insecure activator -> secure queue-proxy
Secure activator -> insecure queue-proxy

I think we want to not serve errors during the update process, which means we either need a way to ensure we know the ordering, or have the ability to fall back to insecure during the transition and then "lock the gate" with a second config change
Full disclosure: I'd like to turn this on for every Knative user, all the time, in some future release.

I see. In this case, https://github.com/knative/serving/pull/12815 supports

Insecure activator -> secure queue-proxy

and so we should ensure the ordering?
Opening both HTTP and HTTPS on queue-proxy is easy to support (actually https://github.com/knative/serving/pull/12815 does) so I am prefer to it rather than adding the ability to fall back to insecure.
Just in case, I verified the scinario Insecure activator -> secure queue-proxy works fine as https://github.com/nak3/serving/pull/41

does this PR need to get in before we cut pkg - 1.4 on April 12th?

Yes, I hope so...
ping @rhuss @skonto

I see. In this case, https://github.com/knative/serving/pull/12815 supports

Insecure activator -> secure queue-proxy

and so we should ensure the ordering?
Opening both HTTP and HTTPS on queue-proxy is easy to support (actually https://github.com/knative/serving/pull/12815 does) so I am prefer to it rather than adding the ability to fall back to insecure.
Just in case, I verified the scinario Insecure activator -> secure queue-proxy works fine as https://github.com/nak3/serving/pull/41

If you want to enforce the ordering, there needs to be a way to enable the queue-proxy serving on both ports while the activator is still only expecting http traffic. What's the configuration that enables that?
(The same problem applies with ingress -> activator, BTW)

I implemented current PRs in serving repos as queue-proxy serves on both ports when certs are deployed. So, actually there is no way to disable to serve HTTP port at the alpha stage. But I think it is fine because the HTTP port is not used when activator initiates the HTTPs request.
The ingress -> activator is same. Activator serves on both HTTP and HTTPS ports.

Thank you! Updated.


Tezos hackathon: NFT me, you can DAO it

July 21 - August 21, 2021
To kickstart the integration of tez with Gitcoin, and the beginning of a new era of hackathons targeting the Tezos ecosystem, NFT me, you can DAO it a month-long virtual hackathon encourages all talented creators to help expand the NFT and DAO ecosystem on Tezos.
The hackathon features a total of $75,000 in prizes, to be spread among 10 winning submissions.
NFTs are currently a hot topic. On Tezos, NFT marketplaces like Truesy, Kalamint, and hic et nunc (a previous hackathon winner) have succesfully shown how NFTs unlock new possibilities for artists and creators to share their work. As Tezos is a Proof of Stake blockchain, projects built upon Tezos do not have to deal with high gas fees and have a low carbon footprint. This means that Tezos NFTs are #CleanNFTs, so creators can prioritize innovation without compromising on sustainability.
Another focus you can choose to build on for this hackathon is DAOs, an important building block in the blockchain ecosystem. On Tezos, there are several DAO frameworks in existence, but we encourage everyone to expand on it! You can think about DAO frameworks that enable specific use cases, like Curation DAOs or a battleproof Minimal Viable DAO, ready to be forked and built upon over and over again. Additionally, tooling for DAO treasury management or tooling for voting like off-chain token based voting, are welcomed!
Judging criteria
Potential impact: Envisioned impact of your project
Novelty: Innovativeness of the project
Technical: Does the code work? Is it secure?
Design and UX: How is the look and feel and how intuitive is the design?
Track requirements:
Submissions must be open source (MIT license)
Submission with a working prototype must be deployed live on the Florence testnet
Submissions must list the addresses of their token contracts
Prices
First Prize (1 team)
$15,000 in tez (XTZ) at the time of payout
Second Prize (3 teams)
$10,000 in tez (XTZ) at the time of payout
Third Prize (6 teams)
$5,000 in tez (XTZ) at the time of payout
Winning team members will be added to priority list for future bounties and have the possibility to obtain a follow-up grant by the Tezos Foundation.
Developer resources
For those who are completely new to Tezos development, the dev portal is a good place to start https://developers.tezos.com/
Tacode, a p2p learning platform for Tezos teaches you how to build a Dapp on Tezos while earning tez
https://tacode.dev
OpenTezos is an open-source wiki on all topics Tezos
https://opentezos.com/
A guide how to mint NFTs on Tezos and  how to build a simple NFT platform
https://medium.com/ecad-labs-inc/how-to-mint-nfts-on-tezos-using-taquito-and-pinata-15a407078495
A react provider for Dapps to easily setup connection to Beacon/Taquito wallets
https://github.com/tz-contrib/components-library/tree/develop/packages/react-wallet-provider
Awesomelist for Tezos
https://github.com/tz-contrib/awesome-tezos
Tezos Stack Exchange is a useful resource to where you can see answers to technical questions regarding Tezos
https://tezos.stackexchange.com/
If you do not find answers to your technical questions on the Tezos Stack Exchange, join the Tezos Developers telegram channel and ask away
https://t.me/TezosDevelopers

Hi! since i don;t have team and i'm working as artist and can't handle this alone, i would love to join team if someone looking for Design and UX for this project

hayalet27

i am planning to develop a nft domain similar to handshake using tezos. please let me know if anyone interested.

Yes
Vào 5:49, Th 4, 18 thg 8, 2021 Gitcoin.co Bot @.***> đã
viết:

Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 33083.0404 XTZ (121414.76 USD @ $3.68/XTZ) has been submitted by
:

@jojo0-07 https://gitcoin.co/jojo0-07
@tranvanlap95 https://gitcoin.co/tranvanlap95
@faithful1ofall https://gitcoin.co/faithful1ofall

@Jantinine https://github.com/Jantinine please take a look at the
submitted work:

PR http://miniutopia.co by @faithful1ofall
https://github.com/faithful1ofall
PR https://gitcoin.co/hackathon/tezos/projects/6362/predictordao
by @Tranvanlap95 https://github.com/Tranvanlap95
PR http://Jojo0-07 by @Jojo0-07 https://github.com/Jojo0-07

Learn more on the Gitcoin Issue Details page
https://gitcoin.co/issue/tezos-contrib/gitcoin-submissions/1/100026121
Want to chip in? Add your own contribution here
https://gitcoin.co/issue/tezos-contrib/gitcoin-submissions/1/100026121
.
Questions? Checkout Gitcoin Help https://gitcoin.co/help or the Gitcoin's
Discord https://discord.gg/gitcoin/
$3,645,302.01 more funded OSS Work available on the Gitcoin Issue
Explorer https://gitcoin.co/explorer

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tezos-contrib/gitcoin-submissions/issues/1#issuecomment-900682083,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATQ2RLQWPYFSNDCHPTXWXA3T5LRQLANCNFSM5AXLKDQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Yes token 0xe4e834fc6808181668501E89a85F1cC40ad941d9

Yes Token tz1Q8H7s4yUgnA6nrypLCHRJMU51yarSLnLT

hello Tezos-Contrib/Gitcoin-Submissions
On Thu, 19 Aug 2021, 7:16 pm Tranvanlap95, @.***> wrote:

Yes Token tz1Q8H7s4yUgnA6nrypLCHRJMU51yarSLnLT
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tezos-contrib/gitcoin-submissions/issues/1#issuecomment-902136133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMDI3PCIZUZQDMOBGVJYNVDT5VDATANCNFSM5AXLKDQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Hello !
We ask ourselves until what time we can submit our work, and whether each member should do it or only one ...
Thanks :-)

ok what stage are we now
On Fri, 20 Aug 2021, 2:32 pm Mathis Gontier Delaunay, <
@.***> wrote:

Hello !
We ask ourselves until what time we can submit our work, and whether each
member should do it or only one ...
Thanks :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tezos-contrib/gitcoin-submissions/issues/1#issuecomment-902695835,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMDI3PHOQ4Z3MADRV4BUOQ3T5ZKPBANCNFSM5AXLKDQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

tz1MFvuwsVguSHGiUw2m3Lux5qhR3mUpb5K7
Pleas send token tezos me☝

submit is doesn't work on gitcoin (trying to submit DeFi and NFT-game — "SpaceTraders")

ok we are still waiting
On Fri, 27 Aug 2021, 6:01 pm suhail, @.***> wrote:

I think it will takes 2 weeks to publish the results.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tezos-contrib/gitcoin-submissions/issues/1#issuecomment-907343670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMDI3PGAGO6ZB6T6GPEBTGTT67AGPANCNFSM5AXLKDQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


New Rule: UUIDv3

Rule Name: UUIDv3
Rule Description:
The field under validation must be a valid Universally Unique IDentifier version 3. UUIDv3 is time based.
Rule Usage Example:
reqs = {'data' : 'a3bb189e-8bf9-3888-9912-ace4e6543002}
rule = {'data' : 'uuidv2'}
validate(reqs, rule) # True

reqs = {'data' : 'bba617b4-364b-4a0d-9e96-cb8a24ef1bec'}
rule = {'data' : 'uuidv2'}
validate(reqs, rule) # False, it's uuidv4

Before contributing please review RULES.md (check for duplication), also check CONTRIBUTING.md for more details :100:

I intend to work on this issue

Please view UUIDv4 Rule and try to make it as given uuidv4 is implemented :wink:


style(prettier): updates

What kind of change does this PR introduce?

[x] Style

Did you add tests for your changes?

[x] Yes

Summary
Simply ran npm run pretty-files on latest master
Does this PR introduce a breaking change?

[x] No

The CI validates prettier on files. So the existing code is prettied. Not sure what you did. Maybe you run a different version of prettier or different configuration.

I not sure either, just notice that running npm run pretty-files touched all these files while rebasing one of the module.type PR's and this also seems to happen when running on (latest) master (?)


Unparse Sort with pushdown limit to SQL string

Which issue does this PR close?

no corresponding issue.
Rationale for this change
After the plan optimization, the limit could be pushed down to Sort. Unparser can't handle the pushdown limit currently.
Consider the following plan:
Sort: t1.age ASC NULLS FIRST, fetch=10
  Projection: t1.id, t1.age
    TableScan: t1

It should be unparsed to
SELECT t1.id, t1.age FROM t1 ORDER BY t1.age ASC NULLS FIRST LIMIT 10

What changes are included in this PR?

Unparse the Sort with the pushdown limit.

Are these changes tested?
yes

Are there any user-facing changes?
no

Thanks @findepi @alamb 🙇


Auth issues randomly appearing

Recently when trying to get a key the library failed with a NOAUTH error, however when the client was created, the auth method is invoked as it should be.
The key is set once, however, at a later point seems to fail further operations with the following error:
io.github.crackthecodeabhi.kreds.protocol.KredsRedisDataException: NOAUTH Authentication required.
        at io.github.crackthecodeabhi.kreds.protocol.CommandProcessor.decode(Command.kt:70)
        at io.github.crackthecodeabhi.kreds.connection.AbstractKredsClient$execute$suspendImpl$$inlined$withReentrantLock$2.invokeSuspend(ExclusiveObject.kt:49)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

In my case I'm only using redis with a password.

@misterquestions can you please set the logging level to trace for this pacakge "io.github.crackthecodeabhi"
and see if you get the below log when you face this issue
logger.trace { "New connection created to $endpoint" }
i suspect, the connection was lost and when it automatically reconnects, the new connection is not authenticated.

If you come across this issue, kedis might be worth a look as there is an option to automatically authenticate when a new connection is established. It however is in very early stages, so proceed with caution.


Restrict Autocomplete locationResults

Thanks for this package is awesome.
Is there any way to restrict the locationResults according to a specified location and using the radius prop?

For a location you can example use the restrict by country here https://github.com/EQuimper/react-native-google-autocomplete#restrict-by-country

Hi @EQuimper , can you explain how to use location and radius please?
i tried to add it in ,  and   but the locationResults aren't filtered any ways.
hope you'll find time to answer me,
best regards
my code below :
<GoogleAutoComplete
    apiKey="*****"
    debounce={500}
    predefinedPlaces={notLocatedPlace}
    minLength={4}
    language="fr"
    components="country:fr"
    location={{lat:45.526298,lng: 4.873333}}
    radius={"20000"}
>
    {({
        handleTextChange,
        locationResults,
        fetchDetails,
        isSearching,
        inputValue,
        clearSearchs,
        location,
        radius,
    }) => (
        <React.Fragment>
            {console.log('locationResults', locationResults)}
            <View
                style={styles.adressContainer}
                // style={{flexDirection:"row", justifyContent:"center", alignItems:"center"}}
            >
                <TextInput
                    underlineColorAndroid="#dfdfdf"
                    placeholder="Rechercher une adresse"
                    onChangeText={handleTextChange}
                    value={inputValue}
                    style={styles.streetInput}

                />
                {/* <Button
                    title="clear"
                    onPress={clearSearchs}
                    style={styles.streetNumberInput}
                    // color="#aaa"
                /> */}
            </View>
            {isSearching && <ActivityIndicator size="large" color="#1faadb" />}
            <ScrollView>
                {locationResults.map(el =>(
                    <LocationResultItem
                        {...el}
                        key={el.id.toString()}
                        fetchDetails={fetchDetails}
                        {...{clearSearchs}}
                        // query={{
                        //     location: '45.526298, 4.873333',
                        //     radius: '15000', //15 km
                        //     strictbounds: true,
                        // }}
                    />
                ))}
            </ScrollView>
            {/* <Text></Text> details a importer 2 way binding*/}
        </React.Fragment>
    )}
</GoogleAutoComplete>

H @EspacesTempsStudioi, Could you implement the radius and location?

Is Nearby Search available? https://developers.google.com/places/web-service/search#PlaceSearchRequests

@dancomanlive I will add this to the features for v1, didn't even know that exist

Thank you :)
For a location you can example use the restrict by country here https://github.com/EQuimper/react-native-google-autocomplete#restrict-by-country

@EQuimper  Is there any way to restrict by city or province as well? Thanks for the great api!

@victor-z-xiong didn't check google yet but if the api can I will make the change so this will be available.


add Node 12 support

Updated bindings for breaking changes on Node 10 -> Node 12.
Tested builds against Node 10 and Node 12 on MacOS Big Sur.

/azp run PhoneticMatching-Build-Binaries-GitHub

@Mmdixon I see the azure pipeline is not launching correctly. Are you taking any further steps?

@fgodino yes I noticed it was targeting a hosted machine that was no longer supported. I updated the build pipelines and added node 12.22 to the tests.

/azp run PhoneticMatching-Build-Binaries-GitHub


v1.2.0 is not starting properly

@pires I'm using your vagrant for some time now. Almost all the tags/versions I used worked without a problem. However I just tried v1.2.0 and I get the below error at the end of the vagrant installation:
error: couldn't read version from server: Get https://<IP_ADDRESS>/api: dial tcp <IP_ADDRESS>:443: i/o timeout

My apologies the problem was with the ~/kube/config. It was overriding the KUBERNETES_MASTER environment variable. Thanks!


Battle mode's fleet for pvp

this is probably minor since we didn't really have to worry about planes left in the fleet or about the fleet health and morale condition.. but i'd still report this bug anyway..
i was using the 2nd fleet to practice, but when the battle starts, the fleet shown on the battle mode panel was my 1st, not the one that i used to fight the practice match..

ah thanks for the report~ oh, and is that also showing a buggy node list (not cleared from previous sortie)

yes, but i was thinking that it will be fixed when v10 is out since it's pretty obvious.. oh.. and also nice "desperate :p" .. great timing when i fail get a t-cross during my transport hunt..


Added basic swim demo from work performed by pietru2004.

This pull request is a cleaned up version of Pietru2004's Water Demo.
For now it removes any attempts at advanced shading such as Volume Fog, and instead concentrates on the actual swimming movement. Rendering improvements can be added later.

I'm temporarily converting this back to a draft - a dedicated swimming movement provider is being developed in https://github.com/Malcolmnixon/GodotWildJam-56 which actually uses hand-movements to control swimming.

On my defence I am in middle school and sometimes teachers are bit strange.
Anyway it is cool to hear that there will be dedicated swim, personally I want to say that I see both ways of valid - dedicated and using fly movement as swim.

@Malcolmnixon will have another look at this in the near future. We have a number of swimming implementations that we can revisit and see if we can properly embed into XR Tools.


Using action as required check

Hi @13rac1,
If you're using this action to be a required check of a pull request, how can it ever succeed if it fails after the first push? The history of the failed Github actions remains in the checks-list, so it will always have an unsuccessful check, blocking the merge, if you fix the issues in a push following a failed one.

Hi! The historical unsuccessful check does not block the merge, only the most recent Action run matters.
The workflow is documented more thoroughly in the README, but the summary is: Once the code review has been completed, the Pull Request approved, and all other Actions & Checks (Travis/Circle/Jenkins) pass, the final step is cleaning the history:
git rebase -i --autosquash
git push origin HEAD -f

Then you can merge the PR.


Storing metadata for fine-tuned models

I am fine tuning various models which have different styles of prompts. In inference I need to style the prompts adequately for each model. It would be great if it was possible to save a metadata or config json when creating the model, and retrieve it with the model. Otherwise I would need to either: (1) manage my own external database which is cumbersome when using google colab (2) hack the model suffix to encode my config params (let's not do that), or (3) reverse engineer my training jsonl to deduce the model's specific prompt styling, which is difficult. Any other options?

That sounds like a reasonably summary of the situation to me.  I'll pass this request on to the fine tuning team

We don't plan to build out this feature, so closing the issue.


SDK/API Users API Search by email

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

As described here filtering by different fields is possible. Filtering can now be performed on the fields:

'username'
'first_name'
'last_name'
'id'
'is_active'

I think it would be very interesting to add the possibility to search by the 'email' field as well

Hi. I suppose, it may expose personal info, as email is only visible to admins.


CPP PYBIND Module for Tensor Map

Creates a cpp PYBIND Module for a tensor map. Includes additional changes for performance testing.

@DannyBruno, can you please share more details about this PR, including

Motivation (link an issue or enhancement request).
What is accomplished by this PR.
Perf test results and environment.

Thanks!

Hi @DannyBruno - could you reply to the questions above?  Or if this PR is still needed/required?

@DannyBruno - thoughts on completing or closing this PR, or would you like to see this merged but won't have time to work on it for a while?

Hi @DannyBruno - I'm closing this PR for now, due to it being fairly stale.  If you'd like to see this merged, let me know and we can re-open and get this merged?

@loadams this was originally developed as a precursor to #2896 - but we found that this was no faster than storing cuda graph captures in a python dict. #2896 might also need to be closed. I think we have abandoned this work for the time being and plan to revisit it at a later time.


Exclude class/file/property from certain rules

It would be nice to be able to do something like
@DetektIgnore(rule = "TooManyFunctions")
class A()

because I think filter would exclude a file from all rules, and setting TooManyFunctions' active to false in detekt.yml would turn it off for all files, right? Thoughts?

You can use the Java's @SuppressWarnings or Kotlin's @Suppress annotations for this.

It does! Sorry I didn't know it would work for detekt rules as well :P

Hi @arturbosch, I wrote a medium post about how to make and use custom rules with detekt. It's probably very trivial stuff for you but for people that aren't so familiar with ASTs, gradle and jars (like me) it might take them some time to figure out how it works, where to find the jars, which jar to use etc. Would love to get your feedback before I publish!

Hey @Nevvea7 thank you more the awesome post! I updated the sample test case to meet the new prefered style using the detekt-test module. I also included a test class + test using normal JUnit. Would be awesome if you mention it in your post :). I will tweet about it :+1:

@arturbosch just to make sure I understand the new style, are you moving away from Spek? It looks like the new test that extends from RuleTest is sufficient?

No I do not. When Spek was very unstable I started to write in Junit5 too. Now only in Spek. Just that the readers know that they do not need to use Spek if they are not familiar with it. The interesting part is rule/subject.lint(code) - shortcut :) (also rule.format(code))

i see. i updated the testing part. please take another look!

Looks good!


JARs do not get added to the classpath/can this mechanism be simplified?

Currently, adding JARs to the classpath results in them being skipped.
Do I need to handle list() being able to index these files? I may be able to index them using a JarInputStream without reading them into memory entirely? This might need a new type of Path class to hold these indexes. If I do this, it might be useful to not store Path objects in location managers directly and instead make a PathHandle interface, make RamPath inherit from it, make a wrapper class for directories (DirPath?), and a wrapper for archives like JAR, ZIP, and WAR (JarPath?). Maybe worth looking at how Javac and ECJ implement this under the hood.
On a side branch I implemented a mechanism that just copies all JARs into a RamPath, but I don't think this is the best solution and it is quite slow (around 1 second per test, which isn't great).
We may be able to open a ZipFs for each JAR path using the FileSystem API, and reference those handles like we do with RamFs to keep them alive. We can then add a cleaner to clean them up once finished.
It may be worth assessing whether the structure of PathLocationManager currently handles this correctly, or whether it is worth overhauling that part of this API (since I think it might be tidier to hide the location manager components behind the repository component and handle this case, as well as module handling, transparently). In this case, it might be worth having the repository hold the module mappings, and then separate management logic into path and file-system bound handling instead (this would then cover both RamPath and JAR handling).

Decided to leave this mechanism as-is as this is a fairly significant rewrite if I want to change this. Seems that just using a phantom ref cleaner and opening the JAR file systems directly rather than copying them across reduces the time from 1.5s to around 100ms for the entire classpath, which is workable for now.
May look into ways to optimise this further (perhaps add paths in parallel across a threadpool to reduce IO blocking time sequentially) in the future. For now, I am happy enough with the result.


Question regarding send command

Hi, i want to learn about send command. What command exactly we needs to send to device, is it serial, binary, or what. Is there any resources to help me start learning about send command ?
Many thanks

The feature is not finished yet. For now I believe GPS103 (text) and GT06 (binary) protocols are partially supported.

Commands are supported for all or most protocols by now.


Use valid email since StackStorm now looks for a valid email.

Since https://github.com/StackStorm/st2/blob/master/st2common/st2common/models/db/pack.py#L36
Leads to -
2015-08-20 01:20:17,807 ERROR [-] Failed to register pack "rackspace"
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/st2common/bootstrap/base.py", line 100, in register_pack
    pack_db = self._register_pack(pack_name=pack_name, pack_dir=pack_dir)
  File "/usr/lib/python2.7/dist-packages/st2common/bootstrap/base.py", line 137, in _register_pack
    pack_db = Pack.add_or_update(pack_db)
  File "/usr/lib/python2.7/dist-packages/st2common/persistence/base.py", line 118, in add_or_update
    model_object = cls._get_impl().add_or_update(model_object)
  File "/usr/lib/python2.7/dist-packages/st2common/models/db/__init__.py", line 134, in add_or_update
    instance.save()
  File "/usr/local/lib/python2.7/dist-packages/mongoengine/document.py", line 224, in save
    self.validate(clean=clean)
  File "/usr/local/lib/python2.7/dist-packages/mongoengine/base/document.py", line 323, in validate
    raise ValidationError(message, errors=errors)
ValidationError: ValidationError (PackDB:None) (Invalid Mail-address: jfryman@FryBook: ['email'])

/cc jfryman

:bow:


Changing input data

How should I change MockDataService class for my own data, which are going in a strong order? What steps I need to do? Now there are random values from Lists.
I was trying to change some loops, for example:
        for (int i=0 ; i < availableChannelLogos.size(); i++) {
            EPGChannel epgChannel = new EPGChannel(availableChannelLogos.get(i),
                    "Channel " + (i+1), Integer.toString(i));

            result.put(epgChannel, createEvents(epgChannel, nowMillis));
        }

and
//        while (currentTime <= epgEnd) {
            for(int i = 0; currentTime <= epgEnd; i++){
                long eventEnd = getEventEnd(currentTime);
                EPGEvent epgEvent = new EPGEvent(currentTime, eventEnd, availableEventTitles.get(i));
                result.add(epgEvent);
                currentTime = eventEnd;
            }
//            long eventEnd = getEventEnd(currentTime);
//            EPGEvent epgEvent = new EPGEvent(currentTime, eventEnd, availableEventTitles.get(randomBetween(0, 6)));
//            result.add(epgEvent);
//            currentTime = eventEnd;
//        }

but I didn't think that I'm on the right way.
And with this method I even have no ideas how to change it for me:
    private static long getEventEnd(long eventStartMillis) {
        long length = availableEventLength.get(randomBetween(0,5));
        return eventStartMillis + length;
    }

The MockDataService is simply a service that generates a map of channels and epgevents for the channel. All you need to do is call your own service or data gathering mechanism, build the Map<Channel, EPGEvent> and then pass it to the epg object.
final Map<Channel, EPGEvent> epgData = myService.getMyData();
epg.setEPGData(epgData);
epg.recalculateAndRedraw(false);


Is this package version number following semver?

Background:
Recently I had to wipe out my old package-lock.json which kept me at 1.4.x because I lost access to the private instance of NPM registry I used to have.
Current latest was installed: 1.8.2
Problem:
It made my app throw errors saying some function from _aureliaPal.DOM is not there.
Solution:
Eventually I found out that there's aurelia-pal and aurelia-pal-browser now and one needs to call initialize. Everything is OK now.
But that made me think: the constraint was expressed ^1.4.0 so npm was allowed to install 1.8.2 once I removed the lock. The problem is that 1.5.0 is not backwards compatible with 1.4.0. It's requird to initialize the PAL. Once I found that out I was like: "PAL is really a great idea!", but there's also no notice about that in the readme.
I imagine users of aurelia-fetch-client inside aurelia-framework have no such problem (I have no aurelia apps to find out quickly)
I suggest at least a notice about how to use the aurelia-fetch-client package stand-alone should be added to the readme. I'm using aurelia-fetch-client stand-alone, without aurelia-framework. I do it because I like its features but the app it's used in is not aurelia app. It would be great to have it mentioned in readme in here and in any other packages suitable to be used stand-alone as well.

I guess when we made that changes, this module being used in non-Aurelia apps was not considered carefully. So, for Aurelia apps: not a breaking change. For non-Aurelia apps: it was a breaking changes.  I'd be grateful if this example made the team consider such usage in the future
I'm not currently aware of where's the best place to put the informacji about necessity to use aurelia-pal-browser. I know that being a user of aurelia-fetch-client stand alone I'd look for such information either in README.md of the package (most obvious way) or maybe in package docs on aurelia page
Maybe a good way would be to add a section about stand-alone usage linking to an article in the docs?

Would an explicit peerdependency on the respective version of pal help?

Would an explicit peerdependency on the respective version of pal help?

Setting aurelia-pal-browser as a peer dependency of aurelia-fetch-client, right?
This might help but I'm not sure if it will draw as much attention as it deserves (all in all - if the PAL is not initialized then client will fail on first request)
I also have an idea: checking if PAL is initialized when client is created and warning the developer in console.
It will be a message just in time.

What are the versions?  Looking at NPM and it goes from 0.9.0 (I'm not counting 0.10.0-dev* as releases for general usage) to 2.-alpha/dev.  1. is completely missing.
https://www.npmjs.com/package/@aurelia/fetch-client


Factory for IKVStore

Would it be possible to introduce an additional factory on the config for injecting custom IKVStore implementations?
This would make it possible to use other KV Stores without having to fully implement the ILogDB and would make it a lot more easier to write a plugin for another KV Store.
Thank you very much for this awesome project.

Thanks for your reply.I understand your second point. We were just interested in using Badger as we are using it for other projects. I'm aware of your concerns about it, but we can life with its limitations.

Thanks for your reply.I understand your second point. We were just interested in using Badger as we are using it for other projects. I'm aware of your concerns about it, but we can life with its limitations.

Badger support was added back in Jan 2019, but later removed due to the concern of its reliability & lack of some essential features such as range delete.

Badger support was added back in Jan 2019, but later removed due to the concern of its reliability & lack of some essential features such as range delete.


Meeting the team for User/Personas segmentation discussion

Describe the issue
After having several Persona creation and interviewing our users, It will be be ideal to meet with the team and have a talk about what we think and the sub categories of each users. For example (gov developers VS contracted developers).
Additional context
Following the user experience personas of the UK Gov, there was a segmentation of their personas depending on the skill set. It will be a good idea to revisit our personas through that lens.
Definition of done

Booking a meeting with our team
Showcase the personas in hand
have a discussion on the sub categories and make a plan for the next steps.

No longer relevant

No longer relevant


Set URL TextView on focus in alert view

Hi @JadenGeller,
I basically have no experience in development for Mac so I mostly stackoverflowed this solution.
The problem I am addressing is when you trying to set url using hotkeys ⌘+L the URL TextView appears not focused, so you still need to use mouse to put a cursor in it.
That patch supposed to set the TextView focus on Alert view initialisation.

I don't know why but it doesn't work: alert.accessoryView!.becomeFirstResponder() has to be placed after buttons were added.


SPM support

Describe the solution you'd like
SPM support
Additional context
Moving forward SPM support is preferable

This is already supported. I just tried it out in a new test project:

Is something not working for you? If so, please reopen this issue. Closing for now.


Using CXX_STANDARD property on target doesn't affect the PCH compilation

Instead of doing set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -std=gnu+11) the preferred way is to use set_target_property(target CXX_STANDARD 11) to indicate what flags should be used. The problem is that cotire doesn't seem to detect that and compiles the PCH without the C++11 flags which leads to the following error: error: C++11 was disabled in PCH file but is currently enabled

The target properties CXX_STANDARD and CXX_EXTENSIONS will be handled correctly in a future version.

Just pushed version 1.7.3 which handles CXX_STANDARD and CXX_EXTENSIONS.


Can't create new policy for a bitstream

To reproduce the issue, logged in as admin:

Find or create an item with bitstreams
Edit item
Choose Status > Authorizations
(Can't keep doing the steps to document here, now, because demo instance is hung up and I can't access my item, but here are the errors messages: "An error occurred while creating resource policy" and ""Unprocessable or invalid entry")

@gsteinhart : I tried this today, and it's working for me on the demo site (and locally).  So, I wonder if this was a temporary issue (perhaps caused by deleted data last week).  Here's what I see:

Login as an admin<EMAIL_ADDRESS>Browse/search for an Item which has a Bitstream
Click Edit on the Item
On the "Status" tab, click "Authorizations"
Under "Bitstream" policies click "Add" and create a new "Resource Policy" (minimally select a Policy type like "Custom" and an Action type, e.g. "Read" and person/group).

It is worth noting that you can only add Bitstream resource policies if a Bitstream exists.  So, make sure you edit an Item that has one or more Bitstreams.
If I overlooked something, let me know. But, it looks to me like this is working fine, so it might have just been a brief hiccup.

Closing, as this has been unreproducible. If it's able to be reproduced at a later date, we can reopen with additional information.


Prevent problems comparing golden files on Windows

Fixes #243.
This overrides a user's EOL settings for the testdata/ directories, forcing all files under them to use LF. I've tested this out with Git for Windows by doing the following:

Clone and cd into the repo

Turn on AutoCRLF for the repo (so I don't muck up my entire machine)
git config core.autocrlf true

Reset the cached files to apply the new line ending scheme
git rm --cached -r .
git reset --hard

Open the project in a text editor which can tell you the line ending types in use (I picked Atom).

Open some go files and make sure that AutoCRLF has applied windows style line endings.

Open /testdata/analyzer/manifest.json and verify that it uses LF, not CRLF.

Open /cmd/dep/testdata/ensure/bare_lcok.golden.json and verify that it uses LF as well.

Works on my machine.  Thanks @carolynvs!

I was going to suggest that it might be nice if the golden loader did the normalization for us...but this seems better :)

Thanks!


No syntax highlighting

Describe the bug
I used let g:jupytext_fmt = 'py' but there is no python syntax highlighting.
Diagnostics

vim --version: VIM - Vi IMproved 8.1 (2018 May 18

Operating system information (e.g. uname -a): macOS 10.14.3

python --VV: Python 2.7.10

Are you using Anaconda? No

Put let g:jupytext_print_debug_msgs = 1 in your ~/.vimrc. What is the output of :messages when reproducing the problem?

Messages maintainer: Mike Williams<EMAIL_ADDRESS>
DBG: filename: /Users/atcold/Work/GitHub/pytorch-minicourse/03-autograd_tutorial.ipynb
DBG: filename exists: 1
DBG: jupytext_file: /Users/atcold/Work/GitHub/pytorch-minicourse/03-autograd_tutorial.py
DBG: jupytext_file exists: 0
DBG: Generate file /Users/atcold/Work/GitHub/pytorch-minicourse/03-autograd_tutorial.py
DBG: cmd: !jupytext --to=py --output='/Users/atcold/Work/GitHub/pytorch-minicourse/03-autograd_tutorial.py' '/Users/atcold/Work/GitHub/pytorch-minicourse/03-autograd_tutorial.ipynb'
DBG: read /Users/atcold/Work/GitHub/pytorch-minicourse/03-autograd_tutorial.py
DBG: autocmd BufUnload <buffer> call s:cleanup("/Users/atcold/Work/GitHub/pytorch-minicourse/03-autograd_tutorial.py", 1)
DBG: filetype: py

Hi @Atcold
The reason is likely because the filetype get set as py and not python. Either run :set filetype=python as you enter vim after conversion or add the below to your vim settings
let g:jupytext_filetype_map = { 'py': 'python' }

That's very plausible... looks like the plugin has a bug, where the default s:jupytext_filetype_map includes
...
  \   'py': 'py',
  \   'jl': 'jl',
...

which should be
...
  \   'py': 'python',
  \   'jl': 'julia',
...

I'm not quite sure how that happened, but thanks for finding the problem!
@Atcold, can you confirm that setting the filetype-map solves your issue?

This should be fixed in the newly released version 0.1.1. Please reopen if the issue persists.

I run across the same problem: the converted ipynb doesn't show syntax highlighting. Running :set filetype=python works (the code within python blocks is highlighted), but adding let g:jupytext_filetype_map = { 'py': 'python' } doesn't work.
I am using the latest version, 0.1.1, and I can see that the fix you mentioned above is included in the plugin file. My Vim version is 8.1.1343.

The last line of the debug message says:
DBG: filetype: markdown

Sorry, my bad, I misunderstood how this was supposed to work.


Document minimum required libstdc++ version

Running this on Debian Buster (which is EOL, but this issue should manifest itself on RHEL 8 too as it also has a too old libstdc++) by doing npm install pulsar-client as documented in the Readme currently fails with the following error message:
Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26’ not found (required by /app/node_modules/pulsar-client/lib/binding/Pulsar.node)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/app/node_modules/pulsar-client/src/pulsar-binding.js:24:17)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
  code: 'ERR_DLOPEN_FAILED'
}
error Command failed with exit code 1.

This is because the version of libstdc++ it has is too old. Upgrading to Debian Bullseye solves the problem as it has a newer version of libstdc++. Per the GCC docs GLIBCXX_3.4.26 is available from GCC 9.1.0 (and its libstdc++), so having this documented as the minimum required version would be nice.

Poking around I can see that the bundled static library dynamically links against several other libraries (this is for the version installed when using Debian Bullseye):
root@585a6dfd04d5:/app/node_modules/pulsar-client/lib/binding# ldd Pulsar.node
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x0000004002194000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x0000004002363000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00000040024a7000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00000040024c1000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00000040024e3000)
	/lib64/ld-linux-x86-64.so.2 (0x0000004000000000)

Perhaps documenting the minimum version of those too would be nice?

An alternative could be to not dynamically link any dependencies at all, but I do not know how feasible that is.

An alternative could be to not dynamically link any dependencies at all

Maybe we can link statically to libstdc++ and libgcc_s on Linux for Pulsar C++ client. But when building the Node Add-on, we also need to link to them statically.
I think we need to fix the building script to fallback to building from source for systems with lower version libstdc++.

While it doesn't solve the general case of the problem, building it on RHEL (or a free derivative like Alma Linux or Rocky Linux) instead of Ubuntu 22.04 would help in many cases? That way the library would be linked against an older version and increasing compatibility, as it is my understanding that libstdc++ is forwards compatible so that you're always able to load a newer version if you linked against an older.

I have tested Rocky Linux 8, CentOS 8 with latest master and they both work well. But CentOS 7 is not supported because its highest GLIBCXX version is 3.4.19. I've opened an issue: https://github.com/apache/pulsar-client-node/issues/286. So I will close this issue for now. You can reopen it if you have other questions.
BTW, the libstdc++ version might not be user-friendly because users have to check the libstdc++ versions for the systems they use.


Feature Request: Allow client to be visible on multiple workspaces

It would allow to manage windows more like dwm, by letting a client being visible on multiple workspaces and preserving its position in the tiling layout

pin?

Not exactly, what I mean is more like this
https://github.com/hyprwm/Hyprland/assets/61947904/9700dee4-b8ed-4cfc-81ea-90b1b96a32f9
I also saw that pins only work with floating windows and will be undone when a window is forced into a tiling layout

Closing as it very likely won't be implemented


Enabling CNI breaks ingress connection to bookinfo sample

Bug description
I have an istio installed (1.1.7) and I'm evaluating upgrading it to 1.2.0. I'm using fabrikate+flux to configure kubernetes, so yaml files are always identical (stored in source control). The only difference when I'm templating 1.2.0 (compared to 1.1.7) is istio_cni.enabled=true. Everything is working with 1.1.7. I apply 1.2.0, delete all istio pods after crds were updated, wait for them to come up. I delete all the bookinfo pods, they come up (no init containers now as excepted), but the ingress stops routing traffic to bookinfo with the following error:
upstream connect error or disconnect/reset before headers. reset reason: connection failure

this is what I was able to find in ingress logs with trace logging:
[2019-06-21 19:10:25.391][23][debug][connection] [external/envoy/source/common/network/connection_impl.cc:702] [C1166] connecting to <IP_ADDRESS>:9080
[2019-06-21 19:10:25.391][23][debug][connection] [external/envoy/source/common/network/connection_impl.cc:711] [C1166] connection in progress
[2019-06-21 19:10:25.391][23][debug][pool] [external/envoy/source/common/http/conn_pool_base.cc:20] queueing request due to no available connections
[2019-06-21 19:10:25.391][23][trace][http] [external/envoy/source/common/http/conn_manager_impl.cc:833] [C916][S16421397634242711449] decode headers called: filter=0x31c4050 status=1
[2019-06-21 19:10:25.391][23][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:401] [C916] recv frame type=6
[2019-06-21 19:10:25.391][23][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:358] [C916] dispatched 60 bytes
[2019-06-21 19:10:25.391][23][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:558] [C916] send data: bytes=17
[2019-06-21 19:10:25.391][23][trace][connection] [external/envoy/source/common/network/connection_impl.cc:392] [C916] writing 17 bytes, end_stream false
[2019-06-21 19:10:25.391][23][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:511] [C916] sent frame type=6
[2019-06-21 19:10:25.391][23][trace][connection] [external/envoy/source/common/network/connection_impl.cc:456] [C916] socket event: 2
[2019-06-21 19:10:25.391][23][trace][connection] [external/envoy/source/common/network/connection_impl.cc:541] [C916] write ready
[2019-06-21 19:10:25.392][23][trace][connection] [external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:234] [C916] ssl write returns: 17
[2019-06-21 19:10:25.392][23][trace][connection] [external/envoy/source/common/network/connection_impl.cc:456] [C1166] socket event: 2
[2019-06-21 19:10:25.392][23][trace][connection] [external/envoy/source/common/network/connection_impl.cc:541] [C1166] write ready
[2019-06-21 19:10:25.392][23][debug][connection] [external/envoy/source/common/network/connection_impl.cc:550] [C1166] connected
[2019-06-21 19:10:25.392][23][debug][connection] [external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:168] [C1166] handshake error: 2
[2019-06-21 19:10:25.393][23][trace][connection] [external/envoy/source/common/network/connection_impl.cc:456] [C1166] socket event: 3
[2019-06-21 19:10:25.393][23][trace][connection] [external/envoy/source/common/network/connection_impl.cc:541] [C1166] write ready
[2019-06-21 19:10:25.393][23][debug][connection] [external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:168] [C1166] handshake error: 1
[2019-06-21 19:10:25.393][23][debug][connection] [external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:201] [C1166] TLS error: 268435703:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
[2019-06-21 19:10:25.394][23][debug][connection] [external/envoy/source/common/network/connection_impl.cc:188] [C1166] closing socket: 0
[2019-06-21 19:10:25.394][23][debug][client] [external/envoy/source/common/http/codec_client.cc:82] [C1166] disconnect. resetting 0 pending requests
[2019-06-21 19:10:25.394][23][debug][pool] [external/envoy/source/common/http/http1/conn_pool.cc:129] [C1166] client disconnected, failure reason: TLS error: 268435703:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
[2019-06-21 19:10:25.394][23][debug][pool] [external/envoy/source/common/http/http1/conn_pool.cc:164] [C1166] purge pending, failure reason: TLS error: 268435703:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER

pod ip address matches. istioctl authn tls-check doesnt report any problems with mtls. if I do curl from the ingress pod to the productpage svc I get the expected result.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Bookinfo exposed through ingress gateway works
Steps to reproduce the bug
install istio 1.2.0 with cni enabled, install bookinfo, expose bookinfo
Version (include the output of istioctl version --remote and kubectl version)
$istioctl version                                                                                istioctl version
client version: 1.2.0
citadel version: 1.2.0
galley version: 1.2.0
ingressgateway version: 1.2.0
pilot version: 1.2.0
policy version: 1.2.0
sidecar-injector version: 1.2.0
$kubectl version                                                                                Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:39:04Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019-03-25T15:19:22Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
helm templated to yaml, yaml applied to cluster
Environment where bug was observed (cloud vendor, OS, etc)
AKS 1.13.5 installed with Azure networking, no calico

The CNI is installed in a separate chart, did you install that? Or did you just do the --set enable_cni=true flag?
See https://istio.io/docs/setup/kubernetes/additional-setup/cni/#hosted-kubernetes-usage for details
If you missed the first step you may be disabling the init container but not actually installing the CNI plugin so no iptables are setup.

doh, let me try that one and get back to you. somehow I've only noticed this bit:
Enable CNI in Istio by setting --set istio_cni.enabled=true in addition to the settings for your chosen profile. For example, to configure the default profile:

Yes I think its a bit confusing.. the flag --set istio_cni.enabled=true doesn't really enable cni, it actually just disables the init container. I think there is some ongoing work to improve the release process for CNI

hm, you got any idea why cni daemonset doesnt want to bring any pods up? so desired 0 when its created not in kube-system? @howardjohn

so installing the istio-cni chart solves the issue


Set proper attributes

Thanks, can you explain why these changes are being made and what issue they are supposed to fix?
Did you find any issue running the .bat with linux line endings?

Thanks, can you explain why these changes are being made and what issue they are supposed to fix?

Just to work correctly in all possible situations and prevent possible issues.

Did you find any issue running the .bat with linux line endings?

Personally no, but I know that there may be problems on <= Win 7

Git on Windows would check out the Unix line endings with CRLF anyway.


Package for getopt on Windows

Package for getopt on Windows, most POSIX systems (Linux, Mac, etc...) already have it but Microsoft is still the hold out. Provides a package that works just like getopt on the other systems.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1239
https://travis-ci.org/ingenue/hunter/builds/185524768

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1241
https://travis-ci.org/ingenue/hunter/builds/185550285

Released: https://github.com/ruslo/hunter/releases/tag/v0.17.4


Linking mfem and mumps, compilation error

Hello mfem team,
When I try to compile an example with "make ex25p" in which I have enable "mumps_solver=true", I have the following error :
/opt/rh/devtoolset-7/root/usr/bin/ld: /opt/mfem_etc/mumps-main/build/libdmumps.a(dmumps_load.F.o): undefined reference to symbol '_gfortran_transfer_real_write@@GFORTRAN_1.4'
//lib64/libgfortran.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [examples/CMakeFiles/ex25p.dir/build.make:109: examples/ex25p] Error 1
make[2]: *** [CMakeFiles/Makefile2:1676: examples/CMakeFiles/ex25p.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1683: examples/CMakeFiles/ex25p.dir/rule] Error 2
make: *** [Makefile:267: examples/CMakeFiles/ex25p.dir/rule] Error 2
Here is what I did :
I have build mumps and mfem using cmake on centos 7.
Then to link mfem and mumps I used cmake-gui with MFEM_USE_MUMPS, MFEM_USE_MPI, MFEM_USE_OPENMP.
After manually giving the path to the different libraries, I configured and generated. Then I did "cmake --build buildNew". These steps were achieved without errors.
If you need more information, I am available.
It would be very appreciated if you could help me to use mfem with mumps.
Best regards.

Can you try uncommenting this section:
https://github.com/mfem/mfem/blob/b5491f763085b3cc917fed34a58ee816c1bc0cc9/config/defaults.cmake#L148-L150
The "mpi_mpifh" library may need to be replaced if you are NOT using OpenMPI, e.g. with "mpifort" if using MPICH.


Why hardcoded stuff?

Why this is hardcoded?
https://github.com/Nyr/openvpn-install/blob/master/openvpn-install.sh#L250
And how can i increase the key size?

Read here: https://github.com/Nyr/openvpn-install/commit/c90989a0e2dbb6316e5d048f105c8615f70c6ba9#r30987566


Add missing links for v0.46 release and move v0.42 to EOL section

Changes

/kind documentation
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/cc @pritidesai

/lgtm

/lgtm


Saving position not working when using playlist-next and playlist-prev

I'm using save-position-on-quit=yes and it is working fine when using shit+enter to switch between videos but not when using '<' and '>' to go to next and previous videos.
I've also tried the following (using o and p as keybindings which also isn't working):
p playlist-next
o playlist-prev
I'm guessing I'm missing something basic...help would be much appreciated!

p script-message playlistmanager playlist-next
o script-message playlistmanager playlist-prev

playlist-next by themself are just native mpv commands. It's probably a bit bad naming on my part.

Thanks, that now works.
However, now keepsession.lua doesn't manage to do its job of opening the last played video when mpv is launched (the beginning of the playlist is played instead), Do you know how to fix this by any chance?


ENH: Accept template specifications in antsBrainExtraction

This seems to be working out. I'll merge.


FAST support for hxcpp build

Will need sasl2/bind2/fast for libstrophe
Then can implement storeLogin / getLogin for Sqlite persistence

blocked on https://github.com/strophe/libstrophe/pull/247


Enable VT100 to support colors in cmd (py)

Colors weren't working for me until I added this. Windows 10 (after anniversary update) disables VT for child processes and it has to be re-enabled.

I test this later, but this needs to compatible with other platforms

Set it to Windows only

what terminal are you using? cmd, powershell, other?

This was merged in 1285bbd4e61805e0ae54691564acea500d07fa40 and a0b150d900d02e5a7f54644a248a640386672f1d

Sorry, cmd.


Intro Message: http://localhost:9080//test/xml has one too many slashes

I've been told that the hyper text protocol allows one to use multiple "/"s (slashes) in a URL.
In fact, disabling the ability to do so could  break compliance with a standard.
The Stack Overflow page at https://stackoverflow.com/questions/10161177/url-with-multiple-forward-slashes-does-it-break-anything  refers to the Uniform Resource Identifiers (URI): Generic Syntax page at https://www.ietf.org/rfc/rfc2396.txt  as an authoritative RFC from August 1998. RFC 2732 updated 2396 ( https://tools.ietf.org/html/rfc2732)  both were obsoleted by RFC 3986 at https://www.ietf.org/rfc/rfc3986.txt (January 2005) by the way which still treats multiple consecutive slashes as acceptable.
.
The only negative mention I have found from a web search on this is a caution against multiple slashes as they may make it difficult to recognize when two URIs both reference the same entity.


Automator: update<EMAIL_ADDRESS>in<EMAIL_ADDRESS>

Generated by Automator - 2021-03-19T00:41:53+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio_release-1.9
c1b154a8c887be27deafab15b995282765e6c08d
link
/test integ-security-multicluster-tests_istio_release-1.9

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add two questions

Both are related to sorted method.
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

@jdwilkin4 Please review this PR.

This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it.
We already have a question Python's sorted() method and we are not looking to add additional ones.
Before creating a PR, please double check to ensure that similar questions don't already exist in the file 👍

@jdwilkin4 I looked into the quiz and I search also there was no sorted method question present.
I want to know like how I should check whether it is present or not. ctrl+f or any other options

You can use the global search in your code editor

Here is the current question in the file:
  {
    Question:
      "In Python, what built-in function returns a new sorted list from the items in an iterable?",
    Answer: "sorted()",
    Distractor1: "sorting()",
    Distractor2: "print()",
    Distractor3: "copy()",
    Explanation:
      "The sorted() function returns a new sorted list from the items in an iterable. ",
    Link: "https://www.freecodecamp.org/news/python-sort-list-how-to-order-by-descending-or-ascending/",
  },


Bug: Getting logged out after reload

PHP Version
8.1.12
CodeIgniter4 Version
4.2.7
Shield Version
dev-develop
Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli-server (PHP built-in webserver)
Database
MySQL
Did you customize Shield?
Yes, changed in shield/src/Auth.php this:  $routes->group('/', ...
to:  $routes->group('/auth/', ....
What happened?
If I login via /auth/login, I get on my Landing Page, there I made this:
<?php $auth = service('auth'); ?>

  <?= auth()->loggedIn() ? 'Hallo, ' . auth()->user()->username : 'Dein Profil' ?>

Everythings great after I directly get there, I get "Hello OnyxException", but if I reload the page, I am not logged in anymore
Steps to Reproduce
Reload the page, Ig
Expected Output
I just want to be still logged in.
Anything else?
So, the ci_session cookie is still the same, the Session Settings are correctly, as I know.

Cannot reproduce.

@OnyxException Unfortunately, we could not reproduce your problem. And considering the lack of feedback from you, we consider this issue to be resolved.
Class shield/src/Auth.php is part of the main file Shield and you should not make any changes in it. This is bad practice. If you need to change the default routes, apply these changes in Config/Routes.php.
Feel free to reopen the issue if your problem still exists, providing more details to reproduce the error.

I thought you insert the code
<a href="<?php auth()->logout(); ?>">Logout
 in the welcome_message.php file like me before. It's make logged out automatically. So remove it, and gotcha it will be fine!

PHP Version
8.1.12
CodeIgniter4 Version
4.2.7
Shield Version
dev-develop
Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli-server (PHP built-in webserver)
Database
MySQL
Did you customize Shield?
Yes, changed in shield/src/Auth.php this: $routes->group('/', ... to: $routes->group('/auth/', ....
What happened?
If I login via /auth/login, I get on my Landing Page, there I made this:
<?php $auth = service('auth'); ?>

  <?= auth()->loggedIn() ? 'Hallo, ' . auth()->user()->username : 'Dein Profil' ?>

Everythings great after I directly get there, I get "Hello OnyxException", but if I reload the page, I am not logged in anymore
Steps to Reproduce
Reload the page, Ig
Expected Output
I just want to be still logged in.
Anything else?
So, the ci_session cookie is still the same, the Session Settings are correctly, as I know.


Harvesting wizard not working

The harvesting wizard is not working for me on 0.13.1
Steps to reproduce:

Show wizard
(account link) Enter password -> create
(Node selection) Enter node_url (I tried a few) and Fee selection (I tried fastest and recommended) -> next
(confirmation) Enter password -> next

After this I'm back at the dashboard screen and nothing has changed. No transaction eather.
Also if I start the wizard again I'm getting the same screens.

I was able to reproduce same scenario (debian package).
Also on confirmation step I have:

"You can see the transaction(s) details displayed below." - but no transaction details are presented.

I also tried to use the harvesting wizard and can see no tx in my dashboard, nor on an explorer.

Chrome's Dev tool report that the PersistentDelegationRequestMessage is incorrect. The VRF public key is missing.
https://github.com/nemgrouplimited/symbol-desktop-wallet/blob/main/src/views/forms/FormPersistentDelegationRequestTransaction/FormPersistentDelegationRequestTransactionTs.ts#L108
This VRF key is empty.  Also, the message expects the remote account Private key, not the public key.
I believe Wallet needs to generate 2 accounts, the Remote Account and the VRF Account/Key.
My question, does VRF need to be linked? Should we link the VRF key to the Remote Account or to the Local Account? We should add a VrfKeyLinkTransaction to that list of transactions.

There are several problems with Wallet's harvesting setup feature in general.

VRF provided is always empty.
FormPersistentDelegationRequestTransaction form populates public keys when remote and vrf private keys should we provided.
VRF private key is not stored in the profile.
There is no check validating that the locally stored remote/vrf private key matches what the blockchain stored in AccountInfo.supplementalPublicKeys
There should be a page, probably next to Account Details showing the currently linked accounts (vrf, remote, node and votings). This page could validate that the profile stored private keys are correct. It could also allow the user to unlink if there is a key mismatch between the local and blockchain stored data.
There is a AccountHarvestingPage and AccountAction but not used and commented out?
Missing VrfKeyLinkTransaction and NodeKeyLinkTransaction transaction views
In the wizard, when changing the "From" to a multisig account, the generated remote account is not changed. It's using the simple account remote key (encRemoteAccountPrivateKey). The signer selector should change the set of VRF and remote account used.
I'm not sure how the Mnemonic can restore the remote private key (and VRF private key when added). Should it be testing that the restored private key is the one from AccountInfo.supplementalPublicKeys? How can these keys from multiples accounts be restored?

@yilmazbahadir have we list of nodes that have rest with /unlockedaccount endpoint?

@cryptoBeliever I think, this is the only one we have at the moment => http://api-01.us-west-<IP_ADDRESS>.x.symboldev.network:3000/node/unlockedaccount

Thank you. Will verify today :+1:

I was able to start/stop/activate harvesting for a single and multi-sig account. New bugs will be reported as separated issues.


trestle assemble is not generating files where expected.

Describe the bug
Trestle assemble is meant to inject content into dist/OSCAL_MODEL_PLURAL/object_name.{json, yml}
At this point it is not.
To Reproduce
trestle init
trestle create catalog -n my-catalog
trestel assemble catalog -n my-catalog
ls dist/catalogs/
(No file)
Expected behavior
trestle init
trestle create catalog -n my-catalog
trestel assemble catalog -n my-catalog
ls dist/catalogs/
my-catalog.json

@butler54 hmmm... so it was writing the file in the wrong place. It was putting a dist/catalog.json instead of dist/catalogs/my-catalog.json', which needs to be fixed because where does trestle assemble catalog -n my-catalog2` goes then?


New version: Alist.Alist version 3.32.0

Pull request has been created with komac v2.1.1 :rocket:

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

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

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

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

Automatic Validation ended with:

2024-03-02T10:03:12.7413453Z ##[error] Manifest Error: Required field missing. [NestedInstallerFiles] Manifest Error: Required field missing. [NestedInstallerFiles] Manifest Error: Required field missing. [NestedInstallerFiles]

(Automated response - build 857.)


🪲[BUG] error

my class is  StatefulWidget
···
static EasyDialogsController get controller => _key.currentState!.controller;
···
···
======== Exception caught by gesture ===============================================================
The following _TypeError was thrown while handling a gesture:
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0      FlutterEasyDialogs.controller (package:flutter_easy_dialogs/src/flutter_easy_dialogs.dart:22:67)
#1      FlutterEasyDialogs.show (package:flutter_easy_dialogs/src/flutter_easy_dialogs.dart:26:7)
#2      EasyDialogsX.show (package:flutter_easy_dialogs/src/core/easy_dialogs_controller.dart:548:62)
···

my class is StatefulWidget ··· static EasyDialogsController get controller => _key.currentState!.controller; ···
··· ======== Exception caught by gesture =============================================================== The following _TypeError was thrown while handling a gesture: Null check operator used on a null value
When the exception was thrown, this was the stack: #0 FlutterEasyDialogs.controller (package:flutter_easy_dialogs/src/flutter_easy_dialogs.dart:22:67) #1 FlutterEasyDialogs.show (package:flutter_easy_dialogs/src/flutter_easy_dialogs.dart:26:7) #2 EasyDialogsX.show (package:flutter_easy_dialogs/src/core/easy_dialogs_controller.dart:548:62) ···

Hello,
Did you wrap your material application with FlutterEasyDialogs.builder()?
Like so:
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      builder: FlutterEasyDialogs.builder(),
    );
  }
}

@AllLuckly Does the problem persist? I will close the issue otherwise

@AllLuckly, I am closing this issue for now as there has been no activity. Feel free to reopen the issue if the problem arises again.


improving system's responsiveness

Output of restic version
restic 0.1.0 (v0.1.0-460-gafd0eb7)

I was evaluating restic some months ago, but the cpu% usage and average load was so high making my 16GB i7 2.8G system totally unresponsive while performing full backup (~600G) although I tried with re-nice to reduce the load and improve system's responsiveness.
Yesterday, after reading about some similar backup applications I could see that restic is still the leader in terms of ui-friendliness, ease-of-use, engineering design etc. so I've visited #restic where I received some hint which could make the system usable while doing backup for the first time.
Now I've tried with:
$ sudo ionice -c 3 nice ./restic -r /media/gour/backup/ backup /home

and despite of seemingly very high average lo load (31/28/26) and cpu% usage of >200%, the temperature of the system does not go above 70 C, and the backup rate is over 39MiB/s while restic is performing backup of my /home (~700GiB).
However, the most important change is that now my system is quite responsive which was not the case in the past when I was practically uselessly slow for any practical work. :-)
Hoping to help someone who might encounter problem with Restic and system responsiveness as well as place to share experience and/or further tips how to improve performance.
Finally, let me say that I'm using Sid with:
4.4.0-1-amd64 #1 SMP Debian 4.4.2-3 (2016-02-21) x86_64 GNU/Linux

kernel.

Thanks for leaving this here, I think it's valuable to add this to the user documentation.

I do not experience high system load and unresponsiveness, plus this issue is quite old.
Is it possible this issue is no longer current with restic 0.7.x?

I'm inclined to just close the issue for now and add an entry to the FAQ, not in terms of "what to do when the system is unresponsive" but rather "how to prioritize restic's IO" or so.

I'll add that to the FAQ.

That'd be much appreciated. Thanks a lot for your work on the documentation!


feat(build): Add Build waiting condition

Add on Build.Status a "Scheduled" condition containing the reason for it's scheduling status

Ref #4542

Release Note
feat(build): Add Build waiting condition

@gansheer please, rebase against main as we have fixed the errored check.


[BUG REPORT] Reusing Page Content

For Bug Reports

BookStack Version (Found in settings, Please don't put 'latest'): BookStack v0.18.5
PHP Version: 7.0.22-0ubuntu<IP_ADDRESS>
MySQL Version: mysql  5.7.20, for Linux (x86_64)

Setup details:
Page A with ID 117 and an html table with ID of "bkmrk-servers1"
Page B with ID 59 and trying to reuse the content from 117.
The code to do this should be: {{@117#bkmrk-servers1}}
Expected Behavior
BookStack displays the specified table from Page A in Page B
Current Behavior
BookStack displays the contents of the specified table from Page A, in Page B, without any formatting.
Steps to Reproduce
Attempt to reference an html table from another page.

@levest28 Thanks for reporting this issue. Bug confirmed and marked to be fixed for next feature release.
If you need a workaround for the meantime you can wrap the table in a <div> and move the id from the table to the new parent div.

Thank you, this work around is resolving our issue for the time being. Looking forward to the next update!


Length of Notes

Hi, is possible to define a max length of the notes shown in appointments ?
I would like to cut off the notes after X characters. When multiple appointments are shown during a day, the list will be too long at the end.
If there is no variable for that to be set in the config file, can you provide me the part in your code that is responsible for displaying the notes ?
IMG_8724

There is no config option for it, since that is handled by the CSS. I'd suggest you use the Chrome Devtools to pick out the element and the set max-height so a value that fits you.

Hi Andre, is it possible for you to tell me the element that is responsible for the height as I am not familiar with Chrome Dev Tools.
Furthermore the monitor is fitted inside a mirror. There is no access via browser or keyboard.

Am 09.03.2022 um 19:38 schrieb Andre Klärner @.***>:
There is no config option for it, since that is handled by the CSS. I'd suggest you use the Chrome Devtools to pick out the element and the set max-height so a value that fits you.
—
Reply to this email directly, view it on GitHub https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/issues/169#issuecomment-1063238405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYBSBRXKC5PFCQGCNEC6V5LU7DV2NANCNFSM5QJHMQQA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.

Thank you very much for your help.

As this sounds like you could achieve your goal I'll close this issue. If I'm mistaken feel free to reopen this issue


[Coverity CID: 185278] Null pointer dereferences in /samples/net/coap_server/src/coap-server.c

Static code scan issues seen in File: /samples/net/coap_server/src/coap-server.c
Category: Null pointer dereferences
Function: test_put
Component: Samples
CID: 185278
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

https://github.com/zephyrproject-rtos/zephyr/pull/7223 fixes issue.


How Can I Delete a Realm From My Electron App?

Running Linux.  Version of Electron Zulip App is 2.3.82.  AppImage.
I added a realm (which exists) but I don't have access to this realm and I don't need it.  But the icon on the left side won't leave.  I like a clean desktop.  How do I make him go away?

You can delete a realm using Settings > Organizations > Disconnect

@rishig we should document this somewhere in /help.


lanflow

says there is a error

Without information for analysis, please open a new issue detailing the problem.


sap_anydb_install_oracle: Task uses export which does not exist in csh

In the task [Oracle DB - Complete configuration of Oracle DB] under the role sab_anydb_install_oracle, the env var ORACLE_BASEis being set using export, while other vars are set with setenv (as this is csh):
- name: Oracle DB - Complete configuration of Oracle DB
  become: true
  become_user: oracle
  args:
    executable: /bin/csh
  register: __sap_anydb_install_oracle_config_exec
  changed_when: "'SAP RUNINSTALLER: Completed' in __sap_anydb_install_oracle_config_exec.stdout"
  failed_when: "__sap_anydb_install_oracle_config_exec.rc not in [ 0, 1 ]"
  ignore_errors: true
  ansible.builtin.shell: |
    setenv DB_SID "{{ sap_anydb_install_oracle_sid }}"
    export ORACLE_BASE="{{ sap_anydb_install_oracle_base }}"
    setenv ORACLE_HOME "$ORACLE_BASE/$DB_SID/19.0.0"
    set CURRENT_DATE_ISO=`date +%Y-%m-%d`
    set ORACLEDB_RESP_GENERATED_FILE=`find $ORACLE_BASE -iname "db_$CURRENT_DATE_ISO*"`
    $ORACLE_HOME/runInstaller -silent -executeConfigTools -responseFile $ORACLEDB_RESP_GENERATED_FILE

Under csh, export is not found and the script ends with rc=1 (but that does not make the task fail - so the task appears as successful).

PR merged, closing issue


refactor: prefer s ∩ . when passing to a subset of s

This is partial work to make s ∩ . be consistently used for passing to a subset of s. This is sort of an adjoint to (Subtype.val : s -> _) '' ., except for the fact that it does not produce a Set s.
The main API changes are to Subtype.image_preimage_val and Subtype.preimage_val_eq_preimage_val_iff in Mathlib.Data.Set.Image. Changes in other modules are all proof fixups.
Zulip discussion

Can you edit the description to link to the Zulip thread, @kmill?

@jcommelin I only did fixups -- inserting inter_comm is an easy way to adapt to the change.

Wouldn't it be more ergonomical to put s in the RHS slot?

Why?

The diff suggests to me that you would need to do fewer fixups.

@kmill privately explained to me that he would like "passing to a subset" to behave more like a prefix operator. Which I think is a good reason. So then this is the order it should be.
bors merge