Note that GitHub account needed to download build artifacts

I would like someone else to verify this behavior, but I don't seem to be able to download the artifacts specified in this guide unless I am logged into my GitHub account. When I am logged out / in incognito mode, they display the names of the artifacts without any links.

The linux guide itself is outdated, you can just use the appimage in the Releases

Merging this in because it's true, but the page does need to be updated at some pooooint


Bug: Incorrect link takes to Page Not Found

Not sure if this is an issue with router or documentation markdowns.

https://ts.llamaindex.ai/installation.md

@Kartik1397 thanks a lot. Great catch! Fixed in https://github.com/run-llama/LlamaIndexTS/pull/302


Problem with nested regex groups

When I try to match histogram with regex containing nested groups, the histgrinder crashes. There is a workaround but it is semantically different.
Example from AFP: (?P<station>(far|near)[AC]side)
Workaround: (?P<station>[far|near]*[AC]side)
Example from TRT: (?P<region>(EndcapA|EndcapC)/Sector\d.)
Workaround: (?P<region>[EndcapA|EndcapC]*/Sector\d.)
The problem is that there cannot be nested named groups like: (?P<part>(?=Front|Middle|End)(?P<part_letter>[FME])(ront|iddle|nd))

Hi @Tucnace ,
Could you provide the full snippet from the YAML file that causes the crash, as well as the backtrace that you get from the crash?
Best,
Peter

Hi @ponyisi,
here is the YAML snippet. I have tested that this is enough to crash it.
Input: [ 'AFP/SiT/TracksVsLb/lbTracksAll_(?P<station>(far|near)[AC]side)', 'AFP/SiT/Aux/NumberOfEventsPerLumiblock' ]
Output: [ 'AFP/SiT/PP/TrackFME/lbTracksAll_vs_lb_{station}' ]
Function: histgrinder.example.transform_function_divide_ROOT
Description: TrackAll

And here is the stack trace:
Traceback (most recent call last):
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/sw/lcg/releases/LCG_101_ATLAS_20/Python/3.9.6/x86_64-centos7-gcc11-opt/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/sw/lcg/releases/LCG_101_ATLAS_20/Python/3.9.6/x86_64-centos7-gcc11-opt/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthenaExternals/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/histgrinder/engine.py", line 93, in <module>
    go()
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthenaExternals/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/histgrinder/engine.py", line 66, in go
    _.consider(obj)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthenaExternals/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/histgrinder/transform.py", line 59, in consider
    return self.transform()
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthenaExternals/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/histgrinder/transform.py", line 73, in transform
    groupedfirstmatches = self._groupMatches(firstmatches)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthenaExternals/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/histgrinder/transform.py", line 117, in _groupMatches
    reducedtup = tuple(v for i, v in enumerate(tup)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthenaExternals/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/histgrinder/transform.py", line 118, in <genexpr>
    if self.regextupnames[0][i] in self.outputnames)
IndexError: tuple index out of range

Cheers,
Petr

Fixed in 0.1.6 which is in Athena nightlies after 2022-05-17T2101, closing.


WIP: Cscaff/peg uwd

This PR migrates the UWD grammar from SyntacticModels.jl to upstream Catlab.

@cscaff, this branch has conflicts with main. Please fix them so that we can merge this.

@cscaff, this branch has conflicts with main. Please fix them so that we can merge this.

Sounds good. I'll get on that and update you.

It looks like the build failed on linux. It can't find the ADTs.jl file, I know that paths are case sensitive on linux, but not windows and mac, so that might be the problem.

That's the issue. Changing to the include statement in the main file to include("ADTs/ADTs.jl") will resolve this issue. I don't have permission to push the fix @cscaff but it's a small change.

Ok, I think I've resolved it. I made that change in the main src and test files. Looks like everything still runs on my end on Windows 10.


changes in the library api

closes #450
sorry for huge diff
Some background is given there, although I did not follow the suggestions entirely: the type: 'success'/'cancel' field is not included.
breaking:

configure is sync, does not return a promise. It does need to be called before any other exposed methods are called, typically only once. I took approach nr 4 from https://github.com/react-native-community/react-native-google-signin/issues/450#issuecomment-406899092 since it just seemed best to me, but am open to discussing the best one.

currentUser function is removed

renamed autoResolve => showPlayServicesUpdateDialog

renamed currentUserAsync => signInSilently (the new name is much closer to the name of the underlying native methods)

changed shape of data returned from signIn and signInSilently:

{
 idToken,
 serverAuthCode,
 user: {
   name,
   email,
   ...
 }
}

I included doesErrorNeedToBeHandled function (please let me know if the name can be improved) which looks like this:
export const doesErrorNeedToBeHandled = error => {
  return !isSigninCancellationError(error) && !isSigninInProgressError(error);
};

which can be used in the catch block of awaiting a promise, like this:
  signIn = async () => {
    try {
      const userInfo = await GoogleSignin.signIn();
      this.setState({ userInfo, error: null });
    } catch (error) {
      if (doesErrorNeedToBeHandled(error)) {
        Alert.alert('Something went wrong', error.toString());
        // log error here
      }
    }
  };

That means - if the sign in is cancelled or if the user tapped the sign in button several times fast, that will result into promise rejection. However, since these situations are not interesting for us, we don't need to handle them in any way. That's what doesErrorNeedToBeHandled is for.
the hasPlayServices is still exposed and people can use it to check, well, if google play is available (this will always be true on ios, but may not be true on android). The call will by default show an alert that offers user to update the google play services. However, calling it is not obligatory - hasPlayServices is called by signIn and signInSilently automatically, every time they are called (up for discussion).

After long discussion and debating different approaches in Slack @vonovak and I decided that using constants and statusCodes such as SIGN_IN_CANCELLED is the way to go. This was also suggested by @thomasw in the comments in #450. Thank you for raising this issue Thomas!


Leetcode Question Number 146

Leetcode Question Number 146 soultion needs to be added in the repo .
The link for the question is this.
Accepted Languages C++ / JAVA .
You Only need to add the  class Solution in the file.
Make Sure you have read the contributions guidelines before creating an PR.

Assign me


Should the project suppor Windows OS system

From some configs and several codes from train_***.py, I saw that the project is mainly developed in Linux system.
Could you please considerring the primitive project supporting Windows OS system. For example, the directory could not use relative directory instead of absolute directory like "/n/sd8/inaguma/result/timit/"?

Hi,
So, do you mean that you would like me to update for '' ?
Then, I think it's good to replace '/' with os.sep.

Yes.
Additionally, please use relative path like 'dataset/1/', other than the absolute path like '/home/rubbishgod/attention/dataset/1/'.


Update mockito-scala-scalatest to 1.13.4

Updates org.mockito:mockito-scala-scalatest from 1.11.4 to 1.13.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-scala-scalatest" } ]

labels: test-library-update, semver-minor

Codecov Report

Merging #251 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #251   +/-   ##
=======================================
  Coverage   47.68%   47.68%
=======================================
  Files          24       24
  Lines         281      281
  Branches        1        1
=======================================
  Hits          134      134
  Misses        147      147

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 6435459...d8bbbc5. Read the comment docs.


Multi blank lines between functions

Hi, I'm not sure if this is the right place to ask this question, but here it is. We have a small team and want to use PHP-CS-Fixer to format all our code but we have custom standards rules, like 2 blank line arround functions for readability (except first one and last one of a class). I read the doc but only saw rules with true or false so I'm not sure PHP-CS-Fixer is made for our needs.
Can we write this kind of rules ?

Hi @Mushr0000m
Within the project we try to promote standards used by bigger PHP communities and for that we provide rules to help format code following those standards.
You question is about a format that is not very common and therefore we've no rule that will do this for you. However, you can write you own rules and use these custom rules with the tool.
 You can use the rules in this project as example or any of the other projects out there. Maybe have a look at the cook book on this topic as well if it helps.
I'm closing this ticket now as to not raise expectations that we'll add this rule soon. However if there are more people that would like to see this rule added; please let me know!

Hi @Mushr0000m, I use same rule in my projects too :). Any luck with the custom rule?

No sorry I didn't find a way so I dropped PHP-CS-Fixer for the moment.... If you find a way to create theses custom rules, please tell me !


Inverse Correlation between PRS and phenotype

