git pull new changes to my custom theme

Looks like many updates are made to this starter theme, even multiple releases in a day!
If I'm developing my own custom theme using air-light, and want to pull in the latest updates is there a sound process for this? I understand there would eventually be merge conflicts and would have to manually scan through the changes.

Hey, great you found us! Good question. Air-light is considered as a dev-theme, it indeed has daily updates and sometimes many releases during the day. Our principle is as a company to not to hold tasks and wait for the right time but to make chances as soon as possible so they will be available in the next project. This way we can iterate the theme best as possible.
This being said, themes based on Air-light are not meant to be updated every time Air-light updates. We have some older sites still up and running with Air version 5.x.x or 4.x.x, maybe even older. Some have gulp v3 whereas the newest air uses gulp v4. Some have been built without webpack and eslint, those came later. Same goes for many many features. It's pure insanity to be able to keep up. Those themes are no longer Air, in fact there's very little of it left since EVERYTHING has been customized for the customer (or for ourselves if it's our personal site in question).
What I mean to say is that Air-light is meant to be hackable in a spirit of all starter themes like this. You sound like you wish Air would be a parent theme and you were able to build your site as a child theme for it to get updates. But this won't be possible since the principle is different. Automattic's underscores puts this well:
"I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there."
If you DO want to get updates to your theme based on Air-light, you need to do it manually. We sometimes improve our Air-based sites (we have hundreds of them with different Air versions as base like I said) by taking only those updates we need. For example if the site has jQuery scripts.js in place like it used to be before and we need to get es5 or vue feature we just upgrade gulp and ja base from the latest version. Same goes if we need more up to date SCSS base. We get those pieces manually to the theme. We never update them all, there is no need and it's too much of work.
I hope this clarifies the issue. TL;DR; we don't have a protocol for this and it's intentional choice.


Helm ignores dependency version in Chart.yaml/Chart.lock

Helm seems to ignore the version we have in Chart.yaml and Chart.lock files.
We are using local charts that has dependency on remote charts. For example, we have one that depends on the Bitnami Kafka chart:
# Chart.yaml
dependencies:
  - name: kafka
    repository: https://charts.bitnami.com/bitnami
    version: 21.1.1

# Chart.lock
dependencies:
- name: kafka
  repository: https://charts.bitnami.com/bitnami
  version: 21.1.1
digest: sha256:b6ce7ff1ce6f30b623325fca733954171b391af739c2d6554021e747ff2c00f5
generated: "2023-03-06T14:16:59.170094642+01:00"

We just updated from version 20.0.6 of the Kafka chart. So in my charts directory inside my local chart, there's still a 20.0.6 version there:
$ tree
.
├── Chart.lock
├── Chart.yaml
├── charts
│   └── kafka-20.0.6.tgz
└── values.yaml

2 directories, 4 files

Running the following still uses 20.0.6 instead of 21.1.1:
helm upgrade kafka ./

Expected
Helm errors out that the dependency is out of date, and that I need to run helm dep update
Helm looks for dependency in charts/kafka-${version-from-Chart.lock}.tgz
Actual
Helm uses charts/kafka-20.0.6.tgz, and seemingly ignores the version specified in Chart.yaml and Chart.lock.
Helm seems to just look for charts/kafka-*.tgz

To me, this is very counter intuitive. Is this intentional?
I failed finding an existing GitHub issue on this.

Output of helm version:
version.BuildInfo{Version:"v3.10.3", GitCommit:"835b7334cfe2e5e27870ab3ed4135f136eecc704", GitTreeState:"clean", GoVersion:"go1.18.9"}

Output of kubectl version:
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.1", GitCommit:"8f94681cd294aa8cfd3407b8191f6c70214973a4", GitTreeState:"clean", BuildDate:"2023-01-18T15:58:16Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.6", GitCommit:"ff2c119726cc1f8926fb0585c74b25921e866a28", GitTreeState:"clean", BuildDate:"2023-01-18T19:15:26Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.): Self-hosted Kubernetes

If you remove charts/kafka-20.0.6.tgz, presumably helm will use  kafka-21.1.1 ?

Have you run helm dependency update?

@gjenkins8
If you remove charts/kafka-20.0.6.tgz, presumably helm will use  kafka-21.1.1 ?

If charts/ dir is empty, I get error (as expected):
Error: An error occurred while checking for chart dependencies. You may need to run `helm dependency build` to fetch missing dependencies: found in Chart.yaml, but missing in charts/ directory: kafka

If I have both charts/kafka-20.0.6.tgz and charts/kafka-21.1.1.tgz, it uses the correct one, charts/kafka-21.1.1.tgz
It's kind of unrealistic state that I'd have both versions in the charts/ dir, but at least it seem to have picked the correct one.

@joejulian
Have you run helm dependency update?

