mapStateToProps() error

When I reload market trading page I get this error.

Using local testnet, sources as of today morning.
Full stack

warning | @ | warning.js:11
-- | -- | --
  | verifyPlainObject | @ | verifyPlainObject.js:8
  | detectFactoryAndVerify | @ | wrapMapToProps.js:62
  | mapToPropsProxy | @ | wrapMapToProps.js:45
  | handleFirstCall | @ | selectorFactory.js:27
  | pureFinalPropsSelector | @ | selectorFactory.js:68
  | runComponentSelector | @ | connectAdvanced.js:36
  | initSelector | @ | connectAdvanced.js:195
  | Connect(EtherscanLinkTSX) | @ | connectAdvanced.js:133
  | constructClassInstance | @ | react-dom.development.js:13308
  | updateClassComponent | @ | react-dom.development.js:16985
  | beginWork$1 | @ | react-dom.development.js:18505
  | beginWork$$1 | @ | react-dom.development.js:23193
  | performUnitOfWork | @ | react-dom.development.js:22211
  | workLoopSync | @ | react-dom.development.js:22185
  | renderRoot | @ | react-dom.development.js:21878
  | runRootCallback | @ | react-dom.development.js:21554
  | eval | @ | react-dom.development.js:11353
  | unstable_runWithPriority | @ | scheduler.development.js:643
  | runWithPriority$2 | @ | react-dom.development.js:11305
  | flushSyncCallbackQueueImpl | @ | react-dom.development.js:11349
  | flushSyncCallbackQueue | @ | react-dom.development.js:11338
  | scheduleUpdateOnFiber | @ | react-dom.development.js:21431
  | enqueueSetState | @ | react-dom.development.js:13100
  | Component.setState | @ | react.development.js:325
  | onStateChange | @ | connectAdvanced.js:220
  | dispatch | @ | createStore.js:177
  | eval | @ | index.ts:30
  | eval | @ | index.js:12
  | eval | @ | index.ts:26
  | dispatch | @ | applyMiddleware.js:37
  | eval | @ | set-alert-text.ts:318
  | eval | @ | index.js:9
  | eval | @ | index.ts:26
  | dispatch | @ | applyMiddleware.js:37
  | eval | @ | alerts.ts:41
  | eval | @ | index.js:9
  | eval | @ | index.ts:26
  | dispatch | @ | applyMiddleware.js:37
  | eval | @ | alerts.ts:119
  | eval | @ | index.js:9
  | eval | @ | index.ts:26
  | dispatch | @ | applyMiddleware.js:37
  | eval | @ | place-market-trade.ts:73
  | Promise.then (async) |   |
  | eval | @ | place-market-trade.ts:57
  | eval | @ | index.js:9
  | eval | @ | index.ts:26
  | onSubmitPlaceTrade | @ | wrapper.ts:79
  | placeMarketTrade | @ | wrapper.tsx:205
  | action | @ | wrapper.tsx:258
  | onClick | @ | buttons.tsx:157
  | callCallback | @ | react-dom.development.js:347
  | invokeGuardedCallbackDev | @ | react-dom.development.js:397
  | invokeGuardedCallback | @ | react-dom.development.js:454
  | invokeGuardedCallbackAndCatchFirstError | @ | react-dom.development.js:468
  | executeDispatch | @ | react-dom.development.js:600
  | executeDispatchesInOrder | @ | react-dom.development.js:619
  | executeDispatchesAndRelease | @ | react-dom.development.js:725
  | executeDispatchesAndReleaseTopLevel | @ | react-dom.development.js:733
  | forEachAccumulated | @ | react-dom.development.js:707
  | runEventsInBatch | @ | react-dom.development.js:750
  | runExtractedPluginEventsInBatch | @ | react-dom.development.js:881
  | handleTopLevel | @ | react-dom.development.js:5901
  | batchedEventUpdates | @ | react-dom.development.js:2344
  | dispatchEventForPluginEventSystem | @ | react-dom.development.js:5996
  | dispatchEvent | @ | react-dom.development.js:6025
  | unstable_runWithPriority | @ | scheduler.development.js:643
  | runWithPriority$2 | @ | react-dom.development.js:11305
  | discreteUpdates$1 | @ | react-dom.development.js:21672
  | discreteUpdates | @ | react-dom.development.js:2359
  | dispatchDiscreteEvent | @ | react-dom.development.js:5979

Fixed here https://github.com/AugurProject/augur/pull/8287


Basic search

Description of new feature
Integrate a basic version of search that only works for genes.

[ ] Index the genes with an in-browser memory search store, like Minisearch
[ ] Have a search box at the top of the search sidebar where the user can type a query.

[ ] Just typing something submits a search, with a debounce (e.g. 250 ms)
[ ] The search basically just filters the list of genes for now.

[ ] Under the search box, list the search results (genes).  List all genes if the query is empty.  Each gene entry includes:

[ ] Gene name
[ ] Gene description
[ ] Links (just a few placeholders for now until we figure out the best things to link to)
[ ] A bar to represent the value associated with the gene in the results

See the sketch below:

Motivation for new feature
This will give us a basic version of the search that will let us evaluate how well the search tech works for our use case.  It will also give us a good starting point to add support for searching for other things in future (e.g. clusters).

Superseded by: Gene list & search #16
We're only doing gene list searching/filtering for the MVP milestone.  This issue (#6) still has some historical details and cross-referenced commits that are useful references for #16.


how to draw heat map?

Hello
I have a question. How to draw heat map with pixi.js
I use pixijs to draw topology window. User is able to select any image as a map and put device. Any device has some signal level (drawing red circle now). What i need
1 - clean canvas (already works)
2- draw background color (already works)
3-draw custom image (already works)
4 - draw device (already works)
5 - draw circle(s) as a signal level with opacity 0.5 (heat map)
Thanks

NOTE: I don't speak for the pixi.js team.

I recommend you reach out on the HTML5 Game Dev Forums. Reading CONTRIBUTING.md, it appears that "Issues" are solely for those revolving around the library itself, e.g. bugs.

Same as in http://pixijs.io/examples/#/layers/lighting.js , but you dont have to use extra lib for sorting.


Fixing problem showing admin menus in the admin console

Summary
We change how the menus were animated and this worked well for the main menus
in the interface, but for the admin console menus wasn't working. With this
fix, now everything works as expected.
Ticket Link
MM-17972

Closing it on favor of https://github.com/mattermost/mattermost-webapp/pull/3502


semver for cc1110 firmware

This should also be made visible as a bluetooth attribute

Can you please document somewhere exactly how the RF modem used for the Nightscout project relates to the cc1110 firmware properties?  How did you select the requisite header file values?