Hi,
I have calculated the PRS using LDPred V1.0.11 and the score is negatively correlated with the phenotype (Please find screenshot attached).
Just to confirm, in the Gibbs output file: nt1 is the other allele and nt2 is the effect allele.
If I use nt1 allele in Plink to calculate score then that score is similar to the score produced by ldpred (negatively correlated).
By using n2 allele in Plink to calculate score then that score is positively correlated with the phenotype.
Therefore, in Gibbs sampler output file n2 is the effect allele.
There was another previously reported issue (https://github.com/bvilhjal/ldpred/issues/120) in the similar line. I don't know whether this issue and previous are related.
Finally, whats the difference between _p1 and *-inf.txt files as output of step 2 and which score file is used in step 3.
Thank you for your help.
Regards
Gaurav

Same problem. I am using v.1.10. It hasn't been fixed in v1.10


iOS Support

WIP

[x] Fix iOS build
[x] Basic support
[ ] Events
[ ] Implement all platform::Window methods

(copied from tomaka/glutin#29)
Fixes #100

I was able to compile and run a small example on iOS. It seems like most of what's there is working, but a lot of functionality is still missing. I'll start working on that this weekend.

I tried this Travis config with rustup.rs before I figured out how to install a new target with rustup.sh. Using rustup.sh for the Travis config is faster, since it will reuse the installation that Travis makes. For documentation, I wanted to leave the configuration using rustup.rs here. I'm going to remove those commits.
language: rust

rust:
  - nightly
  - stable

cache: cargo

addons:
  apt:
    packages:
    - libxxf86vm-dev

install:
  - curl https://sh.rustup.rs -sSf | sh -s -- -y
  - export PATH=~/.cargo/bin/:$PATH
  - rustup default $TRAVIS_RUST_VERSION
  - if [ $TRAVIS_OS_NAME = osx ]; then rustup target add x86_64-apple-ios; fi

script:
  - cargo build --verbose
  - if [ $TRAVIS_OS_NAME = osx ]; then cargo build --target x86_64-apple-ios --verbose; fi
  - cargo test --verbose

os:
  - linux
  - osx

after_success:
  - |
      [ $TRAVIS_BRANCH = master ] &&
      [ $TRAVIS_PULL_REQUEST = false ] &&
      cargo publish --token ${CRATESIO_TOKEN}

Yeah, it doesn't look like touch input ever worked. It also looks like some of the FFI code is replicating work from this crate. I may make some contributions to that library if necessary before finishing this pull request. I should have a lot more time to work on this starting now, so expect to see progress in the near future.

I have stopped working on this. I'm not sure if I'll be able to come back to it, but maybe someone can continue the work I started here. It turns out my original project idea that relied on this isn't feasible. Most of the work so far has been to clean up the old code and get it to compile and work on Travis, so we could merge it as-is to let someone else build off this later.

Well, let's merge this then. Thanks for the work!


New package: MoonshotAI.Kimi version 1.1.2

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Program Files\Kimi智能助手\app\resources\lib\parfait_crash_handler.exe returned exit code: -1073741515
Executable C:\Program Files\Kimi智能助手\Kimi智能助手.exe returned exit code: 2

Automated error analysis suggests -1073741515 may mean STATUS_DLL_NOT_FOUND - possibly due to a dependency on Microsoft.VCRedist.2015+.x64 (or .x86).
(Automated response - build 897.)

Hi @SpecterShell,
Verify:

The installer appeared to run normally, but double-clicking the desktop shortcut doesn't seem to have any effect. Is this expected?

Hi @SpecterShell,
Verify:  The installer appeared to run normally, but double-clicking the desktop shortcut doesn't seem to have any effect. Is this expected?

Appears to be an encoding bug with Java. Both the default installation directory and the name of config file inside contain Chinese characters, so the program would crash at startup if the non-Unicode encoding was not set to Simplified Chinese.

That's a rather major bug. How should this PR proceed?

That's a rather major bug. How should this PR proceed?

Simply merging it? Users in need of this package should not be affected by that. 👻


Initial version of API Center .NET SDK.

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

@ArthurMa1978, is there anything needs to be done on our side to get this PR going? Please advise.

@ArthurMa1978, gentle ping.

/azp run prepare-piplelines

/azp run prepare-pipelines

@alzaslon please see my comments.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.ApiCenter

@ArthurMa1978, resolved your comments. Thanks!

@ArthurMa1978, gentle ping.


Add conda instructions

This PR https://github.com/conda-forge/staged-recipes/pull/14913 added guppy3 in conda-forge. Here I update the documentation to install guppy3 via conda.

Thanks!


stellarsolver: 2.3 -> 2.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/rlancaste/stellarsolver/releases.
meta.description for stellarsolver is: "Astrometric plate solving library"
meta.homepage for stellarsolver is: "https://github.com/rlancaste/stellarsolver"
meta.changelog for stellarsolver is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.4 with grep in /nix/store/75xdzmhbirqmv62yrsx12fr30v3y44nm-stellarsolver-2.4
found 2.4 in filename of file in /nix/store/75xdzmhbirqmv62yrsx12fr30v3y44nm-stellarsolver-2.4

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
kstars
stellarsolver

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/75xdzmhbirqmv62yrsx12fr30v3y44nm-stellarsolver-2.4
ls -la /nix/store/75xdzmhbirqmv62yrsx12fr30v3y44nm-stellarsolver-2.4/bin

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

2 packages built:

kstars
stellarsolver

Maintainer pings
cc @hjones2199 for testing.

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

1 package built:

stellarsolver


Adapter throws unhandled stacktrace in log: 403 Forbidden: bot can't initiate conversation with a user

I know why the exception occurs and that the exception was originally thrown by "node-telegram-bot-api".
But I would recommend to handle (e.g. with a warning) the exception in the adapter, to avoid that the log is filled up with technical/internal stack informations.
Adapter-Version: 	1.5.9

telegram.0	2020-09-27 13:49:16.599	error	at processImmediate (internal/timers.js:461:21)
telegram.0	2020-09-27 13:49:16.599	error	at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:15:14)
telegram.0	2020-09-27 13:49:16.599	error	at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:102:5)
telegram.0	2020-09-27 13:49:16.599	error	at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:86:9)
telegram.0	2020-09-27 13:49:16.599	error	at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:93:12)
telegram.0	2020-09-27 13:49:16.599	error	at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:729:18)
telegram.0	2020-09-27 13:49:16.599	error	at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:649:10)
telegram.0	2020-09-27 13:49:16.599	error	at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:604:18)
telegram.0	2020-09-27 13:49:16.599	error	at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:547:31)
telegram.0	2020-09-27 13:49:16.599	error	at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23)
telegram.0	2020-09-27 13:49:16.599	error	at /opt/iobroker/node_modules/node-telegram-bot-api/src/telegram.js:283:15
telegram.0	2020-09-27 13:49:16.599	error	(533) Error: ETELEGRAM: 403 Forbidden: bot can't initiate conversation with a user
telegram.0	2020-09-27 13:49:16.599	error	(533) unhandled promise rejection: ETELEGRAM: 403 Forbidden: bot can't initiate conversation with a user
Unhandled	2020-09-27 13:49:16.599	error	promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().

Regards
Esche

The problem is that it is thrown  by the lib in a way that it is not catchable :-( see https://github.com/yagop/node-telegram-bot-api/issues/798 :-(


Add Media controller

How to add media controller in AutoplayVideo lib?
I fail to integrate video controller and horizontal progress of video duration?
please help with this issue.

I hope the issue is resolved, it not feel free to re-open this issue.

holder.getAah_vi().getCustomVideoView().getMediaPlayer() is giving "null". Please help me get the media player in my adapter.

How to add media controller in AutoplayVideo lib?
I fail to integrate video controller and horizontal progress of video duration?
please help with this issue.

Hey,
Did you able to integrate video controller and horizontal progress of video duration? If yes please help me I want the same feature in my app.

same


[ETFE-1799] added code for error pages

content update for error pages- WIP
[ETFE-1799] bump dependencies
[ETFE-1799] added code for error pages

Related PR: https://github.com/hmrc/outage-pages/pull/1508


Google OAuth fails if server's clock is just few seconds ahead

Hi,
Google OAuth fails if client's system time is just few seconds ahead. Stormpath swallows the root cause, saing just "Token is invalid" without any additional info.
a) Can you make the time-checks less strict on Stormpath's side, allowing some time drifting on client's side
b) Bubble up the actual error root cause to the callee.
Thanks,
Matti

Thanks for the report, is there more information in the error message, such as a status code?  In addition to the Google access token, we also exchange our own tokens during the login flow, so it's possible there is also an issue with server time.  I want to make sure we're looking in the right place.

Hi, this is not actually caused by client's clock, but server's clock instead.

Thanks for the update, is your application now working with an updated server clock?

Yes it is.


ISPF Client doesn't set HOME

I ran into the issue that due to the use of bpwxunix, the environment variables from etc/profile are not set. This gives issues when trying to use git commit.
The user.name and user.email are not found.
I solved this in BGZSTART with the following command:
/get home directory/
sh_rc = bpxwunix('pwd',,stdout.,stderr.)
home_dir=stdout.1
and added it as an ENVIR
gitenv.14 = 'export HOME='home_dir
Is this a known issue or just a local disturbance?

@xhouis can you take a look at this issue?

It's an issue, since without having an exoprt of $home, some Git commands failed with error message :
fatal: $HOME not set
For ex git config --global --list  command
I'm investigating the best way to set $home, but adding it as ENVDIR in BGZSTART seems a good fix

Hi guys... I have exactly the same problem but I don't see clearly how it should be fiexed... coud you please include the entire BGZSTART?
Thanks.

