Verify that messages are actually from our child or parent

This change adds a check to the _processMessage functions, verifying that the message's sender (the event.source property) is the child iframe (in the case of pym.Parent) or the parent (in the case of pym.Child). Adding this check significantly reduces the attack surface for vulnerabilities similar to the one recently found, and it brings pym's behavior in line with most users' mental model.
There are two issues that should be considered before merging this:

I'm not sure exactly how broad pym's set of supported browsers is, but according to MDN the event.source property isn't supported by some very old browsers. It would be possible to have the check pass if event.source is undefined, retaining support for those browsers without any new security guarantees, but this PR chooses the paranoid option of insisting that that event.source be set.

The pym.Child tests are failing, because the test messages are being sent from the local window itself rather than from the parent as they would be in real use. I'm not familiar enough with the testing framework to modify the tests so that they're actually running in an iframe, and I assume the tests are written as they are because that's a non-trivial undertaking. It would be possible to relax the check so that it also passes for messages sent by the window itself, but changing behavior to accommodate the testing system feels like a bad practice.

I'm happy to address both of these issues based on maintainer guidance.

Hi there, just getting around to this now. Apologies for the long delay!
I'd be interested in hearing more about why this helps vis-a-vis the security bug fixed in 1.3.2 before I would merge this. It doesn't sound like a bad idea, but given that we're already checking the ID and (ideally) matching a cross-domain policy, I'd like to have testing added to the PR before making a change in Pym's core code.


When Errors are present goto goes to a empty temporary file

If an error is present in app/Main.hs any goto on definition in the same file) will send me to empty file like /tmp/ghc-mod15112/Main15110-415110-22.hs
I'm using an update hie with https://github.com/alanz/ghc-mod/pull/20.

Does this happen only on this branch? Or did you only notice it on this branch?
Because, iirc, there is an issue about that somewhere.
Also, is there something to reproduce it?

I noticed it on this branch, I have not had time to reproduce it on master.

The issue exists on master

This occurs when we have a parsed module, but not a typechecked module, and is due to the update of reverse file map/rfm at https://github.com/haskell/haskell-ide-engine/blob/master/hie-plugin-api/Haskell/Ide/Engine/ModuleCache.hs#L228
We update the reverse file mapping according to the state of the mapped files when the parsed module is generated. However, the old typechecked module that is retained still contains SrcSpans generated according to the previous state of the mapped files. So, when we use information from the typechecked module to answer queries, we are not able to map the temporary file to the real file.
Hopefully this class of issues will be solved once and forall in GHC 8.8+ by @DanielG fixing GHCs support for memory mapped files. Until then, I am pushing a fix.


Update packaging related release notes, note RPM change

Update releated release notes to mention a change in the RPM packages.
The default environment config file location changed from /etc/sysconfig/crate to /etc/default/crate to be consistent with the debian packages.
Relates to https://github.com/crate/crate-tutorials/issues/107.

@mergifyio backport 5.2


Survival flying is crooked

When you have host privileges enabled and you turn on “can fly” in survival mode when using a controller sprinting while flying forward it doesn’t go straight but it turns you a little (yes I have checked that its not me or my controller it is the game doing this)

Survival flying is exactly the same as creative, what you may be experiencing is another bug...
#304


URL encode problem

URL encode wrong in chinese
value input 減肥
Expected outcome
%E6%B8%9B%E8%82%A5
Actual outcome
%1B%C2%A5
Versions
App: <IP_ADDRESS>-stable
Chrome: 50.0.2661.94
Platform: Mac OS X (10_11_4)
Steps to reproduce

add query parameters
param value type "減肥"
send

Tested on Windows 10, Encodes correctly

Thank you for issue report.
I'll look into it.

@klightshadow i can't reproduce this problem. It is working in Ubuntu, Mac OS and Windows. Can you think of any factor that could cause this behaviour on your machine?

@jarrodek I'm working on Mac OS_10.11.4, tomcat_7, JAVA Jersey_2.22.1
Here are two pictures about the bug

the "searche_content" value is "減肥", however the request show "¥"

@klightshadow thanks for detailed explanation.
The transport library is using Uint8Array object which causing the problem with this characters. This is obviously a bug. The library should use TextEncoder/TextDecoder API to transform text to array buffer and back.
I've added an issue in the transport library (https://github.com/jarrodek/socket-fetch/issues/12) that you can follow to check when it will be fixed.


Nominate hyunjimoon as recurrent contributor

I'd like to nominate @hyunjimoon to be a recurrent contributor at ArviZ.
To @hyunjimoon:
Following our governance doc, the next step is for you  to accept the nomination which you can do commenting on this issue. If you accept the nomination, there will be a council vote (in private) and we'll publish the result here.
In case it helps or you are still wondering, arviz.org has a description of the recurrent contributor role.

To ArviZ team members:
We are coordinating to work on SBC related features. Being a recurrent contributor would make it easier to coordinate and accelerate potential improvements.

Thanks for the nomination, Oriol. I am thankful to arviz members for providing a python platform to develop SBC.

Very excited to announce that the RV council voted and accepted the nomination! Welcome!
Can you reach out to arvizdevs (at) gmail (dot) com with the email you'd like us to use when adding you to the ArviZ slack?
I will also open a PR to this repo to add you to https://www.arviz.org/en/latest/our_team.html#recurrent-contributors. I am not sure what you'd like us to use though, Hyunji Moon, Angie.H Moon, something else? We generally default to name+surname but neither the content nor the order are required to be this one.

Mail sent and I would go with Angie.H Moon. Thanks!

Perfect, thanks. slack invite sent and #33 open. I will now close and lock the issue.


[WIP][PLAT-751] Datacite for nodes

Purpose
This PR is a place holder to so we are ready for datacite to take over for EZID
Changes

Adds Datacite's client
Add test's with clients to Datacite

QA Notes
No QA, Analysis ticket.
Documentation
When we have more certainty about how this is implemented we can write docs.
Side Effects
None that I know of.
Ticket
https://openscience.atlassian.net/projects/PLAT/issues/PLAT-751

This is being closed so the changes can be piggybacked on a future PR by @erinspace .


add a few columns to the dataset

Coverage decreased (-0.07%) to 75.736% when pulling<PHONE_NUMBER>360e4c3266983be7f75ffe6b22f9fc on phobson:add-pdfid into 2179914b04135a316c7f14a91d6841c8e4744fa8 on Geosyntec:master.


[feat][task] Support Kubernetes task

Brief Summary of The Change

Pull Request checklist
I confirm that the following checklist has been completed.

[x] Add/Change test cases for the changes.
[x] Add/Change the related documentation.
[ ] (Optional) Add your change to UPDATING.md when it is an incompatible change.

@tuchg welcome to our new repository

BTW, CI failed and you should add Kubernetes to https://github.com/apache/dolphinscheduler-sdk-python/blob/6cd9784534eb3c78dbbf0daf53bf457a597fe3be/src/pydolphinscheduler/tasks/init.py#L44 to pass our CI

so sorry, there are some problems with my local environment

so sorry, there are some problems with my local environment , some ci isn't run

Not at all, and you can use tox for convenient test, tox -e local-ci to trigger.

approval to run the ci

I test this PR locally, it can pass the CI right now, it seem we almost get it

Codecov Report

Merging #15 (3fd2f9d) into main (20b2a2b) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   90.60%   90.65%   +0.05%
==========================================
  Files          56       57       +1
  Lines        2032     2055      +23
==========================================
+ Hits         1841     1863      +22
- Misses        191      192       +1

Flag
Coverage Δ

