getting error while deploying 5G SA deployment

Hello @herlesupreeth sir,
I am trying to deploy sa-deploy.yaml but getting the following error. I am using ubuntu 20.04 version.
5G Core Network
docker compose -f sa-deploy.yaml up.

Kindly, suggest what could be done for it.

Can anybody please help me to fix the above error.

Can you please post the docker and docker compose version you are using? my suspicion is that you are using an old docker compose

Hello @herlesupreeth, please find the version below:

Hello @herlesupreeth Sir,
Could you please provide me the correct version to deploy the file.

I see that you are using latest version so i dont think thats a problem.
Did you modify the deployment file by any chance??
can you send me the output of git diff command from docker-open5gs folder

Dear @herlesupreeth Sir,
Please find the details
open5gserror.docx
.
Also I haven't changed anything in the deployment file.

Any reason why you have changed the test network subnet ? If you have changed the test network subnet, have you ensure you have changed the IP address of all other elements in .env file?
If so, can you paste here the git diff entire output (no need to send as screenshot in docx you can copy paste from terminal output). Also, note that you need to press down arrow key in git diff to see the entire git diff

Dear @herlesupreeth Sir,
I am doing a project on integration of  OAI NFs with open5gs NFs. I am trying implement a scenario where I am taking NRF from OAI and other NFs from open5gs. In order do that, I changed the IP address accordingly.
I have general question is it even possible to integrate OAI NFs with open5gs NFs ?
Also, in open5gs all the NF are using SCP URI instead of NRF ? why is that ?

I have general question is it even possible to integrate OAI NFs with open5gs NFs ?

It should be possible if the OAI NF is standard compliant

Also, in open5gs all the NF are using SCP URI instead of NRF ? why is that ?

SCP is used a proxy by NFs to communicate with NRF. However, it is possible to communicate directly with NRF rather than via SCP in open5gs. Just remove the SCP sections in the NF's configuration file.

Thank you so much @herlesupreeth sir, I with try with only NRF and see how it comes.

Hello @herlesupreeth Sir,
I have tried without scp and it worked. But, I have two questions:

Though in log its showing that NF registered but in wireshark capture through http2 request its not showing.
Now, when I am trying to connect UE and gNB using UERANSIM it is giving the below error:-

For viewing HTTP2 traffic in wireshark you would need to do the steps mentioned here - https://github.com/open5gs/open5gs/discussions/751

Now, when I am trying to connect UE and gNB using UERANSIM it is giving the below error:-

You would need to attach the pcap taken on the machine you are running docker_open5gs at the time of UE registration


perf(gopls): make get go mod cache path async

problem: get go mod cache path env variable is sync now may have performance issue
solution: make it async in root_dir coroutine
Follow #2661
Fix #2671

Why is this non-trivial logic in a single config? Is each config going to maintain its own cache implementation? That is too complicated.

There is no need to maintain a cache for each configuration. This is a special case. For example rust-analyzer  and gopls. When you navigate to a lib file by goto definition or reference. Usually installed in some cache directory. For example. cargo and gopath/cache etc. These directories will match the root pattern. This will spawn a new server process. It is necessary to determine whether the file is a lib file which need reuse already exists. Similar logic you can see in emacs lsp-mode and vscode. lsp-mode uses a library-fn function registered for each server. Similar logic exists in rust-analyzer and gopls extensions in vscode. Currently only rust-analyzer and gopls are in lspconfig.

There is no need to maintain a cache for each configuration. This is a special case.

if it's needed for more than one config then it's not special. Doing this kind of non-trivial stuff per-config is too hard to maintain and makes it also hard to discover what kind of concepts should be upstreamed into Nvim core.

Similar logic you can see in emacs lsp-mode and vscode

It doesn't matter what they do. vscode especially has teams of people writing per-language LSP integrations. That can't possibly be the strategy for nvim-lspconfig.

If you want to implement something like that on the core. Something like library-fn needs to be implemented in the opt of vim.lsp.start. Used to determine whether the file is a lib file. If yes, there are already started clients Then return  the client. Otherwise start a new client. library-fn is a function that receives fname.

going to merge as problem solution. about check file is library maybe can do something on vim.lsp.config in future.


drivers: i2c: stm32: Power management doesn't work correctly with PM_DEVICE_RUNTIME enabled

Describe the bug
I'm still not sure if there is some hidden meaning for the multiple usage of pm_device_runtime_get which I believe is wrong.
File i2c_ll_stm32.c, function  i2c_stm32_transfer
        ret = pm_device_runtime_get(dev);
	if (ret < 0) {
		return ret;
	}

	/* Send out messages */
	k_sem_take(&data->bus_mutex, K_FOREVER);

	/* Prevent driver from being suspended by PM until I2C transaction is complete */
#ifdef CONFIG_PM_DEVICE_RUNTIME
	(void)pm_device_runtime_get(dev);
#else
	pm_device_busy_set(dev);
#endif

	current = msg;

	while (num_msgs > 0) {
		uint8_t *next_msg_flags = NULL;

		if (num_msgs > 1) {
			next = current + 1;
			next_msg_flags = &(next->flags);
		}
		ret = stm32_i2c_transaction(dev, *current, next_msg_flags, slave);
		if (ret < 0) {
			break;
		}
		current++;
		num_msgs--;
	}

#ifdef CONFIG_PM_DEVICE_RUNTIME
	(void)pm_device_runtime_put(dev);
#else
	pm_device_busy_clear(dev);
#endif

	k_sem_give(&data->bus_mutex);

	return ret;
}

You can see that in this code pm_device_runtime_get is called twice, but pm_device_runtime_put only once. This makes the power management in my opinion not working correctly.
Please also mention any information which could help others to understand
the problem you're facing:

What target platform are you using?
STM32L4R5
What have you tried to diagnose or workaround this issue?
Yes, removing the first pm_device_runtime_get would help.

To Reproduce
Steps to reproduce the behavior:

enable runtime power management, set sleep pins for I2C
work with EEPROM

Expected behavior
EEPROM works correctly
Impact
EEPROM doesn't work correctly
Environment (please complete the following information):

OS:  Linux
Toolchain (e.g Zephyr SDK, ...):  Zephyr SDK
Commit SHA or Version used

I can prepare a PR with a fix if it's really a bug.

Thanks for raising this. That's indeed a genuine bug. A PR would be welcome to fix it.


Question: Configuration via custom wrapper

A few questions before you begin:

Is this an issue related to the Serilog core project or one of the sinks or
community projects.
This issue list is intended for Serilog Elasticsearch Sink issues. If this issue relates to another sink or to the code project,
please log on the related repository.  Please use Gitter chat and Stack Overflow  for discussions and questons.

Does this issue relate to a new feature or an existing bug?

[ ] Bug
[ ] New Feature

What version of Serilog.Sinks.Elasticsearch is affected?  Please list the related NuGet package.
What is the target framework and operating system? See target frameworks & net standard matrix.

[ ] netCore 2.0
[ ] netCore 1.0
[ ] 4.7
[ ] 4.6.x
[ ] 4.5.x

Please describe the current behavior?
Please describe the expected behavior?
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem

Sorry for the double post of ..... emptiness


Parameterize content of generated SAML2 idp metadata

Currently, seems like CAS auto-generates idp-metadata.xml with some assumed static content like root /idp context under which CAS is deployed as well as static port of 8443.
In order to make the generation of the metadata flexible and not to require manual "massaging" of the xml file afterwords to match current environmental settings, come up with a way to parameterize values for generated metadata. At least root context and port. Perhaps do so via regular CAS property source machinery

This is now done.
You should be able to test the fix in about an hour or so, by using the new SNAPSHOT.


Link to Documentation of Behavior: N/A

Please provide any images for additional evidence.

Hey @dakkmaddy, thank you for the submission!
A user running powershell_ise.exe is a legitimate action to alert on, as it could indicate suspicious behavior. That's different than a benign application appearing malicious based on its own behaviors. I'd check some of the other WTFBin accepted submissions for examples of these. But for now, I'm going to close this one out.


OLS-186: Cache factory returning Redis interface: unit test

Description
Cache factory returning Redis interface: unit test
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[x] Unit tests

Related Tickets & Documents

Related Issue #OLS-186

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

make test-unit should display full code coverage for CacheFactorry

/assign @bparees

/approve
/lgtm

/hold to unstick tide

/hold cancel

/lgtm


Can't find alphanumeric string with hyphens

In the model:
pg_search_scope :search_by_code,
                  :against => [:code],
                  :using => {
                      :tsearch => {:prefix => true}
                  }

Searching for this specific string returns no results: SS-JF-09-11
Everything else works perfectly.
Oddly, since this methods has prefix true, SS-JF-09- will return the correct record.  I double checked the database and the record is entered correctly and this search is working for other strings.

That's pretty strange. I'm going to see if I can reproduce it.

Fixed in 07161f169ddd2508b2116e821faab2610e5dc125

I just release 0.3.4 which should address this issue. Also, if the data in that column tends to look like that (and not English text), I would suggest using :dictionary => "simple" so that strings that contain English stop words will still work. See http://www.postgresql.org/docs/current/static/textsearch-dictionaries.html#TEXTSEARCH-STOPWORDS for more info.

Problem with query started with a number #425


Missing git tag for 1.3.0

Seems like the 1.3.0 release is on PyPI but not tagged on git. Please tag it, thanks :)

Done!

Thank you :)


Removed non-documented capability key check

Following are the reasons to remove the check

This check is not documented since the library was published on Laravel Packagist, so no one should be using it as of now.
Developers using the capability key for other purposes in case of presence channels will break the auth flow.
Since the library is getting more popular+downloads, we should be removing the unnecessary check since it's getting introduced as a bug (we already recommend using ably-capability as a key), instead of providing any real value for future downloads.