Not sure what you're asking here.  This ticket is about letting users know which version of firmware they currently have installed on their device.
The gitter channel (https://gitter.im/ps2/rileylink) is a good place to ask general questions about this project.

We have firmware version reporting from subg_rfspy now.


fix support Queue for JSONPathSegmentIndex.eval, for issue #2602

What this PR does / why we need it?
fix support Queue for JSONPathSegmentIndex.eval
Summary of your change
Please indicate you've done the following:

[ ] Made sure tests are passing and test coverage is added if needed.
[ ] Made sure commit message follow the rule of Conventional Commits specification.
[ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.11%. Comparing base (41253d6) to head (d52b62f).
Report is 29 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2607      +/-   ##
============================================
- Coverage     75.68%   73.11%   -2.57%
+ Complexity    23179    22424     -755
============================================
  Files           650      650
  Lines         88693    89793    +1100
  Branches      19954    20037      +83
============================================
- Hits          67129    65655    -1474
- Misses        13402    15766    +2364
- Partials       8162     8372     +210

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Load data if component still isn't scrollable

Is this possible to load data until component is scrollable (node.scrollHeight > node.clientHeight)?

With initialLoad={true} it should call the internal scrollListener and do what you need here


Documentation does not list support for Django 1.11

Summary
Documentation does not list support for Django 1.11 under 'Requirements' here:
http://docs.django-cms.org/en/latest/introduction/install.html
Noticed this after running the following in a python 2.7 virtual environment:
djangocms -f -p . mysite
pip freeze
...
Django==1.11.15
django-classy-tags==0.8.0
django-cms==3.5.2
...

I just realized you have this change implemented in the repo here:
https://github.com/divio/django-cms/blob/develop/docs/introduction/01-install.rst
but its not live on your site and leads to come confusing situations.

Hello @austin-carnahan
Thank you very much for your contribution to the django CMS project. The django CMS project has recently joined forces under the banner of the newly founded django CMS Association to revive the development of django CMS. For this reason we have analyzed all pull requests and issues in detail and decided which ones fit the product vision we want to go with django CMS.
Due to the age of this change we are unable to safely accept the contribution. If you feel this change is still required please inform a member of our technical committee<EMAIL_ADDRESS>Nevertheless we thank you for your participation and would like to emphasize that we do not want to discourage you in your contribution to the django CMS project. On the contrary, we encourage everyone who is interested in the success of django CMS to join us!
If you want to learn more about the work of the technical committee, our product vision and how you can become a member of the dCA, you can find all information here:

The Technical Committee of the django CMS Association
Technical Roadmap and Product Vision for django CMS
How to become a member of the django CMS Association

We are looking forward to every companion who would like to shape the future of django CMS together with us!
If you have any questions, feel free to reach out to Nicolai, our Community Manager<EMAIL_ADDRESS>Sign up for the Association now!


Multiple forms

Does not as intended (for me) when there are multiple submit forms on the same page. Hitting on the submit button causes all other forms to submit as well. I'm trying to work a fix, but any workaround?

Thanks for your question.
I will fix this tomorrow.

I just committed new code, hope this helps.


Adding test retry to codecov job

Add test retry to codecov job to retry the whole package to reduce flakiness
Change codecov_diff to abort in case any codecov run fails
Move junit xml file generation into the same test line so it is generated even if test fails.
Fix argument problem in security/tools/generate_csr/main.go

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

bin/OWNERS [hklai]
security/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hklai: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
8600d7bb0368fe8fd54d3f5eea218db84c88b405
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
5b2f374c81c027e120ddf26b006dbe19473e7cd5
link
/test e2e-simpleTestsMinProfile

prow/e2e-mixer-no_auth.sh
5b2f374c81c027e120ddf26b006dbe19473e7cd5
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
5b2f374c81c027e120ddf26b006dbe19473e7cd5
link
/test e2e-simpleTestsMinProfile

prow/e2e-mixer-no_auth.sh
5b2f374c81c027e120ddf26b006dbe19473e7cd5
link
/test e2e-mixer-no_auth

prow/istio-pilot-multicluster-e2e.sh
5b2f374c81c027e120ddf26b006dbe19473e7cd5
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

.circleci/OWNERS [hklai]
bin/OWNERS [hklai]
security/OWNERS [hklai]
tests/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth.sh
5b2f374c81c027e120ddf26b006dbe19473e7cd5
link
/test e2e-mixer-no_auth

prow/istio-pilot-multicluster-e2e.sh
5b2f374c81c027e120ddf26b006dbe19473e7cd5
link
/test istio-pilot-multicluster-e2e

prow//e2e-simpleTests-minProfile.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-simpleTestsMinProfile

prow/e2e-dashboard.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-dashboard
/test e2e-bookInfoTests-envoyv2-v1alpha3

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-simpleTestsMinProfile

prow/e2e-dashboard.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/istio-pilot-multicluster-e2e.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai, kyessenov
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

.circleci/OWNERS [hklai]
bin/OWNERS [hklai]
security/OWNERS [hklai]
tests/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test istio-pilot-multicluster-e2e

prow//e2e-simpleTests-minProfile.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test istio-pilot-multicluster-e2e

prow//e2e-simpleTests-minProfile.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-simpleTestsMinProfile

prow/e2e-mixer-no_auth-mcp.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-mixer-no_auth-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test istio-pilot-multicluster-e2e

prow//e2e-simpleTests-minProfile.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-simpleTestsMinProfile

prow/e2e-mixer-no_auth-mcp.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-e2e-envoyv2-v1alpha3-mcp.sh
f78ddd8a8457315244669a26b097d11a0d8668d5
link
/test istio-pilot-e2e-envoyv2-v1alpha3-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Strange behaviour on tab when opening file

I launched Smith (v1.3.0 installed via Cargo on Ubuntu 19.10), and used ctrl+o to get the prompt to open a file. I thought I'd see if i could get path suggestion/completion on pressing tab and instead got a line break inside the prompt, and some strange highlighting behaviour. See attached gif.
I'd expect (if tab isn't going to do completion) either a literal tab to be inserted, or simply nothing to happen.

Alright so this is fixed in 2.0, tab is specifically without effect in the prompt.
I'm keeping your suggestion for file completion of course.


Option 'onevent' given more than once despite been given once

Hi,
Running:
librespot --name name -u xxxx -p xxxx --backend pipe --onevent /music/onevent.sh
Getting error:
Error parsing command line options: Option 'onevent' given more than once
Why?
Nadav

What version? Because with the latest git --onevent /music/onevent.sh works just fine. I would check your args more careful the error message is pretty self explanatory it means that you have specified --onevent more than once.
You can not for example do:
librespot --onevent /music/onevent.sh --onevent /music/onevent2.sh


Ruby 2.2.2 build fail error on macOS 11.1

Hello there! (And, Happy New Year!) I hope I am posting this in the right place! 🙏
I am trying to install Ruby 2.2.2 on macOS 11.1 for a project, but am running into the following error when running:
rbenv install 2.2.2
Error:
Downloading openssl-1.0.2u.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
Installing openssl-1.0.2u...
Installed openssl-1.0.2u to /Users/findum/.rbenv/versions/2.2.2

Downloading ruby-2.2.2.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2
Installing ruby-2.2.2...

WARNING: ruby-2.2.2 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.

ruby-build: using readline from homebrew

BUILD FAILED (macOS 11.1 using ruby-build 20201225)

Inspect or clean up the working tree at /var/folders/x8/g8yqvrh55gq0wds4hny1t94r0000gn/T/ruby-build.20210101111906.42540.uFRvAN
Results logged to /var/folders/x8/g8yqvrh55gq0wds4hny1t94r0000gn/T/ruby-build.20210101111906.42540.log

Last 10 log lines:
compiling ../.././ext/psych/yaml/parser.c
linking shared-object json/ext/parser.bundle
linking shared-object pathname.bundle
installing default psych libraries
linking shared-object json/ext/generator.bundle
linking shared-object bigdecimal.bundle
linking shared-object psych.bundle
linking shared-object nkf.bundle
linking shared-object date_core.bundle
make: *** [build-ext] Error 2

I have tried the workarounds in issue #1353 and have downloaded OpenSSL 1.0 on my system, but still no luck! Has anyone had a similar issue that they were able to resolve? Many thanks 🙏
UPDATE
Solution:
$ CFLAGS="-Wno-error=implicit-function-declaration" rbenv install 2.2.2
https://github.com/rbenv/ruby-build/issues/1489#issue-741155490

Having same issue with 2.3.3.Have you found any workaround yet.

Having same issue with 2.3.3.Have you found any workaround yet.

@rahulpuroht Yes! It seems to have been an issue with XCode 12 (Apple changed the default CFLAGS). This solution worked for me: https://github.com/rbenv/ruby-build/issues/1489#issue-741155490. I hope you have some luck with it!

@rahulpuroht Yes! It seems to have been an issue with XCode 12 (Apple changed the default CFLAGS). This solution worked for me: https://github.com/rbenv/ruby-build/issues/1489#issue-741155490. I hope you have some luck with it!

Having the same problem on Mac M1
And the fix didn't works for me...
also trying using arch -x86_64 /bin/bash -c 'rbenv install 2.3.8'
and RUBY_CFLAGS="-w" arch -x86_64 /bin/bash -c 'rbenv install 2.3.8'
:(

Having the same problem on Mac M1
And the fix didn't works for me...
also trying using arch -x86_64 /bin/bash -c 'rbenv install 2.3.8'
and RUBY_CFLAGS="-w" arch -x86_64 /bin/bash -c 'rbenv install 2.3.8'
:(

Hi there,
Yes - also trying to get Ruby installed on Mac Silicone m1.
What I've found so far...
`Steves-MacBook-Air:~ steve$ arch -x86_64 /bin/bash -c 'CFLAGS="-Wno-error=implicit-function-declaration" rbenv install 2.2.5'
Installing openssl-1.0.2u...
Installed openssl-1.0.2u to /Users/steve/.rbenv/versions/2.2.5
Installing ruby-2.2.5...
WARNING: ruby-2.2.5 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.
ruby-build: using readline from homebrew
BUILD FAILED (macOS 11.1 using ruby-build 20201225)
Inspect or clean up the working tree at /var/folders/4v/zps5vz_n3xjdmvq8pl_lf9780000gn/T/ruby-build.20210116112712.11791.4koc3o
Results logged to /var/folders/4v/zps5vz_n3xjdmvq8pl_lf9780000gn/T/ruby-build.20210116112712.11791.log
Last 10 log lines:
#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX)
^
./ossl_pkey.h:44:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
./ossl_pkey.h:43:103: note: expanded from macro 'HAVE_BN_GENCB'
#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX)
^
3 warnings generated.
3 warnings generated.
linking shared-object openssl.bundle
make: *** [build-ext] Error 2
`
Using:
arch -x86_64 /bin/bash -c
.... has allowed me to get openssl 1.0.2 to install correctly (without this it fails installing ssl)
and I added:
CFLAGS="-Wno-error=implicit-function-declaration"
.... thanks to this post https://github.com/rbenv/ruby-build/issues/1489
But as you see its not working.
My next attempt followed this: https://stackoverflow.com/questions/64029645/rbenv-ruby-build-installs-fail-for-ruby-versions-1-9-3-2-2-0-2-2-5-with-xcod
which suggests installing command line tools v11, and the setting that in Xcode preferences.
However, on downloading the latest CLTs for v11 (11.5) - the installation says it is not compatible with m1 silicon.
Has anyone got older Ruby with rbenv working on m1 yet? Or found any other steps forward?
Many thanks, Steve.

Hi there,
Yes - also trying to get Ruby installed on Mac Silicone m1.
What I've found so far...
`Steves-MacBook-Air:~ steve$ arch -x86_64 /bin/bash -c 'CFLAGS="-Wno-error=implicit-function-declaration" rbenv install 2.2.5'
Installing openssl-1.0.2u...
Installed openssl-1.0.2u to /Users/steve/.rbenv/versions/2.2.5
Installing ruby-2.2.5...
WARNING: ruby-2.2.5 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.
ruby-build: using readline from homebrew
BUILD FAILED (macOS 11.1 using ruby-build 20201225)
Inspect or clean up the working tree at /var/folders/4v/zps5vz_n3xjdmvq8pl_lf9780000gn/T/ruby-build.20210116112712.11791.4koc3o
Results logged to /var/folders/4v/zps5vz_n3xjdmvq8pl_lf9780000gn/T/ruby-build.20210116112712.11791.log
Last 10 log lines:
#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX)
^
./ossl_pkey.h:44:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
./ossl_pkey.h:43:103: note: expanded from macro 'HAVE_BN_GENCB'
#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX)
^
3 warnings generated.
3 warnings generated.
linking shared-object openssl.bundle
make: *** [build-ext] Error 2
`
Using:
arch -x86_64 /bin/bash -c
.... has allowed me to get openssl 1.0.2 to install correctly (without this it fails installing ssl)
and I added:
CFLAGS="-Wno-error=implicit-function-declaration"
.... thanks to this post https://github.com/rbenv/ruby-build/issues/1489
But as you see its not working.
My next attempt followed this: https://stackoverflow.com/questions/64029645/rbenv-ruby-build-installs-fail-for-ruby-versions-1-9-3-2-2-0-2-2-5-with-xcod
which suggests installing command line tools v11, and the setting that in Xcode preferences.
However, on downloading the latest CLTs for v11 (11.5) - the installation says it is not compatible with m1 silicon.
Has anyone got older Ruby with rbenv working on m1 yet? Or found any other steps forward?
Many thanks, Steve.

Has anyone got older Ruby with rbenv working on m1 yet?

There is no way to build the old ruby at M1 macOS with arm arch.

Has anyone got older Ruby with rbenv working on m1 yet?

There is no way to build the old ruby at M1 macOS with arm arch.

Has anyone got older Ruby with rbenv working on m1 yet?

There is no way to build the old ruby at M1 macOS with arm arch.

I'm sure there'll be a way - else there'll be a very upset group of devs not able to work on older ruby versions.

Has anyone got older Ruby with rbenv working on m1 yet?

There is no way to build the old ruby at M1 macOS with arm arch.

I'm sure there'll be a way - else there'll be a very upset group of devs not able to work on older ruby versions.

@stevenjohn Maybe, the old Rubies can work under the Rosseta2 environment. But I have only Apple DTK, I couldn't investigate macOS with M1 chip.

@stevenjohn Maybe, the old Rubies can work under the Rosseta2 environment. But I have only Apple DTK, I couldn't investigate macOS with M1 chip.

Cheers @hsbt - I've tried using
arch -x86_64 /bin/bash -c
as a prefix which I believe uses Rosseta2
By using this I can see my installation went lot further than before - but I think the issue now is with the v12 command line tools, I'm seeing a lot of references to needing to use v11 - but not sure these can be installed on m1.

Cheers @hsbt - I've tried using
arch -x86_64 /bin/bash -c
as a prefix which I believe uses Rosseta2
By using this I can see my installation went lot further than before - but I think the issue now is with the v12 command line tools, I'm seeing a lot of references to needing to use v11 - but not sure these can be installed on m1.

I know that this is a rbenv post. But I want to comment that I was able to install an old Ruby (2.3.8) on my M1 with Big Sur 11.1, running XCode 12.3 with the following commands:
rvm pkg install openssl
export optflags="-Wno-error=implicit-function-declaration"
rvm install ruby-2.3.8 --with-openssl-dir=$HOME/.rvm/usr --rubygems ignore

This install old openSSL as independent dependency (not used for the system)
Change a flag that (I think) was changed on XCode 12
Install  Ruby using the openSSL dependency from RVM (not from the system)

I know that this is a rbenv post. But I want to comment that I was able to install an old Ruby (2.3.8) on my M1 with Big Sur 11.1, running XCode 12.3 with the following commands:
rvm pkg install openssl
export optflags="-Wno-error=implicit-function-declaration"
rvm install ruby-2.3.8 --with-openssl-dir=$HOME/.rvm/usr --rubygems ignore

This install old openSSL as independent dependency (not used for the system)
Change a flag that (I think) was changed on XCode 12
Install  Ruby using the openSSL dependency from RVM (not from the system)

I know that this is a rbenv post. But I want to comment that I was able to install an old Ruby (2.3.8) on my M1 with Big Sur 11.1, running XCode 12.3 with RVM using the following commands:

That's greatly appreciated - I will try it out and report back.

I know that this is a rbenv post. But I want to comment that I was able to install an old Ruby (2.3.8) on my M1 with Big Sur 11.1, running XCode 12.3 with RVM using the following commands:

That's greatly appreciated - I will try it out and report back.

It isn’t exactly the same issue, but I wanted to share that the solution shared by @eveevans which set optflags solved the problem I was having running rbenv install 2.7.1. Setting CFLAGS did not work for me.

It isn’t exactly the same issue, but I wanted to share that the solution shared by @eveevans which set optflags solved the problem I was having running rbenv install 2.7.1. Setting CFLAGS did not work for me.

Thank you @eveevans and @mrmanc the following worked for me:
export optflags="-Wno-error=implicit-function-declaration"
rbenv install 2.1.2

@ThomasKoppensteiner i saw you mentioned you got this working: https://github.com/rbenv/ruby-build/issues/1700#issuecomment-799541819. Were you on M1 Silicon or Intel?
@stevenjohn any luck on your end since: https://github.com/rbenv/ruby-build/issues/1700#issuecomment-761956133?

@bradical I'm using a Intel Core i7.

I know that this is a rbenv post. But I want to comment that I was able to install an old Ruby (2.3.8) on my M1 with Big Sur 11.1, running XCode 12.3 with RVM using the following commands:
rvm pkg install openssl
export optflags="-Wno-error=implicit-function-declaration"
rvm install ruby-2.3.8 --with-openssl-dir=$HOME/.rvm/usr --rubygems ignore

This install old openSSL as independent dependency (not used for the system)
Change a flag that (I think) was changed on XCode 12
Install  Ruby using the openSSL dependency from RVM (not from the system)

thanks a lot, worked for me.

I know that this is a rbenv post. But I want to comment that I was able to install an old Ruby (2.3.8) on my M1 with Big Sur 11.1, running XCode 12.3 with RVM using the following commands:
rvm pkg install openssl
export optflags="-Wno-error=implicit-function-declaration"
rvm install ruby-2.3.8 --with-openssl-dir=$HOME/.rvm/usr --rubygems ignore

This install old openSSL as independent dependency (not used for the system)
Change a flag that (I think) was changed on XCode 12
Install  Ruby using the openSSL dependency from RVM (not from the system)

you are doing this in Rosetta terminal or normal? @eveevans

I got this as an error.
When I look into the log file, I get

I know that this is a rbenv post. But I want to comment that I was able to install an old Ruby (2.3.8) on my M1 with Big Sur 11.1, running XCode 12.3 with RVM using the following commands:
rvm pkg install openssl
export optflags="-Wno-error=implicit-function-declaration"
rvm install ruby-2.3.8 --with-openssl-dir=$HOME/.rvm/usr --rubygems ignore

This install old openSSL as independent dependency (not used for the system)
Change a flag that (I think) was changed on XCode 12
Install  Ruby using the openSSL dependency from RVM (not from the system)

@eveevans I am having issues installing it with openssl. Later when It requires openssl it gives me error saying reinstall using openssl

The following worked for me:
CFLAGS="-Wno-error=implicit-function-declaration" RUBY_CONFIGURE_OPTS='--with-readline-dir=/usr/local/opt/readline/' arch -x86_64 rbenv install 2.2.2

is the bottom line that it's not possible to build 2.2.2 for arm64?

Hi @bradical - the above worked for me with 2.2.2 for arm64. For context, I'm on an M1 Macbook running Big Sur 11.5.2.

But if i'm understanding your code you're actually building for x86 using rosetta, no?
 arch -x86_64

Yes, you're right. It's the only way I could make it work, at least with the older Rubies.

This is interesting. It seems to have gotten pretty far and perhaps is just failing in some final symlinking step due to a badly named file -darwin20-fake.rb?

On Ruby 2.6 I'm seeing RUBY_PLATFORM return -darwin21 instead of arm64-darwin21 -- it's otherwise building successfully with arm64 (after I add RUBY_CFLAGS=-DUSE_FFI_CLOSURE_ALLOC):
$ file $(rbenv which ruby)
[...]/.rbenv/versions/2.6.5/bin/ruby: Mach-O 64-bit executable arm64

But then:
$ ruby -e "puts RUBY_PLATFORM"
-darwin21

So the the "badly named file" (-darwin20-fake.rb) is likely because the architecture is showing up blank somewhere and leads to a platform string like -darwin20. Anyone know how that string gets set and if it can be fixed at build time (or at runtime even)?

Yes, you're right. It's the only way I could make it work, at least with the older Rubies.

@crgc can you confirm the versions of readline and openssl that you have installed and also your macOS version? I'm trying your command https://github.com/rbenv/ruby-build/issues/1700#issuecomment-986584406 but it's not working for me.


Refactor creation of headers

This PR refactors how headers are created.
I found the existing method cause Authorization errors regardless if the dashboard URL was public, or was protected and a token was provided.
// This is the response from an 'open' URL

Error: Not Authorised!: {"response":{"errors":[{"message":"Not Authorised!","locations":[{"line":2,"column":11}],"path  ":["pages"]}],"data":null,"status":500},"request":{"query":"{\n          pages {\n            id\n            title\n            }\n        }"}}

// This is the response from a 'protected' URL with a token provided

TypeError: Cannot read property '1' of null

This proposed change only includes headers keys if their values are provided.

Interesting, I didn't face those issues when using public or private endpoints. It may be something related to the new GraphCMS beta? Or I'm wondering if it's something platform specific? What OS / version are you on?
In any case, code looks fine. I'll do some testing tonight get it merged.

@Redmega These points have been addressed. Let me know if you require anything else. 👍

Deployed as v1.0.0-alpha.3!


Update component-tags.yaml

Drop 2-digit test components
Remove deleted tests
Add new tests
Reorganized tests
Renamed voms to authentication (i.e. merged it with lcmaps) since they're used together
Renamed xcache to stashcache because it looks too much like xrootd

Might be easier to review the individual commits for this one.
I'm considering merging "pbs" and "slurm" (and maybe "htcondor") into "batchsystem" or something.


Import

This is a major refactoring of all the streams, how they interact, how they validate, etc. Any form of initialization was removed and replaced by reactive principles.

Major: complete reworking of internals


⚠ Fetchers has degraded performance

In 6697751, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 286 ms

Resolved: Fetchers performance has improved in fabfddb.


chore: bdd-spring-1584534553 to 0.0.1

chore: Promote bdd-spring-1584534553 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Crash when call twice MVKPhysicalDevice::getPhysicalDeviceMemoryProperties(VkPhysicalDeviceMemoryProperties2* pMemoryProperties)

I want to get GPU memory usage. But the function MVKPhysicalDevice::getPhysicalDeviceMemoryProperties(VkPhysicalDeviceMemoryProperties2* pMemoryProperties) can only called for one time.
My app crashes when call it next time.
This is not reasonable because MoltenVK should let user query memory usage whenever they'd like to. Or could you suggest a more correct way of doing this? I may misuse vkGetPhysicalDeviceMemoryProperties2KHR. But anyways on Linux Desktop it runs fine (I can call it multiple times).

Solved, I must reuse parameters for multiple calls.
Valid usage:
vkGetPhysicalDeviceMemoryProperties2KHR(PhysicalDevice, &MemoryProperties2);
vkGetPhysicalDeviceMemoryProperties2KHR(PhysicalDevice, &MemoryProperties2);

Invalid usage:
vkGetPhysicalDeviceMemoryProperties2KHR(PhysicalDevice, &MemoryProperties2);
vkGetPhysicalDeviceMemoryProperties2KHR(PhysicalDevice, &MemoryProperties2_);
// crash, must use same object pointer like before

JustSid on Vulkan Discord pointed it out that the VkPhysicalDeviceMemoryBudgetPropertiesEXT's pNext should be null to signal the end of chain. I forgot to construct it properly so the pNext got initialized to something random and MVK tries to write to that location.


Problem with Sketch v 54.1 and Sketch measure

Sketch measure 0.16 doesn't work with new Sketch 54.1
What should I do? Thank you

It's not working for me either! I'm totally desperate!!! :(((

Sketch measure 0.16 doesn't work with new Sketch 54.1
What should I do? Thank you

sketch-measure-lates
try this

It's not working for me either! I'm totally desperate!!! :(((

sketch-measure-latest
try this

Sketch measure 0.16 doesn't work with new Sketch 54.1
What should I do? Thank you

sketch-measure-lates
try this

It's work! Thank you alot!

Hi, I downloaded lastest zip.file, I still have  problem with plugin
My version of Sketch is 54.1. Can you help me with it?

Hi, I download latest zip.file, I still have problem with plugin
My version of Sketch is 54.1. Can you help me with it, please?

Follow the steps below:

Uninstall the plugin
Quit Sketch
Follow the steps bellow to remove the PluginsWarehouse folder
Download the latest zip file from the fork
Reinstall the plugin
Test the Mark Properties / Spec Export again

Remove the PluginsWarehouse folder that lives in ~/Library/Application Support/com.bohemiancoding.sketch3/. This is where we cache plugin downloads, and if you’ve been testing different versions of your appcast, you probably have some old stuff there that’s worth cleaning.

Go to the Finder of Mac OS
From the “Go” menu navigate down to “Go to Folder” or...
Hit Command+Shift+G from the Mac OS X desktop or a Finder window
Paste the folder location ~/Library/Application Support/com.bohemiancoding.sketch3/
Remove/Delete the PluginsWarehouse folder

Hi, I download latest zip.file, I still have problem with plugin
My version of Sketch is 54.1. Can you help me with it, please?

Follow the steps below:
1. Uninstall the plugin

2. Quit Sketch

3. Follow the steps bellow to remove the PluginsWarehouse folder

4. [Download the latest zip file from the fork](https://github.com/ellunium/sketch-measure-latest/archive/master.zip)

5. Reinstall the plugin

6. Test the Mark Properties / Spec Export again

Remove the PluginsWarehouse folder that lives in ~/Library/Application Support/com.bohemiancoding.sketch3/. This is where we cache plugin downloads, and if you’ve been testing different versions of your appcast, you probably have some old stuff there that’s worth cleaning.

1. Go to the Finder of Mac OS

2. From the “Go” menu navigate down to “Go to Folder” or...

3. Hit Command+Shift+G from the Mac OS X desktop or a Finder window

4. Paste the folder location ~/Library/Application Support/com.bohemiancoding.sketch3/

5. Remove/Delete the PluginsWarehouse folder

I have tried this, but I still have a problem. Also I did not find a PluginsWarehouse folder


broken link to issues and documentation

System Health details
System Information

version
core-2024.9.2

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.31-haos-raspi

arch
aarch64

timezone
Europe/Amsterdam

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
5000

Installed Version
2.0.1

Stage
running

Available Repositories
1411

Downloaded Repositories
31

Home Assistant Cloud

logged_in
true

subscription_expiration
September 22, 2024, 2:00 AM

relayer_connected
true

relayer_region
eu-central-1

remote_enabled
true

remote_connected
true

alexa_enabled
false

google_enabled
false

remote_server
eu-central-1-10.ui.nabu.casa

certificate_status
ready

instance_id
b97ee5197eb040348268e734e9f8c589

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.1

update_channel
stable

supervisor_version
supervisor-2024.09.1

agent_version
1.6.0

docker_version
26.1.4

disk_total
219.4 GB

disk_used
51.9 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization

board
rpi4-64

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.8.0), Samba share (12.3.2), Mosquitto broker (6.4.1), Terminal & SSH (9.14.0), MariaDB (2.7.1), phpMyAdmin (0.9.1), Zigbee2MQTT (1.40.1-1), ESPHome (2024.8.1), AdGuard Home (5.1.2), Home Assistant Google Drive Backup (0.112.1), Studio Code Server (5.15.0), FTP (5.1.0)

Dashboards

dashboards
2

resources
18

views
14

mode
storage

Recorder

oldest_recorder_run
September 10, 2024, 11:02 AM

current_recorder_run
September 18, 2024, 2:10 PM

estimated_db_size
1695.16 MiB

database_engine
mysql

database_version
10.11.6

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
When clicking on issues or documentation, a end up in the Github 404 page. I guess due to a typo in the link (- instead of _)

malfunctioning link: https://github.com/cyberjunky/home-assistant_shell_recharge/issues
correct link: https://github.com/cyberjunky/home-assistant-shell_recharge
Reproduction steps

click on issues
click on documentation

...
Debug logs
N/A

Diagnostics dump
N/A

Fixed in version 0.1.10, thank you for reporting!


As a user I want to access editor for different material types so that I can use specific features for my content

As a user I want to access editor for different material types so that I can use specific features for my content
Description
To create material (post) on the application user should fill in Creation Page.
There is a business rule, which demands different formatting available for different material types. Rules of uploading images and videos also depend on material type.
Preconditions

Registered User is logged in
Registered User has Active status
User pressed Create button in the header

Acceptance Criteria
1. General features of creation page

Feature
Role
Article (стаття)
Note (допис)
Video (відео)

Material title
every role
+
+
+

Topics (directions)
every role
1-3
1-3
1-3

field "Текст картки матеріалу"
every role
+
+
+

Material card preview
every role
+
+
+

Tags
-
-
-
-

2. Features for the text formatting

Feature
Draft
Link
Role
Article (стаття)
Note (допис)
Video (відео)

Style "Підзаголовок 1"

link
every role
+
-
-

Style "Підзаголовок 2"

link
every role
+
+
+

Style "Для вступу"

link
every role
+
+
+

Style "Для приміток"

link
every role
+
+
+

Bold

every role
+
+
+

Italic

link
every role
+
+
+

Underlined

every role
+
+
+

Numbered list

every role
+
+
+

Not-numbered list (bullets)

link
every role
+
+
+

Lower index

every role
+
+
+

Upper index

link
every role
+
+
+

Quote

link
every role
+
+
+

Link

link
every role
+
+
+

Text color

-
-
-
-

Text alingment (right\left\centered)

-
-
-
-

Іndents

-
-
-
-

Strikethrough

-
-
-
-

3. Features for uploading

Feature
Role
Article (стаття)
Note (допис)
Video (відео)

Image into the Material (from file system)
every role
+
+
-

Image into the Material (via link)
every role
+
+
-

Image caption
every role
+
-
-

Card Image (from file system)
admin
+
+
+

Card Image (via link)
admin
+
+
+

Video into the Material (via Youtube link)
every role
-
-
+

Video into the Material (from file system)
-
-
-
-

4. Validation for uploading an image into the Material: width=855 px
5.  Out of scope/Features for the next release

Design of the Creation Page and Editor
Symbol limits for text fields (min&max quantity)
Uploading video from file system
Tags may be added
Text colour may be added

Used in US: #122, #123, #124, #129

Тех таски

BA check 18/07/21
Not accepted.
Uploading photo doesn’t work properly when you click to upload an image into the Material (from file system).

BA check 20/07/21
Not accepted.
Card Image (from file system) and Card Image (via link) for admin are not implemented correctly.


Talwrii  issue 35  simulator refactor

This implements various parts of #35.  Specifically it

Replaces meta:// with sim://limit
Removes quite a lot of duplicated code
Adds tests

What exactly we want to do in the #35 is still kind of amorphous, so it doesn't quite close this issue. This seems a large enough change that it wants to get merged however.

We should remove the enum:// prefix in favour of sim://enum.

Also there are some meta:// PVs hanging around that we should clean up. I'd like to get this merged soon though.

Thinking about it, there are two enum PVs here. The readonly one can be sim://enum. The writeable one should be loc://xxx<VEnum>(0, "zero", "one", "two").


More rustic error handling

This PR proposes to use result types in syscalls for an improved error handling.
Advantages:

Returning results is the idiomatic way to deal with errors in Rust libraries
Good early return (try! or ?) and combinators (e.g. map_err) support
In contrast to panics or silent failure, result types communicate clearly why an when an error occurred

Drawbacks:

It can lead to a lot of unwrap() code
Error handling via return types might require additional machine code instructions (although I think the effect is negligible)

What is your opinion?
Should we use result types for every syscall?
Do error types work in an embedded context or should we prefer to ignore errors in order to save machine code instructions?
PS: The migration to results is not complete. The final goal would be to get rid of all unwrap() in the src folder.

This is good, but I don't understand why you have to use more unwrap()? Can you elaborate a little bit more?
Ideally, is would be awesome to use the Error trait in combination with the From trait to combine different errors and return all of these back to main where these could be handled. But, I don't know if it's possible to use Error trait is available in this context?
Obviously, I'm in favour of using Result but I haven't checked to overhead but it is supposed to zero-cost? :grinning:

@niklasad1
If we take this transition seriously, almost all functions (including, for example, read on a GPIO port or sleep) will return a Result that has to be dealt with. Otherwise, the compiler will complain about an unused Result.
To consume the Result we can either use unwrap or the early return operator ?. For the latter case, all errors of a function must be convertible to a common type. We could achieve this by implementing From<MyCommonErrorType> for all error types.
To me, the big question is what this common error type should look like. I see three options:

A complex enum type containing full information about the error. The bad thing is that this type would need to know all drivers and their errors.

A simple error type with only basic error information.

A trait object like std::error::Error. The problem with trait objects is that they need to be put into a boxed form to be ergonomic. Boxes, however, require a heap which I consider an optional feature in an embedded context. Also, I believe that the Error trait is not available in core.

The second option looks promising to me. Although, it provides only basic information in the early-return scenario, the library user can always choose to handle each Result individually to retrieve the full error information.
Regarding zero-cost: Creating a Result and applying ? at least requires checking for an error condition and possibly invoking a destructor before returning early. This is definitely more work that just ignoring a failure :wink: and probably a little more than error checking and aborting. Still, I believe this overhead is unnoticeable.

I would propose to create a common tock error type. Currently, we have almost no errors which happen in the library but which are not caused by unsuccessful system calls. Moreover, we have no way of handling such errors at the moment as there is often no generic way of treating such an error (e.g.: "temperature driver is not available").
So we should create a syscall-error-type SyscallError containing:

the type of failed syscall (allow, command, subscribe)
the driver number
the arguments of the syscall
the result

Optionally, we could create an error type for internal errors. But at the moment I don't see the need for this.
One could create an algebraic data type TockError made of the internal error/syscall error.
The user of libtock would then implement her own error type and implement the From trait for TockError.
As code:
enum Syscall {
    Allow,
    Subscribe,
    Memop,
    Command,
}

struct SyscallError {
    syscall: Syscall,
    driver: usize,
    arg1: isize,
    arg2: isize,
    return_value: isize,
}

enum InternalError {
    OutOfMemory,
    BleParseError,
}

enum TockError {
    InternalError,
    SyscallError,
}

Any thoughts?

@torfmaster Good comment. Could you add your ideas to the design document?

From the discussion above, it looks like this has gone in another direction targeting some more principled Tock-specific errors, and this PR has stagnated.
If this is still in progress or I've misread the above, please feel free to re-open.


Fix Unsynchronization for v2.2 Headers

Another thing I encountered in my collection were some files which has a utf8-decoding error. This took a bit longer to debug, because it was thrown in the piece of code parsing the header frames. It turned out, that it was parsing the frame size of id3v2.2 frames wrongly and applied unsynchronization in a way not intended by the standard (only the tag size field has to be un-unsynchronized, not the frame-size fields)
This commit intends to fix this for id3v2.2 decoding and encoding.
Details of the changes are described in the commit message.

I stripped the id3 tag and added it as an example, it covers quite a bit: it has differently encoded text frames, a picture and a bit of padding added
(I also noticed that the tag-size written/encoded by rust-id3 is without padding and not with padding, as described in the standard. The decoder also somewhat expects padding within the tag-size... but that's probably something for another PR)

Thanks! It's about time we got a unit test for ID3v2.2. :)
What tool did you used to generate such a tag if I may ask?

I don't remember... I usually use MP3Tag but I assume that if I used that it would have used ID3v2.3 or 2.4


Azure OpenAI test management update

The primary goal of this PR is to enact a small set of functional changes to the tests for Azure OpenAI to facilitate maintenance by my team. We now have an appropriately configured service principal and subscription for the test framework to interact with, and the code in this branch works seamlessly against it for recording -- all tests have fresh recording documents to take the first opportunity for that.
Structural/naming changes were made in the course of me learning how things were working and -- I hope -- help make it a bit more self-documenting for future readers as clueless as I was. Feedback greatly welcomed and appreciated!

API change check
API changes are not detected in this pull request.


API Documentation tab at the top of website

Only "API" is hyperlinked, not the rest of the text

It works for me, I have this API Documentation
@donieosullivan which browser are you using?

It's broken for me in Chrome @giannileggio

Chrome - still broken for me
On Thu, Nov 26, 2015 at 12:19 PM, John Hope<EMAIL_ADDRESS>wrote:

It's broken for me in Chrome @giannileggio
https://github.com/giannileggio
—
Reply to this email directly or view it on GitHub
https://github.com/storyful/irish-elections/issues/4#issuecomment-159899299
.

--
Donie O'Sullivan
Journalist | Storyful
+353 1 537 0296 tel
+353 87 133 2278 mobile
<EMAIL_ADDRESS>@donie http://twitter.com/donie
--
HQ - Ferry House, 48 Lower Mount Street, Dublin 2, Ireland
NYC - 1185 Avenue of the Americas, 23rd Floor, New York, NY 10036, USA
Hong Kong - Level 25, Central Plaza, 18 Harbour Road, Wan Chai, Hong Kong
SAR
Sydney - Level 4, 2 Holt Street, Surry Hills, NSW 2010, Australia
Storyful powers great storytelling
https://www.youtube.com/watch?v=zKOz574TLnU
This e-mail and any attachments are confidential, may be legally privileged
and are the property of Storyful Limited on whose systems they were
generated. Storyful Limited is registered in Ireland under number 478477,
has its registered office at Ferry House, 48 Lower Mount Street, Dublin 2,
Ireland. If you have received this e-mail in error, please notify the
sender immediately and do not use, distribute, store or copy it in any way.
Statements or opinions in this e-mail or any attachment are those of the
author and are not necessarily agreed or authorised by Storyful Limited.
Storyful Limited may monitor outgoing or incoming emails as permitted by
law. It accepts no liability for viruses introduced by this e-mail or
attachments.

It's the 'fork me on github' ribbon blocking clicks.

Now I can replicate it, it happens on small resolutions. We could play a bit with z-index

Fixed by https://github.com/storyful/irish-elections/pull/9.


Typo in glTF Loader

<EMAIL_ADDRESS>"metallic" is correct, not "metalic".

Fixed with last commit.


Refactor versioning specs

Call out that the versioning the GDI components should by also idiomatic to their language; examples:

Python: https://packaging.python.org/en/latest/discussions/versioning/ (e.g. in SemVer it should be v1.2.0-rc.1 and not `1.2.0rc1)
Go: https://go.dev/doc/modules/version-numbers (v prefix is not really SemVer compliant)

Separate the GDI specification versioning doc (README.md) from the GDI component versioning requirements (VERSIONING.md).
Fixes https://github.com/signalfx/gdi-specification/issues/327

@pmcollins PTAL


Duplicated in dev mode console warnings

Right now there is two dev mode warnings:

I suppose it would make sense to narrow it down to one, right?

These are two separate libraries that don't import each other

Yeah, but as a "Lit user" I just import:
import { LitElement, html } from 'lit';

And get the two warnings.


#46 add release instructions

This last time I went through the SDK components(and rest-server-api-client-ng) I went ahead and documented my workflow. Going through the steps I realized it would be beneficial to record the workflow I follow for a release of the public packages.
#46

Issue number: #46


Running on GPU

Hi, I am trying to fine tune this model with 2 GPU cards. (I have set use_tpu = false) I noticed that the GPU’s memories are filled ups. However, the utilization of both GPUs is 0%. Also, the consoles are not logging any output from training.
May I check if it’s possible to  train the model with GPU? How should I go about training with GPU?
Lastly, does anyone have experience running this on GPU? How’s the speed performance like?
Thanks to everyone in advance! :)

sorry for taking forever to get to this --- You can generate text with any sized model on GPU. it should be possible to finetune at least Grover-Base on GPU. However, I never needed to do that for my experiments so I'm not supporting that right now in this repo, sorry!
I'm not sure what's going on in your case though. I've also found that it's difficult to use multiple GPUs on tensorflow :(


PubSub : add source projectId, topic and subscription to PubsubMessage

Some use cases require that source (projectId, topic and subscription) of a PubsubMessage ... yet the message doesn't have this information.
Added this should at the server shouldn't cause any issues as it's adding data to the message.

@dhoard-papajohns Application already has this information about projectId, topic and subscription. It can wrap the incoming PubsubMessage with this information rather than adding to PubsubMessage which is proto object, even if we add to PubsubMessage then this same information would be transferred over wire which is not efficient. So it makes sense for application to wrap PubSubMessage with other information in to object of their choice.

@ajaaym please close.  I agree, we do not want to change the proto object because of performance issues.
It's unfortunate that PubsubMessage is a proto object and wasn't abstracted / wrapped by another interface / object paradigm.


Impossible to skip wireit cache

I have tried the following invocations, following details in the Wireit readme...
export CI=true &&  export WIREIT_CACHE=none && npm exec run-s check lint test build

CI=true WIREIT_CACHE=none npm exec run-s check lint test build

They both result in the following which visibly uses the cache, making it almost impossible to work with wireit. A workaround is to hunt down every .wireit folder and remove it whenever you wish to prove npm tasks for real.
><EMAIL_ADDRESS>check
> wireit

✅ [check] Already fresh

><EMAIL_ADDRESS>lint
> wireit

✅ [lint] Already fresh

><EMAIL_ADDRESS>test
> wireit

✅ [test] Already fresh

><EMAIL_ADDRESS>build
> wireit

✅ [../queue:build] Already fresh
✅ [../store:build] Already fresh
✅ [build] Already fresh

why is this not getting any more attention?

I ran into the same Issue,
caching does not work correctly so I need to disable it.
You can test it by changing a file, add some characters, save it. Wireit will run.
Then undo the changes, save it again and Wireit will not trigger a new run.
Everytime it detects a version of the file which has been run in the past it will not run again if we go back to this version of the file leaving us with an old build


Swagger @ApiParam not working for QueryParam

Hi
I am using swagger @ApiParam annotation for JAX-RS Query Param.
But Query Params are not recognized in Swagger UI.In Swagger UI all the Query Params are coming as body parameters. We have an interface and implementation class for our REST API's. If i remove interface class its working...Ideally interface should nt create any problem.....Any help would be appreciated.

Please share more details if you're still having an issue.

Yes, this issue still exists.
Query Params are not recognized in Swagger UI.
The QueryParams are coming as body.
Using ApiParam also doesn't get it fixed.


Parsing error: Unexpected character '@'

Hi, I'm using webpack, babel-loader and the following webpack.config.js
...
module: {
        preLoaders: [{
            test: /\.js$/,
            loader: "eslint?fix=true&configFile=.eslintrc.webpack.json",
            exclude: /(node_modules|bower_components)/
        }],
        loaders: [{
            test: /\.jsx?$/,
            exclude: /(node_modules|bower_components)/,
            loader: 'babel', // 'babel-loader' is also a legal name to reference
            query: {
                presets: [
                    'es2015',
                    'react',
                    'stage-0'
                ],
                plugins: [
                    'lodash',
                    'transform-decorators-legacy',
                    'export-default-module-exports',
                    ['transform-es2015-modules-commonjs-simple', {
                        noMangle: true
                    }]
                ],
                compact: false,
                sourceMaps: true
            }
        },
...

I have no .babelrc.
However, when I run webpack, it complains about the @ syntax.
Reproducable with the following file:

// Vendors
const React = require('react');
import autobind from 'autobind-decorator'

@autobind
class AccountSettingsInputContainer extends React.Component {

}
export default AccountSettingsInputContainer;

Package.json includes:
"autobind-decorator": "^1.3.3",
    "autoprefixer": "^6.3.6",
    "babel-cli": "^6.10.1",
    "babel-core": "^6.9.0",
    "babel-loader": "^6.2.4",
    "babel-plugin-autobind-class-methods": "^1.0.4",
    "babel-plugin-export-default-module-exports": "^0.0.4",
    "babel-plugin-lodash": "^3.2.0",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-plugin-transform-es2015-modules-commonjs-simple": "^6.7.4",
    "babel-polyfill": "^6.9.0",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-react": "^6.5.0",
    "babel-preset-stage-0": "^6.5.0",

I thought stage-0 was supposed to give me the ability to write:
class ClassName extends Other {
    boundMethod = () => {
        // ...
    }
}

But I can't do that, either. Wondering if it just isn't something in my config. Anyone notice anything odd?

Hello, run npm install babel-eslint --save-dev and add this setting to your package.json
 "standard": {     "parser": "babel-eslint"   },
reference: http://standardjs.com/#can-i-use-a-custom-js-parser-for-bleeding-edge-es6-or-es7-support

what the hell, this is so random
but it works. Thank you so much @lehcosta


Restricting email notifications (GitHub)

TL;DR
When user use one account for personal and work duties, some actions potentially leak information (for example in PR notification).
Using one account is recommended by GH https://docs.github.com/en/get-started/learning-about-github/types-of-github-accounts#personal-accounts
Organisations can protect themselves by restricting email notifications<EMAIL_ADDRESS>Detailed design
No response
Additional information
No response

Hey :) Thank you for your suggestion.
I added this policy on the enterprise level, as can be seen in this PR: https://github.com/Legit-Labs/legitify/pull/294
Any input would be much appreciated before it is merged.


The height of y axis is not significantly visible based on the value

Hi,
Why is the value 1076.36 being so high still looking flat in the counter event representation? IS there a way we can specify the limit of y-axis? Cause visually the line looks completely flat but has a huge value change and we cant see that until we hover at that point.

Thanks

We now have a bunch of options to expand counter tracks and also change the mode which should make any changes make obvious.


[JN-1085] Report code cov to sonar [wip]

DESCRIPTION (include screenshots, and mobile screenshots for participant UX)
TO TEST:  (simple manual steps for confirming core behavior -- used for pre-release checks)

@devonbush unfortunately it doesn't work yet- the Sonar step isn't able to find the test coverage reports. Likely needs a few more quick iterations before it's good to go. Sonar reports coverage for branches so we can test this without actually merging to development


Fix #213: Enable responsive autosave for user

This change includes both ui and backend change.
I also added some unit test for LearnerViewDirective (See LearnerViewDirectiveSpec)

PTAL

PTAL

PTAL

This looks good from a UX perspective (responds and saves as I would expect). Deferring to Eric for coding/logic OK.

@rabidbit Thank you, John!

PTAL


Add gitter link and usage instructions using create-proton-app cli

didn't notice someone already added the gitter link lol

I already added gitter. create-proton-app works well. Thanks!


Reservations RP 2018-06-01: Add CosmosDb in reserved resource type enum.

Add name property in PatchProperties
Reservations RP 2018-06-01: Add CosmosDb type in Reserved resource type enum. Add name property in PatchProperties

Description

Add "CosmosDb" in the reservedResourceType enum
Add "name" property in the PatchProperties
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] Please add REST spec PR link to the SDK PR
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

Done. :)

@dsgouda Hi Deepak! I checked it is not published yet. Can I know when it can be published? https://www.nuget.org/packages/Microsoft.Azure.Management.Reservations Thanks!


Make searchsorted a primitive

Re-visiting of #9108 with a slightly smaller scope.
This change adds a new primitive jax.lax.searchsorted_p, as well as a new function jax.lax.searchsorted() that provides the implementation for the existing jax.numpy.searchsorted. The primitive is slightly more complicated than jax.numpy.searchsorted in that it handles an arbitrary number of leading batch dimensions, and an arbitrary search axis for multi-dimensional inputs. Importantly, these additions make it closed under batching (that is, vmap(searchsorted) is always equivalent to a single call to searchsorted).
My reasoning for this proposal is that binary search is a reasonably common operation that cannot be straightforwardly expressed in terms of existing primitive operations (we currently have three implementations available that users can choose from), and so it makes sense to be treating searchsorted as a distinct operation.
There are a few benefits to this:

jaxprs using searchsorted are much clearer
Because the primitive is closed under batching, the batching rule for searchsorted is now trivial, where previously the implementation had to be traced op-by-op by the BatchTracer.
Because searchsorted returns an integer index, the autodiff rule for searchsorted is trivial, where previously the implementation had to be traced op-by-op by the JVPTracer.
this would pave the way for various backends to use more efficient searchsorted implementations rather than being beholden to the particular implementation in jax.numpy.

Here's an example of a jaxpr with this PR:
In [1]: import jax
   ...: import jax.numpy as jnp
   ...: x = jnp.arange(10)
   ...: y = jnp.array([2, 4, 7])
   ...: jax.make_jaxpr(jnp.searchsorted)(x, y)
Out[1]:
{ lambda ; a:i32[10] b:i32[3]. let
    c:i32[3] = searchsorted[batch_dims=0 dimension=0 method=default side=left] a b
  in (c,) }

And here's the same thing on the main branch:
In [1]: import jax
   ...: import jax.numpy as jnp
   ...: x = jnp.arange(10)
   ...: y = jnp.array([2, 4, 7])
   ...: jax.make_jaxpr(jnp.searchsorted)(x, y)
Out[1]:
{ lambda ; a:i32[10] b:i32[3]. let
    c:i32[3] = pjit[
      jaxpr={ lambda ; d:i32[10] e:i32[3]. let
          f:i32[3] = broadcast_in_dim[broadcast_dimensions=() shape=(3,)] 0
          g:i32[3] = broadcast_in_dim[broadcast_dimensions=() shape=(3,)] 10
          _:i32[] _:i32[3] h:i32[3] = scan[
            jaxpr={ lambda ; i:i32[10] j:i32[3] k:i32[] l:i32[3] m:i32[3]. let
                n:i32[] = add k 1
                o:i32[3] = add l m
                p:i32[3] = pjit[
                  jaxpr={ lambda ; q:i32[3] r:i32[]. let
                      s:i32[] = convert_element_type[
                        new_dtype=int32
                        weak_type=False
                      ] r
                      t:i32[3] = div q s
                      u:i32[3] = sign q
                      v:i32[] = sign s
                      w:bool[3] = ne u v
                      x:i32[3] = rem q s
                      y:bool[3] = ne x 0
                      z:bool[3] = and w y
                      ba:i32[3] = sub t 1
                      bb:i32[3] = pjit[
                        jaxpr={ lambda ; bc:bool[3] bd:i32[3] be:i32[3]. let
                            bf:i32[3] = select_n bc be bd
                          in (bf,) }
                        name=_where
                      ] z ba t
                    in (bb,) }
                  name=floor_divide
                ] o 2
                bg:bool[3] = lt p 0
                bh:i32[3] = add p 10
                bi:i32[3] = select_n bg p bh
                bj:i32[3,1] = broadcast_in_dim[
                  broadcast_dimensions=(0,)
                  shape=(3, 1)
                ] bi
                bk:i32[3,1] = gather[
                  dimension_numbers=GatherDimensionNumbers(offset_dims=(1,), collapsed_slice_dims=(), start_index_map=(0,))
                  fill_value=None
                  indices_are_sorted=False
                  mode=GatherScatterMode.PROMISE_IN_BOUNDS
                  slice_sizes=(1,)
                  unique_indices=False
                ] i bj
                bl:i32[3] = squeeze[dimensions=(1,)] bk
                bm:bool[3] = le j bl
                bn:i32[3] = pjit[
                  jaxpr={ lambda ; bc:bool[3] bd:i32[3] be:i32[3]. let
                      bf:i32[3] = select_n bc be bd
                    in (bf,) }
                  name=_where
                ] bm l p
                bo:i32[3] = pjit[
                  jaxpr={ lambda ; bc:bool[3] bd:i32[3] be:i32[3]. let
                      bf:i32[3] = select_n bc be bd
                    in (bf,) }
                  name=_where
                ] bm p m
              in (n, bn, bo) }
            length=4
            linear=(False, False, False, False, False)
            num_carry=3
            num_consts=2
            reverse=False
            unroll=1
          ] d e 0 f g
        in (h,) }
      name=searchsorted
    ] a b
  in (c,) }

Closing, as there's not much appetite for adding primitives without an associated XLA/HLO lowering.


chore(release): v0.10.11 🎉

:robot: I have created a release beep boop
0.10.11 (2023-05-22)
Bug Fixes

readme: update readme (15ae0ac)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/declapract/releases/tag/v0.10.11 :sunflower:


Can't change vite output dir

Qwik Version
0.0.21
Operating System (or Browser)
Node
Node Version (if applicable)
16.15.0
Which component is affected?
Qwik Rollup / Vite plugin
Expected Behaviour
I ran npm init qwik@latest, and I selected the qwik-city starter (but I don't think it matters), then I changed my vite config to modify the output folder, expecting it to change the output directory when running npm run build
vite.config.js
import { defineConfig } from 'vite';
import { qwikVite } from<EMAIL_ADDRESS>import { qwikCity } from<EMAIL_ADDRESS>import { resolve } from 'path';
/* VITE_IMPORTS */

export default defineConfig(() => {
  const pagesDir = resolve('pages');

  return {
    /* VITE_CONFIG */
    build: {
      outDir: '../resources/' // This is ignored
    },
    plugins: [
      qwikCity({
        pagesDir,
        layouts: {
          default: resolve('src', 'layouts', 'default', 'default.tsx'),
        },
      }),
      qwikVite(/* VITE_QWIK */),
      /* VITE_PLUGINS */
    ],
  };
});

Actual Behaviour
I expected it to output to the "../resources" dir, but instead it puts everything in the "dist" folder
Additional Information
No response

+1 this would be absolutely necessary for our pipeline

We can set the output of the build in the qwikVite() options like this:
import { defineConfig } from "vite";
import { qwikVite } from<EMAIL_ADDRESS>import { qwikCity } from<EMAIL_ADDRESS>import tsconfigPaths from "vite-tsconfig-paths";

export default defineConfig(() => {
  return {
    ssr: { target: "webworker", noExternal: true },
    plugins: [
      qwikCity(),
      qwikVite({
        client: {
          outDir: "resources/", // This is ignored
        },
      }),
      tsconfigPaths(),
    ],
  };
});

It will make the output to the resources folder like this:

Thanks for reporting the issue and thanks @ImBIOS for writing the docs 💪
Closed with https://github.com/BuilderIO/qwik/pull/943


Allow service account to be set for Telegraf-DS

This is the same change from #92 applied to the telegraf-ds chart.
Fixes #105

Here only is applied serviceaccount call in chart... but the complete serviceaccount creation where is it?
Only use a call to serviceaccount in yaml deployment is not sufficient, and documentation chart not include any of that.
I refer to ClusterRole , ClusterRolebinding etc... like this
apiVersion: v1
kind: ServiceAccount
metadata:
  name: telegraf-reader
  namespace: default
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: telegraf-cluster-reader
  labels:
    rbac.authorization.k8s.io/aggregate-view-telegraf: "true"
    rbac.authorization.k8s.io/aggregate-view-telegraf-stats: "true"
rules:
  - nonResourceURLs: ["/stats", "/stats/*"]
    verbs: ["get", "watch", "list"]
  - apiGroups: [""]
    resources: ["persistentvolumes", "nodes", "pods", "deployments", "statefulsets", "nodes/proxy"]
    verbs: ["get", "watch", "list"]
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: telegraf-reader-role
aggregationRule:
  clusterRoleSelectors:
    - matchLabels:
        rbac.authorization.k8s.io/aggregate-view-telegraf-stats: "true"
    - matchLabels:
        rbac.authorization.k8s.io/aggregate-view-telegraf: "true"
    - matchLabels:
        rbac.authorization.k8s.io/aggregate-to-view: "true"
rules: [] # Rules are automatically filled in by the controller manager.
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: telegraf-reader-rolebinding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: telegraf-reader-role
subjects:
  - kind: ServiceAccount
    name: telegraf-reader
    namespace: default

I am using this config with kube_inventory plugin is fine, but with kubernetes input not working... I think is related with rbac definitions or maybe kubernetes plugin problem.
I comment this in issues/6959#

An example of role definitions. If were possible to
standardize a complete definition on template charts incluying that, for the almost kubernetes plugins.. or indicating in values.yaml how to add rules , verbs to rolebindings, this would complete the installation chart for kubernetes monitoring.

@jmorcar have a look at https://github.com/influxdata/helm-charts/tree/master/charts/telegraf-ds
This repo (tick-charts) is replaced by helm-charts one and we fixed the daemonset deployment


[minor/fix] Running commitcheck issue #127

Closes #127
P.S: This PR made me realize some cleanup is required in this repository, will do that tomorrow! :smile:

Failing properly, failed example: https://travis-ci.org/github/openwisp/openwisp-utils/jobs/716350788

Coverage increased (+0.004%) to 99.471% when pulling d2c5bcf3e3c99c749e5883c5676888801f6a0e01 on atb00ker:issues/127-commit-check into a8f43e07975e941186efcb860674cee1e8829d51 on openwisp:master.

Can at least make sure that when we are on travis it doesn't run always but only runs in pull requests?

Done! :smile:

I have one doubt though, shouldn't travis now run this check, also in the build of this PR?

Yes it should, upon investigation, I realized travis is still using bash 4; so I have used bash 4 syntax that works for both bash 4 and bash 5.


temporarily disable selenium tests

We were looking at https://github.com/PolymerLabs/arcs/pull/1944 but it's showing Travis failures. Disabling in interim to unblock updates of arcs-live seems reasonable.


The page provides instruction on how to set up a resource but then leads nowhere useful. How is  the resource used? How are the keys actually used? How is the cognitive resource accessed from within the app I am writing? Where are the code samples? What is the next step? Etc, etc.

The page provides instruction on how to set up a resource but then leads nowhere useful. How is the resource used? How are the keys actually used? How is the cognitive resource accessed from within the app I am writing? Where are the code samples? What is the next step? Etc, etc.

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

ID: 7e866571-0651-bddb-f012-bf3bfe16f179
Version Independent ID: 27429467-3c37-27da-b839-065268c6af23
Content: Create a Cognitive Services resource in the Azure portal - Azure Cognitive Services
Content Source: articles/cognitive-services/cognitive-services-apis-create-account.md
Service: cognitive-services
GitHub Login: @aahill
Microsoft Alias: aahi

@ArcU8
Thanks for your feedback! We will investigate and update as appropriate.

@aahill
could you please review this, Add your comment and update as appropriate.

@ArcU8
I've delegated this to @aahill, a content author, to review and share their valuable insights.

Thanks for this feedback - I'll update the article to have some information on finding next steps after resource creation, and additional links.
#please-close


Carousel slide animation!

Wondering if its a good practice to animate all items in a slider / carousel when its outside of viewport. Especially those items / slides which are outside of viewport.

Can anyone clarify my understanding here?

The cost is basically memory - when you have a images per slides etc - even when they're offscreen, they're still uncompressed in RAM, which could be heavy.
CPU - if you have few slides, then the re-rendering cost might not be too bad, but you should keep an eye.
thus, rendering all items definitely makes for a simpler programming model, but comes with a price.

The new gallery is a simplified version of what I had before. If you dig into past releases you'll see that there was the beginning of TransitionMotion to test some unloading + loading new images logic. I reverted back to using Motion for clarity of demo.
But yes, if it's a gallery with hundred of pictures instead of a demo, you should probably write something more sophisticated =).
Here's the old code. Hope that helps!

Thanks @threepointone & @chenglou for the explanation.

Trying to prepare an infinite scroll of images. Loading n images at a time. Thought of having 3 states for images. So, i don't need to scroll all images at a time, rather i can animate two images. One to slideIn other to slideOut. Hope this might help, not hit the performance budget.

if you want slideIn/Out animation then TransitionMotion should do the job. Just pass the array of 3 items styles normally, and specify the willEnter/Leave functions.

Thanks for the pointer, i will try using TransitionMotion.


n8n: fix build

Description of changes
https://github.com/NixOS/nixpkgs/pull/301508#issuecomment-2074947953

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Blegh. I just realized it's way out of date, too. I can try updating it instead?

Blegh. I just realized it's way out of date, too. I can try updating it instead?

I tried but the amount of new dependencies (mostly langchain-community) is overwhelming. Particularly, langchain-community has about 80 dependencies out of date, including faiss-node which uses a very ad-hoc mechanism to download binary blobs on npm post-install...

@longregen does this PR fixes n8n for you?

It does! Added it as an overlay.


Bad generation of ID in Post pages

In the files:

post.html
lastest-post.html
, the line:

<section id="{{ page.title }}" class="container content-section text-center">

generate a not correctly id in the HTML element. This like losing semantic for search engines and is an error.
The ID format for HTML element with more of one word is (For convention in lowercase): word1-word2-word3
Image with the actual result:

Must be applied the same process that when is generate the ID in the Markdown high level title (removing special chars):

Great catch! :wink: :+1:

Is fixed in my pull request #56.

I noticed it, I will continue the PL tonight or tomorrow :smile:

I finished my contribution for now. :smille:


Initialize Reconciler with Previously Seen Addresses

Fixes # .
Motivation

Solution

Open questions

Pull Request Test Coverage Report for Build 1177

42 of 69 (60.87%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 66.464%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

reconciler/reconciler.go
14
41
34.15%

Totals

Change from base Build 1151:
0.2%

Covered Lines:
985

Relevant Lines:
1482

💛  - Coveralls


Get on the community list

Where is this?
https://kubernetes.io/docs/reference/using-api/client-libraries/#community-maintained-client-libraries

https://github.com/kubernetes/website/pull/14759

Forgot to close.


vNext - Build a Demo AMP App

Overview

Show that the framework can work with AMP apps
https://amp.dev/about/websites/

No longer needed... AMP doesn't seem to be of much interest anymore


v2.1.4 Mouse gets stuck in the center of the screen when dragging a scene into the tree with an Animation also open.

Godot version:

v2.1.4-stable_win64
OS/device including version:
Win 10, 64 bits
Issue description:
The mouse gets stuck and locked into the center of the godot editor, making it necessary to save and restart the editor when it happens.
Steps to reproduce:
-Put an AnimationPlayer on your scene tree.
-Create an animation, whatever it does isn't important, and keep the Animation mode open
-Drag a scene into the tree to instance it
-Sometimes the mouse should get stuck in the center of the screen/viewport.

The 2.1 branch is no longer actively worked on by engine developers, unless critical fixes are needed for current games in production. As such we are now closing non-critical bug reports affecting only the 2.1 branch.
Please comment if this was incorrectly triaged and is still relevant in 3.x versions.


Fix highlighting of load and reference directives in Cake syntax.

Correct a couple of mistakes in #3125.

Do you have an example of syntax that was highlighted wrong before?

#load ... would fail to highlight fully, while #l ... would highlight as expected. Same for #reference ... vs #r ....


Splitting Animation Generator

I want to put together a kind of “precompiler” where you can input your own text, select a default animation and get a CodePen of that put together, with an option to precompile the text or include Splitting.
Set up a simple JS format that would make it easy to add options & new animations.
{
  name: 'Horizontal Shift',
  defaultClassName: 'horizontal-shift',
  css: `.${className} { ... color: ${options[0]} ... }`,
  options: [{ name: 'Color', type: 'color', default: '#0F0' })
}

Makes Splitting more than a library and into a tool that even non-JS folks can utilize for simple precompiled effects.

CodePen API for auto-fill: https://blog.codepen.io/documentation/api/prefill/

This sounds promising

Perhaps an even more straightforward approach could be better. Simplify the vision for the builder and that’ll make it easier to roll out quickly.
• Text: “Hello World”
• Split by: words, chars, etc
• Type: animation-delay, transition-delay with :hover
• A handful of prebuilt animations


Some elements have transparency (alpha) some don't

For some reason some windows appear with alpha, some not. Probably something related to face_colors.
@Gorgious56 do you have an idea what could it be? Blender's limitation?

Hey ! Would you mind sharing the model or at least the culprit elements ? At a glance I d say maybe inverted normals ? You can check face orientation in the overlays in Blender

I've sent whole model in DM, there could be something in normals, but I can't tell what. These transparent ones:

These not transparent:

I think.. but I'm not sure... maybe these that don't show as transparent have some overlapping faces / meshes... Cause even in viewer they seem a bit "darker" like there is more than 1. But right now I'm just guessing.

OK so I found the problem. In the viewport vertex colors don't display their transparency. The ones that do actually don't have face colors, ony an object color which overrides the face colors when they don't have any to show in the viewport, so they show as trasnparent.
To see the transparent material you have to go in lookdev or rendered mode and setup a simple material

For eevee you need to enable the blend mode otherwise it always displays as opaque

Here's the result

BTW if all the colors are the same I don't think it's worth it to populate the face colors, it adds much unneeded data to the file, rather use the object color.

Ok, hmm... So it's a Solid mode limitation. If so, the best we could do is to leave this issue open, so anyone could see how to manually overcome this, using workflow you described, right? Or is there any other way?

I guess so. It's a known limitation of the workbench engine. https://projects.blender.org/blender/blender/issues/77581#issuecomment-318765

Ok @Gorgious56, thank you very much for research and help! :)


Lua user snippets context menu is opening when pressing enter

Everytime when pressing enter, the "insert snippet" context menu is opening with my user defined lua snippets.
Steps to reproduce the behavior:

Create a new file with the filename having the .lua extension (bug does not happen with an "Untitled" file, even if language  mode is set to lua)
Open it, go to line 1 and press enter

Happens even with a very basic snippets file, for example:
{
	"Tostring": {
		"prefix": "ts",
		"body": [
			"tostring($0)",
		],
		"description": "Tostrings"
	}
}

Environment (please complete the following information):

OS: Windows 10 Version 10.0.18363 Build 18363
Is WSL remote? No idea what that is so I think not.
Client: VSCode 1.53.2

No other extensions are enabled. Only happens with the new 1.16.0 version, not the previous 1.15.1, when I go back to the old version again it stops happening.

I think it is a bug of VSCode, I have opened a issue to VSCode, see https://github.com/microsoft/vscode/issues/117194

Fixed by VSCode.


Configure certificate manager in response to MRC and MRC status changes

Please describe the Improvement and/or Feature Request

To do:

[ ] Update the issuers in the Manager based on the MRC status changes

In response to MRC and MRC rotation stage status changes update the Manager struct.
All MRCs events should be considered valid. The validating webhook is responsible for performing validation on adds, updates, and deletions of MRCs.
Outstanding Questions:

For the phase 1 of the auto root certificate rotation implementation should the user be responsible for setting the initial status of validatingRollout? Or should OSM handle setting this status? With manual certificate rotation, the user will be responsible for setting the remaining status to progress through rotation.

Proposed solution: create a mutating webhook for MRCs. On add, set the providerState to validatingIssuing. The admission request will be denied by the validating webhook if it shouldn't be created.

How to implement controller, injector, and bootstrap specific rotation logic?

Proposed solution: We could have specific watches for each control plane component, but we'd either have to coordinate manager updates or support updating the manager in multiple places. One alternative is to publish manager updates to msg broker. The OSM component specific logic doesn't need to have any knowledge of the actual MRC updates, it only needs to know that the manager's issuers have been updated and it can reissue certificates.

Who and when should the error status on the MRC be set?

events to handle
response

MRC added
See outstanding question above - If using the proposed solution above, the ProviderState is validatingRollout. Create the Issuer and set it as the validatingIssuer in the Manager struct

ProviderState status is validatingRollout
See above

ProviderState status is issuingRollout
Verify the ID of the validatingIssuer is the same as the ID on the updated MRC.  Set signingIssuer to the MRC being rotated in and set the validatingIssuer to the MRC being rotated in.  tempIssuer := signingIssuer  signingIssuer = validatingIssuer  validatingIssuer = tempIssuer  Since the signingIssuer and the validatingIssuer are not equal the newly issued certs will still contain both CAs for validation. Set the providerState status of the MRC being rotated out to issuingRollback.

ProviderState status is active
Verify the ID of the signingIssuer is the same as the ID on the updated MRC. Set the validatingIssuer to the signingIssuer. At this point, the signingIssuer and validatingIssuer should be the same. Set the providerState status of the MRC being rotated out to validatingRollback.

ProviderState status is issuingRollback
Noop. Handled by status change to issuingRollout on the MRC being rolled out

ProviderState status is validatingRollback
Noop. Handled by status change to active on the MRC being rolled out

ProviderState status is inactive
Noop. After the providerState status of the MeshRootCertificate has been set to inactive it can be deleted

ProviderState status is error
See outstanding questions above

Scope (please mark with X where applicable)

Certificate Management     [x]

Superceded by #5092 and similar issues


Translate updated app-development intro course

Description
The updated intro course for app development has an introduction, case description and 5 course modules. Modules 3-5 are not translated to english.
Additional Information
No response
Tasks
Translate:
### Tasks
- [x] Module 3: Create form
- [x] Module 4: Create info page
- [x] Module 5: Publish

Acceptance Criterias
All course modules are translated to english.

Noticed something wrong regarding links to module 3. Will fix it tomorrow.

Great job! A few observations during test/readthough:

In Norwegian, the module titles are prefixed by "Module ", this is not the case for the english translation.
The order was still mixed up for codelist-module in english translation.

Created a little PR to fix this, want to have a look @ErlingHauan? 😊

Great job! A few observations during test/readthough:

In Norwegian, the module titles are prefixed by "Module ", this is not the case for the english translation.
The order was still mixed up for codelist-module in english translation.

Created a little PR to fix this, want to have a look @ErlingHauan? 😊

Thanks!
I see that we almost made identical PRs 😅
The only difference is that I removed the word "the" from the titles, in order to save some space in the navigation. Which do you think we should merge?

Hah yep, since this issue was closed I thought your PR had been merged! My bad 😅
Let's go ahead and merge your PR, I will close mine.


object error

When i run code followed, the object excutes exe is not sandboxie named "testpy".It is the defaultbox.
`
import sandboxie
sbie = sandboxie.Sandboxie()
settings = sbie.make_sandbox_setting('default')
sbie.create_sandbox('testpy', settings=settings)
proc = sbie.execute(['notepad.exe'], 'testpy')
print(proc.wait())
sbie.execute(['notepad.exe'], 'testpy')
sbie.terminate_sandbox_processes('testpy')
sbie.delete_content('testpy')
sbie.remove_sandbox('testpy'
`

Can't reproduce. What's your Sbie version and pysandboxie commitid?

Should be working for that version.
If you manually create testpy then run following (adjust path to your Sandboxie installation), does it spawn in testpy?
"C:\Program Files\Sandboxie-Plus\Start.exe" /box:testpy /wait notepad.exe

It is ok

My installed path is "E:\install\Sandboxie".Should I change it?

The script should work without changing the installation path.
Could you debug into sbie.execute(), break at this line and then dump what invocation_sandboxie and cmd has?

sorry.I have run it successfuly.


Migrate more CSS to JSO

[x] 93fed9c5 Migrate the category link and button over
[x] 4847b286 Normalize the green color
[x] 72d2e3f1 Migrates form dialog, preferences, toggles
[x] f0331d46 Migrates a couple of form links
[x] 30c6063a Migrates the FormButton
[x] dd67599c Migrate HeroRenderables and HeroParts to jso
[x] 923db479 Migrate Modals and Alerts to jso

#138191285

          1 Warning

:warning:
Big PR

          1 Message

:book:
Nice, more deletions than insertions :red_circle:

  Generated by :no_entry_sign: danger

It's getting there. About 1600 lines removed in total so far.


[TAILORED] Add Generate Button and an indicator of how many daily generations are left

In the main Tailored Application,

There isn't a "Generate" button to create a new set of generations.
There isn't an indicator of how many Daily Generations are available.
I also cannot select different target profiles.

Shipped with https://github.com/VolumeFi/tailored-ui/pull/17