[React] Depend on "react" instead of shipping with a vendored copy

Pretty certain this is on the radar but want to track it because it's going to make a real difference for the overall React ecosystem when RN can require libraries like react-static-container, react-relay, react-redux, etc... that depend on "react" but not "react-dom".
cc @vjeux @spicyj

Yeah, we're blocked on some fbjs stuff where we can't use the open-source copy of fbjs in RN right now because of some Flow conflicts (and maybe packager too?). @gabelevi was going to make a change to Flow that will allow us to move fbjs away from haste so that we can have more than one copy, not sure what the status of that is right now.
We probably won't get everything sorted out in time for React 0.14 but maybe we can do a point release after we fix things up.
cc @sebmarkbage

Yes! This x 1000. Working on a react-router integration with RN right now and I had to dependency inject React. Haha.
Interesting thing though, and something I didn't understand - "react-static-container" actually DOES work on RN. Is it because it requires React, not react, and the packager allows for that?

Rest assured that we're aware and making this work was a major motivating factor for the packaging changes.

:+1:

Redux dropped support for React Native bindings (https://github.com/rackt/react-redux/releases/tag/v4.0.0), and there's also an open issue with Relay compatibility (though Relay has to change a few other things too). So as far as the state of the overall React ecosystem influences your roadmap you might want to give this a little bump in priority.

It is my top priority after the blocker on fbjs/flow is done (which is unfortunately beyond me atm). cc @zpao

We're still waiting on flow but as soon as that happens we'll get this sorted.

Nice! Thanks for the update.

cc @joesavona

Thanks guys for being so diligent about this. I'm stoked to remove all my "-internal" private npm deps from my projects :)

+1 :)

any update...

Nope, still waiting on Flow but they should have their release out in the next week or so.

Is there a fork/branch which already depends on react 14.0 I can add to my package.json instead published package? I don't care about flow, but super excited to play with react-router and react-native.

@abhishiv There is no feature branch. All latest features are almost always on master since it tracks FB's central codebase, which has only master and release cuts.

Any ETA? :)

No.

Here is the Product Pains item for this issue: https://productpains.com/post/react-native/react-native-to-depend-on-react/

A few folks above have alluded to workarounds. Could someone spell one out?

+1

+1

+1

+1

Is this the Flow release you've been on about?
https://github.com/facebook/flow/releases/tag/v0.19.0

Yes. Will take a little while for us to get all our ducks in order now but we should be unblocked.

Great news!!!  Willing to jump in and test as soon as things are closer to being ready.

+1 That's great news. Looking forward to this.

+1 looking forward to it!

If you are interesting in a workaround until this is real, here is how we've done it in gl-react:
https://github.com/ProjectSeptemberInc/gl-react/releases/tag/v2.0.2#user-content-workaround
users can add a require("yourlib/react-native") or require("yourlib/react") once before all other imports to set the React instance in your lib. You lib must expose React. And when you want to make generic code, you use back YourLib.React.
( code https://github.com/ProjectSeptemberInc/gl-react/blob/master/src/react-runtime.js )

Thanks @gre!

+1 stoked to see this happen !!

+1 ( as a ping :D )

Commenting +1 doesn't help and is annoying. Locking this issue for now.

If you all would like to show the team that you care about this issue, please up vote the issue on Product Pains.
https://productpains.com/post/react-native/react-native-to-depend-on-react/

Update: Just sent off a diff internally for this. It will require us to release patch versions of fbjs and react before we can land so that everything actually works together, but hopefully we can pull everything together and land it in the next couple of weeks:

Thanks everyone for your patience.

@spicyj woah holy crap. Awesome to see this! So stoked.

This has landed in https://github.com/facebook/react-native/commit/6a838a4201f99ae5e88b3684bb798d363815dd53
I'm going to work later to verify that functionality is as expected when consuming something like Relay or Redux from npm (that depend on React).
Re: Relay, I'm 90% sure at this point that there are some bugs to fix (because there actually is still a tiny dependency on ReactDOM)...so it may not be 100% yet. But we're super close! Thanks for your work on this @spicyj!

I broke the shrinkwrap. Wait for the next commit. :)

@spicyj I saw your shrinkwrap change landed. Can you close this if you believe this issue has been resolved?

Still waiting for one more then I will.

I was trying to get this to work on an app that both depends on<EMAIL_ADDRESS>and on react-native@master and I've got:
Error: Naming collision detected:
./node_modules/react/node_modules/fbjs/lib/warning.js
collides with
./node_modules/react-native/node_modules/fbjs/lib/warning.js

however I don't have any node_modules/react-native/node_modules/react

I was trying to get this to work on an app that both depends on<EMAIL_ADDRESS>and on react-native@master and I've got:
Error: Naming collision detected:
./node_modules/react/node_modules/fbjs/lib/warning.js
collides with
./node_modules/react-native/node_modules/fbjs/lib/warning.js

however I don't have any node_modules/react-native/node_modules/react

@gre Try installing<EMAIL_ADDRESS>at the top level and removing the inner ones? npm 3 would do this for you automatically, I believe.

@gre Try installing<EMAIL_ADDRESS>at the top level and removing the inner ones? npm 3 would do this for you automatically, I believe.

I also had to install react-transform-hmr in node_modules/react-native. I have no idea for what reason it wasn't resolved (maybe related to installing from facebook/react-native#master ).
Anyway, thanks it works now :)

I also had to install react-transform-hmr in node_modules/react-native. I have no idea for what reason it wasn't resolved (maybe related to installing from facebook/react-native#master ).
Anyway, thanks it works now :)

@gre the react-transform-hmr dep is just missing from master...that will be cleaned up before the next release.

@skevy great! I have an unpublished version of gl-react-* libs that work fine with this new version and depending on react & react-native, this is so cool :)
Users will have to not forget about installing fbjs because it doesn't seem to dedup by default. I'm not sure the best way to avoid this, maybe it should be added as a peerDep (maybe not in react-native but at least on each lib that want to be "universal" ?)

Sigh. I really wanted to only special-case the one copy of fbjs which is the one that RN uses, so any fbjs in a sibling directory would be okay to be bundled twice (since fbjs modules tend to not be stateful). Guess I'll need to change the packager more to make that work…

@sunjay I managed to get it to work. You can take a look at the following repo
example-react-native-redux however there are some modification require in package modules which I described here https://github.com/rackt/react-redux/issues/236#issuecomment-169743583

Any chance this will be fixed for 0.18?

@cancan101 it will be fixed for 0.18. It is already fixed for 0.18-rc

Sorry, I should clarify the 'this' i meant is the issue with fbjs and it did not seem to be fixed in the RC.

I ran into the fbjs conflict issue using npm 2. @spicyj's solution of installing fbjs at the root level didn't seem to solve it, but nuking my entire node_modules directory, installing npm 3, and then reinstalling everything did.
The getting started docs should probably be updated to recommend npm 3 if that's the official solution, too bad that it's so slow!

Use @alinz solution, it works ! ;)

@Mokto yeah, but it involves some pretty nasty hacks to work with npm@2 (reaching into packages and deleting the fbjs dependencies).

@corbt I agree that it involves some folder moving and hack but it should not cause you any problem. fbjs will be moved out from react-native eventually, in a meantime if you have a module that does not work with npm@3 then that would be your only options.

I know it is nasty but you could add this to you package.json :
"postinstall": "npm run setup_project"

Also we need to detect in setup_project whether user is using npm@2 or npm@3

On Jan 12, 2016, at 3:30 PM, Mokto<EMAIL_ADDRESS>wrote:
I know it is nasty but you could add this to you package.json :
"postinstall": "npm run setup_project"
—
Reply to this email directly or view it on GitHub.


Update master depenedencies

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


NavTrail.svelte breaks linter

Describe the bug
npm run lint is not able to validate NavTrail.svelte.
I tried to reinstall the whole project but I am not able to get the linter to work with this file.
Screenshots

Reproduction
Checkout the latest main branch and run npm run lint
Logs
><EMAIL_ADDRESS>lint
> eslint --ext .js,.cjs,.ts,.svelte .

Error while parsing ***\NavTrail.svelte
Line 1, column 8: '>' expected.
`parseForESLint` from parser `@typescript-eslint/parser` is invalid and will just be ignored

Have you checked if this issue has already been raised?

[X] I did not find any similar issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Seems like this is already the case since the merge was done: https://github.com/CodingGarden/listd/pull/38/checks

1- This is a warning, and most likely it's a result of Svelte +(listd's) ESLint rules. This should be named "Fix parseForESLint is invalid`".
2- Good security tip, don't use blur/pixelation to redcat info. A black rectangle works well.

Same error, in my case the console output is
Error while parsing /home/---/Github/CodingGarden/listd/src/routes/NavTrail.svelte
Line 1, column 8: '>' expected.
`parseForESLint` from parser `@typescript-eslint/parser` is invalid and will just be ignored

/home/---/Github/CodingGarden/listd/src/routes/NavTrail.svelte
  44:19  error  Insert `·`  prettier/prettier