I think we discussed this previously and decided not to make this change in a non-major release. In any case I don't see the harm in keeping it tbh.

since it's getting introduced as a bug

do you mean this has actually caused an actual bug with using the broadcaster? if so, could you provide some more context?

Thanks @owenpearson !!


ignore "originalRepository" from discover call if only 1 result

when a project was moved it could happen that a discover result only contains 1 entry with originalRepository: false.
In this case, the sidekick should use that result.

:tada: This issue has been resolved in version 6.45.7 :tada:
The release is available on:

GitHub release
v6.45.7

Your semantic-release bot :package::rocket:


[SPARK-34812][SQL] RowNumberLike and RankLike should not be nullable

What changes were proposed in this pull request?

Marked RowNumberLike and RankLike as not-nullable.
Why are the changes needed?

RowNumberLike and RankLike SQL expressions never return null value. Marking them as non-nullable can have some performance benefits, because some optimizer rules apply only to non-nullable expressions
Does this PR introduce any user-facing change?

No
How was this patch tested?

Did not find any existing tests on the nullability of aggregate functions.
Plan stability suite partially covers this.

Test build #136339 has started for PR 31924 at commit f5deddf.

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

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

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

Test build #136339 has finished for PR 31924 at commit f5deddf.

This patch passes all 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/136339/

thanks, merging to master!


False positive report of "API resolved without sending a response" in latest canary again

Bug report
Describe the bug
Api endpoint
Next will log the "API resolved without sending a response" warning even though the API endpoint always send a response back.
To Reproduce
export default async function(req: NextApiRequest, res: NextApiResponse) {
  const fn = async () => {
    // if this part will be deleted, error is gone
    await fetch('https://example.com', {
      credentials: 'include'
    })

    res.json({1:1})
    return false
  }

  if (!(await fn())) return
}

Expected behavior
No warning
System information
OS: Windows 10
Version of Next.js: v9.2.2-canary.18
Additional context
#10439

Hi, I'm not able to reproduce this on the latest canary of Next.js 9.2.3-canary.12

I'm going to close this since it appears to be working correctly. If you are still seeing this, please reply with additional info so it can be investigated

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.


Removes guava dependency

Guava leads to library conflicts and interoperability problems. By
removing the guava dep, we can more safely be placed in core libraries.
Instead of forcing users to use or convert out of Guava's optional, we
now use nullable. Nullable is trivial to convert to an optional type in
the caller's favorite functional library or language.

@adriancole Thanks for doing this! I was actually planning on removing guava and apache commons soon. Did you notice that a few days ago I did some commits which are merged to master that upgrade Java source and target to 1.8?
Because we are using Java 1.8 now I would propose to migrate to Java 8 Optional instead of going with null values. Do you think you could do this instead?
I think lots of users will be thankful that you tackle removing guava.

@kristofa Thanks for the quick feedback. Here's my unacclimated 2p on the Java 8 question.
We should be cautious with using java Optional (and in fact consider moving source back to target 1.7). Few who use non-java languages or alternate functional libraries will be able to leverage java 8 Optional for some time, and it will be more of a chore to them than nullable. For example, in order to use brave, they may have to upgrade the root of their dependency tree!
Unless the source level of java 8 is strategic to us, I think it best to revert it to 7 (and add animal sniffer which I can help with). We can still build/test/run with JDK 8, but I think sticking on java 7 for some time will help adoption. Android (even if not explicitly targeted) is ruled out with Java 8, so are scala 2.10 users who aren't using finagle. Some of our integrations could move to java 8, but I think the core should stick to java 7 source level.

Removing guava is a fantastic move!
Sticking with Java7 also gets my vote. Being a compile-time library that falls in the "infrastructure components" category for any microservices platform, that is where the value of brave/zipkin is in having it everywhere in such a platform, would mean expecting often hundreds of services and applications to all be Java8 compatible before brave-3 can be considered an option.
When is Apache commons a problem? ( libthrift is already dependent on commons-lang3-3.1 )

@michaelsembwever thx for the feedback. I would like us to be able to not maintain 2 forks in order to progress brave-3 as well!
wrt commons and libthrift:
I feel like libthrift is just an implementation of thrift, and I'd rather decouple our use of commons from our use of libthrift. For example, I've come very close to writing square wire thrift integration a couple times now :) I've also thought about what ifs for protobuf as opposed to only thrift. Practically speaking, I concede this is mostly pie-in-sky and we'd likely continue to has this as transitive for the foreseeable future.. That said, even if that's the case, if we don't commons directly, we don't need to track it vs what libthrift uses. One less thing to deal with.
wrt commons on its own:
I've no specific beef with apache commons except that it is a dependency that doesn't add much value (ex. our use of it would be maybe <100loc to copy or reproduce). If we have no apache commons dep, we have no need to track it and neither would our callers. It is a benign dep, I admit, but again, rather not think about it at all.

Thanks for the input @adriancole and @michaelsembwever. You convinced me, I'll downgrade to Java 7. I'll have to rework some code I wrote earlier this week though which use Java 8 Optional.
I also think it should not be too difficult to remove apache commons dependency from brave itself. As far as I can remember we use HashCodeBuilder, EqualsBuilder and Validate. Those can be replaced by Java 7 Objects static utility methods.

Whoot! So is this mergable? Regardless, I can raise another PR to downgrade
and add animal sniffer.

It is a little sad that we make the code less safe by removing the usage of Optional. But the biggest issue with guava is it is not backwards compatible across releases... so lets bite the bullet...
I never used animal sniffer Maven plugin before. Looks useful. Feel free to submit a pr :)
The code in which I introduced Java 8 Optional this week is the new client/server abstraction code that lives in brave-impl (ClientRequestInterceptor, ClientRequestAdapter, ServerRequestInterceptor, TraceData classes).  The server abstraction should remove code duplication across different implementations when we integrate it. The client abstraction should replace what lives in brave-client and makes it more generic, less http specific.

Thanks for the pointers!
@kristofa @michaelsembwever
Here's my plan with internal maintenance. All of which I can do all the work except review on. I understand all of which also have implications on in-flight work.

pull request to animal sniff - this is important for the main source tree only, and we can override on modules we feel are safe to constrain to JRE 8. For example, we could still write tests using lambdas if we want, while still facilitating core portability.

pull request to auto-value - We can handle the validation/toString/equals/hashCode case with no dependency or boilerplate by using auto-value. AutoValue writes classes (ex. that check null) as opposed to using reflection. Its annotations are source retention, so there's literally no dep leak to consumers.

(optional - at some later point) pull request to style all the things - our xml and source files have different style and it is distracting. they look very close to google style, which is well documented. something to consider.

I understand that while I'm quite familiar and comfortable with above, they may not be universally liked. That said, I appreciate keeping an open mind. If such pull requests don't end up acceptable.. well it was worth a shot!


Fix rendering of DisplayRoot for network PSDrive

PR Summary
As part of some refactoring work to use spans, it appears that the code to get the DisplayRoot simply used ToString() on the ushort buffer.  However, ToString() only works on a span of chars, so this resulted in returning the type and size instead of the contents.  Fix is to get a Unicode string from the ushort buffer as bytes.
PR Context
Fix https://github.com/PowerShell/PowerShell/issues/19903
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

@SteveL-MSFT Now we remove the workaround with ushort and use char. I attached the updated file.
WNetGetConnection.zip


sensor=true deprecated.

sensor not required see https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

second commit "hardcoding in https" was not intended for this pull.  Although, it may be justified unless there is a reason to use the hostprotocol (I believe that was what was getting placed) instead of https.  In our situation, the service using MapPortlet is behind a load balancer and the protocol being used between the load balancer and server is http, from the outside world, it's https which results in a "non-secure" script being called in a "secure" page.  The end result is a MapPortlet that won't render due to security reasons.  The opposite direction - having a secure script being called in a non-secure page will not cause an issue.

resolves #16


Local gulp cannot found

there is a problem that I cannot solve in gulpfile.js. It seems correct on my pc (gulp bower -g) but whenever I run gulp, It shows me a local gulp cannot found an error. If I reinstall it local but this time it doesn't find any modules. this time I reinstall every module step by step but it gives me another error. I cannot solve it. what is the problem? also, I verified NODE_PATH and I cannot get anything. Need some help
C:\Users\Mert\Desktop\erkutDion\dion>npm -v
5.5.1
C:\Users\Mert\Desktop\erkutDion\dion>node -v
v8.9.1
C:\Users\Mert\Desktop\erkutDion\dion>bower -v
1.8.2
C:\Users\Mert\Desktop\erkutDion\dion>gulp -v
[15:35:19] CLI version 1.4.0
C:\Users\Mert\Desktop\erkutDion\dion>gulp
[15:35:26] Local gulp not found in ~\Desktop\erkutDion\dion
[15:35:26] Try running: npm install gulp
C:\Users\Mert\Desktop\erkutDion\dion>npm install npm
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No repository field.

<EMAIL_ADDRESS>added 460 packages in 85.849s

C:\Users\Mert\Desktop\erkutDion\dion>npm install bower
npm WARN deprecated<EMAIL_ADDRESS>...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
npm WARN<EMAIL_ADDRESS>No repository field.

<EMAIL_ADDRESS>added 1 package in 23.224s

C:\Users\Mert\Desktop\erkutDion\dion>gulp
[15:39:36] Local gulp not found in ~\Desktop\erkutDion\dion
[15:39:36] Try running: npm install gulp
C:\Users\Mert\Desktop\erkutDion\dion>npm install gulp
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN<EMAIL_ADDRESS>No repository field.