unittests
90.65% <100.00%> (+0.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/pydolphinscheduler/constants.py
100.00% <100.00%> (ø)

src/pydolphinscheduler/tasks/__init__.py
100.00% <100.00%> (ø)

src/pydolphinscheduler/tasks/kubernetes.py
100.00% <100.00%> (ø)

src/pydolphinscheduler/configuration.py
97.01% <0.00%> (-1.24%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

BTW @tuchg do you in our contributor WeChat group, we will keep in touch our contributor in the group? if you are you interested in you can add my WeChat by id: zhongjiajie955


Diagonal roads

Seriously, the way the roads are now is a joke.
I know that would be a lot of work for someone, but I do believe that the game deserves it!

This is something we can start tackling at a much later stage — when drawing and AI are implemented. The vehicle sprites are there, so that shouldn't be a problem... Someone will have probably to draw the new road sprites, though.

@AaronVanGeffen, that would be awesome!


Prevent biolink model from initializing in threads that don't require it.

Currently, the biolink model is re-initialized for every thread. Some threads, such as instances of check_query_status don't need this and should avoid doing so.
A fix likely involves conditional import statements.

adding a comment from Jackson that was in Slack:

Just something that caught my attention a while ago and I finally got around to testing: Every time a thread is started, the biolink model is initialized for that thread, even for endpoints that don't use it like check_query_status. I finally tested it and this only adds ~90ms to execution time, while it would take multiple conditional import refactors across a couple packages to fix, so I think it can safely be ignored for now

may be related to https://github.com/biothings/BioThings_Explorer_TRAPI/pull/389

Closing due to reasons stated above - the complexity of a refactor would affect readability due to multiple conditional imports in multiple modules, and simply isn't worth the ~90ms performance benefit.


is someone use the Tomcat Session Manager ?

i got in trouble when i use it to share session  ,  i Configure it as the document and  create two pods with docker ,then i visit the webapp in docker , After I login successfully, I refresh the page, it  indicating that I am not logged in,Is there anyone like me? can someone tell me something ,please

Today I'm try to config the redis session manager, but failed on tomcat7, tomcat8, tomcat8.5, could you send your configuration here - including server.xml, redssion jar files version, tomcat version? thanks.

@cloudhuang
It's easy. Here is configs examples: https://github.com/redisson/redisson/tree/master/redisson-tomcat/redisson-tomcat-8/src/test/webapp

@qq995586041
Please ensure both Redisson instances connected to the same database or use same configuration

@marko-stankovic  thanks, I got the point.


Memory leak

Version
nuxt-i18n: 6.18.0
nuxt: 2.14.12
Nuxt configuration
mode:

[x] universal
[ ] spa

Nuxt-i18n configuration
no configuration (aka whatever the defaults are)
Steps to reproduce

yarn create nuxt-app <name>

(settings used)

Added nuxt-i18n to buildModules in nuxt.config.js

yarn dev

Open whatever resource manager (task manager, system monitor, etc) and find the right node task

navigate to localhost:3000 and refresh a bunch and watch the memory go up.

Note: I tried it w/o vuetify and it doesn't happen, and it doesn't happen with just vuetify, only when both are present.
EDIT: Use this repo to reproduce it.
What is Expected?
node shouldn't run out of memory.
What is actually happening?
NodeJS crash

Ok, so it turns out that vuetify only speeds up the process significantly. I re-did the process w/o vuetify and added another page after project creation, then I just put location.reload() in the mounted() hook and let it run for a while, and the leak was still there.

Ok, so it turns out that vuetify only speeds up the process significantly. I re-did the process w/o vuetify and added another page after project creation, then I just put location.reload() in the mounted() hook and let it run for a while, and the leak was still there.

Same here

Hello,
Can't reproduce, also it's 404:

EDIT: Use this repo to reproduce it.

Thanks!

I can reproduce this also
nuxt: 2.15.7
@nuxtjs/i18n: 7.0.3
vuetify: 2.5.5
Added 1 page with "Hi"
With postman calling the page 50x times.
You can see the response time going up and the memory going up.
At hit ~40x the out of memory exception is thrown:
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
If I comment out i18n in nuxt.config.js the problem does not appear.

I need to retract my reproduction-post (deleted). It was only reproducible in dev-mode and not in prod-mode.
I found the issue somewhere else.

Heya! I'm experiencing a similar issue, where my memory usage spikes when I have defaultLocale defined? I tried what @Abdulrahmanh95 suggested, and it fixed the memory leak issue for me weirdly. I don't understand why this happens, I assume it's something with saving the defaultLocale to the state or something?
My config:
i18n: {
  locales: [
	  { code: 'en', file: 'en.json' },
	  { code: 'cs', file: 'cs.json' },
	  { code: 'fr', file: 'fr.json' }
  ],
  defaultLocale: 'en',
  lazy: true,
  strategy: 'no_prefix',
  langDir: '~/translations/',
  vueI18n: '~/plugins/i18n.ts'
},

When I remove defaultLocale, the memory leak disappears. Disabling lazy-loading doesn't fix the issue tho

Can't do anything without a repo that reproduces.  Also you haven't specified whether the leak is during development only or also in production.

I understand... It happens on development and on production as well, altho I see there is a new major version 7.31, i thought that it's only for nuxt 3, so I'm goign to try and upgrade and see if that fixes anything :).
Thanks!

Unfortunately, the issue persists in 7.3.1 @nuxtjs/i18n, I don't understand why, it only happens if defaultLocale is set. I'll see If I can prepare a demo repo

i've the same issue

i've the same issue

@alyeldegwy what modules / plugins are you using outside of nuxt i18n? Maybe if we find a match we can discover what causes the memory leak, I couldn't reproduce it in a new repo for now

I figured it out in my case.
When I used vue-toastification in conjunction with the defaultLocaleKey in nuxt-i18n.
In the configuration, it required a position key, to change where the toast appears. I imported import { POSITION } from 'vue-toastification'; the position constant like this and set position: POSITION.TOP_RIGHT. It appears, that doing this caused the memory leak. If I just set the position to position: 'TOP_RIGHT' setting the position works, but TypeScript doesn't like it defined as a string, since in the plugin it's defined as a POSITION entry, so I just //@ts-ignore it.
So if you install @nuxtjs/i18n version 7.31 with vue-toastification version 1.7.14. In nuxt config set up i18n as follows:
	i18n: {
		locales: [
			{ code: 'en', file: 'en.json' },
			{ code: 'cs', file: 'cs.json' },
			{ code: 'fr', file: 'fr.json' }
		],
		lazy: true,
		defaultLocale: 'en',
		strategy: 'no_prefix',
		langDir: '~/translations/',
		vueI18n: '~/plugins/i18n.ts'
	},

~/plugins/i18n.ts
import { I18nOptions } from 'vue-i18n';

export default (): I18nOptions => ({
	fallbackLocale: 'en',

	pluralizationRules: {
		cs(choice: number) {
			// this === VueI18n instance, so the locale property also exists here
			if (choice === 0) {
				return 0;
			}

			if (choice === 1) {
				return 1;
			}

			if (choice > 1 && choice < 5) {
				return 2;
			}

			return 3;
		}
	}
});

and set VueToastification as such in nuxt config:
import { POSITION } from 'vue-toastification';
...

	toast: {
		position: POSITION.TOP_RIGHT,
		toastClassName: 'example-app-toast',
		timeout: 5000,
		maxToasts: 8,
		closeButton: false,
		newestOnTop: true
	},

You successfully replicate a memory leak.

Closing due to inactivity (and lack of up to date reproduction), if you're still experiencing this issue please open a new issue with a (minimal) reproduction.


[Performance] Export Model constructor throws exceptions on very hot paths

Removes additional millis per call on large exports by avoiding throwing NotExportableException and instead using annotation check to check exportability e.g. type.getAnnotation(ExportedBean.class)
See https://github.com/jenkinsci/blueocean-plugin/pull/1323
@reviewbybees #NightTimeCode

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Stapler passed locally.

@stephenc @jglick @daniel-beck a review here would be fantastic please :)

@jglick thanks for the review. There was a fair bit of dumb code here on my part, so I did my best to fix it.


the app crashes on the first start

I've installed the release version
then I ran ./2sp from the command line and got this error:
 ☠ fatal error: failed to create waku node
panic: runtime error: invalid memory address or nil pointer dereferencewaku-pp-2024-05-29T15-55-30Z.log
[signal SIGSEGV: segmentation violation code=0x2 addr=0x58 pc=0x100dbfac0]

goroutine 832 [running]:
2sp/game.(*Game).LeaveRoom(0x0)
	/Users/runner/work/2-story-points-cli/2-story-points-cli/game/game.go:58 +0x20
2sp/view/commands.QuitApp.func1()
	/Users/runner/work/2-story-points-cli/2-story-points-cli/view/commands/commands.go:148 +0x24
github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1()
	/Users/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:294 +0x30
created by github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1
	/Users/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:293 +0x11c

The second time it worked perfectly.

my local path is /Users/ricko/status/planner

@friofry Looks like there are 2 issues:

fatal error: failed to create waku node.
Can you please take a look in logs for waku connection error details?
You can find logs in /Users/ricko/Library/Application Support/six78/2sp/logs. Take the one that matches time.

panic: runtime error: invalid memory address or nil pointer dereference
From the call stack I can see that you've clicked Ctrl+C and the app crashed here:
https://github.com/six78/2-story-points-cli/blob/6fca0f95a083d56760162de7529c950349565bb2/view/commands/commands.go#L148
... because no Game was created yet. I will add a nil check there 👌


relax httpx version requirements

Solves #87
Unpin httpx version and set it to >=0.20.0,<1.0.0 so it could be included in other projects more easily.
Not sure if it's correct to unpin it for http2 extra and mypy pre-commit hook too.
pytest completes successfully with both httpx versions, 0.20.0 and 0.21.3

Codecov Report

Merging #88 (9b297c6) into main (ecc23ca) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              main       #88    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           29        29
  Lines         3311      3308     -3
  Branches       380       238   -142
==========================================
- Hits          3311      3308     -3

Impacted Files
Coverage Δ

src/webdav4/stream.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


English Documenation of Using Node (with Examples)

Hello,
the node names are interesting, but I did not find any (english) documenation how to use the nodes ?
Are there any ? Are there examples ?
Thank you

Hi @benfiglin
I don't know how to express it, Can you explain it to him ? Thank you

Simple use node

Drag a binary_ sensor node in view
Open binary_ sensor node
Select MQTT Config
Input Entity Name
Click finish
Click deploy

If you delete it in homeassistant, you can rediscover it

Drag a Auto Discovery node in view
Send Any data in node
Automatically discover all related devices under MQTT

Hello,
thank you, but I tried to use the output from a "switch" node and changes the state in HA, but no reaction on the switch Output.
So it would be helpful also to document such feature...

search icon is Discovery Node


i18n: de

German language support.

Hi @mplatten, the German translation looks good to me! Thanks for taking the time to make a translation. Is there a reason you closed this pull request?

Yes: it was the first time I tried a pull request and the second file was the wrong one … So I tried to take it back since it was faulty :-) Do you have both necessary files?

Am 05.01.2019 um 11:54 schrieb Emiel Hollander<EMAIL_ADDRESS>Hi @mplatten, the German translation looks good to me! Thanks for taking the time to make a translation. Is there a reason you closed this pull request?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes I have, everything looks fine. Thanks!


Verify the signer identity upon evaluation