@cfdonatucci
The workaround to set $HOME as an ENVIR variable is the following part in BGZSTART (lines between /+++/ and update gitenv.à to 14  :
gitenv.1  = 'export JAVA_HOME='BGZJAVAH
gitenv.2  = 'export DBB_HOME='BGZDBBH
gitenv.3  = 'export GIT_SHELL='BGZBASH'/bin/bash'
gitenv.4  = 'export GIT_EXEC_PATH='BGZCGIT'/libexec/git-core'
gitenv.5  = 'export GIT_TEMPLATE_DIR='BGZCGIT'/share/git-core/templates'
gitenv.6  = 'export PATH=$PATH:$JAVA_HOME/bin:'BGZROCKH'/bin'
gitenv.7  = 'export MANPATH=$MANPATH:'BGZMAN'/man'
gitenv.8  = 'export PERL5LIB=$PERL5LIB:'BGZPERL5'/lib/perl5'
gitenv.9  = 'export _BPXK_AUTOCVT=ON'
gitenv.10 = 'export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"'
gitenv.11 = 'export _TAG_REDIR_ERR=txt'
gitenv.12 = 'export _TAG_REDIR_IN=txt'
gitenv.13 = 'export _TAG_REDIR_OUT=txt'
/++++++++++++++++++++++++++++++++++++/
/get home directory /
sh_rc = bpxwunix('pwd',,stdout.,stderr.)
home_dir=stdout.1
gitenv.14 = 'export HOME='home_dir
/++++++++++++++++++++++++++++++++++++/
gitenv.0  = 14
BGZENVIR = ''
Do i = 1 to gitenv.0
BGZENVIR = BGZENVIR || gitenv.i||';'
End
'VPUT (BGZENVIR) SHARED'
This will set HOME environment variable to the value of your system userid home_dir value (for ex : /u/user1), and also set the user.name and user.email used by some GIT commands.


New Language: python

Hi there,
one language, that would be extremely nice to have in proton is python!
Especially seeing the problems around python 2 and python 3.
Maybe you can integrate pyenv internally or something like this, like with rust.
Or you decide, that it would be worth it to have direct python support,
even though I'm imagining that this might be hard to do.

Landed in 0.17!


retrieve gpg password from vault during thaw

There are many reasons related to continuous delivery pipelines where we may not actually have a gpg key installed on a system. We should have aomi thaw (and seed when --thaw-from is selected) optionally fetch appropriate information from Vault itself and configure the local workstation.
At a minimum the GPG private key password should be pulled, to be passed into gpg via a file descriptor.

--gpg-password-path with the last path section being the key. I.e. secret/config/gpg would look for the key gpg in the path secret/config.


Email confirmation

Can you consider adding email confirmation flow?
Perhaps consider either:

Send email confirmation link on account signup
Take user to semi-logged-in state that invites them to check their email to confirm, or to resend confirm link
Click of confirmation link completes account signup

Or:

Send email confirmation link on account signup
Allow full login without email confirmation
On click of confirmation link, set a emailConfirmed flag on the account to true

Thanks for creating an issue.
Drywall used to have this, as well as third party logins. I believe having these things built-in creates bloat and increases maintenance effort. I'd be more interested in taking things out rather an adding more.
Account confirmation can be done in many different ways (email, sms, etc...). In these cases, I think it would be better for us to create guides/tutorials and add them to the wiki.
If anyone is interested in helping create a guide or know of one that we could link to, please chime in on this thread.


how to add mathjax head to architect?

I am using this theme by choose a theme in github pages as a project site, and I want to add mathjax to the header to by site, so it can render LaTeX math equation. I tried to add a line in _layout/default.html to override, but it doesn't work.
so  I am wondering how.  Thanks in advance!

@rksys See https://haixing-hu.github.io/programming/2013/09/20/how-to-use-mathjax-in-jekyll-generated-github-pages/.


How do you disable snow accumulation on certain blocks?

I don't see anywhere in the config to disable snow accumulation. Is there a way to add specific blocks? Or to use a forge tag? Mostly I don't want snow accumulating on glass. Any way to do this?

There are two common config options for enabling snow accumulation: enableSnowAccumulationDuringWorldgen and enableSnowAccumulationDuringWeather, which are self explanatory. There is no way to add specific blocks. I suggest using a light source (see: vanilla)


Does this only work with Ghidra 9.1?

I am trying to use this with Ghidra 9.2.4 and it says the version is not supported.

Looks like you have to put in the exact version of your Ghidra in extension.properties for it to work.


man-db: Add --with-col to configureFlags

Piping the output of man to a file (not a tty) is supposed to strip the formatting (ANSI escape sequences) from the output text if the MAN_KEEP_FORMATTING environment variable is undefined.
Stripping of ANSI escape sequences is done using col from util-linux. The build system uses the value of the --with-col flag or tries to find col in PATH during the build. If no col is found or specified the documented stripping of ANSI sequences won't be performed.
Add the --with-col flag to fix piping of man pages as plain text.
Use util-linuxMinimal to avoid a cyclic dependency.
Fixes #351845 man man | cat does not include ANSI escape sequences.
I'm targeting staging because of the expected amout of rebuilds.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@SuperSandro2000 Do you mind taking another look and to maybe reconsider?

@PJungkamp could you rebase this branch?

I rebased this branch and removed the reverted fixup from the history.

It seems that the manpage of the test driver failed to build on x86_64-linux.

I think the failed .#man-db.passthru.tests.nixos.driver is just a build timeout.

error: building of '/nix/store/pyvfjbcsg1wabvxwjx09231rakckzy4c-python3.12-virtualenv-20.26.6.drv^out' from .drv file timed out after 3600 seconds

See https://logs.ofborg.org/?key=nixos/nixpkgs.351862&attempt_id=9aa58cbd-ca6f-4de1-9088-3ace71eb4c0a


Do not execute lock fail_complex_cond_put

As documented by @evert the lock test 20. fail_complex_cond_put. is wrongly implemented in litmus.
see  https://github.com/sabre-io/dav/pull/702#issuecomment-129531905
and http://lists.manyfish.co.uk/pipermail/litmus/2015-February/000350.html
We need a way to not execute this test

Solution A:

fork https://github.com/tolsen/litmus and patch it

Solution B:

apply patch within the docker image

@patrickjahns @tboerger what is the prefered way?

In the past I used the patch way for that, like https://github.com/owncloud-docker/litmus/commit/15a086641b8b7d7f5a722e9ee764a690e9be89aa#diff-3254677a7917c6c01f55212f86c57fbf.
But instead of adding the patch to the docker image I would create a gist and fetch that.

Let me see if I find the time to work on this by patching it from gist. THX

location/owner of the gist? personal seems errorious ...

@DeepDiver1975 than create one as @ownclouders?

oh lord - the site is down again
we need an alternative hosting source for this tar ball

Within the Dockerfile I'm already using https://github.com/owncloud/core/files/1426448/litmus-0.13.tar.gz but we could also provide this archive via minio?

but we could also provide this archive via minio?

Let's just keep this in github -- maybe not the most obvious place .... but it works and is available for everybody

fwiw, sabre/dav is also wrong in this regard...

fwiw, sabre/dav is also wrong in this regard...

so we better fix sabre/dav? :confused:

Yea I think that would be ideal =)

Yea I think that would be ideal =)

challenge accepted

awesome =)
Here's the real ticket for it:
https://github.com/sabre-io/dav/issues/715


Switch operator to use protobuf client for non-CR resources

This builds on https://github.com/openshift/library-go/pull/233 and switches the controller loops that deal with non-CR resources to client-go with protobuf enforced.
/cc @deads2k
/cc @smarterclayton
NOTE: Remove the artificial bump before merging.

Surprisingly fast green, do you have data before and after this change?

Only network and DNS are present in clusteroperators so this must be some networking flake.
/retest

Fixed client rename, LGTM per Slack from @deads2k

/retest

Re-applied LGTM as the only change was a panic fix in library-go.


Added Connection Pool Size and Idle Connection Timeout to ClientOptions

I added several options / fixed some bug that were blocking me and my team to use this driver in production.
This fixes #247 , #213 and an other issue were connection held in the ConnectionPool were never de-allocated unless the client was dropped.
I've never contributed to this project before so feel free to ask for improvement / code change, I will do as requested to fit within the code style of the repo

noice

notice

I would really want this to be merged...

Hello everyone! We've just released an alpha of an official MongoDB Rust driver; you can read about it here! Because of this, we won't be updating this driver anymore, and the repository will be made read-only as soon as I get finished posting these messages. Thanks for using this driver, and we hope you try out the new one!


Makes styling optional

Resolves issue #354
Adds a property called include-styling
Usage
<datepicker :include-style="false"></datepicker>

Coverage remained the same at 98.714% when pulling 87e451947151a42b358b342079d3400c934daee2 on cybrilla:master into 2f778080cc5cb7ba85a99b74ca989dbb4319ec46 on charliekassel:master.

Coverage remained the same at 98.714% when pulling 5a27ac272a0de56ae584042a7facc6c5050e3075 on cybrilla:master into 2f778080cc5cb7ba85a99b74ca989dbb4319ec46 on charliekassel:master.

Coverage remained the same at 98.714% when pulling 793f1cd95bbcaf00c681d554b8ee36fbcb1dd6e3 on cybrilla:master into 2f778080cc5cb7ba85a99b74ca989dbb4319ec46 on charliekassel:master.

Coverage remained the same at 98.714% when pulling 793f1cd95bbcaf00c681d554b8ee36fbcb1dd6e3 on cybrilla:master into 2f778080cc5cb7ba85a99b74ca989dbb4319ec46 on charliekassel:master.

@charliekassel let me know if you need any more changes in this.


Access to the container via MapperBuilder

Hey there,
I recently started to use this library.
I was thinking of actually writing a CLI command for CI pipeline which searches for the TreeMapper#map usage and parses the 1st argument (FQCN) from it.
I do want to pass this FQCN to the TypeParser#parse method so that the cacheDirectory entry is being created.
What I found out is, that there is no way to actually get an instance of the TypeParser and I do really would love to avoid instantiating it by myself.
Do you have an idea and/or suggestion on how to retrieve the TypeParser instance with the settings I do pass to the MapperBuilder?
Would love to get some help here so we can pre-generate the cache entries on the filesystem during build-time.
Thanks in advance 🤙🏼

Hi @boesing, I did not give access to the container instance on purpose to avoid giving access to everything (which would result in more maintenance burden).
However, this is a good suggestion, and a part of this feature could even be part of the public API provided by the library, maybe something like MapperBuilder::warmup(SomeClass::class, SomeOtherClass::class). I'd be happy to help/review if you were to add this to the core of the library. 🙂

Closed with #116.


about mask

I noticed that you used mask before calculating TopK in Figure 4, but in the training code attn_mask has always been None, so what is the role of mask?

the argument attn_mask is used to prevent attention to certain positions (see the official docs for more details). However, the sparse multi-head attention mechanism in our work is not implemented by setting attn_mask. Thus, it has always been None in the training and testing phases.
The key implementation of the sparse multi-head attention mechanism in our work is here: https://github.com/fzh0917/SparseTT/blob/791245c2317b6ccda38ea2aac44bce62879bfb06/videoanalyst/model/utils/multi_head_attention_topk.py#L208
If you have any questions about the code implementation, please feel free to ask me. :smile:

First, thank you for your reply！I have no doubts about the key implementation of the sparse multi-head attention mechanism. I just saw that figure 4 in your paper uses mask in calculating Sparse scaled dot-product self-attention, but not in training and testing. I have a little doubt about the role of mask.

Yes. In this work, attn_mask is always set to None, which means that similarity is calculated for all pixel pairs between Query and Key.

OK, thank you very much for your reply


Solution For the assignment

Worked on the problem and came up with this solution.
Hope it's up to your standards

Good Job


Microservices example