<EMAIL_ADDRESS>added 186 packages in 30.758s

C:\Users\Mert\Desktop\erkutDion\dion>gulp
module.js:538
throw err;
^
Error: Cannot find module 'gulp-watch'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\Mert\Desktop\erkutDion\dion\gulpfile.js:4:13)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
C:\Users\Mert\Desktop\erkutDion\dion>npm install gulp-watch
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

<EMAIL_ADDRESS>added 153 packages in 31.582s

C:\Users\Mert\Desktop\erkutDion\dion>gulp
module.js:538
throw err;
^
Error: Cannot find module 'gulp-autoprefixer'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\Mert\Desktop\erkutDion\dion\gulpfile.js:5:16)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
C:\Users\Mert\Desktop\erkutDion\dion>

You seem to be requiring modules that you haven't installed. Future support questions should be directed to StackOverflow.


(support oldstable) support for python3.2?

Checklist

[X] I'm reporting a feature request
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
Hello ,
is there a version which is backwards-compatible with python3.2?
using debian 7 on linux64bit, thanks.

No. We only support python 3.6+.
Last release that might have supported 3.2 is https://github.com/yt-dlp/yt-dlp/releases/tag/2021.06.01.
You should look into upgrading your python version, distro, or use youtube-dl which is currently still maintaining compatibility with obsolete python versions.

... upgrading your python version...

Maybe you could try this: https://github.com/squeaky-pl/portable-pypy?

This has been answered multiple times before. We will not support versions below 3.6 anymore. See https://github.com/yt-dlp/yt-dlp/issues/1781


virtual sky - Localhost

Helo! Is it possible to activate the constellation overlay (virtual sky) using the localhost project? I researched the subject but did not find an answer. Thanks.

tinha esquecido de instalar o website no raspberry pi! ;D


libnd4j mkldnn 1.1.x upgrade

We need to upgrade mkldnn version to the latest 1.1.x, which involves a bit of churn: namespaces were changed mkldnn -> dnnl. But that's clearly required, since 1.1.x version is going to be main branch for evolution.

Implemented and merged


Temp/4

Hi!
This pr is intended to fix this issue.
Fix implemented in 51539a9af87b5485fa75b233835df6e77fffeec6 commit.
The 576c128cbcef51d3715bab9fb3040c5372c68546 commit is refactoring.
During refactoring revealed some interesing things:

issue with authMode
issue with status codes

@mattbrailsford Could you please review this pr and related issues?

@mattbrailsford
Could you please review the pipeline, I can see the original reason why it failed.

Hello @PeterKvayt,
Thank you for taking your time to investigate the issue and create this PR.
We have a pipeline task to detect breaking changes in the PRs. For this particular one, the pipeline is complaining about the breaking changes you made in this PR, for example, removing properties in WorldpayBusinessGateway350Settings.cs. Those changes violate our versioning strategy. I suggest that instead of removing those properties/classes, you should mark them as [Obsolete("with a meaningful message"] and we will remove them in the incoming major version.
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.InstallId.get' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.InstallId.set' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.Capture.get' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.Capture.set' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.TestMode.get' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.TestMode.set' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.VerboseLogging.get' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0002: Member 'Umbraco.Commerce.PaymentProviders.Worldpay.WorldpayBusinessGateway350Settings.VerboseLogging.set' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0001: Type 'Umbraco.Commerce.PaymentProviders.Worldpay.Helpers.Md5Helper' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]
/opt/hostedtoolcache/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(37,5): error CP0001: Type 'Umbraco.Commerce.PaymentProviders.Worldpay.Helpers.VerboseLoggingHelper' exists on [Baseline] lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll but not on lib/net6.0/Umbraco.Commerce.PaymentProviders.Worldpay.dll [/home/vsts/work/1/s/src/Umbraco.Commerce.PaymentProviders.Worldpay/Umbraco.Commerce.PaymentProviders.Worldpay.csproj]

Hi @umbracotrd!
I fixed pipeline.
Could you please review pr and merge it?
If all will going well, then how long it take to release new version for v10?

Thanks @PeterKvayt.
I've pushed 10.0.2--preview.2+2cdaf70 to Umbraco prerelease and nightly feed. Please check it out if possible. We're having a hard time getting a test account from worldpay so we're unable to test it ourself.
Once you confirm, you can expect to see the 10.0.2 on Nuget in less than 24 hours. After that I'll cherry pick this PR to later versions.

Hi @PeterKvayt, I made a mistake when bumping this package's version. Anyway, I've merged and pushed this PR to version 10.0.1.
It should be searchable on nuget in couple minutes.


My data can be used for Uncertainty Evaluation?How can I use the data collected from my own phone to automatically determine the best threshold?

I have read Bayes Rays (bayesrays.github.io) and thank you very much for your work.
In paper 5.2, there is a sentence that goes, "If one selects the best possible threshold value for each scene out of ten equally spaced ones, BayesRays performs Nerfbusters in both PSNR and coverage."
In paper 5.3, there is a sentence that goes, Since our uncertainty field only needs to be calculated once.We suggest that this threshold can serve as real-time user control in interactive NeRF setups like Nerfstudio
Now I want to use the data collected from my own phone to automatically determine the best threshold.
I want to select the best possible threshold value for my scene out of ten equally spacious ones The metric I have chosen is PSNR
My question is:

Can I use my own data to complete this idea?

I am a beginner, can you provide some code suggestions?

Can only Light Field (LF) dataset and ScanNet scenes be used for Uncertainty Evaluation? Can I use the data collected by my own phone?

Thank you very much (I am a beginner and English is poor, and my question may be a simple one. Thank you very much for your help. This paragraph is written using translation software. If there are any discrepancies, please give me. Thank you very much for your help.)

Hi!
Thanks for reaching out. Yes, you can do this on your own data. First of all after running COLMAP on your data you should be able to train a Nerfacto model using the ns-train nerfacto command. Then you can extract the uncertainty of your scene using ns-uncertainty --load-config={PATH_TO_CONFIG} --output-path={PATH_TO_UNCERTAINTY} --lod 8. After that you can do two things to evaluate your model. First you can use the interactive viewer through ns-viewer-u and the adjustable "threshold" in the Bayes' Rays viewer to adjust and find the best filtering threshold qualitatively.
For quantitative PSNR evaluation of 10 different thresholds between 0 and 1, you can use this command: ns-eval-u --load-config {PATH_TO_CONFIG} --output-path {PATH_TO_METRICS} --unc_path {PATH_TO_UNCERTAINTY} --filter-out and I think the code should work fine on any dataset, using the nerfstudio version 0.3.3 or 0.3.1 that was tested to work with Bayes' Rays. What this command is doing is run the get_average_filtered_image_metrics function in scripts/eval_uncertainty.py file, that just runs the PSNR evaluation for all ten different thresholds separately.
I hope this helps. Let me know if you have further questions.
Best,
Lily

Unfortunately, I followed your suggestion but encountered an error, which seems to be related to the content of camera_ray_bundle and the get_outputs_for_camera_ray_bundle function(in \nerfstudio\models\base_model.py).Is it my reproduction process error? Or is this a bug?
This is my reproduction process:
conda create --name nerfstudio -y python=3.8
conda activate nerfstudio
python -m pip install --upgrade pip
pip uninstall torch torchvision functorch tinycudann
pip install torch==2.1.2+cu118 torchvision==0.16.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit
pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install -e git+https://github.com/nerfstudio-project/nerfstudio.git@e2e5637d05fc281a28abe7c4f9c86a93e130a085#egg=nerfstudio
Download BayesRays code
pip install -e
ns-process-data {images, video} --data {DATA_PATH} --output-dir {PROCESSED_DATA_DIR}（I am using nerfstudio's sample data: kitchen）
ns-train nerfacto --data {PROCESSED_DATA_DIR}
ns-uncertainty --load-config {PATH_TO_CONFIG} --output-path {PATH_TO_UNCERTAINTY/npy.npy} --lod 8
ns-eval-u --load-config {PATH_TO_CONFIG} --output-path {PATH_TO_METRICS} --unc_path {PATH_TO_UNCERTAINTY} --filter-out
When I run ns-eval-u --load-config {PATH_TO_CONFIG} --output-path {PATH_TO_METRICS} --unc_path {PATH_TO_UNCERTAINTY} --filter-out, an error occurs

I changed the height, width=camera_ray_bundle. shape to:
Width=camera ray bundle. width
Height=camera ray bundle. Height
Then another error occurred:

I printed the content of camera_ray_bundle:
Cameras (camera_to_worlds=tensor([[[ 0.0336, -0.8333,  0.5518, -0.3371],
[ 0.0587,  0.5528,  0.8313,  0.4765],
[-0.9977,  0.0045,  0.0675,  0.1048]]], device='cuda:0'), fx=tensor([[386.0386]], device='cuda:0'), fy=tensor([[386.0386]], device='cuda:0'), cx=tensor([[248.8499]],
device='cuda:0'), cy=tensor([[186.1730]], device='cuda:0'), width=tensor([[497]], device='cuda:0'), height=tensor([[369]], device='cuda:0'), distortion_params=tensor([[0., 0., 0., 0.,
0., 0.]], device='cuda:0'), camera_type=tensor([[1]], device='cuda:0'), times=None, metadata={})
I find that the content of camera_ray_bundle has no content 'direction'
Continue reading get_outputs_for_camera_ray_bundle function
This code requires camera ray bundle. origins, camera ray bundle. get_row_major_sliced_ray_bundle, but camera ray bundle does not have these content.

The first error that you are getting is due to a discrepancy in the FixedIndicesEvalDataloader in main branch and nerfbusters-changes branches of nerfstudio, where one loades cameras and the other camera_ray_bundle (here and here). This piece of evaluation code was only tested for the nerfbusters-changes branch.
However, this should be easily fixable using the camera.generate_rays function (code and documentation reference here) to get the ray bundles from cameras as needed and pass it along to the metrics functions.
Hope this helps! Otherwise you could try running the code using the nerfbusters-changes branch as the installation of your nerfstudio,  which is very similar to the main branch but only has some differences in the data loaders.

Thank you very much for your reply. I have chosen to install nerfbusters-changes. As a beginner, without a tutorial, it is difficult for me to successfully install. I am using Win10, can you provide a similar line of code?

In addition, I found that the pyproject.toml of nerfbusters-changes requires "torch>=1.12.1,<2.0.0", but the pyproject.toml of BayesRays requires>=2.0.1. What should I do?

You should be able to install nerfbusters-changes branch with a modified pip install:
pip install git+https://github.com/nerfstudio-project/nerfstudio.git@nerfbusters-changes
You can use the nerfbusters-changes requirements. Refer to here for the requirement installations (steps 1 and 2)


Allow DisplayEnum to format invalid enum values without crashing

This prevents a crash on the Repository Details page if the database contains invalid values for AllowAnonymousPush - although this problem is just down to unreleased changes pre v6.0.0, it's still good if a general purpose enum formatter performs no worse than .ToString()
Addresses one of the problems raised in #521 (nothing to do with routing)

The Patch looks good.
What I'm thinking is if we should force on save a valid value instead of keeping the invalid one.


Null check operator used on a null value

I used example code for test.
but result is

i just copy and paste example code in my project
why???

@LoveCTTS Thank you for your feedback! The issue was in a missed focus node. Now Zeryrka doesn't require a focus node. Please update to 1.0.10 or just pass a focus node to ZefyrEditor widget.

@LoveCTTS Thank you for your feedback! The issue was in a missed focus node. Now Zeryrka doesn't require a focus node. Please update to 1.0.10 or just pass a focus node to ZefyrEditor widget.

Thank you glynskyi^^.


Failure in test_time.act

Acton Version
<IP_ADDRESS>21<IP_ADDRESS>
Steps to Reproduce
run make test
Expected Behavior
success
Actual Behavior
I hope I haven't messed up with branches in git now, but as far as I can see

the command line argument provided by test.hs is in milliseconds
the test in stdlib/test_time.act expects an argument in seconds.

@sydow can you please include the output from your make test run?
I cannot reproduce this, nor can CI, since we would not be able to merge anything if this was consistently broken....

I mean, you might be correct with regards to arguments from test.hs and expected input, but at least I don't get a test failure when I run this..

Well, I just did a hard reset in git and now I don't get the error in make test. I don't know how this could be and when I look at the test program test/stdlib/test_time.act and the command line generation in compiler/test.hs I still think that the test should fail.

The problem is understood.
The test is wrong. The commandline will be (roughly) 1000 times larger than what you compare with, because of the bug I explained in the bug report. Thus diff in function check in test_act.act will be a large negative number. In check you test only "if int(diff) > 5" so large negative differences will be OK.
But I had also created a bug. I wrote a C function to replace zz_get_str and thus to fix #1101.  That function worked fine, and was fast. But it had a bug which I hadn't noticed: as a side effect when printing negative numbers, it negated them(!). So in check when diff was printed before the test, it negated this erroneous large negative number and made it positive and the test failed.
So, when I got the test case bug before pushing my new print function, I (stupidly) scrutinized the test case rather than my code. I found the bug in the test and thought that was it...
I was also wrong in my reply yesterday afternoon. I claimed to be in main and get the bug. I was, but I has committed my print function in main, rather than in the bug-fixing branch for #1101. Sigh...
I  will fix the bug in my print fuction (and test it a bit more...) but leave to Kristian to fix the test.

Ah ok. Should check so the diff is "just enough".
Feel free to fix if you want, no prestige in "owning" code or anything here... :)
Guess we should also check the other time functions so we cover that other bug you noticed the other day...