No, and that's the point of this issue. What I expect is that Helm errors that kafka-20.0.6 exists, but Chart.lock says that kafka-21.1.1 is expected. But in reality Helm just silently uses the old version instead.
In our Git repo, we have a .gitignore on *.tgz, so the files in the charts/ directory are not updated by Git.
Issue comes when developer A updates the version in Chart.yaml/Chart.lock, and then developer B wants to deploy this, then it uses the local version that developer B had previously. I.e the old version.
A workaround is to commit the charts/*.tgz files, but we'd like to not have to do this.

I also tested with the --dependency-update flag to helm upgrade, but got the same outcome. It still uses the old version.

I see the same behavior. strace confirms that the chart is using the tgz that's in the charts directory regardless of the semver of the tgz file fallout outside the allowed version.

I was looking at the code and I realized that changing this behavior would be a breaking change. Once I realized that, I went back to the documentation: https://helm.sh/docs/topics/charts/#managing-dependencies-manually-via-the-charts-directory

If more control over dependencies is desired, these dependencies can be expressed explicitly by copying the dependency charts into the charts/ directory.

So it could be perfectly valid to have a chart version that isn't in your dependencies in the charts directory.
Closing this as "not a bug".

@joejulian
Just because it's a breaking change doesn't mean it's no longer a bug.
Is this behavior wanted by anyone? I can't imagine a use case.
To me it's convoluted that Chart.lock and charts directory are allowed to differ.
I've a personal preference to use Chart.yaml/Chart.lock instead of embedding the dependent chart, so we don't have to bloat our Git repository with vendored dependencies.
Now, if you want to stay SemVer 2.0.0 compliant, you could either:

label it as a bug, and then it's ok to do a patch update.
add a feature flag, like --dependency-strict, that enforces Chart.yaml dependencies, and do a minor update.
or lastly, as you've labeled it as a breaking change, go with Helm v4 then.

I do not think the current behavior in Helm is acceptable. The dependencies is such a half-baked feature when you can't rely on it.

When helm v4 planning is announced - please take the time to participate. It's fun. I was at the v3 planning way back when, and lead some great discussions.

I agree with @jilleJr here. Thats an unexpectedable behavior from a package manager. A Chart.lock file indicates that the end user wants automatic dependency management.
@joejulian An opt-in flag (festure flag) for a stricter dependency management would avoid any breaking changes and can be considered for the current helm version. Pushing this away to helm 4 results in fixed feelings.


Add string validators

This PR adds the ability for string based authentication. This PR is still a WIP but this is the foundation of how it will work.
You can now make a validator doing something like:
validation = {
    "foo": 'email:required|length:1,2',
}

This PR also adds the ability to do a bit of both validation inside a list using both string and class based validation. A single validation can now be written a few ways:
validation = {
    "foo": 'email|length:1,8|required',
}

or
validation = {
    "foo": [Email(), Length(1,8), Required],
}

or
validation = {
    "foo": ['email|length1,8', Required],
}

Notice we can pass in several string arguments as a validator in addition to the normal class based validation

We'll also need to explore nested validations with this 🤔 Not entirely sure how that will work. We will need some kind of recursion i would think

so single nested validation (primarily the not.) are now written like this:
validation = {
    "foo": ['email|not.length1,8', Required],
}

just prepending a not. in front of it and use dot notation

I made some changes and this PR now supports 2.6 and above as well as passes all tests

I have to finish adding more tests so don't do anything with this yet

I'll have time to give this more attention on Monday, but for now the main thing that jumps out at me is that you run into problems if the parameters of the validators contain any of the symbols you're using as delimiters.  For instance, if you split on |, then you'll break validators with strings containing |. If you're splitting arguments on comma, then you'll get a nonsense result if a parameter contains a comma. This is going to have to be a little more sophisticated in terms of how you do your parsing.

@mansam right in that case you won't be able to use string validation for that segment of the validator, you'll have to use a combination like:
validation = {
    "foo": ['email|length1,8|range|0,10', InstanceOf(SomeClass), Pattern(r'some_regex_using_|')],
}

@mansam also i need to make some slight changes and more testing. 90% of the tests also pass with the str validation but i'm gonna see if we can support more edge cases or at least throw exceptions to warn users

Simpler validation definitions for 90% of use cases plus overall developer happiness. Most validations don’t need to check for commas for pipes. At least for any of Masonite developers validations which are real world validation checks. Those rare edge cases won’t have fall back to the star validation, they will just never use it.
Don’t feel pressured to accept it if you do not want to. I don’t want you to feel like Masonite community is taking over the future of the project. I can take this and release a new package under a different pypi name under the Masonite namespace if you feel that is better for you. I completely that

I don't want you to think I hate the idea in https://github.com/mansam/validator.py/pull/21 on the face of it, I just want to see if we can do it without arbitrary caveats in the implementation. That will probably mean a more sophisticated engine for parsing out the strings, or perhaps a different syntax, or both.

@josephmancuso If this covers your needs I'll accept it. Does this need any further work?

Typing this out as you replied:
I've been thinking about this PR after the feedback. The more i think about this the more i feel this would actually be better off as a wrapper around this library inside Masonite 🤔 . This way we keep this package as is but applications that need this support could build it in?
what do you think? I don't think we can build this without having some caveats that can be debugged by throwing correct exceptions.

That sounds good to me as well. I just didn't want to hold you back unnecessarily.

sweet :)


Set radius via AnnotationContext

Is your feature request related to a problem? Please describe.
In order to visualize geometric data with dense or overlapping parts, line/point radius is useful to (de-)emphasize specific elements, or ensure that specific shapes override others by giving them a larger radius that will draw on top. In these applications, the radius does not need to be set per instance or even per entity, but only per class.
Describe the solution you'd like
Add a field to AnnotationInfo which specifies the radius for shapes which use it.
Describe alternatives you've considered
Keep the status quo; users with this problem will have to use .with_radii().with_class_ids() instead of just .with_class_ids().

…hm, this is almost like #5721, isn't it — sorry for the clutter. However, I'd like to emphasize that I want radius per class and not solely “draw all lines thicker/thinner by default”.


What's the version of TFLITE and MACE in bench?

I found version of SNPE and NCNN in WORKSPACE file, but not found TFLITE and MACE's version number. Thanks in advance.

@lydoc Thanks. 😃


Integrating search and eligibility tools into head

Updated agents.py, prompts.py.  Adjusted config.py loading .env file.  Updated credentials template.

abandoning PR


All non-replaced players disappear

Worked fine last update, now everyone not using the custom models disappear

Related to this https://github.com/BunyaPineTree/LethalCompany_ModelReplacementAPI/issues/24#issuecomment-1879295918


Revert "Merge #8386"

This reverts commit 31d2b3b9cb75a09c93655b38377ed5f4144ebaf0, reversing
changes made to 1643d1534b92eef1cf55631aba3ca9289c3cea72.
bors try

Let's see if #8500 isn't too robust

bors try

science still works, good.


Implement User functionality mainly in reducer

Related Issues

https://github.com/tymsai/marmoym-client/issues/101
Description

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (one that would cause existing functionality to change)
[x] New feature (non-breaking change which adds functionality)

Testing

[ ] Tested in some way, if yes, the description should be followed.

Affected subsystem(s)

Checklist

Commit message to follow commit message guideline

Great. Go ahead and squash and merge. Remember to keep the guideline


Add simulation metadata

The model, parameterization and how they were simulated are intimately connected. For example, how many mesh points did I need in my model to achieve convergence or the desired accuracy? We should add some simulation metadata so that people providing a BPX can say "I tested this model on this platform using this approach and it worked". Obviously, users are free to use a different platform, but this is useful (and sometimes necessary information)
Things like how the model should be discretised in space (method, gridpoints, etc.) and solver settings.

Please take a look at a suggestion in the discussions.


Split metric-chart.component, allow multiline while fetching server

metric-chart.component is split between metric-chart-static.component and metric-chart-dyn.component because they are quite different, used for different use cases, many mutually exclusive fields and having both together adds avoidable complexity
The "dynamic" component (ie. fetching data from server) now accepts several input metrics, which result in multiline chart.

@mtho11 , as you can see I've split metric-chart.component into two different components (explained above) , but I haven't found very nice names for their HTML tag, do you think it's ok or maybe you're better than me on naming? :)
Currently the static one keeps previous HTML: <hk-metric-chart ...>
and the dynamic one: <hk-metric-chart-dyn ...>

Please don't merge yet cause I want to release alpha-4 first without this PR


Add Apache Spark 3.3.3 Dockerfiles

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

cc @Yikun

Thank you @Yikun . Merged to master.


Instant matcher test

@heikofriedrich do we still need this branch?

oops - should have been against devel.


Userspace implementation of RemoveAllowedIP recreates wireguard inface

Describe the problem
RemoveAllowedIP is not an update operation. Because of this when this function is called on platforms depending on the user space implementation of wireguard it results in all connections being dropped because it tries to use a port that is already in use.
To Reproduce
Steps to reproduce the behavior:
Deselect one of the routes from the new "Network Routes" menu
Expected behavior
Expect removing an IP from peer ACL does not recreate wireguard interface
Are you using NetBird Cloud?
NA
NetBird version
main
NetBird status -d output:
Not applicable
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@mlsmaycon latency base routing will not work without fixing this bug, because routes need to be successfully removed from allowed list without recreating wg iface

Once you set the operation to update_only, you hit the following error

I have a patch that fixes this


stat_bin() overlaid_bar transparency level

There doesn't seem to be a way to change the alpha/transparency level for either stat_bin or geom_bar.

stat_bin() has a 'fill','transparent' option but the alpha level is fixed. For both stat_bin()and geom_bar() you can set transparency after the draw call is issued by using set() and the handles as described here https://github.com/piermorel/gramm/issues/68


Issue #14: Updated Readme File

Added Vite Pnpm and Vercel in the Project use section.
Updated Preview Image.

@priyankarpal can you share your blog website repository url, I want to see the tech stack, and the file structure.

@priyankarpal can you share your blog website repository url, I want to see the tech stack, and the file structure.

which blog website?

@priyankarpal can you share your blog website repository url, I want to see the tech stack, and the file structure.

which blog website?

You have mentioned blogs on your github

@priyankarpal can you share your blog website repository url, I want to see the tech stack, and the file structure.

which blog website?

You have mentioned blogs on your github

oh! I write on hashnode(currently inactive) & I used gh action to show the blogs on my GitHub README file.

@priyankarpal can you share your blog website repository url, I want to see the tech stack, and the file structure.

which blog website?

You have mentioned blogs on your github

oh! I write on hashnode(currently inactive) & I used gh action to show the blogs on my GitHub README file. https://itspp.hashnode.dev/

Yes, so where do you store the blogs, I am working on next Js blog website, but I am having some doubts that's why I asked.

@priyankarpal can you share your blog website repository url, I want to see the tech stack, and the file structure.

which blog website?

You have mentioned blogs on your github

oh! I write on hashnode(currently inactive) & I used gh action to show the blogs on my GitHub README file. https://itspp.hashnode.dev/

Yes, so where do you store the blogs, I am working on next Js blog website, but I am having some doubts that's why I asked.

only hashnode. I don't use any hosting platform to store my blogs.

Okey.

Everything looks good, but please don't change the screenshot as the website looks the same as it did earlier. If you can make that change, I can merge it.

Everything looks good, but please don't change the screenshot as the website looks the same as it did earlier. If you can make that change, I can merge it.

The current preview image doesn't show all the available options, that's why I changed it, you can check once again.
After that, If you say I will remove it.

That's a good thing that you did, but the UI in my system doesn't look like the screenshot you uploaded

We can get this UI at 100% zoom

That's a good thing that you did, but the UI in my system doesn't look like the screenshot you uploaded
We can get this UI at 100% zoom

I have updated with the image you provided.

Perfect, @dhawal-793  Keep up the good work, and thank you for your contributions


DOC-6703 explicitly parse SHOW BACKUP options

Addresses DOC-6703:

Added an example to show how a user can now pass and check multiple KMS URIs in SHOW BACKUP
Updated the options parameter and note for locality aware incremental_locations

Preview:

Take & Restore Encrypted Backups
SHOW BACKUP

via Slack - @msbutler wanted to confirm with the team when describing a locality aware backup with kms encryption, whether it is more appropriate to call it just that, “a locality aware backup with kms encryption”? Or, call it a “backup with multi region encryption”?
@livlobo

I prefer “a locality aware backup with kms encryption”

fwiw: i see the phrase "multiregion encryption" elsewhere in the docs. It seems worth zapping those in this pr, but I'd be fine replacing them later, so long as there's an issue to track that.

fwiw: i see the phrase "multiregion encryption" elsewhere in the docs. It seems worth zapping those in this pr, but I'd be fine replacing them later, so long as there's an issue to track that.

removed instances of "multiregion encryption" and replaced with "locality-aware backup with kms encryption"


[SPARK-48227][PYTHON][DOC][FOLLOWUP] Fix two typos

What changes were proposed in this pull request?
Fix two typos

Merged to master.


Do not use Data.Tuple.Nested./\ (fix bundling issue downstream)

Pre-review checklist

[x] All code has been formatted using our config (make format for Purescript, nixpkgs-fmt for Nix)
[x] All Purescript imports are explicit, including constructors
[ ] The integration and unit tests have been run (npm run test) locally
[ ] The changelog has been updated under the ## Unreleased header, using the appropriate sub-headings (### Added, ### Removed, ### Fixed), and the links to the appropriate issues/PRs have been included

Isn't this already taken care of by #633?

@ngua I am not sure we should approve that PR.


Its possible add a content to the pdf?

I, i need add a header and a footer only to the pdf, not to the component but i am having difficulty
Its possible do something like this?
thanks for the lib

Hi @willianmesko I don't see how you could do that. For more complex scenarios, I would suggest you take a look at https://react-pdf.org/.


nodetool: permission issues when running nodetool

This has been discovered by:
https://jenkins.scylladb.com/job/scylla-master/job/artifacts/job/artifacts-centos7/34/
and a bunch of other artifact test on other distributions.
At some point, when running nodetool, cassandra-env.sh runs, this results in a failure on permission denied.
A recent commit : afd40c7 have added a creation of logs directory for the garbage collector and it
tries to create it in $CASSANDRA_HOME those are the relevant lines:
https://github.com/scylladb/scylla-tools-java/blob/d3e5bbe208e1fd3dea7f4bdf82489c14b2f3e210/conf/cassandra-env.sh#L89-L108
In this particular failure, there is an attempt to create: /opt/scylladb/share/cassandra/logs which fails
on permission denied.
17:46:27  < t:2020-03-29 14:46:24,571 f:sct_events.py   l:791  c:sdcm.sct_events      p:INFO  > mkdir: cannot create directory ‘/opt/scylladb/share/cassandra/logs’: Permission denied

AFAICT this is a new behavior (the dir creation) but it might be necessary. So the options are:

(@syuu1228) the permissions on   /opt/scylladb/share/cassandra are not right.
(@elcallio) maybe there is something else that needs to be merged with this
There is a restriction on the user that should run nodetool (sudo / scylla user) - I couldn't find this in the docs.

/cc @roydahan

Likely fixed by the patch [PATCH scylla-tools v1 1/3] dist/common: Add Java version detection to cassandra.in.sh on our mailing list.

Btw, the bug was introduced in<PHONE_NUMBER>e387040c1eeaf739f850355bc23aba, not sure why bring-your-own dtest did not catch it.

Hi @penberg I can still see the permission error with latest fixed scylla-tools-java.
DB log:
https://cloudius-jenkins-test.s3.amazonaws.com/13892b84-bf1d-47d7-9110-d82dea9bc5b5/20200409_171438/db-cluster-13892b84.zip
test id: 13892b84-bf1d-47d7-9110-d82dea9bc5b5
test job: https://jenkins.scylladb.com/job/scylla-staging/job/amos/job/longevity-large-collections-12h-clone/14/
sct log:  https://cloudius-jenkins-test.s3.amazonaws.com/13892b84-bf1d-47d7-9110-d82dea9bc5b5/20200409_171438/sct-runner-13892b84.zip
Scylla-tools-java commit: https://github.com/scylladb/scylla-tools-java/commit/2f73d3ae377
`rpm -qa |grep scylla` on longevity-large-collections-12h-lar-db-node-13892b84-1 [<IP_ADDRESS> | <IP_ADDRESS>
- scylla-python3-3.7.7-0.20200405.df48b5ec9d5.x86_64
- scylla-kernel-conf-666.development-0.20200405.df48b5ec9d5.x86_64
- scylla-conf-666.development-0.20200405.df48b5ec9d5.x86_64
- scylla-jmx-666.development-20200406.773a82d5396.noarch
- scylla-debuginfo-666.development-0.20200405.df48b5ec9d5.x86_64
- scylla-tools-666.development-20200406.2f73d3ae377.noarch
- scylla-machine-image-666.development-20200406.b06535de7a4.noarch
- scylla-server-666.development-0.20200405.df48b5ec9d5.x86_64
- scylla-tools-core-666.development-20200406.2f73d3ae377.noarch
- scylla-666.development-0.20200405.df48b5ec9d5.x86_64

04-09 04:19:52<EMAIL_ADDRESS>Running command "nodetool  status "...
04-09 04:19:52<EMAIL_ADDRESS>mkdir: cannot create directory ‘/opt/scylladb/share/cassandra/logs’: Permission denied
04-09 04:19:54<EMAIL_ADDRESS>Datacenter: eu-west
04-09 04:19:54<EMAIL_ADDRESS>===================
04-09 04:19:54<EMAIL_ADDRESS>Status=Up/Down
04-09 04:19:54<EMAIL_ADDRESS>|/ State=Normal/Leaving/Joining/Moving
04-09 04:19:54<EMAIL_ADDRESS>--  Address      Load       Tokens       Owns    Host ID                               Rack
04-09 04:19:54<EMAIL_ADDRESS>UN  <IP_ADDRESS>  284.97 KB  256          ?       9354fe86-4c5f-473f-a07c-1a7f49d22ca2  1a
04-09 04:19:54<EMAIL_ADDRESS>04-09 04:19:54<EMAIL_ADDRESS>Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless
04-09 04:19:54<EMAIL_ADDRESS>STDERR: mkdir: cannot create directory ‘/opt/scylladb/share/cassandra/logs’: Permission denied
04-09 04:19:54<EMAIL_ADDRESS>Command "nodetool  status " finished with status 0

Decommission nemesis:
Node longevity-large-collections-12h-lar-db-node-13892b84-2 [<IP_ADDRESS> | <IP_ADDRESS>] (seed: False): Command 'nodetool  cleanup large_collection_test' error:          Encountered a bad command exit code!

| Command: 'nodetool  cleanup large_collection_test'

| Exit code: -1

| Stdout:

| Stderr:

mkdir: cannot create directory ‘/opt/scylladb/share/cassandra/logs’: Permission denied
WARN  15:41:11,656 Small cdc volume detected at /cdc_raw; setting cdc_total_space_in_mb to 1918.  You can override this in cassandra.yaml
WARN  15:41:11,662 Only 9.122GiB free across all data volumes. Consider adding more capacity to your cluster or removing obsolete snapshots

Oh, interesting. The fixes for this issues were related to JVM detection (nodetool didn't run at all), but looks like that "permission denied" issue was another, possibly unrelated issue. Let me reopen this ticket as suggested by @fruch.

@elcallio Perhaps the Java 11 support merge broke something? Are we even supposed to write logs to /opt/scylladb/share/cassandra/logs?

@fruch is the test uses nodetool as it should (as root or as scylla:scylla user?)

@eliransin No it's running as centos user, as it was since forever :disappointed:

@slivne / @tzach  it is my understanding that all of the scylla-tools-java binaries should be either run with root permissions or under scylla:scylla user. is this correct?
If not, we should fix it as it is brought up too many times (see #118) . It this is what suppose to be, I suggest to add this limitation to the documentation and in parallel maybe edit cassandra-env.sh to warn if it detects it is run without the proper permissions.

@slivne corrected me, there shouldn't be any permissions issue with nodetool. There are some other tools that might have to be run with certain permissions (i.e sstabledump) but that is because it needs an access to the scylla data folder which is owned by user scylla:scylla. Nodetool doesn't need to access any directory ( except for logging purposes which is what we see here) so it is a bug
in nodetool and not in the documentation.

OK, it is obvious that this logs folder which is always created in: $CASSANDRA_HOME/logs,
which translates in our case to:
/opt/scylladb/share/cassandra/logs
I am pretty sure that we should do several things in the context of this issue:

To create this logs folder in advance (at install time and not at runtime)
In order to do this the logs directory write permissions should match to nodetool execute permissions. (or the logging can't happen)
At runtime we can add a check if this folder exists, if not then attempt to create it, if we can't, issue a warning and skip the gc logging. The only thing we will lose from it is the java gc logs not being created.
@penberg @elcallio any thoughts about that?

We can see this issue in 4.1.rc0 testing, (4.1.rc0-0.20200511.0760107b9fa)

https://jenkins.scylladb.com/view/scylla-4.1/job/scylla-4.1/job/artifacts/job/artifacts-ami/23
https://jenkins.scylladb.com/job/scylla-4.1/job/longevity/job/longevity-large-partition-8h/2/

fixed by https://github.com/scylladb/scylla-tools-java/commit/80e8dab844262139bc0bd2b0ed8ce12cf43a26de

@slivne do you want this backported?

already done 6ce3dd19252545c8ea74522a45f1e87225d1d53e :)


Besu does not follow the standard api for eth get transaction by hash

PR description
Updated eth_getTransactionByHash, to always return blockNumber, blockHash or transactionIndex.
Null in this case.
Fixed Issue(s)
"fixes#3868"
Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if
updates are required.

Changelog

[ ] I thought about the changelog and included a changelog update if required.

Also DCO strikes again https://github.com/hyperledger/besu/pull/3906/checks?check_run_id=6616809213


CPTRA_TIMER_CONFIG has default value 0

Firmware team needs to use CPTRA_TIMER_CONFIG to initialize the Watchdog Timer timeout value according to the system clock freuqency.
Default value is currently 0, as the expectation is for SOC to initialize this register with the value of the clock period provided to Caliptra.
Firmware team has a request for non-zero initialization value. What should that value be?
Proposals:

Static 450 MHz value (2222 ps)
Some value derived from an RTL parameter set by integrators (higher effort solution, as this requires modifications to the RDL and complete Verilog hierarchy).
Some value derived from a SystemVerilog macro, if defined at compile time.

NOTE: 0-value scenario must still be accounted for as SOC can program any arbitrary value to this register.

The addition of CPTRA_WDT_CFG (per issue #177) resolves this request. Firmware team will accommodate a 0 value in the CPTRA_TIMER_CONFIG register by using a default hardcoded clock frequency divider when necessary, and this register is left with a reset value of 0.


Add Filter in sGetNotes

i need to extend the profuctinfo in the wishlist,
for example Variantinformations. Therefore i need the ListProduct-Object.
I could create it again but it would be faster if i use the same object.

Dear Contributor,
Thank you for your contribution to Shopware. We value your engagement.
Unfortunately we have to close all existing Pull Requests.
This is due to the new Shopware 5 Major Release and a restructuring of the branch names.
If your contribution is still relevant for Shopware 5, a new pull request is highly appreciated.
We are very sorry for this inconvenience.
Greetings from the Shopware Team.


Improve sandcastle redirects to member detail pages

Closes #18
Redirect to member details for specific method, property, or event
Methods, Properties, Events go to anchors on datatype page

Fixes Issue #19


network _route error on oralinux(redhat)

hi,
when adding a resource for default route i get an error, below details:
resources:
network_config { 'em2':
ensure    => 'present',
family    => 'inet',
ipaddress => '<IP_ADDRESS>',
method    => 'static',
netmask   => '<IP_ADDRESS>',
onboot    => 'true',
}
network_route { 'default':
ensure    => 'present',
gateway   => '<IP_ADDRESS>',
interface => 'em2',
netmask  	=> '',
network   => 'default'
}
log:
Notice: /Stage[main]/Interfaces::Interfaces::Redhat::"servername"/Network_route[default]/ensure: created
Error: /Stage[main]/Interfaces::Interfaces::Redhat::"servername"/Network_route[default]: Could not evaluate: undefined method `options' for #Puppet::Type::Network_route::ProviderRedhat:0x7f959ff1e3c0
tried running in debug mode but no relevant info came up.
any ideas?

Please run with --trace instead of debug and share at least the top of the resulting trace. Thanks!

Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for <###server_name###>
Info: Applying configuration version '1431851153'
Notice: /Stage[main]/Interfaces::Interfaces::Redhat::Fat-dbstage1/Network_route[default]/ensure: created
Error: /Stage[main]/Interfaces::Interfaces::Redhat::Fat-dbstage1/Network_route[default]: Could not evaluate: undefined method options' for #<Puppet::Type::Network_route::ProviderRedhat:0x7fb9b54cd1e8> /var/lib/puppet/lib/puppet/provider/network_route/redhat.rb:87:in format_file'
/var/lib/puppet/lib/puppet/provider/network_route/redhat.rb:82:in each' /var/lib/puppet/lib/puppet/provider/network_route/redhat.rb:82:in format_file'
/var/lib/puppet/lib/puppetx/filemapper.rb:265:in flush_file' /var/lib/puppet/lib/puppetx/filemapper.rb:49:in flush'
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:990:in flush' /usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:24:in evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:204:in apply' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:217:in eval_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:147:in call' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:147:in evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:327:in thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:326:in thinmark' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:147:in evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/graph/relationship_graph.rb:118:in traverse' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:138:in evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:169:in apply' /usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:149:in with_destination'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction/report.rb:112:in as_logging_destination' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:168:in apply'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:120:in apply_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in apply_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:227:in run_internal'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:134:in run' /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in override'
/usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in override' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:133:in run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:47:in run' /usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:20:in lock'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:47:in run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:117:in with_client'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:44:in run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:82:in run_in_fork'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:43:in run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:179:in call'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:179:in controlled_run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:41:in run'
/usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:356:in onetime' /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:322:in run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:507:in plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:488:in exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:146:in run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:92:in `execute'
/usr/bin/puppet:8

Thanks!
This is something funny from the redhat provider for network_route then.
Not quite sure how these methods are spawned in the first place. Is this some sort of FileMapper magic, @adrienthebo ?

https://github.com/adrienthebo/puppet-filemapper/blob/master/lib/puppetx/filemapper.rb#L207-L227 creates methods for each property defined on the type, which should be created because of https://github.com/puppet-community/puppet-network/blob/master/lib/puppet/type/network_route.rb#L68-L73 - or at least that's my guess.

Awesome, thanks for the pointers.
I'm in no good position to reproduce this but I think I spotted the typo causing this issue.
I took the liberty to push a fix right to master. @oferzi23 can you run from master once to see if the issue is indeed resolved?

solved.
thanks

Thank you for reporting.
Before we close - @jhoblitt do you think this warrants a bug fix release? There are some PRs in flight that might be worth holding out a few days for (I'm looking at you #62).

@ffrank I think its worth an immediate patch release since the fix was trivial.

Okay, cool. This is a manual process for this module, right? Anything I can do to assist?

Closing because this has been fixed and released with 0.5.0 in the forge. If there is a reason to reopen it, let me know.


Database

Hi
thank for this great dash
When I try to Upload Database
" Error
SQL query:
USE simple_login
MySQL said: Documentation
#1049 - Unknown database 'simple_login'"

Ok I unchecked Importing  "Enable foreign key checks" and it works


Support container options

There is a process directive called containerOptions which allows the user to pass custom docker options to the task. Normally these options are inserted into the task wrapper script, but since Float is container-native, it must handle these options directly if they are to be supported.
See AwsContainerOptionsMapper for an example of how AWS Batch supports it.
General support is not super important, especially if it would be complicated to implement. For Fusion, however, we need to run the container in privileged mode, so we'll need to at least support that option.

After MMC 2.3, we add an option extraContainerOpts to pass extra container options.  But it only supports privileged option for now.  Error options triggers invalid argument error.  Luckily, it's enough for fusion support.

Since we added enough for Fusion support, closing this for now. Someone can re-open later if they need more options.


Profile exception in silx view 0.10.1

I start silx viewer in oar with the following command.
gpu2-1403:/data/id19/inhouse/nemoz/45.48_129keV_PIN4541-12_030_] silx view 45.48_129keV_PIN4541-12_030_slice_0039.edf
The I get error message when I attempt to drag an oblique profile.
The edf file has been copied in /tmp_14_days/nem
ERROR:silx.gui.qt._qt:<class 'TypeError'> linspace() got an unexpected keyword argument 'dtype'   File "/usr/lib/python3/dist-packages/silx/gui/plot/Profile.py", line 617, in _plotWindowSlot
self.updateProfile()
File "/usr/lib/python3/dist-packages/silx/gui/plot/Profile.py", line 659, in updateProfile
method=self.getProfileMethod())
File "/usr/lib/python3/dist-packages/silx/gui/plot/Profile.py", line 682, in _createProfile
method=method)
File "/usr/lib/python3/dist-packages/silx/gui/plot/Profile.py", line 357, in createProfile
dtype=numpy.float32)

dtype was introduced in numpy 1.9.0 The default debian 8 supports 1.8
It seems we forgot to ask TID to install the numpy backup available for Debian 8.
@CaptainNemoz Use rnice9.

This incompatibility with numpy 1.8.2 went through.
I asked to upgrade the installed version of numpy.

So we can close it?

We don't support debian8 any longer.


[Game] : Maxico Escape

Title and Issue number

Close ##1933

Checklist:

[] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

Demo vedio:
https://github.com/pranjay-poddar/Dev-Geeks/assets/98798977/32c7f83a-d52a-4405-bf07-abd487937691

@MohitGupta121 Please review the code mow there are no image i have uploded all image then i have used their

Ok sir


classpath-initial-native: build fail with --no-setscene

classpath-initial-native fail to build in do compile stage when build with --no-setscene .
This issue is observed sporadically but when run 10 or 20 times . able to reproduce this issue.
do_compile.log

Hi,
thanks for reporting this issue.
To be able to reproduce it, can you please add the revs (meta-java and oe-core) you're using?
Thanks & regards;rl

@g0hl1n  Thank you for responding ,  I am using meta-java dunfell branch. meta-java .
https://git.yoctoproject.org/meta-java/commit/?id=3af889e112ddb5c677990535b1e0209c08f68e3f

@g0hl1n  https://lists.openembedded.org/g/openembedded-devel/topic/meta_java_dunfell_bug/83840423
Observe the similar issue again.

Which poky.git and meta-openembedded.git ref do you use?
I'm unable to reproduce with current dunfell states.

@g0hl1n  all are sync with dunfell branch. issue is not reproducible always. but if you run with --no-setscene this is issue is observed sporadically. sometimes 1/20 , or 1/50 build

I would suggest setting up a containerized build loop to exercise the build 1,000 times or more to get some real feel for the probability. This is how some hard to find bugs have been captured in the past (in bitbake).

Thanks for the suggestion @moto-timo. I was planning to set up some CI build infrastructure for quite a long time. I guess this is now the final trigger for it :wink:
I'll take a look at it as soon as possible (will be in about 2 weeks).


'ModuleKt' crash appear in Kodein when using androidX

Hi Kodein Team, i have a kind issue in internal kodein library. The issue logged in my crashlytics like below:

written log below:
Fatal Exception: java.lang.VerifyError: Superclass androidx.core.app.f of androidx.activity.ComponentActivity is declared final (declaration of 'androidx.activity.ComponentActivity' appears in /data/app/mobile.android.tribun-wXwC_8sFAMNkqzRhTv7t9Q==/base.apk)
       at org.kodein.di.android.x.ModuleKt$androidXContextTranslators$1.invoke(ModuleKt.java:51)
       at org.kodein.di.android.x.ModuleKt$androidXContextTranslators$1.invoke(ModuleKt.java:2)
       at org.kodein.di.internal.DIBuilderImpl.import(DIBuilderImpl.java:123)
       at org.kodein.di.internal.DIBuilderImpl.importOnce(DIBuilderImpl.java:32)
       at org.kodein.di.DI$Builder$DefaultImpls.importOnce$default(DI.java:7)
       at org.kodein.di.android.x.ModuleKt$androidXModule$1.invoke(ModuleKt.java:12)
       at org.kodein.di.android.x.ModuleKt$androidXModule$1.invoke(ModuleKt.java:2)
       at org.kodein.di.internal.DIBuilderImpl.import(DIBuilderImpl.java:123)
       at org.kodein.di.DI$Builder$DefaultImpls.import$default(DI.java:7)
       at com.tribunnews.app.TribunNewsApplication$di$2.invoke(TribunNewsApplication.java:14)
       at com.tribunnews.app.TribunNewsApplication$di$2.invoke(TribunNewsApplication.java:2)
       at org.kodein.di.internal.DIImpl$Companion.newBuilder(DIImpl.java:5)
       at org.kodein.di.internal.DIImpl$Companion.access$newBuilder(DIImpl.java)
       at org.kodein.di.internal.DIImpl.<init>(DIImpl.java:7)
       at org.kodein.di.DI$Companion$lazy$1.invoke(DI.java:6)
       at org.kodein.di.DI$Companion$lazy$1.invoke(DI.java)
       at kotlin.SynchronizedLazyImpl.getValue(SynchronizedLazyImpl.java:20)
       at org.kodein.di.LazyDI.getBaseDI(LazyDI.java:2)
       at org.kodein.di.LazyDI.getContainer(LazyDI.java)
       at org.kodein.di.DIAwareKt$Instance$1.invoke(DIAwareKt.java:16)
       at org.kodein.di.DIAwareKt$Instance$1.invoke(DIAwareKt.java:4)
       at org.kodein.di.DIProperty$provideDelegate$1.invoke(DIProperty.java:54)
       at kotlin.SynchronizedLazyImpl.getValue(SynchronizedLazyImpl.java:20)
       at com.tribunnews.app.TribunNewsApplication.getCrashlytics(TribunNewsApplication.java:2)
       at com.tribunnews.app.TribunNewsApplication.onCreate(TribunNewsApplication.java:14)
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
       at androidx.test.runner.MonitoringInstrumentation.callApplicationOnCreate(MonitoringInstrumentation.java:2)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
       at android.app.ActivityThread.access$1100(ActivityThread.java:199)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:193)
       at android.app.ActivityThread.main(ActivityThread.java:6669)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

I use kodein version:
implementation 'org.kodein.di:kodein-di-framework-android-x:7.2.0'
How can i solve this issue? thanks

Hello @superdiazzz
Do you have some more context to share, helping us to reproduce.
Do you use specific bindings? scopes?

Unfortunately i can not produce the crash. However, when i tested with similar type device i don't received any crash.
This is how i initialize Kodein in my Application class

also I need crashlytics reference inside onCreate (Application class), so i also call object di variables (CMIIW).

Not sure me can do something about this, as we can't reproduce it. This seems really context (device?) dependent.
However, might worth following this
https://issuetracker.google.com/issues/237785592
This could be an R8 issue.

Not sure me can do something about this, as we can't reproduce it. This seems really context (device?) dependent.
However, might worth following this https://issuetracker.google.com/issues/237785592 This could be an R8 issue.

Hi @romainbsl , i will try to figure out from this link. Speaking about my implementation before, does it correct if i call crashlytics params in onCreate of application? I don't see other sample implementation calling params instance inside application class (Always found in Activity or Fragment)

Sorry for the late response.
I don't think it matters where you call crashlytics, either from Application / Activity / Fragment is fine.
Just, in general, we must be careful with the lifecycles. Bit this is a another topic.


only allow next to be called once

i'm not sure if i have permissions to update this on npm.

:shipit:


Basic html elements for displaying questions

🚀 What is the feature?
For our quiz app we need some basic html elements in which we can display a question.
Therefore, we need html elements for the following components:

question_id
category
question
answer possibilities (array)
correct answer index

The respective issue for the data structure of the questions is already written, but not implemented yet. Therefore, just focus on adding the html elements as a blueprint into the index.html file, without actual content in them. Maybe just fill with some placeholder values, such that we see something.
Note: Don't worry about styling for now. Another issue for that will be written.
ℹ Additional info
Add a screenshot of your changes - if helpful.
Make sure the app works, otherwise the PR cannot be approved.
Link the PR with this issue (in the right panel "Development" -> select issue).

I would like to update the html file with the respective fields for the questions.
If i could have this assigned please.

Yes, please! Happy coding 🕺


frontend: fixes misterious pixel corner in table border

Fixes a rendering bug that only showed in Qt app.

rebased

cannot reproduce anymore with Qt 6.2


Account for Rounding Errors when Binning Spike Trains

To revive the conversation in #196 I implemented the fix I suggested in https://github.com/NeuralEnsemble/elephant/issues/196#issuecomment-559087606
I keep running into this issue and I know of multiple other people who currently have to use local hacks to circumvent this.
What do you think @mdenker @dizcza ?

Coverage decreased (-0.002%) to 84.926% when pulling f2cf1bb5d6655573ec722b344484bf4109dd097f on INM-6:fix/binning into 2333599bae88112b37f061708c272c74c41f0c73 on NeuralEnsemble:master.


Report a "no models initialized" error when running a BQL query with no initialized models

ESTIMATE DEPENDENCE PROBABILITY WITH foo FROM bar
If bar is a population with an analysis schema with zero initialized models, then bayesdb attempts to divided by zero and receive a ZeroDivisionError. Instead, raise a BQLError with a comprehensible error message that tells the user that the analysis schema requires initialized models.

Related https://github.com/probcomp/bayeslite/issues/574

Related https://github.com/probcomp/bayeslite/issues/386

Duplicate of https://github.com/probcomp/bayeslite/issues/363


ASAN Reporting yet another Heap-use-after free.

Bug report
Required information:

Operating system and version: Ubuntu
OpenRMF installation type: Source
OpenRMF version or commit hash: 0de31fc90512ad29b9349dada7f77b8a47847245
ROS distribution and version: Galactic
ROS installation type:

Package or library, if applicable:

Description of the bug
ASAN has detected a heap-use-after free in rmf_fleet_adapter full stack trace is here: stacktrace.txt
Steps to reproduce the bug
See #131
Expected behavior
No use-after free.
Actual behavior
ASAN reports a use-after free.
Note: This is flaky behaviour and only occurs once in a blue moon.

I think this might be fixed by https://github.com/open-rmf/rmf_ros2/pull/146

This should be fixed by #146, so we'll close this issue. Feel free to reopen if it ever happens again.


docker-dlc.sh does not check if mod-list.json exists

I'm trying to run a space age server using https://github.com/Kariton/factorio-server-charts/tree/space-age-values which internally uses factorio-docker but my pod is failing with:
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=true
+ PRESET=
+ SAVE_NAME=factorio-space-age
+ BIND=
+ CONSOLE_LOG_LOCATION=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/configs
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/configs/rconpw ]]
+ [[ ! -f /factorio/configs/server-settings.json ]]
+ [[ ! -f /factorio/configs/map-gen-settings.json ]]
+ [[ ! -f /factorio/configs/map-settings.json ]]
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
++ wc -l
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ false == \t\r\u\e ]]
+ ./docker-dlc.sh
Enable mod elevated-rails for DLC
jq: error: Could not open file /factorio/mods/mod-list.json: No such file or directory

That would mean that the mod-list.json is never created.

Everytime I tested it, the mod-list.json was always there. created by the server on startup.
How do you start the container?

Try to use the the latest build docker image once the build is done, it should fix your issue.
Its not perfect but should not cause failing pods anymore.


Changing re: feedback from Lindsey

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Gulp tasks not detected automatically since upgrading to 1.9

VSCode Version: 1.9
OS Version: Windows 7

Steps to Reproduce:

Open a folder with a gulpfile.js
Type task default in the command panel
No tasks detected

Since upgrading to last version (1.9), VS Code doesn't detect Gulp tasks automatically from the gulpfile.js. I tested this on 2 computers and on different projects that were working fine on 1.8 and before.
I found a workaround : use the Configure Task Runner command, let it create a tasks.json and then use the task command.
Is it now the desired behavior? I didn't see any mentions about this in the changelog.
Thanks.

Dups https://github.com/Microsoft/vscode/issues/19743.


[Feature][Data Quality] Data Quality Support Choose Database

close #14405

PTAL @zixi0825

Codecov Report

Merging #14406 (e25e536) into dev (9c92b4b) will decrease coverage by 0.03%.
The diff coverage is 18.60%.

:exclamation: Current head e25e536 differs from pull request most recent head 3e6f4d0. Consider uploading reports for the commit 3e6f4d0 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14406      +/-   ##
============================================
- Coverage     38.49%   38.47%   -0.03%
+ Complexity     4561     4556       -5
============================================
  Files          1237     1237
  Lines         43537    43522      -15
  Branches       4815     4786      -29
============================================
- Hits          16758    16743      -15
+ Misses        24927    24925       -2
- Partials       1852     1854       +2

Impacted Files
Coverage Δ

...scheduler/api/controller/DataSourceController.java
36.36% <0.00%> (-2.35%)
:arrow_down:

...eduler/api/service/impl/DataSourceServiceImpl.java
45.50% <0.00%> (-3.91%)
:arrow_down:

...e/dolphinscheduler/common/constants/Constants.java
75.00% <ø> (ø)

...er/plugin/task/api/utils/DataQualityConstants.java
0.00% <ø> (ø)

.../org/apache/dolphinscheduler/api/enums/Status.java
100.00% <100.00%> (ø)

...ler/data/quality/flow/batch/reader/JdbcReader.java
95.00% <100.00%> (ø)

...ler/data/quality/flow/batch/writer/JdbcWriter.java
85.00% <100.00%> (ø)

...cheduler/plugin/task/dq/utils/RuleParserUtils.java
87.03% <100.00%> (+0.04%)
:arrow_up:

... and 37 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

approval ci run

Please increase the coverage of unit testing

https://sonarcloud.io/summary/new_code?id=apache-dolphinscheduler&pullRequest=14406

LGTM


Shared drive to Ubuntu VM cannot be accessed by root

When sharing the host drive to an Ubuntu VM (xrdp enhanced session), the drive is available for the default user in ~/shared-drives, but root cannot access it. Is there a way to change the configuration so root has access as well?

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

ID: 55dae836-2730-7a91-b162-cd154557d0fd
Version Independent ID: 69c4c00c-f3e6-9710-28fe-6ecdc7731c65
Content: Use local resources on Hyper-V virtual machine with VMConnect
Content Source: WindowsServerDocs/virtualization/hyper-v/learn-more/Use-local-resources-on-Hyper-V-virtual-machine-with-VMConnect.md
Product: windows-server
Technology: hyper-v
GitHub Login: @BenjaminArmstrong
Microsoft Alias: benarm

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


Support Swift Package Manager

Support Swift Package Manager
Add support to SPM
Changed

Add Package.swift
Project folders organization for compatibility to structure Swift Package Manager
Fix Headers Objc
Change load resource into test target

Hi @alanzeino!
Can you analyse this PR?
I'm fixed quantity of changes to better code review and reduce impact of move files

It's been 3+ months since the last activity here. Is this still being considered for merging?

Heading into November with no update @alanzeino

Heading into November with no update @alanzeino

I can't merge anything in this repo anymore, I asked the team at Uber to move the repo to my ownership but didn't hear back (other than telling me to fork it).
When I worked to get ownership of FBSnapshotTestCase from Facebook to Uber back in the day, I had to fork and churn every user of the repo with a new podspec, cocoapod name, etc. If I forked this today, everyone would have to do that again, and it's just not worth it. My wish is that Uber transfer me this repo since they don't maintain it anymore, but they have might their reasons to keep it (cc @briankhsieh), and I don't work there anymore so I don't have much influence on that part. Funny thing is now I work at Facebook I could resurrect the original repo, but it would be madness to make everyone churn their podspec back to the original...
My advice? Use the pointfree snapshot library. If you have Objective-C needs then you don't need SwiftPM support anyway, since I don't think SwiftPM supports Objective-C anyway?

My advice? Use the pointfree snapshot library
Could share more? Not understand how to get the latest update.

Besides is there anything we can do to help you get back the repo? It's ridiculous for Uber to take this repo as a hostage...

My advice? Use the pointfree snapshot library

Could you share more steps to do so? Not understand how to get the latest update.

https://github.com/pointfreeco/swift-snapshot-testing

My advice? Use the pointfree snapshot library

Could you share more steps to do so? Not understand how to get the latest update.

https://github.com/pointfreeco/swift-snapshot-testing

Thanks, it is a new library. I'm still want to keep the current one though, it's solid. Anything we could do to help you to get back the repo?

I'm hoping @briankhsieh could see this. If you could either help to transfer the ownship or you update it. Thank you.

@alanzeino

Funny thing is now I work at Facebook I could resurrect the original repo, but it would be madness to make everyone churn their podspec back to the original...

It might be easier just to change a URL, as long as you have all the commits.
I remember I use SourceTree to change the URL, it is quite simple and quick.
The point is this is a great library, I think people would like to do the change again once they understand the situation here. It will be a pity that we loose this library only because you cannot get the repo and people don't want to churn.

Why don't you download the source of the PR (https://github.com/bfernandesbfs/ios-snapshot-test-case/tree/feature/spm) to your repo and then reference the package in your Package.swift with a relative path .package(url: "Vendor/iOSSnapshotTestCase", from: "1.0.0")
I haven't tried this but it should work and unblock you from having iOSSnapshotTestCase in SwiftPM

Update: I'm working again on getting ownership of the repo again. In the meantime, I'm developing on the project again on my fork:
https://github.com/alanzeino/ios-snapshot-test-case
I've merged in @bfernandesbfs' changes and I'm testing them now. Hopefully within the month I'll have the ability to maintain this repo again and I'll merge my fork back into here.

Great news \o/

@alanzeino how's it going with the ownership transfer?

🥳


Issue invoke AlpacaPaperTrading

Error calling the AlpacaPaperTrading
(FinRl/finrl/meta/env_stock_trading/env_stock_papertrading.py)
from
FinRL/examples/FinRL_PaperTrading_Demo.ipynb

ImportError                               Traceback (most recent call last)
 in
----> 1 paper_trading_erl = AlpacaPaperTrading(ticker_list = DOW_30_TICKER,
2                                        time_interval = '1Min',
3                                        drl_lib = 'elegantrl',
4                                        agent = 'ppo',
5                                        cwd = './papertrading_erl_retrain',
/usr/local/lib/python3.9/dist-packages/finrl/meta/env_stock_trading/env_stock_papertrading.py in init(self, ticker_list, time_interval, drl_lib, agent, cwd, net_dim, state_dim, action_dim, API_KEY, API_SECRET, API_BASE_URL, tech_indicator_list, turbulence_thresh, max_stock, latency)
38             if drl_lib == "elegantrl":
39                 from elegantrl.agents import AgentPPO
---> 40                 from elegantrl.train.run import init_agent
41                 from elegantrl.train.config import (
42                     Arguments,
ImportError: cannot import name 'init_agent' from 'elegantrl.train.run' (/usr/local/lib/python3.9/dist-packages/elegantrl/train/run.py)

To Reproduce
Run FinRL/examples/FinRL_PaperTrading_Demo.ipynb on Colab
Expected behavior
This paper trading demo works pretty smooth without bugs a couple of days ago (Before #915 )
Screenshots

I checked  commit history   ElegantRL/elegantrl/train/run.py
After the commit

03db5bdda409d0b4ce2705340dd5e9be3fd090ee

def init_agent(args: Arguments, gpu_id: int, env=None) -> AgentBase:
were changed to:
def train_agent(args: Config):
I didn't have this issue until today, I assume one of the recent changes for calling the

AlpacaPaperTrading (FinRl/finrl/meta/env_stock_trading/env_stock_papertrading.py)

were deleted?

issue still there, may i know anyone can help?
File "xxx/FinRL/finrl/meta/env_stock_trading/env_stock_papertrading.py", line 40, in init
from elegantrl.train.run import init_agent
ImportError: cannot import name 'init_agent' from 'elegantrl.train.run' (/opt/anaconda3/envs/Python3_10_14/lib/python3.10/site-packages/elegantrl/train/run.py)


[Fix #10671] Fix an incorrect autocorrect for Layout/ArgumentAlignment

Fixes #10671.
This PR fixes an incorrect autocorrect for EnforcedStyle: with_first_argument of Layout/ArgumentAlignment and EnforcedColonStyle: separator of Layout/HashAlignment.
EnforcedColonStyle can return an array value because Layout/HashAlignment cop has AllowMultipleStyles config.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@koic Leave some comment on Issue https://github.com/rubocop/rubocop/issues/10671 . What do you think?

https://github.com/rubocop/rubocop/issues/10671#issuecomment-1138375328
https://github.com/rubocop/rubocop/issues/10671#issuecomment-1138381711

@koic Leave some comment on Issue #10671 . What do you think?

Infinite loop caused by Layout/ArgumentAlignment -> Layout/HashAlignment #10671 (comment)
Infinite loop caused by Layout/ArgumentAlignment -> Layout/HashAlignment #10671 (comment)

It seems we were misplaced. Sorry.
The following comment made my point! Thank you so much!
https://github.com/rubocop/rubocop/issues/10671#issuecomment-1138384853


Leaflet proj refactor (Leaflet beta 1.0.0)

Preparing for future Leaflet 1.0.0!
Update the leaflet-proj-refactor branch examples to work with Leaflet beta 1.0.0 (cdn)
Removed the Wellington example and added an example of Austria for local projections.
The documentation in the master branch should also be updated to state that this branch can be used for Leaflet beta 1.0.0.
It might be nice to have another TMS example.

Looks good to me! :tada: :confetti_ball: :beers:

Added PR #73 to this branch since it wasn't included (fixes behaviour when pinch zooming). See issue #92.


Fellowship UIs

This RFP proposes to invite dapp developers to design, build, and maintain a fit for purpose UI and UX to support all on-chain operations of the Polkadot Technical Fellowship.
The primary goal is “to enable Fellowship members and aspirational candidates to utilise and service this on-chain collective”.
Read here.

Is the idea of this proposal to fund an additional UX or to improve Subsquare and Polkassembly?

Is the idea of this proposal to fund an additional UI or to improve Subsquare and Polkassembly?

This RFP is for funding new teams to build 2 additional UIs. This is because the current UIs don't fully meet the requirements from the Polkadot (Core) Fellowship UX Guidelines.
Note: Subsquare and Polkassembly already have a "Social contract" with OpenGov for their work.

Approved: https://collectives.subsquare.io/fellowship/referendum/250


Transform match chained reduction

Add a new transform dialect match callback to match a pair of reductions
with trailing fully-parallel operations, similar to the case that
appears in stable diffusion. Note that currently the middle
fully-parallel operation is fused into the second reduction at the Flow
level, which would prevent the matching from working in the full pass
pipeline.

Stacked on #11676

Closing stale PR.


is there some config can expose chronos log to specified folder.

does some option such as log_dir to specified the log dir? i found the log_dir is not working. anyone know it?

hi @xiaods, Find the answer you are looking for here: https://github.com/mesos/chronos#debugging-chronos

@elingg the log report the log_dir is invalid parameter. anyone know how to filter the log to specified log file.

chronos use a log4j to write log, so a log4j config file we're using to define how chronos logs.
start chronos with below argument
-Dlog4j.configuration="file:///path/to/log4j.properties"

$ cat /path/to/log4j.properties
log4j.rootLogger=info, stdout, R

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=/path/to/log4j-log/log

log4j.appender.R.MaxFileSize=10MB
# Keep nine backup file
log4j.appender.R.MaxBackupIndex=100

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d %p %t %c - %m%n

Hope to help. Make sure create log directory before start chronos.

@chengweiv5 thanks. it enough.


feat: add overwrite_method to postgresql.to_sql

Feature or Bugfix

Feature

Detail

add overwrite_method to postgresql.to_sql

Relates

#2728

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 67e4162b9ee5530046f63d74348bef2df2d54f44
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Addition of a build system generator

I suggest to reuse a higher level build system than your current make script so that powerful checks for software features will become easier.

CMake
Autotools

There is a pull request adding CMake support here: https://github.com/codeplea/genann/pull/6
Can you tell me more about "powerful checks for software features"? I'm reluctant to add a new build system when Makefiles work fine, but maybe I'm missing the some advantage.

Does a tool like “autoscan” show any software dependencies that you find worth for further considerations?
How do you think about to support more development environments by the reuse of build system generators?

Cmake let's you build on more platforms. I submitted a PR that works on Windows with VC 2017. All the cool kids use cmake.:-)

@keithalewis did you see PR https://github.com/codeplea/genann/pull/6 ?

@codeplea I did now. Sit tight, I am incorporating that into a new PR.

Nothing. I added VS 2017 support.

Reviewing my changes. I  did remove the shared library build franzflasch added. I need that for my Excel add-in implemenation of your code. https://github.com/keithalewis/xllgenann. It is possible to do both, but I was trying to keep things simple.

Can you please add into your Readme a section for others to contribute??? It'd be really helpful.
Or just add a link to it
PS: great work!!

or ninja, rake

needing a build system for a single file .C library
get a job guys.

There is a pull request adding CMake support here: #6
Can you tell me more about "powerful checks for software features"? I'm reluctant to add a new build system when Makefiles work fine, but maybe I'm missing the some advantage.

Sorry, seems i am late in this discussion. My PR #6 makes it easier to integrate genann in other projects. Sure makefiles are simple and easy, but I always need to write my own makefile if I want to use genann in other projects. With my solution it is built as a shared library and can easily be linked into any other projects without fiddling around with makefiles.


Using _Tuple constructors results in runtime error

Elm version 0.18.0
If an Elm program tries to explicitly use the constructor _Tuple2, it will compile without error but will crash at runtime.
val = _Tuple2 "foo" "bar"

The Javascript error is that the variable _Tuple2 does not exist.  It appears that the Elm compiler is generating JS for this situation as if it were a call to the nonexistent _Tuple2 function, instead of a constructor application. (i.e., generating A2(_Tuple2, "foo", "bar") instead of {ctor: '_Tuple2', _0: "foo", _1: "bar"})

SSCCE: (this compiles and then throws a runtime exception)
module Main exposing (..)

import Html exposing (Html, text)

main : Html a
main =
    text (toString <| _Tuple2 "foo" "bar")

This does not parse in the 0.19 code I am working with. Thanks for the report!


Starling 2

Just curious as when Starling 2 rolls out and Feathers, will this be compatible then?

I have started to look into rudimentary support for Starling 2.0, but it is not likely to be fully supported, no, unless I get help to implement it. To make it really good, I would have to spend time that I currently do not have.
I will do my best, however.

Totally understand. It was more that I have some apps I am releasing that use feathers 100% and was looking into using the drawing api. But when feathers updates, he is requiring 2.0 so I guess I will have to wait.
If I knew more about the low level of starling I would gladly help get it going but I don't think I know enough to be of help right now.

+1

+1

We fell in love with this extension when we first found it. Used RoundedRectangles all over the place, and still use it to draw some interesting shapes dynamically.
But beyond that, we didn't touch the rest of the functionality.  Perhaps a survey of what people use most is in order.  That way, we can identify the best features of this extension that are wholesale missing from Starling.
Also, for what it's worth, we ended up having major lost context issues with RoundedRectangle. Couldn't find a reliable way around it (especially on android). So we went with a set of scale 9 oval textures instead.  They don't take much texture space and can be scaled to whatever size necessary with minimal quality sacrifice.   We have oval outlines too to replace the need for strokes.  The textures are all white -- we use starling color tinting to customize as needed.
Would love to know how others are using the extension and whether there are other Starling workarounds (because IonSwitz is very busy!!)

I ended up using the native Flash Graphics API and with Feathers I have invalidation. So in some of my really complex sequencers, I needed dynamic but "static" backgrounds of grids and such. So I just end up drawing all my new assets during a change for the component and create an atlas using Bitmap data draw(), then load those textures into Feather's Scale9 or Image components.
This seems to work really well performance wise, I am only drawing on invalidation. I just needed something to work when I switch to Feathers 3 and Starling 2.

I am hoping that the problem with lost context issues now have been fixed. The Program cache wasn't being cleared out properly. If you have code that didn't work before stored away somewhere, please get the latest sources and try again.

+1 👍
Is there any change it will be compatible with the release V2 of Starling ?
Thanks a LOT! ! & Keep up the good work.

+1

Thanks for the support and desire to get this updated to 2.0, but I simply do not have the time. I don't know of anyone else of the maintainers of this extension who have the time either. This is very unfortunate, and I am really sorry about this.

That's not good for me.. :-1:

For what it's worth.. was using it to also do rounded rectangles.. bye bye Shape()'s.

+1

+1

+1

+1

+1

+1

Unfortunately, nothing has changed since my post on May 5th.

@IonSwitz we never giving up
+1

hey guys,
Here is a working version of Starling 2 graphics extension.
https://www.dropbox.com/s/o8vcjnv1zzgrff5/starling_display_ext.zip?dl=0
I'm not sure about pref since there is a dirty enterframe in Shape to keep the display alive...without it, for some reasons the shape appear for just a sec...
Also i'm not sure everything is working fine...let me know if you have trouble.
@IonSwitz maybe you have an idea on the enterFrame issue ?
Hope it helps.
Seb

That's great!  Did you write this? :)
The enterFrame detail seems to be triggering a "setRequiresRedraw" which should not be solved by changing the x position like that :) I will see what I can do to investigate this

@pautus I got this to work just fine now, adding the "renderSupport.excludeFromCache(this) as mentioned above, and removing the onEnterFrame event in Shape.
If it is ok with you, I'd like to add this to GitHub as part of the StarlingGraphics Organization. Basically it would appear as a second repository next to Starling-Extension-Graphics. The reason for this is that the code paths have diverged a bit, it seems your excellent fix for 2.0 isn't built upon the "latest" of the Starling-Extension-Graphics code path, which makes diffing a bit tricky, (at least for me, as I am NOT a comfortable Git user )

Hey @IonSwitz thanks for your kind answer ! Yeahhhh ! just tested the excludeFromCache() working just find here too ! That's great news, I guess a lot of people will be happy, including me :)
Was not proud of that EnterFrame awful thing, but I was kind of in a rush :p
To be very honest with i was very close to fix it by myself but i had just a last thing with the blenderMode that get me in trouble and then i found the solution in a russian forum ^^ As you can see lots of people around the world need this extension ;)
I'm totally ok with a release, go ahead and do what's the best for you ! :)

I have currently added this code to "extension2.0" in this repository. I'm a terrible GitHub user, but I wanted to get the code up and made public, so I just slammed the code into the repository.
Thanks for your work. I will see if I can find the time to add some of the more up to date stuff I added to the extension to the 2.0 branch, but this helps a LOT. Excellent work!

@pautus Also, there is a class called "Button.as" in the repository now, that seems like something that shouldnt be in this extension, or am I missing something?

My very pleasure :)
Oups, yes the Button class is for one of my project...i just forget to removed it, my bad sorry.

@pautus Curious, I coned the repo in used scr in a Library project. 2 things won't compile, Graphics_bak and TriangleUtils doesn't have the correct package.
I take it you are not using this as a swc, so you don't get these errors?

One other thing, in TriangleUtils, import starling.core.RenderSupport could not be found.
I got this all to compile obviously but, might make it easier for others if the code did compile in a library project. :) Thanks for this will be trying it out today.

@teotigraphix this is class and import i forgot to clean. sorry about that.

No problem, I didn't mean anything other than constructive. You have done a great thing with this code, thanks so much. Down the road I might get into it more to see if I can help, now that it's "into" Starling 2 code base.

@teotigraphix ;) this is a great plugin, good to have it back ! Hope we'll find great new features all togheter !

@IonSwitz  would be nice if you create new repository for starling2

@22Round Yeah, it would be nice. I agree that the current situation isn't awesome.
Unfortunately, I am not a "owner" of the StarlingGraphics Organization here on GitHub, only a contributor, so I can't start a new Repository on the StarlingGraphics Organization page here: https://github.com/StarlingGraphics
Maybe @robsilv or @jonathanrpace could bump me up to "owner" status, and I'd try to set it up.
I could also start a second Organization to host it, but that seems just silly. :)

@pautus Have you tried doing any work with textures? Currently, I can't see them working when doing a textureFill...

@IonSwitz have upgraded you to an owner! :-)

@IonSwitz not i did not...it's also a matter of time here, end of the year will be very busy :/ I will check it as soon as possible.

can we use GradientTexture in starling 2?

No textures are working, as far as I can see. So, no, not yet.

How long we must stay to access all of features of this extenstion for starling 2?

I have no time to develop the Starling Graphics Extension further. If @pautus keeps working on it, that would be great, but as of now, I don't see that there will be any progress made here.
Maybe Daniel will start working on it to integrate it into the main Starling framework, I know he has expressed a desire for it, but it seems unlikely.

ok thank  u :(

@IonSwitz @yooni126 I'm so sorry, i can't work on that part for now... :/ too much to manage. I'll try to take a look soon, but do you have a sample of code with textures please ?

@pautus  where are you?
can u help us to upgrade this extension with all properties like gradiant to starling 2?

It's definitely better, but  yes i still have crash sometimes.

@yooni126 sorry guys have so much things to manage (personal and work)...do you have any code sample that is not working so i can make a quick check ?


Number of large CSV import rows exceeds int.

Number of large CSV import rows exceeds int.
class: org/jkiss/dbeaver/tools/transfer/stream/importer/DataImporterCSV.java
method:  runImport
"int lineNum"

Thanks for the report @qsxzaqq


GH pages: "Helpful Resources"

very small detail, but in the "helpful resources" we keep referring to it as a wiki, but it's not really functioning that way. Might just want to call them helpful resources...

just making a note: it is also referred to as "cs50x wiki" in the "hello" exercise.

very small detail, but in the "helpful resources" we keep referring to it as a wiki, but it's not really functioning that way. Might just want to call them helpful resources...

just changed it on the feature/wiki-folder branch

just making a note: it is also referred to as "cs50x wiki" in the "hello" exercise.

just changed it on the feature/module1 branch
@jesseilev

@jesseilev BTW I changed all of the places where "wiki" was mentioned on their respective branches.
On the "Home Page", where it talked about the wiki on the bottom of the page, I changed it on the feature/module1 branch

I just checked the page and found no more references to a wiki, so I'm closing this.


Lazy Canvas overlay ?

🚀 Feature
I'm looking at how t speedup CI, and in particular it seem like create the viewer/canvas is limiting because of the number of overlays created on each layer:
In napari/_vispy/canvas.py
        for overlay in self.viewer._overlays.values():
           self._add_overlay_to_visual(overlay)

I'm wondering if some of those overlay could be created lazily ?
For example I see Brush, Selection and Bounding box overlays. Could those be lazy and added only when the layer is focused, ot the functionality actually used?
    AxesOverlay: VispyAxesOverlay,
    BoundingBoxOverlay: VispyBoundingBoxOverlay,
    TransformBoxOverlay: VispyTransformBoxOverlay,
    SelectionBoxOverlay: VispySelectionBoxOverlay,
    BrushCircleOverlay: VispyBrushCircleOverlay,

Motivation
Decrease CI time, speedup napari.
You can try to profile for example  pytest napari/_tests/test_viewer.py::test_add_layer -v --profile --profile-svg and open prof/combined.svg to see what is slow.

Do you know about how much time is spent here? I recently added a change to vispy (not yet release) that I believe is relevant: https://github.com/vispy/vispy/pull/2508
For me locally this made tests about 30s faster I think - not huge but significant.


Coordinators need to be able to see every piece under their control in reports

When a piece crosses a county border it is broken into parts and parts receive a suffix of A, B C, D etc.
When we obtain a report such as the County Statistics and select a specific year in a specific county we get a list of all pieces in that county. However the parts that are in a different county are not listed. They are listed in the county in which the civil parishes belong.
The coordinator responsible for managing the county is the coordinator where the Hundred / Registration District belongs, not the county where the civil parish belongs. The coordinator cannot see the parts that are recorded in a different county and therefore cannot necessarily see that a piece has been split. Neither can they use the report as a management tool.
A Coordinator needs to be able to see all the parts of each piece that they are responsible for.
Geoff

@geoffj-FUG Could you please give me a specific example to help me work out how to resolve this.

Anne
The following piece crosses the SOM border so that some of it is in GLS.
1944
Bitton
Kelston, North Stoke
1944B
Newton
Burnett, Compton Dando(Tucking Mills;Woolard), Corston, Marksbury(Houndstreet), Newton St Loe, Priston(Wilvington), Saltford, Stanton Prior
1944C
Keynsham
Brislington, Keynsham(Chewton Keynsham), Queen Charlton, Whitchurch
1944D
Bitton
Bitton, (Bitton;Hanham), Siston
1944E
Oldland
Bitton, (Kingswood;Oldland), Mangotsfield
If you call the county statistics for SOM and then select 1851 you will see that only the following pieces are listed:
HO107_1944
Bitton
Online (08/Jun/2018 16:18)
["ho511944.vld"]
HO107_1944B
Newton
Online (08/Jun/2018 16:18)
ho511944.vld
HO107_1944C
Keynsham
Online (08/Jun/2018 16:18)
ho511944.vld
If you call the same report for GLS you will find
HO107_1944D
Bitton
Online (08/Jun/2018 16:18)
ho511944.vld
HO107_1944E
Oldland
Online (08/Jun/2018 16:18)
ho511944.vld
They are not listed in the SOM report despite SOM being responsible for transcription as they are in a SOM Registration District.
Geoff
From: Anne Vandervord @.>
Sent: Thursday, June 29, 2023 12:36 AM
To: FreeUKGen/FreeCENMigration @.>
Cc: Geoff J @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Coordinators need to be able to see every piece under their control in reports (Issue #1544)
@geoffj-FUG https://github.com/geoffj-FUG  Could you please give me a specific example to help me work out how to resolve this.
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1544#issuecomment-1611551965 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFNOJXVRCGXYAYW3IHLXNQ6MHANCNFSM6AAAAAAZKD4FGY .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFJKHKISKHZJENGFJOTXNQ6MHA5CNFSM6AAAAAAZKD4FG2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTABZKN2.gif Message ID: @.*** @.***> >

@GoeffJ-fug
Drilling down I see that HO107_1944D and HO107_1944E are linked to districts in GLS ?!, what logic can determine that they are actually for SOM? If it is the presence of a suffix, is it the first piece (when ordered alphabetically) that holds the ‘appropriate’ County?

@geoffj-FUG Where are Registration Districts recorded in Freecen2?
(As I commented -  HO107_1944D and HO107_1944E are linked to districts in GLS, so I guess they aren’t the Registration Districts)

Anne
The PARMS has four levels:
County
Registration District
Sub District (which is a Piece)
Civil Parish.
Each level has a one to many relationship with the level below it.
Geoff
From: Anne Vandervord @.>
Sent: Tuesday, July 4, 2023 4:47 PM
To: FreeUKGen/FreeCENMigration @.>
Cc: Geoff J @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Coordinators need to be able to see every piece under their control in reports (Issue #1544)
@geoffj-FUG https://github.com/geoffj-FUG  Where are Registration Districts recorded in Freecen2?
(As I commented - HO107_1944D and HO107_1944E are linked to districts in GLS, so I guess they aren’t the Registration Districts)
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1544#issuecomment-1619612624 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFO4QXJXTBD4C7EETZLXOO37PANCNFSM6AAAAAAZKD4FGY .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFN5AEEQIXMWSQLQ4JLXOO37PA5CNFSM6AAAAAAZKD4FG2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTARFJ5A.gif Message ID: @.*** @.***> >

Yes.
Sorry this is going on a bit.
Now looking at 2 of the Pieces in your example just for illustration purposes.
Piece HO107_1944C:
Belongs to FreeCen2 District Keynsham in SOM (a)

So that indicates Registration District Number 327
(interestingly it shows no VLD files for this district but we know there is a shared VLD file! - that could be a different issue)
Piece HO107_1944D
Belongs to FreeCen2 District Keynsham in GLS (ie a different Freecen2 District record from (a) above)

This also indicates Registration District Number 327
But what logic can be used to decide which County actually 'owns' the Registration District 327?
i.e.
how can I determine whether HO107_1944C should appear in SOM in the list of Pieces in the Stats Report or in GLS list
and conversely
how can I determine whether HO107_1944D should appear in GLS in the list of Pieces in the Stats Report or in SOM list.

Anne
I am not sure what Kirk did when he set up the PARMS. I wanted to set up two fields – the county in which the original piece was administered and the county that the place was actually in. I was over-ruled.
So, in this case the district in GLS is a hypothetical district. Keynsham is actually in SOM.
Geoff
From: Anne Vandervord @.>
Sent: Tuesday, July 4, 2023 4:47 PM
To: FreeUKGen/FreeCENMigration @.>
Cc: Geoff J @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Coordinators need to be able to see every piece under their control in reports (Issue #1544)
@geoffj-FUG https://github.com/geoffj-FUG  Where are Registration Districts recorded in Freecen2?
(As I commented - HO107_1944D and HO107_1944E are linked to districts in GLS, so I guess they aren’t the Registration Districts)
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1544#issuecomment-1619612624 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFO4QXJXTBD4C7EETZLXOO37PANCNFSM6AAAAAAZKD4FGY .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFN5AEEQIXMWSQLQ4JLXOO37PA5CNFSM6AAAAAAZKD4FG2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTARFJ5A.gif Message ID: @.*** @.***> >

@geoffj-FUG
I can’t see anyway of resolving this with the database structures we have at the moment.
One way to resolve would be to have each FC2 Piece record the administration county (as you say above). This presumably would be the same as the County for the Piece Place for  the majority of Pieces with just the split Pieces being different. They would have to be set via a ‘manual’ process. So Rake task  to populate all but split Pieces then split Pieces populated via a different Rake with a mapping file as input.
How are split Pieces dealt with for CSVProc data - the same way I presume(?).
Still a bit confused as in the example the data for ‘all’ HO107_1944 data has been loaded via ONE VLD file (database records have shared_vld_file populated).
The List of Pieces (from the County Stats drilldown report) could then use the admin county).
Of course there could be other implications!
What would/should the impact be on the County that files are ‘loaded’ into (if any),
What about the County Stats numbers themselves!?
How often does the split piece scenario occur???
All rather complicated but if it means the County Coordinators have a ‘total’ handle on their domain I guess it might be worth it.
Not my decision to make.

Anne
Some history:
There was a problem with searches in FC1. Take Appledore Devon as an example.
If Joe Bloggs was born in Appledore DEV and I searched for it via our current search in FC2 I would not find him. Why? Because Appledore came under a sub District of Culmstock DEV and a Regn District of Wellington SOM. But a search under Appledore SOM would have located Joe.
So in FC2 it was decided to put every place into its correct county. This involved breaking up the TNA piece numbers into smaller parts (A, B, C etc) and treating them each as smaller pieces. These smaller pieces were hung off a pseudo Registration District, in this case Wellington DEV.
The result is that when we try to report the inter county pieces are reported in their physical counties instead of their administrative ones. Coordinators manage the administrative counties. Unfortunately almost all of these problem pieces cross county lines and therefore have two or more counties recorded within them. We cannot just say ‘well you manage this piece and that will fix it’.
We are now in a transition situation. All the old vld files have the entries in different counties mixed together. The csv files are broken into parts and the new pieces are in the correct counties for searching purposes. Once the civil parishes that are being adjusted by Rhoda at the moment are completed I am going to get coordinators to break up these vld files and re-validate them as csv to tidy up the data.
I hope that that all makes sense.
Geoff
From: Anne Vandervord @.>
Sent: Wednesday, July 5, 2023 8:30 PM
To: FreeUKGen/FreeCENMigration @.>
Cc: Geoff J @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Coordinators need to be able to see every piece under their control in reports (Issue #1544)
@geoffj-FUG https://github.com/geoffj-FUG
I can’t see anyway of resolving this with the database structures we have at the moment.
One way to resolve would be to have each FC2 Piece record the administration county (as you say above). This presumably would be the same as the County for the Piece Place for the majority of Pieces with just the split Pieces being different. They would have to be set via a ‘manual’ process. So Rake task to populate all but split Pieces then split Pieces populated via a different Rake with a mapping file as input.
How are split Pieces dealt with for CSVProc data - the same way I presume(?).
Still a bit confused as in the example the data for ‘all’ HO107_1944 data has been loaded via ONE VLD file (database records have shared_vld_file populated).
The List of Pieces (from the County Stats drilldown report) could then use the admin county).
Of course there could be other implications!
What would/should the impact be on the County that files are ‘loaded’ into (if any),
What about the County Stats numbers themselves!?
How often does the split piece scenario occur???
All rather complicated but if it means the County Coordinators have a ‘total’ handle on their domain I guess it might be worth it.
Not my decision to make.
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1544#issuecomment-1621482300 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFI6A6RHWPCEOM4RQITXOU6Y5ANCNFSM6AAAAAAZKD4FGY .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFOEY2WRG4AYNEKJE2DXOU6Y5A5CNFSM6AAAAAAZKD4FG2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTAUXNTY.gif Message ID: @.*** @.***> >

@geoffj-FUG to determine the rules so that Coords get the right list

The solution seems to be the same one that we used to identify whether an HO piece was 18841 or 1851.
There is a number range for each county for each year. If these are put into a table that table can be used to identify the owning county of each piece. The table should not include the suffix A, B etc that is added in the PARMS.
Geoff

@geoffj-FUG ok. where can I find the number range for each county for each year?

If @Vino-S can send @geoffj-FUG a CSV dump of the PARMS with county, piece number and registration district, Geoff might be able to work this out

@Vino-S to send to Geoff

@geoffj-FUG I will email you a CSV file of the production FC2 PARMS which I hope will meet your requirement.

Thank you Anne
The spreadsheet has been sorted by prefix and then piece number so that all county pieces are now listed together. Out of county pieces show up because the county name is mixed into the incorrect county.
I have forwarded a copy to Rhoda for her information.
I have forwarded a copy to Anne so that she can see which group of numbers belong in each county. This provides the number boundaries to enable the County statistics to record the pieces belonging to each coordinator.
Geoff

@geoffj-FUG Looking at some entires in the file you sent out could you please clarify how I determine which County Stats listing (ie under which 'administrative' County) the ones highlighted below (for example) should fall into. (Still a bit confused as to how to resolve the original issue for this story.)
Private Zenhub Image

The spreadsheet of PARMS entries is the key.
1841 BDF starts at HO107_1 and ends at HO107_10
1841 BRK HO107_11 to HO107_37
1871 SOM RG10_2348 to RG10_2518
Any A B etc suffixes at the end of the piece id and within the county/year range belong in the same Registration District as they fall in the main numbering sequence, so that is the County of the Coordinator.
Geoff

@geoffj-FUG Do you want an 'Admin_County' field added to the Piece Collection so that we can record the Administration County (based  above 'rules' and the PARMS spreadsheet data) and use that to drive the County Stats 'drilldown' report or will the County Coords just use that spreadsheet?

Anne
Admin County sounds like a good solution.
Geoff
From: Anne Vandervord @.>
Sent: Tuesday, October 10, 2023 1:15 AM
To: FreeUKGen/FreeCENMigration @.>
Cc: Geoff J @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Coordinators need to be able to see every piece under their control in reports (Issue #1544)
@geoffj-FUG https://github.com/geoffj-FUG  Do you want an 'Admin_County' field added to the Piece Collection so that we can record the Administration County (based above 'rules' and the PARMS spreadsheet data) and use that to drive the County Stats 'drilldown' report or will the County Coords just use that spreadsheet?
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1544#issuecomment-1753203370 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFM5EGO7GWK36CCBPKDX6QIITAVCNFSM6AAAAAAZKD4FG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGIYDGMZXGA .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFIZDXHJ75VG6C74I63X6QIITA5CNFSM6AAAAAAZKD4FG2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIP7BKU.gif Message ID: @.*** @.***> >

Anne
I think that this is far better. The strays at the beginning of the report have also disappeared and that is good.
This can be deployed.
Geoff

Deployed 25/10

Done: closing


Hoverfly certificate is not trusted by the JVM's truststore when using https

Now a Hoverfly certificate trusting truststore is programatically set when running the test


Access Active Breakpoint

I have a flexbox and I would like to reverse its flex direction depending on the breakpoint. I'm trying to achieve the ordering as below:
Desktop view:
| 1 | 2 |
| 3 | 4 |
| 5 | 6 |
Mobile (notice how 3 and 4 switch):
| 1 |
| 2 |
| 4 |
| 3 |
| 5 |
| 6 |

Possible duplicate of #374


How using C function to draw a text on screen?

Hello,
Anybody can help me creating example how drawing a text on screen?

i dunno how relevant this may be to the editor but what i do know for graphics related stuff, like making windows and rendering text to screen, people commonly use SDL2, especially when working with C

This is borderline related to this app.
Anyways, let me google that for you @fab1an2

using lite engine?

I thought it was obvious.
Yes, I would like to display the text with lite engine system C

You should be using the methods on the "C-injected" renderer table.
If you want an example, you can look at my memusage plugin which uses the draw_text function to display Lua's RAM usage.

You should be using the methods on the "C-injected" renderer table.
If you want an example, you can look at my memusage plugin which uses the draw_text function to display Lua's RAM usage.

draw_text is also exposed via common.draw_text and can be required by require "core.common". This version provides some extra utilities such as alignment and returning the incremented stride instead of the stride alone.

draw_text is also exposed via common.draw_text and can be required by require "core.common". This version provides some extra utilities such as alignment and returning the incremented stride instead of the stride alone.

I create a small repo. In future I create a benchmark (meybe convert to other g engine?)
https://gitlab.com/0xtrzy/engine-tui/-/tree/master
Question is why this code not working?
 rencache_begin_frame();
 rencache_draw_rect(male, czerwone);
 rencache_draw_text(foncik, "żółw", 14, 2, kolorek);
 rencache_end_frame();

(original comented https://gitlab.com/0xtrzy/engine-tui/-/blob/master/main.c )
Anybody can look at this repo and tell me why this code not showing text?