Hi @lucabriguglia
I just updated the project I made a couple of years ago when your project was named Weapsy.CQRS. Now I'm using the latest version of Kledex and .Net Core 3.1.
I let you the links in case you wanna include them in the documentation:

http://elvanydev.com/Microservices-part3/
https://github.com/vany0114/microservices-dotnetcore-docker-servicefabric

Thanks for keeping supporting it, it's looking really nice!

Thanks @vany0114, your project looks great!


Added first draft typing for Shepherd Tour library.

This time with a test for compiling!

shepherd/shepherd.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/shepherd
http://bower.io/search/?q=shepherd
others?

[X] has a test file? (shepherd/shepherd-tests.ts or others)
[ ] pass the Travic-CI test?

@mtgibbs thank you for your contributions.
please rename shepherd/shepherd.d.ts to tether-shepherd/tether-shepherd.d.ts
https://www.npmjs.com/package/tether-shepherd

@vvakame Thanks for your feedback.  I have renamed to avoid collisions with other shepherd named projects.


Provide Implementation to pass props to routed components without render()

After reading all of the discussion in #4942, the resolution to use render() to pass props to route components leaves devs who hope to use the now standard react/redux with some unfortunate tradeoffs. The reality of using redux with react means that you will end up with a few top-level connected components with many dumb children. A common pattern evolves wherein router definitions generally happen in connected components, which results in extensive use of render() to pass props to dumb components.
In my current project, the component prop only gets used a few times, on the top-level routers. The bulk of my routing declarations are using render, which ends up being a lot of annoying boilerplate and very verbose routing declarations. I propose this syntax, (IE the original syntax), for passing props to routed components:
<Route component={Component} foo={bar} />
Resulting in {foo: bar} as a prop on the rendered Component. I'm sure there were good reasons for the split between component and render, but because passing props to routed components ends up being the vast majority of use cases in large projects, devs end up using the counterintuitive and verbose render() method everywhere, when the older syntax would have served better.

The main devs have stated numerous times that they do not want to expand the API by adding this (or something like it). While I personally think that it would be beneficial, I also think that it is safe to say that this isn't going to be added. You still have a few approaches that you can take.

Wrap the <Route>

// this relies on you using the component prop
const RouteWithProps = ({ path, exact, strict, component:Component, location, ...rest }) => (
  <Route
    path={path}
    exact={exact}
    strict={strict}
    location={location}
    render={(props) => <Component {...props} {...rest} />}
)
// usage
<RouteWithProps component={Component} foo={bar} />

Clone the <Route>

This one is more involved, but just copy the source code from here and add the ability to merge in any extra props. Maybe even release it as a package if you're feeling open sourcy.

This has been discussed many, many, many times.
This is all you need:
<Route path="/abc" render={()=><TestWidget num="2" someProp={100}/>}/>

I'm not following your logic as to why that is an unworkable API. Perhaps an example makes that more clear. But other than looking different and involving a few more keystrokes, I don't see how it's not tenable.

@pshrmn Thanks, I'll use that.
@timdorr I don't think it's unworkable or untenable, it's just sort of annoying if you have a lot of routes that require render. The reason it comes up is because a lot of the people who use the package would prefer it work that way. I've got to admit I'm puzzled as to why the maintainers are so strongly opposed.

render feature appears in 4.x. while  react-router-redux only  works with 3.x or former. So we should use function component currently?

@CallMeXYZ react-router-redux@next supports 4.0

@pshrmn Got stuck with wrapped Route component's path.
When using WrappedRoute
const WrappedRoute = ({ component: Component, page, ...rest }) =>
    <Route path={page.url} {...rest} render={props => <Component {...props} />} />;

all routes translates into ones without path at all (example one).
With passing path parameter in WrappedRouter, routing works as expected (example two)
What's wrong with this path?

<Route path="/abc" render={()=><TestWidget num="2" someProp={100}/>}/>

It could be helpful to have this example in a good place in the documentation. It's difficult to find the correct way to do it with the latest release, the stackoverflows comments or github's request are often a bit old.

I have the same error, when I write something like this:
<Route path="/abc" render={()=>}/>
it works
but I'm actually passing an array and I do not know why only the url changes but is not rendering my component unless I run the exact url :( any help?


game crashes with oculus and rubidium

Describe the bug
mods worked earlier fine, drag the mods out of folder then back in and then it started to crash
Steps to reproduce
1.rubidium 0.6.5 and oculus 1.6.4 works fine
2.copied the mod folder into new prodile with exact same folders and mod versions
3.game crashes
...
Logs
crash-2023-09-13_17.57.09-client.txt
crash-2023-09-13_17.55.03-client.txt
No response
Additional context
No response

Please provide your debug.log

It works fine for me

It works fine for me

can you pls say the versions of the FAAPI and connector mod and of rubidium oculus

Please provide your debug.log

https://github.com/Sinytra/Connector/files/12599741/latest.log

Please provide your debug.log

this is the log from my duplicated profile i tried quite much to fix it but no chance

[18:31:09] [main/ERROR]: Missing or unsupported mandatory dependencies:
Mod ID: 'architectury', Requested by: 'mtr', Expected range: '[1.26.37,)', Actual version: '[MISSING]'

This says you're missing a dependency - architectury

Reinstall forge it might work

can you pls say the versions of the FAAPI and connector mod and of rubidium oculus

I used rubidium 0.6.5 and oculus 1.6.4 and Connecter Beta 13 and Forgefied Fabric API 1.9.11

since when did connector work with rubidium 0.6.5???

Closing as cannot reproduce; and no log has been provided


Crash on startup when using 1.4.0 on iPad with iOS 8.0.2

When updating Kingfisher from 1.3.1 to 1.4.0 (using CocoaPods 0.37.1) our app crashes directly after startup on an iPad 3 with iOS 8.0.2 with following error message:
dyld: Library not loaded: /System/Library/Frameworks/WatchKit.framework/WatchKit
  Referenced from: /private/var/mobile/Containers/Bundle/Application/[udid]/[app-name].app/Frameworks/Kingfisher.framework/Kingfisher
  Reason: image not found

It works on an iPad Air with iOS 8.3 though. It probably tries to load the WKInterfaceImage extension even though it is not referenced in code anywhere. Any idea how to solve this?