I could fix it, but there is a design choice: is the intention to say that a diff of up to five seconds is OK? I guess 5 milliseconds is a bit tight?

Fixed by #1104.


Adds message to search for address on scorecard page and action section to share link to scorecard

Description
Addresses: CTA#3: Display a button to share a scorecard
Adds message to search for address on scorecard page and action section to share link to scorecard
Env file needs this entry:
VUE_APP_LEADOUT_DOMAIN="https://leadout-dev.blueconduit.com"
New
T

esting and Review

ing

LGTM with one concern.

Was able to get the const / var compile issue to resolve - not sure how?


iOS: Returning to app shows "unable to mark unread" popup

From user feedback (and something I've also personally experienced many times):
open feed
open a story
turn off display with power button
swipe up, unlock device with face id
news blur opens at story with error “Failed to unread story”
iOS 12.4, iPhone XS Max, most recent app. has been happening for a while now.

This issue was due to iOS 12 and later being more strict about performing network operations when the app is in the background. It was most noticeable here because this occurred when preparing for state restoration while suspending the app. But it could occur with any network request, if the phone is locked or the app suspended while underway. So to fix this and other requests, I have wrapped the network requests with the background task mechanism, so they can gracefully complete uninterrupted.
I also added methods to provide a simpler way to do network requests in the common usage of calling success and failure methods instead of blocks.

Excellent, that's good to know. I might release this as v9.1 then since it touches so many pieces.

I'll be doing more NewsBlur changes over the next few days, if you want to wait and include them too.

Ok, I'll aim for early September then.


added dockerfile and did various changes

1 - Added docker file for the project.
2 - There are many changes that you need to do at the code level.
3 - Meanwhile you can merge it.Please review and merge it.

If in future there will be any changes ill will do it.

See this dockerfile is good to go but you will have to change the dependency with the latest and then it will work fine.You can merge it and update you project code and then if there will be any change then i lll do it.

Please see - https://github.com/projectdiscovery/interactsh-web#using-docker


Sync API methods

Do you have any plans on implement sync methods?
Best rewards!

Hi,
We are going to support async and await for ES7
Does this solve your issue?
~Keyang

Yes indeed!

Hi Keyang,
do you already know when this is going to be supported? Thanks.

Hi @Keyang, is async await supported already?

Supported since v2.0.0


gradio app should be share=False by default for security

ie last line in app.py
demo.launch(share=False)

No, please.
90% runs are remotely on a100.
Where else get 65gb of VRAM?


etcd-defrag: make volume more configurable

Currently, the etcd-defrag chart is limited to two types of volumes, hostPath mappings or an existing secret.
We'd like the option to specify our own volume, in order to support more complex deployment options like mounting secrets from an external provider.

Thanks for your contribution. Will merge this as soon as possible.


Google Map not Working on Php

Please check
http://jaanirakhe.com/kyrol/displaymap.php
Google map not working but OpenStreetMaps Working.

You need to install the google maps key.
n

where brother?

https://www.google.fr/search?q=google+maps+key&oq=google+maps+key&aqs=chrome..69i57j0l5.214j0j4&sourceid=chrome&ie=UTF-8

i got key. now where to put the key brother?

..

it's in maps.js. You'll need to figure it out. It is a new thing from google. I have not done it yet. The link I provided should explain.
n

thank you.


Package install fails inside vscode devcontainer

I have a vscode devcontainer set up for work on a project that depends on the joulescope library and noticed that my container build breaks when trying to install this package.
I am a bit confused about what's going on — I tested the install on a fresh in macOS and works as expected. Installing requests first does get it to work so I've hotfixed it that way for now.
I can share the Dockerfile if that would help but it's just mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye (which is Debian 11 + vscode container packages + python3.10) with libudev-dev installed with apt-get.
vscode ➜ /workspaces/<redacted project name> (<redacted branch name> ✗) $ pip install pyjoulescope_driver
Defaulting to user installation because normal site-packages is not writeable
Collecting pyjoulescope_driver
  Using cached pyjoulescope_driver-1.1.0.tar.gz (2.6 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-_eygg_74/pyjoulescope-driver_6539fe89b7a442d0b48ca43748203a08/setup.py", line 32, in <module>
          from pyjoulescope_driver.release import releases_get_from_network
        File "/tmp/pip-install-_eygg_74/pyjoulescope-driver_6539fe89b7a442d0b48ca43748203a08/pyjoulescope_driver/release.py", line 30, in <module>
          import requests
      ModuleNotFoundError: No module named 'requests'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip available: 22.2.2 -> 22.3.1
[notice] To update, run: pip install --upgrade pip

Hi @imbuedhope - Thanks for the report.  The problem is that pip3 does not install the requests module.  See this forum post.  The temporary solution is to run this command before pip3 install -U joulescope_driver:
pip3 install -U numpy Cython request setuptools wheel

We actually have fix in progress, which should release early next week.

Fixed by 1.1.1.  pip3 install -U pyjoulescope_driver should now work for you:
mliberty@taurus:~$ python3 -VV
Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0]
mliberty@taurus:~$ python3 -m venv ~/venv/tmp
mliberty@taurus:~$ . ~/venv/tmp/bin/activate
(tmp) mliberty@taurus:~$ pip3 install -U pyjoulescope_driver
Collecting pyjoulescope_driver
  Downloading pyjoulescope_driver-1.1.1.tar.gz (2.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 38.8 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting requests
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting numpy>=1.20
  Using cached numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting charset-normalizer<3,>=2
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
Building wheels for collected packages: pyjoulescope_driver
  Building wheel for pyjoulescope_driver (pyproject.toml) ... done
  Created wheel for pyjoulescope_driver: filename=pyjoulescope_driver-1.1.1-cp310-cp310-linux_x86_64.whl size=2991934 sha256=0886174ab4b7218c8224f266fb1808149469355b1c4d8d8fc74e292cb836a9b6
  Stored in directory: /home/mliberty/.cache/pip/wheels/a0/5a/a3/16bf581067f05969550611f7a44a9bee351fb6d69a389063bb
Successfully built pyjoulescope_driver
Installing collected packages: urllib3, numpy, idna, charset-normalizer, certifi, requests, pyjoulescope_driver
Successfully installed certifi-2022.9.24 charset-normalizer-2.1.1 idna-3.4 numpy-1.23.5 pyjoulescope_driver-1.1.1 requests-2.28.1 urllib3-1.26.13
(tmp) mliberty@taurus:~$

If you still see an issue, please reopen this issue.


[Bug] Link for documentation to for local deployment?

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Cloud (http://rxresu.me)
Current Behavior
I tried to search for documentation for local self-hosted deployment in both open and closed issues and found couple of links, however, they all redirect to 404 - Page not found. Is the address changed? I can see comments from author in other issues mentioning the below links as latest as april-may 2022. Is the address changed after that?
I cannot find any relevant links for deployment here --> https://docs.rxresu.me/
https://docs.rxresu.me/deployment/ (This link mentioned by author in one of the issue for deployment doc doesn't work anymore)
Expected Behavior
The link should direct to deployment page
Steps To Reproduce
Go to https://docs.rxresu.me/deployment/
What browsers are you seeing the problem on?
Chrome
What template are you using?
None
Anything else?
No response

I also couldn't find any recent/up-to-date docs, so I just thought for self-hosted option we'd probably have to figure it out ourselves by checking the tools/compose directory for examples, in combination with the .env.example. Still, some environment variables are not mentioned in the .env.example (like the one mentioned in #1640), so it's a bit of a puzzle to get it setup properly 🧩
Docs would definately help future users 👌

Yes, exactly. I tried with different setups but i cant get it working somehow. If you are also trying and haven't been able to yet. Shall we connect somewhere outside, like discord if it is okay for you? Maybe with collaboration it will become easier.

Hey @justpankajdotcom 👋
I've finally got it fully working yesterday evening locally 🙂 Sure, I'm open to discuss it on Discord (see my github profile for username) and share my docker-compose.yml and .env.example with you before posting it here.

Hi @ToshY ,
Appreciate it. But I can't seem to search you there in discord with your username. Can you please check your privacy settings once?

@justpankajdotcom Hmm my settings accept everything 🤔 Maybe I don't quite understand the new username system then; my legacy username is: ToshY#0823.
If that doesn't work, let's try the other way around and I'll send you a request.

Hey @justpankajdotcom 👋
I've finally got it fully working yesterday evening locally 🙂 Sure, I'm open to discuss it on Discord (see my github profile for username) and share my docker-compose.yml and .env.example with you before posting it here.

Can you please share it here so everyone can take advantage of it? Thanks in advance.

Hey @MelihDarcanxyz 👋
Sorry for the delayed response; I've been refining my setup the last couple of days to make it more production-friendly (with Traefik v2/v3). I'll post it in a couple of hours.

The first section in CONTRIBUTING.md is about running the project locally. I've tried it but am facing errors on the last step

If anyone here has issues with V3, here is my docker-compose.yml
version: "3.8"

services:
  postgres:
    image: postgres:alpine
    restart: always
    ports:
      - 5432:5432
    volumes:
      - ./pgdata:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      start_period: 15s
      interval: 30s
      timeout: 30s
      retries: 3
    environment:
      - POSTGRES_DB=postgres
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=secure_password

  server:
    image: amruthpillai/reactive-resume:server-3.8.4
    restart: always
    ports:
      - 3100:3100
    volumes:
      - ./assets/exports:/app/server/dist/assets/exports
      - ./assets/uploads:/app/server/dist/assets/uploads
    depends_on:
      - postgres
    environment:
      - PUBLIC_URL=http://localhost:3000
      - PUBLIC_SERVER_URL=http://localhost:3100/api
      - POSTGRES_DB=postgres
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=secure_password
      - SECRET_KEY=secure_key_password
      - POSTGRES_HOST=postgres
      - POSTGRES_PORT=5432
      - JWT_SECRET=secure_jwt_password
      - JWT_EXPIRY_TIME=604800
      - STORAGE_S3_ENABLED=false
      - MAIL_FROM_NAME=Reactive Resume
      -<EMAIL_ADDRESS>      - MAIL_HOST=mail.example.com
      - MAIL_PORT=587
      -<EMAIL_ADDRESS>      - MAIL_PASSWORD=secure_mail_password
      - PDF_DELETION_TIME=10800

  client:
    image: amruthpillai/reactive-resume:client-3.8.4
    restart: always
    ports:
      - 3000:3000
    depends_on:
      - server
    environment:
      - PUBLIC_URL=http://localhost:3000
      - PUBLIC_SERVER_URL=http://localhost:3100/api

volumes:
  pgdata:
  exports:
  uploads:

First paragraph in the README states;

The platform is extremely user-friendly and can be self-hosted in less than 30 seconds if you wish to own your data completely.

Yet it actually seems that the ability to local host has been deliberately obfuscated with removal of docs, and users in the open issue discuss sharing their own methods of getting it running.
Not sure what's going on, but having the above quote in the README is wasting peoples time searching docs looking for this mythical "30 seconds to self host" idea.
Encourage self hosting or don't; but misleading people like this is frankly annoying.

So after spending more than 30 minutes setting this up I have it functioning - except for the image upload. Then I found this issue.
@ToshY - I am using something very similar - using nginx instead of traefik. However, I can't seem to get the storage urls to work properly, and actually display images after upload. I see the photos getting uploaded into the minio storage bucket, but, I always see access denied errors from the minio side.
This occurs using either a accessible domain, or the private docker URLs.
Any idea or does your setup work with image upload?

Hey @delize 👋
I've tested my own setup in development and production both with external S3 storage (instead of Minio). Yes, image upload/display still works fine.
Without knowing you're docker compose config / setup I can only guess what you're problem might be, but if you're saying that it's saved correctly in Minio, but not being displayed in Reactive Resume itself, it could be an issue with an incorrect STORAGE_URL.

this file has a basic guide for local running
/Reactive-Resume/CONTRIBUTING.md


Slow import

Running
import coppafish

is slow relative to many packages (including large ones like pytorch). This needs to be profiled and sped up. I suspect there could be some considerably large computation being accidentally computed when python is going through the package structure and running the __init__.py files. If not, then this may be unavoidable.

Some minor time sinks found were the use of plt.style.use("...") outside of functions and classes. These are now placed into plotting classes/functions instead. However, not much better can be done to reduce import time further unless some packages can be removed from the environment. The slow packages in order from most to least impactful (not including default packages): pytorch, fontTools (required by matplotlib), scipy, threadpoolctl, dask/utils, napari/utils/events, functools, matplotlib, importlib_metadata, typing_extensions, networkx. Removing of packages is another issue altogether so this issue gets closed.


Fix the body from bleeding into the header.

The setup page had a problem where the body was bleeding into the header.
The fix was simply to surround the paper-scroll-header-panel  with

 tag.
(99% of the work was in troubleshooting.)
What the setup page looks like now.  I haved checked the new landing page to make sure this doesn't negatively affect it.

Ahhh so this was somewhat by intent. Obviously, the overlap needs to be perfected, but per the mocks, the cards should overlap the header slightly. The slightly part is tricky as the cards seem to want to position higher and higher as more users are added. I haven't figured out how to do that yet...
However, you shouldn't add that div there.  At the bottom is an id tag for #main-holder where the margin-top is set to some negative number. Just comment that out or remove it and leave a TODO to come back and fix it. That's where it is actually being set currently.
For the fix later, there is probably some way to use calc to figure out how much the main-holder div needs to be adjusted negative in order for the overlap to work correctly based on the current number of users.

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

Done, commenting out the offending css rule.  Also undoing the previous commit.

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

 Thank you!

Reviewed 1 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.util.descriptor.tld.LocalStrings, locale en_US

got error when run the native build.
`

4.0.0

org.springframework.boot
spring-boot-starter-parent
2.4.0-M4

com.example
rest-service
0.0.1-SNAPSHOT
rest-service
Demo project for Spring Boot
<properties>
	<java.version>1.8</java.version>
</properties>

<dependencies>
	<dependency>
		<groupId>org.springframework.experimental</groupId>
		<artifactId>spring-graalvm-native</artifactId>
		<version>0.8.1</version>
	</dependency>
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-web</artifactId>
	</dependency>

	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-test</artifactId>
		<scope>test</scope>
		<exclusions>
			<exclusion>
				<groupId>org.junit.vintage</groupId>
				<artifactId>junit-vintage-engine</artifactId>
			</exclusion>
		</exclusions>
	</dependency>
</dependencies>

<build>
	<plugins>
		<plugin>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-maven-plugin</artifactId>
			<configuration>
				<image>
					<builder>paketobuildpacks/builder:tiny</builder>
					<env>
						<BP_BOOT_NATIVE_IMAGE>1</BP_BOOT_NATIVE_IMAGE>
						<BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS>
							-Dspring.native.remove-yaml-support=true
							-Dspring.spel.ignore=true
						</BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS>
					</env>
				</image>
			</configuration>
		</plugin>
	</plugins>
</build>

<repositories>
	<repository>
		<id>spring-milestones</id>
		<name>Spring Milestones</name>
		<url>https://repo.spring.io/milestone</url>
	</repository>
	<repository>
		<id>spring-snapshots</id>
		<name>Spring Snapshots</name>
		<url>https://repo.spring.io/snapshot</url>
		<snapshots>
			<enabled>true</enabled>
		</snapshots>
	</repository>
</repositories>
<pluginRepositories>
	<pluginRepository>
		<id>spring-milestones</id>
		<name>Spring Milestones</name>
		<url>https://repo.spring.io/milestone</url>
	</pluginRepository>
</pluginRepositories>

`
[INFO]     [creator]     [/layers/paketo-buildpacks_spring-boot-native-image/native-image/com.example.restservice.RestServiceApplication:131]        setup:   5,467.48 ms,  2.03 GB [INFO]     [creator]     Fatal error:java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.util.descriptor.tld.LocalStrings, locale en_US [INFO]     [creator]            at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581) [INFO]     [creator]            at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)

Try this in the BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS section as an extra argument:
-H:IncludeResourceBundles=org.apache.tomcat.util.descriptor.tld.LocalStrings

The problem is tomcat moved LocalStrings.properties up one folder in 9.0.39, and removed tld package altogether. I am just playing around with Spring Boot and Graalvm for the first time, and I have no idea how to solve this problem using tomcat 9.0.39 (the new default with Spring Boot 2.4.0-M4: https://docs.spring.io/spring-boot/docs/2.4.0-M4/reference/html/appendix-dependency-versions.html), but downgrading to tomcat 9.0.38 solves this issue.
I guess spring-boot-native-image 1.3.2 does not support tomcat 9.0.39, maybe 1.4.0 does, but I am still trying to understand how to change default creators

Done some digging. It looks to me like 9.0.39 did remove the package but the tomcat-resource.json file they embed that configures the resources for GraalVM to include in native-images was not updated until after that release, so in 9.0.39 it lists something that does not exist and native-image can't cope with that. The way I worked around it was switching to the more optimized programmatic tomcat (better for GraalVM analysis) but I know that isn't an ideal solution:
                <dependency>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-web</artifactId>
                        <exclusions>
                                <exclusion>
                                        <groupId>org.apache.tomcat.embed</groupId>
                                        <artifactId>tomcat-embed-core</artifactId>
                                </exclusion>
                                <exclusion>
                                        <groupId>org.apache.tomcat.embed</groupId>
                                        <artifactId>tomcat-embed-websocket</artifactId>
                                </exclusion>
                        </exclusions>
                </dependency>

                <dependency>
                        <groupId>org.apache.tomcat.experimental</groupId>
                        <artifactId>tomcat-embed-programmatic</artifactId>
                        <version>${tomcat.version}</version>
                </dependency>

Ok I got creative. In the interim whilst we wait for the release I created a dummy resource bundle that meets the needs of that pattern - it is picked up and gets us beyond the error. For the situation where I could recreate the problem, it worked for me. You will need to pick up a 0.8.2-SNAPSHOT build of spring-graalvm-native to pickup the change in your dependency file (and the build of that including the dummy resource should be through later today).


(help) DynamicMap: the final touch (duplicate hover tool, title, redim.range, ... )

Hello,
I just used a DynamicMap to sketch a psychrometric chart as explained earlier.
Below is how I did it and the result.
I have some questions for the final touch:

why do I get two hover tools instead of one ?
why do I need to disable the left hover tool to get hover_line_alpha working?
how could I specify a list of values to .redim.range  instead of a continuous range?
how could I specify an initial value for the DynamicMap  parameters rh, hm, ... ?
how could I remove the text boxes showing the values of DynamicMap parameters rh, hm, ... ?
is it possible to move the parameters toolbox somewhere else (left)?
how could I remove the automatic title showing the values of the parameters?

Thanks for your suggestions,
Michel

why do I get two hover tools instead of one ?

Sounds like a potential bug, I'd have to investigate.

why do I need to disable the left hover tool to get hover_line_alpha working?

Probably related to the previous point.

how could I specify a list of values to .redim.range instead of a continuous range?

Use .redim.values instead.

how could I remove the text boxes showing the values of DynamicMap parameters rh, hm, ... ?

You can't (except for hacky means of changing the CSS). We're working on making widgets more flexible/customizable.

is it possible to move the parameters toolbox somewhere else (left)?

Part of the plan to improve widgets, but currently not easily possible.

how could I remove the automatic title showing the values of the parameters?

You should be able to change the title_format plot option.

Thanks a lot for this FTL answer !!!

You should be able to move the widgets and the widget text boxes by using ParamNB or ParamBokeh to control those parameters, instead of having them generated by HoloViews as here. That will require more work, but it basically lets you define arbitrary parameters and then generate a single HoloViews plot instead of defining a space of them as you do here.  Not that I would recommend it, but if you really do need control over those aspects, you can have it.

I tried to remove the DynamicMap title in this way:
hv.core.dimension.title_format = ''

The strange thing is that I get now a title with two comas in it,
and these commas remain if I relabel the plot.
Any clue?
Thanks again!

Sorry, I should have been clearer, that's not what I meant. Here's what I mean:
%%opts Curve [title_format='']
hv.HoloMap({i: hv.Curve([]) for i in range(5)})

Hello.
I just tried the code shown below.
With or without the option " title_format='' "  it gives the same result: 4 parameters displayed.
Any suggestion?
Thanks,
Michel
%%opts Curve [title_format='' width=675  height=556  show_grid=True   tools=['hover']  toolbar='above'  yaxis='right']

import numpy as np

o = hv.Curve({}, kdims=['Dry bulb temperature  [°C]'], vdims=['Humidity ratio  [kg/kg]'])
p = hv.Overlay( [hv.Curve(v) for (k,v) in rh_curve.items()] )
q = hv.Overlay( [hv.Curve(v) for (k,v) in hm_curve.items()] )
r = hv.Overlay( [hv.Curve(v) for (k,v) in tw_curve.items()] )
s = hv.Overlay( [hv.Curve(v) for (k,v) in vs_curve.items()] )

def psychart(rh,hm,tw,vs):
    pcolor = {'Curve':{'style': {'line_width':0, 'color':'red'  , 'alpha':rh, 'hover_line_alpha':1}}}
    qcolor = {'Curve':{'style': {'line_width':0, 'color':'blue' , 'alpha':hm, 'hover_line_alpha':1}}}
    rcolor = {'Curve':{'style': {'line_width':0, 'color':'green' , 'alpha':tw, 'hover_line_alpha':1}}}
    scolor = {'Curve':{'style': {'line_width':0, 'color':'grey', 'alpha':vs, 'hover_line_alpha':1}}}
    g = (o * p(pcolor) * q(qcolor) * r(rcolor) * s(scolor))
    g = g.redim(x={'range': (0, 50)}, y={'range': (0, 0.030)})         #.relabel("Psychrometric Chart")
    return g

dmap = hv.DynamicMap(psychart, kdims=['rh','hm','tw','vs'], )
vls = np.arange(0,1.1,0.1)
dmap.redim.values(rh=vls).redim.values(hm=vls).redim.values(tw=vls).redim.values(vs=vls)

Looks like you need to set it on the Overlay in this case, this works:
%%opts Overlay [title_format='']

I'll file an issue to fix that.

Thanks a lot, this does now what I wish:
%%opts Overlay [ title_format='Psychrometric Chart']

Looks like this was addressed? I'll close please reopen if there was something I missed.


Register the package

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/31868
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" ac1a1abce89551850d85547f7f1e048f084fcaad
git push origin v0.1.0


Whether jedis client have implement the HSTRLEN Command ?

Expected behavior
Whether jedis client have implement the HSTRLEN Command ? If not add this command .
Actual behavior
I couldn't find it at Jedis class .
Jedis version: 2.9.0
Redis version:
Java version:

@darionyaphet a PR would be much appreciated. Thx!.
Plz don't forget to add the same command to Binary versions and Sharded / Pipeline and JedisCluster


Fix: Remove serialbox as permanent dep of ICON

Serialbox has been a dependency of ICON even if serialization=none.
This was caused by the following lines that enforce same compilers for serialbox as for ICON:
    for x in serialization_values:
        depends_on('serialbox+fortran', when='serialization={0}'.format(x))
        # WORKAROUND: A build and link dependency should imply that the same compiler is used. This enforces it.
        depends_on('serialbox %nvhpc', when='%nvhpc')
        depends_on('serialbox %gcc', when='%gcc')

The two last lines falsely added serialbox as a dep, no matter the values the serialbox variant had.
The PR reorganises these lines to not add serialbox as a dep to ICON in case of serialization=none

spack spec icon%nvhpc serialization=create
==> Warning: Missing dependency not in database: zlib/suuzrnc needs gmake-5slczkk
==> Error: Spack concretizer internal error. Please submit a bug report and include the command, environment if applicable and the following error message.
    icon%nvhpc serialization=create is unsatisfiable

Fix seems to work, correct compiler still chosen, whereas no dep to serialbox with serialization=none

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>

Looks good to me. But is this still a workaround?

No this would be permanent. The package builds as it should.

Looks good to me. But is this still a workaround?

No this would be permanent. The package builds as it should.

But would it make sense to remove or adapt the workaround comment?

Ah now I get it.
Yes the workaround for the concretizer is still there.
It is needed, otherwise we might try to link a gcc serialbox with nvhpc icon

launch jenkins

launch jenkins


Update org.telegram.desktop exceptions

"module-yasm-cmake-no-debuginfo": "Build-time only dependency, debuginfo is useless"

This is only warning. I don't think it makes sense to have exception for that. Moreover cmake inherits -g from CFLAGS so -DCMAKE_BUILD_TYPE=Release is useless for disabling debuginfo.

"flathub-json-skip-appstream-check": "Upstream changes to metainfo, if fails validation, can block otherwise automatic updates"

Does it mean telegram is being published with invalid metainfo?

"flathub-json-skip-appstream-check": "Upstream changes to metainfo, if fails validation, can block otherwise automatic updates"

Does it mean telegram is being published with invalid metainfo?

"Invalid" is a vast exaggeration. E.g. appstream-cli spits a warning on an URL in <description>, and treats warnings as validation failure by default. I do believe such issues are too minor to break the pipeline and delay updates.

Maybe appstream warnings shouldn't be treated as failures then? I don't see a sense for having strict checking then allow apps which don't pass to ignore it. What's the point? Either strict check should be mandatory or optional  for all.

we still use appstream-glib to validate AFAIK.

we still use appstream-glib to validate AFAIK.

It spits the same error:
builddir/files/share/appdata/org.telegram.desktop.appdata.xml: FAILED:
• style-invalid         : <release> description should be prose and not contain hyperlinks [

A new expandable reaction menu was added in private chats and groups.

All users get access to dozens of new reactions, including reactions previously reserved for Premium users.

The reactions you use most frequently will always be displayed at the top.

Premium users can react to messages with thousands of custom emoji and add up to 3 reactions to each message.

Group admins can control whether custom reactions are allowed in their groups.

Premium users can add an animated emoji status next to their name to display their current activity.

To set a status, tap your Premium badge in the main menu or Settings.

Popular suggestions for working, sleeping, traveling and more will be shown at the top.

To set a status for a specific duration like 1 hour or 2 days, right click the emoji.

A new format was supported for username links, in addition to "t.me/username." You can now open Telegram accounts, groups or channels using links like "username.t.me" or "https://username.t.me."

Improved support for long media captions.

]
• style-invalid         : Too many
 tags for a good description [12/10]
Validation of files failed

Note that the metainfo releases are generated from official changelog that we aren't allowed to change and thus we can't just patch that.


stairs question

Is it possible to automatically during build map repleace a collision shape of stairs brushes with slopes in godot?

@anarchydev Don't use the git issue tracker as a FAQ board. There are several support channels listed in the README for this, including the Qodot Discord.
This is your second warning: Do it again and your ability to open issues will be revoked.

@anarchydev Don't use the git issue tracker as a FAQ board. There are several support channels listed in the README for this, including the Qodot Discord.
This is your second warning: Do it again and your ability to open issues will be revoked.


clarification is  npm install mysql-live-select needed with numtel:sql server

do i need to install the mysql-live-select with numtel:sql and numtel:sql server?
thanks

The mysql-live-select NPM package is loaded by the numtel:mysql Meteor package. It is loaded on the server side of your application and is referenced by the global LiveMysql object.
numtel:mysql-server is optional, providing an easy way to install a MySQL server directly as part of your Meteor application. If you don't have MySQL installed and provided you're using Linux or Mac OSX (Windows support is not yet available), you can skip any extra installation or configuration, similarly to how Mongo is included with Meteor.


Permissive temporary home directory

We're deploying to a server with several Ruby applications each with it's own user. However, the home directory of these users is not writable by the users.
Since Bundler 1.14.x, a temporary home directoy in the tmpdir is used as a fallback. This works well for only one user, but will fail with more than one:

user1 execs bundle
/tmp/bundler/home/user1 is created usually with 0755 modes
user2 execs bundle
/tmp/bundler/home/user2 cannot be created since user2 can't write to home

This PR adds a chmod to apply mode 0777 to home. It rescues to nil in order to silently fail on step 4 (user2 cannot chmod home since it's owned by user1) as well as in case of any other problem performing chmod. Since we're in a fallback here, I guess it's okay to do this. However, if this is too much code smell, a unless File.exist? will do the trick as well.

This will need test coverage

@segiddins Can you give me a hint as to where to put the test? I've been looking for a location where the current code is covered, but couldn't find any.

You could put it in a unit test in spec/bundler

@segiddins Okidoke. What do you think about the inline rescue, keep it (requires a RuboCop exception) or silence it with a slightly more verbose exists? or writable? condition?

You can also just do it in a begin...rescue nil end

@segiddins All done: Unit tests added and passing, thanks for your hints!

:rocket:
Look good to you too, @indirect ?

@segiddins Forgive my naiveness if it may apply but why couldn't we just settmp_home = Pathname.new(Dir.tmpdir) without creating the sub-folders?

@colby-swandale excellent question, to which I don't know the answer :(

@colby-swandale isn’t it so that settings will persist across commands? Regular tmpdirs are deleted when then process exits, right?
@segiddins I feel like there’s probably a better design for this feature that would keep this problem from existing,  but I don’t have time to discover that design today. 🚀

@segiddins i just realized that Dir.tmpdir on Linux is always /tmp so it makes sense to put everything into a sub-folder for that usecase.
@indirect are we storing settings in tmpdirs? In this case we're not creating a tmpdir so the folder will persist until the machine is restarted.

@colby-swandale ahh, good point.
@svoop how would you feel about this code to create the temporary directory?
        tmp_homes = Pathname.new(Dir.tmpdir).join("bundler", "home")
        tmp_userhome = tmp_homes.join(login)
        begin
          SharedHelpers.filesystem_access(tmp_home, :write) do |p|
            tmp_homes.mkpath
            tmp_homes.chmod(0o777)
            tmp_userhome.mkpath
          end
        [...]

@indirect mkdir_p has the option to specify a mode if that helps
tmp_home = Pathname.new(Dir.tmpdir).join("bundler", "home", login)
begin
  SharedHelpers.filesystem_access(tmp_home, :write) do |p|
    FileUtils.mkdir_p(p, mode: => 0o777)
  end
...

@indirect I'd be very happy with your code, however, RuboCop wouldn't – he's not a big fan of inline rescues.  IS adding a RuboCop exception an option?
@colby-swandale I'd prefer not to make the whole path 0x777. Okay, it would boil down the LOC needed, but even though this usually happens inside /tmp, we should only be as permissive as necessary IMO.

@indirect Can you comment on my question in the previous comment? Thanks!

@svoop sorry, I wasn't trying to say we should use an inline rescue, I was trying to ask about putting all of the directory creation and permission changes into the same place, using Pathname. Create a new method to hold the rescue block and it will suddenly be much more readable. :)

@indirect Ah, okay, I'll give it a shot.

@indirect Better like this? (Don't mind the failing Ruby 1.8.7 test, I'll fix it tomorrow after I got that methuselah Ruby to install.)

Off-thread: Sometimes, Rubocop can be a gadfly. Personally, in this situation, I'd have preferred:
warning = case
  when home.nil? then "Your home directory is not set."
  when !File.directory?(home) then "`#{home}` is not a directory."
  when !File.writable?(home) then "`#{home}` is not writable."
end

Over:
warning = if home.nil?
  "Your home directory is not set."
elsif !File.directory?(home)
  "`#{home}` is not a directory."
elsif !File.writable?(home)
  "`#{home}` is not writable."
end

Looks good to me :)

Yeah, this is great, thanks! @bundlerbot r+

@segiddins Do you have an idea where these failures against Ruby 1.8.7 are coming from? I'm a little lost here in lack of a local Ruby 1.8.7 environment. (I have tried to get it going for the past two hours.)

I finally managed to get a Ruby 1.8.7 environment working on an old Mac and I'm able reproduce the problem Travis faces. All tests pass when they are run one spec file at a time, but the entire suite fails. It seems as if expect(FileUtils).to receive(:mkpath) ... somehow bleeds across specs, whatever that means. :smile:
@segiddins @indirect Could this be an RSpec bug on Ruby 1.8.7? In any case, I'm running out of tricks here. Ideas welcome!

I'll take a look into it when I get a chance, no worries if you want to leave it here

@segiddins Thanks! I'll gladly do the work to fix this, just need a little help here :smile:

Opened https://github.com/rspec/rspec-mocks/issues/1143

This is fixed on rspec-mocks master, in the meantime you can manually FileUtils.module_eval { alias mkpath mkdir_p; module_function :mkpath } in an after block and annotate it as a HACK

@segiddins Thanks a bunch for fixing Rspec!
@indirect All green now. Besides the Rspec hack, I've only changed the variable names as suggested by @olleolleolle since your review.

@bundlerbot r=indirect


Lock/Unlock modify code line639

https://github.com/lendy007/skodaconnect/blob/6525f3d112cb8be52dc190a72fc039de389b7801/skodaconnect/vehicle.py#L639
Could you please adapt the code like this:
data = '<rluAction xmlns="http://audi.de/connect/rlu">\n<action>'+action+'</action>\n</rluAction>'
Like this Lock / Unlock is working. In your version i get error "skodaconnect.vehicle: Failed to lock vehicle - Invalid or no response"

Should be fixed in 1.0.42

Thanks, works now :-)


How to migrate AssemblyTrademarkAttribute

This document does not mention AssemblyTrademarkAttribute, nor I found anywhere mentioned how to handle it in the new project format.

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

ID: cb4428fc-215c-78e1-5ff0-fe73f7a08260
Version Independent ID: 6741b1de-38a4-fbb1-d79d-acc47d549a2d
Content: Additions to the csproj format for .NET Core - .NET Core CLI
Content Source: docs/core/tools/csproj.md
Product: dotnet-core
GitHub Login: @blackdwarf
Microsoft Alias: mairaw

From my research, it doesn't seem like it's supported anymore. However, I did find this workaround. Add this to your csproj. This sets an assembly attribute on your assembly at build time 👍
<ItemGroup>
  <AssemblyAttribute Include="System.Reflection.AssemblyTrademarkAttribute">
    <_Parameter1>My Trademark</_Parameter1>
  </AssemblyAttribute>
</ItemGroup>


CVE-2018-14649 has no package

What happened to the package of this CVE? I can't check the history of it.
I think it has influenced OSV because this CVE was removed from there completely.(They consume the data from GHSA as well)
I did notice that the description in NVD was modified 6 days ago - but looks like the linked package to this CVE is still the same.

Hey @donchkat 👋 which package are you referring to? As far as I can tell this CVE doesn't fit into our ecosystem model and wouldn't be included in our reviewed dataset. I don't see a record of us having had a package in the past either, but if you know of one please share 😄


Add local directives to schema when pulling from server

List directives appear to be removed when generating the schema using the --pull schema flag.
At first, I added them to my schema manually like so:
directive @list(name: String!, connection: Boolean) on FIELD
but this produced an error when generating unless I formatted the comments exactly the same way as in the schema transform:
"""
@list is used to mark a field for the runtime as a place to add or remove
entities in mutations
"""
directive @list(name: String!, connection: Boolean) on FIELD

According to the contributing guide, there is a separate transform for lists but the link is broken.
Am I correct in assuming that the intended behavior is for list directives to remain in the generated schema, even when pulling the server schema? I'd like them to remain for local validation and it's a bit inconvenient having to manage the directives manually.
Thank you so much for your work on this wonderful project!

Hey @ronkeiser! Sorry to hear you are running into issues. The @list directive should get automatically added by the  houdini runtime you don't need to specify it in the server schema. Is there a particular reason you need @list in the api's schema?

It's just nice to have so that the IDE validates my queries/mutations and looks nice. I suppose the simple solution is to put them in a different file.
Thank you for a quick reply!

Ok! I'll dig into it and see what I can do.

Hey @ronkeiser are you still interested in giving this a shot? I'd love to get more people contributing so I'm happy to wait for you to find the time but I just merged the big cache work I have been consumed by so I can try to get something going if you prefer

Hey, I had a chance to look at this over the weekend. At first I thought there would be quite a simple solution but now I'm perhaps more unsure of how to solve this. Let me tell you what I'm thinking:
It looks like the schema is pulled and written first, before the generator runs through all of the validations/transforms etc. In order for the schema to pass local validation when using Houdini's custom directives and list fragments, we need some of the output of the internalSchema and list transforms. (We might need fragment All_Items_insert to be defined, for example.)
This raises a couple of questions for me:
Should the custom directives be added selectively depending on which directives the user implements? Or is it best to keep it simple and append them wholesale like the schema transform? The first feels a little more in the 'style' of Houdini similar to the way types are generated based on naming convention. These transforms are primarily for the runtime - is it appropriate to inject another write schema step in the middle of generation or would it be better to borrow some of this functionality for when the schema is written right at the beginning?
Ultimately I'm sure you'll do a faster/better job so I'm very happy to let you handle this. I would definitely like to look at your solution so I can learn, and I'll look for ways to contribute in the future. (I'm a huge fan of both GraphQL and Svelte).
Btw, I just saw the new API docs and they look great! I love the Pokemon example.

Let me think on this a bit more and once i have a halfway-decent solution I'll share it here and you can see if you want to take it on.


[Catalina] Accessing many window methods crashes application

When attempting to use methods like getBounds and setBounds on window objects acquired with windowManager.getWindows—or from new Window—the application crashes. I've been able to use these methods in the past on the window object returned by windowManager.getActiveWindow(). Is this some kind of permission or security issue?
I have an Electron Fiddle here: https://gist.github.com/Fauntleroy/84fde89e6ede40becffa1fe53132ab7b
Steps to reproduce:

Be in OSX Catalina (maybe just OSX?)
Load that fiddle
Use the interface to select an application
Set a start point (column, row) and an end point (column, row)
Press "up" to resize the window
The application should crash with an error dump

Does it work for you on 1.3.0?

@sentialx I'm not completely sure, but it would seem that the fiddle I posted now crashes on windowManager.getWindows();

I'm sorry, but I feel like I was misunderstood: this module now crashes on windowManager.getWindows(), and I'm not even sure getBounds or setBounds work. Should I file a new issue for getWindows() causing a crash?

@Fauntleroy Does the example.js file work for you?

It does not, it seems to crash on const window = windowManager.getActiveWindow();.

@Fauntleroy Could you try adding windowManager.requestAccessibility() to the top? I forgot about it.

I added it back to my test script. It either does nothing, or access has already been granted. In any case, the crashes still persist when trying to use just about any window method.

What node-window-manager version do you use?

Electron Fiddle always installs the latest version of the module, so 1.3.1:

Okay, it seems it works for me because I don't have macOS Catalina. I'm curious what did they change so that it doesn't work...

@Fauntleroy Fixed in 2.0.0

@sentialx I can confirm that my test script is now working as expected! The loss of window.getTitle is regrettable, but my primary goal is working!


Git Hooks

Description:
Start on adding Githooks

[x]  branch naming conventions restricted
[x] prevent commits to the master branch or release* branches on development machines

Related:
#5
Visual:
TBD
TODO:

[ ] pre-push hook

verify no new tags being pushed from development machines
verify branch name matches conventions?
this doesn't seem needed cuz tags are not pushed unless we include --tags option

[ ] commit message hook?

check if matches https://www.conventionalcommits.org/en/v1.0.0/?
first line must match: <type>(optional scope)(optional !):<description>
verify BREAKING CHANGES:<description> footer has description
ask for type if missing and prepend?
wip, feat, feature, fix, bug, bugfix, refactor, perf, qa, test, doc
[ ] Update Git Commit Template to specify format

[ ] Updated README documents

add line about configuring/setting up hooks
Add dependency on Git

[ ] Update CONTRIBUTING.md

Git Hooks section

[ ] Complete PR Body

squahs and merge this with correct commit message:
feature(scripts): started git hooks


Incorrect example on how to use QueryDosDeviceW

Link to article:
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-querydosdevicew
Problem:
In the description of the first parameter, the following text can be found.

An MS-DOS device name string specifying the target of the query. The device name cannot have a trailing backslash; for example, use "C:", not "C:".

I think it should say

... use "C:", not "C:\".

This is probably happening because Markdown ignores single backslashes (due to escaping).
I guess that this happened during the migration from the older MSDN documentations over to docs.microsoft.com. If that's the case, other migrated articles are likely to have similar issues.
Another example:
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-querydosdevicew

This parameter should not be NULL, an invalid string (for example, an empty string or a string that is missing the terminating null character), or end in a trailing backslash ().

As stated previously, you cannot use a trailing backslash () in the lpFileName input string...

Thanks for reporting these. I believe they've been resolved.


Sequence analysis: Expand QC tutorial with more explanation

I tried to add more details about FastQC reports, specially for the different type of data.
I tried also to clarify some steps for Cutadapt and paired-end explanation.
Feedbacks there would be really great!

Really nice improvement.
Just in case you dont know yet, I really like this resource: https://sequencing.qcfail.com/

Thanks @bernt-matthias for the comments

Just in case you dont know yet, I really like this resource: sequencing.qcfail.com

I forgot about it. Nice reminder. I added as ressource to check

thanks a lot @bebatut for the enhancements, and thanks @bernt-matthias, @erxleben @anuprulez for the reviews!


check refactor edges

When the national grid is resized to a different factor (or resolution), may want to check the behavior of the grid at edges. It may be performing as we expect, but I want to double check with some examples. @brclark-usgs  I'll work on this too, wanted to set up an issue to track.

After looking at NHG.py, I think the extent is being purposefully reset (line 140)
syoff = (self.ext['ll'][1] - self.__natlExt['ll'][1]) / res
I'm guessing that is on purpose, but I can't see why. @brclark-usgs shouldn't the extent be the same?

so i'm thinking it's creating a grid that is closest to the user input extents and still aligns with the National grid. So if it's 1/10 of the 1km grid, it will still align, but it can begin at a point within a 1km cell. does that make sense?

right, but if it's some fraction of the national grid--it can align and still have the same extent, right? that's not mutually exclusive. So you're probably thinking one step ahead of me, for grids (for example 30 m) that we would want to align as much as possible? If we just think about fractions... we could always keep alignment and extent (i think)


fix Blue and Cyan are opposite in iterm2

Blue, Magenta and Cyan color order is wrong in iTerm2 2.1.4

Thanks @honomoa


Remove package-lock.json and add it to gitignore

package-lock.json was not updated since 2.0.0
It makes sense to only keep one. Here's a stackoverflow thread with a debate on the subject.
The lockfile is ignored when the project is used as a library, so removing package-lock.json does not change anything for users of the library.

I think I'll argue this proposal.
A Package needs to lock its dependencies at the tested and working versions across the machine/packages where it is used.
Referring to that thread, I could even conclude that its safer to leave it than remove it. If package-lock.json is ignored when a codebase is an npm package, then leaving it there would do no harm.
My proposal instead is if there's a need to update the libraries this package depends on, then changes should be made on package.json file, the changes tested, and then a new version of the package released.

The point is that right now, yarn is used, and yarn.lock is the reference. I didn't remove yarn.lock in the commit, only package-lock.json.
package-lock.json is outdated, and anyone using it would be using the wrong lockfile. It can confuse users.
Of course both could be kept and updated but is it worth it? It could create conflicts if both npm install & yarn install are run in the same folder with different versions of dependencies in their lockfiles. The maintainer would have to edit package-lock.json and yarn.lock manually to make sure they stay the same, which is hell.
Take webpack, a hugely depended package: https://github.com/webpack/webpack. They only have yarn.lock and added package-lock.json to their gitignore: https://github.com/webpack/webpack/blob/master/.gitignore.
Taking the first two library packages I could think of: lodash only has package-lock.json, and express has neither.