✖ 1 problem (1 error, 0 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

husky - pre-commit hook exited with code 1 (error)

I'm guessing eslint doesn't like the lang="ts" in the .svelte file, but even then, if we remove that, it will still complain about some different error.
Error while parsing /home/---/Github/CodingGarden/listd/src/routes/NavTrail.svelte
Line 2, column 1: Expression expected.
`parseForESLint` from parser `@typescript-eslint/parser` is invalid and will just be ignored

/home/---/Github/CodingGarden/listd/src/routes/NavTrail.svelte
  44:19  error  Insert `·`  prettier/prettier

✖ 1 problem (1 error, 0 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

I mean, It's just a warning

This was fixed by removing .svelte from the settings import/parsers section, since .svelte files are already handled by the overrides parser.
https://github.com/CodingGarden/listd/blob/1079ae3c5517f16c17270699d2b27ae3835e6912/.eslintrc.cjs#L40


Add page creation modal

Part of #452
Overview
Done

[x] Add story of page creation modal
[x] Add page creation modal
[x] Replace page creation modal
[x] Remove views/modal/create_page.html

Screenshots
ja

en (Storybooks)

Help
I'm sorry for the delay in creating this PR.
However, there are a few problems that are still not resolved.

Button color

When I click a button (:active), it change to unexpected color.
It seems that react-strap defines its color inside Button, so I cannot resolve this problem by styled-components

i18n text

Please see ##Screenshots !
In React, <code>%s</code> is displayed as string, not code tag.

In addition, could you add the story to storybook?

Sorry to fix late. I probably fixed all the problems.
en:

ja:

Storybook:

@lightnet328  Should I rewrite client/components/Modal/PageCreateModal.stories.tsx with Component Story Format?

@lightnet328 Should I rewrite client/components/Modal/PageCreateModal.stories.tsx with Component Story Format?

That would be great. Thanks!

I fixed all points!

@lightnet328 Thank you for many reviews!


Update limitations for "last delivery date" Date of VAT Register option

Need to add this statement or similar to Date of VAT Register option "last delivery date":
Scenario when an invoice is posted based on several SOs is out of scope for "Last delivery date" option of Date of VAT register.

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

ID: b2051ccc-2d3a-563f-5d85-0947083341fa
Version Independent ID: e2120a5f-4802-daaf-97a6-94296c0a86d5
Content: Tax point date (Date of VAT register) - Finance | Dynamics 365
Content Source: articles/finance/localizations/emea-tax-point-date.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @LizaGolub
Microsoft Alias: kfend

@vadalmon, thanks for the feedback.
@LizaGolub, please review.

@tonyafehr, Please review the suggested updated: https://github.com/MicrosoftDocs/Dynamics-365-Operations/pull/10382


Improve support for Egress in Traceflow

Add an Observation in result of Traceflow for Egress which
include Egress component, Egress IP and Egress name.
Add a mark RemoteSNATRegMark to indicate remote SNAT for
remote Egress traffic and distinguish this traffic from
Inter-Node Pod-to-Pod traffic on source Node.
Add e2e test for Egress in Traceflow for two cases.

Egress from local Node.
Egress from remote Node.

Fixes #2247
Signed-off-by: Kumar Atish<EMAIL_ADDRESS>

Codecov Report

Merging #3926 (8cce8f6) into main (b2c245c) will decrease coverage by 22.49%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main    #3926       +/-   ##
===========================================
- Coverage   64.16%   41.67%   -22.50%
===========================================
  Files         293      346       +53
  Lines       43223    56513    +13290
===========================================
- Hits        27735    23553     -4182
- Misses      13256    31100    +17844
+ Partials     2232     1860      -372

Flag
Coverage Δ

integration-tests
35.19% <ø> (?)

kind-e2e-tests
?

unit-tests
44.49% <0.00%> (-0.09%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/agent/controller/egress/egress_controller.go
37.09% <0.00%> (-36.85%)
:arrow_down:

pkg/agent/controller/traceflow/packetin.go
11.29% <0.00%> (-52.20%)
:arrow_down:

...agent/controller/traceflow/traceflow_controller.go
0.00% <0.00%> (-72.96%)
:arrow_down:

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/util/runtime/runtime.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/openflow/groups.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/ofctrl_pipeline.go
0.00% <0.00%> (-95.84%)
:arrow_down:

pkg/ovs/openflow/logs.go
10.34% <0.00%> (-89.66%)
:arrow_down:

pkg/agent/controller/networkpolicy/reject.go
0.00% <0.00%> (-85.30%)
:arrow_down:

pkg/agent/nodeportlocal/k8s/annotations.go
0.00% <0.00%> (-84.45%)
:arrow_down:

... and 328 more

@tnqn Can you please review this PR ?

@tnqn Can you please review this PR ? Thanks.

/test-all

/test-all

@Atish-iaf our current gating requires good unit test coverage to merge a PR, as the failed "codecov/patch" shows. Would you please add unit tests for new code added by this PR to meet the target?

@Atish-iaf release-1.9 code freeze is tomorrow, do you have time to add unit test so we can include it in 1.9?

@Atish-iaf release-1.9 code freeze is tomorrow, do you have time to add unit test so we can include it in 1.9?

Sorry, I cannot make it before 1.9

Traceflow related e2e test failed, please check

Traceflow related e2e test failed, please check

@tnqn I had checked it but i don't think it is related to change in this PR.

Traceflow related e2e test failed, please check

@tnqn I had checked it but i don't think it is related to change in this PR.

I believe it's caused by the PR's change made to compareObservations

/test-all


Update Explore tab experience for mobile

When the Explore tab is viewed on a mobile device, provide a splash screen warning:
"Best viewed on a tablet or PC browser"
Possible changes to the mobile experience for the Explore tab:

Simplify the viewing experience to see either the map or the search experience. Allow users to toggle between the two
Minimize the legend by default, but allow the user to make it larger (it will probably cover the map, which is why it should be minimized by default)

These changes will allow users to still have a mobile experience that works, but encourages them to use the desktop version for the full experience. Users can still collect maps with this method and share their URL if they'd like (a more realistic mobile experience).

Changes overview:

splash screen appears
ability to collect and share in mobile
ability to switch between the categories and the map
legend is hidden by default

Everything looking good. Thank you for making this update!


Failed to set Up Integration on HA2023.9.3

Logger: homeassistant.setup
Source: custom_components/ocpp/__init__.py:12
Integration: Open Charge Point Protocol (OCPP) ([documentation](https://github.com/lbbrhzn/ocpp/blob/main/README.md), [issues](https://github.com/lbbrhzn/ocpp/issues))
First occurred: 11:25:13 (1 occurrences)
Last logged: 11:25:13

Setup failed for custom integration ocpp: Unable to import component: cannot import name '_validators' from 'jsonschema' (/usr/local/lib/python3.11/site-packages/jsonschema/__init__.py)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 215, in _async_setup_component
    component = integration.get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 818, in get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/ocpp/__init__.py", line 12, in <module>
    from ocpp.v16.enums import AuthorizationStatus
  File "/usr/local/lib/python3.11/site-packages/ocpp/v16/__init__.py", line 1, in <module>
    from ocpp.charge_point import ChargePoint as cp
  File "/usr/local/lib/python3.11/site-packages/ocpp/charge_point.py", line 11, in <module>
    from ocpp.messages import Call, MessageType, unpack, validate_payload
  File "/usr/local/lib/python3.11/site-packages/ocpp/messages.py", line 12, in <module>
    from jsonschema import _validators as SchemaValidators
ImportError: cannot import name '_validators' from 'jsonschema' (/usr/local/lib/python3.11/site-packages/jsonschema/__init__.py)

Same!
Here my setup
`

Informazioni di sistema

Versione
core-2023.9.3

Tipo di installazione
Home Assistant OS

Sviluppo
false

Supervisor
true

Docker
true

Utente
root

Ambiente virtuale
false

Versione Python
3.11.5

Famiglia del Sistema Operativo
Linux

Versione del Sistema Operativo
6.1.21-v8

Architettura della CPU
aarch64

Fuso orario
Europe/Rome

Cartella di configurazione
/config

`
`

Home Assistant Community StoreGESTISCI

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4625

Installed Version
1.33.0

Stage
running

Available Repositories
1301

Downloaded Repositories
28

`

Had the same issue. Already reverted back to last nights backup so unable to pull up the logs.

Same issue for me - havnt reverted back to backup yet  hoping for a quickie solution :)
Full log is atatched
home-assistant_2023-09-25T12-15-59.667Z.log

Same issue with my System

Same for me

Same for me

Wanna bet that @lbbrhzn and @drc38 already understood that this is a problem for everyone who updated HA?!

same at 9.3

It's an issue with an upstream library https://github.com/mobilityhouse/ocpp/issues/471

If anyone's able to try adding jsonschema==4.19.0 to the manifest file and see if that works as a temporary fix

@drc38 I tried adding jsonschema==4.19.0 to manifest.json, and then I didn't get any errors, but I only got this in the log:
2023-09-25 21:03:06.725 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration ocpp which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-09-25 21:03:31.101 INFO (MainThread) [custom_components.ocpp] config = {}

@robinsmidsrod try unloading and reloading ocpp integration

@drc38
redownloaded ocpp extension then add jsonschema==4.19.0 to manifest and then add integration. now all works for me as before, thanks.

same problem for me too, just updated it no longer loads the ocpp integration

same problem for me too, just updated it no longer loads the ocpp integration

remove it the make same as me here

@drc38 redownloaded ocpp extension then add jsonschema==4.19.0 to manifest and then add integration. now all works for me as before, thanks.

you guys mean set the jsonschema version in the manifest like this?
"requirements": [
     "occp>=0.14.1",
      "websockets>=10.2",
      "jsonschema==4.19.0"
],
"version": "v0.4.40"

you guys mean set the jsonschema version in the manifest like this?
"requirements": [
     "occp>=0.14.1",
      "websockets>=10.2",
      "jsonschema==4.19.0"
],
"version": "v0.4.40"

thats it

you guys mean set the jsonschema version in the manifest like this?
"requirements": [
     "occp>=0.14.1",
      "websockets>=10.2",
      "jsonschema==4.19.0"
],
"version": "v0.4.40"

thats it

I confirm it works, remenber de colon at the end of websockets if you add the new jsonschema version after it.

you guys mean set the jsonschema version in the manifest like this?
"requirements": [
     "occp>=0.14.1",
      "websockets>=10.2",
      "jsonschema==4.19.0"
],
"version": "v0.4.40"

thats it

I confirm it works, remember de colon at the end of websockets if you add the new jsonschema version after it.

It doesn't work for me, it doesn't even allow me to delete the integration....

you guys mean set the jsonschema version in the manifest like this?
"requirements": [
     "occp>=0.14.1",
      "websockets>=10.2",
      "jsonschema==4.19.0"
],
"version": "v0.4.40"

thats it

I confirm it works, remember de colon at the end of websockets if you add the new jsonschema version after it.

It doesn't work for me, it doesn't even allow me to delete the integration....

just remove addon in hacs presing ignore integration installed

you guys mean set the jsonschema version in the manifest like this?
"requirements": [
     "occp>=0.14.1",
      "websockets>=10.2",
      "jsonschema==4.19.0"
],
"version": "v0.4.40"

thats it

I confirm it works, remember de colon at the end of websockets if you add the new jsonschema version after it.

It doesn't work for me, it doesn't even allow me to delete the integration....

just remove addon in hacs presing ignore integration installed

forgive me, but I can't understand how to uninstall the integration, should I delete the folder in custom component?

@robinsmidsrod try unloading and reloading ocpp integration

Got it working with the schema change. Turns out it just took a while to refresh data after restart.

@robinsmidsrodprova a scaricare e ricaricare l'integrazione ocpp

Funziona con la modifica dello schema. Risulta che ci è voluto solo un po' di tempo per aggiornare i dati dopo il riavvio.

How long did you wait? I've been rebooting and updating for a while now and it can't load the integration

@robinsmidsrodprova a scaricare e ricaricare l'integrazione ocpp

Funziona con la modifica dello schema. Risulta che ci è voluto solo un po' di tempo per aggiornare i dati dopo il riavvio.

How long did you wait? I've been rebooting and updating for a while now and it can't load the integration

Just go to HACS and remove OCPP it's custom integration

Created a new release  v0.4.41 with the workaround, pinning jsonschema to 4.19.0.

Can someone please confirm that the release v0.4.41 solves the issue?

Can someone please confirm that the release v0.4.41 solves the issue?

I've just updated and can confirm its now working... Thankyou.

Works like a charm again :-D. Thank you.

Can someone please confirm that the release v0.4.41 solves the issue?

Confirm!

Creata una nuova versione v0.4.41 con la soluzione alternativa, bloccando jsonschema su 4.19.0.

so do I have to delete the jsonshema 4.19 line?I updated to version 4.41 but it gives me an error in the configuration even though at least hacs gives me the possibility to configure it

I did the HA upgrade again today. Followed by the occp upgrade through hacs.
All working fine now.
Op di 26 sep 2023 om 21:35 schreef vetranolorenzo @.***>

Creata una nuova versione v0.4.41 con la soluzione alternativa, bloccando
jsonschema su 4.19.0.
so do I have to delete the jsonshema 4.19 line?I updated to version 4.41
but it gives me an error in the configuration even though at least hacs
gives me the possibility to configure it
—
Reply to this email directly, view it on GitHub
https://github.com/lbbrhzn/ocpp/issues/912#issuecomment-1736170627, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXHBQ2VFYNZENCTJBHXBCWDX4MU7RANCNFSM6AAAAAA5FZCKVI
.
You are receiving this because you commented.Message ID:
@.***>

@koersie in various attempts yesterday I deleted the integration and reinstalled it. and now I can't configure it anymore


feat(settings): add channel status for unusable

Description
Add status when channel is_usable: false
Linked Issues/Tasks
Closes https://github.com/synonymdev/bitkit/issues/2320
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactoring (improving code without creating new functionality)

Tests

[ ] Detox test
[ ] Unit test
[x] No test

Screenshot / Video

Unsure how to test this in production.

Try to start the app and then turn on Airplane mode


aixPB: xlc16 changes

Checklist

[x] commit message has one of the standard prefixes

ok. I'll look at those re: vendor_files.
I'll still want to change the verification to use the ansible stat: command rather than execute command: lslpp -L ...

The logic seems to be quite different:
    - role: Get_Vendor_Files
      tags: [vendor_files, adoptopenjdk, jenkins_user, nagios_plugins, superuser]

I'll assume, for the moment, that the role Get_Vendor_Files only copies files over - whereas with AIX the vendor files are often being transferred and then something is done with them.
It can be done - but also requires a rewrite of everything (e.g., create an AIX Get_Vendor_Files role - to collect things, and then create when clauses to only do installs etc, if the copy of the vendor files is there for the later role.
I notice the later roles in UNIX and Windows do not have the vendor_files tag - but it looks like like lots of stat.vendor_files.exists conditionals.
I would prefer to:
short-term - make the roles less "hard-stop" if the vendor_files are not available (and also add the tag locally to skip over the copy and other actions if a --skip-tags argument is given.
long-term: - move all get actions to a single role that get executed early on - as UNIX and Windows playbooks do AND - adjust the roles that depend on vendor files to be able to work around the files are there, or not.

In the generic UNIX and Windows playbooks we have a tag vendor_files which can be skipped for anyone that doesn't have those files available - all roles that require it are tagged as such so they can be excluded.
I propose doing the same here with the AIX playbook as a preference to having to ignore errors.

So, the current PR has the tag vendor_flags to skip the block - on purpose - but still being graceful about ignore_errors - as the installp command that followed also did the same.

The new changes run fine, both when xlc16 is and isnt on the machine. I dont think a build and test is necessary, but ill run one on ojdk06 just to be safe

Your change request is satisfied?

@aixtools you can merge this now when you're ready


Bug: Output stops (Testnet, Block 3218408)

Hi, please try the following command:
oura watch <path-to-node.socket> --magic testnet --since '47198121,0e896e691265cdd51ccf7d363797bef9c53e6d3a6ec9883ef9e7b362bae97d79'

the output stops at block 3218408, tx 04 ?
also hangs afterwards a few blocks later.

hmm... i retried it and it scrolled thru. strange.

@gitmachtl did you update to the latest version by any chance?
We just fixed a bug that crashed the process when encountering a block with protocol update parameters inside. Sounds similar to the symptom you describe.

on 0.3.8 right now, will try with 0.3.9

no difference, i tried another point in the chain:
oura watch /home/cardano/db/node.socket --magic testnet --since '47253117,bf6407ee6e16c83e2a4f836408bd45387726bd7a0ee8d9dda58d3fdbba2a887d'
it hangs on the TX28 of block 3219824. same on node 1.33.0 and node 1.31.x
can you try it yourself?

thats the last transaction https://testnet.cardanoscan.io/transaction/b4494dbcb69cccdee43a81417024c06b266cc95fdf15f2bc5b9796ba05108df0?tab=utxo

the next block (like the ones before stopping the output) shows "genesis pool" on the explorer. maybe a hint.
https://testnet.cardanoscan.io/block/3219825

I had to restart my testnet node, I will attempt to reproduce your exact scenario once it finishes syncing.
In the meantime, I tried using Oura against a testnet relay and I managed to pass the troublesome block. Could you try the following command on your side?
oura watch relays-new.cardano-testnet.iohkdev.io:3001 \
  --magic testnet \
  --bearer tcp \
  --since 47253117,bf6407ee6e16c83e2a4f836408bd45387726bd7a0ee8d9dda58d3fdbba2a887d

yes, scrolled thru.

BUT, there is no block 3219824!?

Very weird, but that narrows down the issue. I'll run a debug session to check the decoding of that block.

ok, i think it has to do with the unix bearer. when i try the following on my local node:
./oura watch <IP_ADDRESS>:4001   --magic testnet   --bearer tcp   --since 47253117,bf6407ee6e16c83e2a4f836408bd45387726bd7a0ee8d9dda58d3fdbba2a887d
it scrolls thru but jumps from block 3219824 to 3219826.
when i try the same using the node.socket like:
./oura watch /home/cardano/db/node.socket  --magic testnet   --bearer unix   --since 47253117,bf6407ee6e16c83e2a4f836408bd45387726bd7a0ee8d9dda58d3fdbba2a887d
it hangs on the last tx of block 3219824 and never jumps to 3219826.

I've managed to confirm that there a crash when trying to decode that particular block. I'll look into fixing that first.

for posterity, seems that block 3219825 includes a Plutus script encoded as a cbor array rather than the usual cbor bytes structure. Can't find a reference in the CDDL of that being allowed.

oh thats interesting

@gitmachtl this should be fixed on the recently released version 0.3.10. Feel free to re-open the issue if you encounter any trouble.

yes, just tested it. it works!


feat(ci): conditionally set jest verbosity

Description
Only run jest in verbose mode when we have also set the github action to run in verbose mode.

Yea just saw that as well, just added silent as well.


Provide an Optional Chat History

Problem
Any conversations currently made with the LLMonFHIR application are not saved.
Solution
We should add a nice UI to access chat history and potentially resume a chat.
Code of Conduct

[X] I agree to follow this project's Code of Conduct and Contributing Guidelines

As of https://github.com/StanfordBDHG/LLMonFHIR/pull/44, the chat history is stored via the SpeziStorage model and accessible even after the application is closed.


Add color support for stdout

I often use the colorize gem with ruby on rails to add color to STDOUT.
puts "some debugging info".yellow

atom-rspec does not colorize the STDOUT, only the rspec results
e.g.
[0;33;49msome debugging info]

Around line 35 in TextFormatter, this addition works to detect the 256 color mode...
     # replace also 256 color codes
      text = text.replace /\[0;(3[0-7]);([0-9]*)m/, (match, colorCode, other) =>
        "<p class=\"rspec-color tty-#{colorCode}\">"

Created PR #90  to include this and some other updates.


Update invoke-result-class.md

Fix syntax error in code sample.

@turingcompl33t : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Bug in host file

Please remove the last dot in the below entry from the "Unified hosts + porn" hosts file. It failed the unbound converted blocklist. This entry originated from the porn hosts file and propagated into all unified hosts with porn.
<IP_ADDRESS> cast.porngo.com.
https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts

Thank you @ar51an this is fixed in commit 38e53dd6 and will be live in the next release.


Client Crash

Describe the bug
A clear and concise description of what the bug is.
Whole Client Crashes
To Reproduce
Steps to reproduce the behavior:

Join Singleplayer world
load in and whole client crashes

Expected behavior
world opens normally
Screenshots
crash-2022-05-17_18.48.29-client.txt
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Fedora 36(Xorg)
1.18.2
Forge 40.1.20
dynamic lights
1.3.1
mc1.18.2?

Additional context
Add any other context about the problem here.

https://gist.github.com/itsdinkd/bc96a677cee163231c9c4c246ed8be9e


[fix|sde-v2.0.10] hot fixes for bpn validation, documents update

Description

BPN validation enhancements in consumer data page.
Add BPN flow enhancement in provider, access policy section.
Documentation updated.
About page added.
Script added to generate values in about page.

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

According to @adityagajbhiye9 it fixes the following issues:

https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/22
https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/23
https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/24
https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/28
https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/27

@ajithsimons  Please review and confirm.

Hey @adityagajbhiye9, please update the dependencies file, the IP ticket has been approved.

@almadigabor  dependency updated.


Cybersecurity 6.1 Vulnerability analysis

Description
Discuss How you will analyze any vulnerabilities, what are your key points to analyze any vulnerability!
Note:

If interested, mention in which format you want to contribute: Documentation or Video
Please avoid copy/paste, BE YOURSELF
Try to explain with Diagrams
Changes should be made inside the Cyber_Security/ directory & Cyber_Security branch.
Task will be assigned on first come first serve
Check it out Contribution Guidelines

Domain
Cyber Security
Type of Contribution
Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Assign to me pls. Name - Mohd Uvaish Siddiqui Batch - 1 CyberSecurity Type - Documentation

Assigned!

Can I be assigned this issue?I want to submit video format of web scraping using OWASP ZAP

Can I be assigned this issue?I want to submit video format of web scraping using OWASP ZAP

Okay!
assigned!

@IshikaMeghaSaha

@IshikaMeghaSaha are you working on it or not?

yes


Implement tripple i64 key value object

Create key64x64x64_value_object, add multindex container with the following indices

(keya,keyb,keyc,id)
(keyb,keyc,id)
(keyc,id)

Implement db api functions for every index

front
back
next
previous
load
upper_bound
lower_bound

Implement json-rpc api

get_table_rows_i64i64i64_primary
get_table_rows_i64i64i64_secondary
get_table_rows_i64i64i64_tertiary

This issue has been merged so closing it.


packaging: add kubecolor to Scoop package manager

Hello! I am very happy that kubecolor is exist, also I am very thankfull to its developers.
Please, consider to add kubecolor to scoop package manager.
Then Windows users (which uses scoop) can easily install kubecolor with simple command as in brew:
scoop install kubecolor
(Originally posted by @shmutalov on https://github.com/hidetatz/kubecolor/issues/120)

I've created a request in the Extras bucket, as this repo does not have enough stars to qualify for the main bucket: https://github.com/ScoopInstaller/Extras/pull/12493

Got told to use Main bucket instead, so now waiting for this new PR: https://github.com/ScoopInstaller/Main/pull/5425


Failed on oppening photo camera (Android)

Description
When I call ImagePicker.launchCamera() it does not open in photo option but in video option it woks as well.
.
Additional Information

React Native version: 0.63.3
Platform: Android
Development Operating System: Windows 10
Dev tools: VScode

Require library version, mobile OS version, and your code to debug.

me too, I think need to permission access camera. In version 2 is built in permission access pop up. But in version 3 did not show up pop up permission.

Version 2.x.x is not longer supported, please upgrade to 3.x.x
I hope the issue is solved, if not reply here or create new issue with details I am happy to fix it.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Silence in WAV

Hello,
I'm using this command on a raspberry with an airspy mini:
./rx_fm -E wav -d driver=airspy -f 137.9125M -g LNA=14 - | /usr/bin/sox -t wav -e signed-integer -b 16 -c 1 - rx_test.wav
but this outputs a wav-file with silence.
Why is this? I'm expecting to hear static noise.

rx_sdr and rx_fm were a quick hack from rtl_fm, it's never worked properly, rx_sdr has been fixed up a bit but rx_fm is complete junk.


Add runtime logging to NCHS mortality, SirCAL, combo

Description
Add runtime logging to NCHS mortality, SirCAL, combo
Changelog

Add logging
Update params

Fixes

Progress on #689

Would you add the same changes to the params.json.template files as well?

Done.

Would you add the same changes to the params.json.template files as well?

Done.


I hope the DAG graph supports copying, exporting, and importing.(希望流程图支持复制、导出、导入)

1, for the big data processing process, the process is almost the same, basically the data collection, data cleaning, data analysis statistics, indicator data export, the difference is part of the configuration of the link. If each new process is to be configured from the ground up, it is a bit cumbersome to use.
2. The configuration of the DAG graph is the key information of production. If it is changed, it needs a means of rapid restoration. So export to a text file, one can be backed up, but can be compared to the version to quickly find the difference. This quickly restores misuse.

1、对于大数据处理过程，流程其实都差不多，基本都是数据采集、数据清洗、数据分析统计、指标数据导出，差异的都是个环节的部分配置。如果每个新流程都要从头开始配置，使用上有些繁琐。
2、流程图的配置是生产的关键信息，被人改动了就需要有快速还原的手段。所以导出成文本文件，一是可以备份，而是可以做版本的比对快速发现差异。从而快速恢复误操作。

Very good, look forward to your contribution to this issue (pr)

I want to implement this feature!

very good，thanks，looking forward to contributing code！

exporting, and importing feature will be supported in the next version!

pr #709

想问一下，这是哪个版本提供的功能，这点被列在了1.3.1 release Node中，但是1.2.1中ResourcesController中已有下载接口

想问一下，这是哪个版本提供的功能，这点被列在了1.3.1 release Node中，但是1.2.1中ResourcesController中已有下载接口


Update micropython modbus imports

Due to changes in https://github.com/brainelectronics/micropython-modbus/pull/33 the imports of the modbus bridge have to be updated
https://github.com/brainelectronics/micropython-modules/blob/4562376cbbe18786a339a52c57d5246568d637b9/be_helpers/modbus_bridge.py#L28-L31

apply steps described in https://github.com/brainelectronics/micropython-modbus/blob/1a9e02070dcb552ad52aef64002e1f1b34e5a988/docs/UPGRADE.md


Create stories for sprint 1

(https://canvas.gu.se/courses/56718/assignments/154130)
Sat, 2 Apr 2022, 23.59

Finished and received feedback from Dimitrios.


Nitpicky cosmetic change to README

Sorry if this seems pedantic but PNG badges look pretty bad on Retina screens.
Before:

After:

Much better -- thanks

Coverage remained the same at 78.551% when pulling d54ed6ef76097cfffb1ce2dec686210397e707d5 on troyswanson:readme-svg into 4db4604ee006cc2dae1d435059cbf328f05d06ff on automategreen:master.

Sure thing!


Support for IPv6

Add support for ipv6.
This is to add support for the dual stack feature -
https://github.com/kubernetes/kubernetes/pull/78801
https://github.com/kubernetes/kubernetes/pull/79386
cc @khenidak

/assign @thockin
This is for masquerading, as we discussed last week

/cc

/cc @aojea

Fixes: https://github.com/kubernetes-incubator/ip-masq-agent/issues/43

@aramase I think that this will fail on systems that don't have ipv6 or ipv4 enabled, it's common to have both enabled but we should consider systems with only one protocol enabled.
In addition, I think that the user experience will be better if it can configure the ipv4 and ipv6 CIDR independently..
I shared some thoughts in https://github.com/kubernetes-incubator/ip-masq-agent/issues/43 ,

@aojea Thank you for taking a look at this. The configuration takes in a CIDR list, so I thought it might be easier for users to just provide a list of all the CIDRs (ipv4/ipv6). I'm thinking maybe we can add an agent flag to enable ipv6? Thoughts?

@aojea Thank you for taking a look at this. The configuration takes in a CIDR list, so I thought it might be easier for users to just provide a list of all the CIDRs (ipv4/ipv6).

you are totally right ... also, this way the configuration is backward compatible

I'm thinking maybe we can add an agent flag to enable ipv6? By default that will be set to false. Thoughts?

I think that´s a good idea, my thoughts are ...
Users should be able to upgrade without any changes, what´s the best option? using a flag or autodetecting it from the configuration, ... ?
Users should be able to use the agent for IPv4 only, IPv6 only or dual-stack mode
Regarding dual stack I have one doubt, what should happen if one of the protocols fails, let says that someone uses dual stack and the system doesn´t have the IPv6 tools and can´t install the ipv6 rules, should the agent fail or keep working with the IPv4 iptables rules?

I think best is to add flag for ipv6 if enabled we non masq the link local. For the user provided list we don't anything, just a list of CIDRs.

/cc

I think best is to add flag for ipv6 if enabled we non masq the link local. For the user provided list we don't anything, just a list of CIDRs.

@khenidak If we add a flag, is the suggestion that we masquerade everything and if --enable-ipv6 then we non-masquerade link local? No changes to cluster-cidr makes sense. If the user provides an ipv6 in the list, then we add that in iptables.

cc: @varunmar

I'd like a way to ensure that today's behavior can be replicated exactly after this change goes in.
Ideally, this would be the default if exactly the same flags and configs were used today and version n+1.
I'd be okay with it if we had to explicitly specify a flag to return to the old behavior.
I'd be much less happy if it also required a change in the default config (many customers run this addon with no additional config, it would be unfortunate if we forced them all to manage another configmap before they are ready)
I think @khenidak's suggestion is a good one - a flag named --enable-ipv6 that is false by default. If true, then write the link-local ip6 rule if the configmap is empty. If a list of CIDRs is present, then use them instead.
So now the only question is what to do if the --enable-ipv6 flag is false and a configmap with ipv6 addresses is passed in?
Another question to consider is what to do if IPv6 tools are not installed on the machine (or less commonly, no ipv4 tools)
I think the answer to both should be that an error condition should be raised and the daemon must not report healthy status. The easiest way may be to turn it into an infinite crash loop till the config is fixed, but maybe there are better solutions.
Here's what I think the behavior should be:

Configuration
Behavior

--enable-ipv6=false, no CIDR entries
no change from today's behavior (no-masq default set of ipv4 cidrs)

--enable-ipv6=false, CIDR entries contain ipv4 only
only no-masq the CIDR entries explicitly

--enable-ipv6=true, no CIDR entries
no-masq default set of ipv4 + no-masq link-local ipv6

--enable-ipv6=true, CIDR entries contain ipv4 and/or ipv6
no-masq CIDR entries only

--enable-ipv6=true, CIDR entries contain ipv4 only
no-masq CIDR entries only (do not no-masq ipv6 link-local)

--enable-ipv6=false, CIDR entries contain ipv6 entries
Error, crash

--enable-ipv6=true, no ipv6 or ip6tools on machine
Error, crash

I'd be okay with it if we had to explicitly specify a flag to return to the old behavior.

By introducing the --enable-ipv6 agent flag we will retain the old behavior. Default will be false which means it'll only setup the ipv4 chain and rules.

I'd be much less happy if it also required a change in the default config (many customers run this addon with no additional config, it would be unfortunate if we forced them all to manage another configmap before they are ready)

Totally understand. We shouldn't change the default config.

I think @khenidak's suggestion is a good one - a flag named --enable-ipv6 that is false by default. If true, then write the link-local ip6 rule if the configmap is empty. If a list of CIDRs is present, then use them instead.

I think instead of checking only if the configmap with cidr exists, maybe we should check if ipv6 cidrs exists in the list? If not, then we should still write the link-local ip6 rule if ipv6 is enabled.
Totally agree with the behavior you suggested with just few changes -

Configuration
Behavior

--enable-ipv6=false, no CIDR entries
no change from today's behavior (no-masq default set of ipv4 cidrs, do not no-masq ipv6 link-local)

--enable-ipv6=false, CIDR entries contain ipv4 only
no-masq the CIDR entries only

--enable-ipv6=true, no CIDR entries
no-masq default set of ipv4 + no-masq link-local ipv6

--enable-ipv6=true, CIDR entries contain ipv4 only
no-masq CIDR entries only + no-masq link-local ipv6

--enable-ipv6=true, CIDR entries contain ipv4 and ipv6
no-masq CIDR entries only (do not no-masq ipv6 link-local)

--enable-ipv6=false, CIDR entries contain ipv6 entries
Error, crash

--enable-ipv6=true, no ipv6 or ip6tools on machine
Error, crash

Do you think this behavior is acceptable? @varunmar @khenidak

@bowei @varunmar I've added the flag and updated the PR. PTAL.

/lgtm

@bowei Can you PTAL at this PR when you get a chance?

I am buried, so I am assigning to Varun.  @varunmar if you don't want it, let me know.

@thockin Thank you! @varunmar has reviewed the PR and added /lgtm but looks like a /lgtm is required from a collaborator? https://github.com/kubernetes-incubator/ip-masq-agent/pull/45#issuecomment-511584713

/approve

/lgtm


Encode tag content by default

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Fixed issues
https://github.com/yiisoft/html/issues/42

Looks good to me except textarea and phpdoc blocks.

👍


Cannot type password and login

Its giving me some kind of error when i'm trying to log in with my account.
I used latest version (20191214-repack) even then its not working.

Can you try it on different PC?
From the error message, looks like the server certificate cannot be validated. Either the windows is not updated or you have firewall/antivirus that intercept the ssl connection.

I tried in a different PC with the latest one;
I get this:
PixivDownloader2 version 20191221
https://github.com/Nandaka/PixivUtil2/releases
Donate at https://bit.ly/PixivUtilDonation
Reading C:\Users\LIP\Desktop\pixivutil20191221\config.ini ...
done.
Using default DB Path: C:\Users\LIP\Desktop\pixivutil20191221\db.sqlite
Creating database... done.
Only process members where the last update is >= 7 days ago
Using Username: lipaston
Trying to log in with saved cookie
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
Error at open_with_retry(): (<class 'urllib.error.URLError'>, URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')), <traceback object at 0x078C3588>)
Error at doLogin(): (<class 'PixivException.PixivException'>, PixivException('Failed to get page: https://www.pixiv.net/, please check your internet connection/firewall/antivirus.'), <traceback object at 0x078AA2E8>)
Cannot Login!
press enter to exit.

weird, looks like you have something that preventing or performing man-in-middle attact that replacing the ssl validation or simply non-updated windows or some antivirus/firewall that performing local proxy. Can you open the pixiv website without certificate warning?
Try to set enablesslverification = False in config.ini to disable SSL check. Please note that this is not recommended.

alternatively, try to replace the cacert.pem in the installation folder from https://curl.haxx.se/docs/caextract.html

Dear developer,
I think it's not non-updated windows since I am using Windows 10 Enterprise with update till 1909
Previously, I was using Windows 10 Home (single language) and there is no problem.
However due to the nature of my work, I have to install the Enterprise edition.
I try and see if the above solution can work

I tried with the first step: set enablesslverification = False
PixivDownloader2 version 20191221
https://github.com/Nandaka/PixivUtil2/releases
Donate at https://bit.ly/PixivUtilDonation
Reading C:\Users\LIP\Desktop\pixivutil20191221\config.ini ...
done.
Using default DB Path: C:\Users\LIP\Desktop\pixivutil20191221\db.sqlite
Creating database... done.
Only process members where the last update is >= 7 days ago
Using Username: lipaston
Trying to log in with saved cookie
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
Error at open_with_retry(): (<class 'urllib.error.URLError'>, URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')), <traceback object at 0x07AE2548>)
Error at doLogin(): (<class 'PixivException.PixivException'>, PixivException('Failed to get page: https://www.pixiv.net/, please check your internet connection/firewall/antivirus.'), <traceback object at 0x07AC9DE8>)
Cannot Login!
press enter to exit.

I also tries changing cacert.pem with various ones from the site that you provide but still same results
PixivDownloader2 version 20191221
https://github.com/Nandaka/PixivUtil2/releases
Donate at https://bit.ly/PixivUtilDonation
Reading C:\Users\LIP\Desktop\pixivutil20191221\config.ini ...
done.
Using default DB Path: C:\Users\LIP\Desktop\pixivutil20191221\db.sqlite
Creating database... done.
Only process members where the last update is >= 7 days ago
Using Username: lipaston
Trying to log in with saved cookie
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
Error at open_with_retry(): (<class 'urllib.error.URLError'>, URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')), <traceback object at 0x07E92688>)
Error at doLogin(): (<class 'PixivException.PixivException'>, PixivException('Failed to get page: https://www.pixiv.net/, please check your internet connection/firewall/antivirus.'), <traceback object at 0x07E78288>)
Cannot Login!
press enter to exit.
By the way, my antivirus is disabled
Pixiv website can be accessed in both firefox and chrome

this is the cacert.pem used in my pc, try to replace using this? Is the other pc is using the same ISP?
cacert.zip
I don't know if running from source code can fix this issue.

It is still same no matter i set enablesslverification = False or set enablesslverification = True even after changing multiple cacert files
PixivDownloader2 version 20191221
https://github.com/Nandaka/PixivUtil2/releases
Donate at https://bit.ly/PixivUtilDonation
Reading C:\Users\LIP\Desktop\pixivutil20191221\config.ini ...
done.
Using default DB Path: C:\Users\LIP\Desktop\pixivutil20191221\db.sqlite
Creating database... done.
Only process members where the last update is >= 7 days ago
Using Username: lipaston
Trying to log in with saved cookie
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> 1 2 3 4
Error at open_with_retry(): (<class 'urllib.error.URLError'>, URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')), <traceback object at 0x07822608>)
Error at doLogin(): (<class 'PixivException.PixivException'>, PixivException('Failed to get page: https://www.pixiv.net/, please check your internet connection/firewall/antivirus.'), <traceback object at 0x07809308>)
Cannot Login!
press enter to exit.

looks like enablesslverification only used for OAuth validation, still the error is due to the root certification is either not updated or you have something that takeover the validation (e.g. vpn/antivirus/firewall). This happened to me when I'm using Forticlient, as it will act as proxy and cause the same issue. I need to totally shutdown the service. Other than that I have no clue.

Try to replace library.zip and set enablesslverification = False in config.ini, I have updated to disable ssl validation based on https://stackoverflow.com/a/35960702
library.zip

Now it can pass


Facets contain duplicates and incorrect items

The facets on the discover page are not curated. This is problematic because it results in both duplicate and incorrect values in the facets. For example, some names appear multiple times in the "Author" filter because a name may be associated with more than one account. Similarly, some names in the "Author" filter are not human names. This is because users are allowed to enter any value in the author field. Examples are shown below.

This was true in the old Discover and less obvious, because it was not sorting by name. Design is needed and perhaps rethinking person objects, as there is no way to know currently if it's simply the same name, "John Smith" or indeed an identical person. If different accounts are used, is there a benefit to having the separation of resources, since they could be for different organizations or other distinctions.

@Castronova  It is possible to deal with duplicate names via the way the records are faceted. What I presume is that the "duplicates" are really slightly different depictions of the same name, which could be repaired by normalization to last name, first initial.
I have no solution for misspellings!
The other issue of garbage in the metadata is deeper and may lead us to not exposing facets based upon uncontrolled vocabularies at all.

@dtarb @castronova @cuahsimarko Should we try last name/first initial to resolve this, or is that worth doing?

There's no way of definitively distinguishing between identical names. I think this should be closed with no action, but I can make a note of alerting at profile name entry/edit that it matches a duplicate name/account. @Castronova as the ticket creator can you please comment/close?

@alvacouch I do not think it is worth doing lastname/first initial to attempt to resolve this.  I would vote for closing this now, but putting as a discussion item more thoroughly addressing the representations for people and organizatoin names, aka party's or the party model.
Here are some ideas.

It is the responsibility of resource creators and editors to make sure that information for the authors and contributors is correct and complete.  In resource pages we should just display information as it is in the resource records.
Parties should be disambiguated using unique identifiers.  In HydroShare email addresses, as well as identifiers such as ORCID can be part of a user profile and can be added to a creator/contributor record.  Selecting a HydroShare user to add to a resource creator/contributor record copies this information.
The discovery database and facets should group together authors that are known to be the same party by virtue of having the same unique identifier.  This would resolve the Castronova repeat illustrated above.  Different firstname and lastname variants could be regarded as aliases and discovery of any of them discovers all.  The data representation to achieve this may not be trivial, hence my suggestion we not do this now.

@dtarb @alvacouch I support the idea of a Unique ID, perhaps not something entered by the user, such as an underlying uuid4 (random identifier) much like the database best practice with an auto incrementing/generated index. Respective systems could then use the UID for retrieval. The final step would be providing a method for resource creators and editors to consolidate their accounts under one UID and a campaign to call users to action.

@dtarb @alvacouch I support the idea of a Unique ID, perhaps not something entered by the user, such as an underlying uuid4 (random identifier) much like the database best practice with an auto incrementing/generated index. Respective systems could then use the UID for retrieval. The final step would be providing a method for resource creators and editors to consolidate their accounts under one UID and a campaign to call users to action.

I vote against trying to do additional disambiguation of things like Authors based on some sort of additional identifier. Authors that are HydroShare users already have a unique identifier in the system, but not all authors are users. The real problems are with authors that are not HydroShare users because their information does not get copied from their profile (or their information gets copied and then they change their profile). For instance, how would you link up the same author name entered by two different users (e.g., two data managers creating HydroShare resources for other people) at two different times? You wouldn't unless the exact same information - name, email address, etc. - is entered at both times, which obviously isn't happening now or we wouldn't have this problem.
The discovery facets act as filters - their purpose is to help subset search results. If two authors have the exact same name, you get both of their results when you click on that name. This isn't a problem - it just forces the user to sift through a longer list of results. A random unique identifier for each author having the same name won't help a user tell the difference between the two. User's won't memorize unique identifiers.
Even if we try to consolidate names through grouping, there are instances where grouping should not happen - e.g., a person may get married and change their name - it's the same person, but they published under two different names. Also - If you group two names together that are different (the Castronova example above), which one gets displayed?
There are limitations to having a field like Author as a facet. Given the large number of authors and the possibility of duplicates and alternative spellings, I would ask whether Author should even be a facet?
The filters implemented by the DataONE project on their discovery page seem much more flexible and much less problematic: https://search.dataone.org/data

I vote against trying to do additional disambiguation of things like Authors based on some sort of additional identifier. Authors that are HydroShare users already have a unique identifier in the system, but not all authors are users. The real problems are with authors that are not HydroShare users because their information does not get copied from their profile (or their information gets copied and then they change their profile). For instance, how would you link up the same author name entered by two different users (e.g., two data managers creating HydroShare resources for other people) at two different times? You wouldn't unless the exact same information - name, email address, etc. - is entered at both times, which obviously isn't happening now or we wouldn't have this problem.
The discovery facets act as filters - their purpose is to help subset search results. If two authors have the exact same name, you get both of their results when you click on that name. This isn't a problem - it just forces the user to sift through a longer list of results. A random unique identifier for each author having the same name won't help a user tell the difference between the two. User's won't memorize unique identifiers.
Even if we try to consolidate names through grouping, there are instances where grouping should not happen - e.g., a person may get married and change their name - it's the same person, but they published under two different names. Also - If you group two names together that are different (the Castronova example above), which one gets displayed?
There are limitations to having a field like Author as a facet. Given the large number of authors and the possibility of duplicates and alternative spellings, I would ask whether Author should even be a facet?
The filters implemented by the DataONE project on their discovery page seem much more flexible and much less problematic: https://search.dataone.org/data

@dtarb @martinseul @horsburgh @alvacouch I would like to close this, per Dave's vote, if others agree. Where can we capture any necessary information that needs to be carried forward? Can a stakeholder please action this?

@dtarb @martinseul @horsburgh @alvacouch I would like to close this, per Dave's vote, if others agree. Where can we capture any necessary information that needs to be carried forward? Can a stakeholder please action this?

Closing per thread and can be reopened if deemed necessary.

I will link this to the other duplicate name, facets, first/last/organization issues so stakeholders can consolidate, perhaps.

Possibly related https://github.com/hydroshare/hydroshare/issues/1774 "insufficient metadata to sort creators by last name"


Created bar Graph of the ping time and ping attempts number

Addressing issue #8  Generated a bar graph from the saved log files in the project .
Use   matplotlib  TkAgg version to display the bar graph

@OmkarBhoir13 thanks for this - I'll take a look shortly.


Consider using Sqlite instead of Mysql

Currently Lute using MySQL, which is potentially a bit heavyweight.  Other tools like VocabSieve and Anki use Sqlite and it works fine for them.
If Lute used Sqlite, users wouldn't have to install and configure MySQL, which is pretty heavyweight.  Install would be simplified to the following:

install PHP
get the Lute code

They should be able to use the built-in PHP web server from the public folder with $ php -S localhost:8000.  The project could be initially config'd to run the db file from an internal folder and file (saved within the project directory).  Then users could modify the .env.local file, with clear instructions on a wiki page.  It should suffice, performance-wise.
(Of course, if they want, they can install the Symfony CLI (https://symfony.com/download) for a lightweight web server, and run it from the app folder with $ symfony server:start, or set up MAMP or XAMPP or whatever, but those would be overkill).
Sample branch
Branch sqlite_work_in_progress pushed to this repo has a few things done already.  The unit tests all pass.  The code appears to work, but I haven't tested it with any real volume of data, so I don't yet know if it's performant.
Remaining todos

determine how to port data from existing MySQL installations to the Sqlite file. - data will be ported by CSV export and import.
DB backup would just be a copy of the sqlite file to some folder
how to handle new migrations?  Still use the _migrations table idea, or simplify it further?
have to baseline the latest schema to a new .sqlite file and commit that to the repo, using that as the baseline db.  And stash/delete all existing migrations so they don't get re-applied
the code has some "TODO:sqlite" comments.  use dev:find to find them

creating sqlite baseline

apply the field/key changes listed below to the sql db (with a migration, probably)
fix the trigger
run process to export the mysql db to the baseline .sqlite db (committed in the repo)

Can keep creating baselines as needed
porting data - test cases

If importing, the Sqlite DB must be empty.  The export from the Mysql db is just raw data, including primary keys.  If the tables contain other data, all keys will get messed up.
importing: bad fields should throw an error

misc notes accumulated during hacking:
exporting the schema
**** reset
rm var/data/test.sqlite

# using https://github.com/techouse/mysql-to-sqlite3
mysql2sqlite -f var/data/test.sqlite -d test_lute -u root --mysql-password root -W

fixing col types

**** fix col types so that conversion to sqlite sets up primary key as autoincrement

alter table languages modify column LgID INTEGER NOT NULL AUTO_INCREMENT;
alter table books modify column BkID INTEGER NOT NULL AUTO_INCREMENT;
alter table booktags modify column BtBkID INTEGER NOT NULL;
alter table booktags modify column BtT2ID INTEGER NOT NULL;
alter table sentences modify column SeID INTEGER NOT NULL AUTO_INCREMENT;
alter table statuses modify column StID INTEGER NOT NULL;
alter table tags modify column TgID INTEGER NOT NULL AUTO_INCREMENT;
alter table tags2 modify column T2ID INTEGER NOT NULL AUTO_INCREMENT;
alter table texts modify column TxID INTEGER NOT NULL AUTO_INCREMENT;
alter table texttags modify column TtTxID INTEGER NOT NULL;
alter table texttags modify column TtT2ID INTEGER NOT NULL;
alter table texttokens modify column TokTxID INTEGER NOT NULL;
alter table wordimages modify column WiID INTEGER NOT NULL AUTO_INCREMENT;
alter table wordparents modify column WpWoID INTEGER NOT NULL;
alter table wordparents modify column WpParentWoID INTEGER NOT NULL;
alter table words modify column WoID INTEGER NOT NULL AUTO_INCREMENT;
alter table words modify column WoLgID INTEGER NOT NULL;
alter table wordtags modify column WtWoID INTEGER NOT NULL;
alter table wordtags modify column WtTgID INTEGER NOT NULL;

**** fix trigger -- committed in rep. migrations

misc other notes
**** weird 'like' vs '=' issue in sqlite
ref Ref https://stackoverflow.com/questions/26719948/sqlite-why-select-like-works-and-equals-does-not
in SpaceDelimitedParser_IntTest.php

**** TODO db filename in settings
**** fix migration thing
***** commit a baseline _empty_ db to the reop
***** migration helper thing should copy the baseline

Data transfer will happen with CSV export and import.  The develop branch already has a simple CSV export feature that runs when the page http://lute_dev.local:8080/utils/export_csv is hit.  The link for that page exists in index.html.twig, but is disabled.
A first draft to import those same CSV files is in the sqlite_work_in_progress branch.

Done for v2.


tox: Fix pylint test

The tox will try to compile pygobject which does not required for
pylint.
Remove the dependency install for pylint.

I don't know why suddenly the CI failed without changes to tox. The only moving part is the pip might install new version of something.


Blurry emojis in PNG

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
Diagrams with emojis exported to PNG look blurred at high resolution.
To Reproduce
Steps to reproduce the behavior:

Create a new diagram with a text field containing ⚠.
Export it as PNG at a high resolution (e.g., 300%)
Obtain a blurred warning sign

Expected behavior
A crispy warning sign.
Screenshots

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 24.7.17

Desktop (please complete the following information):

OS: Fedora 40
Browser: Firefox
Browser Version: 130

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

yes

Additional context
Well, this is the issue that led me to the issue tracker and made me discover the license change.

That would be the expected behaviour for me, it's a raster image. If you search for "alert" in the shapes, there are vector alerts.

I see – I managed to work around it by exporting as SVG and screenshoting a zoomed version in the browser. So I thought this should be solvable in principle.

Maybe so, but asking for icons to be vector to assure correctly scaled output is reasonable, so I'll close this one up.


How to capture storage metrics

Opening issue to discuss how Jaeger should provide metrics for storage backends.
Option 1: Metrics are provided via decorator

[+] The metrics are consistent across all storage implementations
[+] Less work for storage implementation
[-] Storage-specific metrics are not captured (unless Meter is given to the storage and it creates its own internal metrics)
[-] It's unclear whose responsibility it is to instantiate the decorator:

[+-] Storage Factory could do it internally - easy to forget, but a good composable solution

[-] The name spacing of the metrics still need to be decided by the caller, because in jaeger-v2 the same factory can be used for primary and archive storage and those metrics should be distinct

[-] Whoever creates reader / writer then wraps them in metrics decorator

Option 2: Metrics are provided by the storage implementation

[-] No way to guarantee that metrics are consistent across implementations
[-] Each storage must implement similar logic
[+] Caller does not need to worry about metrics, only need to pass Meter at initialization

[+-] Caller must provide name spacing

@yurishkuro If we can have storage specific metrics, does it makes sense to then go with Option 2?

Not necessarily - we can still pass a telset to the factories to do their custom metrics.
Personally I am leaning to option 2 as well but with a caveat that we provide a shared decorator component. Then each storage factory can still produce consistent metrics with decorator, not duplicate the code, and have the ability to generate their own metrics as well.

@yurishkuro Sounds good. So is the next step to provide a decorator similar to https://github.com/jaegertracing/jaeger/blob/main/storage/spanstore/metrics/decorator.go#L46 but with the new TraceReader? The currently decorator does implement spanstore.Reader (see https://github.com/jaegertracing/jaeger/blob/main/storage/spanstore/metrics/decorator.go#L65-L70). If we create a v2 version of this using traceReader, it won't be used currently if we just extract the spanReader out of the traceReader. Any thoughts on how we want to proceed there.

I don't think v2 decorator is needed at this point, because we don't have v2 native storage implementations, they all go via v1 factories. So the change would be to modify all v1 factories to

accept telset
apply v1 decorator when creating v1 reader / writer
remove usage of decorator from other places. The responsibility of the callers will be create a namespaced metrics.Factory with the name of the storage (e.g. storage=X attribute). We might have a conflict here with primary/archive, so I would try to have the factory then override the same attribute (I expect namespaces work such that latest wins), and then once we do the refactoring to remove archive factory we can delegate the naming responsibility exclusively to the caller.

This way v2 adapter will automatically get underlying objects with metrics.

@yurishkuro Anything else that we want to address here. One things I can think of is doing the same for the metrics stores. We're currently decorating the metrics readers like this. We could pass the metrics factory here and decorate the reader inside the prometheus factory to follow a similar pattern to the other storage factories.

Agreed, let's make things consistent everywhere, it makes it easier to do other things & upgrades


fix mkdir invocation in install recipe

The -p flag is expected to be part of the $(MKDIR) variable.
See: https://github.com/newsboat/newsboat/blob/master/Makefile#L115

Pardon, my oversight.

No broblem :)


Allow temporary enable and disable of components on an Entity

Here's a use-case I'd like to discuss.
I have a simple game in which Entities have PositionComponents and VelocityComponents.  A MovementSystem handles these Entities in the obvious way.  When the entities are clicked upon, they should become stationary.  When the entities are clicked again, they should continue moving with their original velocity.
I figure that either I can:

Remove and re-add the Velocity component, storing it as state somewhere in the meantime.  Or,
Add an empty marker Component like 'MovingComponent' that is added / removed from the Entity to include / exclude from the MovementSystem.

For 1, it's a shame to have to hold the state elsewhere, adding complexity to my code that Ashley has so nicely cleaned up.  For 2, it feels like a work-around.
I propose here a change that allows me to merely toggle the VelocityComponent on the Entity each time it is clicked upon, thereby excluding and including from the MovementSystem.
I'm new to Ashley, so there may a better way to do what I want.

Mmmm... maybe I need to rethink this.


Having problems building with dependencies?

I was getting this error after trying to build my project after adding this library to my sbt file.
sbt.librarymanagement.ResolveException: unresolved dependency: xyz.wiedenhoeft#scalacrypt_2.12;0.5-SNAPSHOT: not found

There were no 2.12 builds in the repository. It should be fixed now. Please confirm that it works and close the issue.

Looks like it works now.


Add Eager model for ScaledJobs

Proposal
KEDA doesn't scale up job number to the max according to this piece of description and information around. But in our case, we want to launch as many jobs as possible and keep the queue as empty. So, can we have an Eager mode in addition so users like me can shorten the waiting time in general?
Use-Case
We want to launch as many jobs as possible and keep the queue as empty.
Is this a feature you are interested in implementing yourself?
Maybe
Anything else?
No response

Which scaler do you use? I think set the para queueLength on queue scaler can shorten the time.

  triggers:
    - type: rabbitmq
      metadata:
        queueName: queue
        hostFromEnv: RABBITMQ_URL
        mode: QueueLength
        value: "1"
---

@SpiritZhou Thanks for your reply. We configured the scaler as above.
Increasing the queueLength seems unacceptable to us since it keeps pods running as long as these pods haven't consumed as many messages as the number assigned to queueLength. It means that allocated resources for these pods won't be recycled, although we hope the cluster can scale down once there's no incoming message.

What is your ScaledJob config? What do you set as a maxReplicaCount?

---
apiVersion: keda.sh/v1alpha1
kind: ScaledJob
metadata:
  name: worker
spec:
  jobTargetRef:
    template:
      metadata:
        labels:
          app: worker
      spec:
        containers:
          - name: worker
            image: worker-image
            imagePullPolicy: Always
            resources:
              requests:
                memory: "4Gi"
                cpu: "1"
            env:
              - name: WORKER_TYPE
                value: pilot
              - name: RB_USERNAME
                valueFrom:
                  secretKeyRef:
                    name: rabbitmq-instance-default-user
                    key: username
              - name: RB_PASSWORD
                valueFrom:
                  secretKeyRef:
                    name: rabbitmq-instance-default-user
                    key: password
              - name: RABBITMQ_URL
                value: amqp://$(RB_USERNAME):$(RB_PASSWORD)@rabbitmq-instance.arc:5672
        restartPolicy: Never
    backoffLimit: 1
  pollingInterval: 10 # Optional. Default: 30 seconds
  maxReplicaCount: 10 # Optional. Default: 100
  successfulJobsHistoryLimit: 0 # Optional. Default: 100. How many completed jobs should be kept.
  failedJobsHistoryLimit: 5 # Optional. Default: 100. How many failed jobs should be kept.
  triggers:
    - type: rabbitmq
      metadata:
        queueName: woker_queue
        hostFromEnv: RABBITMQ_URL
        mode: QueueLength
        value: "1"

@zroubalik Basically like this.

@JorTurFer Because these workers are long-running inherently, I preferred ScaledJob to ScaledObject naturally. This section concerned me as pods can be terminated unexpectedly.
Getting back to ScaledJob, let's imagine a case with 3 running pods and another 3 messages standing in line, and each of them takes 3 hours or even longer to run. Does it sound better if we empty the queue and run 6 pods in parallel within our affordable limit which is 10 replicas?

You are right, ScaledJob is the best fit for your use case.
In any case, if you set a message per pod, you will schedule a job per message, until the maxReplicaCount, so it's the fasters as possible, isn't it enough?
Based on your previous comments, you want to scale to max when there is any message, and scale to 0 when there isn't any message, am I right?
If yes, you could teak this behaviour using v2.12 and the experimental feature for scaling modifiers (based on formulas). The best part of this, is that you can use ScaledObject, allowing the scaling to 0 when there isn't any message in the queue

@JorTurFer Thanks for the solution. I will try it out.

Getting back to ScaledJob, let's imagine a case with 3 running pods and another 3 messages standing in line, and each of them takes 3 hours or even longer to run. Does it sound better if we empty the queue and run 6 pods in parallel within our affordable limit which is 10 replicas?

We should revisit the scaling behavior for ScaledJob as that ^ is something that should be doable.


Always use 0 section. Error when sections more than 1

Hello Dear Kiran!
Thanks for your awesome library!
I have found that you always use 0 section.
In my project there is 3 sections and was a bug.
I have found that in lines:
line: 442

was: let indexpath: IndexPath = IndexPath(row: row, section: 0)
now: let indexpath: IndexPath = IndexPath(row: row, section: indexPath.section)

and
line 454:

was: let indexpath: IndexPath = IndexPath(row: updateStateOfRow, section: 0)
now: let indexpath: IndexPath = IndexPath(row: updateStateOfRow, section: indexPath.section)

Would you be so kind and fix this bug
Thanks in advance!

@YaroslavZhurbilo how do you make tree with multiple sections?


Update web dev learning resources

Updated web-dev learning resources section and fixed a few typos.

Thank you for the contribution, @muhammadahad96, changes have been merged.


add replicaset auth

This PR add support of configuration replica set with authentication and authorization, described in documentation http://docs.mongodb.org/manual/tutorial/deploy-replica-set-with-auth/.
The first step (create admin user on standalone instance) in documentation should be prepared manually.

hello, can you update me?

any update about this?


Make development environment reproducible

Contributors should be able to clone this repo and then easily bring up a copy of the EA Hub on their own development machines. This is a prerequisite for people being able to work independently on new features and improvements.

Blocked on #10.

Putting this on hiatus for now as it doesn't work with our current WordPress Customizer-based site design. Eventually we'll need to move away from that, but for the moment it's not blocking anything else.

This is now sorted!
Using the .env file we're now able to set the database name to whatever we want. So our production database is currently eahub3 however eahub is still available and can be used to testing features which effects data without worrying about ruining our production data.


 System Linux 4.1.5-1-ARCH
gyp ERR! command "/usr/bin/iojs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/buzz/Projetos/mobtag/backend/node_modules/bcrypt
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 4.1.5-1-ARCH
npm ERR! argv "/usr/bin/iojs" "/usr/bin/npm" "install" "bcrypt"
npm ERR! node v3.0.0
npm ERR! npm  v2.13.5
npm ERR! code ELIFECYCLE

Would you care to explain why?

Has nothing to do with this module. Seems like npm error.
On Wednesday, August 19, 2015, rbaprado<EMAIL_ADDRESS>wrote:

Would you care to explain why?
—
Reply to this email directly or view it on GitHub
https://github.com/ncb000gt/node.bcrypt.js/issues/328#issuecomment-132603409
.

I would not judge that so quickly, since it only seems to happen with this
package, but nervermind...
Em qua, 19 de ago de 2015 às 11:00, Roman Shtylman<EMAIL_ADDRESS>escreveu:

Has nothing to do with this module. Seems like npm error.
On Wednesday, August 19, 2015, rbaprado<EMAIL_ADDRESS>wrote:

Would you care to explain why?
—
Reply to this email directly or view it on GitHub
<
https://github.com/ncb000gt/node.bcrypt.js/issues/328#issuecomment-132603409
.

—
Reply to this email directly or view it on GitHub
https://github.com/ncb000gt/node.bcrypt.js/issues/328#issuecomment-132607875
.

gyp ERR! stack Error: 404 response downloading https://nodejs.org/dist/v3.0.0/node-v3.0.0.tar.gz is pretty clear and would have nothing to do with this package unless some dependency is wanting to download a newer node. I would check your env setup.

3.0.0 is version number known for io.js, not node. I guess some dependency
of bcrypt has some problem being hardcoded for nodejs or something like
that, anyway, that is blocking bcrypt installation, that is why I reported
that to you, since I cannot look into that right now, hence I am currently
using bcryptjs because of that.
Em qua, 19 de ago de 2015 às 11:37, Roman Shtylman<EMAIL_ADDRESS>escreveu:

gyp ERR! stack Error: 404 response downloading
https://nodejs.org/dist/v3.0.0/node-v3.0.0.tar.gz is pretty clear and
would have nothing to do with this package unless some dependency is
wanting to download a newer node. I would check your env setup.
—
Reply to this email directly or view it on GitHub
https://github.com/ncb000gt/node.bcrypt.js/issues/328#issuecomment-132622236
.


Question: Screen refresh flicker even with no change

Hi,
I'm using this library on a Teensy 4.1, using the framebuffer. Generally, I draw my graphics to a canvas (Adafruit GFXcanvas16), and then push it to the display using:
tft.writeRect(0, 0, DISP_WIDTH, DISP_HEIGHT, canvas1->getBuffer());
tft.updateScreenAsync(false);

I notice that even when the written canvas is always completely black, there is a flicker in the display corresponding to the screen update frequency. In fact, doing any display update generates this flicker. Is this normal?
Can it be avoided somehow?

Sorry, been busy playing with a different board.
Flicker and the like may depend on how it is used.
For example with the updateScreenAsync, did you wait until the screen update completed before changing the contents of the frame buffer and likewise before you issue a new updateScreen.
Also what type of memory you are using for the frame buffers.  If you are using PSRAM, it is slower and maybe slows things down.
One current advantage of not using the Async version, is I have code in place that computes what area of the screen that has been updated and only update that bounding rectangle... I have played with adding that to the DMA version, but not the continuous update version.
Not sure if you are seeing flicker or tearing.  There is another ILI9341 library  (ILI9341_t4), that more or less does not have any graphics, it is setup to be able to use something like VGL, and it does some more extensive comparing of buffers, and only update those regions that changed...  Also has some synchronization code, to time output to hopefully avoid tears.
Not sure if that would be a better match for what you are trying to do.

Hi Kurt,
Thanks for the reply! In my code I always write to a canvas object, and at the last moment I write that to the screen. Basically the following code in a loop, but limited to a fixed update speed (e.g. 6 or 15fps).
<Drawing to canvas1>
tft.waitUpdateAsyncComplete();
tft.writeRect(0, 0, DISP_WIDTH, DISP_HEIGHT, canvas1->getBuffer());
tft.updateScreenAsync(false);

The complete code is quite extensive so I will doublecheck if I don't have some leftover updateScreen() hiding somewhere, but I found it odd that the flicker is only appearing at (very) low update speeds. The flicker happens independent of the changes to the screen content, it seems.
How can I check whether the buffers are in PSRAM?

Sorry, I noticed that this issue was not resolved.
Flicker is always an interesting problem, that I don't have any complete answer for.
The writeRect code is pretty simple, especially when using  a frame buffer.  It simply copies in your data into the displays frame buffer.  And the updateScreenAsync will redraw the entire screen.   That is it sends commands to the screen to set the update region and then sets up DMA operation to write out the entire bytes for the whole screen.
As I mentioned in the first reply the ILI9341_t4 library has support in it, where it will compare two buffers and only output the differences, which can be a plus. If I remember correctly they also try to setup when is the best time to update the screen in order to avoid a tear operation.  By looking at what scan line you are on...  There is a command that can work if your display has MISO line
uint16_t ILI9341_t3n::readScanLine() {
It has been awhile, so not sure what the best values are for this.  I think some try to time it such that they fill in the data such that you maybe always fill in just behind where the display is looking...
PSRAM - you only use this IF you are a Teensy 4.1 with PSRAM installed and ask for it, either using EXTMEM define or using the extmem_malloc requests.
You can detect it codewise by looking at the address.  It will start at:
ERAM (rwx):  ORIGIN = 0x70000000, LENGTH = 16384K

I recently tried the ILI9341_t4 library, and that solved the flicker. So I eventually moved the application over. The memory requirements are much higher though.
My display does not have the MISO line, so I suppose it does not do any vsync. Under a few circumstances I can still notice flicker (e.g. when drawing text on top of an image).
Additionally, increasing the SPI speed also reduced the flicker. Due to my board layout the SPI wiring is quite long and I cannot exceed 15Mhz.


feat(gateway-api): matching routes by Listener.AllowedRoutes

What this PR does / why we need it:
This PR implements matching listeners by Listener.AllowedRoutes as well as some refactor in getSupportedGatewayForRoute
Which issue this PR fixes:
Should fix #2408
Special notes for your reviewer:
This PR also adds matching routes against listener's status and most specifically .SupportedKinds. I'm not sure if that's the right thing to do given the comment in the spec but it surely feels right. For now in such cases we'd add a gatewayv1beta1.RouteReasonNotAllowedByListeners.
PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[ ] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

Adding do not merge label as I'm not sure about the supported kinds from listeners status ad whether those should be taken into account

Seems like it makes sense to take ListenerStatus.SupportedKinds into account:

https://kubernetes.slack.com/archives/CR0H13KGA/p1669147197745379
https://github.com/kubernetes-sigs/gateway-api/discussions/1555


Various tweaks and fixes

fix OSexBar appearing at start
tweak keybinds to variables
tweak onKeydown if checking
move complete check to end of main loop (so we don't do a final round of the main loop if we're exiting)

Abandonend as changes will appear in other PR


Flappy Bird AI with Color and random pipe speed

Flappy Bird AI with Color and random pipe speed
Link to demo: https://carlsen66.github.io/neuroevolution-flappybird_color/

Duplicate of #1634


apiclient

when trying to start bot.py i get this error
Traceback (most recent call last):
  File "bot.py", line 13, in <module>
    from apiclient.discovery import build
ImportError: No module named apiclient.discovery

i have google-api-python-client installed, so what do i have to do?

you have to install google-client-api on your client site.
Try This command :
$ pip install --upgrade google-api-python-client

I’ve done that, it installs, but still tells me I don’t have apiclient.discovery
Sent from Mail for Windows 10
From: Joshua Shibu
Sent: Friday, April 27, 2018 1:03 AM
To: HackerShackOfficial/AI-Smart-Mirror
Cc: rachnov55; Author
Subject: Re: [HackerShackOfficial/AI-Smart-Mirror] apiclient (#77)
you have to install google-client-api on your client site.
Try This command :
$ pip install --upgrade google-api-python-client
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Animated: useNativeDriver Warning.

Issue Description
node: v10.15.3
yarn: 1.12.3
react-native: 0.62.0
popup-ui: 1.0.10
Expected behaviour:
no warning...
Actual behaviour
Get some warning in react-native console :
Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false

The temporary fix is here: https://github.com/RafaelAugustoS/react-native-popup-ui/pull/15/commits/314cc090ee9c8ccd4146e35bb3ba21e9244eee09


fix: typo copmonent => component

Found this little guy when browsing the codebase.

Thanks! Just need to add a little something to CHANGELOG.md

Thank you so much for helping us improve styled-components! Based on our Community Guidelines every person that has a PR of any kind merged is offered an invitation to the styled-components organization—that is you right now!
Should you accept, you'll get write access to the main repository. (and a fancy styled-components logo on your GitHub profile!) You'll be able to label and close issues, merge pull requests, create new branches, etc. We want you to help us out with those things, so don't be scared to do them! Make sure to read our contribution and community guidelines, which explains all of this in more detail. Of course, if you have any questions just let me know!


One command to just execute a test without storing the file

Sometimes I just want to test the bandwidth of a machine without having to download speedtest-cli file.

Not currently interested in this documentation.


Remove generic type declaration for Completable bindings.

Remove the unecessary generic type  from the kotlin extensions for binding to Completable chains. The type declared in the signature is not being used in the function, and doesn't make sense on a Completable, so this looks like a copy/paste error.
This fixes the following error, when not specifying a type:
Type inference failed: Not enough information to infer parameter T in fun <T> Completable.bindUntilEvent(owner: LifecycleOwner, event: Lifecycle.Event): Completable

Awesome, thanks!


Update comparing-terraform-and-bicep-integration-features.md

Small update to grammar.

Learn Build status updates of commit ea083af:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/terraform/includes/comparing-terraform-and-bicep-integration-features.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@TomArcherMsft,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Learn Build status updates of commit 39fe4d4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/terraform/includes/comparing-terraform-and-bicep-integration-features.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


STORM-2984: Add jitter in executor heartbeat

The executorHeartbeatTimer is scheduled without jitter. In cases where state storage is Zookeeper and not pacemaker, introducing jitter will help spread out the I/O over time on Zookeeper. This will be helpful for large clusters.
The jitter time is worker.heartbeat.frequency.secs

@zodvik
Thanks for the contribution! Btw, we're planning to change the heartbeat mechanism to RPC which should reduce overall ZK load, so I'd rather rely on new mechanism. Please take a look at #2433.
I think the patch is still effective on 1.x version line. Could you raise a pull request on 1.x-branch?

@HeartSaVioR
Makes sense. I'll close this PR.

@zodvik We may still want to apply this to 1.x version line. So if you struggled and the patch helped your case, please submit the patch against 1.x-branch.


Update tooltip.js getPosition()

Fixes #21855.

Support for v3 has mostly ceased. Please let us know if this issue affects v4.
See : #20631

Bootstrap 3 is essentially in maintenance mode as we focus on working towards a stable v4. As such, we're only accepting changes to v3's code on a case-by-case basis, usually only for critical bug fixes or docs improvements.

This is a saved reply.


IC2 Error with nodemcu

Hi
Happy to find someone with potential awnsers to my problem.
I am working with new Chinese css811 sensor with wich i am not able to have connection with the ccs811 library.
I tried unsuccesfully to find a solution in the Web ( using the Adafruit library)
I  just found and installed your version an hour ago.
I still have problems CSS811: IC2 error
With my NodeMcu
If i scan the IC2 device i get my css811 detected at port 0x5A.
My IC2 is working well when i plug a BMP280 sensor.
The css8111 is working correctly with my Arduino Board
What should i do next ?

This is very little info you give us.
Could you send me the output of ccs811basic?
Could you also show the wiring that you used (schematics or maybe photo if clear enough)?
How did you do the "scan the IC2 device i get my css811 detected at port 0x5A."

Solved i had a bad solder with intermitant problems.
Thanks for your care


docs: add syn-icon variant

This Branch we should delete. It is somehow destroying our syn-radio docs tokens. I will make a new branch and hope this is not happening again @mariohamann