:( It seems caused by the WatchKit. I will have a look at it soon.

@tomquist  Should be fixed in #59 . Please to a pod install to take effect in your project. :)

I can confirm that this has been fixed by 1.4.1. Thank you very much!

Thanks for confirming it!


When autosave is disabled, one cannot create an issue using only the keyboard

Reported by @jooyoungseo

Using only the keyboard, create a github issue in VS Code with autosave disabled
🐛 ctrl+save does not work

JooYoung had asked if we could instead use ctrl+enter here to align with the issue reporter and the PR creation keybindings.

I have the following keybindings for Windows and Linux, and it works nicely and much better than the default (ctrl+s) shortcut key.
[
  {
    "key": "ctrl+enter",
    "when": "!isMac && !issues.creatingFromFile && resourceScheme == 'newIssue'",
    "command": "runCommands",
    "args": {
      "commands": ["workbench.action.files.save", "issue.createIssueFromFile"]
    }
  },
  {
    "key": "ctrl+s",
    "command": "-issue.createIssueFromFile",
    "when": "!isMac && !issues.creatingFromFile && resourceScheme == 'newIssue' && config.files.autoSave != 'off'"
  }
]

I'm adding the ctrl/cmd+enter keybinding.


reevaluate not working with replaceChild()

I am using the NPM version of Picturefill 3.0.2. What I need to do is replace an image that is poorly formatted with an image that is correctly formatted for responsive images. The content is generated dynamically as the user scrolls, hence the use of reevaluate.
I can't seem to get it working, though. When I call the picturefill function, it immediately drops me in the noop() call, and exits out of picturefill. I'm wondering if it has anything to do with using replaceChild(), or if I need to be using the mutation plugin. Any advice would be appreciated.
The code basically functions like this. I left out some of the code that is not important:
import picturefill from "picturefill";

export default function Images(element, type) {

    const images = {};

    /**
     * Converts the old image format in the DOM to the new
     * figure tag with responsive images.
     * @param  {object} imageData The new image’s dataset.
     * @return {DOM} The new image in it’s figure tag.
     */
    images.buildInArticleImages = imageData => {

    	if (!imageData || !imageData.url) {
    		return null;
    	}

    	const imageElem = imageData.elem;

    	// Create figure tag
        const figureTag = document.createElement('figure');
        figureTag.id = `photo-${imageData.id}`;

        // Create image wrapper
        const figureWrapper = document.createElement('div');

        // Create link
        const link = document.createElement('a');
        link.href = imageData.url;

        // Create image
        const image = document.createElement('img');
        image.srcset = imageData.srcset.sources.toString();
        image.sizes = imageData.sizes;
        image.src = imageData.srcset.default;
        image.alt = imageData.caption;

        // Create caption
        let figcaption;
        if (imageData.caption) {
            figcaption = document.createElement('figcaption');
            figcaption.innerHTML = imageData.caption;
        } else {
            figcaption = null;
        }

        // Create credit
        let cite;
        if (
            imageData.credit &&
            imageData.credit !== ''
        ) {
            cite = document.createElement('cite');
            cite.innerHTML = `\xa0(${imageData.credit})`;
        }

        // Append elements to DOM
        if (link) {
            link.appendChild(image);
            figureWrapper.appendChild(link);
        } else {
            figureWrapper.appendChild(image);
        }
        if (figcaption) {
            if (cite) {
                figcaption.appendChild(cite);
            }
            figureWrapper.appendChild(figcaption);
        } else if (cite) {
            figureWrapper.appendChild(cite);
        }
        figureTag.appendChild(figureWrapper);

        // Replace image with figureTag
        imageElem.parentNode.replaceChild(figureTag, imageElem);

        return figureTag;

    };

    images.initImages = (() => {

    	// Grab all of the image data for the specific article
    	const imageData = images.getImageData();
    	// Build and replace each image on the page with the newly formatted image
    	if (imageData) {
	    const createImages = imageData.map(currentImage => {
	        return images.buildInArticleImages(currentImage);
	    };
	    // Refresh images with Picturefill
	    picturefill({
	        reevaluate: true,
	        elements: createImages
	    });
        }

    })();

    return images;

}

Basically, we grab the data for all images in a function called getImageData(). We then loop through each image, creating the new responsive image, and replacing the old image with this image.

I assume that it has to do with the usage of IDL attributes. These script-y things are polyfilled by the mutation plugin. You can therefore either use the mutation plugin and also drop the picturefill call entirely or use content attributes instead.
Please close if this helped.

@aFarkas : I'm not sure I understand what you mean about content attributes. So does this mean changing all attributes being set from this:
figureTag.id = 'someValue';
To this:
figureTag.setAttribute('id', 'someValue'):
???

Is using the mutation plugin as simple as dropping it on the page?

Yes, just include it together with the picturefill script and it will work.

@aFarkas So I have async script injected both picturefill.min.js and pf.mutation.min.js onto my page. When I place a breakpoint on my picturefill call, it jumps straight to this line in picturefill:
var noop = function() {};
I made sure that I was passing an array-like object of elements into Picturefill as well. Anything else you might be able to suggest that I try?

In chrome picturefill is a noop. So everything looks fine there.


Playback via external DAC

Hi all,
I am unable to play sound through external dac (Denon DA-300USB)
PreviouslyI was using fornoth solution for spotify connect and I was passing -Dplughw:DA300USB parameter for configuration. This does not work here.
I also tried --device hw:1, which does not help.
Device output:

 0 [ALSA           ]: bcm2835 - bcm2835 ALSA
                      bcm2835 ALSA
 1 [DA300USB       ]: USB-Audio - DA-300USB
                      D & M Holdings Inc. DA-300USB at usb-3f980000.usb-1.2, high speed

card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: DA300USB [DA-300USB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Could you please help me? Thanks a lot!

use --backend pipe --device <some fifo> and install forked-daapd. forked-daapd will play form the pipe to all your airplay speakers.

This worked a treat for me! —device hw:2,0 and I was away!


dicomParser Does not work with electron.

DicomParser should be declared as a browser global object in the case where it's used as a node module. ElectronJS uses both node modules and bower components, therefore dicomParser should be declared as a global
/*! dicom-parser - v1.6.1 - 2016-05-24 | (c) 2014 Chris Hafey | https://github.com/chafey/dicomParser */
(function (root, factory) {

    // node.js
    if (typeof module !== 'undefined' && module.exports) {
        module.exports = factory();
        dicomParser = factory();
    }
....

Hi there - sorry for the delay on this.  I am not sure what change you are suggesting here, the code you included is calling factory() twice.  Perhaps you can submit a PR that includes a test for electron?

Any update on this?  Unfortunately I haven't had time to play with electron yet :(

FYI I use node and I don't have any problem using it however I just use node modules.  Bower components tend to be more of a pain at this point in my life.

Hi Chris. Just got back on this project. I'm using nodejs + electron, therefore if statement if (typeof module !== 'undefined' && module.exports) { evaluates to true. However module.exports = factory(); is not accessible in electron viewer since its isolated from the underlying nodejs process. For my case, there is no harm in calling factory() twice.

This seems to work fine for me. I just tested it in main.js and in renderer.js using the electron-quick-start application.
const dicomParser = require('dicom-parser');


Turn off Bandwidth Estimation for audio-only calls

Bandwidth Estimator (BE) uses RTP/RTCP stress loading by sending extra "padding" in order to model the network condition and select the best possible configurations for video conferences. It makes no sense for audio-only calls, where it just consumes traffic, which negatively affect clients on metered connections.

refactor pacing buffer draining;
disable RTCP-padding for audio calls not using SSRC-rewriting;
disable RTP-padding for video calls when video source becomes idle.

Closing in favor of the PR created on the "origin": https://github.com/finos/SymphonyMediaBridge/pull/102


Python docs PyPI optional dependencies example broken

Checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example
On MacOS follow the tutorial at https://pixi.sh/dev/tutorials/python except use quotes since zsh requires this.
pixi add 'black[cli]' --pypi

Issue description
$ pixi add 'black[cli]' --pypi
 WARN The feature 'test' is defined but not used in any environment
✔ Added black[cli]
Added these as pypi-dependencies.

Expected behavior
As stated in the docs and printed on the console, the black[cli] should be listed as dependency including the [cli] part.
However it remains without that part:
dependencies = ["black"]

This is not what I see when I follow the tutorial page:

Also this is not what I see: https://pixi.sh/dev/tutorials/python/#installation-pixi-install
For me the default env was created much earlier and test is not an env but an unused feature.
At that point in the tutorial I get this:
(base) pix $ pixi install -e test
 WARN The feature 'test' is defined but not used in any environment
  × unknown environment 'test'

Did I make a mistake? Or did the way pixi work change and the docs need an update?

@ruben-arts - I see you are working on this in #1856 .
Trying do adopt pixi for one of our projects I ran into this error.
Just mentioning it here in this one since probably that's just another manifestation of brackets not working properly yet?
(base) hpred $ pixi init --import environment-py12.yml
  × invalid bracket

(base) hpred $ pixi --version
pixi 0.27.1

(base) hpred $ cat environment-py12.yml
name: hpred12
channels:
  - nodefaults
  - conda-forge
dependencies:
  - python=3.12
  - pandas[performance]
  - scikit-learn
  - numpy

  - sqlalchemy
  - psycopg
  - pymssql

  # data files
  - pyarrow   # Parquet
  - openpyxl  # Excel

  # ML
  - ruptures
  - category_encoders
  - ppscore
  - dill
  - imbalanced-learn
  - scikit-lego

  # local dev
  - pre-commit # Also for CI
  - jupyterlab
  - alembic

  # viz
  - matplotlib
  - seaborn
  - bokeh
  - hiplot
  - shap
  - ipywidgets

  # Panel apps
  - panel
  - param
  - pyinstrument
  - tabulate
  - python-duckdb
  - duckdb-cli
  - click
  - nbconvert
  - missingno

  # testing
  - pytest
  - pytest-mock
  - pytest-cov
  - pytest-postgresql

  - pip
  - pip:
    # data
    - sqlalchemy-json

    # Azure
    - azure-core
    - azure-identity
    - azure-keyvault-secrets
    - azure-storage-blob
    - azure-kusto-data[pandas]  # ADX
    - opencensus-ext-azure  # Azure Application Insights

    # app
    - schedule
    - pytest-playwright

    # local DS
    - dvc[azure]

    # Panel
    - pyjwt
    - typing-extensions


fix: allowing hostnames in gateway/rpc addr field

Overview
Closes #1374
IP/Hostname sanitization logic has been moved to utils. We now accept hostnames as valid addresses for the rpc and gateway, and the core ip parsing logic works the same way as the others now.
Draft PR until I write some unit tests

Checklist

[X] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[X] Visual proof for any user facing features like CLI or documentation updates
[X] Linked issues closed with keywords

Codecov Report

Merging #1378 (929c199) into main (039facd) will increase coverage by 0.02%.
The diff coverage is 53.84%.

@@            Coverage Diff             @@
##             main    #1378      +/-   ##
==========================================
+ Coverage   55.21%   55.23%   +0.02%
==========================================
  Files         178      179       +1
  Lines       10744    10761      +17
==========================================
+ Hits         5932     5944      +12
- Misses       4232     4236       +4
- Partials      580      581       +1

Impacted Files
Coverage Δ

nodebuilder/share/service.go
100.00% <ø> (ø)

nodebuilder/header/service.go
57.14% <25.00%> (ø)

libs/utils/address.go
50.00% <50.00%> (ø)

nodebuilder/gateway/config.go
68.42% <66.66%> (+5.92%)
:arrow_up:

nodebuilder/rpc/config.go
66.66% <66.66%> (+6.66%)
:arrow_up:

nodebuilder/core/config.go
57.14% <100.00%> (-5.36%)
:arrow_down:

share/ipld/get.go
92.62% <0.00%> (+1.38%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Wondertan ya i can remove them. I already opened an issue that will fix the problem of make fmt fixing something the linter doesn't catch


Update to ingest new DOTA_ABILITY_LEVEL

Update bountyhunter & alchemist gold values
Re-enable performanceOthers
This pull request also requires the parser update

Is there anything else I should change?


[SPARK-35652][SQL] joinWith on two table generated from same one

It seems like spark inner join is performing a cartesian join in self joining using joinWith
To produce this issues:
val df = spark.range(0,3)
df.joinWith(df, df("id") === df("id")).show()

Before this pull request, the result is
+---+---+
| _1 |  _2 |
+---+---+
|    0 |   0 |
|    0 |   1 |
|    0 |   2 |
|    1 |   0 |
|    1 |   1 |
|    1 |   2 |
|    2 |   0 |
|    2 |   1 |
|    2 |   2 |
+---+---+
The expected result is
+---+---+
| _1 |  _2 |
+---+---+
|    0 |   0 |
|    1 |   1 |
|    2 |   2 |
+---+---+
correctness
no
add test
Closes #32863 from dgd-contributor/SPARK-35652_join_and_joinWith_in_seft_joining.
Authored-by: dgd-contributor<EMAIL_ADDRESS>Signed-off-by: Wenchen Fan<EMAIL_ADDRESS>
What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Can one of the admins verify this patch?

@cloud-fan this is backport pr for https://github.com/apache/spark/pull/32863. Can you review it

ok to test

Test build #139772 has started for PR 32899 at commit b6f4b82.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44298/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44298/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44298/

Test build #139772 has finished for PR 32899 at commit b6f4b82.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139772/

Test build #139787 has started for PR 32899 at commit b5c7706.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44313/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44313/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44313/

Test build #139787 has finished for PR 32899 at commit b5c7706.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139787/

retest this please

Test build #139812 has started for PR 32899 at commit b5c7706.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44340/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44340/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44340/

Test build #139812 has finished for PR 32899 at commit b5c7706.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139812/

retest this please

Test build #139841 has started for PR 32899 at commit b5c7706.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44369/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44369/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44369/

Test build #139841 has finished for PR 32899 at commit b5c7706.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139841/

retest this please

Test build #139875 has started for PR 32899 at commit b5c7706.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44405/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44405/

Is everything okay? I'm wondering why the test keep failure, if anything I can help? I'm newbie with the contributing

Test build #139875 has finished for PR 32899 at commit b5c7706.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139875/

Is Spark R broken in 3.0? cc @HyukjinKwon
Had CRAN check errors; see logs.
[error] running<EMAIL_ADDRESS>; received return code 255

I think it's unrelated to this PR and I'm merging it now.


random output when using wal

When using wal -i and chnging it would usually output some 3 random numbers followed by the first hex value of the first pallete it generated

[I] theme: Set theme to colors.json.
]708;#0B0909] sequences: Set terminal colors.
[I] export: Exported all files.
[I] export: Exported all user files.
[I] reload: Reloaded environment.

And the ]708;#0B0909 for some reason just outputs even if i run wal -i "some/image/path" >/dev/null

Use --vte with pywal. If the option doesn't exist, update pywal.

Thanks, worked like a charm


Add maintenance mode warning to README.md

Adds a maintenance mode warning to the README.md with a link to the full announcement.
Relates to NCAR/pyngl#57.

Just noting that CI is failing because of an error unrelated to this change.  Specifically, the environment solve failed because gcc couldn't be found in the specified channels.
This is a text only change to the README.md.


Echoserver and JavaScript

Hi. In my case my iOS application needs to be a server, then other iOS apps can connect to it as a client. Now everything works perfectly. Other apps can connect very easily. Now we want to connect to my server from the Web(javascript) and every time we got an error. Can someone show us an example or say how we can do it?

Can you post a bit more info?  Specifically what erro you're receiving on client side and maybe a log of what's happening on the server when the error occurred. Thanks.

Front trying to connect with socket.io. In the first time, when client connects, he send this data:
Server received from connection at ::1:51265: GET /socket.io/?EIO=4&transport=polling&t=O1X3EZt HTTP/1.1
Host: localhost:1338
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Origin: http://<IP_ADDRESS>:5500
DNT: 1
Connection: keep-alive
Referer: http://<IP_ADDRESS>:5500/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site

But the next I have this situation and receiving data did not stop. I want to know if maybe I need to send a response?

In javascript written this code:
<script src="https://cdn.socket.io/3.1.3/socket.io.min.js" integrity="sha384-cPwlPLvBTa3sKAgddT6krw0cJat7egBga3DJepJyrLl4Q9/5WLra3rrnMcyTyOnh" crossorigin="anonymous"></script>

<script>
    const socket = io("localhost:1337", {
        reconnectionDelay: 5000,
        reconnection:false,
        transports: ["websocket"],
        reconnectionAttempts: 10,
        agent: false,
        upgrade: false,
        rejectUnauthorized: false
    });
    socket.on("connect", (data) => {
        console.log("sdfsdfsdfs");
    });
    socket.on("connect_error", (err) => {
        console.log(err);
    });
</script>

I found the solution in WebSocket documentation. Thanks.


Update unit tests

update InstanceInfoReplicatorTest and RateLimiterTest

remove staled mock code in InstanceInfoReplicatorTest.setup()
change the loop condition in RateLimiterTest.testEvenLoad(). Otherwise, the loop body will not be executed.

Thanks!


Creating string from selection

What is the feature you'd like to have?
It's pretty useful to create strings with concrete length and without null-terminator (for example in rust binaries or firmwares).
Are any alternative solutions acceptable?
atm afaik it can be done by manually setting the type of global variable, but it would be pretty handy to make automatically just with selection.
Additional Information:
Guess solution is behavior like in IDA: if selection is empty and A (or Make string  action is called) is pressed then just create string with assumption about null-terminator, otherwise create string with length equal to length of current selection.

This is blocked by (and probably a duplicate of) #1334

It's possible this could be resolved by #3428 in some cases.


Refactoring

Refer to #87 for the discussion about the design changes. There is the new convenient Inference class (see updated notebooks for usage).

closes #87, closes #75, closes #76, closes #77

#79 is halfway through: ideally we would want to write explicitely all the detailed benchmarks for all datasets, and determine what's under --annotation and --harmonization. I started in scvi/benchmark.py file, and we might further define all the benchmarks related functions here (?)

Codecov Report

Merging #91 into master will decrease coverage by 5.02%.
The diff coverage is 73.58%.

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   92.01%   86.99%   -5.03%
==========================================
  Files          33       37       +4
  Lines        1441     1407      -34
==========================================
- Hits         1326     1224     -102
- Misses        115      183      +68

Impacted Files
Coverage Δ

scvi/metrics/adapt_encoder.py
0% <0%> (-96.56%)
:arrow_down:

scvi/benchmark.py
0% <0%> (-96.81%)
:arrow_down:

scvi/metrics/log_likelihood.py
92% <100%> (+4%)
:arrow_up:

scvi/inference/__init__.py
100% <100%> (ø)

scvi/models/classifier.py
100% <100%> (+3.84%)
:arrow_up:

scvi/metrics/clustering.py
95.65% <100%> (+0.09%)
:arrow_up:

scvi/models/modules.py
100% <100%> (+2.94%)
:arrow_up:

scvi/models/vaec.py
97.5% <100%> (+16.25%)
:arrow_up:

scvi/metrics/differential_expression.py
95.23% <100%> (ø)
:arrow_up:

scvi/inference/classifier_inference.py
100% <100%> (ø)

... and 21 more

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 fef9910...1aa6e41. Read the comment docs.

Ah, need to increase coverage before merging !

Coverage is improved. @jeff-regier : should I squash and merge already ? The other option is to wait a few days, while I am continuing development from this branch (running PBMCs benchmarks + invertible function + other things we mentionned), which might help anticipate a few bugs, perhaps.
(Also #79 is not completely done yet, but I want might focus on this later on (full reproducibility of the results))

This all looks really good -- I'm very glad not to have duplicated code any more.
The "plugin" classes are a bit confusing, e.g. SemiSupervisedVariationalInferencePlugin. Is there no way to support all the experiments we have too support without them? (without duplicating code, that is.) For example, could we have just one hierarchy of Inference classes and no plugins?

So VariationalInference inherits from (or "mixes in") VariationalInferencePlugin, and
SemiSupervisedVariationalInference inherits from SemiSupervisedVariationalInferencePlugin which in turn inherits from VariationalInferencePlugin.
Could we just put all the methods from VariationalInferencePlugin into VariationalInference and get rid of both VariationalInferencePlugin and SemiSupervisedVariationalInferencePlugin?

@Edouard360  Please squash merge whenever you're ready. It's a big improvement over what we had -- very nice work. Some of the class hierarchy feels a bit complicated to me, so that may be something to think about, though I'm not sure precisely how to do it differently. It may just be a limitation of OOP.

I understand and agree with your remarks about the SemiSupervisedVariationalInferencePlugin and VariationalInferencePlugin. I wanted to separate the training logic (fit, loss, on_epoch_end) from the functional logic (.ll, .differential_expression, .batch_entropy_mixing) of the Inference class, but it might actually be more readable to include them directly in the class themselves.
This would actually simplify it I think. Only the "accuracy" plugin was duplicated code, but again since there is branching on this method I might define them separately in each of the Inference class.


How to override automatic migration

The migration for the categories/categorizables tables is run automatically from the service provider boot method, with no way to disable this.
I need to add some extra fields to the categories tables.
The only real way I can do this at the moment is to create a new migration with a different table name, and change the config settings.

Maybe we can fix this using a config setting.
e.g
    $runMigration = config('rinvex.categories.automatic-migration', true);
    if ($this->app->runningInConsole() && $runMigration) {
        $this->loadMigrationsFrom(__DIR__.'/../../database/migrations');
    }

in the boot method.

BTW
Another workaround I'm using is to update the schema in a seeder e.g.
    Schema::table('categories', function (Blueprint $table) {
        $table->boolean('visible')->default(1);
    });

However still feel some way of disabling the automatic migration would be useful.
Can do a PR if you want.

What is the progress on this? Why is there even any strife about adding the option to deactivate automatic migrations? In my opinion this is a must have. Otherwise conflicts are inevitable.
 How can I do that?

All packages have been updated to include this feature, check latest releases 😉 enjoy!


Impossible to compile on ubuntu 16.04

I give up, there seems to be one of this things that cannot be done.
protoc --version
libprotoc 3.3.0
I compiled protoc from source, but still nothing.
/osm-history-renderer/importer$ make
clang++ -g -O3 -Wall -Wextra -pedantic getconf LFS_CFLAGS -I/usr/include/postgresql/ -I/usr/include/libxml2/ -DOSMIUM_WITH_GEOS -o osm-history-importer importer.cpp -lexpat -lpq -lproj -lz -lprotobuf-lite -losmpbf -lpthread -lgeos
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:5:
/usr/local/include/osmpbf/fileformat.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^
/usr/local/include/osmpbf/fileformat.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers.  Please
^
/usr/local/include/osmpbf/fileformat.pb.h:19:2: error: regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:8:
/usr/local/include/osmpbf/osmformat.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^
/usr/local/include/osmpbf/osmformat.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers.  Please
^
/usr/local/include/osmpbf/osmformat.pb.h:19:2: error: regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^
/usr/local/include/osmpbf/osmformat.pb.h:1818:34: error: allocating an object of abstract class type '::OSMPBF::HeaderBBox'
if (bbox_ == NULL) bbox_ = new ::OSMPBF::HeaderBBox;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'HeaderBBox'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:8:
/usr/local/include/osmpbf/osmformat.pb.h:2351:48: error: allocating an object of abstract class type '::OSMPBF::StringTable'
if (stringtable_ == NULL) stringtable_ = new ::OSMPBF::StringTable;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'StringTable'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:8:
/usr/local/include/osmpbf/osmformat.pb.h:2556:36: error: allocating an object of abstract class type '::OSMPBF::DenseNodes'
if (dense_ == NULL) dense_ = new ::OSMPBF::DenseNodes;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'DenseNodes'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:8:
/usr/local/include/osmpbf/osmformat.pb.h:3197:34: error: allocating an object of abstract class type '::OSMPBF::Info'
if (info_ == NULL) info_ = new ::OSMPBF::Info;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'Info'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:8:
/usr/local/include/osmpbf/osmformat.pb.h:3324:44: error: allocating an object of abstract class type '::OSMPBF::DenseInfo'
if (denseinfo_ == NULL) denseinfo_ = new ::OSMPBF::DenseInfo;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'DenseInfo'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:8:
/usr/local/include/osmpbf/osmformat.pb.h:3547:34: error: allocating an object of abstract class type '::OSMPBF::Info'
if (info_ == NULL) info_ = new ::OSMPBF::Info;
^
/usr/local/include/osmpbf/osmformat.pb.h:3710:34: error: allocating an object of abstract class type '::OSMPBF::Info'
if (info_ == NULL) info_ = new ::OSMPBF::Info;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
/usr/include/osmium/input/pbf.hpp:57:36: error: field type 'OSMPBF::Blob' is an abstract class
OSMPBF::Blob           m_pbf_blob;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'Blob'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
/usr/include/osmium/input/pbf.hpp:58:36: error: field type 'OSMPBF::BlobHeader' is an abstract class
OSMPBF::BlobHeader     m_pbf_blob_header;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'BlobHeader'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
/usr/include/osmium/input/pbf.hpp:59:36: error: field type 'OSMPBF::PrimitiveBlock' is an abstract class
OSMPBF::PrimitiveBlock m_pbf_primitive_block;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'PrimitiveBlock'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
/usr/include/osmium/input/pbf.hpp:103:49: error: variable type 'OSMPBF::HeaderBlock' is an abstract class
OSMPBF::HeaderBlock pbf_header_block;
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'HeaderBlock'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:5:
In file included from /usr/local/include/osmpbf/fileformat.pb.h:24:
In file included from /usr/local/include/google/protobuf/repeated_field.h:61:
/usr/local/include/google/protobuf/arena.h:320:18: error: allocating an object of abstract class type 'OSMPBF::PrimitiveGroup'
return new T();
^
/usr/local/include/google/protobuf/arena.h:644:12: note: in instantiation of function template specialization 'google::protobuf::Arena::CreateOSMPBF::PrimitiveGroup'
requested here
return Create(arena);
^
/usr/local/include/google/protobuf/repeated_field.h:612:39: note: in instantiation of function template specialization
'google::protobuf::Arena::CreateMaybeMessageOSMPBF::PrimitiveGroup' requested here
return ::google::protobuf::Arena::CreateMaybeMessage(
^
/usr/local/include/google/protobuf/repeated_field.h:643:10: note: in instantiation of member function
'google::protobuf::internal::GenericTypeHandlerOSMPBF::PrimitiveGroup::New' requested here
return New(arena);
^
/usr/local/include/google/protobuf/repeated_field.h:1513:20: note: in instantiation of member function
'google::protobuf::internal::GenericTypeHandlerOSMPBF::PrimitiveGroup::NewFromPrototype' requested here
TypeHandler::NewFromPrototype(prototype, arena_);
^
/usr/local/include/google/protobuf/repeated_field.h:1930:32: note: in instantiation of function template specialization
'google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrFieldOSMPBF::PrimitiveGroup::TypeHandler>' requested here
return RepeatedPtrFieldBase::Add();
^
/usr/local/include/osmpbf/osmformat.pb.h:2389:26: note: in instantiation of member function 'google::protobuf::RepeatedPtrFieldOSMPBF::PrimitiveGroup::Add' requested
here
return primitivegroup_.Add();
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'PrimitiveGroup'
virtual size_t ByteSizeLong() const = 0;
^
In file included from importer.cpp:17:
In file included from /usr/include/osmium.hpp:26:
In file included from /usr/include/osmium/input/pbf.hpp:33:
In file included from /usr/local/include/osmpbf/osmpbf.h:5:
In file included from /usr/local/include/osmpbf/fileformat.pb.h:24:
In file included from /usr/local/include/google/protobuf/repeated_field.h:61:
/usr/local/include/google/protobuf/arena.h:320:18: error: allocating an object of abstract class type 'OSMPBF::Node'
return new T();
^
/usr/local/include/google/protobuf/arena.h:644:12: note: in instantiation of function template specialization 'google::protobuf::Arena::CreateOSMPBF::Node' requested
here
return Create(arena);
^
/usr/local/include/google/protobuf/repeated_field.h:612:39: note: in instantiation of function template specialization
'google::protobuf::Arena::CreateMaybeMessageOSMPBF::Node' requested here
return ::google::protobuf::Arena::CreateMaybeMessage(
^
/usr/local/include/google/protobuf/repeated_field.h:643:10: note: in instantiation of member function 'google::protobuf::internal::GenericTypeHandlerOSMPBF::Node::New'
requested here
return New(arena);
^
/usr/local/include/google/protobuf/repeated_field.h:1513:20: note: in instantiation of member function
'google::protobuf::internal::GenericTypeHandlerOSMPBF::Node::NewFromPrototype' requested here
TypeHandler::NewFromPrototype(prototype, arena_);
^
/usr/local/include/google/protobuf/repeated_field.h:1930:32: note: in instantiation of function template specialization
'google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrFieldOSMPBF::Node::TypeHandler>' requested here
return RepeatedPtrFieldBase::Add();
^
/usr/local/include/osmpbf/osmformat.pb.h:2519:17: note: in instantiation of member function 'google::protobuf::RepeatedPtrFieldOSMPBF::Node::Add' requested here
return nodes_.Add();
^
/usr/local/include/google/protobuf/message_lite.h:249:18: note: unimplemented pure virtual method 'ByteSizeLong' in 'Node'
virtual size_t ByteSizeLong() const = 0;

You seem to have missed the README file:
The osm-history-renderer is currently unmaintained and searches for a new Maintainer.


Constants in calcite-web-dark are not marked as !default

This is preventing override of the constants.

OK, just cut a new release, thanks for the contribution @ffaubry !


Fix following logs in k8s versions before 1.14.0

Purpose

Fix following logs in k8s versions before 1.14.0

FIxing #1034


why i can't open bulk browsers at same time

am trying to open like 5 already chrome  browsers ''already created one" but the problem is that it  only monito one chrome browser it doesnt monitor them all is there any solution ?

You can fix your issue with this setting.
https://github.com/sarperavci/CloudflareBypassForScraping/issues/5#issuecomment-2342488730

What's the error exactly you get? Can you share a console output or a
screenshot?
On Fri, Oct 4, 2024, 18:09 Jockerdz Salah @.***> wrote:

could you find the problem in my code here import time
import logging
import threading
import random
import socket
from CloudflareBypasser import CloudflareBypasser
from DrissionPage import ChromiumPage, ChromiumOptions
def setup_logging(browser_index):
log_file = f'cloudflare_bypass_browser_{browser_index}.log'
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s - %(levelname)s - %(message)s',
handlers=[
logging.StreamHandler(),
logging.FileHandler(log_file, mode='w')
]
)
return logging.getLogger(f'BrowserLogger_{browser_index}')
def find_free_port():
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind(('', 0))
return s.getsockname()[1]
def get_chromium_options(browser_path: str, user_data_dir: str) ->
ChromiumOptions:
options = ChromiumOptions()
options.set_paths(browser_path=browser_path)
options.set_argument(f'--user-data-dir={user_data_dir}')
port = find_free_port()
options.set_argument(f'--remote-debugging-port={port}')
options.set_argument('--no-sandbox')
options.set_argument('--disable-dev-shm-usage')
return options
def check_for_cloudflare(driver, logger, profile_name):
while True:
try:
time.sleep(10)
    if "Just a moment..." in driver.html:
        logger.info(f"Cloudflare challenge detected on {profile_name}. Attempting to solve...")
        cf_bypasser = CloudflareBypasser(driver)
        cf_bypasser.bypass()
        logger.info(f"Successfully bypassed Cloudflare on {profile_name}.")
    else:
        logger.info(f"No Cloudflare challenge detected on {profile_name}.")

except Exception as e:
    logger.error(f"Error while checking Cloudflare in {profile_name}: {str(e)}")
    time.sleep(5)

def bypass_cloudflare(url: str, browser_path: str, user_data_dir: str,
browser_index: int):
logger = setup_logging(browser_index)
options = get_chromium_options(browser_path, user_data_dir)
driver = ChromiumPage(addr_or_opts=options)
try:
logger.info(f'Navigating to {url}.')
driver.get(url)
check_for_cloudflare(driver, logger, f'Profile {browser_index}')

except Exception as e:
logger.error("An error occurred: %s", str(e))
finally:
logger.info('Monitoring completed for Profile %d. Browser remains open.', browser_index)
def main():
chrome_paths = [
r'C:\CF\GoogleChrome\New folder\CHROME 1\chrome.exe',
r'C:\CF\GoogleChrome\New folder\CHROME 2\chrome.exe',
r'C:\CF\GoogleChrome\New folder\CHROME 3\chrome.exe',
r'C:\CF\GoogleChrome\New folder\CHROME 4\chrome.exe',
]
user_data_dirs = [
r'C:\CF\GoogleChrome\New folder\CHROME 1\Data\profile',
r'C:\CF\GoogleChrome\New folder\CHROME 2\Data\profile',
r'C:\CF\GoogleChrome\New folder\CHROME 3\Data\profile',
r'C:\CF\GoogleChrome\New folder\CHROME 4\Data\profile',
]
url = 'https://nopecha.com/demo/cloudflare'
threads = []
for i in range(len(chrome_paths)):
chrome_path = chrome_paths[i]
user_data_dir = user_data_dirs[i]
thread = threading.Thread(target=bypass_cloudflare, args=(url, chrome_path, user_data_dir, i + 1))
threads.append(thread)
thread.start()
for thread in threads:
thread.join()
if name == 'main':
main()
thanks in advance
—
Reply to this email directly, view it on GitHub
https://github.com/sarperavci/CloudflareBypassForScraping/issues/40#issuecomment-2393927196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL7KOEF3XIL4S3TNORMZG23ZZ2VTNAVCNFSM6AAAAABO3RZPWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTHEZDOMJZGY
.
You are receiving this because you commented.Message ID:
@.***>

the  chrome profiles are already created  and already existe what am trying to do is to run like 4 real profiles and monitor them all for cloudflare , but the bot always monitor 1 profile only ,
2024-10-04 16:04:35,939 - INFO - Navigating to https://nopecha.com/demo/cloudflare.
2024-10-04 16:04:36,024 - INFO - Navigating to https://nopecha.com/demo/cloudflare.
2024-10-04 16:04:36,024 - INFO - Navigating to https://nopecha.com/demo/cloudflare.
2024-10-04 16:04:36,027 - INFO - Navigating to https://nopecha.com/demo/cloudflare.
2024-4 16:04:36,024 - INFO - Navigating to https://nopecha.com/demo/cloudflare.
2024-10-04 16:04:36,027 - INFO - Navigating to https://nopecha.com/demo/cloudflare.
2024-10-04 16:04:49,685 - INFO - Cloudflare challenge detected on Profile 1. Attempting to solve...
2024-10-04 16:04:49,737 - INFO - Cloudflare challenge detected on Profile 2. Attempting to solve...
2024-10-04 16:04:49,785 - INFO - Cloudflare challenge detected on Profile 3. Attempting to solve...
2024-10-04 16:04:50,739 - INFO - Cloudflare challenge detected on Profile 4. Attempting to solve...
2024-10-04 16:04:54,374 - INFO - Successfully bypassed Cloudflare on Profile 3.
2024-10-04 16:04:54,375 - INFO - Successfully bypassed Cloudflare on Profile 4.
2024-10-04 16:04:54,381 - INFO - Successfully bypassed Cloudflare on Profile 1.
2024-10-04 16:04:54,382 - INFO - Successfully bypassed Cloudflare on Profile 2.
and here is the code `import time
import logging
import threading
import random
import socket
from CloudflareBypasser import CloudflareBypasser
from DrissionPage import ChromiumPage, ChromiumOptions
def setup_logging(browser_index):
log_file = f'cloudflare_bypass_browser_{browser_index}.log'
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s - %(levelname)s - %(message)s',
handlers=[
logging.StreamHandler(),
logging.FileHandler(log_file, mode='w')
]
)
return logging.getLogger(f'BrowserLogger_{browser_index}')
def find_free_port():
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind(('', 0))
return s.getsockname()[1]
def get_chromium_options(browser_path: str, user_data_dir: str) -> ChromiumOptions:
options = ChromiumOptions()
options.set_paths(browser_path=browser_path)
options.set_argument(f'--user-data-dir={user_data_dir}')
port = find_free_port()
options.set_argument(f'--remote-debugging-port={port}')
options.set_argument('--no-sandbox')
options.set_argument('--disable-dev-shm-usage')
return options
def check_for_cloudflare(driver, logger, profile_name):
while True:
try:
time.sleep(10)
        if "Just a moment..." in driver.html:
            logger.info(f"Cloudflare challenge detected on {profile_name}. Attempting to solve...")
            cf_bypasser = CloudflareBypasser(driver)
            cf_bypasser.bypass()
            logger.info(f"Successfully bypassed Cloudflare on {profile_name}.")
        else:
            logger.info(f"No Cloudflare challenge detected on {profile_name}.")

    except Exception as e:
        logger.error(f"Error while checking Cloudflare in {profile_name}: {str(e)}")
        time.sleep(5)

def bypass_cloudflare(url: str, browser_path: str, user_data_dir: str, browser_index: int):
logger = setup_logging(browser_index)
options = get_chromium_options(browser_path, user_data_dir)
driver = ChromiumPage(addr_or_opts=options)
try:
    logger.info(f'Navigating to {url}.')
    driver.get(url)

    check_for_cloudflare(driver, logger, f'Profile {browser_index}')

except Exception as e:
    logger.error("An error occurred: %s", str(e))
finally:
    logger.info('Monitoring completed for Profile %d. Browser remains open.', browser_index)

def main():
chrome_paths = [
r'C:\CF\GoogleChrome\New folder\CHROME 1\chrome.exe',
r'C:\CF\GoogleChrome\New folder\CHROME 2\chrome.exe',
r'C:\CF\GoogleChrome\New folder\CHROME 3\chrome.exe',
r'C:\CF\GoogleChrome\New folder\CHROME 4\chrome.exe',
]
user_data_dirs = [
    r'C:\CF\GoogleChrome\New folder\CHROME 1\Data\profile',
    r'C:\CF\GoogleChrome\New folder\CHROME 2\Data\profile',
    r'C:\CF\GoogleChrome\New folder\CHROME 3\Data\profile',
    r'C:\CF\GoogleChrome\New folder\CHROME 4\Data\profile',
]

url = 'https://nopecha.com/demo/cloudflare'

threads = []
for i in range(len(chrome_paths)):
    chrome_path = chrome_paths[i]
    user_data_dir = user_data_dirs[i]
    thread = threading.Thread(target=bypass_cloudflare, args=(url, chrome_path, user_data_dir, i + 1))
    threads.append(thread)
    thread.start()

for thread in threads:
    thread.join()

if name == 'main':
main()
`


Update for oauth2-client v1.0

Version 1.0 of the oauth2-client has been released and has a relatively different API. Probably worth creating a new version of this package for those that want to use 1.0.

Thanks, have updated and pushed a new version.


Proposal for Godot to accept Bitcoin contributions

Hi!
I like Godot and would like to contribute some bitcoin for helping develop more features. The Bitcoin community is quite big and I am sure there would be others who'd contribute too.
Accepting Bitcoin has pros and cons.
Pros:

Accept donations from around the world
Very fast and mobile (get money to developers, whichever country they're in)

Cons:

Keeping bitcoins secure is not common knowledge
Learning about the various wallets and signing up to exchanges is a significant barrier

Other considerations:

Bitcoin can be volatile at times, though recently it has been less of an issue. If Godot were to accept Bitcoin contributions, would they be immediately converted to fiat (harder to set up) or converted semi-regularly?

I've been actively using bitcoins for over 5 years and am happy to help / advise if the developers, Juan Linietsky and Ariel Manzur would like to proceed.
I also have a secure hardware wallet capable of holding separate account Bitcoin funds if a custodian method is preferred.

A good idea!
You can go even further and create a Godot coin. Or create an assets in NXT :)

Adding incentives via a Godot coin is an ambitious project and would only work if the majority of developers were on-board.
I'd like to gauge developers' interest in accepting crypto-currencies as well as a Godot coin to help with incentives, but not sure if this is the right place to do it.

People are trading on the stock exchange to buy and sell everything if they think they can make money on it. If the beautifully present the new coins there is a chance that it will start to trade. And the money to hire people for the support and development of the engine. At least this experiment is not so difficult. It is necessary to draw beautiful section on the site, spread the links and sell coins (I simplify things a bit but the essence does not change).

Since we have Patreon and I don't think Free Software Conservancy allows donations in Bitcoin, this is not likely to happen. I'll close this.

Actually Conservancy supports Bitcoin donations since a few months (they needed to to receive money from the Pinapple Fund), so we could likely accept those... But I prefer not to until there is a strong community support for having this as an option. We already accept donations in USD and EUR, and I don't see much point adding a third currency as volatile (and hard to use in real life) as BTC.

its true it might not be right or even late but i am for the acceptance of bitcoin in th godot game engine. it will help alot of devs in hard regions to reach. what about making a godot plugin for that. it might be the best choice for now

Godot doesn't concern itself with monetization of Godot games - if you want to accept bitcoins for your game's monetization, it's up to you/the community to develop a module/plugin for bitcoin payment processing.


add files from m65211. NNSEI. Nokia

Initially cross-checked by Canon, but new files are provided in m66428 and a new PR will be created and will need review.


Support additional fields besides username and password

Occasionally, websites require users to input an account ID or something like that along with their username and password. I'm not sure how we should handle it, but we should figure out a way to make it work.

I'd very much like this to be addressed. The quickest way to handle it (until something better is developed) is to allow the user to enter the information they need (domain, remember me, whatever) then have waltz fill in the username / password like it does now. To accomplish this the toolbar needs a way to bring up the authentication overlay after the initial page load.
The workflow goes like this:

Navigate to the page
Dismiss the overlay
Enter the "extra" information
Re-engage the overlay
Login accomplished.


Download page

Page for compiled download http://blog.gamosoft.com/outlook-2013-calendar-add-in/ doesn't work.

The site is up again, sorry for the inconvenience. :-)


Display implements relationships between types and interfaces

List the interfaces implemented by a type. List the types that implement an interface.
Display the lists in a popup or on a separate page.
Consider linking to sourcegraph.com in the interim.

Hi!
Has this feature been implemented some how yet? If not +1 for it. As a newbie learning golang it's been kinda hard to know which interfaces a certain type implements and which types implements a certain interface.
I got frustrated when I was learning the method bufio.NewScanner for example. It receives a parameter of type io.Reader, which is an interface, but I didn't know in advance which types implement io.Reader.
Is there any easy way to get those informations about a type/interface in www.golang.org?
Thank you,

There isn't a solution online for this that I'm aware of, but the godoc command you can run locally has some static analysis features that you might fit your needs. It can tell you all the types in the standard library and your GOPATH workspace that implement io.Reader, for example.
See https://golang.org/lib/godoc/analysis/help.html for more information about it.

Thank you, @shurcooL! I'll check it out.