Summary
This PR moves the signer identity verification to happen during evaluation.
It was motivated by the recent sigstore-go version bump that broke one of the use cases we have (signing a container through cosign w/ OIDC issuer (i.e. google).
For historical reasons until now we were trying to extract the signer identity from the bundle/simplesigning layer and pass it to sigstore-go along with the bundle for verification. The version bump made us realise this is not really useful.
Instead we switched to verifying the bundle for consistency and inclusion in the transparency log, but without checking the identity. The identity verification happens on the evaluation step where we use the verification result we got from sigstore-go and compare it against the expected profile parameters from the user.  If the identity is not what the user expected, we fail the profile evaluation.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Changes were tested using the rdimitrov/good-repo-go repository with the following test cases:

GitHub actions signing based on the simplesigning format
GitHub actions signing based on the bundle format
GitHub actions producing an unsigned image
GitHub Actions signing with the wrong issuer (same image but from another workflow)
Out of band local signing based on the simple signing format using cosign with google as an OIDC issuer.

Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[x] Checked that related changes are merged.

coverage: 36.824% (+0.1%) from 36.721%
when pulling 770f7e2b2443ef5b5cf0c7feaf1d8b08b0cd0302 on rdimitrov:sigstore-cert
into d07de2387793a418315e2c61d7c2f8f45b8c2c52 on stacklok:main.


DOC: Documentation for testing documentation changes does not work

URL
https://python.langchain.com/docs/contributing/how_to/documentation/setup/
Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
The command:

poetry install --with lint,docs --no-root

produces the output:

Group(s) not found: docs (via --with)

Idea or request for content:
No response

I followed the errors and made some changes in the code:
Changed Code:
# Before:
langchain-core = { path = "libs/core/", develop = true, version = "^0.3.27" }

# After:
langchain-core = { path = "libs/core/", develop = true }

Added Code:
[tool.poetry.group.docs.dependencies]
sphinx = "^4.3.2"
sphinx-rtd-theme = "^1.0.0"

Then I ran poetry install --with lint,docs --no-root, which gave this error:
pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock [--no-update]` to fix the lock file.

I followed it and ran poetry lock --no-update. After its completion, I ran poetry install --with lint,docs --no-root, and I guess it worked properly, below is an attached screenshot after running poetry install --with lint,docs --no-root (correct me if I am wrong)

Please let me know if this is a correct fix.


Update README.md

Packages have been moved to the catalog repository

/approve
/lgtm

/lgtm

/lgtm

/lgtm

/approve

/approve
/lgtm


[Shell] Undefined function error related to var assignments

Description:

Ballerina shell gives undefined function error related to var assignments.
Steps to reproduce:
Try following example in the ballerina shell.
=$ int x = 1
=$ var f = function () { x = 2; }
=$ f()
| error: undefined function 'f'
| 	f()
| 	^-^
| Compilation aborted due to errors.

Affected Versions:
slbeta3

In the variable declarations, the variable is recalled to as var 'f = <function () returns ()> __recall_any("'f"); at the module-level. Ideally, this should work, but it is currently a bug that is being tracked here: https://github.com/ballerina-platform/ballerina-lang/issues/41362


Fix the link to Android Studio

Issue

Maybe no issues.

Overview (Required)

The link to Android Studio is broken.

Links

Screenshot

Before
After

LGTM 👍 Thank you for fixing it 👍


Persistent callout

Is there a possibility of not having callout disappear?
I tried
        <MapView.Marker draggable ref="m2"
          onDragStop={(e) => this.setState({ startMarker: e.nativeEvent.coordinate })}
          onDragStart={(e) => this.refs.m2.showCallout()}
          coordinate={this.state.startMarker}
        >
          <MapView.Callout>
            <View>
                <Text>This is a plain view</Text>
              </View>
          </MapView.Callout>
        </MapView.Marker>

this still seems to be making a fade even on drag start and stop..

@ahmed1490 this would be a good feature. Let me see if I can figure out how we could get this working.

@lelandrichardson I am also interested to this, plus the other one that we discussed of the callout appearing automatically on map load. Do you think we could have these 2 features soon? Thank you for the consideration.

@hegelstad as soon as a community member will put the effort into making it 😔


Bug: PostgreSQL boolean field columns

PHP Version
8.1
CodeIgniter4 Version
latest
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
macOS
Which server did you use?
fpm-fcgi
Database
PostgreSQL
What happened?
Inside my db i have booleans fields, t-f.
it's possible to return true or false when typing fro example (bool)$row['status_online']
it's returning 0 or 1 , it's ok but for people who build rest api, it's not as clear... thanks
Steps to Reproduce

create a postgresql table with a boolean column field
create codeigniter query to get row query data
type (bool)$row['field']

Expected Output
TRUE - FALSE
Anything else?
No response

We use GitHub issues to track BUGS and to track approved DEVELOPMENT work packages. We use our forum to provide SUPPORT and to discuss FEATURE REQUESTS.

I think $db->query() should not alter the query result.


Add on("connect") and on("open") for SecretStream

Hard to see in code, but confirmed at https://github.com/hyperswarm/dht/issues/69

on("open") is there, I need to add a test for on("connect")


GPGSv2 plugin does not download on 3601, but will on 3599

Install 3601, clear out the roaming folder of old downloaded plugins.  Include GPGSv2 plugin in project and include it.  Plugin will not download and will throw an exception.
3599, however, does download the plugin and code works as expected.
Other plugins were NOT affected, including social, zip, and more.

That’s crazy! What kind of error are you getting, and enable debugBuildProcess
https://gist.github.com/Shchvova/62200d4835354d6cb15c010b8600f6fb#file-gistfile1-txt

I have the same problem to download notifications.v2.
Apparently version 3061 does not authenticate the user to download the plugins

Is this still an issue with 3603?

This has been fixed in newer builds :)


fix website pubsub api docs to 0.11.0 tag content

Thank you for helping make the Dapr documentation better!
If you are a new contributor, please see the this contribution guidance which helps keep the Dapr documentation readable, consistent and useful for Dapr users.
Note that you must see that the suggested changes do not break the website docs.dapr.io. See this overview on how to setup a local version of the website and make sure the website is built correctly.
In addition, please fill out the following to help reviewers understand this pull request:
Description
Synchronize website content to 0.11.0 tag
From https://github.com/dapr/docs/blob/v0.11.0/reference/api/pubsub_api.md#expected-http-response
Issue reference
Please reference the issue this PR will close: #[issue number]

This change is for current 0.11 docs website

Checks are failing due to some token missing. @AaronCrawfis can you take a look?
I tried to build the website off the PR branch and getting a failure as well so there might be an issue here (even though it may be unrelated as failure has to do with missing token for static web apps)


Curve disappears when Codepen refreshes

Hi there,
This tool is so awesome, thanks for taking the time to make it.
I'm trying to use the isSaveState property on the curve editor inside a Codepen.
When I make a change to the source and the page refreshes, the curve I drew disappears.
My guess is this is a limitation of using Codepen. Is this intentional, or am I making a mistake in how I'm using it?
An example pen is here:  https://codepen.io/lifeinchords/pen/vgGbrr
Thanks Oleg!

Hi Steven!
Thanks, happy to hear that! The curve editor uses the name as a key in localStrorage and since you creating a new name uniformly at random on each page refresh - it starts over with new state each time. So you can just create a name once and use it. Please let me know if it helps, I had no issues to use the curve editor with Codepen.
Cheers!

Oh I think I misunderstood the docs about uniqueness for multiple instances, I see now.
Got it, thanks!
~s

Happy to help! 👍 🎉


Bump dependencies

no issue

bump deps with non-breaking changes
swap manual styles for Spirit's pointer-events classes in Koenig

Coverage remained the same at 72.271% when pulling 5ba4d0acca7c5d1b17d2e25c7ae4d6b4cde029dc on kevinansfield:bump-deps into 06209794c986164d0aa1c6f5ce73e6af73ad9582 on TryGhost:master.


Applying new standards and small refactors

Summary
This PR is a proposal to standardize the code around Black formatter and isort.
Also refactors some pieces of code to be more pythonic.
Closing Issues
Part of #187
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvements to existing code, such as refactoring or optimizations (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

In general, there will never be a time where I would be willing to merge a PR that changes tens of thousands of lines. But, more importantly, I don't like some of the style changes (although some of the style changes are ok).


Upgrade AWS SDK v2 to version 2.20.161

Description

Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

I'll wait for @gzurowski to create the branch for releasing 4.1.0 before merging.


Why starship does not use absolute path from pkgs.starship?

https://github.com/nix-community/home-manager/issues/2316 I don't know why only in starship after read. 🤔
 105   │ eval "$(/nix/store/7xs0jhk6j4g1sijdrfnhzidi9i73zhkk-zoxide-0.9.1/bin/zoxide init zsh )"
 106   │
 107   │ if [[ $TERM != "dumb" ]]; then
 108   │   eval "$(/home/kachick/.nix-profile/bin/starship init zsh)"
 109   │ fi
 110   │
 111   │ eval "$(/nix/store/za4jv7ln813slacmv7x01jbirc9jyhwp-rtx-1.34.1/bin/rtx activate zsh)"
 112   │
 113   │ eval "$(/nix/store/zchzkskbsrcimfslixzhy1mjn7zwxrxa-direnv-2.32.3/bin/direnv hook zsh)"
 114   │

I don't have any task for now


Adds OracleLinux install

Adds support for OracleLinux

Can we leverage https://hub.docker.com/r/dokken/oraclelinux-7 to get this included with molecule?

Can we leverage https://hub.docker.com/r/dokken/oraclelinux-7 to get this included with molecule?

I will see what I can do tonight.

Hum, there is something different with our host from docker:
Our host
[root@ip-X-X-X-X ~]# yum install epel-release
Loaded plugins: ulninfo
epel/x86_64/metalink                                                                                |  18 kB  00:00:00
epel                                                                                | 4.7 kB  00:00:00
mysql-connectors-community                                                                                | 2.5 kB  00:00:00
mysql-tools-community                                                                                | 2.5 kB  00:00:00
mysql56-community                                                                                | 2.5 kB  00:00:00
ol7_UEKR3                                                                                | 1.2 kB  00:00:00
ol7_latest                                                                                | 1.4 kB  00:00:00
sensu                                                                                | 2.5 kB  00:00:00
(1/3): epel/x86_64/updateinfo                                                                                | 959 kB  00:00:00
(2/3): sensu/7Server/x86_64/primary_db                                                                                |  87 kB  00:00:00
(3/3): epel/x86_64/primary_db                                                                                | 6.6 MB  00:00:01
(1/3): ol7_latest/x86_64/group                                                                                | 810 kB  00:00:00
(2/3): ol7_latest/x86_64/updateinfo                                                                                | 838 kB  00:00:00
(3/3): ol7_latest/x86_64/primary                                                                                |  12 MB  00:00:00
ol7_latest                                                                                12252/12252
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-7 will be updated
---> Package epel-release.noarch 0:7-11 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================================================================
 Package                                                                    Arch                                                                 Version                                                            Repository                                                          Size
=============================================================================================================================================================================================================================================================================================
Updating:
 epel-release                                                               noarch                                                               7-11                                                               epel                                                                15 k

Transaction Summary
=============================================================================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 15 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
epel-release-7-11.noarch.rpm                                                                                |  15 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : epel-release-7-11.noarch                                                                                1/2
  Cleanup    : epel-release-7-7.noarch                                                                                2/2
  Verifying  : epel-release-7-11.noarch                                                                                1/2
  Verifying  : epel-release-7-7.noarch                                                                                2/2

Updated:
  epel-release.noarch 0:7-11

Complete!

Docker
    fatal: [oraclelinux-7]: FAILED! => {"changed": false, "msg": "No package matching 'epel-release' found available, installed or updated", "rc": 126, "results": ["No package matching 'epel-release' found available, installed or updated"]}

Looking in to it.

@jaredledvina Passes locally, I could not get a OL6 build to work so I think we stick with OL7 the testing.


In root workspace, kcp cli plugin does not understand current workspace

While in root workspace:
$ kubectl kcp workspace current
error: The current context is not a KCP workspace !

And then (demo is an org):
$ kubectl kcp workspace use demo
$ kubectl kcp workspace current
Current all workspace is "demo".
error: Scope of the workspace-directory ('all') doesn't match the scope of the workspace-directory server ('https://<IP_ADDRESS>:6444/services/workspaces/root:demo/personal').
Cannot check the current workspace existence

Also note that the output should rather be Current all workspace is organization "demo".

What does "all" mean? What is an "all workspace?"


When selecting a number the Chrome context menu does not show the call option

Dear reader,
Did 2 installs and a reboot, but Crhome does not show the context option to dial the selected number. Am I missing a step? I am running Chrome Version 50.0.2661.102 m (64-bit).
All other functionality of Turtle dialer is working great with my Yealink T41P.
BR
Arne

Solved, apparently the number has to start with +31 or something equal.

Selecting a number like "03 460 35 35" does not show the call option, whereas selecting "+31 (0) 3 460 35 35" does work and even strips the (0)...
Is there an easy way to modify this?


What is triggered when the query finished

For my project it is desired that we load all the mapmarkers in one shot, instead of a seeming pop in.  So, is GeoQueryEventListener..onGeoQueryReady an efficient way to know when all the values from queryAtLocation have returned?  If not is there a way to do that?

That indeed sounds like a good use-case for onGeoQueryReady, which fires after the initial data has loaded.
If you're having problems making it work, post a question with the minimal code that reproduces the problem on Stack Overflow, where more people are likely to see it.

Thanks @puf


Change repo description.

Emoji are cool 😎
What if we change the description of the repo
From:

Node.js lightweight Docker image including the PM2 runtime

To:

🐳 Official Docker Image for PM2 runtime

Hey @simonepri, totally agree, that is more sexy. I gave you the admin rights on this repo, feel free to update the description!

Thanks 🎉


Prime Numbers Associated with Coeff_Modulus (q)

Is there a SEAL function that can print the prime numbers that are associated to each coeff_modulus (q) ?

#include <iostream>
EncryptionParameters parms;
// ... set up parameters
for (auto &i: parms.coeff_modulus())
  std::cout << i.value() << std::endl;


Fix browsercount

The browsercount in closeAll is incorrect.

Thanks for doing this PR. Totally missed that one. Is this ready or are you still working on it?

Ah sorry. I forgot I made a PR for this. I continued to work on this as this just won't work for us in the current form.
The only relevant change is "this.browserCount = 0;" > "this.count = 0;"
However, I also found out that browsers are not actually closing and thus leaving leftover processes.

On what OS are you experiencing these issues. I tested it on macOS and it worked fine in the past.

On Linux (Ubuntu inside a docker container), when I run app.quit(), the actual Electron process never gets closed. When I run app.exit(0) it does work. I had some major problems with hanging/crashing electrons so now I'm just calling screenshot.close(); (which triggers browser.closeAll();) before I take a screenshot so I always have a fresh browser process. It's a little slower but at least I know I have a working service.
I run 4 docker containers with a renderer to scale.

I created a proper PR in #22


[Next] channel.permission_overwrites

A pr targeting the next branch as this is a breaking change should be made to rename this to channel.permissions or channel.overwrites or something not entirely sure what the best name is.

Just permissions and overwrites would be ambiguous since guild channels do not have their own permissions, it "borrows" permissions from roles and the permission can be overwritten for a specific guild channel.
What do you think about renaming it to permissionOverwrites? If not permissionOverwrites, I would recommend channel.permissions.

Whatever you think best, personally i dont mind i prefer more explicit so permissionOverwrites for me.


use go command, update import paths

It's your project.

Plus you have simply removed the makefile from gogtk-demo. How am I supposed to build it?
By simply cherry-picking.


Add Windows support

I think we should be honest with ourselves and admit that there are some people who use Windows. It would be good to let them experience Holocron as well.

Consider to use http://www.appveyor.com/ as CI on Windows

Actually, it works on Windows (I've tested holocron 0.2.0 on Windows 10, python 3.4.3), but it doesn't show the default post in the index of the blog generated with holocron init command:

However when I go to http://<IP_ADDRESS>:5000/2014/04/20/holocron/ directly, it shows contents of the post.
It works fine inside VM with Linux Mint 17.2 on board though:

@insolor thanks for your feedback!
Holocron was designed to be OS-agnostic, but unfortunately I never had a chance to test it on Windows. I believe all problems aren't tricky to fix, I hope @PropheticBird will find some time to fix it (I just didn't have Windows machine at all). :)


Warning to errors in gfortran 10

Several changes where make to gfortran 10 that elevated several warnings to errors related to argument mismatches. A workaround for these new errors is add the gfortran flag
-fallow-argument-mismatch
to the command line options. Longer terms we need to fix the code so these problems don't occur. This issue is to track the issues associated with this.
The first fix to try is to replace instances of include with use. This loads the module. This however does place a restriction that the codes need to be compiled with the same version of the compiler as the library.

Pull Request to fix compiling error from gfortran 10.

LIBSTELL:old_fortran_fix:Pending
PARVMEC:netcdf_args_type_fix:Pending


Add Contact & Calendar Support

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
6.309
Problem you are trying to solve
Is it possible Add Contact & Calendar sync support support so that Contact apps can access my Contact & Etar calendar can access my calendar just like the most Email clients allow to do?
Suggested solution
Is it possible Add Contact & Calendar sync support support so that Contact apps can access my Contact & Etar calendar can access my calendar just like the most Email clients allow to do?
Screenshots / Drawings / Technical details
No response

For contact and calendar sync we recommend using the open protocols CardDAV and CalDAV. Then you can e.g. use DAVx⁵ to sync your contacts and calendars to Android.

For contact and calendar sync we recommend using the open protocols CardDAV and CalDAV. Then you can e.g. use DAVx⁵ to sync your contacts and calendars to Android.

I'd rather not as my email provider does not use the open protocols CardDAV and CalDAV


Added CONTRIBUTING.md

Fixes #280

Please merge this pull request and add the necessary labels as per gssoc guidelines.


Utility to update netcdf archived data with modified data

So once an initial archive dataset is generated... we may want to modify via QC/QA the files.  If its automated, thats not an issue (perform tasks, save xdf file with attendent meta data modified where necessary)... but if we want a more manual approach... eg export to csv file to manually edit, we need to ingest the new csv file and update the archive file

This is actually quite simple with the xarray->dataframe->csv approach for editing... then a csv->dataframe->xarray remapping would also be pretty transparent.  Dimensionality shouldn't change in this procedure

Workflow is currently descriptive with xarray and pandas as the primary work load.  Wrappers will make these more convenient in the future as well as similar to existing routines and calls


graceful restart can not achieve zero-down

My project is built on the Beego, Now I want to graceful restart my project with Overseer. When I send kill -SIGUSR2 PID. I found that the current process was closed first, and then fork a new process. This will lead to a period of no work process in the middle, resulting in service denial of access. Unable to achieve zero-down
My project code
func main() {
overseer.Run(overseer.Config{
Program: prog,
Debug: true,
})
}
func prog(state overseer.State) {
beego.BConfig.RecoverPanic = true
beego.BConfig.Listen.Graceful = false
beego.Run()
}
Overseer log
2020/12/29 16:36:31 [overseer master] graceful restart triggered
2020/12/29 16:36:31 [overseer master] restart success
2020/12/29 16:36:31 [overseer slave#2] graceful shutdown requested
2020/12/29 16:36:31 [overseer slave#2] timeout. forceful shutdown
2020/12/29 16:36:31 [overseer master] prog exited with 1
2020/12/29 16:36:31 [overseer master] starting /Users/Demo
2020/12/29 16:36:34 [overseer slave#3] run
2020/12/29 16:36:34 [overseer slave#3] start program
Looking forward to your reply, Thank you!

You must use the overseer.State.Listener to receive zero-down time restarts
On 29 Dec 2020 at 7:38:08 pm, Dev-Jabin<EMAIL_ADDRESS>wrote:

My project is built on the Beego, Now I want to graceful restart my
project with Overseer. When I send kill -SIGUSR2 PID. I found that the
current process was closed first, and then fork a new process. This will
lead to a period of no work process in the middle, resulting in service
denial of access. Unable to achieve zero-down
My project code
`
func main() {
overseer.Run(overseer.Config{
Program: prog,
Debug: true,
})
}
func prog(state overseer.State) {
beego.BConfig.RecoverPanic = true
beego.BConfig.Listen.Graceful = false
beego.Run()
}
`
Overseer log
`
2020/12/29 16:36:31 [overseer master] graceful restart triggered
2020/12/29 16:36:31 [overseer master] restart success
2020/12/29 16:36:31 [overseer slave#2] graceful shutdown requested
2020/12/29 16:36:31 [overseer slave#2] timeout. forceful shutdown
2020/12/29 16:36:31 [overseer master] prog exited with 1
2020/12/29 16:36:31 [overseer master] starting /Users/Demo
2020/12/29 16:36:34 [overseer slave#3] run
2020/12/29 16:36:34 [overseer slave#3] start program
`
Looking forward to your reply, Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jpillora/overseer/issues/66, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE2X4ZB2EUPQZTQGTAO73TSXGIPBANCNFSM4VM6U4WQ
.

You must use the overseer.State.Listener to receive zero-down time restarts
…
On 29 Dec 2020 at 7:38:08 pm, Dev-Jabin @.***> wrote: My project is built on the Beego, Now I want to graceful restart my project with Overseer. When I send kill -SIGUSR2 PID. I found that the current process was closed first, and then fork a new process. This will lead to a period of no work process in the middle, resulting in service denial of access. Unable to achieve zero-down My project code func main() { overseer.Run(overseer.Config{ Program: prog, Debug: true, }) } func prog(state overseer.State) { beego.BConfig.RecoverPanic = true beego.BConfig.Listen.Graceful = false beego.Run() } Overseer log 2020/12/29 16:36:31 [overseer master] graceful restart triggered 2020/12/29 16:36:31 [overseer master] restart success 2020/12/29 16:36:31 [overseer slave#2] graceful shutdown requested 2020/12/29 16:36:31 [overseer slave#2] timeout. forceful shutdown 2020/12/29 16:36:31 [overseer master] prog exited with 1 2020/12/29 16:36:31 [overseer master] starting /Users/Demo 2020/12/29 16:36:34 [overseer slave#3] run 2020/12/29 16:36:34 [overseer slave#3] start program Looking forward to your reply, Thank you! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#66>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X4ZB2EUPQZTQGTAO73TSXGIPBANCNFSM4VM6U4WQ .

Thanks for your replay.
Now I update my project code as follows
main code
func main() {
	overseer.Run(overseer.Config{
		Program: prog,
		Address: ":8020",
		Debug:   true, //display log of overseer actions
	})
}

Ps: 8020 is my project listen port
prog code
func prog(state overseer.State) {
	http.Serve(state.Listener, nil)
	beego.BConfig.RecoverPanic = true
	beego.BConfig.Listen.Graceful = false
	beego.Run()
}

But I have another problem, How can I use my previous routers.  e.g.
beego.Router("/soccer/biz/ping", &soccer_biz.IndexController{}, "Get:GetPong")
Now I curl http://<IP_ADDRESS>:8020/soccer/biz/ping return 404.
How to solve this problem? Thank you!

http.Serve(state.Listener, nil)
Will run the global HTTP server (nil router), provide your router in the
place of nil
On 29 Dec 2020 at 10:00:22 pm, Dev-Jabin<EMAIL_ADDRESS>wrote:

You must use the overseer.State.Listener to receive zero-down time restarts
… <#>
On 29 Dec 2020 at 7:38:08 pm, Dev-Jabin @.***> wrote: My project is
built on the Beego, Now I want to graceful restart my project with
Overseer. When I send kill -SIGUSR2 PID. I found that the current
process was closed first, and then fork a new process. This will lead to a
period of no work process in the middle, resulting in service denial of
access. Unable to achieve zero-down My project code func main() {
overseer.Run(overseer.Config{ Program: prog, Debug: true, }) } func
prog(state overseer.State) { beego.BConfig.RecoverPanic = true
beego.BConfig.Listen.Graceful = false beego.Run() } Overseer log 2020/12/29
16:36:31 [overseer master] graceful restart triggered 2020/12/29 16:36:31
[overseer master] restart success 2020/12/29 16:36:31 [overseer slave#2]
graceful shutdown requested 2020/12/29 16:36:31 [overseer slave#2] timeout.
forceful shutdown 2020/12/29 16:36:31 [overseer master] prog exited with 1
2020/12/29 16:36:31 [overseer master] starting /Users/Demo 2020/12/29
16:36:34 [overseer slave#3] run 2020/12/29 16:36:34 [overseer slave#3]
start program Looking forward to your reply, Thank you! — You are
receiving this because you are subscribed to this thread. Reply to this
email directly, view it on GitHub <#66
https://github.com/jpillora/overseer/issues/66>, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE2X4ZB2EUPQZTQGTAO73TSXGIPBANCNFSM4VM6U4WQ
.
Thanks for your replay.
Now I update my project code as follows
main code
func main() {
overseer.Run(overseer.Config{
  Program: prog,

  Address: ":8020",

  Debug:   true, //display log of overseer actions

})
}
Ps: 8020 is my project listen port
prog code
func prog(state overseer.State) {
http.Serve(state.Listener, nil)
beego.BConfig.RecoverPanic = true
beego.BConfig.Listen.Graceful = false
beego.Run()
}
But I have another problem, How can I use my previous routers. e.g.
beego.Router("/soccer/biz/ping", &soccer_biz.IndexController{},
"Get:GetPong")
Now I curl http://<IP_ADDRESS>:8020/soccer/biz/ping
http://<IP_ADDRESS>:8020/soccer/biz/ping return 404.
How to solve this problem? Thank you!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jpillora/overseer/issues/66#issuecomment-752035624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE2X45RMV2P7IJS4XAAJ6TSXGZENANCNFSM4VM6U4WQ
.


LogLevel and LogLevelFilter doc improvements.

Fixes #132, fixes #133
Does it look OK?
Ottavio

Looks great, thanks!


Tries to get namenode host name from hadoop config, if it is missing spark config

This patch is trying to fix one of the problems raised in this issue, where spark.eventLog.dir config key does not contain namenode hostname. As reported in the issue, sometimes it's not possible to add hostname into that config.
In this patch, if spark.eventLog.dir does not contain the hostname, then fetcher gets the hostname from the value of config key, fs.defaultFS. I am not very sure if this the right way to do it. I referred this documentation.
@rayortigas and @shankar37

@shkhrgpt, to get the correct namenode address, refer to this method.
Basically, if namenode HA is not enabled, then it uses dfs.namenode.http-address to get the namenode hostname. Otherwise, if HA is enabled, then it pings every nameservice to check for the active namenode and then picks the appropriate namenode host.

Thanks @akshayrai
I'll incorporate this method into  this change.

Maybe I should just incorporate this entire logic construct the URL for log dir?
@akshayrai @rayortigas


Add margin bottom on dialogs from production branch hotfix to development

Apply the marginBottom that was added to the Dialog template component in the production branch hotfix to the development branch

Closed as git will handle this when development is merged onto production


w/h in srcset support

Describe your problem/question
Can lazysizes also interpret the h descriptor for image sizes (srcset)?
So there may be an image of same width (w) but different height (h).
From the discussion https://github.com/aFarkas/lazysizes/issues/923 it seems that lazysizes artdirect plugin can also handle this.
So what I want to do with lazysizes:
Let lazysizes calculate the final image dimensions (not possible before rendering due to the nature of the content/layout of that page) and then let it pick the optimal image of width and height.
artdirect allows very fine control but it also requires to specify each width-height combination explicitly.
Add tags/keywords
width, height, srcset, w, h, calculate, pick

It seems that the parent-fit extension already supports w and h descriptors combined in sources:
https://github.com/aFarkas/lazysizes/tree/gh-pages/plugins/parent-fit#object-fit-containcover-usage


19043 1586 Service state: Unknown, wrapper state:3th party Issue

Today after upgrade Win 10 to version 19043 1645 RDP stop working, and I tried to delete and again install rdp wrapper folder, and now I have this issue.

Do You have suggestion what to do to repair again RDP?
I have remotely few pc, and only for this one I have issue after upgrade. For others I just click on auto update and problem was solved.....

RDP Wrapper deleted by antivirus.
Try this command as Administrator:
reg add HKLM\SYSTEM\CurrentControlSet\Services\TermService\Parameters /v ServiceDll /t REG_EXPAND_SZ /d "%SystemRoot%\system32\termsrv.dll" /f
If not work (service status = unknown): try restore backup from original (clean) OS
Windows 10 21H1 here
Windows 11 21H2 here
Windows 10 LTSC 1809 here

Most likely related to https://github.com/stascorp/rdpwrap/issues/1595

I have de sam problema, somebody can help me? What is the process to restablish?

RDP Wrapper deleted by antivirus.
try restore backup from original (clean) OS Windows 10 21H1 here Windows 11 21H2 here Windows 10 LTSC 1809 here

I tried with registry changes, and how the situation is

Exactly same issue here

You should to disable your antivirus before downloading and installing this software.
Now you need to recover your system.
Not an RDPWrapper issue

@TeHashX

Exactly same issue here

Please, use right click --> Run as Administrator

I tryed running as admin, same.
I had whitelisted Rdp Wrapper in Bitdefender AntiVirus.
Which files was deleted? Can I copy / paste from another windows instalation?

I tryed running as admin, same. I had whitelisted Rdp Wrapper in Bitdefender AntiVirus. Which files was deleted? Can I copy / paste from another windows instalation?

Yes. Write in official telegram

I have Bitdefender too on few pc and Rdpwrap is exluded and on white list. But only on one PC I got this specific issue. Probably Bidefender made this issue in system with Teamservice.....

Im same fail

step 1
disable bitdefeder or any antivirus.
Step 2
the most important
Download the registers
Windows 10 21H1 here
Windows 11 21H2 here
Windows 10 LTSC 1809 here
the latter works with windows server 2016 / 2019
or restore the registers from a clean OS with rdpwrapp INSTALLED.
export and import on damaged OS
step 3
paste the rdpwrap.dll CLEAM
C:\Program Files\RDP Wrapper
now reboot the OS
Step 4
Check in services that the Terminal services is running, if not right click start
step 5
create the exception of the in the antivirus PATH
now rdpwrap is working, update the .ini file
and enjoy

step 1
disable bitdefeder or any antivirus.
Step 2
the most important
Download the registers
Windows 10 21H1 here
Windows 11 21H2 here
Windows 10 LTSC 1809 here
the latter works with windows server 2016 / 2019
or restore the registers from a clean OS with rdpwrapp INSTALLED.
export and import on damaged OS
step 3
paste the rdpwrap.dll CLEAM
C:\Program Files\RDP Wrapper
now reboot the OS
Step 4
Check in services that the Terminal services is running, if not right click start
step 5
create the exception of the in the antivirus PATH
now rdpwrap is working, update the .ini file
and enjoy

@JJRoteG

Download the registers

Windows 10 21H1 here
Windows 11 21H2 here
Windows 10 LTSC 1809 here
Links are not saved.  Inserted in quote.


do not reset is_visible for each camera

Objective

Fix #5019, fix #5033
#4489 changed the is_visible reset to happen for each camera, so only the last was kept

Solution

Move the is_visible reset outside of the camera loop, as it was before

@james7132 snuck this fix into https://github.com/bevyengine/bevy/pull/4663


Bootstrapping OXA Stamp

Adding initial bootstrap of the OXA Stamp:
This change includes :

Arm template for setting up the OXA stamp
Setup scripts installing and configuring mongo and mysql databases with replication
Configuration file for mysql

This covers the bare metal infrastructure of the OXA stamp. There may be need for a number of refactoring for monitoring, disgnostics, and clean up of parameters but this change is intended to unblock dependent work items.

@eltoncarr networkSettings in shared-resources.json needs to be secureObject. Also, we still need VM series to match the storage type - I'm fine with whichever you choose to start with. D_v2 series for Standard_LRS, or DS_v2 series for Premium_LRS. Otherwise, I'm ready to sign off.

Thanks everyone. Great review.


Feature/#46411

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #46411

unclear exactly what was wanted, implemented what seanshamilton described "use a package like diff to get even more detailed output (only show the changed characters)" Since the purpose of this is to make it easier  to dig through the code, I thought it would be better to show entire changed lines instead of individual characters.

Thank you for opening this pull request.
We’ve reviewed your pull request and decided not to merge it; However, We would welcome future pull requests from you.
You are welcome to read these guidelines to learn more about contributing to this project.
Happy contributing.

Thank you for opening this pull request.
We’ve reviewed your pull request and decided not to merge it; However, We would welcome future pull requests from you.
You are welcome to read these guidelines to learn more about contributing to this project.
Happy contributing.

I have renamed the pull request please reopen

Did you get a chance to read these parts of the guide: https://contribute.freecodecamp.org/#/how-to-open-a-pull-request?


Mouse and headset functionality?

What are you experiencing an issue with?

[x] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Went to set up my mouse to use Aurora (Razer Deathadder) and headset (Razer Man o War) But no option is available. Is this functionality available? if not I will disregard.
Actual behavior:
No option to select it..
How often does this problem occur?
All the time
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:
What is the version of Aurora you are experiencing this issue with?

My version is... (Aurora v0.6.0b)
Does the previous version of Aurora have this issue?
The previous version, (Fill in the version here), did/did not have this issue.
Please include any logs, screenshots, or files that are related to this issue:

For logs, you can use: http://pastebin.com/
For screenshots, you can use: http://imgur.com/
For files, you can use: http://www.tinyupload.com/ , https://www.dropbox.com/ , or attach them to the issue.

You can select any mouse, and it will work.


mergerfs.consolidate moving complete folder from 1 drive to another

So as I understand it this tool should keep files in a folder together, but it is moving a season folder that is already on 1 drive to another. So I ran the following command to see what it would move
mergerfs.consolidate /mnt/storage-data
The list it generated was long but this is a small part where the files its trying to move make no sense or maybe im misunderstanding this tools purpose. As I understand it if a folders files are already on a single drive then nothing should happen right
rsync -avHAXWES --numeric-ids --progress --relative --remove-source-files '/srv/dev-disk-by-uuid-214b19e8-755d-48c7-8837-22cfe2902767/./media/tvshows/hd/F/Fear The Walking Dead/Season 1/Fear.the.Walking.Dead.S01E01.Pilot.1080p.WEB-DL.DD5.1.H.264-NTb.mkv' /srv/dev-disk-by-uuid-ca6f8fdf-e56c-45ba-9cf4-47234ca1da14/
rsync -avHAXWES --numeric-ids --progress --relative --remove-source-files '/srv/dev-disk-by-uuid-214b19e8-755d-48c7-8837-22cfe2902767/./media/tvshows/hd/F/Fear The Walking Dead/Season 1/Fear.the.Walking.Dead.S01E02.So.Close.Yet.So.Far.1080p.WEB-DL.DD5.1.H.264-NTb.mkv' /srv/dev-disk-by-uuid-ca6f8fdf-e56c-45ba-9cf4-47234ca1da14/
rsync -avHAXWES --numeric-ids --progress --relative --remove-source-files '/srv/dev-disk-by-uuid-214b19e8-755d-48c7-8837-22cfe2902767/./media/tvshows/hd/F/Fear The Walking Dead/Season 1/Fear.the.Walking.Dead.S01E03.The.Dog.1080p.WEB-DL.DD5.1.H.264-NTb.mkv' /srv/dev-disk-by-uuid-ca6f8fdf-e56c-45ba-9cf4-47234ca1da14/
rsync -avHAXWES --numeric-ids --progress --relative --remove-source-files '/srv/dev-disk-by-uuid-214b19e8-755d-48c7-8837-22cfe2902767/./media/tvshows/hd/F/Fear The Walking Dead/Season 1/Fear.the.Walking.Dead.S01E04.Not.Fade.Away.1080p.WEB-DL.DD5.1.H.264-NTb.mkv' /srv/dev-disk-by-uuid-ca6f8fdf-e56c-45ba-9cf4-47234ca1da14/
rsync -avHAXWES --numeric-ids --progress --relative --remove-source-files '/srv/dev-disk-by-uuid-214b19e8-755d-48c7-8837-22cfe2902767/./media/tvshows/hd/F/Fear The Walking Dead/Season 1/Fear.the.Walking.Dead.S01E05.Cobalt.1080p.WEB-DL.DD5.1.H.264-NTb.mkv' /srv/dev-disk-by-uuid-ca6f8fdf-e56c-45ba-9cf4-47234ca1da14/
rsync -avHAXWES --numeric-ids --progress --relative --remove-source-files '/srv/dev-disk-by-uuid-214b19e8-755d-48c7-8837-22cfe2902767/./media/tvshows/hd/F/Fear The Walking Dead/Season 1/Fear.the.Walking.Dead.S01E06.The.Good.Man.1080p.WEB-DL.DD5.1.H.264-NTb.mkv' /srv/dev-disk-by-uuid-ca6f8fdf-e56c-45ba-9cf4-47234ca1da14/

It's doing that because it doesn't care where the files come from, just where they might go, which is the drive with the most free space. Doing smarter things is more complicated and given the tool is more of a "oh shit, want to clean this up after screwing something up" not much time has been spent on it. Most people have no need for consolidation.

I came across this problem today. I use epfs policy for create,  to minimize moving large files between disks. But I also like to use mergerfs.balance on the pool as well sometimes, which messes that up, splitting the directories.  The goal is to run consolidate after balance, to merge the directories that balance split up to multiple disks, preferably only moving the least amount of data possible. Is this possible with existing tools? I guess the balance could be smarter as well, keeping the directory on only one drive when using path preservation.


Unable to see the CODE!

Please consider explain more the detail in README to see the source code from this repository, thanks!

A...a...a...are you actually serious?


support TypeScript

it doesn't support..
Try npm install @types/react-gtm-module if it exists or add a new declaration (.d.ts) file containing declare module 'react-gtm-module';

It doesn't exist at this moment. It's required to use declare module 'react-gtm-module';.

declare module 'react-gtm-module worked for me

I wrote some basic types which I published using the DefinitelyTyped repo, take a look: https://www.npmjs.com/package/@types/react-gtm-module

somehow the typings don´t work for me. In the build it adds ".default" to the imported Tagmanager
eg.
When I have this in TS:
TagManager.initialize(x)
the js-file results in:
TagManager.default.initialize(x)
which (of course) results in an "Call-to-undefined" as there is no "default" in the TagManager object.
It only works, when i remove the typings and import it in that form:
import * as GTM from "react-gtm-module";

What if we rewrite the app in TS? Would it be a good idea @alinemorelli ?

Rewrite in TS is not necessary, an update of the typings should be enought i think

It seems the typings have not been fixed.
I'm getting the issue with the built code containing
react_gtm_module_1.default.initialize(this.props.gtmArgs);
default is undefined and therefore the app fails.
The tsx file has:
TagManager.initialize(this.props.gtmArgs)
This is with
"react-gtm-module": "2.0.11",
"@types/react-gtm-module": "2.0.0",

@types/react-gtm-module version 2.0.1 seems to work fine for basic support at least ✅


Inconsistency in the VisibilityExpressionArray type

The type in the OptContentMembership tsv file shows that the field VE is of type array and has a link VisibilityExpressionArray.
When you look at the tsv file corresponding to the type VisibilityExpressionArray, on lines 3 and 4 they hold links back to VisibilityExpressionArray. However, the type specified here is dictionary. Should we be changing the type here to dictionary;array and the corresponding link to [fn:SinceVersion(1.6,OptContentGroup)];[fn:SinceVersion(1.6,VisibilityExpressionArray)]?

Agreed. VisibilityExpressionArray.tsv is incorrect.
But the Type field needs to be array;dictionary as it needs to be alphabetical order :-) so the Link then becomes [VisibilityExpressionArray];[OptContentGroup]. The predicate for versions is also redundant here since the SinceVersion field is the same PDF version.

And I will look into validating if the TestGrammar C++ PoC app can detect and report if a dictionary has purely integer key names (Key field) to highlight this specific error. AFAIK ISO 32000-2:2020 never defines this.

Fixed in latest commit


authorization does not appear

I just installed this add-on and I can't get the Google permissions permission screen to appear, I can't issue permissions to GAS, so I can't do anything with it, I have to go to Google and ask for permission to use the add-on. Is there any way to issue the authorization myself?

Same here


Add annotate gem for Gemfile and model annotations

Fixes #1672 .
Changes proposed in this PR:

Added Annotate gem for helpful model annotations
Added Annotate-Gem gem for helpful Gemfile annotations

had a Travis bundler error. I just restarted the build on Travis. I've seen it resolve itself on those bundler errors in the past after a quick restart.

@Bodacious seems to be a discrepency between the Gemfile and the Gemfile.lock. You added protected_attributes but it doesn't make an appearance in the lock file. I should be able to add it in with a bundle install on your end.


jupyter magic commands error

macOS: 13.4.1
vscode version: 1.80.2
black formatter:v2023.4.1
%load_ext autoreload
%autoreload 1

2023-07-28 15:26:07.324 [info] [Trace - 15:26:07] Received response 'textDocument/formatting - (29)' in 52ms.
2023-07-28 15:26:07.324 [info] [Trace - 15:26:07] Received notification 'window/logMessage'.
2023-07-28 15:26:07.324 [info] [Error - 15:26:07] Syntax error in code: Traceback (most recent call last):
......
  File "<unknown>", line 1
    %load_ext autoreload
    ^
SyntaxError: invalid syntax

Duplicate https://github.com/microsoft/vscode-black-formatter/issues/87
This is not supported yet.


Evm seiv2

Describe your changes and provide context
This rebases the evm branch onto the seiv2 branch without squashing. Note that some intermediate commits may no longer by valid builds due to modifications in dependencies and call patterns as part of merge conflict resolution
Testing performed to validate your change

Codecov Report
Attention: Patch coverage is 69.18438% with 1073 lines in your changes are missing coverage. Please review.

Project coverage is 62.68%. Comparing base (56d7956) to head (0ad5856).

Additional details and impacted files

@@            Coverage Diff             @@
##            seiv2    #1393      +/-   ##
==========================================
- Coverage   63.01%   62.68%   -0.33%
==========================================
  Files         257      350      +93
  Lines       16867    23895    +7028
==========================================
+ Hits        10628    14979    +4351
- Misses       5730     8058    +2328
- Partials      509      858     +349

Files
Coverage Δ

app/antedecorators/priority.go
100.00% <100.00%> (ø)

app/upgrades.go
40.74% <ø> (ø)

evmrpc/config.go
100.00% <100.00%> (ø)

evmrpc/echo.go
100.00% <100.00%> (ø)

evmrpc/query_builder.go
100.00% <100.00%> (ø)

evmrpc/tracers.go
100.00% <100.00%> (ø)

evmrpc/web3.go
100.00% <100.00%> (ø)

x/evm/ante/basic.go
46.96% <ø> (ø)

x/evm/ante/fee.go
82.00% <ø> (ø)

x/evm/ante/gas.go
72.72% <ø> (ø)

... and 73 more

... and 23 files with indirect coverage changes


updated readme w/analysis and plots

expanded Summary section with description of our analysis, textual summary and plots
table with a run for AVAXUSDT
screen shots for textual summary, and each plot for AVAXUSDT

@Aranda80 I just added a section about Known Issues. If we have time to fix, great. But if not, its called out with a workaround.


ng-model-low, ng-model-high are really required

Hi!, It's really a great work  and I really liked the design of these sliders, while I was implementing these in my project, I seen that ng-model-high and ng-model-low values are not defined I guess for this widget, hence if you type some very high value in range textbox then slider really go outside the window. It will be really great if you can fix this or let me know the other solution out of that, My requirement is define a slider between 0-200 (lets assume) and ng-model is tied with a textbox instead of label and user will not be able to type in textbox below 0 or bigger no than 200, but he is allowed to type any no between 0-200 and in decimal also e.g. 198.9. One more thing the step is not accepted for decimal values less than 1, If I want slider to step with value 0.5 then it's not working.
Thanks
Jitender

On-change of the text in the textbox broadcast the slider event 'rzSliderForceRender ' to re-render the slider without having it to go  out of the window. Read Slider Events  for more info

Hi Iash,
Thanks for your valuable answer, It will be really great if you can share me the sample code to control this with rzSliderForceRender.
Thanks

Also for decimal values, you can use the translate function to display the model value as a decimal. For instance if you want to go between 0 and 10 with a 0.1 step, then you need to configure the slider values between 0 and 100 (with a step of 1) and then display the value as value/10.

Closed as no answer for 3 months. Comment to re-open....


build.cmd -all -pack fails locally with an error in blazor

cc @pranavkm
.dotnet\sdk\3.0.100-preview5-011568\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(199,5): error : Could not find a part of the path 'src\Components\Browser.JS\dist\Debug'. [src\Components\Blazor\Build\src\Microsoft.AspNetCore.Blazor.Build.csproj]

Workaround:
.\build.cmd -all -pack -configuration Release
There's a checked in copy of the files for dist\Release. The local build does not generate the debug versions.
@SteveSandersonMS

This is being fixed by the work @JunTaoLuo is doing.


rx: All operator

The predicate needs to be modified to accept Item[T], not T:

Predicate[T any] func(T) bool

This is to enable the correct handling of the value, as now we have a new auxilliary field on Item, B, which represents a boolean value, required by the All operator.

Parallel tests added but disable because WithCPUPool is not full implemented yet.


FileNotFoundError: [Errno 2] No such file or directory: 'misc/sitter-libs'

Hello! I'm encountering an issue when I try to run the bash scripts/decompose_test.sh following the instructions in the README. The error I received seems to be related to a missing directory (misc/sitter-libs), but I cannot find this directory anywhere in the project. I would really appreciate it if you could provide any help in resolving this error or any explanations to clarify my misunderstanding. Thanks!

I ahve also ran into thius problem

Hi @Roreyou! Could you please share the complete error log? That would better help us understand the error.


Librery

Dear Sir
Have you tried to install this example on a clean nodemcu?
I have spent hours trying to understand the problem but you see I am lost... So I write to you.
I have uploaded the code and try to connect to the "demo" AP trough my mobile, it opens the connection manager address http://192........
and I get file not found...
I have tried to understand as much as I can but I am lost, it seems that it doesnt upload the index.html...
Can you check the code again please?
I am also curious, you say that the SSID and password is saved in the eeprom, what if after that I connect to one access point I would like to connect to another? should I reprogram again the code or is there other way to reset settings?

Hi,
It seems I have a piece missing from the documentation that I will go and fix after this. The index.html needs to be uploaded to the SPIFFS. Your IDE and setup will determine how this is done. The instructions for Arduino can be found here: Uploading files to file system. I have provided an index.html for you as an example in the data directory, but you are welcome to change it if you like, as long as the data gets posted in the same format.
With regards to the saved SSID, the configuration will try to connect to its stored SSID, if it fails to do so, it will then start the captive portal so you can set a new SSID and password. If the access points are not in range of each other, then you should not need to reflash. If your use case is that they are next to each other, I could possibly expose a REST endpoint to set the new SSID and password. Please let me know if you need this?
Thanks,
Nicholas Wiersma

Hi,
Did this help? Does it resolve your issue?

Dear Sir
Thanks for your fast responce, Yes it did help but I moved on to other library that also show me the access points I can chose from and reset configuration if I would like to change the access point (that is without re-flashing the code, the library name is Wifimnager)
Anyway in your Simple.ino example this argument is missing:  ConfigManager configManager;
Kind regards,
Ilan.

Thanks, will check up on that and update the library when I get a chance.


chore: update toggle bot resources

#273  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jsalaber and the rest of your teammates on  Graphite


OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option.

Executing test_jit tests with OpenCE is showing numerous warnings:
OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option.
This same warning is not observed with WMLCE for same version of OpenBLAS.

As a workaround user can set OMP_NUM_THREADS=1 to avoid using multiple threads.

https://github.com/pytorch/pytorch/issues/52047

@cdeepali i had the same issue. Building OpenBLAS from source with USE_OPENMP=1 didn't help for me.
I have few Jetson Nano and I guess i found a few ways to fix it:

Downgrading Jetpack version
On Jetson Nano with JetPack 4.4.1 - everything works fine, on new Jeston Nano with JetPack 4.5.1 - i have the same issue.
Check the difference from jtop output:

Jetpack 4.4.1

Jetpack 4.5.1

Nvidia update VPI (https://docs.nvidia.com/vpi/index.html) and i guess it cause the problem.

Downgrading torch
On another Jetson Nano with Jetpack 4.5.1 i tried this:

sudo apt-get install libopenblas-base libopenmpi-dev
wget https://nvidia.box.com/shared/static/wa34qwrwtk9njtyarwt5nvo6imenfy26.whl -O torch-1.7.0-cp36-cp36m-linux_aarch64.whl
./venv/bin/pip3 install torch-1.7.0-cp36-cp36m-linux_aarch64.whl
and it helps

This was resolved by switching PyTorch to use TBB instead of OpenMP.

@bnemanich how did you do that?

We switched to using TBB for intra-op parallelism. - https://pytorch.org/docs/stable/notes/cpu_threading_torchscript_inference.html#:~:text=PyTorch uses a single thread,( intra-op parallelism ).

yeah, the change was in:
https://github.com/open-ce/pytorch-feedstock/commit/2ab85700a93d382a3a67a334a38a2ed29e898736

And just a note for why this was needed.
Anaconda's toolchain uses gomp for openMP. And gomp is known to not be fork-safe (it can hang when the program using it forks). To avoid any hangs, Anaconda has disabled openMP in their OpenBLAS package. (conda-forge has since included llvm-openmp as a openmp variant, but defaults hasn't moved there yet)
This warning message comes when Pytorch is built with OpenMP support, but then uses an OpenBLAS that was not.
Switching Pytorch to use TBB instead of OMP avoids the problem.
The downside is still relying on the OpenBLAS package from defaults with no OMP support, which is slower. If a future release we will likely include our own OpenBLAS package built with llvm-openmp unless defaults provides.


go lang in pre-reqs

updating the pre-reqs to include golang v1.12

Reattempted this after making a bit of a hash of it earlier in #596

/assign @dgoodwin


fix gitbook adress

@DaveBackus we need to change the link on gitbook to point here instead of DaveBackus/Data_Bootcamp_Book

This will require a new gitbook account

done


The way to propagate changes in props with navigator

This might be off the topic but I think many people would consider how to deal with the idea of smart/dumb compoent on react-native, because there are a lot of use cases that the first/initial route, route[0], has information and the rest routes are dumb component. For example, the component of ListView(parent) has the data and the each list item(child component) is just using the part of the parent's data. With React, when there is a change on parent's data, the particular change related to the child component is propagated by using the props.
I'm using "replace" to realize this without propagating props, like below.  I would like to know what is the best way to handle this. And is it possible to have the API to deal with this in the future?
  # this is on parent component and the change is pushed to props(I'm using Redux)
  componentWillReceiveProps(nextProps){
    this.props.hubs.map((currentHub) => {
      nextProps.hubs.map((hub) => {
        if(currentHub.updatedAt !== hub.updatedAt){
          this.props.navigator.getCurrentRoutes().map((r, index) => {
            if(r.getHubId && ( r.getHubId() === hub.objectId ) ){
              let route = Router.getHubRoute(hub);
              this.props.navigator.replaceAtIndex(route, index);
            }
          });
        }
      })
    })

You probably want to write this code in the owner of the Navigator component, not in the first screen component. Also, each screen should be a smart component.
class App extends Component {
  constructor(props, context) {
    super(props, context);
    this.state = { routes: [Router.getInitialRoute()] };
  }

  render() {
    return (
      <ExNavigator
        initialRouteStack={this.state.routes}
        ref={c => { this._navigator = c; }}
      />
    );
  }

  componentDidUpdate(prevProps, prevState) {
    // compare this.state.routes to prevState and call this._navigator.push/pop/replace
  }
}

But I think this is too complicated. You should just call push/pop when you need to.

@ide  Thank you for your comment.  Agreed. It's a way complicated..  just regarding each scene as smart component and updating with the change is simple way to handle this.  Thanks again.


speicify interface for default route

How can I specify the interface for the default route? I have ppp0 for IPv4 and ppp1 for IPv6. dhcpcd should deal only with the latter. However, the default route is always created with the ppp0 device.
Here are some things that I tried:
ipv6only
waitip 6

allowinterfaces ppp0 ppp1

interface ppp0
    nodhcp6
    noipv6
    noipv6rs
    nogateway

interface ppp1
    ipv6only
    ipv6rs
    ia_na 1
    ia_pd 1 enp0s25/0

ipv6only
waitip 6

denyinterfaces ppp0
allowinterfaces ppp1

interface ppp1
    ipv6only
    ipv6rs
    ia_na 1
    ia_pd 1 enp0s25/0

Either way, I get a default route via ppp0. I'm running Debian 11 and installed dhcpcd via the package manager. The version seems to be 7.1.0. Some help would be appreciated.

Your latter config looks fine.
How did you start dhcpcd and how do you know it added the default route?
Try adding this at the top of your config
debug
logfile /var/log/dhcpcd.log

Then paste the dhcpcd log here which shows some context about it added a route for ppp0.
Lastly, that version of dhcpcd is pretty old now. Have you tried a newer version?

Now that my IPv6 is working, I'd like to close this case with some explanations for those of you who are desperately using search engines to solve their problems and stumble across this thread. I have a Debian 11 machine that serves as my router. It has one NIC connected to a DSL modem running in bridge mode and another NIC (enp0s25) for the LAN.
I suspected that dhcpcd was my problem because the first error that I saw was
ppp1: cannot delegate to eth1: No such device or address
That was an easy one, the message explains it all. I replaced eth1 with enp0s25 and then I got the following messages:
ppp1: no IPv6 Routers available
ppp1: dropping DHCPv6 due to no valid routers

In the beginning it was only the first one, later both. I suppose they disappeared after I started running radvd, a router advertisement daemon for IPv6, on the Debian machine.
I also found these messages which sill persist:
ppp1: unsupported interface family 00
radvd is supposed to announce routes to machines on the LAN which can use this information to configure their own IPv6 address(es). I started out with a configuration like this:
interface enp0s25 {
        AdvSendAdvert on;
        AdvManagedFlag off;
        MinRtrAdvInterval 3;
        MaxRtrAdvInterval 10;
        prefix ::/56 {
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr off;
        };
        route ::/0 { };
        RDNSS 2607:xxxx:xxxx::1 2607:xxxx:xxxx::2 { };
};

This generic prefix line uses the prefix that dhcpcd delegated to the interface enp0s25. In dhcpcd.conf I had ia_pd 1 enp0s25/0. The /0 means that a /56 prefix is delegated. My client machine (Linux Mint 20.2) silently ignored the router advertisements for the global address. I ran Wireshark to verify that the RAs are actually sent, they were, but nothing happened and nothing in the logs.
I also tried the following prefix configuration in radvd.conf that uses the full IPv6 address of the router instead of an  IPv6 prefix:
        prefix 2607:xxxx:xxxx:xxxx:xxxx::1/56 {
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr on;
        };

This did not make a difference. As I understand it, AdvRouterAddr should be on if the prefix line contains the complete address of the router, and off when it's just a prefix. Many examples that I found have it on even though only a prefix is configured.
After reading dozens of pages on the Internet I gave up and had a shower. The warm water gave me another idea: maybe /56 is too large. So I changed dhcpcd.conf to ia_pd 1 enp0s25/8 and radvd.conf to prefix ::/64. Restarted these two services, did a poff followed by pon, and then my LAN machine suddenly had a global IP address and proper routes.


Reconsider more opensource licenses like MIT, otherwise pointless?

When facebook released React it released it with all sorts of provisions on the license eventually it realized that opensource expectations are of permisive licenses, and GPL is yesterdays expecations now days Permisive ( perhaps with GPL compatibility ), I think the general expectations are for MIT or similar. MIT is very simple and compatible to use and contribute.
Facebooks 'React' license
https://github.com/facebook/react/blob/master/LICENSE
Modern Game Engines for 2D and 3D, notice there is an expectation among modern game developers use Unity OR something with permisive license:
https://github.com/Kode/Kha/blob/master/license.txt
https://github.com/armory3d/armory/blob/master/LICENSE.md
https://github.com/HeapsIO/heaps/blob/master/LICENSE
https://github.com/openfl/openfl/blob/master/LICENSE.md
https://github.com/HaxeFlixel/flixel/blob/dev/LICENSE.md
https://github.com/openfl/away3d/blob/master/LICENSE.md
Really no point in releasing another 2D engine if it's old school opensource only, there are plenty of good tools that are MIT.
Please note as a Haxe user I have no specific interest in Corona, seems there are already very good solutions that are better licensed - Heaps, NME, OpenFL, Kha to name but a few. But since Haxe compiles to Lua it might be interesting to take a look.  My point is that I think it's a shame to go to effort of cleaning up code for opensourcing and then going halfway, better to release most of it and then charge for components, but it's your choice if you want to attract developers.

Primary way of using Corona for last 10 years was through Corona Simulator, which is a binary distribution, and absolutely nothing changed to terms of using it. You can still go to coronalabs.com, download a build and use it for making games, building them and distributing in any way you want to.
GPL license is only applied to source code distribution of Corona, which does not affect game developers in any way, but provides a way for people interested in developing a game engine to get involved and contribute to real world game engine.
Dramatic difference between Corona and other products you mentioned is that they do not work same way Corona does: to use React, you link with source code of react, which must be then distributed with non-viral license. To build with Corona you link with commercially licensed free binaries using Corona build system.

Just an update, we reliced this engine under MIT. Not it is fully open source, as well as all first party plugins. Build system is open source too.
Cheers.

Just an update, we reliced this engine under MIT. Not it is fully open source, as well as all first party plugins. Build system is open source too.
Cheers.

Not it is fully open source, as well as all first party plugins.
Vlad, correct "not" to "now" 😉

Not it is fully open source, as well as all first party plugins.
Vlad, correct "not" to "now" 😉


refactor: limit the use of viper in packages outside cmd

Using viper outside command initialization and configuration makes it difficult to see what options gets applied.
This commit refactors the initialization of the Filter struct in the filter package to use functional options over initializing from viper.

@maeb I hope we can get this PR merged sometime soon.

Superseded by #160.


Clean up the releases.

The releases are way behind and out of wack with the package publishes by the looks of it.

My fork is pretty up-to-date, might PR when you're up to date.


When using continuous scoring metrics, the scores must be floats!

In the metrics/metric.py, in line 87, the next error checking is wrong:
 if y_score.dtype != np.float_:
It should be:
if not np.issubdtype(y_score.dtype, np.floating):
This would avoid raising incorrect errors. Also, the message raised could be more clear, something like:
raise ValueError(
    f"When using continuous scoring metrics, the scores must be floats!. "
    f"Got {y_score.dtype} instead."
)

Thank you for the issue!
I would appreciate it if you could submit a PR addressing those issues.

Yes. The usual process is to
(i) fork the repository
(ii) create a new branch in the fork
(iii) submit a PR with your new branch as the source and our repository as the target.
Thank you.

Thanks for the explanation!
https://github.com/TimeEval/TimeEval/pull/154


RC test: Energy Forms and Changes 1.4.0-rc.2

@KatieWoe, @arouinfar, @ariel-phet, @kathy-phet, energy-forms-and-changes/1.4.0-rc.2 is ready for RC testing. The phet-io version of this release will be shared with a client. The publication due date is October 1st. This is the 2nd release from the 1.4 release branch, but the code changes since the previous release were quite significant, so a full retest is needed.  There are also several fixed issues that should be checked (these are listed in two of the sections below).  Please document issues in https://github.com/phetsims/energy-forms-and-changes/issues and link to this issue.
Assigning to @ariel-phet for prioritization.

General RC Test

What to Test

Click every single button.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.

If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Test all query parameters on all platforms. (See QA Book
for a list of query parameters.)
Download HTML on Chrome and iOS.
Make sure the iFrame version of the simulation is working as intended on all platforms.
Make sure the XHTML version of the simulation is working as intended on all platforms.
Complete the test matrix.
Don't forget to make sure the sim works with Legends of Learning.
Test the Game Up harness on at least one platform.
Check this LoL
spreadsheet and notify AR or AM if it not there.
If this is rc.2 please do a memory test.
When making an issue, check to see if it was in a previously published version
Try to include version numbers for browsers
If there is a console available, check for errors and include them in the Problem Description.
As an RC begins and ends, check the sim repo. If there is a maintenance issue, check it and notify developers if
there is a problem.

Issues to Verify

[x] Water temp has delayed reset on second screen
[x] Water energy chunks boil far too early when biker runs out of food
[x] Energy chunks don't appear in falling water if faucet is off

These issues should have the "status:ready-for-qa" label. Check these issues off and close them if they are fixed.
Otherwise, post a comment in the issue saying that it wasn't fixed and link back to this issue. If the label is
"status:ready-for-review" or "status:fixed-pending-deploy" then assign back to the developer when done, even if fixed.

Link(s)

Simulation
iFrame
XHTML
Test Matrix
Legends of Learning Harness

PhET-iO RC Test

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.
For an update or maintenance release please check the backwards compatibility of the playback wrapper.
Here's the link to the previous wrapper.
Load the login wrapper just to make sure it works. Do so by adding this link from the sim deployed root:/wrappers/login/?wrapper=record&validationRule=validateDigits&&numberOfDigits=5&promptText=ENTER_A_5_DIGIT_NUMBER

Further instructions in QA Book
Conduct a recording test to Metacog, further instructions in the QA Book. Do this for iPadOS + Safari and one other random platform.
Conduct a memory test on the stand alone sim wrapper.

Focus and Special Instructions
Please pay close attention to loading/setting state (hitting "launch" in Studio), especially on the second screen. Because of some implementation decisions, the loaded state may not match perfectly for all cases, but please bring any behavior that is unexpected to my attention. I think @KatieWoe is getting pretty familiar with what to expect for state on this sim, but feel free to Slack me any time with questions, or make an issue. Thanks!

Issues to Verify

[x] Tea kettle energy chunk preloading
[x] Second screen state
[x] Feed Me button is pressed when launched
[x] Hiding Buttons on Second Screen Hides Connected Element as Well
[x] screen 1 blocks and beakers emitted chunks don't work in state
[x] Studio launch doesn't restore EnergyChunk state like the state wrapper
[x] Memory leak in the view when setting state
[x] Water from faucet can have gaps and other odd-looking behavior

These issues should have the "status:ready-for-qa" label. Check these issues off and close them if they are fixed.
Otherwise, post a comment in the issue saying that it wasn't fixed and link back to this issue. If the label is
"status:ready-for-review" or "status:fixed-pending-deploy" then assign back to the developer when done, even if fixed.

Link(s)

Wrapper Index
Test Matrix

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

One other thing to check:

[ ] verify that https://github.com/phetsims/natural-selection/issues/243 does not occur for energy chunks

Energy chunks seem to show up fine after a quick test. I'll keep an eye out as testing goes on, but it looks like it doesn't impact this sim there.

@KatieWoe - yes, please log an issue for this.  We should have a separate investigation for it, and a record thereof.

Colorized seemed to be very slow on Mac 10.15 Chrome

Calling an end to QA for this round.

Thanks QA team.  We will disposition and address the issues listed above individually.  Closing this one.


Mace model protection benefits .

Hi ,
What benefits you can tell if we will use your model protection solution over other's independent solutions.
Thanks.

Model protection has been the highest priority since the beginning of MACE design. Various techniques are introduced like converting models to C++ code and literal obfuscations.

Hi @lee-bin ,
Yes , Are you consider converting model to C++ code as STRONG protection ?

I do not consider it an absolutely safe protection, but it would definitely increase the difficulties of hacking and prevent random developers to peep at.

ok, thanks


Selecting "No Preference" leads to a website crash

Altered if statements from original to match info given from frontend